swagger.yaml 864 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044
  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.Ermcp2AreaExposure:
  3973. properties:
  3974. areauserid:
  3975. description: 所属机构
  3976. type: integer
  3977. enumdicname:
  3978. description: 单位
  3979. type: string
  3980. futureqty:
  3981. description: 期货套期量
  3982. type: number
  3983. goodsunitid:
  3984. description: 单位ID
  3985. type: integer
  3986. hedgedspotexposure:
  3987. description: 被套期现货敞口量
  3988. type: number
  3989. hedgedspratio:
  3990. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  3991. type: number
  3992. hedgedtotalexposure:
  3993. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  3994. type: number
  3995. hedgeplanqty:
  3996. description: 套期计划量
  3997. type: number
  3998. hedgespotqty:
  3999. description: 被套期现货量
  4000. type: number
  4001. middlegoodsid:
  4002. description: 套保品种
  4003. type: integer
  4004. middlegoodsname:
  4005. description: 套保品种名称
  4006. type: string
  4007. orifutureqty:
  4008. description: 期初期货套期量
  4009. type: number
  4010. orihedgedspotexposure:
  4011. description: 期初被套期现货敞口量
  4012. type: number
  4013. orihedgedtotalexposure:
  4014. description: 期初套期敞口量
  4015. type: number
  4016. orihedgeplanqty:
  4017. description: 期初套期计划量
  4018. type: number
  4019. orihedgespotqty:
  4020. description: 期初被套期现货量
  4021. type: number
  4022. orispotexposure:
  4023. description: 期初现货敞口量
  4024. type: number
  4025. orispotqty:
  4026. description: 期初现货总量
  4027. type: number
  4028. oritotalexposure:
  4029. description: 期初总敞口量
  4030. type: number
  4031. spotexposure:
  4032. description: 现货敞口量
  4033. type: number
  4034. spotqty:
  4035. description: 现货总量
  4036. type: number
  4037. spratio:
  4038. description: 总期现比例 = 期货套期量/现货敞口量
  4039. type: number
  4040. totalexposure:
  4041. description: 总敞口量 = 现货敞口量 + 期货套期量
  4042. type: number
  4043. updatetime:
  4044. description: 更新时间 --DATE
  4045. type: string
  4046. type: object
  4047. models.Ermcp2hedgeditem:
  4048. properties:
  4049. accountname:
  4050. description: 套期主体
  4051. type: string
  4052. applyid:
  4053. description: 申请人
  4054. type: integer
  4055. applysrc:
  4056. description: 申请来源 - 1:管理端 2:终端
  4057. type: integer
  4058. areauserid:
  4059. description: 企业ID
  4060. type: integer
  4061. auditid:
  4062. description: 审核人
  4063. type: integer
  4064. auditremark:
  4065. description: 审核备注
  4066. type: string
  4067. auditsrc:
  4068. description: 审核来源 - 1:管理端 2:终端
  4069. type: integer
  4070. audittime:
  4071. description: 审核时间
  4072. type: string
  4073. audittradedate:
  4074. description: 审核交易日(yyyyMMdd)
  4075. type: string
  4076. createtime:
  4077. description: 申请时间
  4078. type: string
  4079. curprice:
  4080. description: 当前市场价
  4081. type: number
  4082. curstock:
  4083. description: 期末库存量 = 采购总量 - 销售总量
  4084. type: number
  4085. deliverygoodsid:
  4086. description: 现货品种ID
  4087. type: integer
  4088. enddate:
  4089. description: 完成日期
  4090. type: string
  4091. endtradedate:
  4092. description: 完成交易日
  4093. type: string
  4094. enumdicname:
  4095. description: 单位
  4096. type: string
  4097. exeamount:
  4098. description: 执行市价总额
  4099. type: number
  4100. exeavgprice:
  4101. description: 执行市场均价= 执行市价总额 / 执行现货量
  4102. type: number
  4103. execontractamount:
  4104. description: 执行定价总额
  4105. type: number
  4106. exeqty:
  4107. description: 执行现货量
  4108. type: number
  4109. exerestamount:
  4110. description: 执行剩余市价总额【现货贸易】
  4111. type: number
  4112. futurefloatpl:
  4113. description: 期货浮动损益
  4114. type: number
  4115. futurehedgepl:
  4116. description: 期货实际损益
  4117. type: number
  4118. futurehedgeplchange:
  4119. description: 期货实际损益变动
  4120. type: number
  4121. futurepl:
  4122. description: 期货套期损益
  4123. type: number
  4124. futureplchange:
  4125. description: 期货套期损益变动
  4126. type: number
  4127. hedgeamount:
  4128. description: 套期市价总额
  4129. type: number
  4130. hedgecontractamount:
  4131. description: 套期定价总额 【定价采购合同】【现货贸易】
  4132. type: number
  4133. hedgeditemid:
  4134. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4135. type: string
  4136. hedgeditemname:
  4137. description: 项目名称
  4138. type: string
  4139. hedgeditemnum:
  4140. description: 项目编号
  4141. type: string
  4142. hedgeditemstatus:
  4143. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4144. type: integer
  4145. hedgedtype:
  4146. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4147. type: integer
  4148. hedgeqty:
  4149. description: 套期现货量
  4150. type: number
  4151. hedgerate:
  4152. description: 套保比率
  4153. type: number
  4154. hedgerestamount:
  4155. description: 套期剩余市价总额【现货贸易】
  4156. type: number
  4157. hedgesumpl:
  4158. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4159. type: number
  4160. middlegoodslist:
  4161. description: 套期商品列表
  4162. items:
  4163. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4164. type: array
  4165. oriavgprice:
  4166. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4167. type: number
  4168. orifuturehedgepl:
  4169. description: 期初期货实际损益
  4170. type: number
  4171. orifuturepl:
  4172. description: 期初期货套期损益
  4173. type: number
  4174. orispothedgepl:
  4175. description: 期初现货实际损益
  4176. type: number
  4177. orispotpl:
  4178. description: 期初现货套期损益
  4179. type: number
  4180. planenddate:
  4181. description: 计划结束日期
  4182. type: string
  4183. planstartdate:
  4184. description: 计划开始日期
  4185. type: string
  4186. remark:
  4187. description: 备注
  4188. type: string
  4189. spotbookamount:
  4190. description: 现货账面总额
  4191. type: number
  4192. spotfloatpl:
  4193. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4194. type: number
  4195. spothedgepl:
  4196. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4197. type: number
  4198. spothedgeplchange:
  4199. description: 现货实际损益变动
  4200. type: number
  4201. spotpl:
  4202. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4203. type: number
  4204. spotplchange:
  4205. description: 现货套期损益变动
  4206. type: number
  4207. spottradepl:
  4208. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4209. type: number
  4210. sumobspl:
  4211. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4212. type: number
  4213. tradeuserid:
  4214. description: 交易用户ID
  4215. type: integer
  4216. unexeqty:
  4217. description: 未执行现货量 = 套期现货量 - 执行现货量
  4218. type: number
  4219. updatetime:
  4220. description: 更新时间
  4221. type: string
  4222. vatpl:
  4223. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4224. type: number
  4225. vatrate:
  4226. description: 增值税
  4227. type: number
  4228. wrstandardid:
  4229. description: 现货商品ID
  4230. type: integer
  4231. wrstandardname:
  4232. description: 商品名称
  4233. type: string
  4234. type: object
  4235. models.Ermcp2hedgeditemspot:
  4236. properties:
  4237. areauserid:
  4238. description: 企业ID
  4239. type: integer
  4240. createtime:
  4241. description: 创建时间
  4242. type: string
  4243. customeruserid:
  4244. description: 对手方 【3:采购合同 4:销售合同】
  4245. type: integer
  4246. deliverygoodsid:
  4247. description: 现货品种ID
  4248. type: integer
  4249. enumdicname:
  4250. description: 单位
  4251. type: string
  4252. hedgeditemid:
  4253. description: 被套期项目ID
  4254. type: string
  4255. hedgeditemspotid:
  4256. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4257. type: string
  4258. hedgedtype:
  4259. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4260. type: integer
  4261. hedgeplanno:
  4262. description: 计划编号
  4263. type: string
  4264. oriavgprice:
  4265. description: 期初市场价[当初市场价]
  4266. type: number
  4267. relatedamount:
  4268. description: 市价总额 = 关联数量 * 期初市场价
  4269. type: number
  4270. relatedhedgeplanid:
  4271. description: 关联计划ID 【1:采购计划 2:销售计划】
  4272. type: integer
  4273. relatedqty:
  4274. description: 关联数量[数量]
  4275. type: number
  4276. relatedspotcontractid:
  4277. description: 关联合同ID 【3:采购合同 4:销售合同】
  4278. type: integer
  4279. relatedtype:
  4280. description: 关联类型 - 1:套期关联 2:执行关联
  4281. type: integer
  4282. spotgoodsbrandid:
  4283. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4284. type: integer
  4285. spotpricedamount:
  4286. description: 定价总额
  4287. type: number
  4288. spotpricedavgprice:
  4289. description: 现货均价 = 定价总额 / 关联数量
  4290. type: number
  4291. spottype:
  4292. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4293. type: integer
  4294. tradeuserid:
  4295. description: 交易用户ID
  4296. type: integer
  4297. wrstandardid:
  4298. description: 现货商品ID
  4299. type: integer
  4300. wrstandardname:
  4301. description: 现货商品
  4302. type: string
  4303. required:
  4304. - hedgeditemid
  4305. type: object
  4306. models.Ermcp2hedgeditemspotDetail:
  4307. properties:
  4308. accountname:
  4309. description: 对手方
  4310. type: string
  4311. areauserid:
  4312. description: 企业ID
  4313. type: integer
  4314. brandname:
  4315. description: 品牌
  4316. type: string
  4317. contractno:
  4318. description: 合同编号
  4319. type: string
  4320. createtime:
  4321. description: 创建时间
  4322. type: string
  4323. customeruserid:
  4324. description: 对手方 【3:采购合同 4:销售合同】
  4325. type: integer
  4326. deliverygoodsid:
  4327. description: 现货品种ID
  4328. type: integer
  4329. enumdicname:
  4330. description: 单位
  4331. type: string
  4332. hedgeditemid:
  4333. description: 被套期项目ID
  4334. type: string
  4335. hedgeditemspotid:
  4336. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4337. type: string
  4338. hedgedtype:
  4339. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4340. type: integer
  4341. oriavgprice:
  4342. description: 期初市场价[当初市场价]
  4343. type: number
  4344. relatedamount:
  4345. description: 市价总额 = 关联数量 * 期初市场价
  4346. type: number
  4347. relatedhedgeplanid:
  4348. description: 关联计划ID 【1:采购计划 2:销售计划】
  4349. type: integer
  4350. relatedqty:
  4351. description: 关联数量[数量]
  4352. type: number
  4353. relatedspotcontractid:
  4354. description: 关联合同ID 【3:采购合同 4:销售合同】
  4355. type: integer
  4356. relatedtype:
  4357. description: 关联类型 - 1:套期关联 2:执行关联
  4358. type: integer
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4361. type: integer
  4362. spotpricedamount:
  4363. description: 定价总额[金额]
  4364. type: number
  4365. spotpricedavgprice:
  4366. description: 现货均价 = 定价总额 / 关联数量
  4367. type: number
  4368. spottype:
  4369. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4370. type: integer
  4371. tradeuserid:
  4372. description: 交易用户ID
  4373. type: integer
  4374. wrstandardid:
  4375. description: 现货商品ID
  4376. type: integer
  4377. wrstandardname:
  4378. description: 现货商品
  4379. type: string
  4380. required:
  4381. - hedgeditemid
  4382. type: object
  4383. models.Ermcp2himiddlegoods:
  4384. properties:
  4385. futurehedgeqty:
  4386. description: 期货持仓套期量
  4387. type: number
  4388. hedgeditemid:
  4389. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4390. type: integer
  4391. hiexpsoure:
  4392. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4393. type: number
  4394. middlegoodscode:
  4395. description: 套保商品代码
  4396. type: string
  4397. middlegoodsid:
  4398. description: 套保品种ID
  4399. type: integer
  4400. middlegoodsname:
  4401. description: 套保商品名称
  4402. type: string
  4403. unexehedgeqty:
  4404. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4405. type: number
  4406. required:
  4407. - hedgeditemid
  4408. - middlegoodsid
  4409. type: object
  4410. models.Ermcp3AreaSpot:
  4411. properties:
  4412. areauserid:
  4413. description: 所属机构
  4414. type: integer
  4415. convertratio:
  4416. description: 套保系数
  4417. type: number
  4418. decreaseqty:
  4419. description: 减少数量=-(销售已定价数量+采购计划数量)
  4420. type: number
  4421. enumdicname:
  4422. description: 单位名称
  4423. type: string
  4424. increaseqty:
  4425. description: 增加数量=销售计划数量+采购已定价数量
  4426. type: number
  4427. oritoalspotqty:
  4428. description: 昨日数量
  4429. type: number
  4430. totalspotqty:
  4431. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4432. type: number
  4433. unitid:
  4434. description: 现货商品单位id
  4435. type: integer
  4436. updatetime:
  4437. description: 更新时间
  4438. type: string
  4439. wrstandardcode:
  4440. description: 现货商品代码
  4441. type: string
  4442. wrstandardid:
  4443. description: 现货商品ID(SEQ_WRSTANDARD)
  4444. type: integer
  4445. wrstandardname:
  4446. description: 现货商品名称
  4447. type: string
  4448. type: object
  4449. models.Ermcp3AreaSpotDetail:
  4450. properties:
  4451. contracttype:
  4452. description: 合同类型 1-采购 -1-销售
  4453. type: integer
  4454. createtime:
  4455. description: 创建时间
  4456. type: string
  4457. enumdicname:
  4458. description: 现货商品单位名称
  4459. type: string
  4460. logtype:
  4461. description: 记录类型 1-套保 2-现货合同
  4462. type: integer
  4463. qty:
  4464. description: 数量
  4465. type: number
  4466. recordname:
  4467. description: 类型名称
  4468. type: string
  4469. relatedid:
  4470. description: 套保计划ID/现货合同ID
  4471. type: string
  4472. relatedno:
  4473. description: 编号
  4474. type: string
  4475. strtime:
  4476. description: 时间
  4477. type: string
  4478. wrstandardcode:
  4479. description: 现货商品代码
  4480. type: string
  4481. wrstandardid:
  4482. description: 现货商品ID(SEQ_WRSTANDARD)
  4483. type: integer
  4484. wrstandardname:
  4485. description: 现货商品名称
  4486. type: string
  4487. type: object
  4488. models.Ermcp3AreaSpotPLReport:
  4489. properties:
  4490. accountid:
  4491. description: 期货账户ID (作废, 默认为0)
  4492. type: integer
  4493. accountname:
  4494. description: 机构名称
  4495. type: string
  4496. actualpl:
  4497. description: 现货损益
  4498. type: number
  4499. areauserid:
  4500. description: 所属机构\交易用户ID
  4501. type: integer
  4502. begindate:
  4503. description: 开始交易日
  4504. type: string
  4505. biztype:
  4506. description: 业务类型 - 1:套保 2:套利
  4507. type: integer
  4508. brandname:
  4509. description: 品牌名称
  4510. type: string
  4511. curamount:
  4512. description: 期末额
  4513. type: number
  4514. curaverageprice:
  4515. description: 期末均价
  4516. type: number
  4517. curbuyamount:
  4518. description: 期末采购总额
  4519. type: number
  4520. curbuyqty:
  4521. description: 期末采购总量
  4522. type: number
  4523. curmarketvalue:
  4524. description: 参考市值(期末市值)
  4525. type: number
  4526. curqty:
  4527. description: 期末量
  4528. type: number
  4529. currencyid:
  4530. description: 结算币种ID【原值】
  4531. type: integer
  4532. currencyname:
  4533. description: 币种名称
  4534. type: string
  4535. cursellamount:
  4536. description: 期末销售总额
  4537. type: number
  4538. cursellqty:
  4539. description: 期末销售总量
  4540. type: number
  4541. curspotprice:
  4542. description: 参考市价(最新价)
  4543. type: number
  4544. cycletime:
  4545. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4546. type: string
  4547. cycletype:
  4548. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4549. type: integer
  4550. deliverygoodscode:
  4551. description: 现货品种代码
  4552. type: string
  4553. deliverygoodsid:
  4554. description: 现货品种ID
  4555. type: integer
  4556. deliverygoodsname:
  4557. description: 现货品种名称
  4558. type: string
  4559. enddate:
  4560. description: 结束交易日
  4561. type: string
  4562. enumdicname:
  4563. description: 现货品种单位名称(作废)
  4564. type: string
  4565. floatpl:
  4566. description: 浮动损益
  4567. type: number
  4568. goodsunitid:
  4569. description: 现货品种单位id(作废)
  4570. type: integer
  4571. oriamount:
  4572. description: 期初额
  4573. type: number
  4574. oriaverageprice:
  4575. description: 期初均价
  4576. type: number
  4577. oribuyamount:
  4578. description: 期初采购总额
  4579. type: number
  4580. oribuyqty:
  4581. description: 期初采购总量
  4582. type: number
  4583. oriqty:
  4584. description: 期初量
  4585. type: number
  4586. orisellamount:
  4587. description: 期初销售总额
  4588. type: number
  4589. orisellqty:
  4590. description: 期初销售总量
  4591. type: number
  4592. reckondate:
  4593. description: 日照时期(yyyyMMdd)
  4594. type: string
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyamount:
  4599. description: 今日采购额(今采购额)
  4600. type: number
  4601. todaybuyaverageprice:
  4602. description: 今日采购均价
  4603. type: number
  4604. todaybuyqty:
  4605. description: 今日采购量(今采购量)
  4606. type: number
  4607. todayinqty:
  4608. description: 今日入库量(今入库量)
  4609. type: number
  4610. todayoutqty:
  4611. description: 今日出库量(今出库量)
  4612. type: number
  4613. todaysellamount:
  4614. description: 今日销售额(今销售额)
  4615. type: number
  4616. todaysellaverageprice:
  4617. description: 今日销售均价
  4618. type: number
  4619. todaysellqty:
  4620. description: 今日销售量(今销售量)
  4621. type: number
  4622. unitid:
  4623. description: 品类单位id
  4624. type: integer
  4625. unitidname:
  4626. description: 品类单位名称
  4627. type: string
  4628. updatetime:
  4629. description: 更新时间
  4630. type: string
  4631. wrfactortypeid:
  4632. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 现货商品(品类)代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 现货品类ID
  4639. type: integer
  4640. wrstandardname:
  4641. description: 现货商品(品类)名称
  4642. type: string
  4643. type: object
  4644. models.Ermcp3AreaStock:
  4645. properties:
  4646. brandname:
  4647. description: 品牌名称
  4648. type: string
  4649. curstock:
  4650. description: 期末库存量(今日量)
  4651. type: number
  4652. deliverygoodscode:
  4653. description: 现货品种代码
  4654. type: string
  4655. deliverygoodsid:
  4656. description: 现货品种id
  4657. type: integer
  4658. deliverygoodsname:
  4659. description: 现货品种名称
  4660. type: string
  4661. enumdicname:
  4662. description: 单位名称
  4663. type: string
  4664. goodsunitid:
  4665. description: 现货商品单位id
  4666. type: integer
  4667. oristock:
  4668. description: 期初库存量(昨日量)
  4669. type: number
  4670. spotgoodsbrandid:
  4671. description: 现货品牌ID
  4672. type: integer
  4673. todaybuyinqty:
  4674. description: 今日采购入库量
  4675. type: number
  4676. todayproduceinqty:
  4677. description: 今日生产入库量
  4678. type: number
  4679. todayproduceoutqty:
  4680. description: 今日生产出库量
  4681. type: number
  4682. todayselloutqty:
  4683. description: 今日销售出库量
  4684. type: number
  4685. unitid:
  4686. description: 单位id
  4687. type: integer
  4688. updatetime:
  4689. description: 更新时间
  4690. type: string
  4691. userid:
  4692. description: 机构ID
  4693. type: integer
  4694. username:
  4695. description: 机构名称
  4696. type: string
  4697. warehousecode:
  4698. description: 仓库代码
  4699. type: string
  4700. warehouseinfoid:
  4701. description: 仓库ID
  4702. type: string
  4703. warehousename:
  4704. description: 仓库名称
  4705. type: string
  4706. warehousetype:
  4707. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4708. type: integer
  4709. wrstandardcode:
  4710. description: 品类代码
  4711. type: string
  4712. wrstandardid:
  4713. description: 品类ID
  4714. type: string
  4715. wrstandardname:
  4716. description: 品类名称
  4717. type: string
  4718. required:
  4719. - userid
  4720. type: object
  4721. models.Ermcp3AreaStockApply:
  4722. properties:
  4723. applyid:
  4724. description: 申请人
  4725. type: integer
  4726. applyname:
  4727. description: 申请人名称
  4728. type: string
  4729. applyremark:
  4730. description: 申请备注
  4731. type: string
  4732. applysrc:
  4733. description: 申请来源 - 1:管理端 2:终端
  4734. type: integer
  4735. applystatus:
  4736. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4737. type: integer
  4738. applytime:
  4739. description: 申请时间
  4740. type: string
  4741. auditid:
  4742. description: 审核人
  4743. type: integer
  4744. auditname:
  4745. description: 审核人名称
  4746. type: string
  4747. auditremark:
  4748. description: 审核备注
  4749. type: string
  4750. auditsrc:
  4751. description: 审核来源 - 1:管理端 2:终端
  4752. type: integer
  4753. audittime:
  4754. description: 审核时间
  4755. type: string
  4756. audittradedate:
  4757. description: 审核交易日(yyyyMMdd)
  4758. type: string
  4759. brandname:
  4760. description: 品牌名称
  4761. type: string
  4762. buynickname:
  4763. description: 采购方昵称
  4764. type: string
  4765. buyuserid:
  4766. description: 采购方userid
  4767. type: integer
  4768. buyusername:
  4769. description: 采购方名称
  4770. type: string
  4771. contractno:
  4772. description: 合同编号
  4773. type: string
  4774. contractqty:
  4775. description: 合同量
  4776. type: number
  4777. contracttype:
  4778. description: 现货合同类型 - 1:采购 -1:销售
  4779. type: integer
  4780. deliverygoodscode:
  4781. description: 现货品种代码
  4782. type: string
  4783. deliverygoodsid:
  4784. description: 现货品种id
  4785. type: integer
  4786. deliverygoodsname:
  4787. description: 现货品种名称
  4788. type: string
  4789. detailjson:
  4790. description: 明细数据
  4791. type: string
  4792. enumdicname:
  4793. description: 现货商品单位名称
  4794. type: string
  4795. inoutapplyid:
  4796. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4797. type: string
  4798. inouttype:
  4799. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4800. type: integer
  4801. pricetype:
  4802. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4803. type: integer
  4804. qty:
  4805. description: 数量
  4806. type: number
  4807. sellnickname:
  4808. description: 销售方昵称
  4809. type: string
  4810. selluserid:
  4811. description: 销售方userid
  4812. type: integer
  4813. sellusername:
  4814. description: 销售方名称
  4815. type: string
  4816. spotcontractid:
  4817. description: 关联现货合同ID
  4818. type: string
  4819. spotgoodsbrandid:
  4820. description: 现货品牌ID
  4821. type: integer
  4822. unitid:
  4823. description: 单位id
  4824. type: integer
  4825. userid:
  4826. description: 机构ID
  4827. type: integer
  4828. warehousecode:
  4829. description: 仓库代码
  4830. type: string
  4831. warehouseinfoid:
  4832. description: 现货仓库ID
  4833. type: string
  4834. warehousename:
  4835. description: 仓库名称
  4836. type: string
  4837. warehousetype:
  4838. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4839. type: integer
  4840. wrstandardcode:
  4841. description: 品类代码
  4842. type: string
  4843. wrstandardid:
  4844. description: 品类ID
  4845. type: integer
  4846. wrstandardname:
  4847. description: 品类名称
  4848. type: string
  4849. type: object
  4850. models.Ermcp3AreaStockApplySum:
  4851. properties:
  4852. brandname:
  4853. description: 品牌名称
  4854. type: string
  4855. inouttype:
  4856. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4857. type: integer
  4858. spotcontractid:
  4859. description: 关联现货合同ID
  4860. type: string
  4861. spotgoodsbrandid:
  4862. description: 品牌id
  4863. type: integer
  4864. totalqty:
  4865. description: 总数量
  4866. type: number
  4867. wrstandardid:
  4868. description: 品类id
  4869. type: integer
  4870. wrstandardname:
  4871. description: 品类名称
  4872. type: string
  4873. type: object
  4874. models.Ermcp3AreaStockReportEx:
  4875. properties:
  4876. begindate:
  4877. description: 开始交易日
  4878. type: string
  4879. brandname:
  4880. description: 品牌名称
  4881. type: string
  4882. curstock:
  4883. description: 期末库存量
  4884. type: number
  4885. cycletime:
  4886. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4887. type: string
  4888. cycletype:
  4889. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4890. type: integer
  4891. deliverygoodscode:
  4892. description: 现货品种代码
  4893. type: string
  4894. deliverygoodsid:
  4895. description: 现货品种id
  4896. type: integer
  4897. deliverygoodsname:
  4898. description: 现货品种名称
  4899. type: string
  4900. diffqty:
  4901. description: 库存变化量 = 期末 - 期初
  4902. type: number
  4903. enddate:
  4904. description: 结束交易日
  4905. type: string
  4906. enumdicname:
  4907. description: 单位名称
  4908. type: string
  4909. goodsunitid:
  4910. description: 现货单位id
  4911. type: integer
  4912. oristock:
  4913. description: 期初库存量
  4914. type: number
  4915. reckondate:
  4916. description: 日照时期(yyyyMMdd)
  4917. type: string
  4918. spotgoodsbrandid:
  4919. description: 现货品牌ID
  4920. type: integer
  4921. todaybuyinqty:
  4922. description: 今采购入库量
  4923. type: number
  4924. todayproduceinqty:
  4925. description: 今内部入库量
  4926. type: number
  4927. todayproduceoutqty:
  4928. description: 今内部出库量
  4929. type: number
  4930. todayselloutqty:
  4931. description: 今销售出库量
  4932. type: number
  4933. unbuyinqty:
  4934. description: 采购未入库量(数据库未找到相关字段?)
  4935. type: number
  4936. unitid:
  4937. description: 品类单位id
  4938. type: integer
  4939. unselloutqty:
  4940. description: 销售未出库量(数据库未找到相关字段?)
  4941. type: number
  4942. updatetime:
  4943. description: 更新时间
  4944. type: string
  4945. userid:
  4946. description: 机构ID
  4947. type: integer
  4948. username:
  4949. description: 机构名称
  4950. type: string
  4951. warehousecode:
  4952. description: 仓库代码
  4953. type: string
  4954. warehouseinfoid:
  4955. description: 仓库ID
  4956. type: string
  4957. warehousename:
  4958. description: 仓库名称
  4959. type: string
  4960. warehousetype:
  4961. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4962. type: integer
  4963. wrstandardcode:
  4964. description: 品类代码
  4965. type: string
  4966. wrstandardid:
  4967. description: 品类ID
  4968. type: integer
  4969. wrstandardname:
  4970. description: 品类名称
  4971. type: string
  4972. type: object
  4973. models.Ermcp3ArealSumPL:
  4974. properties:
  4975. accountname:
  4976. description: 机构名称
  4977. type: string
  4978. areauserid:
  4979. description: 所属机构\交易用户ID
  4980. type: integer
  4981. begindate:
  4982. description: 开始交易日
  4983. type: string
  4984. currencyid:
  4985. description: 结算币种ID
  4986. type: integer
  4987. currencyname:
  4988. description: 币种名称
  4989. type: string
  4990. cycletime:
  4991. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4992. type: string
  4993. cycletype:
  4994. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4995. type: integer
  4996. enddate:
  4997. description: 结束交易日
  4998. type: string
  4999. enumdicname:
  5000. description: 单位名称(套保品种)
  5001. type: string
  5002. futureactualpl:
  5003. description: 期货损益
  5004. type: number
  5005. futurefloatpl:
  5006. description: 期货浮动损益
  5007. type: number
  5008. futurespotratio:
  5009. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5010. type: number
  5011. goodsunitid:
  5012. description: 套保品种单位id
  5013. type: integer
  5014. hedgeexposurepl:
  5015. description: 套保敞口损益
  5016. type: number
  5017. middlegoodscode:
  5018. description: 套保品种代码
  5019. type: string
  5020. middlegoodsid:
  5021. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5022. type: integer
  5023. middlegoodsname:
  5024. description: 套保品种名称
  5025. type: string
  5026. reckondate:
  5027. description: 日照时期(yyyyMMdd)
  5028. type: string
  5029. spotactualpl:
  5030. description: 现货损益
  5031. type: number
  5032. spotfloatpl:
  5033. description: 现货浮动损益
  5034. type: number
  5035. sumactualpl:
  5036. description: 实际损益 = (ActualPL + FutureActualPL)
  5037. type: number
  5038. sumpl:
  5039. description: 总敞口损益 | 汇总损益
  5040. type: number
  5041. totalfutureqty:
  5042. description: 期货头寸总量
  5043. type: number
  5044. totalneedhedgeqty:
  5045. description: 应套保总量
  5046. type: number
  5047. totalspotqty:
  5048. description: 现货头寸总量
  5049. type: number
  5050. updatetime:
  5051. description: 更新时间
  5052. type: string
  5053. type: object
  5054. models.Ermcp3Brand:
  5055. properties:
  5056. areauserid:
  5057. description: 用户id
  5058. type: integer
  5059. brandid:
  5060. description: 品牌id
  5061. type: integer
  5062. brandname:
  5063. description: 品牌名称
  5064. type: string
  5065. deliverygoodsid:
  5066. description: 品种ID
  5067. type: integer
  5068. isvalid:
  5069. description: 是否有效
  5070. type: integer
  5071. type: object
  5072. models.Ermcp3Contract:
  5073. properties:
  5074. accountid:
  5075. description: 期货账户id
  5076. type: string
  5077. amount:
  5078. description: 金额 [1:一口价、3:暂定价]
  5079. type: number
  5080. attachment:
  5081. description: 附件
  5082. type: string
  5083. auditremark:
  5084. description: 审核意见
  5085. type: string
  5086. audittime:
  5087. description: 审核时间
  5088. type: string
  5089. biztype:
  5090. description: 业务类型 1-套保 2-套利
  5091. type: integer
  5092. brandname:
  5093. description: 品牌名称
  5094. type: string
  5095. buynickname:
  5096. description: 销售方昵称
  5097. type: string
  5098. buyuserid:
  5099. description: 采购方ID
  5100. type: integer
  5101. buyusername:
  5102. description: 采购方名称
  5103. type: string
  5104. contracctstatus:
  5105. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5106. type: integer
  5107. contractmargin:
  5108. description: 合同保证金
  5109. type: number
  5110. contractno:
  5111. description: 现货合同编号
  5112. type: string
  5113. contracttype:
  5114. description: 现货合同类型 - 1:采购 -1:销售
  5115. type: integer
  5116. convertfactor:
  5117. description: 标仓系数(品类)
  5118. type: number
  5119. createtime:
  5120. description: 创建时间
  5121. type: string
  5122. currencyid:
  5123. description: 币种id
  5124. type: integer
  5125. currencyname:
  5126. description: 币种名称
  5127. type: string
  5128. deliveryenddate:
  5129. description: 交收期(结束)
  5130. type: string
  5131. deliverygoodscode:
  5132. description: 现货品种代码
  5133. type: string
  5134. deliverygoodsid:
  5135. description: 现货品种ID
  5136. type: integer
  5137. deliverygoodsname:
  5138. description: 现货品种名称
  5139. type: string
  5140. deliverystartdate:
  5141. description: 交收期(开始)
  5142. type: string
  5143. enddate:
  5144. description: 点价结束日期 [2:点价 3:暂定价]
  5145. type: string
  5146. enumdicname:
  5147. description: 单位名称
  5148. type: string
  5149. goodscode:
  5150. description: 点价合约代码
  5151. type: string
  5152. goodsid:
  5153. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5154. type: integer
  5155. goodsname:
  5156. description: 点价商品名称
  5157. type: string
  5158. margin:
  5159. description: 当前保证金
  5160. type: number
  5161. meruserid:
  5162. description: 跟单员id
  5163. type: integer
  5164. meruserlogincode:
  5165. description: 跟单员登录代码
  5166. type: string
  5167. merusername:
  5168. description: 跟单员名称
  5169. type: string
  5170. pointdesc:
  5171. description: 点价备注
  5172. type: string
  5173. price:
  5174. description: 价格\暂定价 [1:一口价、3:暂定价]
  5175. type: number
  5176. pricemove:
  5177. description: 升贴水 [2:点价 3:暂定价]
  5178. type: number
  5179. pricetype:
  5180. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5181. type: integer
  5182. producttype:
  5183. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5184. type: integer
  5185. qty:
  5186. description: 数量
  5187. type: number
  5188. remark:
  5189. description: 备注
  5190. type: string
  5191. saleuserid:
  5192. description: 业务员id
  5193. type: integer
  5194. saleuserlogincode:
  5195. description: 业务员登录代码
  5196. type: string
  5197. saleusername:
  5198. description: 业务员名称
  5199. type: string
  5200. sellnickname:
  5201. description: 采购方昵称
  5202. type: string
  5203. selluserid:
  5204. description: 销售方ID
  5205. type: integer
  5206. sellusername:
  5207. description: 销售方名称
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. spotgoodsbrandid:
  5213. description: 现货品牌ID(DGFactoryItem表的ID)
  5214. type: integer
  5215. spotgoodsdesc:
  5216. description: 商品型号
  5217. type: string
  5218. startdate:
  5219. description: 点价开始日期 [2:点价 3:暂定价]
  5220. type: string
  5221. subjectid:
  5222. description: 交易主体ID
  5223. type: integer
  5224. subjectname:
  5225. description: 交易主体名称
  5226. type: string
  5227. tradeuserid:
  5228. description: 交易员id
  5229. type: integer
  5230. tradeuserlogincode:
  5231. description: 交易员登录代码
  5232. type: string
  5233. tradeusername:
  5234. description: 交易员名称
  5235. type: string
  5236. unitid:
  5237. description: 单位id(取品类上的单位id)
  5238. type: integer
  5239. updatetime:
  5240. description: 更新时间
  5241. type: string
  5242. userid:
  5243. description: 所属机构ID
  5244. type: integer
  5245. vatrate:
  5246. description: 增值税率
  5247. type: number
  5248. wrstandardcode:
  5249. description: 品类代码
  5250. type: string
  5251. wrstandardid:
  5252. description: 品类ID
  5253. type: integer
  5254. wrstandardname:
  5255. description: 品类名称
  5256. type: string
  5257. type: object
  5258. models.Ermcp3ContractMiddleGoodsCfg:
  5259. properties:
  5260. agreeunit:
  5261. description: 合约乘数
  5262. type: number
  5263. convertratio:
  5264. description: 期货品种系数
  5265. type: number
  5266. covertqty:
  5267. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5268. type: integer
  5269. middlegoodsid:
  5270. description: 套保品种ID
  5271. type: integer
  5272. middlegoodspricedqty3:
  5273. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5274. example: "0"
  5275. type: string
  5276. pendingpricedqty:
  5277. description: 待点价量
  5278. example: "0"
  5279. type: string
  5280. relatedmiddlegoodsqty:
  5281. description: 已关联量(套保品种-期货)
  5282. example: "0"
  5283. type: string
  5284. spotcontractid:
  5285. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5286. type: string
  5287. type: object
  5288. models.Ermcp3ExposureContractDetail:
  5289. properties:
  5290. biztype:
  5291. description: 业务类型 1-套保 2-套利
  5292. type: integer
  5293. brandname:
  5294. description: 品牌名称
  5295. type: string
  5296. buyuserid:
  5297. description: 采购方id
  5298. type: integer
  5299. buyusername:
  5300. description: 采购方名称
  5301. type: string
  5302. contractno:
  5303. description: 合同编号
  5304. type: string
  5305. contracttype:
  5306. description: 现货合同类型 - 1:采购 -1:销售
  5307. type: integer
  5308. convertfactor:
  5309. description: 标仓系数
  5310. type: number
  5311. convertratio:
  5312. description: 折算系数(套保品种)
  5313. type: number
  5314. curqty:
  5315. description: 今定价量
  5316. type: number
  5317. deliverygoodscode:
  5318. description: 现货品种代码
  5319. type: string
  5320. deliverygoodsid:
  5321. description: 现货品种id
  5322. type: integer
  5323. deliverygoodsname:
  5324. description: 现货品种名称
  5325. type: string
  5326. diffhedgeqty:
  5327. description: 套保变动量
  5328. type: number
  5329. diffneedhedgeqty:
  5330. description: 应套保变动量
  5331. type: number
  5332. diffqty:
  5333. description: 套保品种今变动量
  5334. type: number
  5335. enumdicname:
  5336. description: 单位名称
  5337. type: string
  5338. mgunitname:
  5339. description: 套保品种单位名称
  5340. type: string
  5341. middlegoodscode:
  5342. description: 套保品种代码
  5343. type: string
  5344. middlegoodsid:
  5345. description: 套保品种id
  5346. type: integer
  5347. middlegoodsname:
  5348. description: 套保品种名称
  5349. type: string
  5350. needarbitrageratio:
  5351. description: 应套利比例
  5352. type: number
  5353. needhedgeratio:
  5354. description: 应套保比例
  5355. type: number
  5356. pricedqty:
  5357. description: 已定价量
  5358. type: number
  5359. qty:
  5360. description: 合同量
  5361. type: number
  5362. reckondate:
  5363. description: 交易日(reckondate)
  5364. type: string
  5365. selluserid:
  5366. description: 销售方id
  5367. type: integer
  5368. sellusername:
  5369. description: 销售方名称
  5370. type: string
  5371. spotcontractid:
  5372. description: 合同id
  5373. type: string
  5374. todaypricedqty:
  5375. description: 今定价量
  5376. type: number
  5377. tradedate:
  5378. description: 交易日
  5379. type: string
  5380. unitid:
  5381. description: 品类单位id
  5382. type: integer
  5383. userid:
  5384. description: 机构id
  5385. type: integer
  5386. username:
  5387. description: 交易用户
  5388. type: string
  5389. wrstandardcode:
  5390. description: 现货商品代码
  5391. type: string
  5392. wrstandardid:
  5393. description: 现货商品id
  5394. type: integer
  5395. wrstandardname:
  5396. description: 现货商品名称
  5397. type: string
  5398. type: object
  5399. models.Ermcp3ExposureDetail:
  5400. properties:
  5401. areauserid:
  5402. description: 机构ID
  5403. type: integer
  5404. changeQty:
  5405. description: 套保变动量
  5406. type: number
  5407. contracttype:
  5408. description: 现货合同类型 - 1:采购 -1:销售
  5409. type: integer
  5410. convertfactor:
  5411. description: 标仓系数
  5412. type: number
  5413. convertratio:
  5414. description: 折算系数
  5415. type: number
  5416. createtime:
  5417. description: 时间
  5418. type: string
  5419. enumdicname:
  5420. description: 现货商品单位名称
  5421. type: string
  5422. logtype:
  5423. description: 类型 - 1:套保计划 2:现货合同
  5424. type: integer
  5425. mgunitid:
  5426. description: 套保品种单位id
  5427. type: integer
  5428. mgunitidname:
  5429. description: 套保品种单位名称
  5430. type: string
  5431. middlegoodsId:
  5432. description: 套保商品id
  5433. type: integer
  5434. middlegoodscode:
  5435. description: 套保商品代码
  5436. type: string
  5437. middlegoodsname:
  5438. description: 套保商品名称
  5439. type: string
  5440. qty:
  5441. description: 数量
  5442. type: number
  5443. relateNo:
  5444. description: 现货合同/套保计划编号
  5445. type: string
  5446. unitid:
  5447. description: 现货商品单位id
  5448. type: integer
  5449. wrstandardcode:
  5450. description: 现货商品代码
  5451. type: string
  5452. wrstandardid:
  5453. description: 现货商品ID(SEQ_WRSTANDARD)
  5454. type: integer
  5455. wrstandardname:
  5456. description: 现货商品名称
  5457. type: string
  5458. type: object
  5459. models.Ermcp3ExposureFutuDetail:
  5460. properties:
  5461. accountid:
  5462. description: 交易账户id
  5463. type: integer
  5464. accountname:
  5465. description: 交易账户
  5466. type: string
  5467. begindate:
  5468. description: 开始交易日
  5469. type: string
  5470. buyorsell:
  5471. description: 方向 0-买 1-卖
  5472. type: integer
  5473. diffmgqty:
  5474. description: 套保品种今变化量
  5475. type: number
  5476. diffneedqty:
  5477. description: 应套保总量变化量
  5478. type: number
  5479. difftradeqty:
  5480. description: 交易品种今变化量
  5481. type: number
  5482. enddate:
  5483. description: 结束交易日
  5484. type: string
  5485. enumdicname:
  5486. description: 单位名称
  5487. type: string
  5488. goodscode:
  5489. description: 商品代码
  5490. type: string
  5491. goodsid:
  5492. description: 商品id
  5493. type: integer
  5494. goodsname:
  5495. description: 商品名称
  5496. type: string
  5497. holdqty:
  5498. description: 期末持仓量
  5499. type: number
  5500. middlegoodscode:
  5501. description: 套保商品代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保商品id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保商品名称
  5508. type: string
  5509. oriholdqty:
  5510. description: 期初持仓量
  5511. type: number
  5512. reckondate:
  5513. description: 交易日(RECKONDATE)
  5514. type: string
  5515. todaycloseqty:
  5516. description: 今平仓量
  5517. type: number
  5518. todayopenqty:
  5519. description: 今开仓量
  5520. type: number
  5521. tradedate:
  5522. description: 交易日(RECKONDATE)
  5523. type: string
  5524. username:
  5525. description: 用户名称(交易用户)
  5526. type: string
  5527. type: object
  5528. models.Ermcp3ExposureHedgeplanDetail:
  5529. properties:
  5530. biztype:
  5531. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5532. type: integer
  5533. changqty:
  5534. description: 应套保总量变化量
  5535. type: number
  5536. contracttype:
  5537. description: 计划类型 - 1:采购 -1:销售
  5538. type: integer
  5539. convertratio:
  5540. description: 折算系数(套保品种)
  5541. type: number
  5542. deliverygoodscode:
  5543. description: 现货商品代码
  5544. type: string
  5545. deliverygoodsid:
  5546. description: 现货商品id
  5547. type: integer
  5548. deliverygoodsname:
  5549. description: 现货商吕名称
  5550. type: string
  5551. dgunitid:
  5552. description: 现货商品单位id
  5553. type: integer
  5554. dgunitidname:
  5555. description: 单位名称(现货商品)
  5556. type: string
  5557. diffqty:
  5558. description: 套保品种今变动量
  5559. type: number
  5560. enumdicname:
  5561. description: 单位名称(品类)
  5562. type: string
  5563. hedgeplanid:
  5564. description: 套保计划id
  5565. type: string
  5566. hedgeplanno:
  5567. description: 套保计划名称
  5568. type: string
  5569. hedgeplanstatus:
  5570. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5571. type: integer
  5572. mgunitidname:
  5573. description: 单位名称(套保商品)
  5574. type: string
  5575. middlegoodscode:
  5576. description: 套保品种代码
  5577. type: string
  5578. middlegoodsid:
  5579. description: 套保品种id
  5580. type: integer
  5581. middlegoodsname:
  5582. description: 套保品种名称
  5583. type: string
  5584. needarbitrageratio:
  5585. description: 应套利比例
  5586. type: number
  5587. needhedgeratio:
  5588. description: 应套保比例
  5589. type: number
  5590. pricedqty:
  5591. description: 已定价量
  5592. type: number
  5593. qty:
  5594. description: 合同量
  5595. type: number
  5596. reckondate:
  5597. description: 交易日(reckondate)
  5598. type: string
  5599. tradedate:
  5600. description: 交易日(登记日)
  5601. type: string
  5602. unitid:
  5603. description: 品类单位id
  5604. type: integer
  5605. userid:
  5606. description: 机构id
  5607. type: integer
  5608. wrstandardcode:
  5609. description: 品类代码
  5610. type: string
  5611. wrstandardid:
  5612. description: 品类id
  5613. type: integer
  5614. wrstandardname:
  5615. description: 品类名称
  5616. type: string
  5617. type: object
  5618. models.Ermcp3ExposureParamChLog:
  5619. properties:
  5620. accountid:
  5621. description: 期货账户ID (作废, 默认为0)
  5622. type: integer
  5623. aftervalue:
  5624. description: 应套保\套利量变更后(调整后应套保总量)
  5625. type: number
  5626. areauserid:
  5627. description: 所属机构\交易用户ID
  5628. type: integer
  5629. beforevalue:
  5630. description: 应套保\套利量变更前(调整前应套保总量)
  5631. type: number
  5632. begindate:
  5633. description: 开始交易日
  5634. type: string
  5635. changelogtype:
  5636. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5637. type: integer
  5638. curvalue:
  5639. description: 当前套保\套利量(套保总量|套利总量)
  5640. type: number
  5641. diffvalue:
  5642. description: 应套保总量变化量
  5643. type: number
  5644. enddate:
  5645. description: 结束交易日
  5646. type: string
  5647. logdatetime:
  5648. description: 流水日期
  5649. type: string
  5650. logid:
  5651. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5652. type: string
  5653. middlegoodscode:
  5654. description: 套保品种代码
  5655. type: string
  5656. middlegoodsid:
  5657. description: 套保品种
  5658. type: integer
  5659. middlegoodsname:
  5660. description: 套保品种名称
  5661. type: string
  5662. paramaftervalue:
  5663. description: 参数变更后(调整后参数值)
  5664. type: number
  5665. parambeforevalue:
  5666. description: 参数变更前(调整前参数值)
  5667. type: number
  5668. reckondate:
  5669. description: 交易日(reckondate)
  5670. type: string
  5671. tradedate:
  5672. description: 交易日(yyyyMMdd)
  5673. type: string
  5674. type: object
  5675. models.Ermcp3ExpourseReport:
  5676. properties:
  5677. accountid:
  5678. description: 期货账户ID (作废, 默认为0)
  5679. type: integer
  5680. accountname:
  5681. description: 机构名称
  5682. type: string
  5683. arbitrageqty:
  5684. description: 套利量
  5685. type: number
  5686. areauserid:
  5687. description: 所属机构\交易用户ID
  5688. type: integer
  5689. begindate:
  5690. description: 开始交易日
  5691. type: string
  5692. buyfutureqty:
  5693. description: 买入期货数量
  5694. type: number
  5695. buyplanqty:
  5696. description: 采购计划数量
  5697. type: number
  5698. buypricedqty:
  5699. description: 采购合同已定价数量
  5700. type: number
  5701. cycletime:
  5702. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5703. type: string
  5704. cycletype:
  5705. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5706. type: integer
  5707. diffexposure:
  5708. description: 变动量(套保敞口)
  5709. type: number
  5710. difffutuqty:
  5711. description: 变动量(期货)
  5712. type: number
  5713. diffhedgeqty:
  5714. description: 变动量(现货应套保总量)
  5715. type: number
  5716. diffmgqtya:
  5717. description: 套保变动量
  5718. type: number
  5719. diffmgqtyb:
  5720. description: 套利变动量
  5721. type: number
  5722. diffneedqty:
  5723. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5724. type: number
  5725. diffqty:
  5726. description: 变动量(总敞口)
  5727. type: number
  5728. diffspotqty:
  5729. description: 变动量(现货) | 除税变动量
  5730. type: number
  5731. enddate:
  5732. description: 结束交易日
  5733. type: string
  5734. enumdicname:
  5735. description: 单位名称
  5736. type: string
  5737. hedgeqty:
  5738. description: 套保量
  5739. type: number
  5740. mgneedhedgeratio:
  5741. description: 套保比例(套保品的)
  5742. type: number
  5743. middlegoodsid:
  5744. description: 套保品种ID
  5745. type: integer
  5746. middlegoodsname:
  5747. description: 套保商品名称
  5748. type: string
  5749. middlgoodscode:
  5750. description: 套保商品代码
  5751. type: string
  5752. needarbitrageqty:
  5753. description: 应套利量
  5754. type: number
  5755. needarbitrageratio:
  5756. description: 套利比例(套保品的)
  5757. type: number
  5758. needhedgeexposoure:
  5759. description: 应套保敞口(套保敞口)
  5760. type: number
  5761. needhedgeqty:
  5762. description: 应套保量
  5763. type: number
  5764. needhedgeratio:
  5765. description: 应套保敞口比例
  5766. type: number
  5767. needqty:
  5768. description: 应套总量 = 应套保量 + 应套利量
  5769. type: number
  5770. oriarbitrageqty:
  5771. description: 期初套利量
  5772. type: number
  5773. oribuyfutureqty:
  5774. description: 期初买入期货数量
  5775. type: number
  5776. oribuyplanqty:
  5777. description: 期初采购计划数量
  5778. type: number
  5779. oribuypricedqty:
  5780. description: 期初采购合同已定价数量
  5781. type: number
  5782. orihedgeqty:
  5783. description: 期初套保量
  5784. type: number
  5785. orineedarbitrageqty:
  5786. description: 期初应套利量
  5787. type: number
  5788. orineedhedgeexposoure:
  5789. description: 期初应套保敞口
  5790. type: number
  5791. orineedhedgeqty:
  5792. description: 期初应套保量
  5793. type: number
  5794. orisellfutureqty:
  5795. description: 期初卖出期货数量
  5796. type: number
  5797. orisellplanqty:
  5798. description: 期初销售计划数量
  5799. type: number
  5800. orisellpricedqty:
  5801. description: 期初销售合同已定价数量
  5802. type: number
  5803. oritotalexposure:
  5804. description: 期初实时总敞口
  5805. type: number
  5806. oritotalfutureqty:
  5807. description: 期初期货头寸总量
  5808. type: number
  5809. oritotalneedhedgeqty:
  5810. description: 期初应套保总量
  5811. type: number
  5812. oritotalspotqty:
  5813. description: 期初现货头寸总量
  5814. type: number
  5815. reckondate:
  5816. description: 日照时期(yyyyMMdd)
  5817. type: string
  5818. sellfutureqty:
  5819. description: 卖出期货数量
  5820. type: number
  5821. sellplanqty:
  5822. description: 销售计划数量
  5823. type: number
  5824. sellpricedqty:
  5825. description: 销售合同已定价数量
  5826. type: number
  5827. totalexposure:
  5828. description: 实时总敞口(总敞口)
  5829. type: number
  5830. totalfutureqty:
  5831. description: 期货头寸总量(期货总量)
  5832. type: number
  5833. totalhedgeratio:
  5834. description: 敞口比例
  5835. type: number
  5836. totalneedhedgeqty:
  5837. description: 应套保总量(现货应套保总量)
  5838. type: number
  5839. totalspotqty:
  5840. description: 现货头寸总量 | 除税总量
  5841. type: number
  5842. unitid:
  5843. description: 单位id
  5844. type: integer
  5845. updatetime:
  5846. description: 更新时间
  5847. type: string
  5848. type: object
  5849. models.Ermcp3FinanceReport:
  5850. properties:
  5851. accountname:
  5852. description: 机构名称
  5853. type: string
  5854. areauserid:
  5855. description: 所属机构\交易用户ID
  5856. type: integer
  5857. begindate:
  5858. description: 开始交易日
  5859. type: string
  5860. biztype:
  5861. description: 业务类型 - 1:套保 2:套利
  5862. type: integer
  5863. brandname:
  5864. description: 品牌名称
  5865. type: string
  5866. buypreinvoicedamount:
  5867. description: 采购预收票额(预收票额)
  5868. type: number
  5869. buyprepaidamount:
  5870. description: 采购预付款额(预付货款额)
  5871. type: number
  5872. buytodayinvoiceamount:
  5873. description: 采购今收票额(今收票额)
  5874. type: number
  5875. buytodayrefundamount:
  5876. description: 采购今收退款额(今收退款额)
  5877. type: number
  5878. buytodaysettleamount:
  5879. description: 采购今付款额(今付货款额)
  5880. type: number
  5881. buyuninvoicedamount:
  5882. description: 采购应收票额(应收票额)
  5883. type: number
  5884. buyunpaidamount:
  5885. description: 采购应付款额(应付货款额)
  5886. type: number
  5887. currencyid:
  5888. description: 结算币种ID
  5889. type: integer
  5890. currencyname:
  5891. description: 币种名称
  5892. type: string
  5893. cycletime:
  5894. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5895. type: string
  5896. cycletype:
  5897. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5898. type: integer
  5899. deliverygoodscode:
  5900. description: 现货品种代码
  5901. type: string
  5902. deliverygoodsid:
  5903. description: 现货品种ID
  5904. type: integer
  5905. deliverygoodsname:
  5906. description: 现货品种名称
  5907. type: string
  5908. enddate:
  5909. description: 结束交易日
  5910. type: string
  5911. reckondate:
  5912. description: 日照时期(yyyyMMdd)
  5913. type: string
  5914. sellpreinvoicedamount:
  5915. description: 销售预开票额(预开票额)
  5916. type: number
  5917. sellprepaidamount:
  5918. description: 销售预收款额(预收货款额)
  5919. type: number
  5920. selltodayinvoiceamount:
  5921. description: 销售今开票额(今开票额)
  5922. type: number
  5923. selltodayrefundamount:
  5924. description: 销售今付退款额(今付退款额)
  5925. type: number
  5926. selltodaysettleamount:
  5927. description: 销售今收款额(今收货款额)
  5928. type: number
  5929. selluninvoicedamount:
  5930. description: 销售应开票额(应开票额)
  5931. type: number
  5932. sellunpaidamount:
  5933. description: 销售应收款额(应收货款额)
  5934. type: number
  5935. spotgoodsbrandid:
  5936. description: 现货品牌ID
  5937. type: integer
  5938. todaypaysum:
  5939. description: 今付款合计
  5940. type: number
  5941. todayreceivesum:
  5942. description: 今收款合计
  5943. type: number
  5944. updatetime:
  5945. description: 更新时间
  5946. type: string
  5947. wrfactortypeid:
  5948. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5949. type: integer
  5950. wrstandardcode:
  5951. description: 品类代码
  5952. type: string
  5953. wrstandardid:
  5954. description: 现货商品ID
  5955. type: integer
  5956. wrstandardname:
  5957. description: 品类名称
  5958. type: string
  5959. type: object
  5960. models.Ermcp3GoodsGroup:
  5961. properties:
  5962. agreeunit:
  5963. description: 合约单位
  5964. type: number
  5965. areauserid:
  5966. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5967. type: integer
  5968. canshort:
  5969. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5970. type: integer
  5971. closepricemode:
  5972. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5973. type: integer
  5974. createtime:
  5975. description: 创建时间
  5976. type: string
  5977. creatorid:
  5978. description: 创建人
  5979. type: integer
  5980. currencyid:
  5981. description: 报价货币ID
  5982. type: integer
  5983. decimalplace:
  5984. description: 报价小数位
  5985. type: integer
  5986. enumdicname:
  5987. description: 单位名称
  5988. type: string
  5989. exchangefullname:
  5990. description: 交易所全称
  5991. type: string
  5992. excludecfg:
  5993. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5994. type: integer
  5995. exexchangecode:
  5996. description: 交易所代码
  5997. type: string
  5998. exexchangeid:
  5999. description: 外部交易所ID[通道交易]
  6000. type: integer
  6001. exexchangename:
  6002. description: 交易所名称
  6003. type: string
  6004. goodsgroupid:
  6005. description: 商品组ID(自增ID)
  6006. type: integer
  6007. goodsgroupname:
  6008. description: 商品组名称
  6009. type: string
  6010. goodsgroupstatus:
  6011. description: 商品组状态 - 1:正常 2:注销
  6012. type: integer
  6013. goodunitid:
  6014. description: 报价单位ID
  6015. type: integer
  6016. groupcategroyid:
  6017. description: 品种分类ID
  6018. type: integer
  6019. innerdealmode:
  6020. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6021. type: integer
  6022. marketid:
  6023. description: 所属市场ID
  6024. type: integer
  6025. modifierid:
  6026. description: 修改人
  6027. type: integer
  6028. modifytime:
  6029. description: 修改时间
  6030. type: string
  6031. outerdealmode:
  6032. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6033. type: integer
  6034. outergroupcode:
  6035. description: 外部商品组代码[通道交易]
  6036. type: string
  6037. quoteminunit:
  6038. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6039. type: integer
  6040. quotesourcegroupid:
  6041. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6042. type: integer
  6043. syncgoodsqty:
  6044. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6045. type: integer
  6046. required:
  6047. - areauserid
  6048. type: object
  6049. models.Ermcp3HPMiddleGoods:
  6050. properties:
  6051. biztype:
  6052. description: 业务类型 1:套保 2:套利
  6053. type: integer
  6054. contracttype:
  6055. description: 合同类型 1:采购 -1:销售
  6056. type: integer
  6057. convertratio:
  6058. description: 折算系数
  6059. type: number
  6060. customername:
  6061. description: 对手手名称
  6062. type: string
  6063. customeruserid:
  6064. description: 对手id
  6065. type: integer
  6066. enumdicname:
  6067. description: 现货单位名称
  6068. type: string
  6069. hedgeplanid:
  6070. description: 计划id
  6071. type: string
  6072. hedgeplanno:
  6073. description: 计划编号
  6074. type: string
  6075. middlegoodsid:
  6076. description: 套保品种ID
  6077. type: integer
  6078. middlegoodsplanqty3:
  6079. description: 应套保计划量
  6080. type: number
  6081. needhedgeratio:
  6082. description: 套保比例
  6083. type: number
  6084. pricedqty:
  6085. description: 已定价量
  6086. type: number
  6087. relatedmiddlegoodsqty:
  6088. description: 已关联量(套保品种)(期货)
  6089. type: number
  6090. unitid:
  6091. description: 现货单位id
  6092. type: integer
  6093. userid:
  6094. description: 用户id
  6095. type: integer
  6096. vatrate:
  6097. description: 增值税率
  6098. type: number
  6099. wrstandardcode:
  6100. description: 现货商品代码
  6101. type: string
  6102. wrstandardid:
  6103. description: 现货商品id
  6104. type: integer
  6105. wrstandardname:
  6106. description: 现货商品名称
  6107. type: string
  6108. type: object
  6109. models.Ermcp3HedgePlan:
  6110. properties:
  6111. accountid:
  6112. description: 资金账号
  6113. type: integer
  6114. areauserid:
  6115. description: 用户ID
  6116. type: integer
  6117. auditid:
  6118. description: 审核id
  6119. type: integer
  6120. auditname:
  6121. description: 审核人名称
  6122. type: string
  6123. auditremark:
  6124. description: 审核备注
  6125. type: string
  6126. auditsrc:
  6127. description: 审核来源 1-管理端 2-终端
  6128. type: integer
  6129. audittime:
  6130. description: 审核时间
  6131. type: string
  6132. contracttype:
  6133. description: 计划类型 - 1:采购 -1:销售
  6134. type: integer
  6135. convertfactor:
  6136. description: 标仓系数
  6137. type: number
  6138. createtime:
  6139. description: 创建时间
  6140. type: string
  6141. currencyid:
  6142. description: 币种id
  6143. type: integer
  6144. currencyname:
  6145. description: 币种名称
  6146. type: string
  6147. deliverygoodscode:
  6148. description: 现货品种代码
  6149. type: string
  6150. deliverygoodsid:
  6151. description: 现货品种ID
  6152. type: integer
  6153. deliverygoodsname:
  6154. description: 现货品种名称
  6155. type: string
  6156. enumdicname:
  6157. description: 单位名称(现货商品)
  6158. type: string
  6159. hedgeplanid:
  6160. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6161. type: string
  6162. hedgeplanno:
  6163. description: 套保计划编号(名称)
  6164. type: string
  6165. hedgeplanstatus:
  6166. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6167. type: integer
  6168. planqty:
  6169. description: 计划数量
  6170. type: number
  6171. plantime:
  6172. description: 计划时间
  6173. type: string
  6174. producttype:
  6175. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6176. type: integer
  6177. remark:
  6178. description: 备注
  6179. type: string
  6180. spotgoodsdesc:
  6181. description: 商品型号
  6182. type: string
  6183. taaccountname:
  6184. description: 资金账号名称
  6185. type: string
  6186. tradeuserid:
  6187. description: 交易用户id
  6188. type: integer
  6189. tradeusername:
  6190. description: 交易用户名称
  6191. type: string
  6192. unitid:
  6193. description: 单位id(现货商品)
  6194. type: integer
  6195. updatetime:
  6196. description: 更新时间
  6197. type: string
  6198. vatrate:
  6199. description: 增值税率
  6200. type: number
  6201. wrstandardcode:
  6202. description: 品类代码
  6203. type: string
  6204. wrstandardid:
  6205. description: 品类id
  6206. type: integer
  6207. wrstandardname:
  6208. description: 品类名称
  6209. type: string
  6210. wrunitid:
  6211. description: 品类单位id
  6212. type: integer
  6213. wrunitidame:
  6214. description: 品类单位名称
  6215. type: string
  6216. type: object
  6217. models.Ermcp3InnerTradeLink:
  6218. properties:
  6219. accountid:
  6220. description: 期货账号代码 | 资金账号ID
  6221. type: integer
  6222. buyorsell:
  6223. description: 方向 - 0:买 1:卖
  6224. type: integer
  6225. channelbuildtype:
  6226. description: 委托单据类型 0:无 1:建仓 2:平仓
  6227. type: integer
  6228. currencyid:
  6229. description: 币种id
  6230. type: integer
  6231. currencyname:
  6232. description: 结算币种 名称
  6233. type: string
  6234. goodscode:
  6235. description: 商品代码
  6236. type: string
  6237. goodsid:
  6238. description: 商品ID
  6239. type: integer
  6240. goodsname:
  6241. description: 商品名称
  6242. type: string
  6243. outtradeid:
  6244. description: 外部成交单号
  6245. type: string
  6246. taname:
  6247. description: 期货账户名称
  6248. type: string
  6249. tradeid:
  6250. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6251. type: string
  6252. tradeprice:
  6253. description: 成交价格
  6254. type: number
  6255. tradeqty:
  6256. description: 期货成交数量
  6257. type: integer
  6258. tradetime:
  6259. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6260. type: string
  6261. username:
  6262. description: 用户名称
  6263. type: string
  6264. type: object
  6265. models.Ermcp3OutTradeLink:
  6266. properties:
  6267. buyorsell:
  6268. description: 买卖方向 - 0:买 1:卖
  6269. type: integer
  6270. channelbuildtype:
  6271. description: 开平标志- 0:无 1:建仓 2:平仓
  6272. type: integer
  6273. currencyname:
  6274. description: 币种名称
  6275. type: string
  6276. exexchangecode:
  6277. description: 交易所代码
  6278. type: string
  6279. exexchangename:
  6280. description: 交易所名称
  6281. type: string
  6282. goodscode:
  6283. description: 合约代码
  6284. type: string
  6285. goodsid:
  6286. description: 合约id
  6287. type: integer
  6288. goodsname:
  6289. description: 合约名称
  6290. type: string
  6291. hasinnerorder:
  6292. description: 是否有内部单关联 - 0:无 1:有
  6293. type: integer
  6294. hedgeaccountcode:
  6295. description: 外部账号 | 对冲账号
  6296. type: string
  6297. outtradeid:
  6298. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6299. type: string
  6300. tradeprice:
  6301. description: 成交价格
  6302. type: number
  6303. tradeqty:
  6304. description: 成交数量
  6305. type: integer
  6306. tradetime:
  6307. description: 成交时间
  6308. type: string
  6309. type: object
  6310. models.Ermcp3PaAreaAuditCfg:
  6311. properties:
  6312. areauserid:
  6313. description: 用户ID
  6314. type: integer
  6315. buyinauditflag:
  6316. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6317. type: integer
  6318. costratioauditflag:
  6319. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6320. type: integer
  6321. customerauditflag:
  6322. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6323. type: integer
  6324. deliveryauditflag:
  6325. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6326. type: integer
  6327. invoiceauditflag:
  6328. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6329. type: integer
  6330. mgneedhedgeratioauditflag:
  6331. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6332. type: integer
  6333. moneyauditflag:
  6334. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6335. type: integer
  6336. operatorid:
  6337. description: 操作人
  6338. type: integer
  6339. operatorsrc:
  6340. description: 操作来源 - 1:管理端 2:终端
  6341. type: integer
  6342. pointpriceauditflag:
  6343. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6344. type: integer
  6345. produceinauditflag:
  6346. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6347. type: integer
  6348. produceoutauditflag:
  6349. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6350. type: integer
  6351. selloutauditflag:
  6352. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6353. type: integer
  6354. sgconvertratioauditflag:
  6355. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6356. type: integer
  6357. sgvtaratioauditflag:
  6358. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6359. type: integer
  6360. spotcontractauditflag:
  6361. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6362. type: integer
  6363. updatetime:
  6364. description: 更新时间
  6365. type: string
  6366. type: object
  6367. models.Ermcp3PaAreaSubject:
  6368. properties:
  6369. areauserid:
  6370. description: 所属机构
  6371. type: integer
  6372. canmodify:
  6373. description: 是否可修改 - 0:否 1:是
  6374. type: integer
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. creatorid:
  6379. description: 创建人ID
  6380. type: string
  6381. creatorsrc:
  6382. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6383. type: integer
  6384. modifierid:
  6385. description: 修改人
  6386. type: string
  6387. modifiersrc:
  6388. description: 修改人来源 - 1:管理端 2:终端
  6389. type: integer
  6390. modifytime:
  6391. description: 修改时间
  6392. type: string
  6393. parentsubjectid:
  6394. description: 上级主体ID
  6395. type: string
  6396. remark:
  6397. description: 备注
  6398. type: string
  6399. subjectid:
  6400. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6401. type: integer
  6402. subjectname:
  6403. description: 主体名称
  6404. type: string
  6405. subjectstatus:
  6406. description: '主体状态 - 1:正常 2: 停用'
  6407. type: integer
  6408. subjecttype:
  6409. description: 主体类型 - 1:交易主体 2:业务部门
  6410. type: integer
  6411. type: object
  6412. models.Ermcp3PaTradeLink:
  6413. properties:
  6414. accountid:
  6415. description: 期货账户代码 | 账号ID
  6416. type: integer
  6417. agreeunit:
  6418. description: 合约乘数
  6419. type: number
  6420. buyorsell:
  6421. description: 方向 - 0:买 1:卖
  6422. type: integer
  6423. channelbuildtype:
  6424. description: 委托单据类型 0:无 1:建仓 2:平仓
  6425. type: integer
  6426. charge:
  6427. description: 手续费
  6428. type: number
  6429. closepl:
  6430. description: 平仓盈亏
  6431. type: number
  6432. closetype:
  6433. description: 平仓方式 - 0:无 1:平今 2:平昨
  6434. type: integer
  6435. convertratio:
  6436. description: 折算系数
  6437. type: number
  6438. enumdicname:
  6439. description: 单位名称
  6440. type: string
  6441. executeprice:
  6442. description: 执行价 [期权]
  6443. type: integer
  6444. goodscode:
  6445. description: 合约代码
  6446. type: string
  6447. goodsgroupid:
  6448. description: 对冲品种ID[期货合约商品组ID]
  6449. type: integer
  6450. goodsid:
  6451. description: 商品ID
  6452. type: integer
  6453. goodsname:
  6454. description: 合约名称
  6455. type: string
  6456. goodunitid:
  6457. description: 单位id
  6458. type: integer
  6459. hedgeflag:
  6460. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6461. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6462. type: integer
  6463. marketid:
  6464. description: 市场ID
  6465. type: integer
  6466. middlegoodsid:
  6467. description: 套保品种ID
  6468. type: integer
  6469. middlegoodsqty:
  6470. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6471. type: number
  6472. optioncode:
  6473. description: 期权代码 [期权]
  6474. type: string
  6475. ordertype:
  6476. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6477. type: integer
  6478. ordertypename:
  6479. description: 订单类型
  6480. type: string
  6481. parentaccountid:
  6482. description: 所属母账户
  6483. type: integer
  6484. premium:
  6485. description: 权利金 [期权]
  6486. type: number
  6487. relatedlot:
  6488. description: 已关联数量(已关联数量手) | db:关联手数
  6489. type: number
  6490. relatedouttradeid:
  6491. description: 关联外部成交单ID
  6492. type: string
  6493. relatedqty:
  6494. description: 关联数量
  6495. type: number
  6496. spotcontractid:
  6497. description: 现货合同ID [4:套期保值\10\11]
  6498. type: string
  6499. taname:
  6500. description: 期货账户名称
  6501. type: string
  6502. tradeamount:
  6503. description: 成交金额(账户)
  6504. type: number
  6505. tradedate:
  6506. description: 交易日(yyyyMMdd)
  6507. type: string
  6508. tradeid:
  6509. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6510. type: string
  6511. tradelot:
  6512. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6513. type: integer
  6514. tradeprice:
  6515. description: 成交价格
  6516. type: number
  6517. tradetime:
  6518. description: 时间 | db:成交时间
  6519. type: string
  6520. tradetype:
  6521. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6522. type: integer
  6523. userid:
  6524. description: 所属机构 - 所属母账户的UserID
  6525. type: string
  6526. username:
  6527. description: 用户名称
  6528. type: string
  6529. type: object
  6530. models.Ermcp3ParamChangeApp:
  6531. properties:
  6532. aftervalue:
  6533. description: 变更后
  6534. type: number
  6535. applicationid:
  6536. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6537. type: string
  6538. applyid:
  6539. description: 申请人
  6540. type: string
  6541. applyname:
  6542. description: 申请人名称(代码)
  6543. type: string
  6544. applyremark:
  6545. description: 申请备注
  6546. type: string
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. applystatus:
  6551. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6552. type: integer
  6553. applytime:
  6554. description: 申请时间
  6555. type: string
  6556. areauserid:
  6557. description: 所属机构用户ID
  6558. type: integer
  6559. auditid:
  6560. description: 审核人
  6561. type: string
  6562. auditname:
  6563. description: 审核人名称(代码)
  6564. type: string
  6565. auditremark:
  6566. description: 审核备注
  6567. type: string
  6568. auditsrc:
  6569. description: 审核来源 - 1:管理端 2:终端
  6570. type: integer
  6571. audittime:
  6572. description: 审核时间
  6573. type: string
  6574. audittradedate:
  6575. description: 审核交易日(yyyyMMdd)
  6576. type: string
  6577. beforevalue:
  6578. description: 变更前
  6579. type: number
  6580. deliverygoodscode:
  6581. description: 品种代码
  6582. type: string
  6583. deliverygoodsid:
  6584. description: 品种id
  6585. type: integer
  6586. deliverygoodsname:
  6587. description: 品种名称
  6588. type: string
  6589. middlegoodscode:
  6590. description: 套保品种代码
  6591. type: string
  6592. middlegoodsid:
  6593. description: 套保品种ID [ParamChangeType = 2,3,4]
  6594. type: integer
  6595. middlegoodsname:
  6596. description: 套保品种名称
  6597. type: string
  6598. operatetype:
  6599. description: 操作类型 - 1:新增 2:修改
  6600. type: integer
  6601. paramchangetype:
  6602. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6603. type: integer
  6604. wrstandardcode:
  6605. description: 现货商品代码
  6606. type: string
  6607. wrstandardid:
  6608. description: 现货商品ID [ParamChangeType = 1,2,3]
  6609. type: integer
  6610. wrstandardname:
  6611. description: 现货商品名称
  6612. type: string
  6613. type: object
  6614. models.Ermcp3RootUserAccount:
  6615. properties:
  6616. accountname:
  6617. description: 账户名称(机构名称)
  6618. type: string
  6619. accountstatus:
  6620. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6621. type: integer
  6622. applysrc:
  6623. description: 申请来源 - 1:管理端 2:终端
  6624. type: integer
  6625. auditremark:
  6626. description: 审核备注
  6627. type: string
  6628. auditsrc:
  6629. description: 审核来源 - 1:管理端 2:终端
  6630. type: integer
  6631. audittime:
  6632. description: 审核时间
  6633. type: string
  6634. audituserid:
  6635. description: 审核人
  6636. type: integer
  6637. broker:
  6638. description: 所属经纪人ID
  6639. type: integer
  6640. canceltime:
  6641. description: 销户时间
  6642. type: string
  6643. canceluserid:
  6644. description: 销户人
  6645. type: integer
  6646. canrecommend:
  6647. description: 是否可推荐 - 0:不可 1;可
  6648. type: integer
  6649. createtime:
  6650. description: 创建时间
  6651. type: string
  6652. creatorid:
  6653. description: 创建人
  6654. type: integer
  6655. hasauth:
  6656. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6657. type: integer
  6658. isanonymous:
  6659. description: 是否匿名下单 - 0:否 1:是
  6660. type: integer
  6661. maxinvestornum:
  6662. description: 最大用户数(经纪会员下投资者个数)
  6663. type: integer
  6664. memberuserid:
  6665. description: 所属会员ID
  6666. type: integer
  6667. modifierid:
  6668. description: 修改人
  6669. type: integer
  6670. modifyremark:
  6671. description: 变更备注
  6672. type: string
  6673. modifystatus:
  6674. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6675. type: integer
  6676. modifytime:
  6677. description: 修改时间
  6678. type: string
  6679. nickname:
  6680. description: 昵称
  6681. type: string
  6682. parenttopuser:
  6683. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6684. type: string
  6685. parentuserid:
  6686. description: 所属机构ID
  6687. type: integer
  6688. reckonaccountid:
  6689. description: 默认结算资金账号ID(机构分润使用) 作废
  6690. type: integer
  6691. refercount:
  6692. description: 推荐总人数
  6693. type: integer
  6694. refereeuserid:
  6695. description: 推荐人ID
  6696. type: integer
  6697. refernum:
  6698. description: 推荐码
  6699. type: string
  6700. rootuserid:
  6701. description: 根用户ID
  6702. type: integer
  6703. subaccountlevel:
  6704. description: 子账户层数
  6705. type: integer
  6706. subarealevelpath:
  6707. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6708. type: string
  6709. userid:
  6710. description: 用户ID
  6711. type: integer
  6712. usertype:
  6713. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6714. type: integer
  6715. type: object
  6716. models.Ermcp3SCMiddleGoods:
  6717. properties:
  6718. biztype:
  6719. description: 业务类型 1:套保 2:套利
  6720. type: integer
  6721. contractno:
  6722. description: 合同编号
  6723. type: string
  6724. contracttype:
  6725. description: 合同类型 1:采购 -1:销售
  6726. type: integer
  6727. convertratio:
  6728. description: 折算系数
  6729. type: number
  6730. customername:
  6731. description: 对手手名称
  6732. type: string
  6733. customeruserid:
  6734. description: 对手id
  6735. type: integer
  6736. deliverygoodscode:
  6737. description: 现货品种代码
  6738. type: string
  6739. deliverygoodsid:
  6740. description: 现货品种ID
  6741. type: integer
  6742. deliverygoodsname:
  6743. description: 现货品种名称
  6744. type: string
  6745. enumdicname:
  6746. description: 现货单位名称
  6747. type: string
  6748. middlegoodsid:
  6749. description: 套保品种ID
  6750. type: integer
  6751. middlegoodspricedqty3:
  6752. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6753. type: number
  6754. needhedgeratio:
  6755. description: 套保比例
  6756. type: number
  6757. pricedqty:
  6758. description: 已定价量
  6759. type: number
  6760. relatedmiddlegoodsqty:
  6761. description: 已关联量(套保品种)(期货)
  6762. type: number
  6763. spotcontractid:
  6764. description: 合同编号
  6765. type: string
  6766. unitid:
  6767. description: 现货单位id
  6768. type: integer
  6769. userid:
  6770. description: 用户id
  6771. type: integer
  6772. vatrate:
  6773. description: 增值税率
  6774. type: number
  6775. wrstandardcode:
  6776. description: 现货商品代码
  6777. type: string
  6778. wrstandardid:
  6779. description: 现货商品id
  6780. type: integer
  6781. wrstandardname:
  6782. description: 现货商品名称
  6783. type: string
  6784. type: object
  6785. models.Ermcp3SCMiddleGoodsReport:
  6786. properties:
  6787. begindate:
  6788. description: 开始交易日
  6789. type: string
  6790. contractno:
  6791. description: 合同编号
  6792. type: string
  6793. contracttype:
  6794. description: 合同类型 1:采购 -1:销售
  6795. type: integer
  6796. convertratio:
  6797. description: 折算系数
  6798. type: number
  6799. cycletime:
  6800. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6801. type: string
  6802. cycletype:
  6803. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6804. type: integer
  6805. deliverygoodscode:
  6806. description: 品种代码
  6807. type: string
  6808. deliverygoodsid:
  6809. description: 现货品种ID
  6810. type: integer
  6811. deliverygoodsname:
  6812. description: 品种名称
  6813. type: string
  6814. diffprice:
  6815. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6816. type: number
  6817. diffqty:
  6818. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6819. type: number
  6820. enddate:
  6821. description: 结束交易日
  6822. type: string
  6823. hedgeplanqty:
  6824. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6825. type: number
  6826. matchname:
  6827. description: 交易对手方(个人:用户名称 企业:简称)
  6828. type: string
  6829. matchnickname:
  6830. description: 交易对手方昵称
  6831. type: string
  6832. middlegoodscode:
  6833. description: 套保品种代码
  6834. type: string
  6835. middlegoodsid:
  6836. description: 套保品种ID
  6837. type: integer
  6838. middlegoodsname:
  6839. description: 套保品种名称
  6840. type: string
  6841. middlegoodspricedqty:
  6842. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6843. type: number
  6844. middlegoodspricedqty2:
  6845. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6846. type: number
  6847. middlegoodspricedqty3:
  6848. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6849. type: number
  6850. needhedgeratio:
  6851. description: 套保系数
  6852. type: number
  6853. pricedamount:
  6854. description: 已定价额(现货)
  6855. type: number
  6856. pricedamount2:
  6857. description: 已定价额(现货-基价额)
  6858. type: number
  6859. pricedqty:
  6860. description: 已定价量(现货)
  6861. type: number
  6862. reckondate:
  6863. description: 日照时期(yyyyMMdd)
  6864. type: string
  6865. relatedmiddlegoodsamount:
  6866. description: 已关联额(期货)
  6867. type: number
  6868. relatedmiddlegoodsqty:
  6869. description: 已关联量(套保品种)(期货)
  6870. type: number
  6871. spotcontractid:
  6872. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6873. type: string
  6874. todayavgfutuprice:
  6875. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6876. type: number
  6877. todayavgprice:
  6878. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6879. type: number
  6880. todayavgprice2:
  6881. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6882. type: number
  6883. todaypricedamount:
  6884. description: 今日定价额(现货)
  6885. type: number
  6886. todaypricedamount2:
  6887. description: 今日定价额(现货-基价额)
  6888. type: number
  6889. todaypricedqty:
  6890. description: 今日定价量(现货)
  6891. type: number
  6892. todayrelatedfutureqty:
  6893. description: 今日关联量(期货)
  6894. type: number
  6895. todayrelatedmiddlegoodsamount:
  6896. description: 今日关联额(期货)
  6897. type: number
  6898. todayrelatedmiddlegoodsqty:
  6899. description: 今日关联量(套保品-期货)
  6900. type: number
  6901. updatetime:
  6902. description: 更新时间
  6903. type: string
  6904. userid:
  6905. description: 合同所属用户id
  6906. type: integer
  6907. vatrate:
  6908. description: 增值税率
  6909. type: number
  6910. wrstandardcode:
  6911. description: 商品(品类) 代码
  6912. type: string
  6913. wrstandardid:
  6914. description: 现货商品ID
  6915. type: integer
  6916. wrstandardname:
  6917. description: 商品(品类) 名称
  6918. type: string
  6919. type: object
  6920. models.Ermcp3SellBuyContract:
  6921. properties:
  6922. accountid:
  6923. description: 期货账户id
  6924. type: string
  6925. accountname:
  6926. description: 账户名称
  6927. type: string
  6928. attachment:
  6929. description: 附件
  6930. type: string
  6931. audittime:
  6932. description: 审核时间
  6933. type: string
  6934. bizsubjectid:
  6935. description: 归属业务部门ID - SubjectID
  6936. type: integer
  6937. biztype:
  6938. description: 业务类型 1-套保 2-套利
  6939. type: integer
  6940. brandname:
  6941. description: 品牌名称
  6942. type: string
  6943. contracctstatus:
  6944. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6945. type: integer
  6946. contractmargin:
  6947. description: 合同保证金
  6948. type: number
  6949. contractno:
  6950. description: 合同编号
  6951. type: string
  6952. contracttype:
  6953. description: 合同类型 1-采购, -1-销售
  6954. type: integer
  6955. convertfactor:
  6956. description: 标仓系数(品类)
  6957. type: number
  6958. createtime:
  6959. description: 创建时间
  6960. type: string
  6961. currencyid:
  6962. description: 币种id
  6963. type: integer
  6964. currencyname:
  6965. description: 币种名称
  6966. type: string
  6967. daikaiamount:
  6968. description: 应收(开)票额 | 未收票额
  6969. type: number
  6970. deliveryenddate:
  6971. description: 交割结束日
  6972. type: string
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货商品ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. deliverystartdate:
  6983. description: 交割开始日
  6984. type: string
  6985. enddate:
  6986. description: 点价结束日
  6987. type: string
  6988. enumdicname:
  6989. description: 单位名称
  6990. type: string
  6991. goodscode:
  6992. description: 点价商品代码
  6993. type: string
  6994. goodsgroupid:
  6995. description: 点价商品组id
  6996. type: integer
  6997. goodsid:
  6998. description: 点价商品ID
  6999. type: integer
  7000. goodsname:
  7001. description: 点价商品名称
  7002. type: string
  7003. invoiceamount:
  7004. description: 已开票额
  7005. type: number
  7006. loanamount:
  7007. description: 贷款总额=已定价额+调整金额
  7008. type: number
  7009. margin:
  7010. description: 保证金
  7011. type: number
  7012. meruserid:
  7013. description: 跟单员id
  7014. type: integer
  7015. meruserlogincode:
  7016. description: 跟单员登录代码
  7017. type: string
  7018. merusername:
  7019. description: 跟单员名称
  7020. type: string
  7021. nickname:
  7022. description: 账户昵称
  7023. type: string
  7024. orireckonrealqty:
  7025. description: 应交收量
  7026. type: number
  7027. payamount:
  7028. description: 已收付额(收款或付款)
  7029. type: number
  7030. preinvoiceamount:
  7031. description: 预收(开)票额
  7032. type: number
  7033. prepayamount:
  7034. description: 预收付额
  7035. type: number
  7036. price:
  7037. description: 价格
  7038. type: number
  7039. pricedamount:
  7040. description: 已定价额
  7041. type: number
  7042. pricedavg:
  7043. description: 已点均价
  7044. type: number
  7045. pricedqty:
  7046. description: 已定价量
  7047. type: number
  7048. pricemove:
  7049. description: 升贴水
  7050. type: number
  7051. pricetype:
  7052. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7053. type: integer
  7054. producttype:
  7055. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7056. type: integer
  7057. qty:
  7058. description: 合同量
  7059. type: number
  7060. reckonadjustamount:
  7061. description: 调整金额
  7062. type: number
  7063. reckonedamount:
  7064. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7065. type: number
  7066. reckonotheramount:
  7067. description: 其它费用
  7068. type: number
  7069. reckonrealqty:
  7070. description: 已交收量
  7071. type: number
  7072. remark:
  7073. description: 备注
  7074. type: string
  7075. saleuserid:
  7076. description: 业务员id
  7077. type: integer
  7078. saleuserlogincode:
  7079. description: 业务员登录代码
  7080. type: string
  7081. saleusername:
  7082. description: 业务员名称
  7083. type: string
  7084. spotcontractid:
  7085. description: 合同ID
  7086. type: string
  7087. spotgoodsbrandid:
  7088. description: 现货品牌ID(DGFactoryItem表的ID)
  7089. type: integer
  7090. spotgoodsdesc:
  7091. description: 商品型号(商品规格)
  7092. type: string
  7093. startdate:
  7094. description: 点价开始日
  7095. type: string
  7096. subjectid:
  7097. description: 交易主体ID
  7098. type: integer
  7099. subjectname:
  7100. description: 交易主体名称
  7101. type: string
  7102. totalamount:
  7103. description: 合计总额
  7104. type: number
  7105. tradeuserid:
  7106. description: 交易员id
  7107. type: integer
  7108. tradeuserlogincode:
  7109. description: 交易员登录代码
  7110. type: string
  7111. tradeusername:
  7112. description: 交易员名称
  7113. type: string
  7114. unpayamount:
  7115. description: 应收付款额(应支付或应收款) | 未付款额
  7116. type: number
  7117. unpricedqty:
  7118. description: 未定价量
  7119. type: number
  7120. unsureqty:
  7121. description: 未确定量 | 未交收量
  7122. type: number
  7123. userid:
  7124. description: 机构ID
  7125. type: integer
  7126. vatrate:
  7127. description: 增值税率
  7128. type: number
  7129. wrstandardcode:
  7130. description: 品类代码
  7131. type: string
  7132. wrstandardid:
  7133. description: 品类ID
  7134. type: integer
  7135. wrstandardname:
  7136. description: 品类名称
  7137. type: string
  7138. type: object
  7139. models.Ermcp3SpotGoodsPrice:
  7140. properties:
  7141. areauserid:
  7142. description: 所属机构id
  7143. type: integer
  7144. brandname:
  7145. description: 品牌名称
  7146. type: string
  7147. currencyid:
  7148. description: 报价货币ID
  7149. type: integer
  7150. currencyname:
  7151. description: 币种名称
  7152. type: string
  7153. deliverygoodscode:
  7154. description: 现货商品代码
  7155. type: string
  7156. deliverygoodsid:
  7157. description: 现货商品id
  7158. type: integer
  7159. deliverygoodsname:
  7160. description: 现货商品名称
  7161. type: string
  7162. enumdicname:
  7163. description: 现货商品单位名称
  7164. type: string
  7165. gbenumdicname:
  7166. description: 品类单位名称
  7167. type: string
  7168. gmunitid:
  7169. description: 品类单位id
  7170. type: integer
  7171. isvalid:
  7172. description: 是否有效 - 0:无效 1:有效
  7173. type: integer
  7174. operateid:
  7175. description: 最后操作人
  7176. type: integer
  7177. operatesrc:
  7178. description: 最后操作来源 - 1:管理端 2:终端
  7179. type: integer
  7180. operatetime:
  7181. description: 最后操作时间
  7182. type: string
  7183. operatorname:
  7184. description: 操作人名称
  7185. type: string
  7186. spotgoodsbrandid:
  7187. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7188. type: integer
  7189. spotgoodsprice:
  7190. description: 现货价格
  7191. type: number
  7192. tradedate:
  7193. description: 交易日(yyyyMMdd)
  7194. type: string
  7195. unitid:
  7196. description: 现货商品单位id
  7197. type: integer
  7198. wrstandardcode:
  7199. description: 品类代码
  7200. type: string
  7201. wrstandardid:
  7202. description: 现货品类ID(通用则为0)
  7203. type: integer
  7204. wrstandardname:
  7205. description: 品类名称
  7206. type: string
  7207. type: object
  7208. models.Ermcp3SpotGoodsPriceLog:
  7209. properties:
  7210. areauserid:
  7211. description: 所属机构id
  7212. type: integer
  7213. brandname:
  7214. description: 品牌名称
  7215. type: string
  7216. currencyid:
  7217. description: 报价货币ID
  7218. type: integer
  7219. deliverygoodscode:
  7220. description: 现货商品代码
  7221. type: string
  7222. deliverygoodsid:
  7223. description: 现货商品id
  7224. type: integer
  7225. deliverygoodsname:
  7226. description: 现货商品名称
  7227. type: string
  7228. enumdicname:
  7229. description: 现货商品单位名称
  7230. type: string
  7231. gbenumdicname:
  7232. description: 品类单位名称
  7233. type: string
  7234. gmunitid:
  7235. description: 品类单位id
  7236. type: integer
  7237. logid:
  7238. description: 日志id
  7239. type: integer
  7240. operateid:
  7241. description: 最后操作人
  7242. type: integer
  7243. operatesrc:
  7244. description: 最后操作来源 - 1:管理端 2:终端
  7245. type: integer
  7246. operatetime:
  7247. description: 最后操作时间
  7248. type: string
  7249. operatorname:
  7250. description: 操作人名称
  7251. type: string
  7252. spotgoodsbrandid:
  7253. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7254. type: integer
  7255. spotgoodsprice:
  7256. description: 现货价格
  7257. type: number
  7258. tradedate:
  7259. description: 交易日(yyyyMMdd)
  7260. type: string
  7261. unitid:
  7262. description: 现货商品单位id
  7263. type: integer
  7264. wrstandardcode:
  7265. description: 品类代码
  7266. type: string
  7267. wrstandardid:
  7268. description: 现货品类ID(通用则为0)
  7269. type: integer
  7270. wrstandardname:
  7271. description: 品类名称
  7272. type: string
  7273. type: object
  7274. models.Ermcp3SubTaaccount:
  7275. properties:
  7276. accountid:
  7277. description: 资金账户ID
  7278. type: integer
  7279. parentaccountcode:
  7280. description: 所属根账号代码(母账号代码)
  7281. type: string
  7282. parentaccountid:
  7283. description: 所属根账号(母账号)
  7284. type: integer
  7285. taname:
  7286. description: 资金账号名称
  7287. type: string
  7288. tradestatus:
  7289. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7290. type: integer
  7291. username:
  7292. description: 交易用户
  7293. type: string
  7294. type: object
  7295. models.Ermcp3TaFutuReDataReport:
  7296. properties:
  7297. accountid:
  7298. description: 交易账户
  7299. type: integer
  7300. accountname:
  7301. description: 交易账号名称
  7302. type: string
  7303. agreeunit:
  7304. description: 商品合约单位
  7305. type: number
  7306. begindate:
  7307. description: 开始交易日
  7308. type: string
  7309. buyorsell:
  7310. description: 持仓方向
  7311. type: integer
  7312. charge:
  7313. description: 手续费
  7314. type: number
  7315. closeavgprice:
  7316. description: 平仓均价
  7317. type: number
  7318. closepl:
  7319. description: 平仓损益
  7320. type: number
  7321. currencyid:
  7322. description: 结算币种ID
  7323. type: integer
  7324. currencyname:
  7325. description: 币种名称
  7326. type: string
  7327. cycletime:
  7328. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7329. type: string
  7330. cycletype:
  7331. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7332. type: integer
  7333. enddate:
  7334. description: 结束交易日
  7335. type: string
  7336. enumdicname:
  7337. description: 单位名称
  7338. type: string
  7339. floatpl:
  7340. description: 浮动损益
  7341. type: number
  7342. goodscode:
  7343. description: 交易合约代码
  7344. type: string
  7345. goodsgroupid:
  7346. description: 交易品种
  7347. type: integer
  7348. goodsgroupname:
  7349. description: 交易品种名称
  7350. type: string
  7351. goodsgroupspotqty:
  7352. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7353. type: number
  7354. goodsid:
  7355. description: 交易合约
  7356. type: integer
  7357. goodsname:
  7358. description: 交易合约名称
  7359. type: string
  7360. goodunitid:
  7361. description: 交易合约单位id
  7362. type: integer
  7363. holdamount:
  7364. description: 期末持仓额
  7365. type: number
  7366. holdqty:
  7367. description: 期末持仓量
  7368. type: number
  7369. lastholdamount:
  7370. description: 当前持仓额
  7371. type: number
  7372. lastprice:
  7373. description: 最新价
  7374. type: number
  7375. middlegoodsid:
  7376. description: 套保品种id
  7377. type: integer
  7378. middlegoodsname:
  7379. description: 套保商品名称
  7380. type: string
  7381. middlegoodsqty:
  7382. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7383. type: number
  7384. middlgoodscode:
  7385. description: 套保商品代码
  7386. type: string
  7387. openamount:
  7388. description: 期末开仓额
  7389. type: number
  7390. openavgprice:
  7391. description: 开仓均价
  7392. type: number
  7393. oriholdamount:
  7394. description: 期初持仓额
  7395. type: number
  7396. oriholdqty:
  7397. description: 期初持仓量
  7398. type: number
  7399. oriopenamount:
  7400. description: 期初开仓额
  7401. type: number
  7402. outergroupcode:
  7403. description: 交易品种代码
  7404. type: string
  7405. qtydecimalplace:
  7406. description: 成交量小数位
  7407. type: integer
  7408. reckondate:
  7409. description: 日照时期(yyyyMMdd)
  7410. type: string
  7411. reckonholdamount:
  7412. description: 结算持仓额
  7413. type: number
  7414. reckonpl:
  7415. description: 结算损益
  7416. type: number
  7417. reckonpl2:
  7418. description: 结算逐笔盈亏
  7419. type: number
  7420. reckonprice:
  7421. description: 结算价
  7422. type: number
  7423. relateduserid:
  7424. description: 账户关联用户ID
  7425. type: integer
  7426. todaycloseamount:
  7427. description: 今平仓额
  7428. type: number
  7429. todaycloseqty:
  7430. description: 今平仓量
  7431. type: number
  7432. todaygoodsgroupspotqty:
  7433. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7434. type: number
  7435. todaymiddlegoodsqty:
  7436. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7437. type: number
  7438. todayopenamount:
  7439. description: 今开仓额
  7440. type: number
  7441. todayopenqty:
  7442. description: 今开仓量
  7443. type: number
  7444. userid:
  7445. description: 账户所属用户ID
  7446. type: integer
  7447. type: object
  7448. models.Ermcp3TradeLinkDetail:
  7449. properties:
  7450. accountid:
  7451. description: 资金账号
  7452. type: integer
  7453. agreeunit:
  7454. description: 合约乘数
  7455. type: number
  7456. areauserid:
  7457. description: 所属机构
  7458. type: string
  7459. bizsubjectid:
  7460. description: 归属业务部门ID - SubjectID
  7461. type: string
  7462. buyorsell:
  7463. description: 方向 - 0:买 1:卖
  7464. type: integer
  7465. channelbuildtype:
  7466. description: 委托单据类型 0:无 1:建仓 2:平仓
  7467. type: integer
  7468. contractno:
  7469. description: 现货编号 (合同编号)
  7470. type: string
  7471. convertratio:
  7472. description: 折算系数
  7473. type: number
  7474. createtime:
  7475. description: 关联时间 | 创建时间
  7476. type: string
  7477. creatorid:
  7478. description: 创建人ID
  7479. type: string
  7480. creatorsrc:
  7481. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7482. type: integer
  7483. enumdicname:
  7484. description: 单位名称
  7485. type: string
  7486. goodscode:
  7487. description: 合约代码
  7488. type: string
  7489. goodsgroupid:
  7490. description: 对冲品种ID[期货合约商品组ID]
  7491. type: integer
  7492. goodsid:
  7493. description: 商品ID
  7494. type: integer
  7495. goodsname:
  7496. description: 合约名称
  7497. type: string
  7498. hedgeflag:
  7499. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7500. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7501. type: integer
  7502. linkdetailid:
  7503. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7504. type: string
  7505. linkstatus:
  7506. description: 关联状态 - 1:成功 2:失败 3:解绑
  7507. type: integer
  7508. middlegoodscode:
  7509. description: 套保品种代码
  7510. type: string
  7511. middlegoodsid:
  7512. description: 套保品种ID
  7513. type: integer
  7514. middlegoodsname:
  7515. description: 套保品种名称
  7516. type: string
  7517. relatedlot:
  7518. description: 关联手数
  7519. type: number
  7520. relatedmode:
  7521. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7522. type: integer
  7523. relatedqty:
  7524. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7525. type: number
  7526. retcode:
  7527. description: 返回码
  7528. type: integer
  7529. saleuserid:
  7530. description: 业务员ID
  7531. type: string
  7532. spotcontractid:
  7533. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7534. type: string
  7535. taname:
  7536. description: 期货账户
  7537. type: string
  7538. tradedate:
  7539. description: 关联交易日(yyyyMMdd)
  7540. type: string
  7541. tradeid:
  7542. description: 期货订单号 | 内部成交单ID
  7543. type: string
  7544. tradelot:
  7545. description: 成交数量 | 成交手数
  7546. type: integer
  7547. tradeprice:
  7548. description: 成交价格
  7549. type: number
  7550. tradetime:
  7551. description: 期货成交时间
  7552. type: string
  7553. tradetradedate:
  7554. description: 成交交易日(yyyyMMdd)
  7555. type: string
  7556. username:
  7557. description: 用户名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3Wrstandard:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构
  7564. type: integer
  7565. cantrade:
  7566. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7567. type: integer
  7568. convertfactor:
  7569. description: 标仓系数
  7570. type: number
  7571. createtime:
  7572. description: 创建时间
  7573. type: string
  7574. creatorid:
  7575. description: 创建人
  7576. type: integer
  7577. deliverygoodsid:
  7578. description: 现货品种ID
  7579. type: integer
  7580. enumdicname:
  7581. description: 品类单位名称
  7582. type: string
  7583. isvalid:
  7584. description: 是否有效 0-无效(停用) 1-有效(正常)
  7585. type: integer
  7586. minivalue:
  7587. description: 最小变动值
  7588. type: integer
  7589. minivaluedp:
  7590. description: 最小变动值小数位
  7591. type: integer
  7592. realminivalue:
  7593. description: 实际最小变动值
  7594. type: integer
  7595. realminivaluedp:
  7596. description: 实际最小变动值小数位
  7597. type: integer
  7598. remark:
  7599. description: 备注
  7600. type: string
  7601. unitid:
  7602. description: 品类单位ID
  7603. type: integer
  7604. updatetime:
  7605. description: 更新时间
  7606. type: string
  7607. wrstandardcode:
  7608. description: 品类代码
  7609. type: string
  7610. wrstandardid:
  7611. description: 品类ID(SEQ_WRSTANDARD)
  7612. type: integer
  7613. wrstandardname:
  7614. description: 品类名称
  7615. type: string
  7616. type: object
  7617. models.Ermcp8EnableHedgeditem:
  7618. properties:
  7619. accountname:
  7620. description: 套期主体
  7621. type: string
  7622. hedgeditemid:
  7623. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7624. type: integer
  7625. hedgeditemname:
  7626. description: 项目名称
  7627. type: string
  7628. hedgeditemnum:
  7629. description: 项目编号
  7630. type: string
  7631. hedgedtype:
  7632. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7633. type: integer
  7634. planenddate:
  7635. description: 计划结束日期
  7636. type: string
  7637. planstartdate:
  7638. description: 计划开始日期
  7639. type: string
  7640. type: object
  7641. models.Ermcp8HedgeditemReport:
  7642. properties:
  7643. accountname:
  7644. description: 套期主体
  7645. type: string
  7646. areauserid:
  7647. description: 企业ID
  7648. type: integer
  7649. curprice:
  7650. description: '[当日现货市场价]当前市场价'
  7651. type: number
  7652. enumdicname:
  7653. description: 单位
  7654. type: string
  7655. exeamount:
  7656. description: '[执行现货金额]执行市价总额'
  7657. type: number
  7658. exeavgprice:
  7659. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7660. type: number
  7661. exeqty:
  7662. description: '[执行数量]执行现货量'
  7663. type: number
  7664. futurehedgepl:
  7665. description: 期货实际损益
  7666. type: number
  7667. futurehedgeplchange:
  7668. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7669. type: number
  7670. futurepl:
  7671. description: 期货套期损益
  7672. type: number
  7673. futureplchange:
  7674. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7675. type: number
  7676. hedgeamount:
  7677. description: '[套期现货金额]套期市价总额'
  7678. type: number
  7679. hedgeditemnum:
  7680. description: 项目编号,模糊查询
  7681. type: string
  7682. hedgeditemstatus:
  7683. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7684. type: integer
  7685. hedgedtype:
  7686. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7687. type: integer
  7688. hedgeqty:
  7689. description: '[套期数量]套期现货量'
  7690. type: number
  7691. oriavgprice:
  7692. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7693. type: number
  7694. orifuturehedgepl:
  7695. description: 期初期货实际损益
  7696. type: number
  7697. orifuturepl:
  7698. description: 期初期货套期损益
  7699. type: number
  7700. orispothedgepl:
  7701. description: 期初现货实际损益
  7702. type: number
  7703. orispotpl:
  7704. description: 期初现货套期损益
  7705. type: number
  7706. planenddate:
  7707. description: 计划结束日期
  7708. type: string
  7709. planstartdate:
  7710. description: 计划开始日期
  7711. type: string
  7712. spothedgepl:
  7713. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7714. type: number
  7715. spothedgeplchange:
  7716. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7717. type: number
  7718. spotpl:
  7719. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7720. type: number
  7721. spotplchange:
  7722. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7723. type: number
  7724. tradeuserid:
  7725. description: 交易用户ID
  7726. type: integer
  7727. unexeqty:
  7728. description: 未执行现货量 = 套期现货量 - 执行现货量
  7729. type: number
  7730. wrstandardcode:
  7731. description: 现货品类代码
  7732. type: string
  7733. wrstandardid:
  7734. description: 现货商品ID
  7735. type: integer
  7736. wrstandardname:
  7737. description: '[现货商品]现货品类名称'
  7738. type: string
  7739. type: object
  7740. models.Ermcp8RunningHedgeditem:
  7741. properties:
  7742. accountname:
  7743. description: 套期主体
  7744. type: string
  7745. applyid:
  7746. description: 申请人
  7747. type: integer
  7748. applysrc:
  7749. description: 申请来源 - 1:管理端 2:终端
  7750. type: integer
  7751. areauserid:
  7752. description: 企业ID
  7753. type: integer
  7754. auditid:
  7755. description: 审核人
  7756. type: integer
  7757. auditremark:
  7758. description: 审核备注
  7759. type: string
  7760. auditsrc:
  7761. description: 审核来源 - 1:管理端 2:终端
  7762. type: integer
  7763. audittime:
  7764. description: 审核时间
  7765. type: string
  7766. audittradedate:
  7767. description: 审核交易日(yyyyMMdd)
  7768. type: string
  7769. createtime:
  7770. description: 申请时间
  7771. type: string
  7772. curprice:
  7773. description: 当前市场价
  7774. type: number
  7775. curstock:
  7776. description: 期末库存量 = 采购总量 - 销售总量
  7777. type: number
  7778. deliverygoodsid:
  7779. description: 现货品种ID
  7780. type: integer
  7781. enddate:
  7782. description: 完成日期
  7783. type: string
  7784. endtradedate:
  7785. description: 完成交易日
  7786. type: string
  7787. enumdicname:
  7788. description: 单位
  7789. type: string
  7790. exeamount:
  7791. description: 执行市价总额
  7792. type: number
  7793. exeavgprice:
  7794. description: 执行市场均价= 执行市价总额 / 执行现货量
  7795. type: number
  7796. execontractamount:
  7797. description: 执行定价总额
  7798. type: number
  7799. exeqty:
  7800. description: 执行现货量
  7801. type: number
  7802. exerestamount:
  7803. description: 执行剩余市价总额【现货贸易】
  7804. type: number
  7805. futurefloatpl:
  7806. description: 期货浮动损益
  7807. type: number
  7808. futurehedgepl:
  7809. description: 期货实际损益
  7810. type: number
  7811. futurehedgeplchange:
  7812. description: 期货实际损益变动
  7813. type: number
  7814. futurepl:
  7815. description: 期货套期损益
  7816. type: number
  7817. futureplchange:
  7818. description: 期货套期损益变动
  7819. type: number
  7820. hedgeamount:
  7821. description: 套期市价总额
  7822. type: number
  7823. hedgecontractamount:
  7824. description: 套期定价总额 【定价采购合同】【现货贸易】
  7825. type: number
  7826. hedgeditemid:
  7827. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7828. type: string
  7829. hedgeditemname:
  7830. description: 项目名称
  7831. type: string
  7832. hedgeditemnum:
  7833. description: 项目编号
  7834. type: string
  7835. hedgeditemstatus:
  7836. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7837. type: integer
  7838. hedgedtype:
  7839. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7840. type: integer
  7841. hedgeqty:
  7842. description: 套期现货量
  7843. type: number
  7844. hedgerate:
  7845. description: 套保比率
  7846. type: number
  7847. hedgerestamount:
  7848. description: 套期剩余市价总额【现货贸易】
  7849. type: number
  7850. hedgesumpl:
  7851. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  7852. type: number
  7853. middlegoodslist:
  7854. description: 套期商品列表
  7855. items:
  7856. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  7857. type: array
  7858. oriavgprice:
  7859. description: 期初市场均价 = 套期市价总额 / 套期现货量
  7860. type: number
  7861. orifuturehedgepl:
  7862. description: 期初期货实际损益
  7863. type: number
  7864. orifuturepl:
  7865. description: 期初期货套期损益
  7866. type: number
  7867. orispothedgepl:
  7868. description: 期初现货实际损益
  7869. type: number
  7870. orispotpl:
  7871. description: 期初现货套期损益
  7872. type: number
  7873. planenddate:
  7874. description: 计划结束日期
  7875. type: string
  7876. planstartdate:
  7877. description: 计划开始日期
  7878. type: string
  7879. remark:
  7880. description: 备注
  7881. type: string
  7882. spotbookamount:
  7883. description: 现货账面总额
  7884. type: number
  7885. spotfloatpl:
  7886. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7887. type: number
  7888. spothedgepl:
  7889. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7890. type: number
  7891. spothedgeplchange:
  7892. description: 现货实际损益变动
  7893. type: number
  7894. spotpl:
  7895. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7896. type: number
  7897. spotplchange:
  7898. description: 现货套期损益变动
  7899. type: number
  7900. spottradepl:
  7901. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  7902. type: number
  7903. sumobspl:
  7904. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  7905. type: number
  7906. tradeuserid:
  7907. description: 交易用户ID
  7908. type: integer
  7909. unexeqty:
  7910. description: 未执行现货量 = 套期现货量 - 执行现货量
  7911. type: number
  7912. updatetime:
  7913. description: 更新时间
  7914. type: string
  7915. vatpl:
  7916. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  7917. type: number
  7918. vatrate:
  7919. description: 增值税
  7920. type: number
  7921. wrstandardid:
  7922. description: 现货商品ID
  7923. type: integer
  7924. wrstandardname:
  7925. description: 商品名称
  7926. type: string
  7927. type: object
  7928. models.ErmcpBizGroupEx:
  7929. properties:
  7930. acclist:
  7931. description: 账号列表
  7932. items:
  7933. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7934. type: array
  7935. bizgroupid:
  7936. description: 业务分组id
  7937. type: integer
  7938. biztype:
  7939. description: 业务类型 1-套保 2-套利
  7940. type: integer
  7941. wrlist:
  7942. description: 现货商品表
  7943. items:
  7944. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7945. type: array
  7946. type: object
  7947. models.ErmcpBizGroupSpotGoods:
  7948. properties:
  7949. areauserid:
  7950. description: 所属机构id
  7951. type: integer
  7952. bizgroupid:
  7953. description: 分组id
  7954. type: integer
  7955. biztype:
  7956. description: 业务类型 1-套保 2-套利
  7957. type: integer
  7958. deliverygoodscode:
  7959. description: 现货商品代码
  7960. type: string
  7961. deliverygoodsid:
  7962. description: 现货商品id
  7963. type: integer
  7964. deliverygoodsname:
  7965. description: 现货商品名称
  7966. type: string
  7967. unitid:
  7968. description: 现货商品单位id
  7969. type: integer
  7970. type: object
  7971. models.ErmcpBizGroupTaAccount:
  7972. properties:
  7973. accountid:
  7974. description: 账号id
  7975. type: integer
  7976. accountname:
  7977. description: 账号名称
  7978. type: string
  7979. areauserid:
  7980. description: 所属机构id
  7981. type: integer
  7982. bizgroupid:
  7983. description: 业务分组id
  7984. type: integer
  7985. ismain:
  7986. description: 是否主账号 1-是 0-否
  7987. type: integer
  7988. type: object
  7989. models.ErmcpDGFactoryItem:
  7990. properties:
  7991. areauserid:
  7992. description: 用户id
  7993. type: integer
  7994. deliverygoodsid:
  7995. description: 现货品种ID
  7996. type: integer
  7997. dgfactoryitemid:
  7998. description: 选择项ID(SEQ_DGFACTORYITEM)
  7999. type: integer
  8000. dgfactoryitemtypeid:
  8001. description: 要素项类型
  8002. type: integer
  8003. dgfactoryitemvalue:
  8004. description: 要素项值(类型为仓库时填写仓库名称)
  8005. type: string
  8006. isvalid:
  8007. description: 是否有效 - 0:无效 1:有效
  8008. type: integer
  8009. orderindex:
  8010. description: 顺序
  8011. type: integer
  8012. warehouseid:
  8013. description: 仓库ID(类型为仓库时填写)
  8014. type: integer
  8015. type: object
  8016. models.ErmcpDeliveryGoods:
  8017. properties:
  8018. agreeunit:
  8019. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8020. type: integer
  8021. areauserid:
  8022. description: 所属机构
  8023. type: integer
  8024. auditflag:
  8025. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8026. type: integer
  8027. categoryid:
  8028. description: 类别ID(SEQ_WRCATEGORY)
  8029. type: integer
  8030. deliverygoodscode:
  8031. description: 现货品种代码
  8032. type: string
  8033. deliverygoodsid:
  8034. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8035. type: integer
  8036. deliverygoodsname:
  8037. description: 现货品种名称
  8038. type: string
  8039. deliverygoodstype:
  8040. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8041. type: integer
  8042. dgstatus:
  8043. description: 品种状态 - 作废 - 0:未激活 1:正常
  8044. type: integer
  8045. enumdicname:
  8046. description: 现货品种单位名称
  8047. type: string
  8048. goodsunitid:
  8049. description: 现货品种单位ID
  8050. type: integer
  8051. isvalid:
  8052. description: 是否有效 - 0:无效 1:有效
  8053. type: integer
  8054. qtydecimalplace:
  8055. description: 成交量小数位
  8056. type: integer
  8057. remark:
  8058. description: 备注
  8059. type: string
  8060. standardqty:
  8061. description: 标准数量(库位数量) [标准品特有]
  8062. type: integer
  8063. standardqtyrange:
  8064. description: 标准数量偏差范围 [标准品特有]
  8065. type: integer
  8066. type: object
  8067. models.ErmcpFuturesCompany:
  8068. properties:
  8069. brokerid:
  8070. description: 经纪公司代码
  8071. type: string
  8072. channeladdress:
  8073. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8074. type: string
  8075. channelid:
  8076. description: 对冲渠道ID
  8077. type: string
  8078. createtime:
  8079. description: 创建时间
  8080. type: string
  8081. creatorid:
  8082. description: 创建人
  8083. type: string
  8084. fcid:
  8085. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8086. type: integer
  8087. fcname:
  8088. description: 期货公司名称
  8089. type: string
  8090. isvalid:
  8091. description: 是否有效 - 0:无效 1:有效
  8092. type: integer
  8093. mhpaddress:
  8094. description: MHP服务地址(IP:Port)
  8095. type: string
  8096. riskrulegroupid:
  8097. description: 风控规则组ID
  8098. type: string
  8099. tradefeetmpid:
  8100. description: 手续费模板ID[TradeConfigTmpType为2]
  8101. type: string
  8102. trademargintmpid:
  8103. description: 保证金模板ID [TradeConfigTmpType为1]
  8104. type: string
  8105. traderatetmpid:
  8106. description: 汇率模板ID[TradeConfigTmpType为3]
  8107. type: string
  8108. updatetime:
  8109. description: 更新时间
  8110. type: string
  8111. updatorid:
  8112. description: 更新人
  8113. type: string
  8114. type: object
  8115. models.ErmcpGGConvertCfg:
  8116. properties:
  8117. convertratio:
  8118. description: 折算系数
  8119. type: number
  8120. destgoodsgroupid:
  8121. description: 目标品种ID
  8122. type: integer
  8123. dstcode:
  8124. description: 目录品种代码
  8125. type: string
  8126. dstexchangecode:
  8127. description: 目标期货交易所
  8128. type: string
  8129. dstname:
  8130. description: 目标品种名称
  8131. type: string
  8132. dstunitid:
  8133. description: 目标品种单位ID
  8134. type: integer
  8135. dstunitidname:
  8136. description: 目标品种单位名称
  8137. type: string
  8138. modifytime:
  8139. description: 修改时间
  8140. type: string
  8141. srccode:
  8142. description: 源品种代码
  8143. type: string
  8144. srcexchangecode:
  8145. description: 源期货交易所
  8146. type: string
  8147. srcgoodsgroupid:
  8148. description: 源品种ID
  8149. type: integer
  8150. srcname:
  8151. description: 源品种名称
  8152. type: string
  8153. srcunitid:
  8154. description: 源品种单位ID
  8155. type: integer
  8156. srcunitidname:
  8157. description: 源品种单位名称
  8158. type: string
  8159. type: object
  8160. models.ErmcpGoods:
  8161. properties:
  8162. agreeunit:
  8163. description: 合约单位
  8164. type: number
  8165. areauserid:
  8166. description: 所属机构
  8167. type: integer
  8168. auditaccountid:
  8169. description: 审核操作员账号
  8170. type: integer
  8171. audittime:
  8172. description: 审核时间
  8173. type: string
  8174. cancelaccountid:
  8175. description: 注销操作员账号
  8176. type: integer
  8177. canceltime:
  8178. description: 注销时间
  8179. type: string
  8180. closepricemode:
  8181. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8182. type: integer
  8183. closepriceparam:
  8184. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8185. type: number
  8186. createtime:
  8187. description: 创建时间
  8188. type: string
  8189. creatorid:
  8190. description: 创建人
  8191. type: integer
  8192. currencyid:
  8193. description: 报价货币ID
  8194. type: integer
  8195. cutmode:
  8196. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8197. type: integer
  8198. decimalplace:
  8199. description: 报价小数位
  8200. type: integer
  8201. delistingdate:
  8202. description: 商品退市时间(状态:退市) -- 已作废
  8203. type: string
  8204. delistingmode:
  8205. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8206. type: integer
  8207. deliveryflag:
  8208. description: 交割标志 - 0:不可交割 1:可交割
  8209. type: integer
  8210. enumdicname:
  8211. description: 单位名称
  8212. type: string
  8213. forceclosemode:
  8214. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8215. type: integer
  8216. forceclosevalue:
  8217. description: 定期强平参数 [收益权]
  8218. type: integer
  8219. goodscode:
  8220. description: 商品代码(内部)
  8221. type: string
  8222. goodscurrencyid:
  8223. description: 合约货币ID
  8224. type: integer
  8225. goodsgroupid:
  8226. description: 所属商品组ID
  8227. type: integer
  8228. goodsid:
  8229. description: 商品ID(自增ID SEQ_GOODS)
  8230. type: integer
  8231. goodsname:
  8232. description: 商品名称
  8233. type: string
  8234. goodsquotetype:
  8235. description: '合约报价类型: 1-直接报价 2-间接报价'
  8236. type: integer
  8237. goodsstatus:
  8238. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8239. type: integer
  8240. goodstradetype:
  8241. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8242. type: integer
  8243. goodunitid:
  8244. description: 报价单位ID
  8245. type: integer
  8246. hasquoter:
  8247. description: 是否有报价商 - 0:无报价商 1:有报价商
  8248. type: integer
  8249. hqprotecttime:
  8250. description: 行情保护时间(秒)
  8251. type: integer
  8252. innerdealmode:
  8253. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8254. type: integer
  8255. isbuylimited:
  8256. description: 是否限制建仓量 - 0:不限制 1:限制
  8257. type: integer
  8258. isvisible:
  8259. description: 游客是否可见 - 0:不可见 1:可见
  8260. type: integer
  8261. lasttradedate:
  8262. description: 最后交易日期(状态:待退市)
  8263. type: string
  8264. listingdate:
  8265. description: 交易开始日期
  8266. type: string
  8267. marketid:
  8268. description: 所属市场ID
  8269. type: integer
  8270. modifierid:
  8271. description: 修改人
  8272. type: integer
  8273. modifystatus:
  8274. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8275. type: integer
  8276. modifytime:
  8277. description: 修改时间
  8278. type: string
  8279. outerdealmode:
  8280. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8281. type: integer
  8282. outgoodscode:
  8283. description: 商品代码(外部)
  8284. type: string
  8285. pictureurl:
  8286. description: 商品图片
  8287. type: string
  8288. qtydecimalplace:
  8289. description: 成交量小数位
  8290. type: integer
  8291. quotegear:
  8292. description: 行情档位(1-10)
  8293. type: integer
  8294. quoteminunit:
  8295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8296. type: integer
  8297. quoteshowtype:
  8298. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8299. type: integer
  8300. quoteshowtypeinterval:
  8301. description: 行情报价间隔时间(秒)(成交价时为0)
  8302. type: integer
  8303. relatedgoodsid:
  8304. description: 关联参考商品ID
  8305. type: integer
  8306. remark:
  8307. description: 备注
  8308. type: string
  8309. trademode:
  8310. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8311. 21:竞拍-大宗式 22:受托竞价
  8312. type: integer
  8313. required:
  8314. - goodscode
  8315. - goodsid
  8316. - goodsname
  8317. - marketid
  8318. type: object
  8319. models.ErmcpGoodsBrand:
  8320. properties:
  8321. areauserid:
  8322. description: 所属机构
  8323. type: integer
  8324. brandid:
  8325. description: BrandID(SEQ_SPOTGOODSBRAND)
  8326. type: integer
  8327. brandname:
  8328. description: 品牌名称
  8329. type: string
  8330. createtime:
  8331. description: 创建时间
  8332. type: string
  8333. creatorid:
  8334. description: 创建人
  8335. type: integer
  8336. creatorsrc:
  8337. description: 创建人来源 - 1:管理端 2:终端
  8338. type: integer
  8339. deliverygoodsid:
  8340. description: 现货品种ID
  8341. type: integer
  8342. isvalid:
  8343. description: 是否有效 - 0:无效 1:有效
  8344. type: integer
  8345. updatetime:
  8346. description: 更新时间
  8347. type: string
  8348. updatorid:
  8349. description: 更新人
  8350. type: integer
  8351. updatorsrc:
  8352. description: 更新人来源 - 1:管理端 2:终端
  8353. type: integer
  8354. wrstandardid:
  8355. description: 现货商品ID
  8356. type: integer
  8357. type: object
  8358. models.ErmcpGoodsModel:
  8359. properties:
  8360. areauserid:
  8361. description: 所属机构
  8362. type: integer
  8363. convertfactor:
  8364. description: 标仓系数
  8365. type: number
  8366. createtime:
  8367. description: 创建时间
  8368. type: string
  8369. creatorid:
  8370. description: 创建人
  8371. type: integer
  8372. creatorsrc:
  8373. description: 创建人来源 - 1:管理端 2:终端
  8374. type: integer
  8375. deliverygoodsid:
  8376. description: 现货品种ID
  8377. type: integer
  8378. isvalid:
  8379. description: 是否有效 - 0:无效 1:有效
  8380. type: integer
  8381. modelid:
  8382. description: ModelID(SEQ_SPOTGOODSMODEL)
  8383. type: integer
  8384. modelname:
  8385. description: 型号名称
  8386. type: string
  8387. updatetime:
  8388. description: 更新时间
  8389. type: string
  8390. updatorid:
  8391. description: 更新人
  8392. type: integer
  8393. updatorsrc:
  8394. description: 更新人来源 - 1:管理端 2:终端
  8395. type: integer
  8396. wrstandardid:
  8397. description: 现货商品ID
  8398. type: integer
  8399. type: object
  8400. models.ErmcpHisExposure:
  8401. properties:
  8402. needhedgeexposoure:
  8403. description: 应套保敞口
  8404. type: number
  8405. reckondate:
  8406. description: 日照时期(yyyyMMdd)
  8407. type: string
  8408. totalexposure:
  8409. description: 总敞口
  8410. type: number
  8411. type: object
  8412. models.ErmcpLoginTaAccount:
  8413. properties:
  8414. accountid:
  8415. description: 账号id
  8416. type: integer
  8417. accountname:
  8418. description: 账号名称
  8419. type: string
  8420. type: object
  8421. models.ErmcpLoginUser:
  8422. properties:
  8423. acclist:
  8424. description: 关联资金账号
  8425. items:
  8426. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8427. type: array
  8428. accountname:
  8429. description: 用户名称
  8430. type: string
  8431. clientroleid:
  8432. description: 角色id(usertype=2)
  8433. type: integer
  8434. createtime:
  8435. description: 创建时间
  8436. type: string
  8437. logincode:
  8438. description: 登录代码
  8439. type: string
  8440. loginid:
  8441. description: 登录id(LOGINID)
  8442. type: integer
  8443. loginname:
  8444. description: 登录名称(loginaccount表中的accountname字段)
  8445. type: string
  8446. loginstatus:
  8447. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8448. type: integer
  8449. memberuserid:
  8450. description: 所属会员id
  8451. type: integer
  8452. mobile:
  8453. description: 手机号
  8454. type: string
  8455. modifytime:
  8456. description: 修改时间
  8457. type: string
  8458. password:
  8459. description: 密码(不可解密)
  8460. type: string
  8461. rolename:
  8462. description: 角色名称
  8463. type: string
  8464. rolestatus:
  8465. description: 角色状态 1-启用 2-停用
  8466. type: integer
  8467. roletype:
  8468. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8469. type: string
  8470. userid:
  8471. description: 用户id
  8472. type: integer
  8473. usertype:
  8474. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8475. type: integer
  8476. type: object
  8477. models.ErmcpLoginUserEx:
  8478. properties:
  8479. accountstatus:
  8480. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8481. type: integer
  8482. mobile:
  8483. description: 手机号
  8484. type: string
  8485. querytype:
  8486. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8487. type: integer
  8488. roleid:
  8489. description: 角色id(交易账户->用户id)
  8490. type: integer
  8491. rolename:
  8492. description: 角色名称(交易账户->用户名称)
  8493. type: string
  8494. userlist:
  8495. description: 用户列表
  8496. items:
  8497. $ref: '#/definitions/models.ErmcpLoginUser'
  8498. type: array
  8499. usertype:
  8500. description: 用户类型 2-机构 7-企业成员(云平台)
  8501. type: integer
  8502. type: object
  8503. models.ErmcpMiddleGoodsModel:
  8504. properties:
  8505. areauserid:
  8506. description: 机构用户ID
  8507. type: integer
  8508. createtime:
  8509. description: 修改时间
  8510. type: string
  8511. enumdicname:
  8512. description: 单位名称
  8513. type: string
  8514. evaluateratio:
  8515. description: 估价系数
  8516. type: number
  8517. goodsgroupid:
  8518. description: 关联期货品种ID
  8519. type: integer
  8520. goodsunitid:
  8521. description: 单位ID
  8522. type: integer
  8523. isvalid:
  8524. description: 状态 0-无效(停用) 1-有效(正常)
  8525. type: integer
  8526. middlegoodscode:
  8527. description: 套保品种代码
  8528. type: string
  8529. middlegoodsid:
  8530. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8531. type: integer
  8532. middlegoodsname:
  8533. description: 套保品种名称
  8534. type: string
  8535. modifytime:
  8536. description: 修改时间
  8537. type: string
  8538. needarbitrageratio:
  8539. description: 套利比例
  8540. type: number
  8541. needhedgeratio:
  8542. description: 套保比率
  8543. type: number
  8544. qtydecimalplace:
  8545. description: 数量小数位
  8546. type: integer
  8547. relatedgoodsid:
  8548. description: 关联交易商品ID
  8549. type: integer
  8550. relatedgoodstype:
  8551. description: 关联商品类型 - 1:期货合约 2:现货品种
  8552. type: integer
  8553. remark:
  8554. description: 备注
  8555. type: string
  8556. type: object
  8557. models.ErmcpMiddlegoodsRelateGoods:
  8558. properties:
  8559. agreeunit:
  8560. description: 合约乘数
  8561. type: number
  8562. convertratio:
  8563. description: 折算系数
  8564. type: number
  8565. enumdicname:
  8566. description: 单位名称(交易商品)
  8567. type: string
  8568. goodscode:
  8569. description: 交易商品代码
  8570. type: string
  8571. goodsgroupid:
  8572. description: 交易品种id
  8573. type: integer
  8574. goodsid:
  8575. description: 商品Id
  8576. type: integer
  8577. goodsname:
  8578. description: 交易商品名称
  8579. type: string
  8580. goodunitid:
  8581. description: 交易商品单位id
  8582. type: integer
  8583. middlegoodsid:
  8584. description: 套保商品id
  8585. type: integer
  8586. middlegoodsname:
  8587. description: 套保商品名称
  8588. type: string
  8589. middlegoodsswcode:
  8590. description: 套保商品代码
  8591. type: string
  8592. needarbitrageratio:
  8593. description: 应套利比例
  8594. type: number
  8595. needhedgeratio:
  8596. description: 应套保比例
  8597. type: number
  8598. type: object
  8599. models.ErmcpRole:
  8600. properties:
  8601. areauserid:
  8602. description: 所属机构
  8603. type: integer
  8604. autoid:
  8605. description: 角色ID(自增ID)
  8606. type: integer
  8607. modifierid:
  8608. description: 修改人(创建人)
  8609. type: integer
  8610. modifiername:
  8611. description: 修改人名称
  8612. type: string
  8613. modifytime:
  8614. description: 修改时间(创建时间)
  8615. type: string
  8616. rolename:
  8617. description: 角色名称
  8618. type: string
  8619. rolestatus:
  8620. description: 角色状态 - 1:启用 2:停用
  8621. type: integer
  8622. roletype:
  8623. description: 角色类型 - 1- 管理端 2- 交易端
  8624. type: integer
  8625. type: object
  8626. models.ErmcpRoleMenu:
  8627. properties:
  8628. iconame:
  8629. description: 菜单图标
  8630. type: string
  8631. ishadrole:
  8632. description: 是否有权限
  8633. type: boolean
  8634. menutype:
  8635. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8636. type: integer
  8637. parentcode:
  8638. description: 上级资源代码
  8639. type: string
  8640. remark:
  8641. description: 菜单备注
  8642. type: string
  8643. resourcecode:
  8644. description: 菜单代码
  8645. type: string
  8646. resourcelevel:
  8647. description: 级别
  8648. type: integer
  8649. resourcename:
  8650. description: 菜单名称
  8651. type: string
  8652. roleid:
  8653. description: 角色id
  8654. type: integer
  8655. sort:
  8656. description: 排序
  8657. type: integer
  8658. url:
  8659. description: URL
  8660. type: string
  8661. userid:
  8662. description: 用户id
  8663. type: integer
  8664. type: object
  8665. models.ErmcpRoleMenuEx:
  8666. properties:
  8667. menu:
  8668. $ref: '#/definitions/models.ErmcpRoleMenu'
  8669. description: 父级菜单
  8670. subMenu:
  8671. description: 子级菜单
  8672. items:
  8673. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8674. type: array
  8675. type: object
  8676. models.ErmcpSpotContractModelEx:
  8677. properties:
  8678. accountname:
  8679. description: 套期主体
  8680. type: string
  8681. amount:
  8682. description: 金额 [1:一口价、3:暂定价]
  8683. type: number
  8684. attachment:
  8685. description: 附件
  8686. type: string
  8687. auditremark:
  8688. description: 审核意见
  8689. type: string
  8690. audittime:
  8691. description: 审核时间
  8692. type: string
  8693. avgprice:
  8694. description: 定价均价 = 已定价金额 / 已定价量
  8695. type: number
  8696. brandname:
  8697. description: 品牌名称
  8698. type: string
  8699. buyuserid:
  8700. description: 采购方ID
  8701. type: integer
  8702. buyusername:
  8703. description: 采购方名称
  8704. type: string
  8705. contracctstatus:
  8706. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8707. type: integer
  8708. contractmargin:
  8709. description: 合同保证金
  8710. type: number
  8711. contractno:
  8712. description: '[合同编号]现货合同编号'
  8713. type: string
  8714. contracttype:
  8715. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8716. type: integer
  8717. convertfactor:
  8718. description: 标仓系数
  8719. type: number
  8720. createtime:
  8721. description: 创建时间
  8722. type: string
  8723. customername:
  8724. description: 对手方
  8725. type: string
  8726. customeruserid:
  8727. description: 客户ID
  8728. type: integer
  8729. deliveryenddate:
  8730. description: 交收期(结束)
  8731. type: string
  8732. deliverygoodscode:
  8733. description: 现货品种代码
  8734. type: string
  8735. deliverygoodsid:
  8736. description: 现货品种ID
  8737. type: integer
  8738. deliverygoodsname:
  8739. description: 现货品种名称
  8740. type: string
  8741. deliverystartdate:
  8742. description: 交收期(开始)
  8743. type: string
  8744. enddate:
  8745. description: 点价结束日期 [2:点价 3:暂定价]
  8746. type: string
  8747. enumdicname:
  8748. description: 单位名称
  8749. type: string
  8750. goodscode:
  8751. description: 点价合约代码
  8752. type: string
  8753. goodsid:
  8754. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8755. type: integer
  8756. goodsname:
  8757. description: 点价商品名称
  8758. type: string
  8759. isrelated:
  8760. description: 是否已关联计划项目 - 0:否 1:是
  8761. type: integer
  8762. isrelated2:
  8763. description: 是否已关联现货项目 - 0:否 1:是
  8764. type: integer
  8765. margin:
  8766. description: 当前保证金
  8767. type: number
  8768. modelname:
  8769. description: 型号名称
  8770. type: string
  8771. price:
  8772. description: 价格\暂定价 [1:一口价、3:暂定价]
  8773. type: number
  8774. pricedamount:
  8775. description: 已定价金额 = (点价价格+升贴水) * 数量
  8776. type: number
  8777. pricedqty:
  8778. description: 已定价量
  8779. type: number
  8780. pricemove:
  8781. description: 升贴水 [2:点价 3:暂定价]
  8782. type: number
  8783. pricetype:
  8784. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8785. type: integer
  8786. producttype:
  8787. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8788. type: integer
  8789. qty:
  8790. description: '[合同数量]数量'
  8791. type: number
  8792. remark:
  8793. description: 备注
  8794. type: string
  8795. selluserid:
  8796. description: 销售方ID
  8797. type: integer
  8798. sellusername:
  8799. description: 销售方名称
  8800. type: string
  8801. spotamount:
  8802. description: 合同现货金额 [不含升贴水]
  8803. type: number
  8804. spotavgprice:
  8805. description: 现货均价 = 合同现货金额 / 已定价量
  8806. type: number
  8807. spotcontractid:
  8808. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8809. type: string
  8810. spotgoodsbrandid:
  8811. description: 现货品牌ID
  8812. type: integer
  8813. spotgoodsdesc:
  8814. description: 商品型号
  8815. type: string
  8816. spotgoodsmodelid:
  8817. description: 现货型号ID
  8818. type: integer
  8819. startdate:
  8820. description: 点价开始日期 [2:点价 3:暂定价]
  8821. type: string
  8822. tradeuserid:
  8823. description: 交易用户ID
  8824. type: integer
  8825. unpricedqty:
  8826. description: 未定价量 = 合同数量 - 已定价量
  8827. type: number
  8828. updatetime:
  8829. description: 更新时间
  8830. type: string
  8831. userid:
  8832. description: 机构ID
  8833. type: integer
  8834. wrstandardcode:
  8835. description: 现货商品代码
  8836. type: string
  8837. wrstandardid:
  8838. description: 现货商品ID
  8839. type: integer
  8840. wrstandardname:
  8841. description: '[现货商品]现货商品名称'
  8842. type: string
  8843. type: object
  8844. models.ErmcpTaAccount:
  8845. properties:
  8846. accountid:
  8847. description: 账户id
  8848. type: integer
  8849. accountname:
  8850. description: 账户名称
  8851. type: string
  8852. currencyid:
  8853. description: 币种id
  8854. type: integer
  8855. hedgeaccountcode:
  8856. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8857. type: string
  8858. ismain:
  8859. description: 是否主账户 0-否 1-是
  8860. type: integer
  8861. parentaccountid:
  8862. description: 父账户id
  8863. type: integer
  8864. relateduserid:
  8865. description: 关联userid
  8866. type: integer
  8867. tradefeetmpid:
  8868. description: 手续费模板id
  8869. type: integer
  8870. tradefeetmpname:
  8871. description: 手续费模板名称
  8872. type: string
  8873. trademargintmpid:
  8874. description: 保证金模板id
  8875. type: integer
  8876. trademargintmpname:
  8877. description: 保证金模板名称
  8878. type: string
  8879. traderatetmpid:
  8880. description: 汇率模板id
  8881. type: integer
  8882. traderatetmpname:
  8883. description: 汇率模板名称
  8884. type: string
  8885. tradestatus:
  8886. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8887. type: integer
  8888. userid:
  8889. description: 用户id
  8890. type: integer
  8891. type: object
  8892. models.ErmcpTaAccountEx:
  8893. properties:
  8894. mainAcc:
  8895. $ref: '#/definitions/models.ErmcpTaAccountM'
  8896. description: 主账号
  8897. subacclist:
  8898. description: 子账号列表
  8899. items:
  8900. $ref: '#/definitions/models.ErmcpTaAccount'
  8901. type: array
  8902. type: object
  8903. models.ErmcpTaAccountInfo:
  8904. properties:
  8905. accountid:
  8906. description: 资金账户ID
  8907. type: integer
  8908. accountname:
  8909. description: 账户名称
  8910. type: string
  8911. balance:
  8912. description: 期初余额
  8913. type: number
  8914. capitalbalance:
  8915. description: 本金余额[外部子账户实际出入金余额]
  8916. type: number
  8917. closepl:
  8918. description: 今日平仓盈亏
  8919. type: number
  8920. creditdecrease:
  8921. description: 今日授信减少
  8922. type: number
  8923. creditincrease:
  8924. description: 今日授信增加
  8925. type: number
  8926. curdebt:
  8927. description: 期末欠款
  8928. type: number
  8929. currencyid:
  8930. description: 货币ID
  8931. type: integer
  8932. currentbalance:
  8933. description: 期末余额
  8934. type: number
  8935. freezecharge:
  8936. description: 手续费冻结
  8937. type: number
  8938. freezemargin:
  8939. description: 冻结保证金
  8940. type: number
  8941. fromaccountid:
  8942. description: 所属上级账户
  8943. type: integer
  8944. inamount:
  8945. description: 今日入金金额(包括三方入金)
  8946. type: number
  8947. ismain:
  8948. description: 是否母账号 0:不是母账户 1:是母账户
  8949. type: integer
  8950. mortgagecredit:
  8951. description: 授信金额
  8952. type: number
  8953. oridebt:
  8954. description: 期初欠款
  8955. type: number
  8956. orifreezecharge:
  8957. description: 期初手续费冻结
  8958. type: number
  8959. orifreezemargin:
  8960. description: 期初冻结保证金
  8961. type: number
  8962. orimortgagecredit:
  8963. description: 期初授信金额
  8964. type: number
  8965. oriothercredit:
  8966. description: 期初其它授信金额
  8967. type: number
  8968. oriotherfreezemargin:
  8969. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8970. type: number
  8971. orioutamountfreeze:
  8972. description: 期初出金冻结
  8973. type: number
  8974. oriusedmargin:
  8975. description: 期初占用保证金
  8976. type: number
  8977. othercredit:
  8978. description: 其它授信金额
  8979. type: number
  8980. othercreditdecrease:
  8981. description: 今日其它授信减少
  8982. type: number
  8983. othercreditincrease:
  8984. description: 今日其它授信增加
  8985. type: number
  8986. otherfreezemargin:
  8987. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8988. type: number
  8989. outamount:
  8990. description: 今日出金金额(包括三方出金)
  8991. type: number
  8992. outamountfreeze:
  8993. description: 出金冻结
  8994. type: number
  8995. outthreshold:
  8996. description: 出金阈值
  8997. type: number
  8998. parentaccountid:
  8999. description: 所属根账号
  9000. type: integer
  9001. paycharge:
  9002. description: 今日手续费支出
  9003. type: number
  9004. relateduserid:
  9005. description: 关联用户
  9006. type: integer
  9007. signstatus:
  9008. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9009. type: integer
  9010. sublevelpath:
  9011. description: 账号层级路径(逗号分隔,首尾加逗号)
  9012. type: string
  9013. taaccounttype:
  9014. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9015. type: integer
  9016. thirdinamount:
  9017. description: 今日三方入金
  9018. type: number
  9019. thirdoutamount:
  9020. description: 今日三方出金
  9021. type: number
  9022. tradestatus:
  9023. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9024. type: integer
  9025. transferamount:
  9026. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9027. type: number
  9028. usedmargin:
  9029. description: 占用保证金
  9030. type: number
  9031. userid:
  9032. description: 用户ID
  9033. type: integer
  9034. type: object
  9035. models.ErmcpTaAccountM:
  9036. properties:
  9037. accountid:
  9038. description: 账户id
  9039. type: integer
  9040. accountname:
  9041. description: 账户名称
  9042. type: string
  9043. currencyid:
  9044. description: 币种id
  9045. type: integer
  9046. fcid:
  9047. description: 期货公司id
  9048. type: integer
  9049. fcname:
  9050. description: 期货公司代码
  9051. type: string
  9052. hedgeaccountcode:
  9053. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9054. type: string
  9055. ismain:
  9056. description: 是否主账户 0-否 1-是
  9057. type: integer
  9058. parentaccountid:
  9059. description: 父账户id
  9060. type: integer
  9061. relateduserid:
  9062. description: 关联userid
  9063. type: integer
  9064. tradefeetmpid:
  9065. description: 手续费模板id
  9066. type: integer
  9067. tradefeetmpname:
  9068. description: 手续费模板名称
  9069. type: string
  9070. trademargintmpid:
  9071. description: 保证金模板id
  9072. type: integer
  9073. trademargintmpname:
  9074. description: 保证金模板名称
  9075. type: string
  9076. traderatetmpid:
  9077. description: 汇率模板id
  9078. type: integer
  9079. traderatetmpname:
  9080. description: 汇率模板名称
  9081. type: string
  9082. tradestatus:
  9083. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9084. type: integer
  9085. userid:
  9086. description: 用户id
  9087. type: integer
  9088. type: object
  9089. models.ErmcpTradeConfigTMP:
  9090. properties:
  9091. areauserid:
  9092. description: 所属机构
  9093. type: integer
  9094. basiccurrencyid:
  9095. description: 基本币种ID[汇率] - 目标币种
  9096. type: integer
  9097. mainaccountid:
  9098. description: 主账户ID
  9099. type: integer
  9100. modifierid:
  9101. description: 修改人
  9102. type: integer
  9103. remark:
  9104. description: 备注
  9105. type: string
  9106. tradeconfigtmpid:
  9107. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9108. type: integer
  9109. tradeconfigtmpname:
  9110. description: 交易配置模板名称
  9111. type: string
  9112. tradeconfigtmptype:
  9113. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9114. type: integer
  9115. updatetime:
  9116. description: 更新时间
  9117. type: string
  9118. type: object
  9119. models.Ermcpjrlinkpos:
  9120. properties:
  9121. areauserid:
  9122. description: 所属企业
  9123. type: integer
  9124. averageprice:
  9125. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9126. type: number
  9127. closepl:
  9128. description: 总平仓盈亏 [期货损益]
  9129. type: number
  9130. executeprice:
  9131. description: 执行价 - 1:期货单 为 0
  9132. type: integer
  9133. futurehedgeqty:
  9134. description: 期货套期量
  9135. type: number
  9136. goodsid:
  9137. description: 期货合约
  9138. type: integer
  9139. middlegoodscode:
  9140. description: 套保商品代码
  9141. type: string
  9142. middlegoodsname:
  9143. description: 套保商品名称
  9144. type: string
  9145. netqty:
  9146. description: 净头寸
  9147. type: number
  9148. optioncode:
  9149. description: 期权代码
  9150. type: string
  9151. ordertype:
  9152. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9153. type: integer
  9154. reckonpl:
  9155. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9156. type: number
  9157. spotcontractid:
  9158. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9159. type: string
  9160. todayfutureclosepl:
  9161. description: 今日平仓盈亏
  9162. type: number
  9163. totalbuyamount:
  9164. description: 买金额 [期货]
  9165. type: number
  9166. totalbuyholdamount:
  9167. description: 买持仓总金额[期货]
  9168. type: number
  9169. totalbuyqty:
  9170. description: 买数量
  9171. type: number
  9172. totalcharge:
  9173. description: 手续费
  9174. type: number
  9175. totalpremium:
  9176. description: 权利金 [期权]
  9177. type: number
  9178. totalsellamount:
  9179. description: 卖金额 [期货]
  9180. type: number
  9181. totalsellholdamount:
  9182. description: 卖持仓总金额[期货]
  9183. type: number
  9184. totalsellqty:
  9185. description: 卖数量
  9186. type: number
  9187. updatetime:
  9188. description: 更新时间
  9189. type: string
  9190. required:
  9191. - spotcontractid
  9192. type: object
  9193. models.Ermcppatradelinkdetail:
  9194. properties:
  9195. agreeunit:
  9196. description: 合约乘数
  9197. type: number
  9198. amount:
  9199. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9200. type: number
  9201. areauserid:
  9202. description: 所属机构
  9203. type: integer
  9204. bizsubjectid:
  9205. description: 归属业务部门ID - SubjectID
  9206. type: integer
  9207. buyorsell:
  9208. description: 方向 - 0:买 1:卖
  9209. type: integer
  9210. convertratio:
  9211. description: 品种系数
  9212. type: number
  9213. createtime:
  9214. description: 创建时间
  9215. type: string
  9216. creatorid:
  9217. description: 创建人ID
  9218. type: integer
  9219. creatorsrc:
  9220. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9221. type: integer
  9222. goodsgroupid:
  9223. description: 对冲品种ID[期货合约商品组ID]
  9224. type: integer
  9225. goodsid:
  9226. description: 商品ID
  9227. type: integer
  9228. hedgeditemid:
  9229. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9230. type: integer
  9231. hedgeflag:
  9232. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9233. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9234. type: integer
  9235. linkdetailid:
  9236. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9237. type: string
  9238. linkstatus:
  9239. description: 关联状态 - 1:成功 2:失败 3:解绑
  9240. type: integer
  9241. middlegoodsid:
  9242. description: 套保品种ID
  9243. type: integer
  9244. name:
  9245. description: 账户名/子账户
  9246. type: string
  9247. optioncode:
  9248. description: '[期货合约]期权代码 [期权]'
  9249. type: string
  9250. ordertype:
  9251. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9252. type: integer
  9253. relatedlot:
  9254. description: '[数量]关联手数'
  9255. type: number
  9256. relatedmode:
  9257. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9258. type: integer
  9259. relatedqty:
  9260. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9261. type: number
  9262. retcode:
  9263. description: 返回码
  9264. type: integer
  9265. saleuserid:
  9266. description: 业务员ID
  9267. type: integer
  9268. tradedate:
  9269. description: 关联交易日(yyyyMMdd)
  9270. type: string
  9271. tradeid:
  9272. description: '[成交单号]内部成交单ID'
  9273. type: string
  9274. tradelot:
  9275. description: 成交手数
  9276. type: integer
  9277. tradeprice:
  9278. description: '[价格]成交价格'
  9279. type: number
  9280. tradetime:
  9281. description: 日期时间
  9282. type: string
  9283. tradetradedate:
  9284. description: 成交交易日(yyyyMMdd)
  9285. type: string
  9286. required:
  9287. - hedgeditemid
  9288. type: object
  9289. models.Externalexchange:
  9290. properties:
  9291. autoid:
  9292. description: AutoID - SEQ_EXTERNALEXCHANGE
  9293. type: integer
  9294. exchangefullname:
  9295. description: 外部交易所全称
  9296. type: string
  9297. exexchangecode:
  9298. description: 外部交易所代码
  9299. type: string
  9300. exexchangename:
  9301. description: 外部交易所名称(简称)
  9302. type: string
  9303. ismarketprice:
  9304. description: 是否支持市价 - 0:不支持 1:支持
  9305. type: integer
  9306. quotegear:
  9307. description: 行情档位(1-10)
  9308. type: integer
  9309. showbrokerflag:
  9310. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9311. type: integer
  9312. updatetime:
  9313. description: 更新时间
  9314. type: string
  9315. required:
  9316. - autoid
  9317. type: object
  9318. models.Funcmenulist:
  9319. properties:
  9320. iconame:
  9321. description: 菜单图标
  9322. type: string
  9323. menutype:
  9324. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9325. type: integer
  9326. parentcode:
  9327. description: 上级资源代码
  9328. type: string
  9329. remark:
  9330. description: 备注
  9331. type: string
  9332. resourcecode:
  9333. description: 资源代码
  9334. type: string
  9335. resourcelevel:
  9336. description: 级别 1-一级 2-二级 3-三级 4-四级
  9337. type: integer
  9338. resourcename:
  9339. description: 资源名
  9340. type: string
  9341. sort:
  9342. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9343. type: integer
  9344. url:
  9345. description: URL
  9346. type: string
  9347. required:
  9348. - resourcecode
  9349. type: object
  9350. models.Goods:
  9351. properties:
  9352. agreeunit:
  9353. description: 合约单位
  9354. type: number
  9355. areauserid:
  9356. description: 所属机构
  9357. type: integer
  9358. auditaccountid:
  9359. description: 审核操作员账号
  9360. type: integer
  9361. audittime:
  9362. description: 审核时间
  9363. type: string
  9364. cancelaccountid:
  9365. description: 注销操作员账号
  9366. type: integer
  9367. canceltime:
  9368. description: 注销时间
  9369. type: string
  9370. closepricemode:
  9371. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9372. type: integer
  9373. closepriceparam:
  9374. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9375. type: number
  9376. createtime:
  9377. description: 创建时间
  9378. type: string
  9379. creatorid:
  9380. description: 创建人
  9381. type: integer
  9382. currencyid:
  9383. description: 报价货币ID
  9384. type: integer
  9385. cutmode:
  9386. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9387. type: integer
  9388. decimalplace:
  9389. description: 报价小数位
  9390. type: integer
  9391. delistingdate:
  9392. description: 商品退市时间(状态:退市) -- 已作废
  9393. type: string
  9394. delistingmode:
  9395. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9396. type: integer
  9397. deliveryflag:
  9398. description: 交割标志 - 0:不可交割 1:可交割
  9399. type: integer
  9400. forceclosemode:
  9401. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9402. type: integer
  9403. forceclosevalue:
  9404. description: 定期强平参数 [收益权]
  9405. type: integer
  9406. goodscode:
  9407. description: 商品代码(内部)
  9408. type: string
  9409. goodscurrencyid:
  9410. description: 合约货币ID
  9411. type: integer
  9412. goodsgroupid:
  9413. description: 所属商品组ID
  9414. type: integer
  9415. goodsid:
  9416. description: 商品ID(自增ID SEQ_GOODS)
  9417. type: integer
  9418. goodsname:
  9419. description: 商品名称
  9420. type: string
  9421. goodsquotetype:
  9422. description: '合约报价类型: 1-直接报价 2-间接报价'
  9423. type: integer
  9424. goodsstatus:
  9425. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9426. type: integer
  9427. goodstradetype:
  9428. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9429. type: integer
  9430. goodunitid:
  9431. description: 报价单位ID
  9432. type: integer
  9433. hasquoter:
  9434. description: 是否有报价商 - 0:无报价商 1:有报价商
  9435. type: integer
  9436. hqprotecttime:
  9437. description: 行情保护时间(秒)
  9438. type: integer
  9439. innerdealmode:
  9440. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9441. type: integer
  9442. isbuylimited:
  9443. description: 是否限制建仓量 - 0:不限制 1:限制
  9444. type: integer
  9445. isvisible:
  9446. description: 游客是否可见 - 0:不可见 1:可见
  9447. type: integer
  9448. lasttradedate:
  9449. description: 最后交易日期(状态:待退市)
  9450. type: string
  9451. listingdate:
  9452. description: 交易开始日期
  9453. type: string
  9454. marketid:
  9455. description: 所属市场ID
  9456. type: integer
  9457. modifierid:
  9458. description: 修改人
  9459. type: integer
  9460. modifystatus:
  9461. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9462. type: integer
  9463. modifytime:
  9464. description: 修改时间
  9465. type: string
  9466. outerdealmode:
  9467. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9468. type: integer
  9469. outgoodscode:
  9470. description: 商品代码(外部)
  9471. type: string
  9472. pictureurl:
  9473. description: 商品图片
  9474. type: string
  9475. qtydecimalplace:
  9476. description: 成交量小数位
  9477. type: integer
  9478. quotegear:
  9479. description: 行情档位(1-10)
  9480. type: integer
  9481. quoteminunit:
  9482. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9483. type: integer
  9484. quoteshowtype:
  9485. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9486. type: integer
  9487. quoteshowtypeinterval:
  9488. description: 行情报价间隔时间(秒)(成交价时为0)
  9489. type: integer
  9490. remark:
  9491. description: 备注
  9492. type: string
  9493. required:
  9494. - goodscode
  9495. - goodsid
  9496. - goodsname
  9497. - marketid
  9498. type: object
  9499. models.GoodsIDAndName:
  9500. properties:
  9501. goodscode:
  9502. description: 商品代码(内部)
  9503. type: string
  9504. goodsid:
  9505. description: 商品ID(自增ID SEQ_GOODS)
  9506. type: integer
  9507. goodsname:
  9508. description: 商品名称
  9509. type: string
  9510. marketid:
  9511. description: 所属市场ID
  9512. type: integer
  9513. required:
  9514. - goodscode
  9515. - goodsid
  9516. - goodsname
  9517. - marketid
  9518. type: object
  9519. models.Goodsgroup:
  9520. properties:
  9521. agreeunit:
  9522. description: 合约单位
  9523. type: number
  9524. canshort:
  9525. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9526. type: integer
  9527. closepricemode:
  9528. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9529. type: integer
  9530. closepriceparam:
  9531. description: 强平最新价浮动比例 - 方式为2时使用
  9532. type: number
  9533. createtime:
  9534. description: 创建时间
  9535. type: string
  9536. creatorid:
  9537. description: 创建人
  9538. type: integer
  9539. currencyid:
  9540. description: 报价货币ID
  9541. type: integer
  9542. decimalplace:
  9543. description: 报价小数位
  9544. type: integer
  9545. exercisetype:
  9546. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9547. type: integer
  9548. exexchangeid:
  9549. description: 外部交易所ID[通道交易]
  9550. type: integer
  9551. goodsgroupid:
  9552. description: 商品组ID(自增ID)
  9553. type: integer
  9554. goodsgroupname:
  9555. description: 商品组名称
  9556. type: string
  9557. goodsgroupstatus:
  9558. description: 商品组状态 - 1:正常 2:注销
  9559. type: integer
  9560. goodunitid:
  9561. description: 报价单位ID
  9562. type: integer
  9563. innerdealmode:
  9564. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9565. type: integer
  9566. isbuylimited:
  9567. description: 是否限制建仓量 - 0:不限制 1:限制
  9568. type: integer
  9569. marketid:
  9570. description: 所属市场ID
  9571. type: integer
  9572. modifierid:
  9573. description: 修改人
  9574. type: integer
  9575. modifytime:
  9576. description: 修改时间
  9577. type: string
  9578. outerdealmode:
  9579. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9580. type: integer
  9581. outergroupcode:
  9582. description: 外部商品组代码[通道交易]
  9583. type: string
  9584. premiumdecimalplace:
  9585. description: 权利金小数位[场外期权]
  9586. type: integer
  9587. premiumspreadalgorithm:
  9588. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9589. type: integer
  9590. premiumspreadvalue:
  9591. description: 权利金点差值[场外期权]
  9592. type: number
  9593. qtydecimalplace:
  9594. description: 成交量小数位
  9595. type: integer
  9596. quotegear:
  9597. description: 行情档位(1-10)
  9598. type: integer
  9599. quoteminunit:
  9600. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9601. type: integer
  9602. quoterid:
  9603. description: 报价商ID[场外期权]
  9604. type: integer
  9605. quotesourcegroupid:
  9606. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9607. type: integer
  9608. syncgoodsqty:
  9609. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9610. type: integer
  9611. required:
  9612. - goodsgroupid
  9613. - goodsgroupname
  9614. - goodsgroupstatus
  9615. - marketid
  9616. type: object
  9617. models.Goodssortbypreposition:
  9618. properties:
  9619. goodscode:
  9620. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9621. type: string
  9622. goodsgroupcode:
  9623. description: 品种代码
  9624. type: string
  9625. prepositionqty:
  9626. description: 昨持仓量
  9627. type: integer
  9628. sortindex:
  9629. description: 排序
  9630. type: integer
  9631. tradedate:
  9632. description: 交易日
  9633. type: string
  9634. updatetime:
  9635. description: 更新时间
  9636. type: string
  9637. required:
  9638. - goodscode
  9639. - tradedate
  9640. type: object
  9641. models.Hedgeinnerholderdetail:
  9642. properties:
  9643. accountid:
  9644. description: 账号ID
  9645. type: integer
  9646. buyorsell:
  9647. description: 方向 - 0:买 1:卖
  9648. type: integer
  9649. freezeqty:
  9650. description: 冻结数量 - 按单平使用
  9651. type: integer
  9652. goodsid:
  9653. description: 商品ID
  9654. type: integer
  9655. holderamount:
  9656. description: 持仓金额 [商品币种]
  9657. type: number
  9658. holderdays:
  9659. description: 剩余冻结天数
  9660. type: integer
  9661. holderprice:
  9662. description: 持仓价格
  9663. type: number
  9664. holderqty:
  9665. description: 持仓数量
  9666. type: integer
  9667. marketid:
  9668. description: 市场ID
  9669. type: integer
  9670. openprice:
  9671. description: 建仓价格
  9672. type: number
  9673. openqty:
  9674. description: 建仓数量
  9675. type: integer
  9676. parentaccountid:
  9677. description: 所属母账户
  9678. type: integer
  9679. releaseamount:
  9680. description: 释放持仓金额[商品币种]
  9681. type: number
  9682. tradeamount:
  9683. description: 成交金额[账户]
  9684. type: number
  9685. tradedate:
  9686. description: 交易日(yyyyMMdd)
  9687. type: string
  9688. tradeid:
  9689. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9690. type: string
  9691. tradetime:
  9692. description: 交易时间
  9693. type: string
  9694. required:
  9695. - buyorsell
  9696. - tradeid
  9697. type: object
  9698. models.Hedgemarketopenlog:
  9699. properties:
  9700. accountid:
  9701. description: 资金账号[外部母账户]
  9702. type: integer
  9703. fcname:
  9704. description: 期货公司名称
  9705. type: string
  9706. handlestatus:
  9707. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9708. type: integer
  9709. marketid:
  9710. description: 市场ID
  9711. type: integer
  9712. status:
  9713. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9714. type: integer
  9715. tradedate:
  9716. description: 交易日(yyyyMMdd)
  9717. type: string
  9718. updatetime:
  9719. description: 更新时间
  9720. type: string
  9721. required:
  9722. - accountid
  9723. type: object
  9724. models.HsbyBuyMyPayOrder:
  9725. properties:
  9726. agreeunit:
  9727. description: 合约单位
  9728. type: number
  9729. buyaccountid:
  9730. description: 买方账号ID[报价币种]
  9731. type: integer
  9732. buyorderid:
  9733. description: 买方委托单号
  9734. type: string
  9735. createtime:
  9736. description: 创建时间
  9737. type: string
  9738. currencysign:
  9739. description: 货币符号
  9740. type: string
  9741. decimalplace:
  9742. description: 报价小数位
  9743. type: integer
  9744. goodscode:
  9745. description: 商品代码(内部)
  9746. type: string
  9747. goodsid:
  9748. description: 商品ID
  9749. type: integer
  9750. goodsname:
  9751. description: 商品名称
  9752. type: string
  9753. marketid:
  9754. description: 市场ID
  9755. type: integer
  9756. offamount:
  9757. description: 优惠金额
  9758. type: number
  9759. originalamount:
  9760. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9761. type: number
  9762. payamount:
  9763. description: 支付金额 = TradeAmount + TradeCharge
  9764. type: number
  9765. payflag:
  9766. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9767. type: integer
  9768. paylimitedtime:
  9769. description: 支付期限
  9770. type: string
  9771. paytime:
  9772. description: 付款时间
  9773. type: string
  9774. picurls1:
  9775. description: 预售商品介绍图片[多张用逗号分隔]
  9776. type: string
  9777. picurls2:
  9778. description: 挂牌商品介绍图片[多张用逗号分隔]
  9779. type: string
  9780. sellaccountid:
  9781. description: 卖方账号ID[报价币种]
  9782. type: integer
  9783. sellorderid:
  9784. description: 卖方委托单号
  9785. type: string
  9786. tradeamount:
  9787. description: 成交金额
  9788. type: number
  9789. tradecharge:
  9790. description: 成交手续费(买方)
  9791. type: number
  9792. tradedate:
  9793. description: 交易日(yyyyMMdd)
  9794. type: string
  9795. tradeid:
  9796. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9797. type: string
  9798. trademode:
  9799. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9800. 21:竞拍-大宗式 22:受托竞价
  9801. type: integer
  9802. tradeprice:
  9803. description: 成交价格
  9804. type: number
  9805. tradeqty:
  9806. description: 成交数量
  9807. type: integer
  9808. vendorname1:
  9809. description: 预售商品供应商名称
  9810. type: string
  9811. vendorname2:
  9812. description: 挂牌商品供应商名称
  9813. type: string
  9814. required:
  9815. - goodscode
  9816. - goodsname
  9817. - tradeid
  9818. - trademode
  9819. type: object
  9820. models.HsbyBuyMyTradeDetail:
  9821. properties:
  9822. accountid:
  9823. description: 账户ID[报价币种]
  9824. type: integer
  9825. agreeunit:
  9826. description: 合约单位
  9827. type: number
  9828. amount:
  9829. description: 金额 = 价格 * 数量 * 合约单位
  9830. type: number
  9831. buyorsell:
  9832. description: 买卖 - 0:买 1:卖
  9833. type: integer
  9834. currencysign:
  9835. description: 货币符号
  9836. type: string
  9837. decimalplace:
  9838. description: 报价小数位
  9839. type: integer
  9840. goodscode:
  9841. description: 商品代码(内部)
  9842. type: string
  9843. goodsid:
  9844. description: 商品ID
  9845. type: integer
  9846. goodsname:
  9847. description: 商品名称
  9848. type: string
  9849. marketid:
  9850. description: 市场ID
  9851. type: integer
  9852. orderamount:
  9853. description: 委托金额
  9854. type: number
  9855. orderid:
  9856. description: 单号(成交单号)
  9857. type: string
  9858. picurls1:
  9859. description: 预售商品介绍图片[多张用逗号分隔]
  9860. type: string
  9861. picurls2:
  9862. description: 挂牌商品介绍图片[多张用逗号分隔]
  9863. type: string
  9864. price:
  9865. description: 价格
  9866. type: number
  9867. qty:
  9868. description: 数量
  9869. type: integer
  9870. time:
  9871. description: 时间
  9872. type: string
  9873. trademode:
  9874. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9875. 21:竞拍-大宗式 22:受托竞价
  9876. type: integer
  9877. vendorname1:
  9878. description: 预售商品供应商名称
  9879. type: string
  9880. vendorname2:
  9881. description: 挂牌商品供应商名称
  9882. type: string
  9883. required:
  9884. - accountid
  9885. - buyorsell
  9886. - goodscode
  9887. - goodsid
  9888. - goodsname
  9889. - marketid
  9890. - orderid
  9891. - qty
  9892. - time
  9893. - trademode
  9894. type: object
  9895. models.HsbyGoodsOrderDetail:
  9896. properties:
  9897. buyorsell:
  9898. description: 买卖 - 0:买 1:卖
  9899. type: integer
  9900. currencysign:
  9901. description: 货币符号
  9902. type: string
  9903. customername:
  9904. description: 客户名称(企业名称),已脱敏
  9905. type: string
  9906. enableqty:
  9907. description: 可用数量
  9908. type: integer
  9909. goodunit:
  9910. description: 报价单位
  9911. type: string
  9912. orderid:
  9913. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9914. type: string
  9915. orderprice:
  9916. description: 委托价格
  9917. type: number
  9918. ordertime:
  9919. description: 委托时间
  9920. type: string
  9921. required:
  9922. - buyorsell
  9923. - orderid
  9924. - ordertime
  9925. type: object
  9926. models.HsbyListingGoodsDetail:
  9927. properties:
  9928. agreeunit:
  9929. description: 合约单位
  9930. type: number
  9931. buymaxqty:
  9932. description: 购买上限 [71] - 0为不限
  9933. type: integer
  9934. currency:
  9935. description: 货币
  9936. type: string
  9937. currencysign:
  9938. description: 货币符号
  9939. type: string
  9940. decimalplace:
  9941. description: 报价小数位
  9942. type: integer
  9943. desccityid:
  9944. description: 目的地(市)ID
  9945. type: integer
  9946. descprovinceid:
  9947. description: 目的地(省)ID
  9948. type: integer
  9949. goodscode:
  9950. description: 商品代码(内部)
  9951. type: string
  9952. goodsdesc:
  9953. description: 商品详情
  9954. type: string
  9955. goodsid:
  9956. description: 商品ID(自增ID SEQ_GOODS)
  9957. type: integer
  9958. goodsname:
  9959. description: 商品名称
  9960. type: string
  9961. goodsprice:
  9962. description: 商品价格
  9963. type: number
  9964. hotindex:
  9965. description: 景点热度
  9966. type: integer
  9967. last:
  9968. description: 现价
  9969. type: number
  9970. limitdown:
  9971. description: 跌停价
  9972. type: number
  9973. limitup:
  9974. description: 涨停价
  9975. type: number
  9976. lotsize:
  9977. description: 手数最小变动单位
  9978. type: integer
  9979. marketid:
  9980. description: 所属市场ID
  9981. type: integer
  9982. picurls:
  9983. description: 介绍图片[多张用逗号分隔]
  9984. type: string
  9985. quoteminunit:
  9986. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9987. type: integer
  9988. stepvalue:
  9989. description: 价格最小变动单位
  9990. type: number
  9991. trademode:
  9992. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9993. 21:竞拍-大宗式 22:受托竞价
  9994. type: integer
  9995. vendorattr:
  9996. description: 供应商附件(多张,逗号分隔)
  9997. type: string
  9998. vendorname:
  9999. description: 供应商名称
  10000. type: string
  10001. vendorphone:
  10002. description: 供应商客服电话
  10003. type: string
  10004. videourls:
  10005. description: 介绍视频[多张用逗号分隔]
  10006. type: string
  10007. required:
  10008. - goodscode
  10009. - goodsid
  10010. - goodsname
  10011. - marketid
  10012. - trademode
  10013. type: object
  10014. models.HsbyMarketGoods:
  10015. properties:
  10016. accountid:
  10017. description: 账户ID[报价币种]
  10018. type: integer
  10019. agreeunit:
  10020. description: 合约单位
  10021. type: number
  10022. buyorsell:
  10023. description: 买卖 - 0:买 1:卖
  10024. type: integer
  10025. categoryid:
  10026. description: 类别ID(WRCATEGORY)
  10027. type: integer
  10028. currency:
  10029. description: 货币
  10030. type: string
  10031. currencysign:
  10032. description: 货币符号
  10033. type: string
  10034. customername:
  10035. description: 卖家名称
  10036. type: string
  10037. decimalplace:
  10038. description: 报价小数位
  10039. type: integer
  10040. goodscode:
  10041. description: 商品代码(内部)
  10042. type: string
  10043. goodsid:
  10044. description: 商品ID
  10045. type: integer
  10046. goodsname:
  10047. description: 商品名称
  10048. type: string
  10049. goodsprice:
  10050. description: 商品价格
  10051. type: number
  10052. hascoupon:
  10053. description: 是否可用优惠卷
  10054. type: boolean
  10055. hotindex:
  10056. description: 景点热度
  10057. type: integer
  10058. marketid:
  10059. description: 市场ID
  10060. type: integer
  10061. orderid:
  10062. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10063. type: string
  10064. orderprice:
  10065. description: 委托价格
  10066. type: number
  10067. orderstatus:
  10068. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10069. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10070. 16:成交失败违约(荷兰式竞拍专用)
  10071. type: integer
  10072. picurls:
  10073. description: 介绍图片[多张用逗号分隔]
  10074. type: string
  10075. quoteminunit:
  10076. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10077. type: integer
  10078. sellUserID:
  10079. description: 卖方UserID
  10080. type: integer
  10081. trademode:
  10082. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10083. 21:竞拍-大宗式 22:受托竞价
  10084. type: integer
  10085. videourls:
  10086. description: 介绍视频[多张用逗号分隔]
  10087. type: string
  10088. required:
  10089. - accountid
  10090. - buyorsell
  10091. - goodscode
  10092. - goodsid
  10093. - goodsname
  10094. - marketid
  10095. - orderid
  10096. - trademode
  10097. type: object
  10098. models.HsbyMarketGoodsDetail:
  10099. properties:
  10100. accountid:
  10101. description: 账户ID[报价币种]
  10102. type: integer
  10103. agreeunit:
  10104. description: 合约单位
  10105. type: number
  10106. buymaxqty:
  10107. description: 购买上限 [71] - 0为不限
  10108. type: integer
  10109. buyorsell:
  10110. description: 买卖 - 0:买 1:卖
  10111. type: integer
  10112. cancelqty:
  10113. description: 撤单数量
  10114. type: integer
  10115. categoryid:
  10116. description: 类别ID(WRCATEGORY)
  10117. type: integer
  10118. currency:
  10119. description: 货币
  10120. type: string
  10121. currencysign:
  10122. description: 货币符号
  10123. type: string
  10124. customername:
  10125. description: 卖家名称
  10126. type: string
  10127. decimalplace:
  10128. description: 报价小数位
  10129. type: integer
  10130. goodscode:
  10131. description: 商品代码(内部)
  10132. type: string
  10133. goodsdesc:
  10134. description: 商品详情
  10135. type: string
  10136. goodsid:
  10137. description: 商品ID
  10138. type: integer
  10139. goodsname:
  10140. description: 商品名称
  10141. type: string
  10142. goodsprice:
  10143. description: 商品价格
  10144. type: number
  10145. hotindex:
  10146. description: 景点热度
  10147. type: integer
  10148. lotsize:
  10149. description: 手数最小变动单位
  10150. type: integer
  10151. marketid:
  10152. description: 市场ID
  10153. type: integer
  10154. orderid:
  10155. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10156. type: string
  10157. orderprice:
  10158. description: 委托价格
  10159. type: number
  10160. orderqty:
  10161. description: 委托数量
  10162. type: integer
  10163. orderstatus:
  10164. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10165. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10166. 16:成交失败违约(荷兰式竞拍专用)
  10167. type: integer
  10168. picurls:
  10169. description: 介绍图片[多张用逗号分隔]
  10170. type: string
  10171. quoteminunit:
  10172. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10173. type: integer
  10174. sellUserID:
  10175. description: 卖方UserID
  10176. type: integer
  10177. trademode:
  10178. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10179. 21:竞拍-大宗式 22:受托竞价
  10180. type: integer
  10181. tradeqty:
  10182. description: 成交数量
  10183. type: integer
  10184. vendorattr:
  10185. description: 供应商附件(多张,逗号分隔)
  10186. type: string
  10187. vendorname:
  10188. description: 供应商名称
  10189. type: string
  10190. vendorphone:
  10191. description: 供应商客服电话
  10192. type: string
  10193. videourls:
  10194. description: 介绍视频[多张用逗号分隔]
  10195. type: string
  10196. required:
  10197. - accountid
  10198. - buyorsell
  10199. - goodscode
  10200. - goodsid
  10201. - goodsname
  10202. - marketid
  10203. - orderid
  10204. - orderqty
  10205. - trademode
  10206. type: object
  10207. models.HsbyMarketInfo:
  10208. properties:
  10209. marketid:
  10210. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10211. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10212. type: integer
  10213. marketname:
  10214. description: 市场名称
  10215. type: string
  10216. marketstatus:
  10217. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10218. type: integer
  10219. trademode:
  10220. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10221. 21:竞拍-大宗式 22:受托竞价
  10222. type: integer
  10223. required:
  10224. - marketid
  10225. - marketstatus
  10226. - trademode
  10227. type: object
  10228. models.HsbyMyGoods:
  10229. properties:
  10230. accountid:
  10231. description: 账号Id
  10232. type: integer
  10233. agreeunit:
  10234. description: 合约单位
  10235. type: number
  10236. buyaverageprice:
  10237. description: 持仓均价
  10238. type: number
  10239. buycurholderamount:
  10240. description: 买当前持仓总金额[商品币种]
  10241. type: number
  10242. buycurpositionqty:
  10243. description: 买当前持仓总数量
  10244. type: integer
  10245. buymaxqty:
  10246. description: 购买上限 [71] - 0为不限
  10247. type: integer
  10248. currencysign:
  10249. description: 货币符号
  10250. type: string
  10251. decimalplace:
  10252. description: 报价小数位
  10253. type: integer
  10254. enableqty:
  10255. description: 可用数量
  10256. type: integer
  10257. goodscode:
  10258. description: 商品代码(内部)
  10259. type: string
  10260. goodsid:
  10261. description: 商品Id
  10262. type: integer
  10263. goodsname:
  10264. description: 商品名称
  10265. type: string
  10266. goodsprice:
  10267. description: 商品价格
  10268. type: number
  10269. goodsstatus:
  10270. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10271. type: integer
  10272. last:
  10273. description: 现价(仅使用于挂牌点选)
  10274. type: number
  10275. limitdown:
  10276. description: 跌停价(仅使用于挂牌点选)
  10277. type: number
  10278. limitup:
  10279. description: 涨停价(仅使用于挂牌点选)
  10280. type: number
  10281. lotsize:
  10282. description: 手数最小变动单位
  10283. type: integer
  10284. marketid:
  10285. description: 所属市场ID
  10286. type: integer
  10287. picurls:
  10288. description: 介绍图片[多张用逗号分隔]
  10289. type: string
  10290. quoteminunit:
  10291. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10292. type: integer
  10293. stepvalue:
  10294. description: 价格最小变动单位
  10295. type: number
  10296. trademode:
  10297. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10298. 21:竞拍-大宗式 22:受托竞价
  10299. type: integer
  10300. required:
  10301. - accountid
  10302. - goodscode
  10303. - goodsid
  10304. - goodsname
  10305. - marketid
  10306. - trademode
  10307. type: object
  10308. models.HsbyMyPackage:
  10309. properties:
  10310. accountid:
  10311. description: 账户ID
  10312. type: integer
  10313. address:
  10314. description: 提货人详细地址
  10315. type: string
  10316. agreeunit:
  10317. description: 合约单位
  10318. type: number
  10319. amount:
  10320. description: 提货金额
  10321. type: number
  10322. auditer:
  10323. description: 审核人
  10324. type: integer
  10325. audittime:
  10326. description: 审核时间
  10327. type: string
  10328. averageprice:
  10329. description: 均价
  10330. type: number
  10331. cardnum:
  10332. description: 提货人证件号码
  10333. type: string
  10334. cardtypeid:
  10335. description: 提货人证件类型
  10336. type: integer
  10337. checkremark:
  10338. description: 审核备注
  10339. type: string
  10340. currencysign:
  10341. description: 货币符号
  10342. type: string
  10343. decimalplace:
  10344. description: 报价小数位
  10345. type: integer
  10346. goodscode:
  10347. description: 商品代码(内部)
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. handlestatus:
  10356. description: 处理状态
  10357. type: integer
  10358. marketid:
  10359. description: 市场ID
  10360. type: integer
  10361. phonenum:
  10362. description: 提货人联系方式
  10363. type: string
  10364. picurls:
  10365. description: 介绍图片[多张用逗号分隔]
  10366. type: string
  10367. qty:
  10368. description: 提货数量
  10369. type: number
  10370. recivername:
  10371. description: 提货人姓名
  10372. type: string
  10373. reqtime:
  10374. description: 更新时间
  10375. type: string
  10376. takemode:
  10377. description: 提货方式 - 2:自提 3:配送
  10378. type: integer
  10379. takeorderid:
  10380. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10381. type: string
  10382. takeorderstatus:
  10383. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10384. type: integer
  10385. takeremark:
  10386. description: 提货备注
  10387. type: string
  10388. tradedate:
  10389. description: 交易日(yyyyMMdd)
  10390. type: string
  10391. trademode:
  10392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10393. 21:竞拍-大宗式 22:受托竞价
  10394. type: integer
  10395. userid:
  10396. description: 用户ID
  10397. type: integer
  10398. vendorname:
  10399. description: 供应商名称
  10400. type: string
  10401. required:
  10402. - goodscode
  10403. - goodsname
  10404. - takeorderid
  10405. - trademode
  10406. type: object
  10407. models.HsbyPreGoods:
  10408. properties:
  10409. agreeunit:
  10410. description: 合约单位
  10411. type: number
  10412. currency:
  10413. description: 货币
  10414. type: string
  10415. currencysign:
  10416. description: 货币符号
  10417. type: string
  10418. decimalplace:
  10419. description: 报价小数位
  10420. type: integer
  10421. desccityid:
  10422. description: 目的地(市)
  10423. type: integer
  10424. descprovinceid:
  10425. description: 目的地(省)
  10426. type: integer
  10427. enableqty:
  10428. description: 剩余数量
  10429. type: integer
  10430. goodscode:
  10431. description: 商品代码(内部)
  10432. type: string
  10433. goodsid:
  10434. description: 商品ID(自增ID SEQ_GOODS)
  10435. type: integer
  10436. goodsname:
  10437. description: 商品名称
  10438. type: string
  10439. goodsstatus:
  10440. description: 商品状态- 2:未上市 3:上市
  10441. type: integer
  10442. lasttradedate:
  10443. description: 最后交易日期(状态:待退市)
  10444. type: string
  10445. listingdate:
  10446. description: 交易开始日期
  10447. type: string
  10448. marketid:
  10449. description: 所属市场ID
  10450. type: integer
  10451. picurls:
  10452. description: 介绍图片[多张用逗号分隔]
  10453. type: string
  10454. presaledqty:
  10455. description: 已预售量(预售结束时更新)
  10456. type: integer
  10457. presaleqty:
  10458. description: 预售数量
  10459. type: integer
  10460. quoteminunit:
  10461. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10462. type: integer
  10463. refprice:
  10464. description: 参考价格[一口价]
  10465. type: number
  10466. relatedgoodsid:
  10467. description: 关联交易合约ID
  10468. type: integer
  10469. trademode:
  10470. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10471. 21:竞拍-大宗式 22:受托竞价
  10472. type: integer
  10473. videourls:
  10474. description: 介绍视频[多张用逗号分隔]
  10475. type: string
  10476. required:
  10477. - goodscode
  10478. - goodsid
  10479. - goodsname
  10480. - marketid
  10481. - trademode
  10482. type: object
  10483. models.HsbyPreGoodsDetail:
  10484. properties:
  10485. agreeunit:
  10486. description: 合约单位
  10487. type: number
  10488. buymaxqty:
  10489. description: 购买上限 [71] - 0为不限
  10490. type: integer
  10491. currency:
  10492. description: 货币
  10493. type: string
  10494. currencysign:
  10495. description: 货币符号
  10496. type: string
  10497. customername:
  10498. description: 发行单位
  10499. type: string
  10500. decimalplace:
  10501. description: 报价小数位
  10502. type: integer
  10503. desccityid:
  10504. description: 目的地(市)ID
  10505. type: integer
  10506. descprovinceid:
  10507. description: 目的地(省)ID
  10508. type: integer
  10509. enableqty:
  10510. description: 剩余数量
  10511. type: integer
  10512. goodscode:
  10513. description: 商品代码(内部)
  10514. type: string
  10515. goodsdesc:
  10516. description: 商品详情
  10517. type: string
  10518. goodsid:
  10519. description: 商品ID(自增ID SEQ_GOODS)
  10520. type: integer
  10521. goodsname:
  10522. description: 商品名称
  10523. type: string
  10524. goodsstatus:
  10525. description: 商品状态- 2:未上市 3:上市
  10526. type: integer
  10527. goodunit:
  10528. description: 报价单位
  10529. type: string
  10530. lasttradedate:
  10531. description: 最后交易日期(状态:待退市)
  10532. type: string
  10533. listingdate:
  10534. description: 交易开始日期
  10535. type: string
  10536. lotsize:
  10537. description: 手数最小变动单位
  10538. type: integer
  10539. marketid:
  10540. description: 所属市场ID
  10541. type: integer
  10542. picurls:
  10543. description: 介绍图片[多张用逗号分隔]
  10544. type: string
  10545. presaledqty:
  10546. description: 已预售量(预售结束时更新)
  10547. type: integer
  10548. presaleqty:
  10549. description: 预售数量
  10550. type: integer
  10551. quoteminunit:
  10552. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10553. type: integer
  10554. refprice:
  10555. description: 参考价格[一口价]
  10556. type: number
  10557. relatedgoodsid:
  10558. description: 关联交易合约ID
  10559. type: integer
  10560. stepvalue:
  10561. description: 价格最小变动单位
  10562. type: number
  10563. trademode:
  10564. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10565. 21:竞拍-大宗式 22:受托竞价
  10566. type: integer
  10567. vendorattr:
  10568. description: 供应商附件(多张,逗号分隔)
  10569. type: string
  10570. vendorname:
  10571. description: 供应商名称
  10572. type: string
  10573. vendorphone:
  10574. description: 供应商客服电话
  10575. type: string
  10576. videourls:
  10577. description: 介绍视频[多张用逗号分隔]
  10578. type: string
  10579. required:
  10580. - goodscode
  10581. - goodsid
  10582. - goodsname
  10583. - marketid
  10584. - trademode
  10585. type: object
  10586. models.HsbySellCollectionOrder:
  10587. properties:
  10588. agreeunit:
  10589. description: 合约单位
  10590. type: number
  10591. buyaccountid:
  10592. description: 买方账号ID[报价币种]
  10593. type: integer
  10594. buyorderid:
  10595. description: 买方委托单号
  10596. type: string
  10597. createtime:
  10598. description: 创建时间
  10599. type: string
  10600. currencysign:
  10601. description: 货币符号
  10602. type: string
  10603. decimalplace:
  10604. description: 报价小数位
  10605. type: integer
  10606. goodscode:
  10607. description: 商品代码(内部)
  10608. type: string
  10609. goodsid:
  10610. description: 商品ID
  10611. type: integer
  10612. goodsname:
  10613. description: 商品名称
  10614. type: string
  10615. marketid:
  10616. description: 市场ID
  10617. type: integer
  10618. offamount:
  10619. description: 优惠金额
  10620. type: number
  10621. payamount:
  10622. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10623. type: number
  10624. payflag:
  10625. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10626. type: integer
  10627. paylimitedtime:
  10628. description: 支付期限
  10629. type: string
  10630. paytime:
  10631. description: 付款时间
  10632. type: string
  10633. picurls:
  10634. description: 商品介绍图片[多张用逗号分隔]
  10635. type: string
  10636. sellaccountid:
  10637. description: 卖方账号ID[报价币种]
  10638. type: integer
  10639. sellorderid:
  10640. description: 卖方委托单号
  10641. type: string
  10642. tradeamount:
  10643. description: 成交金额
  10644. type: number
  10645. tradecharge:
  10646. description: 成交手续费(买方)
  10647. type: number
  10648. tradedate:
  10649. description: 交易日(yyyyMMdd)
  10650. type: string
  10651. tradeid:
  10652. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10653. type: string
  10654. trademode:
  10655. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10656. 21:竞拍-大宗式 22:受托竞价
  10657. type: integer
  10658. tradeprice:
  10659. description: 成交价格
  10660. type: number
  10661. tradeqty:
  10662. description: 成交数量
  10663. type: integer
  10664. required:
  10665. - goodscode
  10666. - goodsname
  10667. - tradeid
  10668. - trademode
  10669. type: object
  10670. models.HsbySellMyDetail:
  10671. properties:
  10672. accountid:
  10673. description: 账户ID[报价币种]
  10674. type: integer
  10675. agreeunit:
  10676. description: 合约单位
  10677. type: number
  10678. buyorsell:
  10679. description: 买卖 - 0:买 1:卖
  10680. type: integer
  10681. currencysign:
  10682. description: 货币符号
  10683. type: string
  10684. decimalplace:
  10685. description: 报价小数位
  10686. type: integer
  10687. goodscode:
  10688. description: 商品代码(内部)
  10689. type: string
  10690. goodsid:
  10691. description: 商品ID
  10692. type: integer
  10693. goodsname:
  10694. description: 商品名称
  10695. type: string
  10696. marketid:
  10697. description: 市场ID
  10698. type: integer
  10699. orderid:
  10700. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10701. type: string
  10702. ordertype:
  10703. description: 单据类型:0 - 发布中, 1 - 已完成
  10704. type: integer
  10705. picurls:
  10706. description: 介绍图片[多张用逗号分隔]
  10707. type: string
  10708. price:
  10709. description: 价格
  10710. type: number
  10711. qty:
  10712. description: 数量
  10713. type: integer
  10714. time:
  10715. description: 时间
  10716. type: string
  10717. trademode:
  10718. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10719. 21:竞拍-大宗式 22:受托竞价
  10720. type: integer
  10721. vendorname:
  10722. description: 供应商名称
  10723. type: string
  10724. required:
  10725. - accountid
  10726. - buyorsell
  10727. - goodscode
  10728. - goodsid
  10729. - goodsname
  10730. - marketid
  10731. - orderid
  10732. - time
  10733. - trademode
  10734. type: object
  10735. models.HsbyTopGoods:
  10736. properties:
  10737. agreeunit:
  10738. description: 合约单位
  10739. type: number
  10740. currency:
  10741. description: 货币
  10742. type: string
  10743. currencysign:
  10744. description: 货币符号
  10745. type: string
  10746. decimalplace:
  10747. description: 报价小数位
  10748. type: integer
  10749. desccityid:
  10750. description: 目的地(市)
  10751. type: integer
  10752. descprovinceid:
  10753. description: 目的地(省)
  10754. type: integer
  10755. goodscode:
  10756. description: 商品代码(内部)
  10757. type: string
  10758. goodsid:
  10759. description: 商品ID(自增ID SEQ_GOODS)
  10760. type: integer
  10761. goodsname:
  10762. description: 商品名称
  10763. type: string
  10764. hotindex:
  10765. description: 景点热度
  10766. type: integer
  10767. last:
  10768. description: 现价
  10769. type: number
  10770. marketid:
  10771. description: 所属市场ID
  10772. type: integer
  10773. picurls:
  10774. description: 介绍图片[多张用逗号分隔]
  10775. type: string
  10776. quoteminunit:
  10777. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10778. type: integer
  10779. trademode:
  10780. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10781. 21:竞拍-大宗式 22:受托竞价
  10782. type: integer
  10783. videourls:
  10784. description: 介绍视频[多张用逗号分隔]
  10785. type: string
  10786. required:
  10787. - goodscode
  10788. - goodsid
  10789. - goodsname
  10790. - marketid
  10791. - trademode
  10792. type: object
  10793. models.HybsMyBuyOrderDetail:
  10794. properties:
  10795. accountid:
  10796. description: 账户ID[报价币种]
  10797. type: integer
  10798. agreeunit:
  10799. description: 合约单位
  10800. type: number
  10801. buyorsell:
  10802. description: 买卖 - 0:买 1:卖
  10803. type: integer
  10804. cancelqty:
  10805. description: 撤单数量
  10806. type: integer
  10807. currencysign:
  10808. description: 货币符号
  10809. type: string
  10810. decimalplace:
  10811. description: 报价小数位
  10812. type: integer
  10813. goodscode:
  10814. description: 商品代码(内部)
  10815. type: string
  10816. goodsid:
  10817. description: 商品ID
  10818. type: integer
  10819. goodsname:
  10820. description: 商品名称
  10821. type: string
  10822. listingselecttype:
  10823. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10824. type: integer
  10825. marketid:
  10826. description: 市场ID
  10827. type: integer
  10828. mybuystatus:
  10829. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10830. type: integer
  10831. orderamount:
  10832. description: 委托金额
  10833. type: number
  10834. orderid:
  10835. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10836. type: string
  10837. orderprice:
  10838. description: 委托价格
  10839. type: number
  10840. orderqty:
  10841. description: 委托数量
  10842. type: integer
  10843. orderstatus:
  10844. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10845. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10846. 16:成交失败违约(荷兰式竞拍专用)
  10847. type: integer
  10848. ordertime:
  10849. description: 委托时间
  10850. type: string
  10851. picurls1:
  10852. description: 预售商品介绍图片[多张用逗号分隔]
  10853. type: string
  10854. picurls2:
  10855. description: 挂牌商品介绍图片[多张用逗号分隔]
  10856. type: string
  10857. trademode:
  10858. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10859. 21:竞拍-大宗式 22:受托竞价
  10860. type: integer
  10861. tradeqty:
  10862. description: 成交数量
  10863. type: integer
  10864. vendorname1:
  10865. description: 预售商品供应商名称
  10866. type: string
  10867. vendorname2:
  10868. description: 挂牌商品供应商名称
  10869. type: string
  10870. required:
  10871. - accountid
  10872. - buyorsell
  10873. - goodscode
  10874. - goodsid
  10875. - goodsname
  10876. - marketid
  10877. - orderid
  10878. - orderqty
  10879. - ordertime
  10880. - trademode
  10881. type: object
  10882. models.InternalEnableTradeDetail:
  10883. properties:
  10884. areauserid:
  10885. description: 企业ID
  10886. type: integer
  10887. deliverygoodscode:
  10888. description: 现货品种代码
  10889. type: string
  10890. deliverygoodsid:
  10891. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10892. type: integer
  10893. deliverygoodsname:
  10894. description: 现货品种名称
  10895. type: string
  10896. futurehedgeqty:
  10897. description: '[已关联数量]期货持仓套期量'
  10898. type: number
  10899. goodsid:
  10900. description: 期货合约ID
  10901. type: integer
  10902. hedgeditemnum:
  10903. description: 项目编号
  10904. type: string
  10905. unexehedgeqty:
  10906. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10907. type: number
  10908. unexespotqty:
  10909. description: 未执行现货量
  10910. type: number
  10911. wrstandardcode:
  10912. description: 现货品类代码
  10913. type: string
  10914. wrstandardid:
  10915. description: 现货品类ID(SEQ_WRSTANDARD)
  10916. type: integer
  10917. wrstandardname:
  10918. description: 现货品类名称
  10919. type: string
  10920. required:
  10921. - areauserid
  10922. - goodsid
  10923. type: object
  10924. models.InternalUncorrelatedTradeDetail:
  10925. properties:
  10926. accountid:
  10927. description: 账号ID
  10928. type: integer
  10929. accountname:
  10930. description: 套期主体
  10931. type: string
  10932. agreeunit:
  10933. description: 合约乘数
  10934. type: number
  10935. areauserid:
  10936. description: 所属机构
  10937. type: integer
  10938. bizsubjectid:
  10939. description: 归属业务部门ID - SubjectID
  10940. type: integer
  10941. buyorsell:
  10942. description: 方向 - 0:买 1:卖
  10943. type: integer
  10944. channelbuildtype:
  10945. description: 委托单据类型 0:无 1:建仓 2:平仓
  10946. type: integer
  10947. convertratio:
  10948. description: 品种系数
  10949. type: number
  10950. createtime:
  10951. description: 创建时间
  10952. type: string
  10953. creatorid:
  10954. description: 创建人ID
  10955. type: integer
  10956. creatorsrc:
  10957. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10958. type: integer
  10959. enableqty:
  10960. description: 项目可关联手数 = 成交手数 - 关联数量
  10961. type: number
  10962. goodscode:
  10963. description: 合约代码
  10964. type: string
  10965. goodsgroupid:
  10966. description: 对冲品种ID[期货合约商品组ID]
  10967. type: integer
  10968. goodsid:
  10969. description: 商品ID
  10970. type: integer
  10971. goodsname:
  10972. description: 合约名称
  10973. type: string
  10974. hedgeditemid:
  10975. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10976. type: integer
  10977. hedgeflag:
  10978. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10979. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10980. type: integer
  10981. linkdetailid:
  10982. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10983. type: string
  10984. linkstatus:
  10985. description: 关联状态 - 1:成功 2:失败 3:解绑
  10986. type: integer
  10987. middlegoodsid:
  10988. description: 套保品种ID
  10989. type: integer
  10990. relatedlot:
  10991. description: '[数量]关联手数'
  10992. type: number
  10993. relatedmode:
  10994. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10995. type: integer
  10996. relatedqty:
  10997. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10998. type: number
  10999. retcode:
  11000. description: 返回码
  11001. type: integer
  11002. saleuserid:
  11003. description: 业务员ID
  11004. type: integer
  11005. tradedate:
  11006. description: 关联交易日(yyyyMMdd)
  11007. type: string
  11008. tradeid:
  11009. description: 成交单号
  11010. type: string
  11011. tradelot:
  11012. description: 成交手数
  11013. type: integer
  11014. tradeprice:
  11015. description: 成交价
  11016. type: number
  11017. tradetime:
  11018. description: 成交时间
  11019. type: string
  11020. tradetradedate:
  11021. description: 成交交易日(yyyyMMdd)
  11022. type: string
  11023. type: object
  11024. models.Loginaccount:
  11025. properties:
  11026. accountname:
  11027. description: 账户名称
  11028. type: string
  11029. canoutin:
  11030. description: 是否可出入金 - 0:不可 1:可
  11031. type: integer
  11032. clientroleid:
  11033. description: 终端角色ID
  11034. type: integer
  11035. haslogined:
  11036. description: 是否已登录 - 0:未登录 1:已登录
  11037. type: integer
  11038. hasupdatedpwd:
  11039. description: 是否已更改密码 - 0:未修改 1:已修改
  11040. type: integer
  11041. lastloginip:
  11042. description: 最新登录地址
  11043. type: string
  11044. lastloginmode:
  11045. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11046. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11047. type: integer
  11048. lastloginremark:
  11049. description: 最新登录描述
  11050. type: string
  11051. lastlogintime:
  11052. description: 最新登录时间
  11053. type: string
  11054. logincode:
  11055. description: 登录代码
  11056. type: string
  11057. loginfailnum:
  11058. description: 连续登录失败次数(登录成功时清零)
  11059. type: integer
  11060. loginid:
  11061. description: 登陆账号
  11062. type: integer
  11063. loginport:
  11064. description: 最新登录端口
  11065. type: integer
  11066. loginstatus:
  11067. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11068. type: integer
  11069. loginusertype:
  11070. description: 登录账号类型 - 1:投资者 2:机构交易员
  11071. type: integer
  11072. mobile:
  11073. description: 手机号码(加密存储)
  11074. type: string
  11075. modifierid:
  11076. description: 修改人
  11077. type: integer
  11078. modifysrc:
  11079. description: 审核来源 - 1:管理端 2:终端
  11080. type: integer
  11081. modifytime:
  11082. description: 修改时间
  11083. type: string
  11084. password:
  11085. description: 登陆密码
  11086. type: string
  11087. pwdwrongcount:
  11088. description: 密码错误次数
  11089. type: integer
  11090. relateduserid:
  11091. description: 关联用户ID(机构)
  11092. type: integer
  11093. taaccountrighttype:
  11094. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11095. type: integer
  11096. unfreezetime:
  11097. description: 账户解冻时间
  11098. type: string
  11099. userid:
  11100. description: 用户ID
  11101. type: integer
  11102. required:
  11103. - loginid
  11104. type: object
  11105. models.MainAccountInfo:
  11106. properties:
  11107. accountid:
  11108. description: 账号id
  11109. type: integer
  11110. accountname:
  11111. description: 账号名称(taaccount表中的名称)
  11112. type: string
  11113. appid:
  11114. description: AppID
  11115. type: string
  11116. authcode:
  11117. description: 授权码
  11118. type: string
  11119. brokerid:
  11120. description: 经纪商id
  11121. type: string
  11122. fcid:
  11123. description: 期货公司id
  11124. type: integer
  11125. fcname:
  11126. description: 期货公司代码
  11127. type: string
  11128. hedgeaccountcode:
  11129. description: 外部账号代码(主账号登录代码)
  11130. type: string
  11131. hedgeaccountpwd:
  11132. description: 密码
  11133. type: string
  11134. ismain:
  11135. description: 是否主账号
  11136. type: integer
  11137. relateduserid:
  11138. description: 关联用户id
  11139. type: integer
  11140. userid:
  11141. description: 关联用户id
  11142. type: integer
  11143. type: object
  11144. models.Market:
  11145. properties:
  11146. auctionwrtype:
  11147. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11148. type: integer
  11149. canacceptquote:
  11150. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11151. type: integer
  11152. cangoodsexercise:
  11153. description: '[期权]是否可现货行权- 0:否 1:是'
  11154. type: integer
  11155. cangoodsexercisetype:
  11156. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11157. type: integer
  11158. canmanualquotestrike:
  11159. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11160. type: integer
  11161. canmutistage:
  11162. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11163. type: integer
  11164. canpreexercise:
  11165. description: '[期权]是否可预申报- 0:否 1:是'
  11166. type: integer
  11167. clearinterval:
  11168. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11169. type: integer
  11170. contracttmp:
  11171. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11172. type: string
  11173. exchareaid:
  11174. description: 所属交易所,可以没有
  11175. type: integer
  11176. goodstype:
  11177. description: 商品类型 - 1:交易商品 2:仓单商品
  11178. type: integer
  11179. hasrebate:
  11180. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11181. type: integer
  11182. hastradecredit:
  11183. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11184. type: integer
  11185. haswr:
  11186. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11187. type: integer
  11188. isdeductmargin:
  11189. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11190. type: integer
  11191. isrecordsource:
  11192. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11193. type: integer
  11194. isreleasemargin:
  11195. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11196. type: integer
  11197. marginformula:
  11198. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11199. type: integer
  11200. marginformula2:
  11201. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11202. type: integer
  11203. marketid:
  11204. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11205. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11206. type: integer
  11207. marketname:
  11208. description: 市场名称
  11209. type: string
  11210. marketserviceid:
  11211. description: 市场服务ID
  11212. type: integer
  11213. marketstatus:
  11214. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11215. type: integer
  11216. markettype:
  11217. description: 市场类型- 1:非交易服务 2:交易服务
  11218. type: integer
  11219. matchermode:
  11220. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11221. type: integer
  11222. openmethod:
  11223. description: 开盘模式 - 0 自动 1手动
  11224. type: integer
  11225. otcuserid:
  11226. description: 场外期权做市商[场外期权]
  11227. type: integer
  11228. outersynctime:
  11229. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11230. type: string
  11231. pendingflag:
  11232. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11233. type: integer
  11234. pendingtime:
  11235. description: 待开市时间[通道交易-对冲](HH:mm)
  11236. type: string
  11237. performancetempid:
  11238. description: 履约计划模板ID - 作废
  11239. type: integer
  11240. premiumquotemode:
  11241. description: 权利金报价方式 - 1:自动 2:手动
  11242. type: integer
  11243. rebateratio:
  11244. description: 返利比率[竞价式]
  11245. type: number
  11246. reckonorder:
  11247. description: 结算顺序
  11248. type: integer
  11249. reckonpricealgorithm:
  11250. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11251. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11252. type: integer
  11253. reckonpriceparam:
  11254. description: 结算价参数
  11255. type: integer
  11256. reckontime:
  11257. description: 结算时间[通道交易-对冲](HH:mm)
  11258. type: string
  11259. roleprioritytype:
  11260. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11261. type: integer
  11262. selllistingauditflag:
  11263. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11264. type: integer
  11265. trademarkettype:
  11266. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11267. type: integer
  11268. trademode:
  11269. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11270. 21:竞拍-大宗式 22:受托竞价
  11271. type: integer
  11272. tradeproperty:
  11273. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11274. 8:场外期权
  11275. type: integer
  11276. tradetype:
  11277. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11278. type: integer
  11279. required:
  11280. - marketid
  11281. - marketstatus
  11282. - openmethod
  11283. - reckonpricealgorithm
  11284. - trademode
  11285. - tradeproperty
  11286. type: object
  11287. models.Marketrun:
  11288. properties:
  11289. afternexttradedate:
  11290. description: 下下交易日
  11291. type: string
  11292. clearquoteflag:
  11293. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11294. type: integer
  11295. lastreckondate:
  11296. description: 最新交易日(结算成功)
  11297. type: string
  11298. machinedate:
  11299. description: 机器时间
  11300. type: string
  11301. manualflag:
  11302. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11303. type: integer
  11304. marketid:
  11305. description: 市场ID
  11306. type: integer
  11307. nexttradedate:
  11308. description: 下一交易日
  11309. type: string
  11310. pretradedate:
  11311. description: 上一交易日
  11312. type: string
  11313. reckonflag:
  11314. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11315. type: integer
  11316. runstatus:
  11317. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11318. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11319. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11320. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11321. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11322. 62.今日免清算
  11323. type: integer
  11324. sectionid:
  11325. description: 时间段号[多时段时用]
  11326. type: integer
  11327. tradedate:
  11328. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11329. type: string
  11330. tradedate2:
  11331. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11332. type: string
  11333. updatetime:
  11334. description: 更新时间
  11335. type: string
  11336. required:
  11337. - marketid
  11338. - nexttradedate
  11339. - reckonflag
  11340. - runstatus
  11341. - tradedate
  11342. - tradedate2
  11343. type: object
  11344. models.Messageboard:
  11345. properties:
  11346. contactnum:
  11347. description: 联系电话
  11348. type: string
  11349. createtime:
  11350. description: 创建时间
  11351. type: string
  11352. message:
  11353. description: 留言信息
  11354. type: string
  11355. messageboardid:
  11356. description: 留言簿ID(SEQ_MessageBoard)
  11357. type: integer
  11358. userid:
  11359. description: 用户ID
  11360. type: integer
  11361. required:
  11362. - messageboardid
  11363. type: object
  11364. models.MyCoupon:
  11365. properties:
  11366. accountid:
  11367. description: 资金账户ID
  11368. type: integer
  11369. areauserid:
  11370. description: 所属机构
  11371. type: integer
  11372. conditionvalue:
  11373. description: 条件阈值(可为0)
  11374. type: number
  11375. couponcategroy:
  11376. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11377. type: integer
  11378. couponname:
  11379. description: 优惠券名称
  11380. type: string
  11381. coupontypeid:
  11382. description: 优惠券类型ID
  11383. type: string
  11384. couponvalue:
  11385. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11386. type: number
  11387. curfreezeqty:
  11388. description: 期末冻结数量
  11389. type: integer
  11390. curqty:
  11391. description: 期末数量
  11392. type: integer
  11393. isgeneral:
  11394. description: 是否通用券 - 0:否 1:是
  11395. type: integer
  11396. isunusable:
  11397. description: 是否不可用
  11398. type: boolean
  11399. limitedflag:
  11400. description: 是否指定商品 - 0:不限 1:限制
  11401. type: integer
  11402. limitedgoodsids:
  11403. description: 指定商品IDs[逗号分隔,前后加逗号]
  11404. type: string
  11405. orifreezeqty:
  11406. description: 期初冻结数量
  11407. type: integer
  11408. oriqty:
  11409. description: 期初数量
  11410. type: integer
  11411. reasontype:
  11412. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11413. type: integer
  11414. todaydecrease:
  11415. description: 今日减少
  11416. type: integer
  11417. todayincrease:
  11418. description: 今日增加
  11419. type: integer
  11420. userid:
  11421. description: 用户ID
  11422. type: integer
  11423. userscope:
  11424. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11425. type: string
  11426. required:
  11427. - accountid
  11428. - coupontypeid
  11429. type: object
  11430. models.MyCouponHold:
  11431. properties:
  11432. accountid:
  11433. description: 资金账户ID
  11434. type: integer
  11435. conditionvalue:
  11436. description: 条件阈值(可为0)
  11437. type: number
  11438. couponcategroy:
  11439. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11440. type: integer
  11441. couponholdid:
  11442. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11443. type: string
  11444. couponname:
  11445. description: 优惠券名称
  11446. type: string
  11447. coupontypeid:
  11448. description: 优惠券类型ID - SEQ_COUPONTYPE
  11449. type: string
  11450. couponvalue:
  11451. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11452. type: number
  11453. createtime:
  11454. description: 创建时间
  11455. type: string
  11456. enddate:
  11457. description: 结束日期
  11458. type: string
  11459. giveapplyid:
  11460. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11461. type: integer
  11462. holdstatus:
  11463. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11464. type: integer
  11465. isgeneral:
  11466. description: 是否通用券 - 0:否 1:是
  11467. type: integer
  11468. limitedflag:
  11469. description: 是否指定商品 - 0:不限 1:限制
  11470. type: integer
  11471. limitedgoodsids:
  11472. description: 指定商品IDs[逗号分隔]
  11473. type: string
  11474. qty:
  11475. description: 数量(按1平铺)
  11476. type: integer
  11477. startdate:
  11478. description: 开始日期
  11479. type: string
  11480. userid:
  11481. description: 用户ID
  11482. type: integer
  11483. userscope:
  11484. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11485. type: string
  11486. required:
  11487. - couponholdid
  11488. type: object
  11489. models.MyUsedCoupon:
  11490. properties:
  11491. accountid:
  11492. description: 资金账户ID(买方)
  11493. type: integer
  11494. conditionvalue:
  11495. description: 条件阈值(可为0)
  11496. type: number
  11497. couponcategroy:
  11498. description: 种类 - 1:现金券 2:折扣券
  11499. type: integer
  11500. couponname:
  11501. description: 优惠券名称
  11502. type: string
  11503. coupontypeid:
  11504. description: 优惠券类型ID(买方)
  11505. type: string
  11506. couponvalue:
  11507. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11508. type: number
  11509. createtime:
  11510. description: 创建时间
  11511. type: string
  11512. goodsid:
  11513. description: 商品ID
  11514. type: integer
  11515. handlestatus:
  11516. description: 处理状态
  11517. type: integer
  11518. marketid:
  11519. description: 市场ID
  11520. type: integer
  11521. offamount:
  11522. description: 优惠金额
  11523. type: number
  11524. orderid:
  11525. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11526. type: string
  11527. sellaccountid:
  11528. description: 资金账户ID(卖方)
  11529. type: integer
  11530. tradeamount:
  11531. description: 成交金额
  11532. type: number
  11533. tradeid:
  11534. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11535. type: string
  11536. usedqty:
  11537. description: 使用数量
  11538. type: integer
  11539. required:
  11540. - coupontypeid
  11541. - orderid
  11542. type: object
  11543. models.OperationPrimaryMenu:
  11544. properties:
  11545. Children:
  11546. description: 二级功能菜单
  11547. items:
  11548. $ref: '#/definitions/models.OperationSecondaryMenu'
  11549. type: array
  11550. Key:
  11551. description: 菜单KEY
  11552. type: string
  11553. Label:
  11554. description: 菜单标题
  11555. type: string
  11556. type: object
  11557. models.OperationSecondaryMenu:
  11558. properties:
  11559. Key:
  11560. description: 菜单KEY
  11561. type: string
  11562. Label:
  11563. description: 菜单标题
  11564. type: string
  11565. TabList:
  11566. description: 三级功能菜单
  11567. items:
  11568. $ref: '#/definitions/models.OperationTabMenu'
  11569. type: array
  11570. type: object
  11571. models.OperationTabMenu:
  11572. properties:
  11573. Key:
  11574. description: 菜单KEY
  11575. type: string
  11576. Label:
  11577. description: 菜单标题
  11578. type: string
  11579. type: object
  11580. models.QhjAccountOutInApply:
  11581. properties:
  11582. accountcode:
  11583. description: 资金账号
  11584. type: string
  11585. accountname:
  11586. description: 用户名称(名称)
  11587. type: string
  11588. accountpwd:
  11589. description: 资金密码
  11590. type: string
  11591. accountticket:
  11592. description: 最新账户服务流水号
  11593. type: string
  11594. amount:
  11595. description: 金额
  11596. type: number
  11597. applyremark:
  11598. description: 申请备注
  11599. type: string
  11600. applystatus:
  11601. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11602. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11603. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11604. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11605. type: integer
  11606. auditid:
  11607. description: 审核人
  11608. type: integer
  11609. audittime:
  11610. description: 审核时间
  11611. type: string
  11612. bank_apply_ticket:
  11613. description: 银行申请流水
  11614. type: string
  11615. bankaccountname:
  11616. description: 银行账户名
  11617. type: string
  11618. bankaccountno:
  11619. description: 银行卡号
  11620. type: string
  11621. bankid:
  11622. description: 银行编号
  11623. type: string
  11624. bankticket:
  11625. description: 银行流水
  11626. type: string
  11627. branchbankid:
  11628. description: 银行支行号
  11629. type: string
  11630. branchbankname:
  11631. description: 银行支行名称
  11632. type: string
  11633. capamountout:
  11634. description: 出金(劣后本金) - 外部子账户
  11635. type: number
  11636. certificatephotourl:
  11637. description: 凭证地址
  11638. type: string
  11639. charge:
  11640. description: 手续费
  11641. type: number
  11642. checkerrorflag:
  11643. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11644. type: integer
  11645. currency:
  11646. description: 币种
  11647. type: string
  11648. cusbankid:
  11649. description: 托管银行编号
  11650. type: string
  11651. exchticket:
  11652. description: 银行服务流水号
  11653. type: string
  11654. executetype:
  11655. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11656. 7:外部子账户:入金 8:外部子账户:出金'
  11657. type: integer
  11658. extendinfo:
  11659. description: 扩展信息
  11660. type: string
  11661. extoperateid:
  11662. description: 交易服务流水号
  11663. type: integer
  11664. infamount:
  11665. description: 劣后金额(自有)
  11666. type: number
  11667. logincode:
  11668. description: 登录账号(账号)
  11669. type: string
  11670. netaddr:
  11671. description: 调转网址
  11672. type: string
  11673. priamount:
  11674. description: 优先金额(授信)
  11675. type: number
  11676. reauditid:
  11677. description: 复审人
  11678. type: integer
  11679. reauditremark:
  11680. description: 复审备注
  11681. type: string
  11682. reaudittime:
  11683. description: 复审时间
  11684. type: string
  11685. relatedorderid:
  11686. description: 三方关联ID
  11687. type: string
  11688. remark:
  11689. description: 备注
  11690. type: string
  11691. remark2:
  11692. description: 备注(失败原因)
  11693. type: string
  11694. soucreamount:
  11695. description: 原始出入金金额
  11696. type: number
  11697. soucrecurrencyid:
  11698. description: 原始出入金币种
  11699. type: integer
  11700. tradedate:
  11701. description: 交易日(yyyyMMdd)
  11702. type: string
  11703. updatetime:
  11704. description: 更新时间(申请时间)
  11705. type: string
  11706. userid:
  11707. description: 用户id
  11708. type: integer
  11709. userinfotype:
  11710. description: 账户类型 1-个人 2-企业
  11711. type: integer
  11712. type: object
  11713. models.QhjAgreementChangeLog:
  11714. properties:
  11715. agreementcontent:
  11716. description: 协议内容
  11717. type: string
  11718. agreementfrequency:
  11719. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11720. type: integer
  11721. agreementid:
  11722. description: 协议ID
  11723. type: integer
  11724. agreementname:
  11725. description: 协议名称
  11726. type: string
  11727. agreementno:
  11728. description: 协议编号
  11729. type: string
  11730. agreementtype:
  11731. description: 协议类型 - 1:注册 2:登录 3:交易
  11732. type: integer
  11733. agreementversion:
  11734. description: 协议版本号
  11735. type: integer
  11736. logid:
  11737. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11738. type: integer
  11739. reviserid:
  11740. description: 修改人
  11741. type: integer
  11742. revisersrc:
  11743. description: 修改来源 - 1:管理端 2:终端
  11744. type: integer
  11745. updatetime:
  11746. description: 更新时间
  11747. type: string
  11748. type: object
  11749. models.QhjAgreementConfig:
  11750. properties:
  11751. agreementcontent:
  11752. description: 协议内容
  11753. type: string
  11754. agreementfrequency:
  11755. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11756. type: integer
  11757. agreementid:
  11758. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11759. type: integer
  11760. agreementname:
  11761. description: 协议名称
  11762. type: string
  11763. agreementno:
  11764. description: 协议编号
  11765. type: string
  11766. agreementtype:
  11767. description: 协议类型 - 1:注册 2:登录 3:交易
  11768. type: integer
  11769. agreementversion:
  11770. description: 协议版本号(从1开始每次修改加1)
  11771. type: integer
  11772. createtime:
  11773. description: 创建时间
  11774. type: string
  11775. creatorid:
  11776. description: 创建人
  11777. type: integer
  11778. creatorsrc:
  11779. description: 创建来源 - 1:管理端 2:终端
  11780. type: integer
  11781. isvalid:
  11782. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11783. type: integer
  11784. reviserid:
  11785. description: 修改人
  11786. type: integer
  11787. revisersrc:
  11788. description: 修改来源 - 1:管理端 2:终端
  11789. type: integer
  11790. updatetime:
  11791. description: 更新时间
  11792. type: string
  11793. type: object
  11794. models.QhjAreaFinanceConfig:
  11795. properties:
  11796. additionalratio:
  11797. description: 追加款比例
  11798. type: number
  11799. advanceratio:
  11800. description: 预付款比例
  11801. type: number
  11802. alarmratio:
  11803. description: 告警比例
  11804. type: number
  11805. consumptiondirectreward:
  11806. description: 消费直推奖励值
  11807. type: number
  11808. consumptionenabled:
  11809. description: 是否启用消费奖励 - 0:不启用 1:启用
  11810. type: integer
  11811. consumptionindirectreward:
  11812. description: 消费间推奖励值
  11813. type: number
  11814. consumptionmodel:
  11815. description: 消费奖励方式 - 1:比率 2:固定
  11816. type: integer
  11817. customerservicenum:
  11818. description: 客服电话
  11819. type: string
  11820. dayinterestrate:
  11821. description: 日利率
  11822. type: number
  11823. disableconsumptiontips:
  11824. description: 关闭消费奖励提示
  11825. type: string
  11826. modifierid:
  11827. description: 修改人ID
  11828. type: integer
  11829. modifysrc:
  11830. description: 审核来源 - 1:管理端 2:终端
  11831. type: integer
  11832. modifytime:
  11833. description: 修改时间
  11834. type: string
  11835. promotionvalue:
  11836. description: 推广奖励值(固定)
  11837. type: number
  11838. scoreconfigvalue1:
  11839. description: 提货积分配置1
  11840. type: integer
  11841. scoreconfigvalue2:
  11842. description: 提货积分配置2
  11843. type: integer
  11844. userid:
  11845. description: 机构用户ID其他做市关系,都设置为 1
  11846. type: integer
  11847. username:
  11848. description: 用户名称
  11849. type: string
  11850. type: object
  11851. models.QhjBankAccountSign:
  11852. properties:
  11853. accountcode:
  11854. description: 资金账号
  11855. type: string
  11856. accountname:
  11857. description: 资金账号对应的账号名(UserName)
  11858. type: string
  11859. accountname2:
  11860. description: 资金账号对应的账号名(UserName) - 密文
  11861. type: string
  11862. accounttype:
  11863. description: 账户类型(UserType)
  11864. type: integer
  11865. applicationtime:
  11866. description: 最后一次更新的时间
  11867. type: string
  11868. applyexchticket:
  11869. description: 申请流水
  11870. type: string
  11871. auditid:
  11872. description: 审核人
  11873. type: integer
  11874. audittime:
  11875. description: 审核时间
  11876. type: string
  11877. bankaccountname:
  11878. description: 签约银行卡账号名
  11879. type: string
  11880. bankaccountname2:
  11881. description: 签约银行卡账号名 - 密文
  11882. type: string
  11883. bankaccountno:
  11884. description: 银行卡号
  11885. type: string
  11886. bankaccountno2:
  11887. description: 银行卡号 - 密文
  11888. type: string
  11889. bankaccounttype:
  11890. description: 银行账户类型 - 1-对私; 2-对公
  11891. type: integer
  11892. bankcardtype:
  11893. description: 银行卡类型
  11894. type: integer
  11895. bankchildaccount:
  11896. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11897. type: string
  11898. bankcity:
  11899. description: 开户行城市
  11900. type: string
  11901. bankid:
  11902. description: 签约银行ID
  11903. type: string
  11904. bankname:
  11905. description: 签约银行名称
  11906. type: string
  11907. bankprovince:
  11908. description: 开户行省份
  11909. type: string
  11910. branchbankid:
  11911. description: 签约银行支行号
  11912. type: string
  11913. branchbankname:
  11914. description: 签约银行支行名称
  11915. type: string
  11916. cardno:
  11917. description: 证件号码
  11918. type: string
  11919. cardno2:
  11920. description: 证件号码 - 密文
  11921. type: string
  11922. cardtype:
  11923. description: 证件类型
  11924. type: string
  11925. currency:
  11926. description: 币种
  11927. type: string
  11928. cusbankid:
  11929. description: 托管银行编号
  11930. type: string
  11931. direct:
  11932. description: 方向(可以判断那方先发起的签约)
  11933. type: integer
  11934. exchticket:
  11935. description: 最后一次签约成功的流水号
  11936. type: string
  11937. extendinfo:
  11938. description: 扩展信息(JSON字符串)
  11939. type: string
  11940. mobilephone:
  11941. description: 手机号
  11942. type: string
  11943. mobilephone2:
  11944. description: 手机号 - 密文
  11945. type: string
  11946. netaddr:
  11947. description: 调转网址
  11948. type: string
  11949. relateduserid:
  11950. description: 关联使用者userid
  11951. type: integer
  11952. signstatus:
  11953. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11954. 10:审核拒绝 11:换签待审核
  11955. type: integer
  11956. updatetime:
  11957. description: 更新时间(签解约更新时间)
  11958. type: string
  11959. type: object
  11960. models.QhjBankInfo:
  11961. properties:
  11962. bankid:
  11963. description: 银行ID
  11964. type: string
  11965. bankname:
  11966. description: 银行名称
  11967. type: string
  11968. clearbankno:
  11969. description: 清算系统银行编号
  11970. type: string
  11971. orderindex:
  11972. description: 排序顺序
  11973. type: integer
  11974. status:
  11975. description: 状态 - 0:正常 1:注销
  11976. type: integer
  11977. type: object
  11978. models.QhjBrokerApply:
  11979. properties:
  11980. applicantid:
  11981. description: 申请人
  11982. type: integer
  11983. applysrc:
  11984. description: 申请来源 - 1:管理端 2:终端
  11985. type: integer
  11986. applystatus:
  11987. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11988. type: integer
  11989. applytime:
  11990. description: 申请时间
  11991. type: string
  11992. auditorid:
  11993. description: 审核人
  11994. type: integer
  11995. auditremark:
  11996. description: 审核备注
  11997. type: string
  11998. auditsrc:
  11999. description: 审核来源 - 1:管理端 2:终端
  12000. type: integer
  12001. audittime:
  12002. description: 审核时间
  12003. type: string
  12004. audittradedate:
  12005. description: 审核交易日(yyyyMMdd)
  12006. type: string
  12007. brokerapplyid:
  12008. description: 申请ID(SEQ_BROKERAPPLY)
  12009. type: integer
  12010. cardbackphotourl:
  12011. description: 证件背面图片地址
  12012. type: string
  12013. cardfrontphotourl:
  12014. description: 证件正面图片地址
  12015. type: string
  12016. cardnum:
  12017. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12018. type: string
  12019. customername:
  12020. description: 姓名
  12021. type: string
  12022. logincode:
  12023. description: 登录代码
  12024. type: string
  12025. mobile:
  12026. description: 手机号码
  12027. type: string
  12028. parentuserid:
  12029. description: 所属机构id
  12030. type: integer
  12031. parentusername:
  12032. description: 所属机构名称
  12033. type: string
  12034. refereeuserid:
  12035. description: 推荐人id(经纪人)
  12036. type: integer
  12037. refernum:
  12038. description: 推荐码
  12039. type: string
  12040. remark:
  12041. description: 备注
  12042. type: string
  12043. subarealevelpath:
  12044. description: 层级路径
  12045. type: string
  12046. tradedate:
  12047. description: 交易日(yyyyMMdd)
  12048. type: string
  12049. userid:
  12050. description: 申请人用户ID
  12051. type: integer
  12052. userinfotype:
  12053. description: 用户类型 1-个人 2-企业
  12054. type: integer
  12055. username:
  12056. description: 用户名称
  12057. type: string
  12058. type: object
  12059. models.QhjBrokerApplyEx:
  12060. properties:
  12061. applylist:
  12062. description: 经纪人申请记录(只返回最新一条)
  12063. items:
  12064. $ref: '#/definitions/models.QhjBrokerApply'
  12065. type: array
  12066. canrecommend:
  12067. description: 是否经纪人 0-不是 1-是
  12068. type: integer
  12069. refernum:
  12070. description: 推荐码
  12071. type: string
  12072. userid:
  12073. description: 用户id
  12074. type: integer
  12075. userinfotype:
  12076. description: 用户类型 1-个人 2-企业
  12077. type: integer
  12078. type: object
  12079. models.QhjBrokerRewardLog:
  12080. properties:
  12081. accountid:
  12082. description: 资金账号ID
  12083. type: integer
  12084. createtime:
  12085. description: 创建时间(时间)
  12086. type: string
  12087. handlestatus:
  12088. description: 处理状态
  12089. type: integer
  12090. logid:
  12091. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12092. type: string
  12093. marketid:
  12094. description: 市场ID
  12095. type: integer
  12096. mmaccountid:
  12097. description: 做市商资金账号ID
  12098. type: string
  12099. mmuserid:
  12100. description: 做市商用户ID
  12101. type: string
  12102. rewardamount:
  12103. description: 奖励金额
  12104. type: number
  12105. rewardmodel:
  12106. description: 消费奖励方式 - 1:比率 2:固定
  12107. type: integer
  12108. rewardtype:
  12109. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12110. type: integer
  12111. rewardvalue:
  12112. description: 配置奖励值
  12113. type: number
  12114. srcamount:
  12115. description: 成交金额 [消费奖励] (金额)
  12116. type: number
  12117. srcgoodsid:
  12118. description: 来源商品ID [消费奖励]
  12119. type: string
  12120. srctime:
  12121. description: 来源时间 (成交时间) [消费奖励]
  12122. type: string
  12123. srctradeid:
  12124. description: 来源成交单ID [消费奖励] - 排除提货成交
  12125. type: string
  12126. srcuserid:
  12127. description: 来源用户ID(推广账户)
  12128. type: string
  12129. srcusername:
  12130. description: 推广账户名称
  12131. type: string
  12132. tradedate:
  12133. description: 交易日(yyyyMMdd)
  12134. type: string
  12135. userid:
  12136. description: 经纪人用户ID
  12137. type: integer
  12138. type: object
  12139. models.QhjContract:
  12140. properties:
  12141. contractconfirmtime:
  12142. description: 合同确认时间(时间)
  12143. type: string
  12144. currisklevel:
  12145. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12146. type: integer
  12147. decimalplace:
  12148. description: 商品报价小数位
  12149. type: integer
  12150. enumdicname:
  12151. description: 单位名称
  12152. type: string
  12153. goodscode:
  12154. description: 商品代码
  12155. type: string
  12156. goodsid:
  12157. description: 商品ID [5:融资单]
  12158. type: integer
  12159. goodsname:
  12160. description: 商品名称
  12161. type: string
  12162. goodunitid:
  12163. description: 商品单位id
  12164. type: integer
  12165. initmargin:
  12166. description: 初始保证金(首付款)
  12167. type: number
  12168. lenderamount:
  12169. description: 贷款金额(总额|订单总额)
  12170. type: number
  12171. marginratio:
  12172. description: 保证金比率(首付比例)
  12173. type: number
  12174. payamount:
  12175. description: 已付(已付货款)
  12176. type: number
  12177. reckonrecovermargin:
  12178. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12179. type: number
  12180. recoveredmargin:
  12181. description: 已追缴保证金
  12182. type: number
  12183. remainamount:
  12184. description: 合同剩余金额(融资额)
  12185. type: number
  12186. scfcontractid:
  12187. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12188. type: string
  12189. scfcontractstatus:
  12190. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12191. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12192. type: integer
  12193. scfcontracttype:
  12194. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12195. type: integer
  12196. totalinterest:
  12197. description: 已计总利息(利息)
  12198. type: number
  12199. tradeprice:
  12200. description: 成交价格(成本价格)
  12201. type: number
  12202. userid:
  12203. description: 用户ID
  12204. type: integer
  12205. username:
  12206. description: 用户名称
  12207. type: string
  12208. wrqty:
  12209. description: 仓单数量(数量)
  12210. type: number
  12211. type: object
  12212. models.QhjContractLog:
  12213. properties:
  12214. amount:
  12215. description: 支付金额
  12216. type: number
  12217. amounttype:
  12218. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12219. type: integer
  12220. logid:
  12221. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12222. type: string
  12223. remainamount:
  12224. description: 剩余货款
  12225. type: number
  12226. scfcontractid:
  12227. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12228. type: integer
  12229. updatetime:
  12230. description: 更新时间
  12231. type: string
  12232. type: object
  12233. models.QhjCusBankSignBankEx:
  12234. properties:
  12235. banklst:
  12236. description: 银行列表
  12237. items:
  12238. $ref: '#/definitions/models.QhjBankInfo'
  12239. type: array
  12240. canallot:
  12241. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12242. type: integer
  12243. canallotquery:
  12244. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12245. type: integer
  12246. canbindcard:
  12247. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12248. type: integer
  12249. caninamount:
  12250. description: 是否可入金 - 0:不可 1:可以
  12251. type: integer
  12252. caninamount2:
  12253. description: 是否可入金(网银端) - 0:不可 1:可以
  12254. type: integer
  12255. canmodifybankcard:
  12256. description: 是否可修改银行卡号 - 0:不可 1:可以
  12257. type: integer
  12258. canmodifyphone:
  12259. description: 是否可修改手机号 - 0:不可 1:可以
  12260. type: integer
  12261. canmodifysigninfo:
  12262. description: 是否可修改签约信息 - 0:不可 1:可以
  12263. type: integer
  12264. canoutamount:
  12265. description: 是否可出金 - 0:不可 1:可以
  12266. type: integer
  12267. canoutamount2:
  12268. description: 是否可出金(网银端) - 0:不可 1:可以
  12269. type: integer
  12270. canrelease:
  12271. description: 是否可解约 - 0:不可 1:可以
  12272. type: integer
  12273. canrelease2:
  12274. description: 是否可解约(网银端) - 0:不可 1:可以
  12275. type: integer
  12276. cansign:
  12277. description: 是否可签约 - 0:不可 1:可以
  12278. type: integer
  12279. cansign2:
  12280. description: 是否可签约(网银端) - 0:不可 1:可以
  12281. type: integer
  12282. currency:
  12283. description: 币种
  12284. type: string
  12285. cusbankid:
  12286. description: 托管银行编号(对应清算中心TRAN_NO)
  12287. type: string
  12288. cusbankname:
  12289. description: 银行业务名称
  12290. type: string
  12291. cusbankshortname:
  12292. description: 银行业务简称
  12293. type: string
  12294. exchbankid:
  12295. description: 交易所开户银行ID
  12296. type: string
  12297. exchpaybankaccname:
  12298. description: 交易所支出结算账户户名
  12299. type: string
  12300. exchpaybankaccno:
  12301. description: 交易所支出结算账户
  12302. type: string
  12303. isneedcheck:
  12304. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12305. type: integer
  12306. isneedclear:
  12307. description: 是否需要清算 - 0:不需要 1:需要
  12308. type: integer
  12309. lastcheckstatus:
  12310. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12311. type: integer
  12312. lastchecktime:
  12313. description: 最后对账时间
  12314. type: string
  12315. lastclearstatus:
  12316. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12317. type: integer
  12318. lastcleartime:
  12319. description: 最后清算时间
  12320. type: string
  12321. lastsignintime:
  12322. description: 最后签到时间
  12323. type: string
  12324. lastsignouttime:
  12325. description: 最后签退时间
  12326. type: string
  12327. riskinfo:
  12328. description: 签约风险提示书
  12329. type: string
  12330. signstatus:
  12331. description: 当前签到/签退状态 - 1:签到 2:签退
  12332. type: integer
  12333. tradedate:
  12334. description: 交易日(yyyyMMdd)
  12335. type: string
  12336. updatetime:
  12337. description: 当前签到/签退更新时间
  12338. type: string
  12339. type: object
  12340. models.QhjCustomer:
  12341. properties:
  12342. address:
  12343. description: 通讯地址
  12344. type: string
  12345. attachment1:
  12346. description: 附件1
  12347. type: string
  12348. attachment2:
  12349. description: 附件2
  12350. type: string
  12351. audittime:
  12352. description: 审核时间
  12353. type: string
  12354. cardbackphotourl:
  12355. description: 证件反面图片地址
  12356. type: string
  12357. cardfrontphotourl:
  12358. description: 证件正面图片地址
  12359. type: string
  12360. cardnum:
  12361. description: 证件号码
  12362. type: string
  12363. cardtype:
  12364. description: 证件类型
  12365. type: integer
  12366. cardtypename:
  12367. description: 证件类型名称
  12368. type: string
  12369. cityid:
  12370. description: 市
  12371. type: integer
  12372. cityname:
  12373. description: 城市名称
  12374. type: string
  12375. contactname:
  12376. description: 联系人
  12377. type: string
  12378. countryid:
  12379. description: 国家
  12380. type: integer
  12381. countryname:
  12382. description: 国家名称
  12383. type: string
  12384. createtime:
  12385. description: 创建时间
  12386. type: string
  12387. customername:
  12388. description: 客户名称
  12389. type: string
  12390. districtid:
  12391. description: 区域
  12392. type: integer
  12393. districtname:
  12394. description: 地区名称
  12395. type: string
  12396. email:
  12397. description: 邮件
  12398. type: string
  12399. legalpersonname:
  12400. description: 法人姓名(企业)
  12401. type: string
  12402. logincode:
  12403. description: 登录账号(代码)
  12404. type: string
  12405. memberuserid:
  12406. description: 所属机构ID(所属会员)
  12407. type: integer
  12408. memberusername:
  12409. description: 所属会员名称
  12410. type: string
  12411. mobile:
  12412. description: 手机号码
  12413. type: string
  12414. modifytime:
  12415. description: 修改时间
  12416. type: string
  12417. nickname:
  12418. description: 昵称
  12419. type: string
  12420. parentuserid:
  12421. description: 上级机构(所属机构)
  12422. type: integer
  12423. parentusername:
  12424. description: 所属机构名称
  12425. type: string
  12426. provinceid:
  12427. description: 省
  12428. type: integer
  12429. provincename:
  12430. description: 省名称
  12431. type: string
  12432. proxystatementurl:
  12433. description: 授权委托书
  12434. type: string
  12435. remark:
  12436. description: 备注
  12437. type: string
  12438. status:
  12439. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12440. type: integer
  12441. statusdesc:
  12442. description: 账户状态中文描述
  12443. type: string
  12444. taxpayernum:
  12445. description: 纳税人识别号
  12446. type: string
  12447. telphone:
  12448. description: 联系电话
  12449. type: string
  12450. userid:
  12451. description: 用户ID
  12452. type: integer
  12453. userinfotype:
  12454. description: 客户类型 1-个人 2-企业
  12455. type: integer
  12456. username:
  12457. description: 用户名称
  12458. type: string
  12459. type: object
  12460. models.QhjCustomerSignLog:
  12461. properties:
  12462. agreementcontent:
  12463. description: 协议内容
  12464. type: string
  12465. agreementid:
  12466. description: 协议ID
  12467. type: integer
  12468. agreementname:
  12469. description: 协议名称
  12470. type: string
  12471. agreementno:
  12472. description: 协议编号
  12473. type: string
  12474. agreementtype:
  12475. description: 协议类型 - 1:注册 2:登录 3:交易
  12476. type: integer
  12477. agreementversion:
  12478. description: 协议版本号
  12479. type: integer
  12480. createtime:
  12481. description: 创建时间
  12482. type: string
  12483. goodscode:
  12484. description: 商品代码
  12485. type: string
  12486. goodsid:
  12487. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12488. type: integer
  12489. goodsname:
  12490. description: 商品名称
  12491. type: string
  12492. logid:
  12493. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12494. type: integer
  12495. nodetype:
  12496. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12497. type: integer
  12498. signadressurl:
  12499. description: 签约文件地址
  12500. type: string
  12501. signtimestamp:
  12502. description: 签约状态时间戳
  12503. type: string
  12504. userid:
  12505. description: 客户ID
  12506. type: integer
  12507. username:
  12508. description: 客户名称
  12509. type: string
  12510. type: object
  12511. models.QhjCustomerSignStatus:
  12512. properties:
  12513. createtime:
  12514. description: 创建时间
  12515. type: string
  12516. goodscode:
  12517. description: 商品代码
  12518. type: string
  12519. goodsid:
  12520. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12521. type: integer
  12522. goodsname:
  12523. description: 商品名称
  12524. type: string
  12525. nodetype:
  12526. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12527. type: integer
  12528. signtimestamp:
  12529. description: 签约状态时间戳
  12530. type: string
  12531. tradedate:
  12532. description: 创建交易日(yyyyMMdd)
  12533. type: string
  12534. updatetime:
  12535. description: 更新时间
  12536. type: string
  12537. userid:
  12538. description: 客户ID
  12539. type: integer
  12540. username:
  12541. description: 客户名称
  12542. type: string
  12543. type: object
  12544. models.QhjMgrAccountOutInApply:
  12545. properties:
  12546. accountcode:
  12547. description: 资金账号
  12548. type: string
  12549. accountname:
  12550. description: 用户名称(名称)
  12551. type: string
  12552. accountpwd:
  12553. description: 资金密码
  12554. type: string
  12555. accountticket:
  12556. description: 最新账户服务流水号
  12557. type: string
  12558. amount:
  12559. description: 金额
  12560. type: number
  12561. applyremark:
  12562. description: 申请备注
  12563. type: string
  12564. applystatus:
  12565. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12566. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12567. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12568. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12569. type: integer
  12570. auditid:
  12571. description: 审核人
  12572. type: integer
  12573. audittime:
  12574. description: 审核时间
  12575. type: string
  12576. bank_apply_ticket:
  12577. description: 银行申请流水
  12578. type: string
  12579. bankaccountname:
  12580. description: 银行账户名
  12581. type: string
  12582. bankaccountno:
  12583. description: 银行卡号
  12584. type: string
  12585. bankid:
  12586. description: 银行编号
  12587. type: string
  12588. bankname:
  12589. description: 银行名称
  12590. type: string
  12591. bankticket:
  12592. description: 银行流水
  12593. type: string
  12594. branchbankid:
  12595. description: 银行支行号
  12596. type: string
  12597. branchbankname:
  12598. description: 银行支行名称
  12599. type: string
  12600. capamountout:
  12601. description: 出金(劣后本金) - 外部子账户
  12602. type: number
  12603. certificatephotourl:
  12604. description: 凭证地址
  12605. type: string
  12606. charge:
  12607. description: 手续费
  12608. type: number
  12609. checkerrorflag:
  12610. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12611. type: integer
  12612. currency:
  12613. description: 币种
  12614. type: string
  12615. cusbankid:
  12616. description: 托管银行编号
  12617. type: string
  12618. exchticket:
  12619. description: 银行服务流水号
  12620. type: string
  12621. executetype:
  12622. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12623. 7:外部子账户:入金 8:外部子账户:出金'
  12624. type: integer
  12625. extendinfo:
  12626. description: 扩展信息
  12627. type: string
  12628. extoperateid:
  12629. description: 交易服务流水号
  12630. type: integer
  12631. infamount:
  12632. description: 劣后金额(自有)
  12633. type: number
  12634. logincode:
  12635. description: 登录账号(账号)
  12636. type: string
  12637. netaddr:
  12638. description: 调转网址
  12639. type: string
  12640. priamount:
  12641. description: 优先金额(授信)
  12642. type: number
  12643. reauditid:
  12644. description: 复审人
  12645. type: integer
  12646. reauditremark:
  12647. description: 复审备注
  12648. type: string
  12649. reaudittime:
  12650. description: 复审时间
  12651. type: string
  12652. relatedorderid:
  12653. description: 三方关联ID
  12654. type: string
  12655. remark:
  12656. description: 备注
  12657. type: string
  12658. remark2:
  12659. description: 备注(失败原因)
  12660. type: string
  12661. soucreamount:
  12662. description: 原始出入金金额
  12663. type: number
  12664. soucrecurrencyid:
  12665. description: 原始出入金币种
  12666. type: integer
  12667. tradedate:
  12668. description: 交易日(yyyyMMdd)
  12669. type: string
  12670. updatetime:
  12671. description: 更新时间(申请时间)
  12672. type: string
  12673. userid:
  12674. description: 用户id
  12675. type: integer
  12676. userinfotype:
  12677. description: 账户类型 1-个人 2-企业
  12678. type: integer
  12679. type: object
  12680. models.QhjMgrBrokerApply:
  12681. properties:
  12682. applicantid:
  12683. description: 申请人
  12684. type: integer
  12685. applysrc:
  12686. description: 申请来源 - 1:管理端 2:终端
  12687. type: integer
  12688. applystatus:
  12689. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12690. type: integer
  12691. applytime:
  12692. description: 申请时间
  12693. type: string
  12694. auditorid:
  12695. description: 审核人
  12696. type: integer
  12697. auditremark:
  12698. description: 审核备注
  12699. type: string
  12700. auditsrc:
  12701. description: 审核来源 - 1:管理端 2:终端
  12702. type: integer
  12703. audittime:
  12704. description: 审核时间
  12705. type: string
  12706. audittradedate:
  12707. description: 审核交易日(yyyyMMdd)
  12708. type: string
  12709. brokerapplyid:
  12710. description: 申请ID(SEQ_BROKERAPPLY)
  12711. type: integer
  12712. cardbackphotourl:
  12713. description: 证件背面图片地址
  12714. type: string
  12715. cardfrontphotourl:
  12716. description: 证件正面图片地址
  12717. type: string
  12718. cardnum:
  12719. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12720. type: string
  12721. customername:
  12722. description: 姓名
  12723. type: string
  12724. filterstatus:
  12725. description: 筛选条件
  12726. type: string
  12727. logincode:
  12728. description: 登录代码
  12729. type: string
  12730. mobile:
  12731. description: 手机号码
  12732. type: string
  12733. parentuserid:
  12734. description: 所属机构id
  12735. type: integer
  12736. parentusername:
  12737. description: 所属机构名称
  12738. type: string
  12739. refereeuserid:
  12740. description: 推荐人id(经纪人)
  12741. type: integer
  12742. refernum:
  12743. description: 推荐码
  12744. type: string
  12745. remark:
  12746. description: 备注
  12747. type: string
  12748. subarealevelpath:
  12749. description: 层级路径
  12750. type: string
  12751. tradedate:
  12752. description: 交易日(yyyyMMdd)
  12753. type: string
  12754. userid:
  12755. description: 申请人用户ID
  12756. type: integer
  12757. userinfotype:
  12758. description: 用户类型 1-个人 2-企业
  12759. type: integer
  12760. username:
  12761. description: 用户名称
  12762. type: string
  12763. type: object
  12764. models.QhjMgrBrokerRewardReport:
  12765. properties:
  12766. createtime:
  12767. description: 创建时间(注册时间)
  12768. type: string
  12769. cycletime:
  12770. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12771. type: string
  12772. cycletype:
  12773. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12774. type: integer
  12775. directtotalnum:
  12776. description: 直推总人数【期末】
  12777. type: integer
  12778. indirecttotalnum:
  12779. description: 间推总人数【期末】
  12780. type: integer
  12781. mobile:
  12782. description: 电话号码
  12783. type: string
  12784. refereeuserid:
  12785. description: 推荐人id(经纪人id)
  12786. type: integer
  12787. refereeusername:
  12788. description: 推荐人名称(经纪人) 上级经纪人名称
  12789. type: string
  12790. refernum:
  12791. description: 推荐码
  12792. type: string
  12793. subarealevelpath:
  12794. description: 用户层级路径
  12795. type: string
  12796. todayrewardamount:
  12797. description: 奖励总金额【汇总】
  12798. type: number
  12799. updatetime:
  12800. description: 更新时间
  12801. type: string
  12802. userid:
  12803. description: 经纪人用户ID
  12804. type: integer
  12805. userinfotype:
  12806. description: 用户类型 1-个人 2-企业
  12807. type: integer
  12808. username:
  12809. description: 用户名称
  12810. type: string
  12811. type: object
  12812. models.QhjMgrContract:
  12813. properties:
  12814. contractconfirmtime:
  12815. description: 合同确认时间(时间)
  12816. type: string
  12817. currisklevel:
  12818. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12819. type: integer
  12820. decimalplace:
  12821. description: 商品报价小数位
  12822. type: integer
  12823. enumdicname:
  12824. description: 单位名称
  12825. type: string
  12826. goodscode:
  12827. description: 商品代码
  12828. type: string
  12829. goodsid:
  12830. description: 商品ID [5:融资单]
  12831. type: integer
  12832. goodsname:
  12833. description: 商品名称
  12834. type: string
  12835. goodunitid:
  12836. description: 商品单位id
  12837. type: integer
  12838. initmargin:
  12839. description: 初始保证金(首付款)
  12840. type: number
  12841. lenderamount:
  12842. description: 贷款金额(总额|订单总额)
  12843. type: number
  12844. logincode:
  12845. description: 账号(登录代码)
  12846. type: string
  12847. marginratio:
  12848. description: 保证金比率(首付比例)
  12849. type: number
  12850. mobile:
  12851. description: 电话号码(用户资料里的电话)
  12852. type: string
  12853. payamount:
  12854. description: 已付(已付货款)
  12855. type: number
  12856. reckonrecovermargin:
  12857. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12858. type: number
  12859. recoveredmargin:
  12860. description: 已追缴保证金
  12861. type: number
  12862. remainamount:
  12863. description: 合同剩余金额(融资额)
  12864. type: number
  12865. scfcontractid:
  12866. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12867. type: string
  12868. scfcontractstatus:
  12869. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12870. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12871. type: integer
  12872. scfcontracttype:
  12873. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12874. type: integer
  12875. totalinterest:
  12876. description: 已计总利息(利息)
  12877. type: number
  12878. tradedate:
  12879. description: 交易日
  12880. type: string
  12881. tradeprice:
  12882. description: 成交价格(成本价格)
  12883. type: number
  12884. userid:
  12885. description: 用户ID
  12886. type: integer
  12887. userinfotype:
  12888. description: 用户类型 1-个人 2-企业
  12889. type: integer
  12890. username:
  12891. description: 用户名称
  12892. type: string
  12893. wrqty:
  12894. description: 仓单数量(数量)
  12895. type: number
  12896. type: object
  12897. models.QhjMgrCustomer:
  12898. properties:
  12899. address:
  12900. description: 通讯地址
  12901. type: string
  12902. attachment1:
  12903. description: 附件1
  12904. type: string
  12905. audittime:
  12906. description: 审核时间
  12907. type: string
  12908. birthday:
  12909. description: 生日
  12910. type: string
  12911. brokerid:
  12912. description: 所属客户经理id
  12913. type: integer
  12914. brokername:
  12915. description: 所属客户经理名称
  12916. type: string
  12917. cardbackphotourl:
  12918. description: 证件反面图片地址
  12919. type: string
  12920. cardfrontphotourl:
  12921. description: 证件正面图片地址
  12922. type: string
  12923. cardnum:
  12924. description: 证件号码
  12925. type: string
  12926. cardtype:
  12927. description: 证件类型
  12928. type: integer
  12929. cardtypename:
  12930. description: 证件类型名称
  12931. type: string
  12932. cityid:
  12933. description: 市
  12934. type: integer
  12935. cityname:
  12936. description: 城市名称
  12937. type: string
  12938. contactname:
  12939. description: 联系人
  12940. type: string
  12941. countryid:
  12942. description: 国家
  12943. type: integer
  12944. countryname:
  12945. description: 国家名称
  12946. type: string
  12947. createtime:
  12948. description: 创建时间
  12949. type: string
  12950. customername:
  12951. description: 客户名称
  12952. type: string
  12953. districtid:
  12954. description: 区域
  12955. type: integer
  12956. districtname:
  12957. description: 地区名称
  12958. type: string
  12959. email:
  12960. description: 邮件
  12961. type: string
  12962. legalpersonname:
  12963. description: 法人姓名(企业)
  12964. type: string
  12965. logincode:
  12966. description: 登录账号(代码)
  12967. type: string
  12968. memberuserid:
  12969. description: 所属机构ID(所属会员)
  12970. type: integer
  12971. memberusername:
  12972. description: 所属会员名称
  12973. type: string
  12974. mobile:
  12975. description: 手机号码
  12976. type: string
  12977. modifytime:
  12978. description: 修改时间
  12979. type: string
  12980. nickname:
  12981. description: 昵称
  12982. type: string
  12983. parentuserid:
  12984. description: 上级机构(所属机构)
  12985. type: integer
  12986. parentusername:
  12987. description: 所属机构名称
  12988. type: string
  12989. provinceid:
  12990. description: 省
  12991. type: integer
  12992. provincename:
  12993. description: 省名称
  12994. type: string
  12995. proxystatementurl:
  12996. description: 授权委托书
  12997. type: string
  12998. querytype:
  12999. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13000. type: integer
  13001. remark:
  13002. description: 备注
  13003. type: string
  13004. sex:
  13005. description: 性别 0-女 1-男
  13006. type: integer
  13007. status:
  13008. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13009. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13010. type: integer
  13011. statusdesc:
  13012. description: 账户状态中文描述
  13013. type: string
  13014. taxpayernum:
  13015. description: 纳税人识别号
  13016. type: string
  13017. telphone:
  13018. description: 联系电话
  13019. type: string
  13020. userid:
  13021. description: 用户ID
  13022. type: integer
  13023. userinfotype:
  13024. description: 客户类型 1-个人 2-企业
  13025. type: integer
  13026. username:
  13027. description: 用户名称
  13028. type: string
  13029. type: object
  13030. models.QhjMgrPickGoods:
  13031. properties:
  13032. enumdicname:
  13033. description: 单位名称(提货商品)
  13034. type: string
  13035. goodsid:
  13036. description: 商品id
  13037. type: integer
  13038. imageaddress:
  13039. description: 图片
  13040. type: string
  13041. modifierid:
  13042. description: 修改人
  13043. type: integer
  13044. modifiername:
  13045. description: 修改人名称
  13046. type: string
  13047. modifysrc:
  13048. description: 修改来源 - 1:管理端 2:终端
  13049. type: integer
  13050. pickupgoodsagreeunit:
  13051. description: 合约乘数
  13052. type: number
  13053. pickupgoodsdesc:
  13054. description: 描述
  13055. type: string
  13056. pickupgoodsid:
  13057. description: 提货商品ID
  13058. type: string
  13059. pickupgoodsname:
  13060. description: 提货商品名称
  13061. type: string
  13062. pickupgoodsstatus:
  13063. description: 状态 - 1:正常 2:停用 3:注销
  13064. type: integer
  13065. pickupgoodsunitid:
  13066. description: 单位ID
  13067. type: integer
  13068. pickupratio:
  13069. description: 提货系数
  13070. type: number
  13071. preparedays:
  13072. description: 备货期(天)
  13073. type: integer
  13074. remark:
  13075. description: 备注
  13076. type: string
  13077. updatetime:
  13078. description: 更新时间
  13079. type: string
  13080. type: object
  13081. models.QhjMgrPositionRsp:
  13082. properties:
  13083. accountid:
  13084. description: 账号Id
  13085. type: integer
  13086. accountname:
  13087. description: 用户名称
  13088. type: string
  13089. agreeunit:
  13090. description: 合约乘数
  13091. type: number
  13092. averageprice:
  13093. description: 均价
  13094. type: number
  13095. avialqty:
  13096. description: 可用数量
  13097. type: number
  13098. decimalplace:
  13099. description: 报价小数位
  13100. type: integer
  13101. enumdicname:
  13102. description: 单位名称(商品)
  13103. type: string
  13104. frozenqty:
  13105. description: 冻结数量
  13106. type: number
  13107. goodscode:
  13108. description: 商品代码(内部)
  13109. type: string
  13110. goodsid:
  13111. description: 商品Id
  13112. type: integer
  13113. goodsname:
  13114. description: 商品名称
  13115. type: string
  13116. goodunitid:
  13117. description: 报价单位ID
  13118. type: integer
  13119. holderamount:
  13120. description: 金额
  13121. type: number
  13122. holderqty:
  13123. description: 持有数量
  13124. type: number
  13125. holdertype:
  13126. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13127. type: integer
  13128. logincode:
  13129. description: 登录代码(账户)
  13130. type: string
  13131. marketid:
  13132. description: 市场id
  13133. type: integer
  13134. qtydecimalplace:
  13135. description: 成交量小数位
  13136. type: integer
  13137. trademode:
  13138. description: 交易模式
  13139. type: integer
  13140. userid:
  13141. description: 用户id
  13142. type: integer
  13143. userinfotype:
  13144. description: 账户类型 1-个人 2-企业
  13145. type: integer
  13146. type: object
  13147. models.QhjMgrSubArea:
  13148. properties:
  13149. accountname:
  13150. description: 账户名称(机构名称)
  13151. type: string
  13152. memberuserid:
  13153. description: 所属会员ID
  13154. type: integer
  13155. parenttopuser:
  13156. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13157. type: string
  13158. parentuserid:
  13159. description: 所属机构ID
  13160. type: integer
  13161. rootuserid:
  13162. description: 根用户ID
  13163. type: string
  13164. subaccountlevel:
  13165. description: 子账户层数
  13166. type: integer
  13167. subarealevelpath:
  13168. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13169. type: string
  13170. userid:
  13171. description: 用户ID
  13172. type: integer
  13173. usertype:
  13174. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13175. type: integer
  13176. type: object
  13177. models.QhjMgrTradeDetailRsp:
  13178. properties:
  13179. accountid:
  13180. description: 资金账号
  13181. type: integer
  13182. accountname:
  13183. description: 用户名称
  13184. type: string
  13185. agreeunit:
  13186. description: 合约乘数
  13187. type: number
  13188. buyorsell:
  13189. description: 成交类型(方向) 0:买 1:卖
  13190. type: integer
  13191. decimalplace:
  13192. description: 报价小数位
  13193. type: integer
  13194. enumdicname:
  13195. description: 单位名称(商品)
  13196. type: string
  13197. goodscode:
  13198. description: 商品代码(内部)
  13199. type: string
  13200. goodsid:
  13201. description: 商品id
  13202. type: integer
  13203. goodsname:
  13204. description: 商品名称
  13205. type: string
  13206. goodunitid:
  13207. description: 报价单位ID
  13208. type: integer
  13209. logincode:
  13210. description: 登录代码(账户)
  13211. type: string
  13212. marketid:
  13213. description: 市场id
  13214. type: integer
  13215. orderid:
  13216. description: 关联委托单号
  13217. type: string
  13218. qtydecimalplace:
  13219. description: 成交量小数位
  13220. type: integer
  13221. tradeamount:
  13222. description: 金额
  13223. type: number
  13224. tradedate:
  13225. description: 交易日
  13226. type: string
  13227. tradeid:
  13228. description: 成交单号
  13229. type: string
  13230. trademode:
  13231. description: 交易模式
  13232. type: integer
  13233. tradeprice:
  13234. description: 价格
  13235. type: number
  13236. tradeqty:
  13237. description: 数量
  13238. type: number
  13239. tradetime:
  13240. description: 成交时间
  13241. type: string
  13242. userid:
  13243. description: 用户id
  13244. type: integer
  13245. userinfotype:
  13246. description: 账户类型 1-个人 2-企业
  13247. type: integer
  13248. type: object
  13249. models.QhjMgrTradeOrderDetailRsp:
  13250. properties:
  13251. accountid:
  13252. description: 资金账号
  13253. type: integer
  13254. accountname:
  13255. description: 用户名称
  13256. type: string
  13257. agreeunit:
  13258. description: 合约乘数
  13259. type: number
  13260. amount:
  13261. description: 金额
  13262. type: number
  13263. decimalplace:
  13264. description: 报价小数位
  13265. type: integer
  13266. enumdicname:
  13267. description: 单位名称(商品)
  13268. type: string
  13269. goodscode:
  13270. description: 商品代码(内部)
  13271. type: string
  13272. goodsid:
  13273. description: 商品id
  13274. type: integer
  13275. goodsname:
  13276. description: 商品名称
  13277. type: string
  13278. goodunitid:
  13279. description: 报价单位ID
  13280. type: integer
  13281. logincode:
  13282. description: 登录代码(账户)
  13283. type: string
  13284. marketid:
  13285. description: 市场id
  13286. type: integer
  13287. orderid:
  13288. description: 关联委托单号
  13289. type: string
  13290. orderprice:
  13291. description: 价格
  13292. type: number
  13293. orderqty:
  13294. description: 数量
  13295. type: number
  13296. orderstatus:
  13297. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13298. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13299. 16:成交失败违约(荷兰式竞拍专用)
  13300. type: integer
  13301. ordertime:
  13302. description: 委托时间
  13303. type: string
  13304. qtydecimalplace:
  13305. description: 成交量小数位
  13306. type: integer
  13307. tradedate:
  13308. description: 交易日
  13309. type: string
  13310. trademode:
  13311. description: 交易模式
  13312. type: integer
  13313. userid:
  13314. description: 用户id
  13315. type: integer
  13316. userinfotype:
  13317. description: 账户类型 1-个人 2-企业
  13318. type: integer
  13319. type: object
  13320. models.QhjMgrTradePayOrder:
  13321. properties:
  13322. accountname:
  13323. description: 用户名称
  13324. type: string
  13325. advanceratio:
  13326. description: 首付比率
  13327. type: number
  13328. agreeunit:
  13329. description: 合约乘数
  13330. type: number
  13331. buyaccountid:
  13332. description: 买方账号ID[报价币种]
  13333. type: integer
  13334. buyorderid:
  13335. description: 买方委托单号(关联单号)
  13336. type: string
  13337. createtime:
  13338. description: 创建时间
  13339. type: string
  13340. decimalplace:
  13341. description: 报价小数位
  13342. type: integer
  13343. enumdicname:
  13344. description: 单位名称(商品)
  13345. type: string
  13346. goodscode:
  13347. description: 商品代码(内部)
  13348. type: string
  13349. goodsid:
  13350. description: 商品ID
  13351. type: integer
  13352. goodsname:
  13353. description: 商品名称
  13354. type: string
  13355. goodunitid:
  13356. description: 报价单位ID
  13357. type: integer
  13358. logincode:
  13359. description: 登录代码(账户)
  13360. type: string
  13361. marketid:
  13362. description: 市场id
  13363. type: integer
  13364. offamount:
  13365. description: 优惠金额
  13366. type: number
  13367. operatetype:
  13368. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13369. type: integer
  13370. payamount:
  13371. description: 支付金额(金额)
  13372. type: number
  13373. payflag:
  13374. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13375. type: integer
  13376. paylimitedtime:
  13377. description: 支付期限
  13378. type: string
  13379. paytime:
  13380. description: 付款时间
  13381. type: string
  13382. qtydecimalplace:
  13383. description: 成交量小数位
  13384. type: integer
  13385. sellaccountid:
  13386. description: 卖方账号ID[报价币种]
  13387. type: integer
  13388. sellorderid:
  13389. description: 卖方委托单号
  13390. type: string
  13391. tradeamount:
  13392. description: 成交金额(优惠后金额)
  13393. type: number
  13394. tradecharge:
  13395. description: 成交手续费(买方)
  13396. type: number
  13397. tradedate:
  13398. description: 交易日(yyyyMMdd)
  13399. type: string
  13400. tradeid:
  13401. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13402. type: string
  13403. trademode:
  13404. description: 交易模式
  13405. type: integer
  13406. tradeprice:
  13407. description: 成交价格(价格)
  13408. type: number
  13409. tradeqty:
  13410. description: 成交数量(数量)
  13411. type: number
  13412. tradetime:
  13413. description: 成交时间
  13414. type: string
  13415. userid:
  13416. description: 用户id
  13417. type: integer
  13418. userinfotype:
  13419. description: 账户类型 1-个人 2-企业
  13420. type: integer
  13421. type: object
  13422. models.QhjMyTeamEx:
  13423. properties:
  13424. accountname:
  13425. description: 用户名称
  13426. type: string
  13427. accountstatus:
  13428. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13429. type: integer
  13430. createtime:
  13431. description: 创建时间
  13432. type: string
  13433. mobile:
  13434. description: 手机号码
  13435. type: string
  13436. refereeuserid:
  13437. description: 推荐人id
  13438. type: integer
  13439. refernum:
  13440. description: 推荐码
  13441. type: string
  13442. subList:
  13443. items:
  13444. $ref: '#/definitions/models.QhjMyTeamEx'
  13445. type: array
  13446. userid:
  13447. description: 用户id
  13448. type: integer
  13449. userinfotype:
  13450. description: 用户类型 1-个人 2-企业
  13451. type: integer
  13452. type: object
  13453. models.QhjNodeAgreementConfig:
  13454. properties:
  13455. agreementcontent:
  13456. description: 协议内容
  13457. type: string
  13458. agreementid:
  13459. description: 协议ID
  13460. type: integer
  13461. agreementname:
  13462. description: 协议名称
  13463. type: string
  13464. agreementno:
  13465. description: 协议编号
  13466. type: string
  13467. agreementtype:
  13468. description: 协议类型 - 1:注册 2:登录 3:交易
  13469. type: integer
  13470. agreementversion:
  13471. description: 协议版本号
  13472. type: integer
  13473. configid:
  13474. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13475. type: integer
  13476. createtime:
  13477. description: 创建时间
  13478. type: string
  13479. goodsid:
  13480. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13481. type: integer
  13482. nodetype:
  13483. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13484. type: integer
  13485. type: object
  13486. models.QhjParentAreaList:
  13487. properties:
  13488. accountname:
  13489. description: 账户名称(机构名称)
  13490. type: string
  13491. userid:
  13492. description: 用户ID
  13493. type: integer
  13494. usertype:
  13495. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13496. type: integer
  13497. type: object
  13498. models.QhjPayOrder:
  13499. properties:
  13500. advanceratio:
  13501. description: 首付比率
  13502. type: number
  13503. buyaccountid:
  13504. description: 买方账号ID[报价币种]
  13505. type: integer
  13506. buyorderid:
  13507. description: 买方委托单号
  13508. type: string
  13509. createtime:
  13510. description: 创建时间
  13511. type: string
  13512. decimalplace:
  13513. description: 商品报价小数位
  13514. type: integer
  13515. enumdicname:
  13516. description: 单位名称
  13517. type: string
  13518. goodscode:
  13519. description: 商品代码
  13520. type: string
  13521. goodsid:
  13522. description: 商品ID
  13523. type: integer
  13524. goodsname:
  13525. description: 商品名称
  13526. type: string
  13527. goodunitid:
  13528. description: 商品单位id
  13529. type: integer
  13530. marketid:
  13531. description: 市场ID
  13532. type: integer
  13533. offamount:
  13534. description: 优惠金额
  13535. type: number
  13536. operatetype:
  13537. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13538. type: integer
  13539. payamount:
  13540. description: 支付金额
  13541. type: number
  13542. payflag:
  13543. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13544. type: integer
  13545. paylimitedtime:
  13546. description: 支付期限
  13547. type: string
  13548. paytime:
  13549. description: 付款时间
  13550. type: string
  13551. qtydecimalplace:
  13552. description: 成交量小数位
  13553. type: integer
  13554. sellaccountid:
  13555. description: 卖方账号ID[报价币种]
  13556. type: integer
  13557. sellorderid:
  13558. description: 卖方委托单号
  13559. type: string
  13560. tradeamount:
  13561. description: 成交金额(优惠后金额)
  13562. type: number
  13563. tradecharge:
  13564. description: 成交手续费(买方)
  13565. type: number
  13566. tradedate:
  13567. description: 交易日(yyyyMMdd)
  13568. type: string
  13569. tradeid:
  13570. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13571. type: string
  13572. tradeprice:
  13573. description: 成交价格
  13574. type: number
  13575. tradeqty:
  13576. description: 成交数量
  13577. type: number
  13578. type: object
  13579. models.QhjPickArea:
  13580. properties:
  13581. address:
  13582. description: 详细地址
  13583. type: string
  13584. cityid:
  13585. description: 市
  13586. type: integer
  13587. cityname:
  13588. description: 城市名称
  13589. type: string
  13590. countryid:
  13591. description: 国家
  13592. type: integer
  13593. countryname:
  13594. description: 国家名称
  13595. type: string
  13596. districtid:
  13597. description: 地区
  13598. type: integer
  13599. districtname:
  13600. description: 地区名称
  13601. type: string
  13602. fromuserid:
  13603. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13604. type: integer
  13605. fromusername:
  13606. description: 所属机构名称
  13607. type: string
  13608. provinceid:
  13609. description: 省
  13610. type: integer
  13611. provincename:
  13612. description: 省名称
  13613. type: string
  13614. suborgtype:
  13615. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13616. type: integer
  13617. userid:
  13618. description: 机构用户ID 其他做市关系,都设置为 1
  13619. type: integer
  13620. username:
  13621. description: 机构用户名称(门店门称)
  13622. type: string
  13623. type: object
  13624. models.QhjPickGoods:
  13625. properties:
  13626. enumdicname:
  13627. description: 单位名称(提货商品)
  13628. type: string
  13629. goodsid:
  13630. description: 商品id
  13631. type: integer
  13632. imageaddress:
  13633. description: 图片
  13634. type: string
  13635. modifierid:
  13636. description: 修改人
  13637. type: integer
  13638. modifiername:
  13639. description: 修改人名称
  13640. type: string
  13641. modifysrc:
  13642. description: 修改来源 - 1:管理端 2:终端
  13643. type: integer
  13644. pickupgoodsagreeunit:
  13645. description: 合约乘数
  13646. type: number
  13647. pickupgoodsdesc:
  13648. description: 描述
  13649. type: string
  13650. pickupgoodsid:
  13651. description: 提货商品ID
  13652. type: string
  13653. pickupgoodsname:
  13654. description: 提货商品名称
  13655. type: string
  13656. pickupgoodsstatus:
  13657. description: 状态 - 1:正常 2:停用 3:注销
  13658. type: integer
  13659. pickupgoodsunitid:
  13660. description: 单位ID
  13661. type: integer
  13662. pickupratio:
  13663. description: 提货系数
  13664. type: number
  13665. preparedays:
  13666. description: 备货期(天)
  13667. type: integer
  13668. remark:
  13669. description: 备注
  13670. type: string
  13671. updatetime:
  13672. description: 更新时间
  13673. type: string
  13674. type: object
  13675. models.QhjRSTriggerLog:
  13676. properties:
  13677. accountid:
  13678. description: 用户资金账户
  13679. type: integer
  13680. accountname:
  13681. description: 账号名称(ACCOUNTID对应的名称)
  13682. type: string
  13683. currencyid:
  13684. description: 币种id
  13685. type: integer
  13686. currencyname:
  13687. description: 币种名称
  13688. type: string
  13689. decimalplace:
  13690. description: 商品报价小数位
  13691. type: integer
  13692. enumdicname:
  13693. description: 单位名称
  13694. type: string
  13695. goodscode:
  13696. description: 定投商品代码
  13697. type: string
  13698. goodsid:
  13699. description: 定投商品ID
  13700. type: integer
  13701. goodsname:
  13702. description: 定投商品名称
  13703. type: string
  13704. goodunitid:
  13705. description: 定投商品单位id
  13706. type: integer
  13707. logid:
  13708. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13709. type: string
  13710. logincode:
  13711. description: 账号(登录代码)
  13712. type: string
  13713. qtydecimalplace:
  13714. description: 成交量小数位
  13715. type: integer
  13716. regularlycycle:
  13717. description: 定投频率 - 1:每周 2:每月
  13718. type: integer
  13719. regularlycyclevalue:
  13720. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13721. type: string
  13722. regularlymode:
  13723. description: 定投方式 - 1:按数量 2:按金额
  13724. type: integer
  13725. regularlymodevalue:
  13726. description: 定投方式值 - 数量或金额
  13727. type: number
  13728. regularlystrategyid:
  13729. description: 定投策略ID
  13730. type: integer
  13731. retcode:
  13732. description: 错误码
  13733. type: string
  13734. tradeid:
  13735. description: 成交单ID
  13736. type: string
  13737. triggeramount:
  13738. description: 触发金额
  13739. type: number
  13740. triggerqty:
  13741. description: 触发数量
  13742. type: number
  13743. triggerstatus:
  13744. description: 触发状态 - 1:成功 2:失败
  13745. type: integer
  13746. triggertime:
  13747. description: 触发时间
  13748. type: string
  13749. triggertradedate:
  13750. description: 触发交易日
  13751. type: string
  13752. userid:
  13753. description: 所属用户ID
  13754. type: integer
  13755. userinfotype:
  13756. description: 用户类型 1-个人 2-企业
  13757. type: integer
  13758. username:
  13759. description: 用户名称(userid对应的名称)
  13760. type: string
  13761. type: object
  13762. models.QhjRStrategy:
  13763. properties:
  13764. accountid:
  13765. description: 用户资金账户
  13766. type: integer
  13767. accountname:
  13768. description: 账号名称(ACCOUNTID对应的名称)
  13769. type: string
  13770. currencyid:
  13771. description: 币种id
  13772. type: integer
  13773. currencyname:
  13774. description: 币种名称
  13775. type: string
  13776. decimalplace:
  13777. description: 商品报价小数位
  13778. type: integer
  13779. enumdicname:
  13780. description: 单位名称
  13781. type: string
  13782. goodscode:
  13783. description: 定投商品代码
  13784. type: string
  13785. goodsid:
  13786. description: 定投商品ID
  13787. type: integer
  13788. goodsname:
  13789. description: 定投商品名称
  13790. type: string
  13791. goodunitid:
  13792. description: 定投商品单位id
  13793. type: integer
  13794. lasteffecttradedate:
  13795. description: 最新生效交易日
  13796. type: string
  13797. laststoptradedate:
  13798. description: 最新暂停交易日
  13799. type: string
  13800. lasttriggertradedate:
  13801. description: 最新触发交易日
  13802. type: string
  13803. logincode:
  13804. description: 账号(登录代码)
  13805. type: string
  13806. nexttriggeramount:
  13807. description: 下次触发金额
  13808. type: number
  13809. nexttriggerdate:
  13810. description: 下次触发日期
  13811. type: string
  13812. nexttriggerqty:
  13813. description: 下次触发数量 [按小数位放大值]
  13814. type: number
  13815. qtydecimalplace:
  13816. description: 成交量小数位
  13817. type: integer
  13818. regularlycycle:
  13819. description: 定投频率 - 1:每周 2:每月
  13820. type: integer
  13821. regularlycyclevalue:
  13822. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13823. type: string
  13824. regularlymode:
  13825. description: 定投方式 - 1:按数量 2:按金额
  13826. type: integer
  13827. regularlymodevalue:
  13828. description: 定投方式值 - 数量或金额
  13829. type: number
  13830. regularlystrategyid:
  13831. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13832. type: integer
  13833. regularlystrategystatus:
  13834. description: 策略状态 - 1:正常 2:暂停 3:终止
  13835. type: integer
  13836. remark:
  13837. description: 备注
  13838. type: string
  13839. triggersuccesstimes:
  13840. description: 累计定投成功次数
  13841. type: string
  13842. triggertotalamount:
  13843. description: 累计定投金额(成功)
  13844. type: number
  13845. triggertotalqty:
  13846. description: 累计定投数量(成功) [按小数位放大值]
  13847. type: number
  13848. triggertotaltimes:
  13849. description: 累计定投总次数
  13850. type: string
  13851. updatesrc:
  13852. description: 更新来源 - 1:管理端 2:终端
  13853. type: integer
  13854. updatetime:
  13855. description: 更新时间
  13856. type: string
  13857. updatorid:
  13858. description: 更新人
  13859. type: string
  13860. userid:
  13861. description: 所属用户ID
  13862. type: integer
  13863. userinfotype:
  13864. description: 用户类型 1-个人 2-企业
  13865. type: integer
  13866. username:
  13867. description: 用户名称(userid对应的名称)
  13868. type: string
  13869. type: object
  13870. models.QhjReckonPriceLog:
  13871. properties:
  13872. decimalplace:
  13873. description: 商品报价小数位
  13874. type: integer
  13875. goodscode:
  13876. description: 商品代码
  13877. type: string
  13878. goodsid:
  13879. description: 商品ID
  13880. type: integer
  13881. goodsname:
  13882. description: 商品名称
  13883. type: string
  13884. lastreckonprice:
  13885. description: 上日结算价
  13886. type: number
  13887. nextdnlimitprice:
  13888. description: 下个交易日跌停价
  13889. type: number
  13890. nexttrade:
  13891. description: 下个交易日
  13892. type: string
  13893. nextuplimitprice:
  13894. description: 下个交易日涨停价
  13895. type: number
  13896. reckonprice:
  13897. description: 今日结算价(定投价)
  13898. type: number
  13899. reckontime:
  13900. description: 结算时间
  13901. type: string
  13902. totalholderqty:
  13903. description: 总持仓数
  13904. type: integer
  13905. totalstock:
  13906. description: 总库存
  13907. type: integer
  13908. tradedate:
  13909. description: 交易日
  13910. type: string
  13911. updowncount:
  13912. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13913. type: integer
  13914. updownflag:
  13915. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13916. type: integer
  13917. updownrate:
  13918. description: 今日涨跌幅
  13919. type: number
  13920. updownrate_2d:
  13921. description: 连续两日涨跌幅
  13922. type: number
  13923. updownrate_3d:
  13924. description: 连续三日涨跌幅
  13925. type: number
  13926. type: object
  13927. models.QhjScoreLog:
  13928. properties:
  13929. accountid:
  13930. description: 账户ID
  13931. type: integer
  13932. createtime:
  13933. description: 创建时间(时间)
  13934. type: string
  13935. goodsid:
  13936. description: 商品ID
  13937. type: integer
  13938. hasuploaded:
  13939. description: 是否已同步(千海金) 0:未同步 1;已同步
  13940. type: integer
  13941. logid:
  13942. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13943. type: string
  13944. marketid:
  13945. description: 市场ID
  13946. type: integer
  13947. relatedamount:
  13948. description: 关联金额
  13949. type: number
  13950. relatedorderid:
  13951. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13952. type: string
  13953. scoreconfigvalue1:
  13954. description: 积分配置1
  13955. type: integer
  13956. scoreconfigvalue2:
  13957. description: 积分配置1
  13958. type: integer
  13959. scoretype:
  13960. description: 积分类型 - 1:提货积分
  13961. type: integer
  13962. scorevalue:
  13963. description: 积分
  13964. type: number
  13965. tradedate:
  13966. description: 交易日(yyyyMMdd)
  13967. type: string
  13968. uploadedtime:
  13969. description: 同步时间
  13970. type: string
  13971. userid:
  13972. description: 用户ID
  13973. type: integer
  13974. type: object
  13975. models.QhjSiteColumnDetail:
  13976. properties:
  13977. author:
  13978. description: 作者
  13979. type: string
  13980. brief:
  13981. description: 简介
  13982. type: string
  13983. columnid:
  13984. description: 所属栏目
  13985. type: integer
  13986. context:
  13987. description: 内容
  13988. type: string
  13989. coverimage:
  13990. description: 封面图片
  13991. type: string
  13992. creaedate:
  13993. description: 创建时间
  13994. type: string
  13995. creatorid:
  13996. description: 创建人
  13997. type: integer
  13998. hits:
  13999. description: 点击数
  14000. type: integer
  14001. id:
  14002. description: ID(SEQ_SITE_COLUMNDETAIL)
  14003. type: integer
  14004. isshow:
  14005. description: 是否展示 - 0:不展示 1:展示
  14006. type: integer
  14007. istop:
  14008. description: 是否置顶 - 0:不置 1:置顶
  14009. type: integer
  14010. modifierid:
  14011. description: 操作人
  14012. type: integer
  14013. publishdate:
  14014. description: 发布日期
  14015. type: string
  14016. status:
  14017. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14018. type: integer
  14019. title:
  14020. description: 标题
  14021. type: string
  14022. updatedate:
  14023. description: 修改时间
  14024. type: string
  14025. userid:
  14026. description: 用户ID(默认为0, 核心为为机构用户ID)
  14027. type: integer
  14028. username:
  14029. description: 用户名称
  14030. type: string
  14031. type: object
  14032. models.QhjTeamOrder:
  14033. properties:
  14034. accountid:
  14035. description: 账户ID[报价币种]
  14036. type: integer
  14037. accountname:
  14038. description: 账户名称
  14039. type: string
  14040. agreeunit:
  14041. description: 合约乘数
  14042. type: number
  14043. buyorsell:
  14044. description: 方向 - 0:买 1:卖
  14045. type: integer
  14046. decimalplace:
  14047. description: 报价小数位
  14048. type: integer
  14049. enumdicname:
  14050. description: 单位名称
  14051. type: string
  14052. goodscode:
  14053. description: 商品代码(内部)
  14054. type: string
  14055. goodsid:
  14056. description: 商品ID
  14057. type: integer
  14058. goodsname:
  14059. description: 商品名称
  14060. type: string
  14061. goodunitid:
  14062. description: 报价单位ID
  14063. type: integer
  14064. marketid:
  14065. description: 市场ID
  14066. type: integer
  14067. marketname:
  14068. description: 市场名称
  14069. type: string
  14070. qtydecimalplace:
  14071. description: 成交量小数位
  14072. type: integer
  14073. refereeuserid:
  14074. description: 推荐人ID
  14075. type: integer
  14076. tradeamount:
  14077. description: 成交金额[账户币种,用于所有权]
  14078. type: number
  14079. tradedate:
  14080. description: 交易日(yyyyMMdd)
  14081. type: string
  14082. trademode:
  14083. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14084. 21:竞拍-大宗式 22:受托竞价
  14085. type: integer
  14086. tradeprice:
  14087. description: 成交价格
  14088. type: number
  14089. tradeqty:
  14090. description: 成交数量
  14091. type: number
  14092. tradetime:
  14093. description: 成交时间
  14094. type: string
  14095. userid:
  14096. description: 用户ID
  14097. type: integer
  14098. type: object
  14099. models.QhjTradeGoodsPickup:
  14100. properties:
  14101. accountid:
  14102. description: 账户ID
  14103. type: integer
  14104. address:
  14105. description: 提货人详细地址
  14106. type: string
  14107. amount:
  14108. description: 提货金额
  14109. type: number
  14110. artradedate:
  14111. description: 自动收货交易日(yyyyMMdd)
  14112. type: string
  14113. auditer:
  14114. description: 审核人
  14115. type: integer
  14116. auditsrc:
  14117. description: 更新来源 - 1:管理端 2:终端
  14118. type: integer
  14119. audittime:
  14120. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14121. type: string
  14122. audittradedate:
  14123. description: 审核交易日(yyyyMMdd)
  14124. type: string
  14125. cardnum:
  14126. description: 提货人证件号码
  14127. type: string
  14128. cardtypeid:
  14129. description: 提货人证件类型
  14130. type: integer
  14131. checkremark:
  14132. description: 审核备注
  14133. type: string
  14134. cityid:
  14135. description: 市
  14136. type: integer
  14137. cityname:
  14138. description: 城市名称
  14139. type: string
  14140. confirmtime:
  14141. description: 取货时间 或 收货时间
  14142. type: string
  14143. countryid:
  14144. description: 国家
  14145. type: integer
  14146. countryname:
  14147. description: 国家名称
  14148. type: string
  14149. decimalplace:
  14150. description: 商品报价小数位
  14151. type: integer
  14152. districtid:
  14153. description: 地区
  14154. type: integer
  14155. districtname:
  14156. description: 地区名称
  14157. type: string
  14158. enumdicname:
  14159. description: 单位名称(提货商品)
  14160. type: string
  14161. expresscompany:
  14162. description: 物流公司
  14163. type: string
  14164. expressnum:
  14165. description: 物流单号
  14166. type: string
  14167. goodsagreeunit:
  14168. description: 交易商品乘数
  14169. type: number
  14170. goodscode:
  14171. description: 商品代码
  14172. type: string
  14173. goodsid:
  14174. description: 商品ID
  14175. type: integer
  14176. goodsname:
  14177. description: 商品名称
  14178. type: string
  14179. goodsqty:
  14180. description: 交易商品手数(69模式按成交量小数位放大取整)
  14181. type: number
  14182. handlestatus:
  14183. description: 处理状态
  14184. type: integer
  14185. logincode:
  14186. description: 账号(登录代码, 有可能为空)
  14187. type: string
  14188. marketid:
  14189. description: 市场ID
  14190. type: integer
  14191. phonenum:
  14192. description: 提货人联系方式
  14193. type: string
  14194. pickupgoodsagreeunit:
  14195. description: 提货商品合约乘数
  14196. type: number
  14197. pickupgoodsid:
  14198. description: 提货商品ID
  14199. type: string
  14200. pickupgoodsname:
  14201. description: 提货商品名称
  14202. type: string
  14203. pickupgoodsqty:
  14204. description: 提货商品手数(数量)
  14205. type: number
  14206. pickupgoodsunitid:
  14207. description: 单位ID(提货商品)
  14208. type: integer
  14209. pickupratio:
  14210. description: 提货系数
  14211. type: number
  14212. preparedays:
  14213. description: 备货期(天)-提货单明细表
  14214. type: integer
  14215. provinceid:
  14216. description: 省
  14217. type: integer
  14218. provincename:
  14219. description: 省名称
  14220. type: string
  14221. qty:
  14222. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14223. type: number
  14224. qtydecimalplace:
  14225. description: 商品数量小数位
  14226. type: integer
  14227. recivername:
  14228. description: 提货人姓名
  14229. type: string
  14230. reqtime:
  14231. description: 提货申请时间
  14232. type: string
  14233. storeuserid:
  14234. description: 门店用户ID (千海金)
  14235. type: integer
  14236. storeusername:
  14237. description: 门店用户名称
  14238. type: string
  14239. takemode:
  14240. description: 提货方式 - 2:自提 3:配送(邮寄)
  14241. type: integer
  14242. takeorderid:
  14243. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14244. type: string
  14245. takeorderstatus:
  14246. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14247. 7:已拒绝 8:已撤销
  14248. type: integer
  14249. takeremark:
  14250. description: 提货备注
  14251. type: string
  14252. tradedate:
  14253. description: 交易日(yyyyMMdd)
  14254. type: string
  14255. updatetime:
  14256. description: 更新时间
  14257. type: string
  14258. userid:
  14259. description: 用户ID
  14260. type: integer
  14261. userinfotype:
  14262. description: 客户类型 1-个人 2-企业
  14263. type: integer
  14264. username:
  14265. description: 用户名称
  14266. type: string
  14267. type: object
  14268. models.QhjUserNodeCfgAndStatus:
  14269. properties:
  14270. agreementcontent:
  14271. description: 协议内容
  14272. type: string
  14273. agreementid:
  14274. description: 协议ID
  14275. type: integer
  14276. agreementname:
  14277. description: 协议名称
  14278. type: string
  14279. agreementno:
  14280. description: 协议编号
  14281. type: string
  14282. agreementtype:
  14283. description: 协议类型 - 1:注册 2:登录 3:交易
  14284. type: integer
  14285. agreementversion:
  14286. description: 协议版本号
  14287. type: integer
  14288. configid:
  14289. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14290. type: integer
  14291. createtime:
  14292. description: 创建时间
  14293. type: string
  14294. goodsid:
  14295. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14296. type: integer
  14297. nodetype:
  14298. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14299. type: integer
  14300. signtimestamp:
  14301. description: 签约状态时间戳(最近一次)
  14302. type: string
  14303. tradedate:
  14304. description: 签约交易日(yyyyMMdd)
  14305. type: string
  14306. userid:
  14307. description: 客户ID
  14308. type: integer
  14309. type: object
  14310. models.Qhjgoodsex:
  14311. properties:
  14312. canfinance:
  14313. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14314. type: integer
  14315. canregularlybuy:
  14316. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14317. type: integer
  14318. defaulttradeuserid:
  14319. description: 默认交易用户ID
  14320. type: integer
  14321. deliverygoodsid:
  14322. description: 现货品种ID
  14323. type: integer
  14324. goodsid:
  14325. description: 商品ID(自增ID SEQ_GOODS)
  14326. type: integer
  14327. minamount:
  14328. description: 最小购买金额
  14329. type: number
  14330. regularlybuyminamount:
  14331. description: 定投最小金额
  14332. type: number
  14333. regularlybuyminqty:
  14334. description: 定投最小数量
  14335. type: number
  14336. spotgoodsbrandid:
  14337. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14338. type: integer
  14339. visibilityforenterprise:
  14340. description: 企业客户是否可见 - 0:不可见 1:可见
  14341. type: integer
  14342. visibilityforpersonal:
  14343. description: 个人客户是否可见 - 0:不可见 1:可见
  14344. type: integer
  14345. wrstandardid:
  14346. description: 现货商品ID
  14347. type: integer
  14348. type: object
  14349. models.QueryErrorInfosRsp:
  14350. properties:
  14351. description:
  14352. description: 异常描述
  14353. type: string
  14354. errorcode:
  14355. description: 异常代码
  14356. type: string
  14357. errorid:
  14358. description: 异常ID
  14359. type: integer
  14360. modulecode:
  14361. description: 所属模块
  14362. type: string
  14363. operatecode:
  14364. description: 所属操作
  14365. type: string
  14366. rownumber:
  14367. description: 行号
  14368. type: string
  14369. required:
  14370. - errorid
  14371. type: object
  14372. models.QueryHedgeOrderDetailRsp:
  14373. properties:
  14374. accountid:
  14375. description: 账户ID
  14376. type: integer
  14377. buyorsell:
  14378. description: 买卖 - 0:买 1:卖
  14379. type: integer
  14380. cancellogincode:
  14381. description: 撤单人
  14382. type: string
  14383. channelbuildtype:
  14384. description: 开平标志 - 0:无 1:建仓 2:平仓
  14385. type: integer
  14386. channelinnerorderstatus:
  14387. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14388. 9:全部成交
  14389. type: integer
  14390. channeloperatetype:
  14391. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14392. type: integer
  14393. closetype:
  14394. description: 平仓方式 - 0:无 1:平今 2:平昨
  14395. type: integer
  14396. curexchangerate:
  14397. description: 当前汇率
  14398. type: number
  14399. decimalplace:
  14400. description: 商品报价小数位
  14401. type: integer
  14402. exchangefullname:
  14403. description: 外部交易所全称
  14404. type: string
  14405. goodscode:
  14406. description: 商品代码(内部)
  14407. type: string
  14408. goodsid:
  14409. description: 商品ID
  14410. type: integer
  14411. goodsname:
  14412. description: 商品名称
  14413. type: string
  14414. marketid:
  14415. description: 市场ID
  14416. type: integer
  14417. openfreezemargin:
  14418. description: 冻结保证金(冻结交易金额)
  14419. type: number
  14420. orderid:
  14421. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14422. type: string
  14423. orderlogincode:
  14424. description: 委托人
  14425. type: string
  14426. orderprice:
  14427. description: 委托价格(账户)
  14428. type: number
  14429. orderqty:
  14430. description: 委托数量
  14431. type: integer
  14432. ordertime:
  14433. description: 委托时间
  14434. type: string
  14435. pricemode:
  14436. description: '取价方式 - 1:市价 2: 限价'
  14437. type: integer
  14438. tradedate:
  14439. description: 交易日(yyyyMMdd)
  14440. type: string
  14441. tradeqty:
  14442. description: 成交数量
  14443. type: integer
  14444. type: object
  14445. models.QueryHedgeTradeDetailRsp:
  14446. properties:
  14447. accountid:
  14448. description: 账号ID
  14449. type: integer
  14450. buyorsell:
  14451. description: 方向 - 0:买 1:卖
  14452. type: integer
  14453. channelbuildtype:
  14454. description: 委托单据类型 0:无 1:建仓 2:平仓
  14455. type: integer
  14456. closecharge:
  14457. description: 平仓手续费(账户)
  14458. type: number
  14459. closecharge2:
  14460. description: 平仓手续费(商品)
  14461. type: number
  14462. closepl:
  14463. description: 平仓盈亏(账户)
  14464. type: number
  14465. closepl2:
  14466. description: 平仓盈亏(商品)
  14467. type: number
  14468. closepl3:
  14469. description: 平仓盈亏(账户)(逐笔)
  14470. type: number
  14471. closepl4:
  14472. description: 平仓盈亏(商品)(逐笔)
  14473. type: number
  14474. closetype:
  14475. description: 平仓方式 - 0:无 1:平今 2:平昨
  14476. type: integer
  14477. curexchangerate:
  14478. description: 当前汇率
  14479. type: number
  14480. decimalplace:
  14481. description: 商品报价小数位
  14482. type: integer
  14483. exchangefullname:
  14484. description: 外部交易所全称
  14485. type: string
  14486. goodscode:
  14487. description: 商品代码(内部)
  14488. type: string
  14489. goodsid:
  14490. description: 商品ID
  14491. type: integer
  14492. goodsname:
  14493. description: 商品名称
  14494. type: string
  14495. marketid:
  14496. description: 市场ID
  14497. type: integer
  14498. opencharge:
  14499. description: 建仓手续费(账户)
  14500. type: number
  14501. opencharge2:
  14502. description: 建仓手续费(商品)
  14503. type: number
  14504. orderid:
  14505. description: 委托单号
  14506. type: string
  14507. orderlogincode:
  14508. description: 委托人
  14509. type: string
  14510. tradeamount:
  14511. description: 成交金额(账户)
  14512. type: number
  14513. tradedate:
  14514. description: 交易日(yyyyMMdd)
  14515. type: string
  14516. tradeid:
  14517. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14518. type: string
  14519. tradeprice:
  14520. description: 成交价格
  14521. type: number
  14522. tradeqty:
  14523. description: 成交数量
  14524. type: integer
  14525. tradetime:
  14526. description: 成交时间
  14527. type: string
  14528. tradetype:
  14529. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14530. type: integer
  14531. type: object
  14532. models.QuotePrimaryMenu:
  14533. properties:
  14534. Index:
  14535. description: 序号
  14536. type: integer
  14537. Key:
  14538. description: 键名
  14539. type: string
  14540. Name:
  14541. description: 菜单名称
  14542. type: string
  14543. SubMenus:
  14544. description: 子菜单
  14545. items:
  14546. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14547. type: array
  14548. SubTitleType:
  14549. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14550. type: integer
  14551. TradeModes:
  14552. description: 包含市场交易类型
  14553. type: string
  14554. type: object
  14555. models.QuoteSecondaryMenu:
  14556. properties:
  14557. ExExchangeCode:
  14558. description: 外部交易所代码
  14559. type: string
  14560. ExExchangeID:
  14561. description: 外部交易所ID
  14562. type: integer
  14563. GoodsGroupIDs:
  14564. description: 商品组ID列表
  14565. items:
  14566. type: integer
  14567. type: array
  14568. Index:
  14569. description: 序号
  14570. type: integer
  14571. MarketID:
  14572. description: 市场ID
  14573. type: integer
  14574. MenuTitle:
  14575. description: 菜单标题(市场名称或外部交易所名称)
  14576. type: string
  14577. TradeMode:
  14578. description: 交易模式
  14579. type: integer
  14580. type: object
  14581. models.RelatedTaAccount:
  14582. properties:
  14583. accountid:
  14584. description: 资金账户ID
  14585. type: integer
  14586. type: object
  14587. models.RoleMenu:
  14588. properties:
  14589. hasright:
  14590. description: 是否有权限 0-没有权限 1-有权限
  14591. type: integer
  14592. iconame:
  14593. description: 菜单图标
  14594. type: string
  14595. menutype:
  14596. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14597. type: integer
  14598. parentcode:
  14599. description: 上级资源代码
  14600. type: string
  14601. remark:
  14602. description: 菜单备注
  14603. type: string
  14604. resourcecode:
  14605. description: 菜单代码
  14606. type: string
  14607. resourcelevel:
  14608. description: 级别
  14609. type: integer
  14610. resourcename:
  14611. description: 菜单名称
  14612. type: string
  14613. roleid:
  14614. description: 角色id
  14615. type: integer
  14616. sort:
  14617. description: 排序
  14618. type: integer
  14619. subMenu:
  14620. description: 子级菜单(结构同上层一样, swag解析不出来)
  14621. items:
  14622. $ref: '#/definitions/models.RoleMenu'
  14623. type: array
  14624. url:
  14625. description: URL
  14626. type: string
  14627. userid:
  14628. description: 用户id
  14629. type: integer
  14630. type: object
  14631. models.SearchGoods:
  14632. properties:
  14633. goodscode:
  14634. description: 商品代码(内部)
  14635. type: string
  14636. goodsid:
  14637. description: 商品ID(自增ID SEQ_GOODS)
  14638. type: integer
  14639. goodsname:
  14640. description: 商品名称
  14641. type: string
  14642. marketid:
  14643. description: 所属市场ID
  14644. type: integer
  14645. marketname:
  14646. description: 市场名称
  14647. type: string
  14648. trademode:
  14649. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14650. 21:竞拍-大宗式 22:受托竞价
  14651. type: integer
  14652. required:
  14653. - goodscode
  14654. - goodsid
  14655. - goodsname
  14656. - marketid
  14657. - trademode
  14658. type: object
  14659. models.Systemparam:
  14660. properties:
  14661. loginid:
  14662. description: 更新用户账号,登录账号
  14663. type: string
  14664. modifyflag:
  14665. description: 修改标志0 不允许修改 1 允许修改
  14666. type: integer
  14667. paramcode:
  14668. description: 参数代码
  14669. type: string
  14670. paramname:
  14671. description: 参数名
  14672. type: string
  14673. paramtype:
  14674. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14675. type: integer
  14676. paramvalue:
  14677. description: 参数值
  14678. type: string
  14679. paramvalue2:
  14680. description: 参数值(CLOB)
  14681. type: string
  14682. regexpress:
  14683. description: 正则表达式
  14684. type: string
  14685. remark:
  14686. description: 备注
  14687. type: string
  14688. serverip:
  14689. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14690. type: string
  14691. showflag:
  14692. description: 是否显示0 不显示 1 显示
  14693. type: integer
  14694. updatetime:
  14695. description: 更新时间
  14696. type: string
  14697. userid:
  14698. description: 更新用户ID
  14699. type: integer
  14700. required:
  14701. - paramcode
  14702. type: object
  14703. models.Szdz3convertconfig:
  14704. properties:
  14705. canin:
  14706. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14707. type: integer
  14708. canout:
  14709. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14710. type: integer
  14711. converttype:
  14712. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14713. 6:交易转花生米(不设置)
  14714. type: integer
  14715. createtime:
  14716. description: 创建时间
  14717. type: string
  14718. creatorid:
  14719. description: 创建人
  14720. type: integer
  14721. daymaxvalue:
  14722. description: 当日最大转入限制
  14723. type: number
  14724. freezedays:
  14725. description: 冻结天数 [5:花生米转交易]
  14726. type: integer
  14727. innergoodsid:
  14728. description: 内部商品ID[交易]
  14729. type: integer
  14730. inratio:
  14731. description: 目标值
  14732. type: integer
  14733. modifierid:
  14734. description: 修改人
  14735. type: integer
  14736. modifytime:
  14737. description: 修改时间
  14738. type: string
  14739. outergoodscode:
  14740. description: 外部商品代码[JD\PD]
  14741. type: string
  14742. outratio:
  14743. description: 源值
  14744. type: integer
  14745. pddecimalplace:
  14746. description: PD小数位
  14747. type: integer
  14748. timemaxvalue:
  14749. description: 单次最大转入限制
  14750. type: number
  14751. timeminvalue:
  14752. description: 单次最小转入限制
  14753. type: number
  14754. required:
  14755. - converttype
  14756. - innergoodsid
  14757. - outergoodscode
  14758. type: object
  14759. models.Szdz3searchwhitelist:
  14760. properties:
  14761. createtime:
  14762. description: 创建时间
  14763. type: string
  14764. creatorid:
  14765. description: 创建人
  14766. type: integer
  14767. modifierid:
  14768. description: 修改人
  14769. type: integer
  14770. modifytime:
  14771. description: 修改时间
  14772. type: string
  14773. userid:
  14774. description: 用户ID
  14775. type: integer
  14776. required:
  14777. - userid
  14778. type: object
  14779. models.TBGoods:
  14780. properties:
  14781. agreeunit:
  14782. description: 合约乘数
  14783. type: number
  14784. enumdicname:
  14785. description: 单位名称
  14786. type: string
  14787. goodscode:
  14788. description: 商品代码(内部)
  14789. type: string
  14790. goodsid:
  14791. description: 商品ID(自增ID SEQ_GOODS)
  14792. type: integer
  14793. goodsname:
  14794. description: 商品名称
  14795. type: string
  14796. type: object
  14797. models.TBGoodsGroup:
  14798. properties:
  14799. GDLST:
  14800. description: 商品列表
  14801. items:
  14802. $ref: '#/definitions/models.TBGoods'
  14803. type: array
  14804. convertratio:
  14805. description: 折算系数
  14806. type: number
  14807. enumdicname:
  14808. description: 单位名称
  14809. type: string
  14810. exexchangecode:
  14811. description: 交易所代码
  14812. type: string
  14813. exexchangename:
  14814. description: 交易所名称
  14815. type: string
  14816. goodsgroupid:
  14817. description: 商品组ID(自增ID)
  14818. type: integer
  14819. goodsgroupname:
  14820. description: 商品组名称
  14821. type: string
  14822. goodunitid:
  14823. description: 报价单位ID
  14824. type: integer
  14825. type: object
  14826. models.TBMiddleGoods:
  14827. properties:
  14828. GPLST:
  14829. description: 期货品种列表
  14830. items:
  14831. $ref: '#/definitions/models.TBGoodsGroup'
  14832. type: array
  14833. WDLST:
  14834. description: 商品信息列表(现货品类)
  14835. items:
  14836. $ref: '#/definitions/models.TBWrstandard'
  14837. type: array
  14838. areauserid:
  14839. description: 机构用户ID
  14840. type: integer
  14841. enumdicname:
  14842. description: 单位名称
  14843. type: string
  14844. goodsunitid:
  14845. description: 套保品种单位id
  14846. type: integer
  14847. middlegoodscode:
  14848. description: 套保品种代码
  14849. type: string
  14850. middlegoodsid:
  14851. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14852. type: integer
  14853. middlegoodsname:
  14854. description: 套保品种名称
  14855. type: string
  14856. needarbitrageratio:
  14857. description: 套利比率
  14858. type: number
  14859. needhedgeratio:
  14860. description: 套保比率
  14861. type: number
  14862. type: object
  14863. models.TBWrstandard:
  14864. properties:
  14865. convertratio:
  14866. description: 折算系数
  14867. type: number
  14868. deliverygoodsname:
  14869. description: 品种名称
  14870. type: string
  14871. enumdicname:
  14872. description: 单位名称
  14873. type: string
  14874. vatrate:
  14875. description: 增值税率
  14876. type: number
  14877. wrstandardcode:
  14878. description: 现货商品代码
  14879. type: string
  14880. wrstandardid:
  14881. description: 现货商品ID(SEQ_WRSTANDARD)
  14882. type: integer
  14883. wrstandardname:
  14884. description: 现货商品名称
  14885. type: string
  14886. type: object
  14887. models.Taaccount:
  14888. properties:
  14889. accountflag:
  14890. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14891. type: integer
  14892. accountid:
  14893. description: 资金账户ID
  14894. type: integer
  14895. accountname:
  14896. description: 账户名称
  14897. type: string
  14898. balance:
  14899. description: 期初余额
  14900. type: number
  14901. capitalbalance:
  14902. description: 本金余额[外部子账户实际出入金余额]
  14903. type: number
  14904. changeflag:
  14905. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14906. type: integer
  14907. changetime:
  14908. description: 账户状态变更时间
  14909. type: string
  14910. closepl:
  14911. description: 今日平仓盈亏
  14912. type: number
  14913. creditdecrease:
  14914. description: 今日授信减少
  14915. type: number
  14916. creditincrease:
  14917. description: 今日授信增加
  14918. type: number
  14919. curamount:
  14920. description: 总市值(从持仓中统计)
  14921. type: number
  14922. currencyid:
  14923. description: 货币ID
  14924. type: integer
  14925. currentbalance:
  14926. description: 期末余额
  14927. type: number
  14928. freezecharge:
  14929. description: 手续费冻结
  14930. type: number
  14931. freezemargin:
  14932. description: 冻结保证金
  14933. type: number
  14934. fromaccountid:
  14935. description: 所属上级账户
  14936. type: integer
  14937. inamount:
  14938. description: 今日入金金额(包括三方入金)
  14939. type: number
  14940. ismain:
  14941. description: 是否母账号 0:不是母账户 1:是母账户
  14942. type: integer
  14943. ismarketaccount:
  14944. description: 是否机构接单账号 0:不是 1:是
  14945. type: integer
  14946. isreckonaccount:
  14947. description: 是否机构分润账号 0:不是 1:是
  14948. type: integer
  14949. mortgagecredit:
  14950. description: 授信金额
  14951. type: number
  14952. orifreezecharge:
  14953. description: 期初手续费冻结
  14954. type: number
  14955. orifreezemargin:
  14956. description: 期初冻结保证金
  14957. type: number
  14958. orimortgagecredit:
  14959. description: 期初授信金额
  14960. type: number
  14961. oriothercredit:
  14962. description: 期初其它授信金额
  14963. type: number
  14964. oriotherfreezemargin:
  14965. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14966. type: number
  14967. orioutamountfreeze:
  14968. description: 期初出金冻结
  14969. type: number
  14970. oriusedmargin:
  14971. description: 期初占用保证金
  14972. type: number
  14973. othercredit:
  14974. description: 其它授信金额
  14975. type: number
  14976. othercreditdecrease:
  14977. description: 今日其它授信减少
  14978. type: number
  14979. othercreditincrease:
  14980. description: 今日其它授信增加
  14981. type: number
  14982. otherfreezemargin:
  14983. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14984. type: number
  14985. otherincome:
  14986. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14987. type: number
  14988. otherpay:
  14989. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14990. type: number
  14991. outamount:
  14992. description: 今日出金金额(包括三方出金)
  14993. type: number
  14994. outamountfreeze:
  14995. description: 出金冻结
  14996. type: number
  14997. outthreshold:
  14998. description: 出金阈值
  14999. type: number
  15000. parentaccountid:
  15001. description: 所属根账号
  15002. type: integer
  15003. paycharge:
  15004. description: 今日手续费支出
  15005. type: number
  15006. relatedaccountstatus:
  15007. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15008. type: integer
  15009. relateduserid:
  15010. description: 关联用户
  15011. type: integer
  15012. remainamount:
  15013. description: 融资额(从融资合同中统计)
  15014. type: number
  15015. serivcegroup:
  15016. description: 服务分组
  15017. type: integer
  15018. signstatus:
  15019. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15020. type: integer
  15021. sublevelpath:
  15022. description: 账号层级路径(逗号分隔,首尾加逗号)
  15023. type: string
  15024. taaccounttype:
  15025. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15026. type: integer
  15027. thirdinamount:
  15028. description: 今日三方入金
  15029. type: number
  15030. thirdoutamount:
  15031. description: 今日三方出金
  15032. type: number
  15033. tradestatus:
  15034. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15035. type: integer
  15036. tradestatuschangetime:
  15037. description: 激活时间
  15038. type: string
  15039. transferamount:
  15040. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15041. type: number
  15042. usedmargin:
  15043. description: 占用保证金
  15044. type: number
  15045. userid:
  15046. description: 用户ID
  15047. type: integer
  15048. required:
  15049. - accountid
  15050. - userid
  15051. type: object
  15052. models.Tablecolumnconfig:
  15053. properties:
  15054. aligntype:
  15055. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15056. type: integer
  15057. autoid:
  15058. description: AutoID
  15059. type: integer
  15060. columnfield:
  15061. description: 列字段
  15062. type: string
  15063. columntitle:
  15064. description: 列Title
  15065. type: string
  15066. columnwidth:
  15067. description: 列宽
  15068. type: string
  15069. formatterstring:
  15070. description: 格式化字符
  15071. type: string
  15072. formattertype:
  15073. description: 格式化类型
  15074. type: string
  15075. groupname:
  15076. description: 表头分组名称
  15077. type: string
  15078. isshow:
  15079. description: 是否显示 - 0:不显示 1:显示
  15080. type: integer
  15081. needsummary:
  15082. description: 是否需要汇总 - 0:不需要 1:需要
  15083. type: integer
  15084. orderindex:
  15085. description: 顺序
  15086. type: integer
  15087. remark:
  15088. description: 备注
  15089. type: string
  15090. summarytype:
  15091. description: 汇总类型 - 1:加总 2:最后一个
  15092. type: integer
  15093. tablekey:
  15094. description: 列表Key
  15095. type: string
  15096. required:
  15097. - autoid
  15098. type: object
  15099. models.TjmdHolderDetailTradeInfo:
  15100. properties:
  15101. agreeunit:
  15102. description: 合约乘数
  15103. type: number
  15104. buyaccountid:
  15105. description: 买方账户
  15106. type: string
  15107. buyusername:
  15108. description: 买方
  15109. type: string
  15110. delistingdate:
  15111. description: 最后结算日
  15112. type: string
  15113. expiredate:
  15114. description: 到期结算价定价日
  15115. type: string
  15116. exprieprice:
  15117. description: 到期清算价格
  15118. type: string
  15119. goodscode:
  15120. description: 商品代码
  15121. type: string
  15122. goodsid:
  15123. description: 商品ID
  15124. type: integer
  15125. goodsname:
  15126. description: 商品名称(交易标的)
  15127. type: string
  15128. lasttradedate:
  15129. description: 最后交易日
  15130. type: string
  15131. listingdate:
  15132. description: 开始交易日
  15133. type: string
  15134. openprice:
  15135. description: 成交价
  15136. type: number
  15137. openqty:
  15138. description: 交易数量
  15139. type: integer
  15140. sellaccountid:
  15141. description: 卖方账户
  15142. type: string
  15143. sellusername:
  15144. description: 卖方
  15145. type: string
  15146. tradeamount:
  15147. description: 初始名义价值
  15148. type: number
  15149. tradedate:
  15150. description: 成交日期
  15151. type: string
  15152. tradeid:
  15153. description: 成交编号
  15154. type: string
  15155. type: object
  15156. models.TjmdMarketSection:
  15157. properties:
  15158. marketsectionid:
  15159. description: 市场版块ID(SEQ_MARKETSECTION)
  15160. type: integer
  15161. marketsectionname:
  15162. description: 市场版块名称
  15163. type: string
  15164. mlist:
  15165. description: 市场列表(板块下面有多少个市场)
  15166. items:
  15167. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15168. type: array
  15169. orderindex:
  15170. description: 排序
  15171. type: integer
  15172. pictureurl:
  15173. description: 图片url, 规格(90*90)
  15174. type: string
  15175. remark:
  15176. description: 备注
  15177. type: string
  15178. type: object
  15179. models.TjmdMarketSectionConfig:
  15180. properties:
  15181. auctionwrtype:
  15182. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15183. type: integer
  15184. canacceptquote:
  15185. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15186. type: integer
  15187. cangoodsexercise:
  15188. description: '[期权]是否可现货行权- 0:否 1:是'
  15189. type: integer
  15190. cangoodsexercisetype:
  15191. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15192. type: integer
  15193. canmanualquotestrike:
  15194. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15195. type: integer
  15196. canmutistage:
  15197. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15198. type: integer
  15199. canpreexercise:
  15200. description: '[期权]是否可预申报- 0:否 1:是'
  15201. type: integer
  15202. clearinterval:
  15203. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15204. type: integer
  15205. contracttmp:
  15206. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15207. type: string
  15208. exchareaid:
  15209. description: 所属交易所,可以没有
  15210. type: integer
  15211. financemarketid:
  15212. description: 融资回购市场ID [仓单贸易]
  15213. type: integer
  15214. goodstype:
  15215. description: 商品类型 - 1:交易商品 2:仓单商品
  15216. type: integer
  15217. hasrebate:
  15218. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15219. type: integer
  15220. hastradecredit:
  15221. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15222. type: integer
  15223. haswr:
  15224. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15225. type: integer
  15226. isdeductmargin:
  15227. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15228. type: integer
  15229. isrecordsource:
  15230. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15231. type: integer
  15232. isreleasemargin:
  15233. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15234. type: integer
  15235. isupdatereckonprice:
  15236. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15237. type: integer
  15238. listingmode:
  15239. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15240. type: integer
  15241. marginformula:
  15242. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15243. type: integer
  15244. marginformula2:
  15245. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15246. type: integer
  15247. marketid:
  15248. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15249. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15250. type: integer
  15251. marketname:
  15252. description: 市场名称
  15253. type: string
  15254. marketsectionid:
  15255. description: 市场版块ID(SEQ_MARKETSECTION)
  15256. type: integer
  15257. marketserviceid:
  15258. description: 市场服务ID
  15259. type: integer
  15260. marketstatus:
  15261. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15262. type: integer
  15263. markettype:
  15264. description: 市场类型- 1:非交易服务 2:交易服务
  15265. type: integer
  15266. matchermode:
  15267. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15268. type: integer
  15269. nowrquotaflag:
  15270. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15271. type: integer
  15272. openmethod:
  15273. description: 开盘模式 - 0 自动 1手动
  15274. type: integer
  15275. orderindex:
  15276. description: 排序
  15277. type: integer
  15278. otcuserid:
  15279. description: 场外期权做市商[场外期权]
  15280. type: integer
  15281. outersynctime:
  15282. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15283. type: string
  15284. paylaterflag:
  15285. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15286. type: integer
  15287. pendingflag:
  15288. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15289. type: integer
  15290. pendingtime:
  15291. description: 待开市时间[通道交易-对冲](HH:mm)
  15292. type: string
  15293. performancetempid:
  15294. description: 履约计划模板ID - 作废
  15295. type: integer
  15296. premiumquotemode:
  15297. description: 权利金报价方式 - 1:自动 2:手动
  15298. type: integer
  15299. rebateratio:
  15300. description: 返利比率[竞价式]
  15301. type: number
  15302. reckonorder:
  15303. description: 结算顺序
  15304. type: integer
  15305. reckonpricealgorithm:
  15306. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15307. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15308. type: integer
  15309. reckonpriceparam:
  15310. description: 结算价参数
  15311. type: integer
  15312. reckontime:
  15313. description: 结算时间[通道交易-对冲](HH:mm)
  15314. type: string
  15315. roleprioritytype:
  15316. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15317. type: integer
  15318. selllistingauditflag:
  15319. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15320. type: integer
  15321. trademarkettype:
  15322. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15323. type: integer
  15324. trademode:
  15325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15326. 21:竞拍-大宗式 22:受托竞价
  15327. type: integer
  15328. tradeproperty:
  15329. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15330. 8:场外期权
  15331. type: integer
  15332. tradetype:
  15333. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15334. type: integer
  15335. updatereckonpriceinterval:
  15336. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15337. type: integer
  15338. type: object
  15339. models.TjmdQuoteGoods:
  15340. properties:
  15341. buyqty:
  15342. description: 买量(暂不做, 无值, 保留字段)
  15343. type: number
  15344. decimalplace:
  15345. description: 报价小数位
  15346. type: integer
  15347. goodscode:
  15348. description: 合约代码
  15349. type: string
  15350. goodsgroupid:
  15351. description: 商品组ID(自增ID)
  15352. type: integer
  15353. goodsgroupname:
  15354. description: 商品组名称
  15355. type: string
  15356. goodsid:
  15357. description: 合约id
  15358. type: integer
  15359. goodsname:
  15360. description: 合约名称
  15361. type: string
  15362. refgoodscode:
  15363. description: 标的合约代码
  15364. type: string
  15365. refgoodsid:
  15366. description: 标的合约id
  15367. type: integer
  15368. refgoodsname:
  15369. description: 标的合约名称
  15370. type: string
  15371. sellqty:
  15372. description: 卖量(暂不做, 无值, 保留字段)
  15373. type: number
  15374. type: object
  15375. models.TjmdTodayAccountMargin:
  15376. properties:
  15377. accountid:
  15378. description: 账号ID
  15379. type: integer
  15380. goodsid:
  15381. description: 商品ID
  15382. type: integer
  15383. infoc:
  15384. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15385. description: 配置参数
  15386. marketid:
  15387. description: 市场ID
  15388. type: integer
  15389. type: object
  15390. models.TjmdTradeOrderDetail:
  15391. properties:
  15392. buyorsell:
  15393. description: 买卖方向 0-买 1-卖
  15394. type: integer
  15395. goodsid:
  15396. description: 商品id
  15397. type: integer
  15398. marketmaxsub:
  15399. description: 市价最大偏移范围 [浮动价 - 点差]
  15400. type: number
  15401. orderid:
  15402. description: 委托单号
  15403. type: string
  15404. orderprice:
  15405. description: 委托价格
  15406. type: number
  15407. orderqty:
  15408. description: 委托数量
  15409. type: integer
  15410. pricemode:
  15411. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15412. type: integer
  15413. userid:
  15414. description: 用户id
  15415. type: integer
  15416. username:
  15417. description: 用户名称(已脱敏)
  15418. type: string
  15419. type: object
  15420. models.TjmdTransferApply:
  15421. properties:
  15422. applyid:
  15423. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15424. type: integer
  15425. applystatus:
  15426. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15427. type: integer
  15428. applytime:
  15429. description: 申请时间(时间)
  15430. type: string
  15431. auditremark:
  15432. description: 审核备注(拒绝原因?)
  15433. type: string
  15434. begindate:
  15435. description: 开始交易日(yyyymmdd)
  15436. type: string
  15437. buyorsell:
  15438. description: 买卖 - 0:买 1:卖
  15439. type: integer
  15440. enddate:
  15441. description: 结束交易日(yyyymmdd)
  15442. type: string
  15443. goodscode:
  15444. description: 商品代码
  15445. type: string
  15446. goodsid:
  15447. description: 商品ID
  15448. type: integer
  15449. goodsname:
  15450. description: 商品名称
  15451. type: string
  15452. marketid:
  15453. description: 市场ID
  15454. type: integer
  15455. qty:
  15456. description: 转让数量(数量)
  15457. type: number
  15458. tradeid:
  15459. description: 成交单号(关联持仓)
  15460. type: string
  15461. transferamount:
  15462. description: 转让总金额(金额)
  15463. type: number
  15464. transferprice:
  15465. description: 转让价格(协议价格)
  15466. type: number
  15467. type: object
  15468. models.TradeHolderDetail:
  15469. properties:
  15470. accountid:
  15471. description: 账号ID
  15472. type: integer
  15473. agreeunit:
  15474. description: 合约乘数
  15475. type: number
  15476. buyorsell:
  15477. description: 方向 - 0:买 1:卖
  15478. type: integer
  15479. currencyid:
  15480. description: 商品币种id
  15481. type: integer
  15482. currencyname:
  15483. description: 币种名称
  15484. type: string
  15485. decimalplace:
  15486. description: 商品价格小数位
  15487. type: integer
  15488. enumdicname:
  15489. description: 商品单位名称
  15490. type: string
  15491. expirecycle:
  15492. description: 行权周期(天) - 1:滚动行权时填写
  15493. type: integer
  15494. expiredate:
  15495. description: 行权日(yyyyMMdd) - 到期日
  15496. type: string
  15497. expiretype:
  15498. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15499. type: integer
  15500. freezeqty:
  15501. description: 冻结数量
  15502. type: number
  15503. goodscode:
  15504. description: 商品代码
  15505. type: string
  15506. goodsid:
  15507. description: 商品ID
  15508. type: integer
  15509. goodsname:
  15510. description: 商品名称
  15511. type: string
  15512. goodunitid:
  15513. description: 商品单位id
  15514. type: integer
  15515. holderamount:
  15516. description: 持仓金额
  15517. type: number
  15518. holdercredit:
  15519. description: 持仓授信金额
  15520. type: number
  15521. holderdays:
  15522. description: 剩余冻结天数
  15523. type: integer
  15524. holderprice:
  15525. description: 持仓价格
  15526. type: number
  15527. holderqty:
  15528. description: 持仓数量
  15529. type: number
  15530. isconfirmexercise:
  15531. description: 是否确认行权- 0:否 1:是
  15532. type: integer
  15533. ispreexercise:
  15534. description: 是否预申报- 0:否 1:是 2:不可行权
  15535. type: integer
  15536. marketid:
  15537. description: 市场id
  15538. type: integer
  15539. marketname:
  15540. description: 市场名称
  15541. type: string
  15542. openprice:
  15543. description: 建仓价格
  15544. type: number
  15545. openqty:
  15546. description: 建仓数量
  15547. type: number
  15548. optiontype:
  15549. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15550. type: integer
  15551. preexerciseprice:
  15552. description: 预申报价格
  15553. type: number
  15554. premium:
  15555. description: 权利金
  15556. type: number
  15557. qtydecimalplace:
  15558. description: 商品成交量小数位
  15559. type: integer
  15560. refgoodscode:
  15561. description: 标的合约代码
  15562. type: string
  15563. refgoodsid:
  15564. description: 标的合约id
  15565. type: integer
  15566. releaseamount:
  15567. description: 释放持仓金额
  15568. type: number
  15569. releaseholdercredit:
  15570. description: 释放持仓授信金额
  15571. type: number
  15572. taname:
  15573. description: 资金账号名称
  15574. type: string
  15575. tradeamount:
  15576. description: 成交金额
  15577. type: number
  15578. tradedate:
  15579. description: 交易日(yyyyMMdd)
  15580. type: string
  15581. tradeid:
  15582. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15583. type: string
  15584. trademode:
  15585. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15586. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15587. type: integer
  15588. tradeproperty:
  15589. description: 交易属性
  15590. type: integer
  15591. tradetime:
  15592. description: 交易时间
  15593. type: string
  15594. userid:
  15595. description: 用户id
  15596. type: integer
  15597. username:
  15598. description: 用户名称
  15599. type: string
  15600. type: object
  15601. models.UserCollectConfig:
  15602. properties:
  15603. accountstatus:
  15604. description: 账户状态 - 1:正常 2:停用 3:注销
  15605. type: integer
  15606. collectaccountname:
  15607. description: 收款人账户名称
  15608. type: string
  15609. collectaccountno:
  15610. description: 收款人账户
  15611. type: string
  15612. collectbankname:
  15613. description: 收款人开户行
  15614. type: string
  15615. collectbranchbankname:
  15616. description: 收款人开户支行
  15617. type: string
  15618. collectconfigid:
  15619. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15620. type: string
  15621. remark:
  15622. description: 备注
  15623. type: string
  15624. userid:
  15625. description: 收款人用户ID
  15626. type: integer
  15627. type: object
  15628. models.UserReceiveInfo:
  15629. properties:
  15630. address:
  15631. description: 提货人详细地址
  15632. type: string
  15633. autoid:
  15634. description: AutoID
  15635. type: integer
  15636. cardnum:
  15637. description: 证件号码(加密存储)
  15638. type: string
  15639. cardtypeid:
  15640. description: 证件类型
  15641. type: integer
  15642. cityid:
  15643. description: 市
  15644. type: integer
  15645. cityname:
  15646. description: 城市名称
  15647. type: string
  15648. countryid:
  15649. description: 国家
  15650. type: integer
  15651. countryname:
  15652. description: 国家名称
  15653. type: string
  15654. districtid:
  15655. description: 地区
  15656. type: integer
  15657. districtname:
  15658. description: 地区名称
  15659. type: string
  15660. hasencrypt:
  15661. description: 数据是否已加密 - 0:未加密 1:已加密
  15662. type: integer
  15663. isdefault:
  15664. description: 是否默认地址 - 0:否 1:是
  15665. type: integer
  15666. phonenum:
  15667. description: 提货人联系方式(加密存储)
  15668. type: string
  15669. provinceid:
  15670. description: 省
  15671. type: integer
  15672. provincename:
  15673. description: 省名称
  15674. type: string
  15675. receivername:
  15676. description: 提货人姓名
  15677. type: string
  15678. takeremark:
  15679. description: 提货备注
  15680. type: string
  15681. userid:
  15682. description: 用户ID
  15683. type: integer
  15684. type: object
  15685. models.Useraccount:
  15686. properties:
  15687. accountname:
  15688. description: 账户名称(机构名称)
  15689. type: string
  15690. accountstatus:
  15691. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15692. type: integer
  15693. applysrc:
  15694. description: 申请来源 - 1:管理端 2:终端
  15695. type: integer
  15696. auditremark:
  15697. description: 审核备注
  15698. type: string
  15699. auditsrc:
  15700. description: 审核来源 - 1:管理端 2:终端
  15701. type: integer
  15702. audittime:
  15703. description: 审核时间
  15704. type: string
  15705. audituserid:
  15706. description: 审核人
  15707. type: integer
  15708. broker:
  15709. description: 所属经纪人ID
  15710. type: integer
  15711. canceltime:
  15712. description: 销户时间
  15713. type: string
  15714. canceluserid:
  15715. description: 销户人
  15716. type: integer
  15717. canrecommend:
  15718. description: 是否可推荐 - 0:不可 1;可
  15719. type: integer
  15720. createtime:
  15721. description: 创建时间
  15722. type: string
  15723. creatorid:
  15724. description: 创建人
  15725. type: integer
  15726. hasauth:
  15727. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15728. type: integer
  15729. isanonymous:
  15730. description: 是否匿名下单 - 0:否 1:是
  15731. type: integer
  15732. maxinvestornum:
  15733. description: 最大用户数(经纪会员下投资者个数)
  15734. type: integer
  15735. memberuserid:
  15736. description: 所属会员ID
  15737. type: integer
  15738. modifierid:
  15739. description: 修改人
  15740. type: integer
  15741. modifyremark:
  15742. description: 变更备注
  15743. type: string
  15744. modifystatus:
  15745. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15746. type: integer
  15747. modifytime:
  15748. description: 修改时间
  15749. type: string
  15750. parenttopuser:
  15751. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15752. type: string
  15753. parentuserid:
  15754. description: 所属机构ID
  15755. type: integer
  15756. reckonaccountid:
  15757. description: 默认结算资金账号ID(机构分润使用) 作废
  15758. type: integer
  15759. refercount:
  15760. description: 推荐总人数
  15761. type: integer
  15762. refereeuserid:
  15763. description: 推荐人ID
  15764. type: integer
  15765. refernum:
  15766. description: 推荐码
  15767. type: string
  15768. rootuserid:
  15769. description: 根用户ID
  15770. type: integer
  15771. subaccountlevel:
  15772. description: 子账户层数
  15773. type: integer
  15774. subarealevelpath:
  15775. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15776. type: string
  15777. userid:
  15778. description: 用户ID
  15779. type: integer
  15780. usertype:
  15781. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15782. type: integer
  15783. required:
  15784. - userid
  15785. type: object
  15786. models.Userfavoritegoods:
  15787. properties:
  15788. goodsid:
  15789. description: 商品ID
  15790. type: integer
  15791. required:
  15792. - goodsid
  15793. type: object
  15794. models.Userinfo:
  15795. properties:
  15796. address:
  15797. description: 地址
  15798. type: string
  15799. attachment1:
  15800. description: 附件1
  15801. type: string
  15802. attachment2:
  15803. description: 附件2
  15804. type: string
  15805. bankaccount:
  15806. description: 银行帐号 (加密存储)
  15807. type: string
  15808. bankaccountname:
  15809. description: 收款人名称
  15810. type: string
  15811. bankcardfrontphotourl:
  15812. description: 银行卡正面照地址
  15813. type: string
  15814. bankid:
  15815. description: 银行编码
  15816. type: string
  15817. bankname:
  15818. description: 银行名称
  15819. type: string
  15820. biznature:
  15821. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15822. type: integer
  15823. bizscope:
  15824. description: 企业经营范围(企业)
  15825. type: string
  15826. cardbackphotourl:
  15827. description: 证件背面图片地址
  15828. type: string
  15829. cardfrontphotourl:
  15830. description: 证件正面图片地址
  15831. type: string
  15832. cardnum:
  15833. description: 证件号码(加密存储)
  15834. type: string
  15835. cardtypeid:
  15836. description: 证件类型ID
  15837. type: integer
  15838. cityid:
  15839. description: 市
  15840. type: integer
  15841. company:
  15842. description: 公司(个人)
  15843. type: string
  15844. contactname:
  15845. description: 联系人
  15846. type: string
  15847. countryid:
  15848. description: 国家
  15849. type: integer
  15850. createtime:
  15851. description: 创建时间
  15852. type: string
  15853. creatorid:
  15854. description: 创建人
  15855. type: integer
  15856. customername:
  15857. description: 客户名称(企业名称)
  15858. type: string
  15859. districtid:
  15860. description: 地区
  15861. type: integer
  15862. email:
  15863. description: 邮件(加密存储)
  15864. type: string
  15865. fax:
  15866. description: 传真(加密存储)
  15867. type: string
  15868. halfbodyphotourl:
  15869. description: 半身照地址
  15870. type: string
  15871. hasencrypt:
  15872. description: 数据是否已加密 - 0:未加密 1:已加密
  15873. type: integer
  15874. headurl:
  15875. description: 头像地址
  15876. type: string
  15877. legalcardbackphotourl:
  15878. description: 法人身份证背面照地址
  15879. type: string
  15880. legalcardfrontphotourl:
  15881. description: 法人身份证正面照地址
  15882. type: string
  15883. legalpersonname:
  15884. description: 法人姓名(企业)
  15885. type: string
  15886. mobile:
  15887. description: 手机号码(加密存储)
  15888. type: string
  15889. mobile2:
  15890. description: 手机号码[明文-尚志]
  15891. type: string
  15892. modifierid:
  15893. description: 修改人
  15894. type: integer
  15895. modifiertime:
  15896. description: 修改时间
  15897. type: string
  15898. needinvoice:
  15899. description: 是否需要发票 - 0:不需要 1:需要
  15900. type: integer
  15901. nickname:
  15902. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15903. type: string
  15904. openmode:
  15905. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15906. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15907. type: integer
  15908. otherurl:
  15909. description: 其它图片地址[使用分号分隔]
  15910. type: string
  15911. postalcode:
  15912. description: 邮政编码
  15913. type: string
  15914. provinceid:
  15915. description: 省
  15916. type: integer
  15917. qq:
  15918. description: QQ(加密存储
  15919. type: string
  15920. remark:
  15921. description: 备注
  15922. type: string
  15923. sex:
  15924. description: '用户性别 0: 女 1: 男'
  15925. type: integer
  15926. signpdfurl:
  15927. description: 签约pdf文件
  15928. type: string
  15929. telphone:
  15930. description: 联系电话(加密存储)
  15931. type: string
  15932. userid:
  15933. description: 用户ID
  15934. type: integer
  15935. userinfotype:
  15936. description: 用户信息类型 - 1:个人 2:企业
  15937. type: integer
  15938. userstatus:
  15939. description: 用户状态 - 1:正常 2:注销
  15940. type: integer
  15941. usertype:
  15942. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15943. type: integer
  15944. wechat:
  15945. description: 微信(加密存储)
  15946. type: string
  15947. wskhinfo:
  15948. description: 开户申请信息(JSON)
  15949. type: string
  15950. required:
  15951. - userid
  15952. type: object
  15953. models.WRSConverTDetail:
  15954. properties:
  15955. convertratio:
  15956. description: 套保系数
  15957. type: number
  15958. deliverygoodscode:
  15959. description: 现货商品代码
  15960. type: string
  15961. deliverygoodsid:
  15962. description: 现货品种ID
  15963. type: integer
  15964. deliverygoodsname:
  15965. description: 现货商品名称
  15966. type: string
  15967. enumdicname:
  15968. description: 单位名称
  15969. type: string
  15970. goodsunitid:
  15971. description: 套保品种单位id
  15972. type: integer
  15973. middlegoodscode:
  15974. description: 套保品种代码
  15975. type: string
  15976. middlegoodsid:
  15977. description: 套保品种ID
  15978. type: integer
  15979. middlegoodsname:
  15980. description: 套保品种名称
  15981. type: string
  15982. modifytime:
  15983. description: 修改时间
  15984. type: string
  15985. wrstandardid:
  15986. description: 品类ID
  15987. type: integer
  15988. type: object
  15989. models.WRStandardInfo:
  15990. properties:
  15991. areauserid:
  15992. description: 所属机构
  15993. type: integer
  15994. convertfactor:
  15995. description: 标仓系数
  15996. type: number
  15997. createtime:
  15998. description: 创建时间
  15999. type: string
  16000. creatorid:
  16001. description: 创建人
  16002. type: integer
  16003. deliverygoodsid:
  16004. description: 品种ID
  16005. type: integer
  16006. deliverygoodsname:
  16007. description: 交割商品名称
  16008. type: string
  16009. factoryitemjson:
  16010. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16011. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16012. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16013. 逗号分隔'
  16014. type: string
  16015. isvalid:
  16016. description: 是否有效 - 0:无效 1:有效
  16017. type: integer
  16018. minivalue:
  16019. description: 最小变动值
  16020. type: integer
  16021. minivaluedp:
  16022. description: 最小变动值小数位
  16023. type: integer
  16024. realminivalue:
  16025. description: 实际最小变动值
  16026. type: integer
  16027. realminivaluedp:
  16028. description: 实际最小变动值小数位
  16029. type: integer
  16030. remark:
  16031. description: 备注
  16032. type: string
  16033. unitid:
  16034. description: 单位ID
  16035. type: integer
  16036. unitname:
  16037. description: 单位
  16038. type: string
  16039. updatetime:
  16040. description: 更新时间
  16041. type: string
  16042. updatorid:
  16043. description: 更新人
  16044. type: integer
  16045. wrsstatus:
  16046. description: 状态 - 作废 - 0:未激活 1:正常
  16047. type: integer
  16048. wrstandardcode:
  16049. description: 现货品类代码
  16050. type: string
  16051. wrstandardid:
  16052. description: 现货品类ID(SEQ_WRSTANDARD)
  16053. type: integer
  16054. wrstandardname:
  16055. description: 现货品类名称
  16056. type: string
  16057. required:
  16058. - wrstandardid
  16059. type: object
  16060. models.WRTradeBargainApply:
  16061. properties:
  16062. accountid:
  16063. description: 摘牌资金账号
  16064. type: integer
  16065. applyprice:
  16066. description: 申请价格(议价价格)
  16067. type: string
  16068. applyqty:
  16069. description: 摘牌数量(议价数量)
  16070. type: number
  16071. applyremark:
  16072. description: 申请备注
  16073. type: string
  16074. applystatus:
  16075. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16076. type: integer
  16077. applytime:
  16078. description: 申请时间(议价时间)
  16079. type: string
  16080. begindate:
  16081. description: 开始交易日(yyyymmdd)
  16082. type: string
  16083. buyorsell:
  16084. description: 买卖(挂牌类型) - 0:买 1:卖
  16085. type: integer
  16086. confirmremark:
  16087. description: 确认备注
  16088. type: string
  16089. confirmtime:
  16090. description: 确认时间
  16091. type: string
  16092. confirmuserid:
  16093. description: 确认人
  16094. type: integer
  16095. deliverygoodscode:
  16096. description: 品种代码
  16097. type: string
  16098. deliverygoodsid:
  16099. description: 品种ID
  16100. type: integer
  16101. deliverygoodsname:
  16102. description: 品种名称
  16103. type: string
  16104. deliverymonth:
  16105. description: 交收月
  16106. type: string
  16107. enddate:
  16108. description: 结束交易日(yyyymmdd)
  16109. type: string
  16110. enumdicname:
  16111. description: 单位名称
  16112. type: string
  16113. fixedprice:
  16114. description: 挂牌价格
  16115. type: number
  16116. handlestatus:
  16117. description: 处理状态
  16118. type: integer
  16119. marginvalue:
  16120. description: 履约保证金比例
  16121. type: number
  16122. marketid:
  16123. description: 市场ID
  16124. type: integer
  16125. matchaccountid:
  16126. description: 挂牌方资金账号
  16127. type: integer
  16128. matchuserid:
  16129. description: 挂牌方用户id
  16130. type: integer
  16131. matchusername:
  16132. description: 挂牌方用户名称(已脱敏)
  16133. type: string
  16134. minivalue:
  16135. description: 现货商品最小变动值
  16136. type: integer
  16137. optioncompare:
  16138. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16139. type: string
  16140. orderqty:
  16141. description: 挂牌数量
  16142. type: integer
  16143. refprice:
  16144. description: 参考价格
  16145. type: string
  16146. retcode:
  16147. description: 委托返回代码
  16148. type: integer
  16149. templatename:
  16150. description: 履约方式(履约模板名称)
  16151. type: string
  16152. tradedate:
  16153. description: 交易日(yyyyMMdd)
  16154. type: string
  16155. userid:
  16156. description: 摘牌人用户ID(议价人ID)
  16157. type: integer
  16158. username:
  16159. description: 议价人名字(已脱敏)
  16160. type: string
  16161. validtime:
  16162. description: 有效期限
  16163. type: string
  16164. warehouseid:
  16165. description: 仓库ID
  16166. type: integer
  16167. warehousename:
  16168. description: 仓库名称
  16169. type: string
  16170. wrbargainid:
  16171. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16172. type: string
  16173. wrfactortypeid:
  16174. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16175. type: string
  16176. wrfactortypename:
  16177. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16178. type: string
  16179. wrstandardcode:
  16180. description: 现货商品代码
  16181. type: string
  16182. wrstandardid:
  16183. description: 现货商品ID
  16184. type: integer
  16185. wrstandardname:
  16186. description: 商品名称
  16187. type: string
  16188. wrtradeorderid:
  16189. description: 关联委托单ID
  16190. type: string
  16191. wrtypename:
  16192. description: 商品
  16193. type: string
  16194. type: object
  16195. models.Warehouseinfo:
  16196. properties:
  16197. address:
  16198. description: 详细地址
  16199. type: string
  16200. areauserid:
  16201. description: 所属机构
  16202. type: integer
  16203. autoid:
  16204. description: 自增ID
  16205. type: integer
  16206. cityid:
  16207. description: 市
  16208. type: integer
  16209. contactname:
  16210. description: 联系人
  16211. type: string
  16212. contactnum:
  16213. description: 联系电话
  16214. type: string
  16215. countryid:
  16216. description: 国家
  16217. type: integer
  16218. createtime:
  16219. description: 创建时间
  16220. type: string
  16221. districtid:
  16222. description: 区
  16223. type: integer
  16224. hasvideo:
  16225. description: 是否有视频 - 0:无 1:有
  16226. type: integer
  16227. provinceid:
  16228. description: 省
  16229. type: integer
  16230. remark:
  16231. description: 审核备注
  16232. type: string
  16233. videourl:
  16234. description: 视频地址
  16235. type: string
  16236. warehousecode:
  16237. description: 仓库代码
  16238. type: string
  16239. warehousename:
  16240. description: 仓库名称
  16241. type: string
  16242. warehousestatus:
  16243. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16244. type: integer
  16245. warehousetype:
  16246. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16247. type: integer
  16248. required:
  16249. - autoid
  16250. - warehousecode
  16251. type: object
  16252. models.WrAverageTradePrice:
  16253. properties:
  16254. averageprice:
  16255. description: 成交均价
  16256. type: number
  16257. tradedate:
  16258. description: 交易日yyyymm
  16259. type: string
  16260. type: object
  16261. models.WrBrandAndYears:
  16262. properties:
  16263. brandlst:
  16264. description: 品牌列表
  16265. items:
  16266. $ref: '#/definitions/models.DgFactoryItem'
  16267. type: array
  16268. yearslst:
  16269. description: 年份列表
  16270. items:
  16271. $ref: '#/definitions/models.DgFactoryItem'
  16272. type: array
  16273. type: object
  16274. models.WrBsGoodsInfo:
  16275. properties:
  16276. buyorsell:
  16277. description: 买卖方向 0-买 1-卖
  16278. type: integer
  16279. goodsid:
  16280. description: 交易合约ID
  16281. type: integer
  16282. lstitem:
  16283. description: 商品信息项
  16284. items:
  16285. $ref: '#/definitions/models.WrTypeItem'
  16286. type: array
  16287. lststep:
  16288. description: 履约规则
  16289. items:
  16290. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16291. type: array
  16292. type: object
  16293. models.WrBuybackDetail:
  16294. properties:
  16295. buybackamount:
  16296. description: 回购金额
  16297. type: number
  16298. buybackqty:
  16299. description: 回购数量
  16300. type: number
  16301. buybackreleasemargin:
  16302. description: 回购释放保证金
  16303. type: number
  16304. buybacktime:
  16305. description: 回购时间
  16306. type: string
  16307. errordesc:
  16308. description: 错误描述
  16309. type: string
  16310. handlestatus:
  16311. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16312. type: integer
  16313. relatedwrid:
  16314. description: 关联仓单ID
  16315. type: integer
  16316. scfcontractid:
  16317. description: SCF合同ID
  16318. type: string
  16319. scfwrbuybackid:
  16320. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16321. type: integer
  16322. tradedate:
  16323. description: 交易日(yyyyMMdd)
  16324. type: string
  16325. type: object
  16326. models.WrClientAdSpaceConfig:
  16327. properties:
  16328. adspaceid:
  16329. description: 广告位ID
  16330. type: integer
  16331. adspacename:
  16332. description: 广告位名称
  16333. type: string
  16334. adspacetype:
  16335. description: 广告位类型 - 1:固定广告位
  16336. type: integer
  16337. areauserid:
  16338. description: 所属机构ID
  16339. type: integer
  16340. createdate:
  16341. description: 创建时间
  16342. type: string
  16343. imagepath:
  16344. description: 图片
  16345. type: string
  16346. modifierid:
  16347. description: 操作人
  16348. type: integer
  16349. recsize:
  16350. description: 推荐尺寸
  16351. type: string
  16352. title:
  16353. description: 标题
  16354. type: string
  16355. updatedate:
  16356. description: 更新时间
  16357. type: string
  16358. urlcontent:
  16359. description: 链接(地址\商品ID\功能菜单Key\appid)
  16360. type: string
  16361. urltype:
  16362. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16363. type: integer
  16364. type: object
  16365. models.WrDeliveryAvalidHoldLB:
  16366. properties:
  16367. accountid:
  16368. description: 资金账号
  16369. type: integer
  16370. avalidqty:
  16371. description: 数量(可点选数量)
  16372. type: number
  16373. deliverygoodsid:
  16374. description: 品种id
  16375. type: integer
  16376. enumdicname:
  16377. description: 单位名称
  16378. type: string
  16379. goodsid:
  16380. description: x合约商品id
  16381. type: integer
  16382. ladingbillid:
  16383. description: 提单id
  16384. type: string
  16385. pgoodscode:
  16386. description: p商品代码(点价合约)
  16387. type: string
  16388. pgoodsid:
  16389. description: p商品id(点价合约)
  16390. type: integer
  16391. pgoodsname:
  16392. description: p商品名称(点价合约)
  16393. type: string
  16394. pricemove:
  16395. description: 升贴水
  16396. type: number
  16397. subnum:
  16398. description: 提单子id
  16399. type: integer
  16400. userid:
  16401. description: 用户id
  16402. type: integer
  16403. username:
  16404. description: 仓单持有人
  16405. type: string
  16406. warehousecode:
  16407. description: 仓库代码
  16408. type: string
  16409. warehouseid:
  16410. description: 仓库id
  16411. type: integer
  16412. warehousename:
  16413. description: 仓库名称
  16414. type: string
  16415. wrfactortypeid:
  16416. description: 仓单要素id
  16417. type: string
  16418. wrstandardcode:
  16419. description: 品代码
  16420. type: string
  16421. wrstandardid:
  16422. description: 品类d
  16423. type: integer
  16424. wrstandardname:
  16425. description: 品类名称
  16426. type: string
  16427. wrtypename:
  16428. description: 商品
  16429. type: string
  16430. xgoodscode:
  16431. description: x合约代码
  16432. type: string
  16433. xgoodsname:
  16434. description: x合约名称
  16435. type: string
  16436. type: object
  16437. models.WrDeliveryDetail:
  16438. properties:
  16439. accountid:
  16440. description: 账号ID
  16441. type: integer
  16442. averageprice:
  16443. description: 交割均价 = 交割金额 / 交割数量
  16444. type: number
  16445. begindate:
  16446. description: 开始交易日(yyyymmdd)
  16447. type: string
  16448. buyorsell:
  16449. description: 方向 - 0:买 1:卖
  16450. type: integer
  16451. deliveryamount:
  16452. description: 货款金额(X总货款+P总货款)
  16453. type: number
  16454. deliveryid:
  16455. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16456. type: string
  16457. deliveryorderid:
  16458. description: 申报单号
  16459. type: string
  16460. deliverypricemove:
  16461. description: 升贴水(升贴水总额)
  16462. type: number
  16463. deliveryqty:
  16464. description: 交收数量(点选数量)
  16465. type: number
  16466. deliverystatus:
  16467. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16468. type: integer
  16469. deliverytime:
  16470. description: 交割时间
  16471. type: string
  16472. deliverytotalamount:
  16473. description: 交收金额
  16474. type: number
  16475. enddate:
  16476. description: 结束交易日(yyyymmdd)
  16477. type: string
  16478. enumdicname:
  16479. description: 单位名称
  16480. type: string
  16481. matchaccountid:
  16482. description: 对手账号ID
  16483. type: integer
  16484. matchusername:
  16485. description: 对手方名称(仓单持有人)
  16486. type: string
  16487. p1goodsremainamount:
  16488. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16489. type: number
  16490. pdeliverycloseqty:
  16491. description: p合约平仓数量
  16492. type: number
  16493. pdeliveryprice:
  16494. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16495. type: number
  16496. pgoodscode:
  16497. description: 商品代码
  16498. type: string
  16499. pgoodsid:
  16500. description: p点选合约id
  16501. type: integer
  16502. pgoodsname:
  16503. description: 商品名称
  16504. type: string
  16505. ppricemode:
  16506. description: 点价价格方式 - 1:商品价 2:固定值
  16507. type: integer
  16508. tradedate:
  16509. description: 交易日(yyyymmdd)
  16510. type: string
  16511. userid:
  16512. description: 用户id
  16513. type: integer
  16514. username:
  16515. description: 用户名称
  16516. type: string
  16517. warehousename:
  16518. description: 仓库名称
  16519. type: string
  16520. wrfactortypeid:
  16521. description: 仓单要素类型ID
  16522. type: string
  16523. wrtypename:
  16524. description: 商品
  16525. type: string
  16526. xdeliverycloseqty:
  16527. description: 合约数量
  16528. type: number
  16529. xgoodsamount:
  16530. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16531. type: number
  16532. xgoodscode:
  16533. description: 商品代码
  16534. type: string
  16535. xgoodsid:
  16536. description: x交易合约ID
  16537. type: integer
  16538. xgoodsname:
  16539. description: 商品名称
  16540. type: string
  16541. type: object
  16542. models.WrDeliveryGoodsSection:
  16543. properties:
  16544. dglst:
  16545. description: 板块商品列表
  16546. items:
  16547. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16548. type: array
  16549. imagepath:
  16550. description: 图片地址
  16551. type: string
  16552. orderindex:
  16553. description: 排序
  16554. type: integer
  16555. sectionid:
  16556. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16557. = 1的版块1 - 云融指数
  16558. type: integer
  16559. sectionname:
  16560. description: 版块名称
  16561. type: string
  16562. sectiontype:
  16563. description: 版块类型 - 1:指数版块 2:普通版块
  16564. type: integer
  16565. type: object
  16566. models.WrDeliveryGoodsSectionConfig:
  16567. properties:
  16568. deliverygoodscode:
  16569. description: 现货商品代码
  16570. type: string
  16571. deliverygoodsid:
  16572. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16573. type: integer
  16574. deliverygoodsname:
  16575. description: 现货商品名称
  16576. type: string
  16577. orderindex:
  16578. description: 排序
  16579. type: integer
  16580. type: object
  16581. models.WrDraftUserInfo:
  16582. properties:
  16583. address:
  16584. description: 地址
  16585. type: string
  16586. attachment1:
  16587. description: 附件1
  16588. type: string
  16589. attachment2:
  16590. description: 附件2
  16591. type: string
  16592. attachment3:
  16593. description: 附件3
  16594. type: string
  16595. attachment4:
  16596. description: 附件4
  16597. type: string
  16598. attachment5:
  16599. description: 附件5
  16600. type: string
  16601. bankaccount:
  16602. description: 银行帐号 (加密存储)
  16603. type: string
  16604. bankaccountname:
  16605. description: 收款人名称
  16606. type: string
  16607. bankcardfrontphotourl:
  16608. description: 银行卡正面照地址
  16609. type: string
  16610. bankid:
  16611. description: 银行编码
  16612. type: string
  16613. bankname:
  16614. description: 银行名称
  16615. type: string
  16616. birthday:
  16617. description: 生日(个人:年月日)
  16618. type: string
  16619. biznature:
  16620. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16621. type: integer
  16622. bizscope:
  16623. description: 企业经营范围(企业)
  16624. type: string
  16625. biztype:
  16626. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16627. type: integer
  16628. cardbackphotourl:
  16629. description: 证件背面图片地址
  16630. type: string
  16631. cardfrontphotourl:
  16632. description: 证件正面图片地址
  16633. type: string
  16634. cardnum:
  16635. description: 证件号码(加密存储)
  16636. type: string
  16637. cardtypeid:
  16638. description: 证件类型ID
  16639. type: integer
  16640. cityid:
  16641. description: 市
  16642. type: integer
  16643. company:
  16644. description: 公司(个人)
  16645. type: string
  16646. contactcardbackphotourl:
  16647. description: 联系人证件背面图片地址
  16648. type: string
  16649. contactcardfrontphotourl:
  16650. description: 联系人证件正面图片地址
  16651. type: string
  16652. contactname:
  16653. description: 联系人
  16654. type: string
  16655. countryid:
  16656. description: 国家
  16657. type: integer
  16658. createtime:
  16659. description: 创建时间
  16660. type: string
  16661. creatorid:
  16662. description: 创建人
  16663. type: integer
  16664. creditquota:
  16665. description: 授信额度(金瑞)
  16666. type: number
  16667. customername:
  16668. description: 客户名称(企业名称)
  16669. type: string
  16670. districtid:
  16671. description: 地区
  16672. type: integer
  16673. email:
  16674. description: 邮件(加密存储)
  16675. type: string
  16676. fax:
  16677. description: 传真(加密存储)
  16678. type: string
  16679. halfbodyphotourl:
  16680. description: 半身照地址
  16681. type: string
  16682. hasencrypt:
  16683. description: 数据是否已加密 - 0:未加密 1:已加密
  16684. type: integer
  16685. headurl:
  16686. description: 头像地址
  16687. type: string
  16688. legalcardbackphotourl:
  16689. description: 法人身份证背面照地址
  16690. type: string
  16691. legalcardfrontphotourl:
  16692. description: 法人身份证正面照地址
  16693. type: string
  16694. legalpersonname:
  16695. description: 法人姓名(企业)
  16696. type: string
  16697. mobile:
  16698. description: 手机号码(加密存储)
  16699. type: string
  16700. mobile2:
  16701. description: 手机号码[明文-尚志]
  16702. type: string
  16703. modifierid:
  16704. description: 修改人
  16705. type: integer
  16706. modifiertime:
  16707. description: 修改时间
  16708. type: string
  16709. needinvoice:
  16710. description: 是否需要发票 - 0:不需要 1:需要
  16711. type: integer
  16712. nickname:
  16713. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16714. type: string
  16715. openmode:
  16716. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16717. 6:苹果手机端注册 7:PC交易端注册"
  16718. type: integer
  16719. otherurl:
  16720. description: 其它图片地址[使用分号分隔]
  16721. type: string
  16722. postalcode:
  16723. description: 邮政编码
  16724. type: string
  16725. provinceid:
  16726. description: 省
  16727. type: integer
  16728. proxystatementurl:
  16729. description: 授权委托书
  16730. type: string
  16731. qq:
  16732. description: QQ(加密存储
  16733. type: string
  16734. remark:
  16735. description: 备注
  16736. type: string
  16737. sex:
  16738. description: '用户性别 0: 女 1: 男'
  16739. type: integer
  16740. signpdfurl:
  16741. description: 签约pdf文件
  16742. type: string
  16743. taxpayernum:
  16744. description: 纳税人识别号
  16745. type: string
  16746. telphone:
  16747. description: 联系电话(加密存储)
  16748. type: string
  16749. userid:
  16750. description: 用户ID
  16751. type: integer
  16752. userinfotype:
  16753. description: 用户信息类型 - 1:个人 2:企业
  16754. type: integer
  16755. userstatus:
  16756. description: 用户状态 - 1:正常 2:注销
  16757. type: integer
  16758. usertype:
  16759. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16760. type: integer
  16761. wechat:
  16762. description: 微信(加密存储)
  16763. type: string
  16764. wskhinfo:
  16765. description: 开户申请信息(JSON)
  16766. type: string
  16767. type: object
  16768. models.WrFAProductDetail:
  16769. properties:
  16770. accountid:
  16771. description: 资金账号
  16772. type: integer
  16773. areauserid:
  16774. description: 金融机构ID
  16775. type: integer
  16776. financingdays:
  16777. description: 天数(天)
  16778. type: integer
  16779. interestminlen:
  16780. description: 最小起息天数
  16781. type: integer
  16782. interestrate:
  16783. description: 利率
  16784. type: number
  16785. interestratemode:
  16786. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16787. type: integer
  16788. interestsettlemode:
  16789. description: 结息方式 - 1:按日结息 3:按月结息
  16790. type: integer
  16791. interestsettlevalue:
  16792. description: 结息方式值
  16793. type: integer
  16794. isautoloan:
  16795. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16796. type: integer
  16797. loantag:
  16798. description: '放款标识: "放款快" 或者为空'
  16799. type: string
  16800. marginratio:
  16801. description: 保证金比率质押率 - [仓单质押]
  16802. type: number
  16803. productdetailid:
  16804. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16805. type: integer
  16806. productid:
  16807. description: 金融产品ID
  16808. type: integer
  16809. productname:
  16810. description: 产品名称
  16811. type: string
  16812. updatetime:
  16813. description: 更新时间
  16814. type: string
  16815. username:
  16816. description: 融出方
  16817. type: string
  16818. type: object
  16819. models.WrFactorTypeInfo:
  16820. properties:
  16821. deliverygoodscode:
  16822. description: 品种代码
  16823. type: string
  16824. deliverygoodsname:
  16825. description: 品种名称
  16826. type: string
  16827. dgfactoryitemid:
  16828. description: 选择项id
  16829. type: integer
  16830. dgfactoryitemtypeid:
  16831. description: 要素选择项ID (1-仓库 2-品牌)
  16832. type: integer
  16833. dgfactoryitemvalue:
  16834. description: 要素项值
  16835. type: string
  16836. itemtypename:
  16837. description: 要素项名称
  16838. type: string
  16839. optioncompare:
  16840. description: 选择比较串
  16841. type: string
  16842. warehouseid:
  16843. description: 仓库id
  16844. type: integer
  16845. wrfactortypeid:
  16846. description: 仓单要素ID
  16847. type: string
  16848. wrfactortypename:
  16849. description: 要素名称
  16850. type: string
  16851. wrfactortypename2:
  16852. description: 要素名称(不含仓库)
  16853. type: string
  16854. wrstandardcode:
  16855. description: 品类代码
  16856. type: string
  16857. wrstandardid:
  16858. description: 品类id
  16859. type: integer
  16860. wrstandardname:
  16861. description: 品类名称
  16862. type: string
  16863. type: object
  16864. models.WrFilterItem:
  16865. properties:
  16866. itemcode:
  16867. description: 代码
  16868. type: string
  16869. itemid:
  16870. description: 项id
  16871. type: integer
  16872. itemname:
  16873. description: 名称
  16874. type: string
  16875. itemtype:
  16876. description: 类型 1-品种 2-品类(商品) 3-仓库
  16877. type: integer
  16878. type: object
  16879. models.WrFinanceBuyApply:
  16880. properties:
  16881. applydate:
  16882. description: 申请时间
  16883. type: string
  16884. applystatus:
  16885. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16886. type: integer
  16887. applyuserid:
  16888. description: 申请人
  16889. type: integer
  16890. auditdate:
  16891. description: 审核时间
  16892. type: string
  16893. auditremark:
  16894. description: 审核备注
  16895. type: string
  16896. audituserid:
  16897. description: 审核人
  16898. type: integer
  16899. buyaccountid:
  16900. description: 买方资金账号
  16901. type: integer
  16902. buyorsell:
  16903. description: 买卖 - 0:买 1:卖
  16904. type: integer
  16905. buyuserid:
  16906. description: 买方用户ID
  16907. type: integer
  16908. buyusername:
  16909. description: 买方名称
  16910. type: string
  16911. buywrtradeorderid:
  16912. description: 融资方买委托单ID
  16913. type: string
  16914. deliverygoodscode:
  16915. description: 品种代码
  16916. type: string
  16917. deliverygoodsid:
  16918. description: 品种ID
  16919. type: integer
  16920. deliverygoodsname:
  16921. description: 品种名称
  16922. type: string
  16923. deliverymonth:
  16924. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16925. type: string
  16926. enumdicname:
  16927. description: 单位名称
  16928. type: string
  16929. financeaccountid:
  16930. description: 融资方资金帐户ID
  16931. type: integer
  16932. financeapplyid:
  16933. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16934. type: string
  16935. financeareauserid:
  16936. description: 融资方用户ID
  16937. type: string
  16938. financename:
  16939. description: 融出方名称
  16940. type: string
  16941. financetype:
  16942. description: 融资类型 1-融资回购
  16943. type: integer
  16944. financingdays:
  16945. description: 天数(天)
  16946. type: integer
  16947. freezebuymargin:
  16948. description: 冻结融资保证金(买方)
  16949. type: number
  16950. handleremark:
  16951. description: 处理备注
  16952. type: string
  16953. handlestatus:
  16954. description: 处理状态
  16955. type: integer
  16956. interestminlen:
  16957. description: 最小起息天数
  16958. type: integer
  16959. interestrate:
  16960. description: 利率
  16961. type: number
  16962. interestratemode:
  16963. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16964. type: integer
  16965. interestsettlemode:
  16966. description: 结息方式 - 1:按日结息 3:按月结息
  16967. type: integer
  16968. interestsettlevalue:
  16969. description: 结息方式值
  16970. type: integer
  16971. isautoloan:
  16972. description: 是否自动放款 - 0:手动 1:自动
  16973. type: integer
  16974. marginratio:
  16975. description: 保证金比率质押率 - [仓单质押]
  16976. type: number
  16977. marketid:
  16978. description: 市场ID
  16979. type: integer
  16980. minivalue:
  16981. description: 现货商品最小变动值
  16982. type: integer
  16983. optioncompare:
  16984. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16985. type: string
  16986. orderqty:
  16987. description: 委托数量(商品数量)
  16988. type: number
  16989. productdetailid:
  16990. description: 产品组合ID
  16991. type: integer
  16992. productid:
  16993. description: 金融产品ID
  16994. type: integer
  16995. productname:
  16996. description: 产品名称
  16997. type: string
  16998. remark:
  16999. description: 备注
  17000. type: string
  17001. scfcontractid:
  17002. description: 仓单回购合同ID
  17003. type: string
  17004. sellaccountid:
  17005. description: 卖方资金账号
  17006. type: integer
  17007. selluserid:
  17008. description: 卖方用户ID
  17009. type: integer
  17010. sellwrtradeorderid:
  17011. description: 卖方委托单ID
  17012. type: string
  17013. tradeamount:
  17014. description: 成交金额(借款金额)
  17015. type: number
  17016. tradedate:
  17017. description: 交易日(yyyyMMdd)
  17018. type: string
  17019. tradeprice:
  17020. description: 成交价格
  17021. type: number
  17022. warehouseid:
  17023. description: 仓库ID
  17024. type: integer
  17025. warehousename:
  17026. description: 仓库名称
  17027. type: string
  17028. wrfactortypeid:
  17029. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17030. type: string
  17031. wrfactortypename:
  17032. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17033. type: string
  17034. wrpricetype:
  17035. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17036. type: integer
  17037. wrstandardcode:
  17038. description: 现货商品代码
  17039. type: string
  17040. wrstandardid:
  17041. description: 现货商品ID
  17042. type: integer
  17043. wrstandardname:
  17044. description: 商品名称
  17045. type: string
  17046. wrtypename:
  17047. description: 商品
  17048. type: string
  17049. type: object
  17050. models.WrFriendApply:
  17051. properties:
  17052. applicantid:
  17053. description: 申请人
  17054. type: integer
  17055. applyname:
  17056. description: 申请人名称
  17057. type: string
  17058. applysrc:
  17059. description: 申请来源 - 1:管理端 2:终端
  17060. type: integer
  17061. applystatus:
  17062. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17063. type: integer
  17064. applytime:
  17065. description: 申请时间
  17066. type: string
  17067. auditname:
  17068. description: 审核人名称
  17069. type: string
  17070. auditorid:
  17071. description: 审核人
  17072. type: integer
  17073. auditremark:
  17074. description: 审核备注
  17075. type: string
  17076. auditsrc:
  17077. description: 审核来源 - 1:管理端 2:终端
  17078. type: integer
  17079. audittime:
  17080. description: 审核时间
  17081. type: string
  17082. friendapplyid:
  17083. description: 申请ID(SEQ_FRIENDAPPLY)
  17084. type: string
  17085. friendname:
  17086. description: 好友名字(已脱敏)
  17087. type: string
  17088. frienduserid:
  17089. description: 好友用户ID
  17090. type: string
  17091. remark:
  17092. description: 备注
  17093. type: string
  17094. userid:
  17095. description: 申请人用户ID
  17096. type: integer
  17097. type: object
  17098. models.WrFtDeliveryGoods:
  17099. properties:
  17100. deliverygoodscode:
  17101. description: 品种代码
  17102. type: string
  17103. deliverygoodsid:
  17104. description: 品种ID
  17105. type: integer
  17106. deliverygoodsname:
  17107. description: 品种名称
  17108. type: string
  17109. wdlst:
  17110. description: 商品列表
  17111. items:
  17112. $ref: '#/definitions/models.WrFtWrstandard'
  17113. type: array
  17114. type: object
  17115. models.WrFtWrstandard:
  17116. properties:
  17117. enumdicname:
  17118. description: 单位名称
  17119. type: string
  17120. minivalue:
  17121. description: 最小变动值
  17122. type: integer
  17123. wrstandardcode:
  17124. description: 现货商品代码
  17125. type: string
  17126. wrstandardid:
  17127. description: 现货商品ID
  17128. type: integer
  17129. wrstandardname:
  17130. description: 商品名称
  17131. type: string
  17132. type: object
  17133. models.WrGoodsInfo:
  17134. properties:
  17135. haswr:
  17136. description: 0:仓单预售 1:仓单贸易
  17137. type: integer
  17138. lstitem:
  17139. description: 商品信息项
  17140. items:
  17141. $ref: '#/definitions/models.WrTypeItem'
  17142. type: array
  17143. lststep:
  17144. description: 履约规则
  17145. items:
  17146. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17147. type: array
  17148. marketid:
  17149. description: 市场id
  17150. type: integer
  17151. type: object
  17152. models.WrGoodsPerformanceStep:
  17153. properties:
  17154. autoid:
  17155. description: AutoID
  17156. type: integer
  17157. isauto:
  17158. description: 是否自动 - 0:不自动 1:自动
  17159. type: integer
  17160. remark:
  17161. description: 备注
  17162. type: string
  17163. stepdate:
  17164. description: 天数信息(T+N)
  17165. type: string
  17166. stepdays:
  17167. description: 距离上一步天数
  17168. type: integer
  17169. stepindex:
  17170. description: 步骤序号
  17171. type: integer
  17172. stepinfo:
  17173. description: 步骤信息(步骤名称+步骤值)
  17174. type: string
  17175. steptypeid:
  17176. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17177. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17178. type: integer
  17179. steptypename:
  17180. description: 步骤名称
  17181. type: string
  17182. stepvalue:
  17183. description: 步骤值
  17184. type: number
  17185. templateid:
  17186. description: 履约计划模板ID
  17187. type: integer
  17188. type: object
  17189. models.WrHoldLB:
  17190. properties:
  17191. accountid:
  17192. description: 持有人帐户ID
  17193. type: integer
  17194. bannerpicurl:
  17195. description: Banner图
  17196. type: string
  17197. createtime:
  17198. description: 创建时间(过户时间)
  17199. type: string
  17200. deliverygoodscode:
  17201. description: 品种代码
  17202. type: string
  17203. deliverygoodsid:
  17204. description: 品种ID
  17205. type: integer
  17206. deliverygoodsname:
  17207. description: 品种名称
  17208. type: string
  17209. enableqty:
  17210. description: 可用数量
  17211. type: number
  17212. enumdicname:
  17213. description: 单位名称
  17214. type: string
  17215. freezerqty:
  17216. description: 冻结数量
  17217. type: number
  17218. ladingbillid:
  17219. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17220. type: string
  17221. minivalue:
  17222. description: 现货商品最小变动值
  17223. type: integer
  17224. optioncompare:
  17225. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17226. type: string
  17227. parentsubnum:
  17228. description: 拆分父子单号
  17229. type: integer
  17230. pledgeqty:
  17231. description: 质押数量
  17232. type: number
  17233. qty:
  17234. description: 数量
  17235. type: number
  17236. subnum:
  17237. description: 提单子单号
  17238. type: integer
  17239. thumurls:
  17240. description: 缩略图
  17241. type: string
  17242. tradedate:
  17243. description: 交易日(yyyyMMdd)
  17244. type: string
  17245. userid:
  17246. description: 持有人ID
  17247. type: integer
  17248. warehouseid:
  17249. description: 仓库ID
  17250. type: integer
  17251. warehousename:
  17252. description: 仓库名称
  17253. type: string
  17254. wrfactortypeid:
  17255. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17256. type: string
  17257. wrfactortypename:
  17258. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17259. type: string
  17260. wrholdeno:
  17261. description: 仓单编号
  17262. type: string
  17263. wrid:
  17264. description: 仓单变更ID
  17265. type: string
  17266. wrstandardcode:
  17267. description: 现货商品代码
  17268. type: string
  17269. wrstandardid:
  17270. description: 现货商品ID
  17271. type: integer
  17272. wrstandardname:
  17273. description: 商品名称
  17274. type: string
  17275. wrtypename:
  17276. description: 商品
  17277. type: string
  17278. type: object
  17279. models.WrMarketTradeConfig:
  17280. properties:
  17281. basisdownratio:
  17282. description: 浮动价基差下限比例(仓单贸易)
  17283. type: number
  17284. basisupratio:
  17285. description: 浮动价基差上限比例(仓单贸易)
  17286. type: number
  17287. buychargealgorithm:
  17288. description: 买方手续费收取方式 1:比率 2:固定
  17289. type: integer
  17290. buychargealgorithm2:
  17291. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17292. type: integer
  17293. buychargealgorithmvalue:
  17294. description: 买方手续费设置值(交易所部分)
  17295. type: number
  17296. buychargealgorithmvalue2:
  17297. description: 买方手续费设置值(会员部分)
  17298. type: number
  17299. buychargealgorithmvalue3:
  17300. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17301. type: number
  17302. buychargealgorithmvalue4:
  17303. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17304. type: number
  17305. buyfirstmarginalgorithm:
  17306. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17307. type: integer
  17308. buyfirstmarginvalue:
  17309. description: 买方出价保证金设置值 - [竞拍]
  17310. type: number
  17311. buymarginalgorithm:
  17312. description: 买方保证金方式 - 1:比率 2:固定
  17313. type: integer
  17314. buymarginvalue:
  17315. description: 买方保证金设置值
  17316. type: number
  17317. buyreleaseratio:
  17318. description: 买方释放比率[2:分步履约]
  17319. type: number
  17320. executemode:
  17321. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17322. type: integer
  17323. executeside:
  17324. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17325. type: integer
  17326. failedchargealgorithm:
  17327. description: 流拍手续费收取方式 1:比率 2:固定
  17328. type: integer
  17329. failedchargevalue:
  17330. description: 流拍手续费设置值
  17331. type: number
  17332. failedchargevalue2:
  17333. description: 流拍卖方手续费设置值
  17334. type: number
  17335. holddays:
  17336. description: 合同期限[2:分步履约]
  17337. type: integer
  17338. listingmode:
  17339. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17340. type: integer
  17341. marketid:
  17342. description: 市场ID-仓单贸易、竞拍、预售
  17343. type: integer
  17344. minqty:
  17345. description: 最小执行量[2:分步履约]
  17346. type: number
  17347. modifierid:
  17348. description: 修改人
  17349. type: integer
  17350. nowrquotaflag:
  17351. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17352. type: integer
  17353. performancetempid:
  17354. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17355. 立即执行(-1)
  17356. type: integer
  17357. performancetempid2:
  17358. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17359. 立即执行
  17360. type: integer
  17361. performancetempid2s:
  17362. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17363. - 履约方式: 立即执行
  17364. type: string
  17365. performancetempids:
  17366. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17367. - 履约方式: 立即执行(-1)
  17368. type: string
  17369. performanceway:
  17370. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17371. type: integer
  17372. sellchargealgorithm:
  17373. description: 卖方手续费收取方式 1:比率 2:固定
  17374. type: integer
  17375. sellchargealgorithm2:
  17376. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17377. type: integer
  17378. sellchargealgorithmvalue:
  17379. description: 卖方手续费设置值(交易所部分)
  17380. type: number
  17381. sellchargealgorithmvalue2:
  17382. description: 卖方手续费设置值(会员部分)
  17383. type: number
  17384. sellchargealgorithmvalue3:
  17385. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17386. type: number
  17387. sellchargealgorithmvalue4:
  17388. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17389. type: number
  17390. sellmarginalgorithm:
  17391. description: 卖方保证金方式 - 1:比率 2:固定
  17392. type: integer
  17393. sellmarginvalue:
  17394. description: 卖方保证金设置值
  17395. type: number
  17396. sellmarginvalue2:
  17397. description: 卖方保证金设置值(无仓单)
  17398. type: number
  17399. sellreleaseratio:
  17400. description: 卖方释放比率[2:分步履约]
  17401. type: number
  17402. updatetime:
  17403. description: 更新时间
  17404. type: string
  17405. type: object
  17406. models.WrOrderDetail:
  17407. properties:
  17408. accountid:
  17409. description: 交易账号(资金账号)
  17410. type: integer
  17411. allfriendsflag:
  17412. description: 是否全好友可见 - 0:否 1:是
  17413. type: integer
  17414. amount:
  17415. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17416. type: number
  17417. bannerpicurl:
  17418. description: Banner图
  17419. type: string
  17420. begindate:
  17421. description: 开始交易日(yyyymmdd)
  17422. type: string
  17423. buyorsell:
  17424. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17425. type: integer
  17426. canbargain:
  17427. description: 是否可议价 - 0:不可 1:可
  17428. type: integer
  17429. cancelqty:
  17430. description: 撤销数量
  17431. type: number
  17432. canpart:
  17433. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17434. type: integer
  17435. delistminqty:
  17436. description: 起摘数量
  17437. type: integer
  17438. deliverygoodscode:
  17439. description: 品种代码
  17440. type: string
  17441. deliverygoodsid:
  17442. description: 品种ID
  17443. type: integer
  17444. deliverygoodsname:
  17445. description: 品种名称
  17446. type: string
  17447. deliverymonth:
  17448. description: 交收月
  17449. type: string
  17450. enddate:
  17451. description: 结束交易日(yyyymmdd)
  17452. type: string
  17453. enumdicname:
  17454. description: 单位名称
  17455. type: string
  17456. fixedprice:
  17457. description: 固定价格 - [挂牌]
  17458. type: number
  17459. freezecharge:
  17460. description: 冻结手续费
  17461. type: number
  17462. freezemargin:
  17463. description: 冻结保证金(保证金)
  17464. type: number
  17465. futupricemove:
  17466. description: 期货升贴水
  17467. type: number
  17468. futushow:
  17469. description: 期货合约/升贴水
  17470. type: string
  17471. goodscode:
  17472. description: 期货合约
  17473. type: string
  17474. goodsid:
  17475. description: 期货商品id
  17476. type: integer
  17477. goodsname:
  17478. description: 商品名称
  17479. type: string
  17480. haswr:
  17481. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17482. type: integer
  17483. isspecified:
  17484. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17485. type: integer
  17486. ladingbillid:
  17487. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17488. type: string
  17489. marginvalue:
  17490. description: 保证金设置值(履约保证金)
  17491. type: number
  17492. marketid:
  17493. description: 市场ID
  17494. type: integer
  17495. matchusername:
  17496. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17497. type: string
  17498. minivalue:
  17499. description: 现货商品最小变动值
  17500. type: integer
  17501. optioncompare:
  17502. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17503. type: string
  17504. orderqty:
  17505. description: 委托数量
  17506. type: number
  17507. ordertime:
  17508. description: 委托时间(挂牌时间)
  17509. type: string
  17510. performancetemplateid:
  17511. description: 履约模板id
  17512. type: integer
  17513. pricemove:
  17514. description: 升贴水(浮动价时填写) - [挂牌]
  17515. type: number
  17516. taname:
  17517. description: 交易用户名称(资金账号名称)
  17518. type: string
  17519. thumurls:
  17520. description: 缩略图
  17521. type: string
  17522. tradedate:
  17523. description: 交易日(yyyyMMdd)
  17524. type: string
  17525. tradeprice:
  17526. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17527. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17528. type: number
  17529. tradeqty:
  17530. description: 成交数量
  17531. type: number
  17532. userid:
  17533. description: 用户ID
  17534. type: integer
  17535. validtime:
  17536. description: 挂牌有效期
  17537. type: string
  17538. validtype:
  17539. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17540. type: integer
  17541. warehouseid:
  17542. description: 仓库ID
  17543. type: integer
  17544. warehousename:
  17545. description: 仓库名称
  17546. type: string
  17547. wrfactortypeid:
  17548. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17549. type: string
  17550. wrfactortypename:
  17551. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17552. type: string
  17553. wrpricetype:
  17554. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17555. type: integer
  17556. wrstandardcode:
  17557. description: 现货商品代码
  17558. type: string
  17559. wrstandardid:
  17560. description: 现货商品ID
  17561. type: integer
  17562. wrstandardname:
  17563. description: 商品名称
  17564. type: string
  17565. wrtradeorderid:
  17566. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17567. type: string
  17568. wrtradeorderstatus:
  17569. 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:撤单解冻贷款失败
  17570. type: integer
  17571. wrtradetype:
  17572. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17573. type: integer
  17574. wrtypename:
  17575. description: 商品
  17576. type: string
  17577. type: object
  17578. models.WrOrderQuote:
  17579. properties:
  17580. bannerpicurl:
  17581. description: Banner图
  17582. type: string
  17583. buyprice:
  17584. description: 买价
  17585. type: number
  17586. buypricemove:
  17587. description: 买升贴水(基差)
  17588. type: number
  17589. buyqty:
  17590. description: 买量
  17591. type: number
  17592. deliverygoodscode:
  17593. description: 品种代码
  17594. type: string
  17595. deliverygoodsid:
  17596. description: 品种id
  17597. type: integer
  17598. deliverygoodsname:
  17599. description: 品种名称
  17600. type: string
  17601. deliverymonth:
  17602. description: 交收月
  17603. type: string
  17604. enumdicname:
  17605. description: 单位名称
  17606. type: string
  17607. goodscode:
  17608. description: 商品合约(浮动价列表才有)
  17609. type: string
  17610. goodsid:
  17611. description: 商品id(浮动价列表才有)
  17612. type: integer
  17613. minivalue:
  17614. description: 现货商品最小变动值
  17615. type: integer
  17616. pictureurls:
  17617. description: 详情图片(逗号分隔)
  17618. type: string
  17619. sellprice:
  17620. description: 卖价
  17621. type: number
  17622. sellpricemove:
  17623. description: 卖升贴水(基差)
  17624. type: number
  17625. sellqty:
  17626. description: 卖量
  17627. type: number
  17628. thumurls:
  17629. description: 缩略图片(1:1)(逗号分隔)
  17630. type: string
  17631. warehousecode:
  17632. description: 仓库代码
  17633. type: string
  17634. warehouseid:
  17635. description: 仓库id
  17636. type: integer
  17637. warehousename:
  17638. description: 仓库名称
  17639. type: string
  17640. wrfactortypeid:
  17641. description: 仓单要素id
  17642. type: string
  17643. wrfactortypename:
  17644. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17645. type: string
  17646. wrgoodsname:
  17647. description: 商品(商品名称+仓库要素名称 拼接)
  17648. type: string
  17649. wrstandardcode:
  17650. description: 商品代码
  17651. type: string
  17652. wrstandardid:
  17653. description: 商品id
  17654. type: integer
  17655. wrstandardname:
  17656. description: 商品名称
  17657. type: string
  17658. type: object
  17659. models.WrOrderQuoteDetail:
  17660. properties:
  17661. buyorsell:
  17662. description: 买卖 - 0:买 1:卖
  17663. type: integer
  17664. delistminqty:
  17665. description: 起摘数量
  17666. type: number
  17667. deliverymonth:
  17668. description: 交收月
  17669. type: string
  17670. enumdicname:
  17671. description: 单位名称
  17672. type: string
  17673. fixedprice:
  17674. description: 买(卖)价
  17675. type: number
  17676. marketid:
  17677. description: 市场id
  17678. type: integer
  17679. minivalue:
  17680. description: 现货商品最小变动值
  17681. type: integer
  17682. orderqty:
  17683. description: 买(卖)量(=委托量-成交量)
  17684. type: number
  17685. ordertime:
  17686. description: 委托时间
  17687. type: string
  17688. pricemove:
  17689. description: 买(卖)升贴水- 基差
  17690. type: number
  17691. userid:
  17692. description: 购买方(销售方)用户ID
  17693. type: integer
  17694. username:
  17695. description: 购买方(销售方)
  17696. type: string
  17697. wrtradeorderid:
  17698. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17699. type: string
  17700. type: object
  17701. models.WrOutInApply:
  17702. properties:
  17703. applyid:
  17704. description: 申请单id
  17705. type: string
  17706. applystatus:
  17707. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17708. 8:已撤销
  17709. type: integer
  17710. applytime:
  17711. description: 申请时间
  17712. type: string
  17713. applytype:
  17714. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17715. type: integer
  17716. bannerpicurl:
  17717. description: Banner图
  17718. type: string
  17719. begindate:
  17720. description: 开始交易日(yyyymmdd)
  17721. type: string
  17722. deliverygoodscode:
  17723. description: 品种代码
  17724. type: string
  17725. deliverygoodsid:
  17726. description: 品种ID
  17727. type: integer
  17728. deliverygoodsname:
  17729. description: 品种名称
  17730. type: string
  17731. enddate:
  17732. description: 结束交易日(yyyymmdd)
  17733. type: string
  17734. enumdicname:
  17735. description: 单位名称
  17736. type: string
  17737. expresscompany:
  17738. description: 物流公司
  17739. type: string
  17740. expressnum:
  17741. description: 物流单号
  17742. type: string
  17743. minivalue:
  17744. description: 现货商品最小变动值
  17745. type: integer
  17746. optioncompare:
  17747. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17748. type: string
  17749. qty:
  17750. description: 数量
  17751. type: integer
  17752. userid:
  17753. description: 用户id
  17754. type: integer
  17755. warehouseid:
  17756. description: 仓库ID
  17757. type: integer
  17758. warehousename:
  17759. description: 仓库名称
  17760. type: string
  17761. wrfactortypeid:
  17762. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17763. type: string
  17764. wrfactortypename:
  17765. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17766. type: string
  17767. wrstandardcode:
  17768. description: 现货商品代码
  17769. type: string
  17770. wrstandardid:
  17771. description: 现货商品ID
  17772. type: integer
  17773. wrstandardname:
  17774. description: 商品名称
  17775. type: string
  17776. wrtypename:
  17777. description: 商品
  17778. type: string
  17779. type: object
  17780. models.WrPerformancePlan:
  17781. properties:
  17782. activatemonth:
  17783. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17784. type: string
  17785. amount:
  17786. description: 履约金额(总金额)
  17787. type: number
  17788. begindate:
  17789. description: 开始交易日(yyyymmdd)
  17790. type: string
  17791. buyaccountid:
  17792. description: 买方账号
  17793. type: integer
  17794. buyerfreezeamount:
  17795. description: 履约冻结(买履约)
  17796. type: number
  17797. buyerfreezeamountremain:
  17798. description: 履约冻结剩余(买履约)
  17799. type: number
  17800. buyorsell:
  17801. description: 买卖方向 0-买 1-卖
  17802. type: integer
  17803. buypaidamount:
  17804. description: 买方已冻/已扣金额 (已付金额)
  17805. type: number
  17806. buyusername:
  17807. description: 买方名字
  17808. type: string
  17809. contractid:
  17810. description: 合同ID
  17811. type: integer
  17812. createtime:
  17813. description: 创建时间
  17814. type: string
  17815. creatorid:
  17816. description: 创建人
  17817. type: integer
  17818. curstepdeadline:
  17819. description: 当前步骤到期时间
  17820. type: string
  17821. curstepid:
  17822. description: 当前步骤ID
  17823. type: string
  17824. curstepname:
  17825. description: 当前步骤名称
  17826. type: string
  17827. deliverygoodscode:
  17828. description: 品种代码
  17829. type: string
  17830. deliverygoodsid:
  17831. description: 品种ID
  17832. type: integer
  17833. deliverygoodsname:
  17834. description: 品种名称
  17835. type: string
  17836. enddate:
  17837. description: 结束交易日(yyyymmdd)
  17838. type: string
  17839. enumdicname:
  17840. description: 单位名称
  17841. type: string
  17842. expressfee:
  17843. description: 运费
  17844. type: number
  17845. expressfeeconfirmed:
  17846. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17847. type: integer
  17848. hasovershort:
  17849. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17850. type: integer
  17851. haswr:
  17852. description: 类型 0-仓单预售 1-仓单贸易
  17853. type: integer
  17854. marketid:
  17855. description: 市场ID
  17856. type: integer
  17857. middleaccountid:
  17858. description: 中间商资金账号ID
  17859. type: integer
  17860. middleuserid:
  17861. description: 中间商用户ID
  17862. type: integer
  17863. minivalue:
  17864. description: 现货商品最小变动值
  17865. type: integer
  17866. optioncompare:
  17867. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17868. type: string
  17869. overshortamount:
  17870. description: 溢短金额
  17871. type: number
  17872. overshortqty:
  17873. description: 溢短数量
  17874. type: number
  17875. paymenttype:
  17876. description: 付款方式 - 1:冻结 2:扣款
  17877. type: integer
  17878. performanceplanid:
  17879. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17880. type: string
  17881. performancestatus:
  17882. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17883. 9:超时待处理 10:超时关闭
  17884. type: integer
  17885. performancetype:
  17886. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17887. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17888. type: integer
  17889. qty:
  17890. description: 履约数量
  17891. type: number
  17892. relatedorderid:
  17893. description: 关联单号(履约类型的关联单号)
  17894. type: string
  17895. remark:
  17896. description: 备注
  17897. type: string
  17898. sellaccountid:
  17899. description: 卖方账号
  17900. type: integer
  17901. sellerfreezeamount:
  17902. description: 履约冻结(卖履约)
  17903. type: number
  17904. sellerfreezeamountremain:
  17905. description: 履约冻结剩余(卖履约)
  17906. type: number
  17907. sellreceivedamount:
  17908. description: 卖方已收金额
  17909. type: number
  17910. sellusername:
  17911. description: 卖方名字
  17912. type: string
  17913. shipremark:
  17914. description: 发货备注[物流单号]
  17915. type: string
  17916. starttime:
  17917. description: 开始时间
  17918. type: string
  17919. steptypeid:
  17920. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17921. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17922. type: integer
  17923. typename:
  17924. description: 履约类型 名称
  17925. type: string
  17926. unpaidamount:
  17927. description: 剩余款(待支付金额)
  17928. type: number
  17929. userid:
  17930. description: 用户id
  17931. type: integer
  17932. warehouseid:
  17933. description: 仓库ID
  17934. type: integer
  17935. warehousename:
  17936. description: 仓库名称
  17937. type: string
  17938. wrfactortypeid:
  17939. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17940. type: string
  17941. wrfactortypename:
  17942. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17943. type: string
  17944. wrstandardcode:
  17945. description: 现货商品代码
  17946. type: string
  17947. wrstandardid:
  17948. description: 现货商品ID
  17949. type: integer
  17950. wrstandardname:
  17951. description: 商品名称
  17952. type: string
  17953. wrtransferuserid:
  17954. description: 仓单受让用户
  17955. type: integer
  17956. wrtypename:
  17957. description: 商品
  17958. type: string
  17959. required:
  17960. - userid
  17961. type: object
  17962. models.WrPerformancePlanStep:
  17963. properties:
  17964. delaydays:
  17965. description: 延期申请天数
  17966. type: integer
  17967. deliverygoodscode:
  17968. description: 品种代码
  17969. type: string
  17970. deliverygoodsid:
  17971. description: 品种ID
  17972. type: integer
  17973. deliverygoodsname:
  17974. description: 品种名称
  17975. type: string
  17976. endtime:
  17977. description: 结束日期
  17978. type: string
  17979. enumdicname:
  17980. description: 单位名称
  17981. type: string
  17982. executeside:
  17983. description: 步骤执行方 - 1:买方 2:卖方
  17984. type: integer
  17985. handlestatus:
  17986. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17987. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17988. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17989. type: integer
  17990. isauto:
  17991. description: 是否自动 - 0:不自动 1:自动
  17992. type: integer
  17993. islastreceivestep:
  17994. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17995. type: integer
  17996. minivalue:
  17997. description: 现货商品最小变动值
  17998. type: integer
  17999. optioncompare:
  18000. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18001. type: string
  18002. overdays:
  18003. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18004. type: integer
  18005. performancestepid:
  18006. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18007. type: string
  18008. planid:
  18009. description: 所属履约计划ID
  18010. type: string
  18011. realamount:
  18012. description: 实际完成金额
  18013. type: number
  18014. relatedorderid:
  18015. description: 关联单号
  18016. type: string
  18017. remaindays:
  18018. description: 剩余天数
  18019. type: integer
  18020. remark:
  18021. description: 错误备注
  18022. type: string
  18023. starttime:
  18024. description: 开始日期
  18025. type: string
  18026. stepamount:
  18027. description: 步骤金额
  18028. type: number
  18029. stepdays:
  18030. description: 距离上一步天数(分钟)
  18031. type: integer
  18032. stepindex:
  18033. description: 步骤序号
  18034. type: integer
  18035. steplanchtype:
  18036. description: 步骤启动类型 - 1:系统自动 2:手动
  18037. type: integer
  18038. stepremark:
  18039. description: 步骤备注
  18040. type: string
  18041. stepstatus:
  18042. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18043. type: integer
  18044. steptypeid:
  18045. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18046. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18047. type: integer
  18048. steptypename:
  18049. description: 步骤名称
  18050. type: string
  18051. stepvalue:
  18052. description: 步骤值
  18053. type: number
  18054. warehouseid:
  18055. description: 仓库ID
  18056. type: integer
  18057. warehousename:
  18058. description: 仓库名称
  18059. type: string
  18060. wrfactortypeid:
  18061. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18062. type: string
  18063. wrfactortypename:
  18064. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18065. type: string
  18066. wrstandardcode:
  18067. description: 现货商品代码
  18068. type: string
  18069. wrstandardid:
  18070. description: 现货商品ID
  18071. type: integer
  18072. wrstandardname:
  18073. description: 商品名称
  18074. type: string
  18075. wrtypename:
  18076. description: 商品
  18077. type: string
  18078. type: object
  18079. models.WrPerformanceStepType:
  18080. properties:
  18081. canauto:
  18082. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18083. type: integer
  18084. steptypeid:
  18085. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18086. type: integer
  18087. steptypename:
  18088. description: 步骤类型名称
  18089. type: string
  18090. type: object
  18091. models.WrPerformanceTemplateEx:
  18092. properties:
  18093. autoid:
  18094. description: AutoID 模板id
  18095. type: integer
  18096. createtime:
  18097. description: 创建时间
  18098. type: string
  18099. creatorid:
  18100. description: 创建人
  18101. type: integer
  18102. lstStep:
  18103. description: 步骤信息列表
  18104. items:
  18105. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18106. type: array
  18107. paymenttype:
  18108. description: 支付方式 - 1:冻结 2:扣款
  18109. type: integer
  18110. takemode:
  18111. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18112. type: integer
  18113. templatename:
  18114. description: 模板名称
  18115. type: string
  18116. templatetype:
  18117. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18118. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18119. type: integer
  18120. userid:
  18121. description: 所属用户
  18122. type: integer
  18123. type: object
  18124. models.WrPosition:
  18125. properties:
  18126. accountid:
  18127. description: 帐户ID
  18128. type: integer
  18129. buyexcuteqty:
  18130. description: 采购履约中数量
  18131. type: number
  18132. creditcurqty:
  18133. description: 授信当前数量(预售仓单:预售当前量)
  18134. type: number
  18135. creditenableqty:
  18136. description: '授信可用数量(预售仓单: 可用数量)'
  18137. type: number
  18138. creditfreezeqty:
  18139. description: '授信冻结数量(预售仓单: 当前数量)'
  18140. type: number
  18141. credittotalqty:
  18142. description: 授信总数量(预售仓单:预售总量)
  18143. type: number
  18144. credittradeqty:
  18145. description: 授信成交数量(预售仓单:成交总量)
  18146. type: number
  18147. deliverygoodscode:
  18148. description: 品种代码
  18149. type: string
  18150. deliverygoodsid:
  18151. description: 品种ID
  18152. type: integer
  18153. deliverygoodsname:
  18154. description: 品种名称
  18155. type: string
  18156. enalbeqty:
  18157. description: 可用数量
  18158. type: number
  18159. enumdicname:
  18160. description: 单位名称
  18161. type: string
  18162. freezeqty:
  18163. description: 总冻结数量
  18164. type: number
  18165. haswr:
  18166. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18167. type: integer
  18168. minivalue:
  18169. description: 现货商品最小变动值
  18170. type: integer
  18171. modifytime:
  18172. description: 修改时间(过户时间)
  18173. type: string
  18174. optioncompare:
  18175. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18176. type: string
  18177. pledgeqty:
  18178. description: 质押数量
  18179. type: number
  18180. querytype:
  18181. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18182. type: integer
  18183. sellexcuteqty:
  18184. description: 销售履约中数量
  18185. type: number
  18186. totalqty:
  18187. description: 总数量(库存数量)
  18188. type: number
  18189. warehouseid:
  18190. description: 仓库ID
  18191. type: integer
  18192. warehousename:
  18193. description: 仓库名称
  18194. type: string
  18195. wrfactortypeid:
  18196. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18197. type: string
  18198. wrfactortypename:
  18199. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18200. type: string
  18201. wrpositionid:
  18202. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18203. type: string
  18204. wrpositionno:
  18205. description: 仓单编号
  18206. type: string
  18207. wrstandardcode:
  18208. description: 现货商品代码
  18209. type: string
  18210. wrstandardid:
  18211. description: 现货商品ID
  18212. type: integer
  18213. wrstandardname:
  18214. description: 商品名称
  18215. type: string
  18216. wrtypename:
  18217. description: 商品
  18218. type: string
  18219. wruserid:
  18220. description: 持有人ID
  18221. type: integer
  18222. type: object
  18223. models.WrPreSaleInfo:
  18224. properties:
  18225. bannerpicurl:
  18226. description: Banner图
  18227. type: string
  18228. baseqty:
  18229. description: 中签基数
  18230. type: number
  18231. createtime:
  18232. description: 创建时间
  18233. type: string
  18234. deliverygoodsid:
  18235. description: 现货品种ID
  18236. type: integer
  18237. enddate:
  18238. description: 预售结束日期
  18239. type: string
  18240. enumdicname:
  18241. description: 单位名称
  18242. type: string
  18243. lotteryflag:
  18244. description: 摇号标识 - 0:未摇号 1:已摇号
  18245. type: integer
  18246. lotteryqty:
  18247. description: 摇号总量
  18248. type: number
  18249. luckyqty:
  18250. description: 已中签量
  18251. type: number
  18252. marketid:
  18253. description: 市场ID
  18254. type: integer
  18255. maxbuyqty:
  18256. description: 单人最大申购量
  18257. type: number
  18258. maxluckyqty:
  18259. description: 单人最大中签量
  18260. type: number
  18261. pictureurls:
  18262. description: 详情图片(逗号分隔)
  18263. type: string
  18264. placeqty:
  18265. description: 已配售量
  18266. type: number
  18267. presaleapplyid:
  18268. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18269. example: "0"
  18270. type: string
  18271. presaleqty:
  18272. description: 预售总量
  18273. type: number
  18274. presalestatus:
  18275. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18276. type: integer
  18277. sellaccountid:
  18278. description: 发行方资金账户ID
  18279. type: integer
  18280. selluserid:
  18281. description: 发行方用户ID
  18282. type: integer
  18283. sellwrtradeorderid:
  18284. description: 发行方卖委托单ID
  18285. type: string
  18286. startdate:
  18287. description: 预售开始日期
  18288. type: string
  18289. takestartdate:
  18290. description: 提货开始日期
  18291. type: string
  18292. thumurls:
  18293. description: 缩略图片(1:1)(逗号分隔)
  18294. type: string
  18295. tradedate:
  18296. description: 交易日
  18297. type: string
  18298. unitid:
  18299. description: 单位ID
  18300. type: integer
  18301. unitprice:
  18302. description: 商品单价
  18303. type: number
  18304. username:
  18305. description: 发行方用户名称
  18306. type: string
  18307. warehousecode:
  18308. description: 仓库代码(仓库简称)
  18309. type: string
  18310. warehouseid:
  18311. description: 仓库ID
  18312. type: integer
  18313. warehousename:
  18314. description: 仓库名称
  18315. type: string
  18316. wrfactortypeid:
  18317. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18318. example: "0"
  18319. type: string
  18320. wrstandardid:
  18321. description: 现货商品ID
  18322. type: integer
  18323. wrstandardname:
  18324. description: 现货商品名称
  18325. type: string
  18326. type: object
  18327. models.WrQuoteOrderMyq:
  18328. properties:
  18329. buyorsell:
  18330. description: 买卖 - 0:买 1:卖
  18331. type: integer
  18332. canbargain:
  18333. description: 是否可议价 - 0:不可 1:可
  18334. type: integer
  18335. canpart:
  18336. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18337. type: integer
  18338. delistminqty:
  18339. description: 起摘数量
  18340. type: number
  18341. deliverygoodscode:
  18342. description: 品种代码
  18343. type: string
  18344. deliverygoodsid:
  18345. description: 品种ID
  18346. type: integer
  18347. deliverygoodsname:
  18348. description: 品种名称
  18349. type: string
  18350. deliverymonth:
  18351. description: 交收月
  18352. type: string
  18353. enumdicname:
  18354. description: 单位名称
  18355. type: string
  18356. fixedprice:
  18357. description: 买(卖)价
  18358. type: number
  18359. goodscode:
  18360. description: 商品合约代码
  18361. type: string
  18362. marginflag:
  18363. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18364. type: integer
  18365. marginvalue:
  18366. description: 保证金设置值
  18367. type: number
  18368. minivalue:
  18369. description: 现货商品最小变动值
  18370. type: integer
  18371. orderqty:
  18372. description: 买(卖)量(=委托量-成交量)
  18373. type: number
  18374. ordertime:
  18375. description: 委托时间
  18376. type: string
  18377. performancetemplateid:
  18378. description: 履约模板id
  18379. type: integer
  18380. pricemove:
  18381. description: 买(卖)升贴水- 基差
  18382. type: number
  18383. templatename:
  18384. description: 履约模板名称
  18385. type: string
  18386. userid:
  18387. description: 购买方(销售方)用户ID
  18388. type: integer
  18389. username:
  18390. description: 购买方(销售方)
  18391. type: string
  18392. validtime:
  18393. description: 有效期限
  18394. type: string
  18395. validtype:
  18396. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18397. type: integer
  18398. warehousename:
  18399. description: 仓库名称
  18400. type: string
  18401. wrfactortypeid:
  18402. description: 仓单要素id
  18403. type: string
  18404. wrstandardcode:
  18405. description: 现货商品代码
  18406. type: string
  18407. wrstandardid:
  18408. description: 现货商品ID
  18409. type: integer
  18410. wrstandardname:
  18411. description: 商品名称
  18412. type: string
  18413. wrtradeorderid:
  18414. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18415. type: string
  18416. wrtypename:
  18417. description: 商品
  18418. type: string
  18419. type: object
  18420. models.WrReckonSpotGoodsTradeSum:
  18421. properties:
  18422. begindate:
  18423. description: 开始日期(结果含开始日期) yyyymmdd
  18424. type: string
  18425. enddate:
  18426. description: 结束日期(结果含结束日期) yyyymmdd
  18427. type: string
  18428. istoday:
  18429. description: 是否当日
  18430. type: boolean
  18431. marketid:
  18432. description: 市场ID
  18433. type: integer
  18434. price:
  18435. description: 价格 = 日成交金额 / 日成交数量
  18436. type: string
  18437. reckondate:
  18438. description: 日期 格式 yyyymmdd
  18439. type: string
  18440. tradeamount:
  18441. description: 日成交金额(当日单方向成交金额)
  18442. type: number
  18443. tradeqty:
  18444. description: 日成交数量(当日单方向成交数量)
  18445. type: number
  18446. wrstandardid:
  18447. description: 现货商品ID
  18448. type: integer
  18449. type: object
  18450. models.WrScfContract:
  18451. properties:
  18452. borroweruserid:
  18453. description: 借款用户ID
  18454. type: integer
  18455. buybackwrpositionqty:
  18456. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18457. type: number
  18458. closeinterest:
  18459. description: 已结利息 -> 已结费用
  18460. type: number
  18461. currisklevel:
  18462. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18463. type: integer
  18464. deadline:
  18465. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18466. type: string
  18467. deliverygoodscode:
  18468. description: 品种代码
  18469. type: string
  18470. deliverygoodsid:
  18471. description: 品种ID
  18472. type: integer
  18473. deliverygoodsname:
  18474. description: 品种名称
  18475. type: string
  18476. enumdicname:
  18477. description: 单位名称
  18478. type: string
  18479. financingdays:
  18480. description: 天数(天)
  18481. type: integer
  18482. initmargin:
  18483. description: 保证金 - [仓单回购]
  18484. type: number
  18485. interestamount:
  18486. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18487. type: number
  18488. interestdebt:
  18489. description: 利息欠款(记录负数) -> 费用欠款
  18490. type: number
  18491. interestminlen:
  18492. description: 最小起息天数
  18493. type: integer
  18494. interestrate:
  18495. description: 利率
  18496. type: number
  18497. interestratemode:
  18498. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18499. type: integer
  18500. interestsettlemode:
  18501. description: 结息方式 - 1:按日结息 3:按月结息
  18502. type: integer
  18503. interestsettlevalue:
  18504. description: 结息方式值
  18505. type: integer
  18506. isautoloan:
  18507. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18508. type: integer
  18509. lastcloseinterestday:
  18510. description: 最近结息日(yyyyMMdd)
  18511. type: string
  18512. lenderamount:
  18513. description: 贷款金额 -> 借款金额
  18514. type: number
  18515. lenderuserid:
  18516. description: 贷款方用户ID -> 融出方用户ID
  18517. type: integer
  18518. lenderusername:
  18519. description: 融出方
  18520. type: string
  18521. marginratio:
  18522. description: 保证金比率质押率 - [仓单质押]
  18523. type: number
  18524. marketid:
  18525. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18526. type: integer
  18527. minivalue:
  18528. description: 现货商品最小变动值
  18529. type: integer
  18530. optioncompare:
  18531. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18532. type: string
  18533. pricemove:
  18534. description: 估值升贴水值
  18535. type: number
  18536. productdetailid:
  18537. description: 产品组合ID
  18538. type: integer
  18539. productid:
  18540. description: 金融产品ID
  18541. type: integer
  18542. productname:
  18543. description: 产品名称
  18544. type: string
  18545. remainamount:
  18546. description: 合同剩余金额 -> 剩余金额
  18547. type: number
  18548. remainwrpositionqty:
  18549. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18550. type: number
  18551. remark:
  18552. description: 备注
  18553. type: string
  18554. scfcontractid:
  18555. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18556. type: string
  18557. scfcontractstatus:
  18558. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18559. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18560. type: integer
  18561. scfcontracttype:
  18562. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18563. type: integer
  18564. startinterestday:
  18565. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18566. type: string
  18567. totalinterest:
  18568. description: 已计利息 -> 已计费用
  18569. type: number
  18570. unpaidinterest:
  18571. description: 未结费用
  18572. type: number
  18573. updatetime:
  18574. description: 更新时间
  18575. type: string
  18576. warehouseid:
  18577. description: 仓库ID
  18578. type: integer
  18579. warehousename:
  18580. description: 仓库名称
  18581. type: string
  18582. wrfactortypeid:
  18583. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18584. type: string
  18585. wrfactortypename:
  18586. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18587. type: string
  18588. wrqty:
  18589. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18590. type: number
  18591. wrstandardcode:
  18592. description: 现货商品代码
  18593. type: string
  18594. wrstandardid:
  18595. description: 现货商品ID
  18596. type: integer
  18597. wrstandardname:
  18598. description: 商品名称
  18599. type: string
  18600. wrtypename:
  18601. description: 商品
  18602. type: string
  18603. type: object
  18604. models.WrScfContractInterest:
  18605. properties:
  18606. closeinterest:
  18607. description: 已结利息
  18608. type: number
  18609. closeintereststatus:
  18610. description: 结息状态 - 1:未结 2:已结
  18611. type: integer
  18612. closetime:
  18613. description: 结息时间
  18614. type: string
  18615. closetradedate:
  18616. description: 结息交易日
  18617. type: string
  18618. creatorid:
  18619. description: 操作人ID
  18620. type: integer
  18621. dayrate:
  18622. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18623. type: number
  18624. interest:
  18625. description: 利息
  18626. type: number
  18627. interestamount:
  18628. description: 计息金额
  18629. type: number
  18630. interestday:
  18631. description: 计息日(yyyyMMdd)
  18632. type: string
  18633. scfcontractid:
  18634. description: SCF合同ID
  18635. type: string
  18636. scfcontractinterestid:
  18637. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18638. type: integer
  18639. updatetime:
  18640. description: 更新时间
  18641. type: string
  18642. type: object
  18643. models.WrSearchUser:
  18644. properties:
  18645. userid:
  18646. description: 用户ID
  18647. type: integer
  18648. username:
  18649. description: 用户名称(已脱敏)
  18650. type: string
  18651. username2:
  18652. description: 用户名称(未脱敏)
  18653. type: string
  18654. usertype:
  18655. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18656. type: integer
  18657. required:
  18658. - username
  18659. type: object
  18660. models.WrSiteColumnDetail:
  18661. properties:
  18662. brief:
  18663. description: 简介
  18664. type: string
  18665. context:
  18666. description: 内容
  18667. type: string
  18668. coverimage:
  18669. description: 封面图片
  18670. type: string
  18671. creaedate:
  18672. description: 创建时间
  18673. type: string
  18674. id:
  18675. description: ID(SEQ_SITE_COLUMNDETAIL)
  18676. type: integer
  18677. istop:
  18678. description: 是否置顶 - 0:不置 1:置顶
  18679. type: integer
  18680. publishdate:
  18681. description: 发布日期
  18682. type: string
  18683. title:
  18684. description: 标题
  18685. type: string
  18686. updatedate:
  18687. description: 修改时间
  18688. type: string
  18689. type: object
  18690. models.WrSpecialMatchOrder:
  18691. properties:
  18692. amount:
  18693. description: 金额 = 数量 * 价格
  18694. type: number
  18695. buyorsell:
  18696. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18697. type: integer
  18698. cancelqty:
  18699. description: 撤销数量
  18700. type: number
  18701. deliverygoodscode:
  18702. description: 品种代码
  18703. type: string
  18704. deliverygoodsid:
  18705. description: 品种ID
  18706. type: integer
  18707. deliverygoodsname:
  18708. description: 品种名称
  18709. type: string
  18710. enumdicname:
  18711. description: 单位名称
  18712. type: string
  18713. fixedprice:
  18714. description: 固定价格(价格)
  18715. type: number
  18716. haswr:
  18717. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18718. type: integer
  18719. isspecified:
  18720. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18721. type: integer
  18722. marketid:
  18723. description: 市场ID
  18724. type: integer
  18725. matchuserid:
  18726. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18727. type: integer
  18728. matchusername:
  18729. description: 指定方
  18730. type: string
  18731. minivalue:
  18732. description: 现货商品最小变动值
  18733. type: integer
  18734. optioncompare:
  18735. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18736. type: string
  18737. orderqty:
  18738. description: 委托数量
  18739. type: number
  18740. ordertime:
  18741. description: 委托时间
  18742. type: string
  18743. pricemove:
  18744. description: 升贴水(浮动价时填写) - [挂牌]
  18745. type: number
  18746. tradedate:
  18747. description: 交易日(yyyyMMdd)
  18748. type: string
  18749. tradeprice:
  18750. description: 成交价格
  18751. type: number
  18752. tradeqty:
  18753. description: 成交数量
  18754. type: number
  18755. userid:
  18756. description: 用户ID
  18757. type: integer
  18758. username:
  18759. description: 发起方
  18760. type: string
  18761. warehouseid:
  18762. description: 仓库ID
  18763. type: integer
  18764. warehousename:
  18765. description: 仓库名称
  18766. type: string
  18767. wrfactortypeid:
  18768. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18769. type: string
  18770. wrfactortypename:
  18771. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18772. type: string
  18773. wrpricetype:
  18774. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18775. type: integer
  18776. wrstandardcode:
  18777. description: 现货商品代码
  18778. type: string
  18779. wrstandardid:
  18780. description: 现货商品ID
  18781. type: integer
  18782. wrstandardname:
  18783. description: 商品名称
  18784. type: string
  18785. wrtradeorderid:
  18786. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18787. type: string
  18788. wrtradeorderstatus:
  18789. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18790. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18791. type: integer
  18792. wrtradetype:
  18793. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18794. type: integer
  18795. wrtypename:
  18796. description: 商品
  18797. type: string
  18798. type: object
  18799. models.WrSpotGroupTradeSum:
  18800. properties:
  18801. deliverygoodscode:
  18802. description: 现货品种代码
  18803. type: string
  18804. deliverygoodsid:
  18805. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18806. type: integer
  18807. deliverygoodsname:
  18808. description: 现货品种名称
  18809. type: string
  18810. lastavgprice:
  18811. description: 上上个交易日价格(前2天价格)
  18812. type: string
  18813. lastreckondate:
  18814. description: 上上个交易日(前2天交易日)
  18815. type: string
  18816. reckondate:
  18817. description: 上个交易日(前1天交易日)
  18818. type: string
  18819. todayavgprice:
  18820. description: 上个交易日价格(前1天价格)
  18821. type: string
  18822. updown:
  18823. description: 涨跌
  18824. type: string
  18825. updownratio:
  18826. description: 涨幅(已格式化, 直接显示即可)
  18827. type: string
  18828. type: object
  18829. models.WrSpotGroupTradeSumDetail:
  18830. properties:
  18831. deliverygoodsid:
  18832. description: 现货商品id
  18833. type: integer
  18834. price:
  18835. description: 价格
  18836. type: number
  18837. reckondate:
  18838. description: 日期(yyymmdd, 如:20211031)
  18839. type: string
  18840. type: object
  18841. models.WrSpotGroupTradeSumEx:
  18842. properties:
  18843. lst:
  18844. description: 指数列表
  18845. items:
  18846. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18847. type: array
  18848. prereckondate:
  18849. description: 上上个交易日(yyymmdd)
  18850. type: string
  18851. reckondate:
  18852. description: 上个交易日(yyyymmdd)
  18853. type: string
  18854. type: object
  18855. models.WrStandardFactoryItem:
  18856. properties:
  18857. dgfactoryitemid:
  18858. description: 选择项id
  18859. type: integer
  18860. dgfactoryitemvalue:
  18861. description: 要素项值
  18862. type: string
  18863. warehouseid:
  18864. description: 仓库id
  18865. type: integer
  18866. type: object
  18867. models.WrStandardFactoryItemEx:
  18868. properties:
  18869. dgfactoryitemtypeid:
  18870. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18871. type: integer
  18872. itemlst:
  18873. description: 要素项列表
  18874. items:
  18875. $ref: '#/definitions/models.WrStandardFactoryItem'
  18876. type: array
  18877. itemtypename:
  18878. description: 要素项类型名称
  18879. type: string
  18880. wrstandardid:
  18881. description: 品类
  18882. type: integer
  18883. type: object
  18884. models.WrTradeDetail:
  18885. properties:
  18886. accountid:
  18887. description: 资金账号
  18888. type: integer
  18889. bannerpicurl:
  18890. description: Banner图
  18891. type: string
  18892. begindate:
  18893. description: 开始交易日(yyyymmdd)
  18894. type: string
  18895. buyorsell:
  18896. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18897. type: integer
  18898. chargevalue:
  18899. description: 手续费
  18900. type: number
  18901. deliverygoodscode:
  18902. description: 品种代码
  18903. type: string
  18904. deliverygoodsid:
  18905. description: 品种ID
  18906. type: integer
  18907. deliverygoodsname:
  18908. description: 品种名称
  18909. type: string
  18910. deliverymonth:
  18911. description: 交收月
  18912. type: string
  18913. enddate:
  18914. description: 结束交易日(yyyymmdd)
  18915. type: string
  18916. enumdicname:
  18917. description: 单位名称
  18918. type: string
  18919. haswr:
  18920. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18921. type: integer
  18922. marketid:
  18923. description: 市场ID
  18924. type: integer
  18925. matchaccountid:
  18926. description: 对手账号
  18927. type: integer
  18928. matchusername:
  18929. description: 对手方
  18930. type: string
  18931. minivalue:
  18932. description: 现货商品最小变动值
  18933. type: integer
  18934. optioncompare:
  18935. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18936. type: string
  18937. thumurls:
  18938. description: 缩略图
  18939. type: string
  18940. tradedate:
  18941. description: 交易日(yyyyMMdd)
  18942. type: string
  18943. tradeprice:
  18944. description: 成交价格
  18945. type: number
  18946. tradeqty:
  18947. description: 成交数量
  18948. type: number
  18949. tradetime:
  18950. description: 成交时间
  18951. type: string
  18952. userid:
  18953. description: 用户ID
  18954. type: integer
  18955. warehouseid:
  18956. description: 仓库ID
  18957. type: integer
  18958. warehousename:
  18959. description: 仓库名称
  18960. type: string
  18961. wrfactortypeid:
  18962. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18963. type: string
  18964. wrfactortypename:
  18965. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18966. type: string
  18967. wrstandardcode:
  18968. description: 现货商品代码
  18969. type: string
  18970. wrstandardid:
  18971. description: 现货商品ID
  18972. type: integer
  18973. wrstandardname:
  18974. description: 商品名称
  18975. type: string
  18976. wrtradedetailid:
  18977. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18978. type: string
  18979. wrtradetype:
  18980. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18981. type: integer
  18982. wrtypename:
  18983. description: 商品
  18984. type: string
  18985. type: object
  18986. models.WrTradeOrderDetail:
  18987. properties:
  18988. buyorsell:
  18989. description: 买卖方向 0-买 1-卖
  18990. type: integer
  18991. goodsid:
  18992. description: 商品id
  18993. type: integer
  18994. orderid:
  18995. description: 委托单号
  18996. type: string
  18997. orderprice:
  18998. description: 委托价格
  18999. type: number
  19000. orderqty:
  19001. description: 委托数量
  19002. type: integer
  19003. userid:
  19004. description: 用户id
  19005. type: integer
  19006. username:
  19007. description: 用户名称(已脱敏)
  19008. type: string
  19009. type: object
  19010. models.WrTypeItem:
  19011. properties:
  19012. name:
  19013. description: 名称
  19014. type: string
  19015. value:
  19016. description: 值
  19017. type: string
  19018. type: object
  19019. models.WrUserFriend:
  19020. properties:
  19021. friendname:
  19022. description: 朋友名称(已脱敏)
  19023. type: string
  19024. frienduserid:
  19025. description: 朋友id
  19026. type: integer
  19027. isfriend:
  19028. description: 是否好友 0-不是 1-是
  19029. type: integer
  19030. userid:
  19031. description: 用户id
  19032. type: integer
  19033. type: object
  19034. models.WrUserReceiptInfo:
  19035. properties:
  19036. address:
  19037. description: 地址[发票类型:企业]
  19038. type: string
  19039. autoid:
  19040. description: AutoID
  19041. type: integer
  19042. contactinfo:
  19043. description: 联系方式
  19044. type: string
  19045. idnum:
  19046. description: 身份证号码[发票类型:个人]
  19047. type: string
  19048. isdefault:
  19049. description: 是否默认地址 - 0:否 1:是
  19050. type: integer
  19051. receiptaccount:
  19052. description: 发票帐号[发票类型:企业]
  19053. type: string
  19054. receiptbank:
  19055. description: 发票开户行[发票类型:企业]
  19056. type: string
  19057. receipttype:
  19058. description: 发票类型 - 1:个人 2:企业
  19059. type: integer
  19060. taxpayerid:
  19061. description: 纳税人识别号
  19062. type: string
  19063. userid:
  19064. description: 用户ID
  19065. type: integer
  19066. username:
  19067. description: 户名(个人姓名或企业名称)
  19068. type: string
  19069. type: object
  19070. models.XHBRAND:
  19071. properties:
  19072. brandid:
  19073. description: 品牌id
  19074. type: integer
  19075. brandname:
  19076. description: 品牌名称
  19077. type: string
  19078. isvalid:
  19079. description: 是否有效 0-无效 1-有效
  19080. type: integer
  19081. type: object
  19082. models.XHDeliveryGoods:
  19083. properties:
  19084. areauserid:
  19085. description: 所属机构
  19086. type: integer
  19087. bdlst:
  19088. description: 品牌列表
  19089. items:
  19090. $ref: '#/definitions/models.XHBRAND'
  19091. type: array
  19092. deliverygoodscode:
  19093. description: 现货品种代码
  19094. type: string
  19095. deliverygoodsid:
  19096. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19097. type: integer
  19098. deliverygoodsname:
  19099. description: 现货品种名称
  19100. type: string
  19101. dgstatus:
  19102. description: 品种状态 - 作废 - 0:未激活 1:正常
  19103. type: integer
  19104. filterSubEmpty:
  19105. description: 过滤下级为空的
  19106. type: integer
  19107. isvalid:
  19108. description: 是否有效 - 0:无效 1:有效
  19109. type: integer
  19110. remark:
  19111. description: 备注
  19112. type: string
  19113. unitid:
  19114. description: 单位id(目前看,数据库中是空值)
  19115. type: integer
  19116. wdlst:
  19117. description: 品类(现货商品)列表
  19118. items:
  19119. $ref: '#/definitions/models.XHWrstandard'
  19120. type: array
  19121. type: object
  19122. models.XHMiddleGoods:
  19123. properties:
  19124. GPLST:
  19125. description: 期货品种列表
  19126. items:
  19127. $ref: '#/definitions/models.TBGoodsGroup'
  19128. type: array
  19129. convertratio:
  19130. description: 拆算系数
  19131. type: number
  19132. costratio:
  19133. description: 成本权重
  19134. type: number
  19135. deliverygoodsid:
  19136. description: 现货商品id
  19137. type: integer
  19138. enumdicname:
  19139. description: 单位名称
  19140. type: string
  19141. middlegoodscode:
  19142. description: 套保品种代码
  19143. type: string
  19144. middlegoodsid:
  19145. description: 套保品种id
  19146. type: integer
  19147. middlegoodsname:
  19148. description: 套保品种名称
  19149. type: string
  19150. unitid:
  19151. description: 单位id
  19152. type: integer
  19153. type: object
  19154. models.XHWrstandard:
  19155. properties:
  19156. bannerpicurl:
  19157. description: banner图
  19158. type: string
  19159. deliverygoodsid:
  19160. description: 品种ID
  19161. type: integer
  19162. enumdicname:
  19163. description: 单位名称
  19164. type: string
  19165. mglst:
  19166. description: 套保品列表
  19167. items:
  19168. $ref: '#/definitions/models.XHMiddleGoods'
  19169. type: array
  19170. pictureurls:
  19171. description: 详情图片(逗号分隔)
  19172. type: string
  19173. thumurls:
  19174. description: 缩略图片(1:1)(逗号分隔)
  19175. type: string
  19176. unitid:
  19177. description: 单位id
  19178. type: integer
  19179. vatrate:
  19180. description: 增值税率
  19181. type: number
  19182. wrstandardcode:
  19183. description: 现货商品代码
  19184. type: string
  19185. wrstandardid:
  19186. description: 现货商品ID(SEQ_WRSTANDARD)
  19187. type: integer
  19188. wrstandardname:
  19189. description: 现货商品名称
  19190. type: string
  19191. type: object
  19192. models.XhcpSellBackApplyEx:
  19193. properties:
  19194. applyremark:
  19195. description: 申请备注
  19196. type: string
  19197. expirytype:
  19198. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19199. type: integer
  19200. goodsspec:
  19201. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19202. type: integer
  19203. holeflag:
  19204. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19205. type: integer
  19206. isunopened:
  19207. description: 是否原封 - 1:否 2:是
  19208. type: integer
  19209. mpflag:
  19210. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19211. type: integer
  19212. openflag:
  19213. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19214. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19215. type: integer
  19216. phonenum:
  19217. description: 联系电话
  19218. type: string
  19219. userid:
  19220. description: 所属用户ID
  19221. type: integer
  19222. zpflag:
  19223. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19224. type: integer
  19225. required:
  19226. - userid
  19227. type: object
  19228. models.Xhcpsellbackapply:
  19229. properties:
  19230. applyid:
  19231. description: 申请人
  19232. type: integer
  19233. applyremark:
  19234. description: 申请备注
  19235. type: string
  19236. applysrc:
  19237. description: 申请来源 - 1:管理端 2:终端
  19238. type: integer
  19239. applystatus:
  19240. description: 申请状态 - 1:待确认 2:已处理
  19241. type: integer
  19242. applytime:
  19243. description: 申请时间
  19244. type: string
  19245. auditremark:
  19246. description: 审核备注
  19247. type: string
  19248. auditsrc:
  19249. description: 审核来源 - 1:管理端 2:终端
  19250. type: integer
  19251. expirytype:
  19252. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19253. type: integer
  19254. goodsspec:
  19255. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19256. type: integer
  19257. holeflag:
  19258. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19259. type: integer
  19260. isunopened:
  19261. description: 是否原封 - 1:否 2:是
  19262. type: integer
  19263. mpflag:
  19264. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19265. type: integer
  19266. openflag:
  19267. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19268. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19269. type: integer
  19270. phonenum:
  19271. description: 联系电话
  19272. type: string
  19273. sellbackapplyid:
  19274. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19275. type: string
  19276. userid:
  19277. description: 所属用户ID
  19278. type: integer
  19279. zpflag:
  19280. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19281. type: integer
  19282. required:
  19283. - userid
  19284. type: object
  19285. order.QueryHisTradeDetailRsp:
  19286. properties:
  19287. accountid:
  19288. description: 账户ID[报价币种]
  19289. type: integer
  19290. advanceratio:
  19291. description: 首付比率
  19292. type: number
  19293. buildtype:
  19294. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19295. type: integer
  19296. buyorsell:
  19297. description: 方向 - 0:买 1:卖
  19298. type: integer
  19299. charge:
  19300. description: 手续费
  19301. type: number
  19302. closecharge:
  19303. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19304. type: number
  19305. closeexchagechargevalue:
  19306. description: 平仓交易所手续费设置值
  19307. type: number
  19308. closefeealgorithm:
  19309. description: 平仓手续费收取方式 1:比率 2:固定
  19310. type: integer
  19311. closememberchargevalue:
  19312. description: 平仓会员手续费设置值
  19313. type: number
  19314. closepl:
  19315. description: 平仓盈亏
  19316. type: number
  19317. closepl2:
  19318. description: 平仓盈亏[逐笔]
  19319. type: number
  19320. closeqty:
  19321. description: 平仓数量(先建后平操作 需要记录)
  19322. type: number
  19323. creditamount:
  19324. description: 授信金额
  19325. type: number
  19326. decimalplace:
  19327. description: 商品报价小数位
  19328. type: integer
  19329. enumdicname:
  19330. description: 单位名称
  19331. type: string
  19332. gcaccountid:
  19333. description: 账户ID[合约币种]
  19334. type: integer
  19335. goodscode:
  19336. description: 商品代码
  19337. type: string
  19338. goodsid:
  19339. description: 商品ID
  19340. type: integer
  19341. goodsname:
  19342. description: 商品名称
  19343. type: string
  19344. goodunitid:
  19345. description: 商品单位id
  19346. type: integer
  19347. histradedate:
  19348. description: 历史交易日
  19349. type: string
  19350. intclosepl:
  19351. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19352. type: integer
  19353. isconfirmexercise:
  19354. description: 是否确认行权- 0:否 1:是
  19355. type: integer
  19356. ismain:
  19357. description: 是否主单 - 0:不是 1:是
  19358. type: integer
  19359. ispreexercise:
  19360. description: 是否预申报- 0:否 1:是
  19361. type: integer
  19362. isreckoned:
  19363. description: 是否结算 - 0:未结算 1:已结算
  19364. type: integer
  19365. isvaliddata:
  19366. description: 是否有效 - 0:无效 1:有效
  19367. type: integer
  19368. listingselecttype:
  19369. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19370. type: integer
  19371. marketid:
  19372. description: 市场ID
  19373. type: integer
  19374. marketname:
  19375. description: 市场名称
  19376. type: string
  19377. matchaccountid:
  19378. description: 对手账号id
  19379. type: integer
  19380. memberuserid:
  19381. description: 会员id 个人投资者 需要填写
  19382. type: integer
  19383. opencharge:
  19384. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19385. type: number
  19386. openexchagechargevalue:
  19387. description: 建仓交易所手续费设置值
  19388. type: number
  19389. openfeealgorithm:
  19390. description: 建仓手续费收取方式 1:比率 2:固定
  19391. type: integer
  19392. openmemberchargevalue:
  19393. description: 建仓会员手续费设置值
  19394. type: number
  19395. openqty:
  19396. description: 开仓数量(先建后平操作 需要记录)
  19397. type: number
  19398. optiontype:
  19399. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19400. type: integer
  19401. orderid:
  19402. description: 委托单号
  19403. type: string
  19404. payamount:
  19405. description: 支付金额(付款金额)
  19406. type: number
  19407. performanceplanid:
  19408. description: 履约计划ID[期权]
  19409. type: integer
  19410. performancestatus:
  19411. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19412. type: integer
  19413. preexerciseprice:
  19414. description: 预申报价格
  19415. type: number
  19416. premium:
  19417. description: 权利金 - [持仓单的权利金]
  19418. type: number
  19419. qtydecimalplace:
  19420. description: 商品报价小数位
  19421. type: integer
  19422. recvamount:
  19423. description: 到账金额 = 成交金额 - 手续费
  19424. type: number
  19425. relatedouttradeid:
  19426. description: 关联外部成交单ID
  19427. type: integer
  19428. status:
  19429. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19430. type: integer
  19431. totalamount:
  19432. description: 订单总额 = 成交金额 + 手续费
  19433. type: number
  19434. tradeamount:
  19435. description: 成交金额[账户币种,用于所有权]
  19436. type: number
  19437. tradedate:
  19438. description: 交易日(yyyyMMdd)
  19439. type: string
  19440. tradeid:
  19441. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19442. type: string
  19443. trademode:
  19444. description: 交易模式
  19445. type: integer
  19446. tradeprice:
  19447. description: 成交价格
  19448. type: number
  19449. tradeproperty:
  19450. description: 交易属性
  19451. type: integer
  19452. tradeqty:
  19453. description: 成交数量
  19454. type: number
  19455. tradetime:
  19456. description: 成交时间
  19457. type: string
  19458. tradetype:
  19459. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19460. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19461. type: integer
  19462. required:
  19463. - accountid
  19464. - buyorsell
  19465. - goodsid
  19466. - histradedate
  19467. - marketid
  19468. - memberuserid
  19469. - orderid
  19470. - tradeamount
  19471. - tradedate
  19472. - tradeid
  19473. - tradeprice
  19474. - tradeqty
  19475. - tradetime
  19476. type: object
  19477. order.QueryHisTradeOrderDetailRsp:
  19478. properties:
  19479. accountid:
  19480. description: 账户ID[报价币种]
  19481. type: integer
  19482. buildtype:
  19483. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19484. type: integer
  19485. buyorsell:
  19486. description: 买卖 - 0:买 1:卖
  19487. type: integer
  19488. cancelorderid:
  19489. description: 撤单单号(撤单时填写)
  19490. type: string
  19491. cancelqty:
  19492. description: 撤单数量
  19493. type: number
  19494. clientordertime:
  19495. description: 客户端委托时间
  19496. type: string
  19497. clientticket:
  19498. description: 客户端流水号
  19499. type: string
  19500. clienttype:
  19501. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19502. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19503. type: integer
  19504. closeexchagechargevalue:
  19505. description: 平仓交易所手续费设置值
  19506. type: number
  19507. closefeealgorithm:
  19508. description: 平仓手续费收取方式 1:比率 2:固定
  19509. type: integer
  19510. closefreezecharge:
  19511. description: 平仓冻结手续费(先建后平操作,需要记录)
  19512. type: number
  19513. closememberchargevalue:
  19514. description: 平仓会员手续费设置值
  19515. type: number
  19516. closeqty:
  19517. description: 平仓数量(先建后平操作 需要记录)
  19518. type: number
  19519. closetradeqty:
  19520. description: 平仓成交数量(先建后平操作,需要记录)
  19521. type: number
  19522. closeunfreezecharge:
  19523. description: 平仓解冻手续费(先建后平操作,需要记录)
  19524. type: number
  19525. decimalplace:
  19526. description: 商品报价小数位
  19527. type: integer
  19528. delistingtype:
  19529. description: 摘牌类型 - 1:价格最优 2:点选成交
  19530. type: integer
  19531. enumdicname:
  19532. description: 单位名称
  19533. type: string
  19534. freezecharge:
  19535. description: 冻结手续费
  19536. type: number
  19537. freezemargin:
  19538. description: 冻结保证金(冻结交易金额)
  19539. type: number
  19540. gcaccountid:
  19541. description: 账户ID[合约币种]
  19542. type: integer
  19543. goodscode:
  19544. description: 商品代码
  19545. type: string
  19546. goodsid:
  19547. description: 商品ID
  19548. type: integer
  19549. goodsname:
  19550. description: 商品名称
  19551. type: string
  19552. goodunitid:
  19553. description: 商品单位id
  19554. type: integer
  19555. histradedate:
  19556. description: 历史交易日
  19557. type: string
  19558. isconfirmexercise:
  19559. description: 是否确认行权- 0:否 1:是
  19560. type: integer
  19561. ispreexercise:
  19562. description: 是否预申报- 0:否 1:是
  19563. type: integer
  19564. isvaliddata:
  19565. description: 是否有效 - 0:无效 1:有效
  19566. type: integer
  19567. listingselecttype:
  19568. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19569. type: integer
  19570. marginalgorithm:
  19571. description: 保证金收取方式 1:比率 2:固定
  19572. type: integer
  19573. marginvalue:
  19574. description: 即市保证金设置值
  19575. type: number
  19576. marketid:
  19577. description: 市场ID
  19578. type: integer
  19579. marketmaxsub:
  19580. description: 市价最大偏移范围
  19581. type: number
  19582. marketname:
  19583. description: 市场名称
  19584. type: string
  19585. memberuserid:
  19586. description: 所属会员UserID
  19587. type: integer
  19588. openexchagechargevalue:
  19589. description: 建仓交易所手续费设置值
  19590. type: number
  19591. openfeealgorithm:
  19592. description: 建仓手续费收取方式 1:比率 2:固定
  19593. type: integer
  19594. openfreezecharge:
  19595. description: 开仓冻结手续费(先建后平操作,需要记录)
  19596. type: number
  19597. openmemberchargevalue:
  19598. description: 建仓会员手续费设置值
  19599. type: number
  19600. openqty:
  19601. description: 开仓数量(先建后平操作,需要记录)
  19602. type: number
  19603. opentradeqty:
  19604. description: 开仓成交数量(先建后平操作,需要记录)
  19605. type: number
  19606. openunfreezecharge:
  19607. description: 开仓解冻手续费(先建后平操作,需要记录)
  19608. type: number
  19609. operatetype:
  19610. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19611. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19612. 15:管理端协议转让
  19613. type: integer
  19614. operatorid:
  19615. description: 登录账号(LoginID)
  19616. type: integer
  19617. optiontype:
  19618. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19619. type: integer
  19620. orderid:
  19621. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19622. type: string
  19623. orderprice:
  19624. description: 委托价格
  19625. type: number
  19626. orderqty:
  19627. description: 委托数量
  19628. type: number
  19629. ordersrc:
  19630. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19631. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19632. type: integer
  19633. orderstatus:
  19634. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19635. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19636. 16:成交失败违约(荷兰式竞拍专用)
  19637. type: integer
  19638. ordertime:
  19639. description: 委托时间
  19640. type: string
  19641. preexerciseprice:
  19642. description: 预申报价格
  19643. type: number
  19644. premium:
  19645. description: 权利金
  19646. type: number
  19647. preorderid:
  19648. description: 关联预埋单号(止盈止损单时填写)
  19649. type: string
  19650. pricemode:
  19651. description: '取价方式 - 1:市价 2: 限价'
  19652. type: integer
  19653. qtydecimalplace:
  19654. description: 成交量小数位
  19655. type: integer
  19656. quoteid:
  19657. description: 报价单ID
  19658. type: integer
  19659. relatedid:
  19660. description: 关联单号(交割单)
  19661. type: string
  19662. retcode:
  19663. description: 错误代码
  19664. type: integer
  19665. sessionid:
  19666. description: 会话ID
  19667. type: integer
  19668. tradedate:
  19669. description: 交易日(yyyyMMdd)
  19670. type: string
  19671. trademode:
  19672. description: 交易模式
  19673. type: integer
  19674. tradeproperty:
  19675. description: 交易属性
  19676. type: integer
  19677. tradeqty:
  19678. description: 成交数量
  19679. type: number
  19680. unfreezecharge:
  19681. description: 解冻手续费
  19682. type: number
  19683. unfreezemargin:
  19684. description: 解冻保证金
  19685. type: number
  19686. updatetime:
  19687. description: 更新时间
  19688. type: string
  19689. uuid:
  19690. description: 发起端唯一id
  19691. type: string
  19692. validtime:
  19693. description: 有效期限
  19694. type: string
  19695. validtype:
  19696. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19697. type: integer
  19698. volumetype:
  19699. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19700. type: integer
  19701. required:
  19702. - accountid
  19703. - buildtype
  19704. - buyorsell
  19705. - goodsid
  19706. - histradedate
  19707. - marketid
  19708. - memberuserid
  19709. - operatetype
  19710. - orderid
  19711. - orderqty
  19712. - ordertime
  19713. - pricemode
  19714. - tradedate
  19715. - validtype
  19716. type: object
  19717. order.QueryTradeDetailRsp:
  19718. properties:
  19719. accountid:
  19720. description: 账户ID[报价币种]
  19721. type: integer
  19722. advanceratio:
  19723. description: 首付比率
  19724. type: number
  19725. buildtype:
  19726. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19727. type: integer
  19728. buyorsell:
  19729. description: 方向 - 0:买 1:卖
  19730. type: integer
  19731. charge:
  19732. description: 手续费
  19733. type: number
  19734. closecharge:
  19735. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19736. type: number
  19737. closeexchagechargevalue:
  19738. description: 平仓交易所手续费设置值
  19739. type: number
  19740. closefeealgorithm:
  19741. description: 平仓手续费收取方式 1:比率 2:固定
  19742. type: integer
  19743. closememberchargevalue:
  19744. description: 平仓会员手续费设置值
  19745. type: number
  19746. closepl:
  19747. description: 平仓盈亏
  19748. type: number
  19749. closepl2:
  19750. description: 平仓盈亏[逐笔]
  19751. type: number
  19752. closeqty:
  19753. description: 平仓数量(先建后平操作 需要记录)
  19754. type: number
  19755. creditamount:
  19756. description: 授信金额
  19757. type: number
  19758. decimalplace:
  19759. description: 商品报价小数位
  19760. type: integer
  19761. enumdicname:
  19762. description: 单位名称
  19763. type: string
  19764. gcaccountid:
  19765. description: 账户ID[合约币种]
  19766. type: integer
  19767. goodscode:
  19768. description: 商品代码
  19769. type: string
  19770. goodsid:
  19771. description: 商品ID
  19772. type: integer
  19773. goodsname:
  19774. description: 商品名称
  19775. type: string
  19776. goodunitid:
  19777. description: 商品单位id
  19778. type: integer
  19779. intclosepl:
  19780. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19781. type: integer
  19782. isconfirmexercise:
  19783. description: 是否确认行权- 0:否 1:是
  19784. type: integer
  19785. ismain:
  19786. description: 是否主单 - 0:不是 1:是
  19787. type: integer
  19788. ispreexercise:
  19789. description: 是否预申报- 0:否 1:是
  19790. type: integer
  19791. isreckoned:
  19792. description: 是否结算 - 0:未结算 1:已结算
  19793. type: integer
  19794. listingselecttype:
  19795. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19796. type: integer
  19797. marketid:
  19798. description: 市场ID
  19799. type: integer
  19800. marketname:
  19801. description: 市场名称
  19802. type: string
  19803. matchaccountid:
  19804. description: 对手账号id
  19805. type: integer
  19806. memberuserid:
  19807. description: 会员id 个人投资者 需要填写
  19808. type: integer
  19809. opencharge:
  19810. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19811. type: number
  19812. openexchagechargevalue:
  19813. description: 建仓交易所手续费设置值
  19814. type: number
  19815. openfeealgorithm:
  19816. description: 建仓手续费收取方式 1:比率 2:固定
  19817. type: integer
  19818. openmemberchargevalue:
  19819. description: 建仓会员手续费设置值
  19820. type: number
  19821. openqty:
  19822. description: 开仓数量(先建后平操作 需要记录)
  19823. type: number
  19824. optiontype:
  19825. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19826. type: integer
  19827. orderid:
  19828. description: 委托单号
  19829. type: string
  19830. payamount:
  19831. description: 支付金额(付款金额)
  19832. type: number
  19833. performanceplanid:
  19834. description: 履约计划ID[期权]
  19835. type: integer
  19836. performancestatus:
  19837. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19838. type: integer
  19839. preexerciseprice:
  19840. description: 预申报价格
  19841. type: number
  19842. premium:
  19843. description: 权利金 - [持仓单的权利金]
  19844. type: number
  19845. qtydecimalplace:
  19846. description: 商品报价小数位
  19847. type: integer
  19848. recvamount:
  19849. description: 到账金额 = 成交金额 - 手续费
  19850. type: number
  19851. relatedouttradeid:
  19852. description: 关联外部成交单ID
  19853. type: integer
  19854. status:
  19855. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19856. type: integer
  19857. totalamount:
  19858. description: 订单总额 = 成交金额 + 手续费
  19859. type: number
  19860. tradeamount:
  19861. description: 成交金额[账户币种,用于所有权]
  19862. type: number
  19863. tradedate:
  19864. description: 交易日(yyyyMMdd)
  19865. type: string
  19866. tradeid:
  19867. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19868. type: string
  19869. trademode:
  19870. description: 交易模式
  19871. type: integer
  19872. tradeprice:
  19873. description: 成交价格
  19874. type: number
  19875. tradeproperty:
  19876. description: 交易属性
  19877. type: integer
  19878. tradeqty:
  19879. description: 成交数量
  19880. type: number
  19881. tradetime:
  19882. description: 成交时间
  19883. type: string
  19884. tradetype:
  19885. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19886. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19887. type: integer
  19888. required:
  19889. - accountid
  19890. - buyorsell
  19891. - goodsid
  19892. - marketid
  19893. - memberuserid
  19894. - orderid
  19895. - tradeamount
  19896. - tradedate
  19897. - tradeid
  19898. - tradeprice
  19899. - tradeqty
  19900. - tradetime
  19901. type: object
  19902. order.QueryTradeOrderDetailRsp:
  19903. properties:
  19904. accountid:
  19905. description: 账户ID[报价币种]
  19906. type: integer
  19907. buildtype:
  19908. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19909. type: integer
  19910. buyorsell:
  19911. description: 买卖 - 0:买 1:卖
  19912. type: integer
  19913. cancelorderid:
  19914. description: 撤单单号(撤单时填写)
  19915. type: string
  19916. cancelqty:
  19917. description: 撤单数量
  19918. type: number
  19919. clienttype:
  19920. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19921. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19922. type: integer
  19923. closefreezecharge:
  19924. description: 平仓冻结手续费(先建后平操作,需要记录)
  19925. type: number
  19926. closeqty:
  19927. description: 平仓数量(先建后平操作 需要记录)
  19928. type: number
  19929. closetradeqty:
  19930. description: 平仓成交数量(先建后平操作,需要记录)
  19931. type: number
  19932. closeunfreezecharge:
  19933. description: 平仓解冻手续费(先建后平操作,需要记录)
  19934. type: number
  19935. decimalplace:
  19936. description: 商品报价小数位
  19937. type: integer
  19938. delistingtype:
  19939. description: 摘牌类型 - 1:价格最优 2:点选成交
  19940. type: integer
  19941. enableqty:
  19942. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19943. type: number
  19944. enumdicname:
  19945. description: 单位名称
  19946. type: string
  19947. freezecharge:
  19948. description: 冻结手续费
  19949. type: number
  19950. freezemargin:
  19951. description: 冻结保证金(冻结交易金额)
  19952. type: number
  19953. goodscode:
  19954. description: 商品代码
  19955. type: string
  19956. goodsid:
  19957. description: 商品ID
  19958. type: integer
  19959. goodsname:
  19960. description: 商品名称
  19961. type: string
  19962. goodunitid:
  19963. description: 商品单位id
  19964. type: integer
  19965. listingselecttype:
  19966. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19967. type: integer
  19968. marketid:
  19969. description: 市场ID
  19970. type: integer
  19971. marketname:
  19972. description: 市场名称
  19973. type: string
  19974. openfreezecharge:
  19975. description: 开仓冻结手续费(先建后平操作,需要记录)
  19976. type: number
  19977. openqty:
  19978. description: 开仓数量(先建后平操作,需要记录)
  19979. type: number
  19980. opentradeqty:
  19981. description: 开仓成交数量(先建后平操作,需要记录)
  19982. type: number
  19983. openunfreezecharge:
  19984. description: 开仓解冻手续费(先建后平操作,需要记录)
  19985. type: number
  19986. operatetype:
  19987. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19988. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19989. 15:管理端协议转让
  19990. type: integer
  19991. operatorid:
  19992. description: 登录账号(LoginID)
  19993. type: integer
  19994. orderid:
  19995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19996. type: string
  19997. orderprice:
  19998. description: 委托价格
  19999. type: number
  20000. orderqty:
  20001. description: 委托数量
  20002. type: number
  20003. ordersrc:
  20004. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20005. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20006. type: integer
  20007. orderstatus:
  20008. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20009. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20010. 16:成交失败违约(荷兰式竞拍专用)
  20011. type: integer
  20012. ordertime:
  20013. description: 委托时间
  20014. type: string
  20015. preorderid:
  20016. description: 关联预埋单号(止盈止损单时填写)
  20017. type: string
  20018. pricemode:
  20019. description: '取价方式 - 1:市价 2: 限价'
  20020. type: integer
  20021. qtydecimalplace:
  20022. description: 商品报价小数位
  20023. type: integer
  20024. relatedid:
  20025. description: 关联单号(交割单)
  20026. type: string
  20027. tradedate:
  20028. description: 交易日(yyyyMMdd)
  20029. type: string
  20030. trademode:
  20031. description: 交易模式
  20032. type: integer
  20033. tradeqty:
  20034. description: 成交数量
  20035. type: number
  20036. unfreezecharge:
  20037. description: 解冻手续费
  20038. type: number
  20039. unfreezemargin:
  20040. description: 解冻保证金
  20041. type: number
  20042. validtime:
  20043. description: 有效期限
  20044. type: string
  20045. validtype:
  20046. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20047. type: integer
  20048. volumetype:
  20049. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20050. type: integer
  20051. required:
  20052. - accountid
  20053. - buildtype
  20054. - buyorsell
  20055. - goodsid
  20056. - marketid
  20057. - operatetype
  20058. - orderqty
  20059. - ordertime
  20060. - pricemode
  20061. - tradedate
  20062. - validtype
  20063. type: object
  20064. order.QueryTradePositionRsp:
  20065. properties:
  20066. accountid:
  20067. description: 资金账户
  20068. type: integer
  20069. agreeunit:
  20070. description: 合约单位
  20071. type: number
  20072. averageprice:
  20073. description: 持仓均价
  20074. type: number
  20075. buyorsell:
  20076. description: 方向 - 0:买 1:卖
  20077. type: integer
  20078. closetotalqty:
  20079. description: 平仓总数量
  20080. type: number
  20081. curholderamount:
  20082. description: 当前持仓总金额[商品币种]
  20083. type: number
  20084. curpositionqty:
  20085. description: 当前持仓总数量
  20086. type: number
  20087. currencyid:
  20088. description: 报价货币ID
  20089. type: integer
  20090. curtdposition:
  20091. description: 期末今日头寸
  20092. type: number
  20093. decimalplace:
  20094. description: 报价小数位
  20095. type: integer
  20096. enableqty:
  20097. description: 可用量
  20098. type: number
  20099. fretdposition:
  20100. description: 冻结今日头寸
  20101. type: number
  20102. frozenqty:
  20103. description: 持仓冻结数量
  20104. type: number
  20105. goodscode:
  20106. description: 商品代码
  20107. type: string
  20108. goodsid:
  20109. description: 商品Id
  20110. type: integer
  20111. goodsname:
  20112. description: 商品名称
  20113. type: string
  20114. goodunit:
  20115. description: 报价单位
  20116. type: string
  20117. goodunitid:
  20118. description: 报价单位ID
  20119. type: integer
  20120. holderamount:
  20121. description: 期初持仓总金额[商品币种]
  20122. type: number
  20123. lastprice:
  20124. description: 最新价
  20125. type: number
  20126. marketamount:
  20127. description: 市值
  20128. type: number
  20129. marketid:
  20130. description: 所属市场ID
  20131. type: integer
  20132. openreqqty:
  20133. description: 开仓申请数量(用于比较最大持仓数量)
  20134. type: number
  20135. opentotalqty:
  20136. description: 开仓总数量
  20137. type: number
  20138. otherfrozenqty:
  20139. description: 持仓其他冻结数量(交割冻结)
  20140. type: number
  20141. positionpl:
  20142. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20143. * 合约单位
  20144. type: number
  20145. positionplrate:
  20146. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20147. type: number
  20148. positionqty:
  20149. description: 期初持仓数量
  20150. type: number
  20151. qtydecimalplace:
  20152. description: 成交量小数位
  20153. type: integer
  20154. refgoodscode:
  20155. description: 参考商品代码
  20156. type: string
  20157. refgoodsid:
  20158. description: 参考商品ID
  20159. type: integer
  20160. tnqty:
  20161. description: T+N冻结总量
  20162. type: number
  20163. tnusedqty:
  20164. description: T+N使用量(可以使用T+N的冻结数量)
  20165. type: number
  20166. trademode:
  20167. description: 交易模式
  20168. type: integer
  20169. tradeproperty:
  20170. description: 交易属性
  20171. type: integer
  20172. usedmargin:
  20173. description: 占用保证金[商品币种]
  20174. type: number
  20175. required:
  20176. - goodsid
  20177. type: object
  20178. pb.GoodsMarginCfgStruct:
  20179. properties:
  20180. CustomerTypeID:
  20181. description: 投资者客户类型
  20182. type: integer
  20183. GoodsID:
  20184. description: 商品ID
  20185. type: integer
  20186. IsDefault:
  20187. description: 是否默认标志位
  20188. type: integer
  20189. LockMarginValue:
  20190. description: 锁仓保证金
  20191. type: number
  20192. MarginAlgorithm:
  20193. description: 保证金计算方式
  20194. type: integer
  20195. MarketMarginValue:
  20196. description: 即市保证金值
  20197. type: number
  20198. RealMarginAlgorithm:
  20199. description: 实付保证金计算方式
  20200. type: integer
  20201. RealMarginValue:
  20202. description: 实付比例
  20203. type: number
  20204. ReckonMarginValue:
  20205. description: 结算保证金值
  20206. type: number
  20207. type: object
  20208. quote.HistoryData:
  20209. properties:
  20210. c:
  20211. description: 收盘价
  20212. type: number
  20213. f:
  20214. description: 是否补充数据
  20215. type: boolean
  20216. h:
  20217. description: 最高价
  20218. type: number
  20219. hv:
  20220. description: 持仓量
  20221. type: integer
  20222. l:
  20223. description: 最低价
  20224. type: number
  20225. o:
  20226. description: 开盘价
  20227. type: number
  20228. s:
  20229. description: 结算价,日线周期(包括)以上才有
  20230. type: number
  20231. ts:
  20232. description: 时间
  20233. type: string
  20234. tt:
  20235. description: 总金额
  20236. type: number
  20237. tv:
  20238. description: 总量(成交量)
  20239. type: integer
  20240. type: object
  20241. quote.HistoryTikData:
  20242. properties:
  20243. AV:
  20244. description: 卖量
  20245. type: integer
  20246. Ask:
  20247. description: 卖价
  20248. type: number
  20249. BV:
  20250. description: 买量
  20251. type: integer
  20252. Bid:
  20253. description: 买价
  20254. type: number
  20255. HI:
  20256. description: 单笔持仓
  20257. type: integer
  20258. HV:
  20259. description: 持仓量
  20260. type: integer
  20261. PE:
  20262. description: 现价
  20263. type: number
  20264. TDR:
  20265. description: 交易方向,0:买 1:卖
  20266. type: integer
  20267. TK:
  20268. description: 交易类型
  20269. type: integer
  20270. TS:
  20271. description: 行情时间文本
  20272. type: string
  20273. TT:
  20274. description: 现金额
  20275. type: number
  20276. Vol:
  20277. description: 现量
  20278. type: integer
  20279. type: object
  20280. quote.QueryQuoteDayRsp:
  20281. properties:
  20282. ask:
  20283. description: 卖1
  20284. type: number
  20285. ask2:
  20286. description: 卖2
  20287. type: number
  20288. ask3:
  20289. description: 卖3
  20290. type: number
  20291. ask4:
  20292. description: 卖4
  20293. type: number
  20294. ask5:
  20295. description: 卖5
  20296. type: number
  20297. ask6:
  20298. description: 卖6
  20299. type: number
  20300. ask7:
  20301. description: 卖7
  20302. type: number
  20303. ask8:
  20304. description: 卖8
  20305. type: number
  20306. ask9:
  20307. description: 卖9
  20308. type: number
  20309. ask10:
  20310. description: 卖10
  20311. type: number
  20312. askorderid:
  20313. description: 卖单号1
  20314. type: integer
  20315. askorderid2:
  20316. description: 卖单号2
  20317. type: integer
  20318. askorderid3:
  20319. description: 卖单号3
  20320. type: integer
  20321. askorderid4:
  20322. description: 卖单号4
  20323. type: integer
  20324. askorderid5:
  20325. description: 卖单号5
  20326. type: integer
  20327. askordervolume:
  20328. description: 卖单量1
  20329. type: integer
  20330. askordervolume2:
  20331. description: 卖单量2
  20332. type: integer
  20333. askordervolume3:
  20334. description: 卖单量3
  20335. type: integer
  20336. askordervolume4:
  20337. description: 卖单量4
  20338. type: integer
  20339. askordervolume5:
  20340. description: 卖单量5
  20341. type: integer
  20342. askordervolume6:
  20343. description: 卖单量6
  20344. type: integer
  20345. askordervolume7:
  20346. description: 卖单量7
  20347. type: integer
  20348. askordervolume8:
  20349. description: 卖单量8
  20350. type: integer
  20351. askordervolume9:
  20352. description: 卖单量9
  20353. type: integer
  20354. askordervolume10:
  20355. description: 卖单量10
  20356. type: integer
  20357. askqueueinfo:
  20358. description: 大利市卖港股用
  20359. type: string
  20360. askvolume:
  20361. description: 卖量1
  20362. type: integer
  20363. askvolume2:
  20364. description: 卖量2
  20365. type: integer
  20366. askvolume3:
  20367. description: 卖量3
  20368. type: integer
  20369. askvolume4:
  20370. description: 卖量4
  20371. type: integer
  20372. askvolume5:
  20373. description: 卖量5
  20374. type: integer
  20375. askvolume6:
  20376. description: 卖量6
  20377. type: integer
  20378. askvolume7:
  20379. description: 卖量7
  20380. type: integer
  20381. askvolume8:
  20382. description: 卖量8
  20383. type: integer
  20384. askvolume9:
  20385. description: 卖量9
  20386. type: integer
  20387. askvolume10:
  20388. description: 卖量10
  20389. type: integer
  20390. averageprice:
  20391. description: 均价
  20392. type: number
  20393. bid:
  20394. description: 买1
  20395. type: number
  20396. bid2:
  20397. description: 买2
  20398. type: number
  20399. bid3:
  20400. description: 买3
  20401. type: number
  20402. bid4:
  20403. description: 买4
  20404. type: number
  20405. bid5:
  20406. description: 买5
  20407. type: number
  20408. bid6:
  20409. description: 买6
  20410. type: number
  20411. bid7:
  20412. description: 买7
  20413. type: number
  20414. bid8:
  20415. description: 买8
  20416. type: number
  20417. bid9:
  20418. description: 买9
  20419. type: number
  20420. bid10:
  20421. description: 买10
  20422. type: number
  20423. bidorderid:
  20424. description: 买单号1
  20425. type: integer
  20426. bidorderid2:
  20427. description: 买单号2
  20428. type: integer
  20429. bidorderid3:
  20430. description: 买单号3
  20431. type: integer
  20432. bidorderid4:
  20433. description: 买单号4
  20434. type: integer
  20435. bidorderid5:
  20436. description: 买单号5
  20437. type: integer
  20438. bidordervolume:
  20439. description: 买单量1
  20440. type: integer
  20441. bidordervolume2:
  20442. description: 买单量2
  20443. type: integer
  20444. bidordervolume3:
  20445. description: 买单量3
  20446. type: integer
  20447. bidordervolume4:
  20448. description: 买单量4
  20449. type: integer
  20450. bidordervolume5:
  20451. description: 买单量5
  20452. type: integer
  20453. bidordervolume6:
  20454. description: 买单量6
  20455. type: integer
  20456. bidordervolume7:
  20457. description: 买单量7
  20458. type: integer
  20459. bidordervolume8:
  20460. description: 买单量8
  20461. type: integer
  20462. bidordervolume9:
  20463. description: 买单量9
  20464. type: integer
  20465. bidordervolume10:
  20466. description: 买单量10
  20467. type: integer
  20468. bidqueueinfo:
  20469. description: 大利市买港股用
  20470. type: string
  20471. bidvolume:
  20472. description: 买量1
  20473. type: integer
  20474. bidvolume2:
  20475. description: 买量2
  20476. type: integer
  20477. bidvolume3:
  20478. description: 买量3
  20479. type: integer
  20480. bidvolume4:
  20481. description: 买量4
  20482. type: integer
  20483. bidvolume5:
  20484. description: 买量5
  20485. type: integer
  20486. bidvolume6:
  20487. description: 买量6
  20488. type: integer
  20489. bidvolume7:
  20490. description: 买量7
  20491. type: integer
  20492. bidvolume8:
  20493. description: 买量8
  20494. type: integer
  20495. bidvolume9:
  20496. description: 买量9
  20497. type: integer
  20498. bidvolume10:
  20499. description: 买量10
  20500. type: integer
  20501. calloptionpremiums:
  20502. description: 认购期权1
  20503. type: integer
  20504. calloptionpremiums2:
  20505. description: 认购期权2
  20506. type: integer
  20507. calloptionpremiums3:
  20508. description: 认购期权3
  20509. type: integer
  20510. calloptionpremiums4:
  20511. description: 认购期权4
  20512. type: integer
  20513. calloptionpremiums5:
  20514. description: 认购期权5
  20515. type: integer
  20516. cleartime:
  20517. description: 清盘时间
  20518. type: integer
  20519. exchangecode:
  20520. description: 交易所代码
  20521. type: integer
  20522. exchangedate:
  20523. description: 交易日
  20524. type: integer
  20525. goodscode:
  20526. description: 商品代码
  20527. type: string
  20528. grepmarketprice:
  20529. description: 暗盘价 港股专用
  20530. type: number
  20531. highest:
  20532. description: 最高价
  20533. type: number
  20534. holdincrement:
  20535. description: 单笔持仓
  20536. type: integer
  20537. holdvolume:
  20538. description: 持仓
  20539. type: integer
  20540. iep:
  20541. description: 平衡价 港股专用
  20542. type: number
  20543. iev:
  20544. description: 平衡量 港股专用
  20545. type: number
  20546. inventory:
  20547. description: 库存
  20548. type: integer
  20549. iscleared:
  20550. description: 是否清盘标志
  20551. type: integer
  20552. issettled:
  20553. description: 是否结算标志
  20554. type: integer
  20555. last:
  20556. description: 最新价
  20557. type: number
  20558. lastlot:
  20559. description: 最新成交手数
  20560. type: integer
  20561. lasttime:
  20562. description: 行情时间(只有现价变化行情时间才变化)
  20563. type: string
  20564. lastturnover:
  20565. description: 最新成交金额
  20566. type: number
  20567. lastvolume:
  20568. description: 最新成交量
  20569. type: integer
  20570. limitdown:
  20571. description: 跌停价
  20572. type: number
  20573. limitup:
  20574. description: 涨停价
  20575. type: number
  20576. lowest:
  20577. description: 最低价
  20578. type: number
  20579. nontotalholdervolume:
  20580. description: 非交易持仓量
  20581. type: integer
  20582. nontotallot:
  20583. description: 非交易总手数
  20584. type: integer
  20585. nontotalturnover:
  20586. description: 非交易总金额
  20587. type: integer
  20588. nontotalvolume:
  20589. description: 非交易总量
  20590. type: integer
  20591. opened:
  20592. description: 开盘价
  20593. type: number
  20594. opentime:
  20595. description: 开盘时间
  20596. type: string
  20597. orderid:
  20598. description: 序号
  20599. type: integer
  20600. preclose:
  20601. description: 昨收
  20602. type: number
  20603. preholdvolume:
  20604. description: 昨持仓
  20605. type: integer
  20606. presettle:
  20607. description: 昨结价
  20608. type: number
  20609. publictradetype:
  20610. description: 公共交易标志类型 港股专用
  20611. type: string
  20612. putoptionpremiums:
  20613. description: 认沽期权1
  20614. type: integer
  20615. putoptionpremiums2:
  20616. description: 认沽期权2
  20617. type: integer
  20618. putoptionpremiums3:
  20619. description: 认沽期权3
  20620. type: integer
  20621. putoptionpremiums4:
  20622. description: 认沽期权4
  20623. type: integer
  20624. putoptionpremiums5:
  20625. description: 认沽期权5
  20626. type: integer
  20627. settle:
  20628. description: 结算价
  20629. type: number
  20630. strikeprice:
  20631. description: 发行价
  20632. type: number
  20633. totalaskvolume:
  20634. description: 内盘
  20635. type: integer
  20636. totalbidvolume:
  20637. description: 外盘
  20638. type: integer
  20639. totallot:
  20640. description: 总手数
  20641. type: integer
  20642. totalturnover:
  20643. description: 总金额
  20644. type: number
  20645. totalvolume:
  20646. description: 总量
  20647. type: integer
  20648. utclasttime:
  20649. description: utc的行情时间
  20650. type: string
  20651. type: object
  20652. quote.QueryTSDataRsp:
  20653. properties:
  20654. Count:
  20655. description: 交易日应有数据个数
  20656. type: integer
  20657. decimalPlace:
  20658. description: 小数位
  20659. type: integer
  20660. endTime:
  20661. description: 结束时间
  20662. type: string
  20663. goodsCode:
  20664. description: 商品代码
  20665. type: string
  20666. historyDatas:
  20667. description: 历史数据
  20668. items:
  20669. $ref: '#/definitions/quote.HistoryData'
  20670. type: array
  20671. outGoodsCode:
  20672. description: 外部商品代码
  20673. type: string
  20674. preSettle:
  20675. description: 昨结价
  20676. type: number
  20677. runSteps:
  20678. description: 交易日开休市计划
  20679. items:
  20680. $ref: '#/definitions/quote.TSDataRunStep'
  20681. type: array
  20682. startTime:
  20683. description: 开始时间
  20684. type: string
  20685. tradeDate:
  20686. description: 交易日
  20687. type: string
  20688. type: object
  20689. quote.TSDataRunStep:
  20690. properties:
  20691. end:
  20692. description: 真实结束时间
  20693. type: string
  20694. endflag:
  20695. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20696. type: integer
  20697. endtime:
  20698. description: 结束时间(HH:mm)
  20699. type: string
  20700. endweekday:
  20701. description: 结束周几
  20702. type: integer
  20703. groupid:
  20704. description: 分组ID
  20705. type: integer
  20706. runstep:
  20707. description: 运行阶段 - 2:连续交易
  20708. type: integer
  20709. sectionid:
  20710. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20711. 结束时间=结算时间 结束周几=结算周几
  20712. type: integer
  20713. start:
  20714. description: 真实开始时间
  20715. type: string
  20716. startflag:
  20717. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20718. type: integer
  20719. starttime:
  20720. description: 起始时间(HH:mm)
  20721. type: string
  20722. startweekday:
  20723. description: 起始周几
  20724. type: integer
  20725. tradeweekday:
  20726. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20727. type: integer
  20728. type: object
  20729. szdz.QueryConvertLogRsp:
  20730. properties:
  20731. accountid:
  20732. description: 资金账户ID
  20733. type: integer
  20734. clientticket:
  20735. description: 客户端流水号
  20736. type: string
  20737. converttype:
  20738. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20739. type: integer
  20740. createtime:
  20741. description: 记账时间
  20742. type: string
  20743. daymaxvalue:
  20744. description: 配置当日最大转入限制
  20745. type: number
  20746. daymaxvalue2:
  20747. description: 配置当日最大转入限制(转入)
  20748. type: number
  20749. goodscode:
  20750. description: 商品代码
  20751. type: string
  20752. goodsname:
  20753. description: 商品名称
  20754. type: string
  20755. handlestatus:
  20756. description: 处理状态
  20757. type: integer
  20758. innergoodsid:
  20759. description: 内部商品ID
  20760. type: integer
  20761. inratio:
  20762. description: 配置转入比值
  20763. type: integer
  20764. invalue:
  20765. description: 目标值
  20766. type: number
  20767. logid:
  20768. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20769. type: integer
  20770. mobile:
  20771. description: 手机号码(加密存储)
  20772. type: string
  20773. outergoodscode:
  20774. description: 外部商品代码[JD\PD]
  20775. type: string
  20776. outratio:
  20777. description: 配置转出比值
  20778. type: integer
  20779. outvalue:
  20780. description: 源值
  20781. type: number
  20782. pddecimalplace:
  20783. description: PD小数位
  20784. type: integer
  20785. qty:
  20786. description: 数量
  20787. type: string
  20788. remark:
  20789. description: 备注
  20790. type: string
  20791. sessionid:
  20792. description: 会话ID
  20793. type: integer
  20794. timemaxvalue:
  20795. description: 配置单次最大转入限制
  20796. type: number
  20797. timemaxvalue2:
  20798. description: 配置单次最大转入限制(转入)
  20799. type: number
  20800. timeminvalue:
  20801. description: 配置单次最小数量限制
  20802. type: number
  20803. timeminvalue2:
  20804. description: 配置单次最小数量限制(转入)
  20805. type: number
  20806. tradedate:
  20807. description: 交易日(yyyyMMdd)
  20808. type: string
  20809. userid:
  20810. description: 用户ID
  20811. type: integer
  20812. required:
  20813. - logid
  20814. type: object
  20815. szdz.QueryGoodsPickupRsp:
  20816. properties:
  20817. accountid:
  20818. description: 账户ID
  20819. type: integer
  20820. address:
  20821. description: 提货人详细地址
  20822. type: string
  20823. auditer:
  20824. description: 审核人
  20825. type: integer
  20826. audittime:
  20827. description: 审核时间
  20828. type: string
  20829. cardnum:
  20830. description: 提货人证件号码
  20831. type: string
  20832. cardtypeid:
  20833. description: 提货人证件类型
  20834. type: integer
  20835. checkremark:
  20836. description: 审核备注
  20837. type: string
  20838. goodscode:
  20839. description: 商品代码
  20840. type: string
  20841. goodsid:
  20842. description: 商品ID
  20843. type: integer
  20844. goodsname:
  20845. description: 商品名称
  20846. type: string
  20847. handlestatus:
  20848. description: 处理状态
  20849. type: integer
  20850. marketid:
  20851. description: 市场ID
  20852. type: integer
  20853. phonenum:
  20854. description: 提货人联系方式
  20855. type: string
  20856. qty:
  20857. description: 提货数量
  20858. type: number
  20859. recivername:
  20860. description: 提货人姓名
  20861. type: string
  20862. reqtime:
  20863. description: 更新时间
  20864. type: string
  20865. takemode:
  20866. description: 提货方式 - 2:自提 3:配送
  20867. type: integer
  20868. takeorderid:
  20869. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20870. type: string
  20871. takeorderstatus:
  20872. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20873. type: integer
  20874. takeremark:
  20875. description: 提货备注
  20876. type: string
  20877. tradedate:
  20878. description: 交易日(yyyyMMdd)
  20879. type: string
  20880. userid:
  20881. description: 用户ID
  20882. type: integer
  20883. required:
  20884. - takeorderid
  20885. type: object
  20886. szdz.QueryRecieptOrderRsp:
  20887. properties:
  20888. accountName:
  20889. description: 所属账号名称(已脱敏)
  20890. type: string
  20891. accountid:
  20892. description: 资金账号
  20893. type: integer
  20894. buyorsell:
  20895. description: 方向 - 0:买 1:卖
  20896. type: integer
  20897. enableqty:
  20898. description: 可摘数量
  20899. type: integer
  20900. goodscode:
  20901. description: 商品代码
  20902. type: string
  20903. goodsid:
  20904. description: 商品ID
  20905. type: integer
  20906. goodsname:
  20907. description: 商品名称
  20908. type: string
  20909. orderid:
  20910. description: 委托单号
  20911. type: string
  20912. orderprice:
  20913. description: 委托价格
  20914. type: number
  20915. ordertime:
  20916. description: 委托时间
  20917. type: string
  20918. tradedate:
  20919. description: 交易日(yyyyMMdd)
  20920. type: string
  20921. required:
  20922. - ordertime
  20923. type: object
  20924. szdz.QuerySZDZTradePositionRsp:
  20925. properties:
  20926. accountid:
  20927. description: 账号Id
  20928. type: integer
  20929. agreeunit:
  20930. description: 合约单位
  20931. type: number
  20932. averageprice:
  20933. description: 持仓均价
  20934. type: number
  20935. buyorsell:
  20936. description: 方向 - 0:买 1:卖
  20937. type: integer
  20938. closetotalqty:
  20939. description: 平仓总数量
  20940. type: integer
  20941. curholderamount:
  20942. description: 当前持仓总金额
  20943. type: number
  20944. curpositionqty:
  20945. description: 当前持仓总数量
  20946. type: integer
  20947. currencyid:
  20948. description: 报价货币ID
  20949. type: integer
  20950. curtdposition:
  20951. description: 期末今日头寸
  20952. type: integer
  20953. decimalplace:
  20954. description: 报价小数位
  20955. type: integer
  20956. enableqty:
  20957. description: 可用量
  20958. type: integer
  20959. fretdposition:
  20960. description: 冻结今日头寸
  20961. type: integer
  20962. frozenqty:
  20963. description: 持仓冻结数量
  20964. type: integer
  20965. goodscode:
  20966. description: 商品代码(内部)
  20967. type: string
  20968. goodsid:
  20969. description: 商品Id
  20970. type: integer
  20971. goodsname:
  20972. description: 商品名称
  20973. type: string
  20974. goodunit:
  20975. description: 报价单位
  20976. type: string
  20977. goodunitid:
  20978. description: 报价单位ID
  20979. type: integer
  20980. holderamount:
  20981. description: 期初持仓总金额
  20982. type: number
  20983. marketid:
  20984. description: 市场ID
  20985. type: integer
  20986. openreqqty:
  20987. description: 开仓申请数量
  20988. type: integer
  20989. opentotalqty:
  20990. description: 开仓总数量
  20991. type: integer
  20992. otherfrozenqty:
  20993. description: 持仓其他冻结数量(交割冻结)
  20994. type: integer
  20995. positionqty:
  20996. description: 期初持仓数量
  20997. type: integer
  20998. szdz3freezqty:
  20999. description: 尚志大宗转换冻结总数量
  21000. type: integer
  21001. tnqty:
  21002. description: T+N冻结总量
  21003. type: integer
  21004. tnusedqty:
  21005. description: T+N使用量
  21006. type: integer
  21007. trademode:
  21008. description: 交易模式
  21009. type: integer
  21010. usedmargin:
  21011. description: 占用保证金
  21012. type: number
  21013. type: object
  21014. taaccount.QueryAmountLogRsp:
  21015. properties:
  21016. OPERATETYPENAME:
  21017. description: 资金操作类型名称
  21018. type: string
  21019. accountid:
  21020. description: 资金账户ID
  21021. type: integer
  21022. agoodscode:
  21023. description: 竞拍商品代码
  21024. type: string
  21025. agoodsname:
  21026. description: 竞拍商品名称
  21027. type: string
  21028. amount:
  21029. description: 资金金额
  21030. type: number
  21031. amountadjusttype:
  21032. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21033. type: integer
  21034. autoid:
  21035. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21036. type: integer
  21037. balance:
  21038. description: 期初余额
  21039. type: number
  21040. businesscode:
  21041. description: 业务编号
  21042. type: integer
  21043. createtime:
  21044. description: 发生时间
  21045. type: string
  21046. currencyid:
  21047. description: 币种ID
  21048. type: integer
  21049. currentbalance:
  21050. description: 期末余额(变动后金额)
  21051. type: number
  21052. dgoodscode:
  21053. description: 交割商品代码
  21054. type: string
  21055. dgoodsname:
  21056. description: 交割商品名称
  21057. type: string
  21058. goodscode:
  21059. description: 商品代码
  21060. type: string
  21061. goodsid:
  21062. description: 商品ID
  21063. type: integer
  21064. goodsname:
  21065. description: 商品名称
  21066. type: string
  21067. marketid:
  21068. description: 市场ID
  21069. type: integer
  21070. marketname:
  21071. description: 市场名称
  21072. type: string
  21073. moneyticket:
  21074. description: 资金流水号:银行端流水号
  21075. type: integer
  21076. operatetype:
  21077. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21078. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21079. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21080. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21081. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21082. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21083. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21084. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21085. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21086. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21087. type: integer
  21088. relationorderid:
  21089. description: 关联单号
  21090. type: string
  21091. remark:
  21092. description: 备注
  21093. type: string
  21094. trademode:
  21095. description: 交易模式
  21096. type: integer
  21097. required:
  21098. - accountid
  21099. - amount
  21100. - amountadjusttype
  21101. - autoid
  21102. - balance
  21103. - createtime
  21104. - currentbalance
  21105. - operatetype
  21106. type: object
  21107. taaccount.QueryHisAmountLogRsp:
  21108. properties:
  21109. OPERATETYPENAME:
  21110. description: 资金操作类型名称
  21111. type: string
  21112. accountid:
  21113. description: 资金账户ID
  21114. type: integer
  21115. agoodscode:
  21116. description: 竞拍商品代码
  21117. type: string
  21118. agoodsname:
  21119. description: 竞拍商品名称
  21120. type: string
  21121. amount:
  21122. description: 资金金额
  21123. type: number
  21124. amountadjusttype:
  21125. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21126. type: integer
  21127. autoid:
  21128. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21129. type: integer
  21130. balance:
  21131. description: 期初余额
  21132. type: number
  21133. businesscode:
  21134. description: 业务编号
  21135. type: integer
  21136. createtime:
  21137. description: 发生时间
  21138. type: string
  21139. currencyid:
  21140. description: 币种ID
  21141. type: integer
  21142. currentbalance:
  21143. description: 期末余额(变动后金额)
  21144. type: number
  21145. dgoodscode:
  21146. description: 交割商品代码
  21147. type: string
  21148. dgoodsname:
  21149. description: 交割商品名称
  21150. type: string
  21151. goodscode:
  21152. description: 商品代码
  21153. type: string
  21154. goodsid:
  21155. description: 商品ID
  21156. type: integer
  21157. goodsname:
  21158. description: 商品名称
  21159. type: string
  21160. histradedate:
  21161. description: 历史交易日
  21162. type: string
  21163. isvaliddata:
  21164. description: 是否有效 - 0:无效 1:有效
  21165. type: integer
  21166. marketid:
  21167. description: 市场ID
  21168. type: integer
  21169. marketname:
  21170. description: 市场名称
  21171. type: string
  21172. moneyticket:
  21173. description: 资金流水号:银行端流水号
  21174. type: integer
  21175. operatetype:
  21176. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21177. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21178. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21179. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21180. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21181. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21182. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21183. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21184. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21185. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21186. type: integer
  21187. relationorderid:
  21188. description: 关联单号
  21189. type: string
  21190. remark:
  21191. description: 备注
  21192. type: string
  21193. trademode:
  21194. description: 交易模式
  21195. type: integer
  21196. required:
  21197. - accountid
  21198. - amount
  21199. - amountadjusttype
  21200. - autoid
  21201. - balance
  21202. - createtime
  21203. - currentbalance
  21204. - histradedate
  21205. - operatetype
  21206. type: object
  21207. trade.QueryRecieptOrderRsp:
  21208. properties:
  21209. accountName:
  21210. description: 所属账号名称(已脱敏)
  21211. type: string
  21212. accountid:
  21213. description: 资金账号
  21214. type: integer
  21215. buyorsell:
  21216. description: 方向 - 0:买 1:卖
  21217. type: integer
  21218. enableqty:
  21219. description: 可摘数量
  21220. type: integer
  21221. goodscode:
  21222. description: 商品代码
  21223. type: string
  21224. goodsid:
  21225. description: 商品ID
  21226. type: integer
  21227. goodsname:
  21228. description: 商品名称
  21229. type: string
  21230. orderid:
  21231. description: 委托单号
  21232. type: string
  21233. orderprice:
  21234. description: 委托价格
  21235. type: number
  21236. ordertime:
  21237. description: 委托时间
  21238. type: string
  21239. tradedate:
  21240. description: 交易日(yyyyMMdd)
  21241. type: string
  21242. required:
  21243. - ordertime
  21244. type: object
  21245. user.LoginQueryRsp:
  21246. properties:
  21247. areaRoles:
  21248. description: 所属角色信息
  21249. items:
  21250. $ref: '#/definitions/models.Arearole'
  21251. type: array
  21252. externalExchanges:
  21253. description: 外部交易所
  21254. items:
  21255. $ref: '#/definitions/models.Externalexchange'
  21256. type: array
  21257. goodsgroups:
  21258. description: 商品组
  21259. items:
  21260. $ref: '#/definitions/models.Goodsgroup'
  21261. type: array
  21262. loginAccount:
  21263. $ref: '#/definitions/models.Loginaccount'
  21264. description: 登录账号
  21265. markets:
  21266. description: 市场
  21267. items:
  21268. $ref: '#/definitions/models.Market'
  21269. type: array
  21270. systemParams:
  21271. description: 系统参数
  21272. items:
  21273. $ref: '#/definitions/models.Systemparam'
  21274. type: array
  21275. userAccount:
  21276. $ref: '#/definitions/models.Useraccount'
  21277. description: 用户账号
  21278. userInfo:
  21279. $ref: '#/definitions/models.Userinfo'
  21280. description: 用户信息
  21281. username:
  21282. description: 用户姓名
  21283. type: string
  21284. type: object
  21285. info:
  21286. contact: {}
  21287. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21288. termsOfService: http://www.muchinfo.cn
  21289. title: MTP2.0 查询服务 API
  21290. version: "1.0"
  21291. paths:
  21292. /CPTrade/QueryCPTradeMyBidInfos:
  21293. get:
  21294. parameters:
  21295. - description: 资金账户
  21296. in: query
  21297. name: accountid
  21298. required: true
  21299. type: integer
  21300. - description: 预售市场ID
  21301. in: query
  21302. name: marketid
  21303. type: integer
  21304. - description: 预售商品ID
  21305. in: query
  21306. name: goodsid
  21307. type: integer
  21308. produces:
  21309. - application/json
  21310. responses:
  21311. "200":
  21312. description: OK
  21313. schema:
  21314. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21315. "500":
  21316. description: Internal Server Error
  21317. schema:
  21318. $ref: '#/definitions/app.Response'
  21319. security:
  21320. - ApiKeyAuth: []
  21321. summary: 查询产能预售我的出价信息
  21322. tags:
  21323. - 产能预售
  21324. /CPTrade/QueryCPTradeOrderDetail:
  21325. get:
  21326. parameters:
  21327. - description: 预售商品ID
  21328. in: query
  21329. name: goodsid
  21330. type: integer
  21331. - description: 预售市场ID
  21332. in: query
  21333. name: marketid
  21334. type: integer
  21335. - description: 预售商品ID列表 - 格式:1,2,3
  21336. in: query
  21337. name: goodsids
  21338. type: string
  21339. produces:
  21340. - application/json
  21341. responses:
  21342. "200":
  21343. description: OK
  21344. schema:
  21345. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21346. "500":
  21347. description: Internal Server Error
  21348. schema:
  21349. $ref: '#/definitions/app.Response'
  21350. security:
  21351. - ApiKeyAuth: []
  21352. summary: 查询产能预售委托单信息
  21353. tags:
  21354. - 产能预售
  21355. /CPTrade/QueryMyCPTradeGoods:
  21356. get:
  21357. parameters:
  21358. - description: 资金账户
  21359. in: query
  21360. name: accountid
  21361. required: true
  21362. type: integer
  21363. produces:
  21364. - application/json
  21365. responses:
  21366. "200":
  21367. description: OK
  21368. schema:
  21369. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21370. "500":
  21371. description: Internal Server Error
  21372. schema:
  21373. $ref: '#/definitions/app.Response'
  21374. security:
  21375. - ApiKeyAuth: []
  21376. summary: 查询我的预售信息
  21377. tags:
  21378. - 产能预售
  21379. /CPTrade/QueryPositionCancel:
  21380. get:
  21381. parameters:
  21382. - description: 账户ID
  21383. in: query
  21384. name: userid
  21385. required: true
  21386. type: integer
  21387. - description: 注销ID
  21388. in: query
  21389. name: cancelid
  21390. type: integer
  21391. - description: 资金账户ID
  21392. in: query
  21393. name: accountid
  21394. type: integer
  21395. produces:
  21396. - application/json
  21397. responses:
  21398. "200":
  21399. description: OK
  21400. schema:
  21401. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21402. "500":
  21403. description: Internal Server Error
  21404. schema:
  21405. $ref: '#/definitions/app.Response'
  21406. security:
  21407. - ApiKeyAuth: []
  21408. summary: 查询远期订单注销申请信息
  21409. tags:
  21410. - 产能预售
  21411. /CPTrade/QueryPreasleApply:
  21412. get:
  21413. parameters:
  21414. - description: 账户ID
  21415. in: query
  21416. name: userid
  21417. required: true
  21418. type: integer
  21419. - description: 申请ID
  21420. in: query
  21421. name: applyid
  21422. type: integer
  21423. - description: 资金账户ID
  21424. in: query
  21425. name: accountid
  21426. type: integer
  21427. produces:
  21428. - application/json
  21429. responses:
  21430. "200":
  21431. description: OK
  21432. schema:
  21433. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询产能预售申请信息
  21441. tags:
  21442. - 产能预售
  21443. /CPTrade/QueryPresaleGoodsEx:
  21444. get:
  21445. parameters:
  21446. - description: 预售商品ID
  21447. in: query
  21448. name: goodsid
  21449. type: integer
  21450. - description: 预售市场ID
  21451. in: query
  21452. name: marketid
  21453. type: integer
  21454. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21455. in: query
  21456. name: presalemode
  21457. type: integer
  21458. - description: 预售商品ID列表 - 格式:1,2,3
  21459. in: query
  21460. name: goodsids
  21461. type: string
  21462. - description: 预售商品代码
  21463. in: query
  21464. name: goodscode
  21465. type: string
  21466. produces:
  21467. - application/json
  21468. responses:
  21469. "200":
  21470. description: OK
  21471. schema:
  21472. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21473. "500":
  21474. description: Internal Server Error
  21475. schema:
  21476. $ref: '#/definitions/app.Response'
  21477. security:
  21478. - ApiKeyAuth: []
  21479. summary: 查询产能预售商品扩展信息
  21480. tags:
  21481. - 产能预售
  21482. /CPTrade/QueryUserGoodsData:
  21483. get:
  21484. parameters:
  21485. - description: 资金账户ID
  21486. in: query
  21487. name: accountid
  21488. required: true
  21489. type: integer
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21497. "500":
  21498. description: Internal Server Error
  21499. schema:
  21500. $ref: '#/definitions/app.Response'
  21501. security:
  21502. - ApiKeyAuth: []
  21503. summary: 查询远期订单信息
  21504. tags:
  21505. - 产能预售
  21506. /Common/GetAllEnums:
  21507. get:
  21508. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21509. parameters:
  21510. - description: 起始自增ID
  21511. in: query
  21512. name: autoid
  21513. type: integer
  21514. produces:
  21515. - application/json
  21516. responses:
  21517. "200":
  21518. description: OK
  21519. schema:
  21520. $ref: '#/definitions/models.Enumdicitem'
  21521. "500":
  21522. description: Internal Server Error
  21523. schema:
  21524. $ref: '#/definitions/app.Response'
  21525. summary: 获取所有枚举信息
  21526. tags:
  21527. - 通用服务
  21528. /Common/GetClientMenus:
  21529. get:
  21530. parameters:
  21531. - description: 登录账号
  21532. in: query
  21533. name: loginID
  21534. required: true
  21535. type: integer
  21536. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21537. in: query
  21538. name: clientType
  21539. type: integer
  21540. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21541. in: query
  21542. name: name
  21543. type: string
  21544. produces:
  21545. - application/json
  21546. responses:
  21547. "200":
  21548. description: OK
  21549. schema:
  21550. items:
  21551. $ref: '#/definitions/common.ClientMenu'
  21552. type: array
  21553. "500":
  21554. description: Internal Server Error
  21555. schema:
  21556. $ref: '#/definitions/app.Response'
  21557. security:
  21558. - ApiKeyAuth: []
  21559. summary: 获取交易端菜单
  21560. tags:
  21561. - 通用服务
  21562. /Common/GetDivisions:
  21563. get:
  21564. produces:
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. $ref: '#/definitions/models.Division'
  21571. "500":
  21572. description: Internal Server Error
  21573. schema:
  21574. $ref: '#/definitions/app.Response'
  21575. summary: 查询区域信息
  21576. tags:
  21577. - 通用服务
  21578. /Common/GetPCWebMenus:
  21579. get:
  21580. parameters:
  21581. - description: 登录账号
  21582. in: query
  21583. name: loginID
  21584. required: true
  21585. type: integer
  21586. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21587. in: query
  21588. name: name
  21589. type: string
  21590. produces:
  21591. - application/json
  21592. responses:
  21593. "200":
  21594. description: OK
  21595. schema:
  21596. items:
  21597. $ref: '#/definitions/common.PCWebMenu'
  21598. type: array
  21599. "500":
  21600. description: Internal Server Error
  21601. schema:
  21602. $ref: '#/definitions/app.Response'
  21603. security:
  21604. - ApiKeyAuth: []
  21605. summary: 获取PCWeb交易端菜单
  21606. tags:
  21607. - 通用服务
  21608. /Common/GetServerTime:
  21609. get:
  21610. produces:
  21611. - application/json
  21612. responses:
  21613. "200":
  21614. description: OK
  21615. schema:
  21616. $ref: '#/definitions/app.Response'
  21617. "500":
  21618. description: Internal Server Error
  21619. schema:
  21620. $ref: '#/definitions/app.Response'
  21621. summary: 获取服务器时间
  21622. tags:
  21623. - 通用服务
  21624. /Common/NoticeReaded:
  21625. post:
  21626. parameters:
  21627. - description: 登录账号
  21628. in: query
  21629. name: loginID
  21630. required: true
  21631. type: integer
  21632. - description: 通知公告ID
  21633. in: query
  21634. name: noticeID
  21635. required: true
  21636. type: integer
  21637. produces:
  21638. - application/json
  21639. responses:
  21640. "200":
  21641. description: OK
  21642. schema:
  21643. $ref: '#/definitions/app.Response'
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 通知公告设置已读请求
  21651. tags:
  21652. - 通用服务
  21653. /Common/QueryErrorInfos:
  21654. get:
  21655. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21656. parameters:
  21657. - description: 起始行号前索引
  21658. in: query
  21659. name: rowNumber
  21660. type: string
  21661. produces:
  21662. - application/json
  21663. responses:
  21664. "200":
  21665. description: OK
  21666. schema:
  21667. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21668. "500":
  21669. description: Internal Server Error
  21670. schema:
  21671. $ref: '#/definitions/app.Response'
  21672. summary: 获取数据库错误信息
  21673. tags:
  21674. - 通用服务
  21675. /Common/QueryImageConfigs:
  21676. get:
  21677. parameters:
  21678. - description: 用户id
  21679. in: query
  21680. name: userId
  21681. type: integer
  21682. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21683. in: query
  21684. name: imageType
  21685. type: integer
  21686. produces:
  21687. - application/json
  21688. responses:
  21689. "200":
  21690. description: OK
  21691. schema:
  21692. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21693. "500":
  21694. description: Internal Server Error
  21695. schema:
  21696. $ref: '#/definitions/app.Response'
  21697. summary: 查询轮播图配置信息
  21698. tags:
  21699. - 通用服务
  21700. /Common/QueryNotice:
  21701. get:
  21702. parameters:
  21703. - description: 页码
  21704. in: query
  21705. name: page
  21706. type: integer
  21707. - description: 每页条数
  21708. in: query
  21709. name: pagesize
  21710. type: integer
  21711. - description: 登录账号
  21712. in: query
  21713. name: loginID
  21714. required: true
  21715. type: integer
  21716. - description: 消息类型 - 1:公告通知 2:系统消息
  21717. in: query
  21718. name: msgType
  21719. type: integer
  21720. - description: 是否只获取未读信息
  21721. in: query
  21722. name: onlyUnRead
  21723. type: boolean
  21724. - description: 自增ID,传入后会返回这个ID后面的记录
  21725. in: query
  21726. name: lastID
  21727. type: integer
  21728. produces:
  21729. - application/json
  21730. responses:
  21731. "200":
  21732. description: OK
  21733. schema:
  21734. $ref: '#/definitions/common.QueryNoticeRsp'
  21735. "500":
  21736. description: Internal Server Error
  21737. schema:
  21738. $ref: '#/definitions/app.Response'
  21739. security:
  21740. - ApiKeyAuth: []
  21741. summary: 通知公告系统消息查询
  21742. tags:
  21743. - 通用服务
  21744. /Common/QueryProvincesAndCities:
  21745. get:
  21746. parameters:
  21747. - description: 省ID
  21748. in: query
  21749. name: provinceID
  21750. type: integer
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21758. "500":
  21759. description: Internal Server Error
  21760. schema:
  21761. $ref: '#/definitions/app.Response'
  21762. summary: 查询省市信息(不包括区)
  21763. tags:
  21764. - 通用服务
  21765. /Common/QueryTableDefine:
  21766. get:
  21767. parameters:
  21768. - description: 表key
  21769. in: query
  21770. name: tableKey
  21771. type: string
  21772. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21773. in: query
  21774. name: tableType
  21775. type: integer
  21776. produces:
  21777. - application/json
  21778. responses:
  21779. "200":
  21780. description: OK
  21781. schema:
  21782. $ref: '#/definitions/common.QueryTableDefineRsp'
  21783. "500":
  21784. description: Internal Server Error
  21785. schema:
  21786. $ref: '#/definitions/app.Response'
  21787. summary: 查询交易端列表头信息
  21788. tags:
  21789. - 通用服务
  21790. /Common/QueryTraderMenu:
  21791. get:
  21792. parameters:
  21793. - description: 登录账号
  21794. in: query
  21795. name: loginid
  21796. required: true
  21797. type: integer
  21798. produces:
  21799. - application/json
  21800. responses:
  21801. "200":
  21802. description: OK
  21803. schema:
  21804. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21805. "500":
  21806. description: Internal Server Error
  21807. schema:
  21808. $ref: '#/definitions/app.Response'
  21809. summary: 查询交易端菜单
  21810. tags:
  21811. - 通用服务
  21812. /Delivery/QueryDeliveryRelation:
  21813. get:
  21814. parameters:
  21815. - description: 商品ID
  21816. in: query
  21817. name: goodsid
  21818. type: integer
  21819. - description: 品种ID
  21820. in: query
  21821. name: deliverygoodsid
  21822. type: integer
  21823. - description: 市场ID
  21824. in: query
  21825. name: marketid
  21826. type: integer
  21827. produces:
  21828. - application/json
  21829. responses:
  21830. "200":
  21831. description: OK
  21832. schema:
  21833. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21834. "500":
  21835. description: Internal Server Error
  21836. schema:
  21837. $ref: '#/definitions/app.Response'
  21838. security:
  21839. - ApiKeyAuth: []
  21840. summary: 查询商品交割关系表
  21841. tags:
  21842. - 交割服务
  21843. /Ermcp/GetErmcpGoods:
  21844. get:
  21845. parameters:
  21846. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21847. in: query
  21848. name: userid
  21849. type: integer
  21850. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21851. in: query
  21852. name: lastUpdateTime
  21853. type: string
  21854. produces:
  21855. - application/json
  21856. responses:
  21857. "200":
  21858. description: OK
  21859. schema:
  21860. $ref: '#/definitions/models.ErmcpGoods'
  21861. "500":
  21862. description: Internal Server Error
  21863. schema:
  21864. $ref: '#/definitions/app.Response'
  21865. security:
  21866. - ApiKeyAuth: []
  21867. summary: 查询企业风管期货商品信息
  21868. tags:
  21869. - 企业风险管理(app)
  21870. /Ermcp/GetErmcpGoodsSortByPosition:
  21871. get:
  21872. parameters:
  21873. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21874. in: query
  21875. name: sortIndex
  21876. type: string
  21877. produces:
  21878. - application/json
  21879. responses:
  21880. "200":
  21881. description: OK
  21882. schema:
  21883. $ref: '#/definitions/models.Goodssortbypreposition'
  21884. "500":
  21885. description: Internal Server Error
  21886. schema:
  21887. $ref: '#/definitions/app.Response'
  21888. security:
  21889. - ApiKeyAuth: []
  21890. summary: 查询企业风管期货主力、次主力商品信息
  21891. tags:
  21892. - 企业风险管理(app)
  21893. /Ermcp/GetErmcpOutAccountStatus:
  21894. get:
  21895. parameters:
  21896. - description: 登录账号
  21897. in: query
  21898. name: loginID
  21899. required: true
  21900. type: integer
  21901. produces:
  21902. - application/json
  21903. responses:
  21904. "200":
  21905. description: OK
  21906. schema:
  21907. $ref: '#/definitions/models.Hedgemarketopenlog'
  21908. "500":
  21909. description: Internal Server Error
  21910. schema:
  21911. $ref: '#/definitions/app.Response'
  21912. security:
  21913. - ApiKeyAuth: []
  21914. summary: 获取目标登录账号当前对冲账号在线状态
  21915. tags:
  21916. - 企业风险管理(app)
  21917. /Ermcp/GetErmcpRoleFuncMenuLists:
  21918. get:
  21919. parameters:
  21920. - description: 登录账号
  21921. in: query
  21922. name: loginID
  21923. required: true
  21924. type: integer
  21925. produces:
  21926. - application/json
  21927. responses:
  21928. "200":
  21929. description: OK
  21930. schema:
  21931. $ref: '#/definitions/models.Funcmenulist'
  21932. "500":
  21933. description: Internal Server Error
  21934. schema:
  21935. $ref: '#/definitions/app.Response'
  21936. security:
  21937. - ApiKeyAuth: []
  21938. summary: 获取企业风管终端权限
  21939. tags:
  21940. - 企业风险管理(app)
  21941. /Ermcp/QueryAccMgrBizGroupSet:
  21942. get:
  21943. parameters:
  21944. - description: 用户ID
  21945. in: query
  21946. name: userid
  21947. required: true
  21948. type: integer
  21949. - description: 现货商品id
  21950. in: query
  21951. name: deliverygoodsid
  21952. type: integer
  21953. produces:
  21954. - application/json
  21955. responses:
  21956. "200":
  21957. description: OK
  21958. schema:
  21959. items:
  21960. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21961. type: array
  21962. "500":
  21963. description: Internal Server Error
  21964. schema:
  21965. $ref: '#/definitions/app.Response'
  21966. security:
  21967. - ApiKeyAuth: []
  21968. summary: 查询业务类型分组(账户管理/账户设置)
  21969. tags:
  21970. - 企业风险管理(app)
  21971. /Ermcp/QueryAccMgrLoginUser:
  21972. get:
  21973. parameters:
  21974. - description: 用户ID
  21975. in: query
  21976. name: userid
  21977. required: true
  21978. type: integer
  21979. - description: 用户类型 2-机构 7-企业成员
  21980. in: query
  21981. name: usertype
  21982. type: integer
  21983. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21984. in: query
  21985. name: querytype
  21986. required: true
  21987. type: integer
  21988. produces:
  21989. - application/json
  21990. responses:
  21991. "200":
  21992. description: OK
  21993. schema:
  21994. items:
  21995. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21996. type: array
  21997. "500":
  21998. description: Internal Server Error
  21999. schema:
  22000. $ref: '#/definitions/app.Response'
  22001. security:
  22002. - ApiKeyAuth: []
  22003. summary: 查询账户管理登录账号(账户管理/登录账号)
  22004. tags:
  22005. - 企业风险管理(app)
  22006. /Ermcp/QueryAccMgrMainAccountInfo:
  22007. get:
  22008. parameters:
  22009. - description: 用户ID
  22010. in: query
  22011. name: userid
  22012. type: integer
  22013. - description: 主账号id
  22014. in: query
  22015. name: accountid
  22016. type: integer
  22017. produces:
  22018. - application/json
  22019. responses:
  22020. "200":
  22021. description: OK
  22022. schema:
  22023. items:
  22024. $ref: '#/definitions/models.MainAccountInfo'
  22025. type: array
  22026. "500":
  22027. description: Internal Server Error
  22028. schema:
  22029. $ref: '#/definitions/app.Response'
  22030. security:
  22031. - ApiKeyAuth: []
  22032. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22033. tags:
  22034. - 企业风险管理(app)
  22035. /Ermcp/QueryAccMgrRole:
  22036. get:
  22037. parameters:
  22038. - description: 用户ID
  22039. in: query
  22040. name: userid
  22041. required: true
  22042. type: integer
  22043. produces:
  22044. - application/json
  22045. responses:
  22046. "200":
  22047. description: OK
  22048. schema:
  22049. items:
  22050. $ref: '#/definitions/models.ErmcpRole'
  22051. type: array
  22052. "500":
  22053. description: Internal Server Error
  22054. schema:
  22055. $ref: '#/definitions/app.Response'
  22056. security:
  22057. - ApiKeyAuth: []
  22058. summary: 查询账户管理角色设置(账户管理/角色设置)
  22059. tags:
  22060. - 企业风险管理(app)
  22061. /Ermcp/QueryAccMgrRoleMenu:
  22062. get:
  22063. parameters:
  22064. - description: 用户ID
  22065. in: query
  22066. name: userid
  22067. required: true
  22068. type: integer
  22069. - description: 角色id(可多个,逗号隔开)
  22070. in: query
  22071. name: roleid
  22072. type: string
  22073. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22074. in: query
  22075. name: menutype
  22076. type: integer
  22077. produces:
  22078. - application/json
  22079. responses:
  22080. "200":
  22081. description: OK
  22082. schema:
  22083. items:
  22084. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22085. type: array
  22086. "500":
  22087. description: Internal Server Error
  22088. schema:
  22089. $ref: '#/definitions/app.Response'
  22090. security:
  22091. - ApiKeyAuth: []
  22092. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22093. tags:
  22094. - 企业风险管理(app)
  22095. /Ermcp/QueryAccMgrTaAccountInfo:
  22096. get:
  22097. parameters:
  22098. - description: 用户ID
  22099. in: query
  22100. name: userid
  22101. required: true
  22102. type: integer
  22103. - description: 账号id
  22104. in: query
  22105. name: accountid
  22106. type: integer
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. items:
  22114. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22115. type: array
  22116. "500":
  22117. description: Internal Server Error
  22118. schema:
  22119. $ref: '#/definitions/app.Response'
  22120. security:
  22121. - ApiKeyAuth: []
  22122. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22123. tags:
  22124. - 企业风险管理(app)
  22125. /Ermcp/QueryAccMgrTaaccount:
  22126. get:
  22127. parameters:
  22128. - description: 用户ID
  22129. in: query
  22130. name: userid
  22131. required: true
  22132. type: integer
  22133. produces:
  22134. - application/json
  22135. responses:
  22136. "200":
  22137. description: OK
  22138. schema:
  22139. items:
  22140. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22141. type: array
  22142. "500":
  22143. description: Internal Server Error
  22144. schema:
  22145. $ref: '#/definitions/app.Response'
  22146. security:
  22147. - ApiKeyAuth: []
  22148. summary: 查询账户管理期货账号(账户管理/期货账号)
  22149. tags:
  22150. - 企业风险管理(app)
  22151. /Ermcp/QueryAvaildGoodsGroup:
  22152. get:
  22153. parameters:
  22154. - description: 所属机构ID
  22155. in: query
  22156. name: userid
  22157. required: true
  22158. type: integer
  22159. produces:
  22160. - application/json
  22161. responses:
  22162. "200":
  22163. description: OK
  22164. schema:
  22165. items:
  22166. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22167. type: array
  22168. "500":
  22169. description: Internal Server Error
  22170. schema:
  22171. $ref: '#/definitions/app.Response'
  22172. security:
  22173. - ApiKeyAuth: []
  22174. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22175. tags:
  22176. - 企业风险管理(app)
  22177. /Ermcp/QueryBusinessDj:
  22178. get:
  22179. parameters:
  22180. - description: 用户ID
  22181. in: query
  22182. name: UserId
  22183. required: true
  22184. type: integer
  22185. - description: 用户类型 2-机构 7-企业成员
  22186. in: query
  22187. name: usertype
  22188. type: integer
  22189. - description: 现货合同ID, 不填则查所有
  22190. in: query
  22191. name: relatedid
  22192. type: string
  22193. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22194. in: query
  22195. name: applystatus
  22196. type: string
  22197. produces:
  22198. - application/json
  22199. responses:
  22200. "200":
  22201. description: OK
  22202. schema:
  22203. items:
  22204. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22205. type: array
  22206. "500":
  22207. description: Internal Server Error
  22208. schema:
  22209. $ref: '#/definitions/app.Response'
  22210. security:
  22211. - ApiKeyAuth: []
  22212. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22213. tags:
  22214. - 企业风险管理(app)
  22215. /Ermcp/QueryBusinessFp:
  22216. get:
  22217. parameters:
  22218. - description: 用户ID
  22219. in: query
  22220. name: UserId
  22221. required: true
  22222. type: integer
  22223. - description: 用户类型 2-机构 7-企业成员
  22224. in: query
  22225. name: usertype
  22226. type: integer
  22227. - description: 现货合同ID, 不填则查所有
  22228. in: query
  22229. name: relatedid
  22230. type: string
  22231. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22232. in: query
  22233. name: applystatus
  22234. type: string
  22235. produces:
  22236. - application/json
  22237. responses:
  22238. "200":
  22239. description: OK
  22240. schema:
  22241. items:
  22242. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22243. type: array
  22244. "500":
  22245. description: Internal Server Error
  22246. schema:
  22247. $ref: '#/definitions/app.Response'
  22248. security:
  22249. - ApiKeyAuth: []
  22250. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22251. tags:
  22252. - 企业风险管理(app)
  22253. /Ermcp/QueryBusinessJs:
  22254. get:
  22255. parameters:
  22256. - description: 用户ID
  22257. in: query
  22258. name: UserId
  22259. required: true
  22260. type: integer
  22261. - description: 用户类型 2-机构 7-企业成员
  22262. in: query
  22263. name: usertype
  22264. type: integer
  22265. - description: 现货合同ID, 不填则查所有
  22266. in: query
  22267. name: relatedid
  22268. type: string
  22269. - description: 操作申请id
  22270. in: query
  22271. name: operateapplyid
  22272. type: string
  22273. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22274. in: query
  22275. name: applystatus
  22276. type: string
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. items:
  22284. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22285. type: array
  22286. "500":
  22287. description: Internal Server Error
  22288. schema:
  22289. $ref: '#/definitions/app.Response'
  22290. security:
  22291. - ApiKeyAuth: []
  22292. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22293. tags:
  22294. - 企业风险管理(app)
  22295. /Ermcp/QueryBusinessJsEx:
  22296. get:
  22297. parameters:
  22298. - description: 用户ID
  22299. in: query
  22300. name: UserId
  22301. required: true
  22302. type: integer
  22303. - description: 用户类型 2-机构 7-企业成员
  22304. in: query
  22305. name: usertype
  22306. type: integer
  22307. - description: 现货合同ID, 不填则查所有
  22308. in: query
  22309. name: relatedid
  22310. type: string
  22311. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22312. in: query
  22313. name: applystatus
  22314. type: string
  22315. produces:
  22316. - application/json
  22317. responses:
  22318. "200":
  22319. description: OK
  22320. schema:
  22321. items:
  22322. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22323. type: array
  22324. "500":
  22325. description: Internal Server Error
  22326. schema:
  22327. $ref: '#/definitions/app.Response'
  22328. security:
  22329. - ApiKeyAuth: []
  22330. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22331. tags:
  22332. - 企业风险管理(app)
  22333. /Ermcp/QueryBusinessKx:
  22334. get:
  22335. parameters:
  22336. - description: 用户ID
  22337. in: query
  22338. name: UserId
  22339. required: true
  22340. type: integer
  22341. - description: 用户类型 2-机构 7-企业成员
  22342. in: query
  22343. name: usertype
  22344. type: integer
  22345. - description: 现货合同ID, 不填则查所有
  22346. in: query
  22347. name: relatedid
  22348. type: string
  22349. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22350. in: query
  22351. name: applystatus
  22352. type: string
  22353. produces:
  22354. - application/json
  22355. responses:
  22356. "200":
  22357. description: OK
  22358. schema:
  22359. items:
  22360. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22361. type: array
  22362. "500":
  22363. description: Internal Server Error
  22364. schema:
  22365. $ref: '#/definitions/app.Response'
  22366. security:
  22367. - ApiKeyAuth: []
  22368. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22369. tags:
  22370. - 企业风险管理(app)
  22371. /Ermcp/QueryChangeLog:
  22372. get:
  22373. parameters:
  22374. - description: 合同ID
  22375. in: query
  22376. name: RelatedId
  22377. required: true
  22378. type: string
  22379. produces:
  22380. - application/json
  22381. responses:
  22382. "200":
  22383. description: OK
  22384. schema:
  22385. items:
  22386. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22387. type: array
  22388. "500":
  22389. description: Internal Server Error
  22390. schema:
  22391. $ref: '#/definitions/app.Response'
  22392. security:
  22393. - ApiKeyAuth: []
  22394. summary: 查询变更记录
  22395. tags:
  22396. - 企业风险管理(app)
  22397. /Ermcp/QueryErmcpHisOrderDetails:
  22398. get:
  22399. parameters:
  22400. - description: 资金账户ID
  22401. in: query
  22402. name: accountID
  22403. required: true
  22404. type: integer
  22405. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22406. in: query
  22407. name: startDate
  22408. type: string
  22409. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22410. in: query
  22411. name: endDate
  22412. type: string
  22413. produces:
  22414. - application/json
  22415. responses:
  22416. "200":
  22417. description: OK
  22418. schema:
  22419. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22420. "500":
  22421. description: Internal Server Error
  22422. schema:
  22423. $ref: '#/definitions/app.Response'
  22424. security:
  22425. - ApiKeyAuth: []
  22426. summary: 获取企业风管期货历史委托单信息
  22427. tags:
  22428. - 企业风险管理(app)
  22429. /Ermcp/QueryErmcpHisTradeDetails:
  22430. get:
  22431. parameters:
  22432. - description: 资金账户ID
  22433. in: query
  22434. name: accountID
  22435. required: true
  22436. type: integer
  22437. - description: 商品ID
  22438. in: query
  22439. name: goodsID
  22440. type: integer
  22441. - description: 买卖方向,0:买 1:卖
  22442. in: query
  22443. name: buyOrSell
  22444. type: integer
  22445. - description: 关联委托单号
  22446. in: query
  22447. name: orderID
  22448. type: integer
  22449. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22450. in: query
  22451. name: startDate
  22452. type: string
  22453. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22454. in: query
  22455. name: endDate
  22456. type: string
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 获取企业风管期货历史成交单信息
  22471. tags:
  22472. - 企业风险管理(app)
  22473. /Ermcp/QueryErmcpInnerHolderDetails:
  22474. get:
  22475. parameters:
  22476. - description: 资金账户ID
  22477. in: query
  22478. name: accountID
  22479. required: true
  22480. type: integer
  22481. - description: 商品ID
  22482. in: query
  22483. name: goodsID
  22484. type: integer
  22485. - description: 买卖方向,0:买 1:卖
  22486. in: query
  22487. name: buyOrSell
  22488. type: integer
  22489. produces:
  22490. - application/json
  22491. responses:
  22492. "200":
  22493. description: OK
  22494. schema:
  22495. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. summary: 获取企业风管期货内部持仓单信息
  22503. tags:
  22504. - 企业风险管理(app)
  22505. /Ermcp/QueryErmcpOrderDetails:
  22506. get:
  22507. parameters:
  22508. - description: 资金账户ID
  22509. in: query
  22510. name: accountID
  22511. required: true
  22512. type: integer
  22513. produces:
  22514. - application/json
  22515. responses:
  22516. "200":
  22517. description: OK
  22518. schema:
  22519. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22520. "500":
  22521. description: Internal Server Error
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. security:
  22525. - ApiKeyAuth: []
  22526. summary: 获取企业风管期货委托单信息
  22527. tags:
  22528. - 企业风险管理(app)
  22529. /Ermcp/QueryErmcpTradeDetails:
  22530. get:
  22531. parameters:
  22532. - description: 资金账户ID
  22533. in: query
  22534. name: accountID
  22535. required: true
  22536. type: integer
  22537. - description: 商品ID
  22538. in: query
  22539. name: goodsID
  22540. type: integer
  22541. - description: 买卖方向,0:买 1:卖
  22542. in: query
  22543. name: buyOrSell
  22544. type: integer
  22545. - description: 关联委托单号
  22546. in: query
  22547. name: orderID
  22548. type: integer
  22549. produces:
  22550. - application/json
  22551. responses:
  22552. "200":
  22553. description: OK
  22554. schema:
  22555. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 获取企业风管期货成交单信息
  22563. tags:
  22564. - 企业风险管理(app)
  22565. /Ermcp/QueryErmcpTradePosition:
  22566. get:
  22567. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22568. parameters:
  22569. - description: 资金账户ID
  22570. in: query
  22571. name: accountID
  22572. required: true
  22573. type: integer
  22574. - description: 所属市场ID
  22575. in: query
  22576. name: marketID
  22577. type: integer
  22578. produces:
  22579. - application/json
  22580. responses:
  22581. "200":
  22582. description: OK
  22583. schema:
  22584. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22585. "500":
  22586. description: Internal Server Error
  22587. schema:
  22588. $ref: '#/definitions/app.Response'
  22589. security:
  22590. - ApiKeyAuth: []
  22591. summary: 获取企业风管期货持仓头寸信息
  22592. tags:
  22593. - 企业风险管理(app)
  22594. /Ermcp/QueryExposureDetail:
  22595. get:
  22596. parameters:
  22597. - description: 所属机构ID
  22598. in: query
  22599. name: areaUserId
  22600. required: true
  22601. type: integer
  22602. - description: 套保商品
  22603. in: query
  22604. name: middleGoodsId
  22605. required: true
  22606. type: integer
  22607. produces:
  22608. - application/json
  22609. responses:
  22610. "200":
  22611. description: OK
  22612. schema:
  22613. items:
  22614. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22615. type: array
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 查询敞口现货明细
  22623. tags:
  22624. - 企业风险管理(app)
  22625. /Ermcp/QueryExposureGoods:
  22626. get:
  22627. parameters:
  22628. - description: 套保商品id
  22629. in: query
  22630. name: middlegoodsid
  22631. required: true
  22632. type: integer
  22633. produces:
  22634. - application/json
  22635. responses:
  22636. "200":
  22637. description: OK
  22638. schema:
  22639. items:
  22640. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22641. type: array
  22642. "500":
  22643. description: Internal Server Error
  22644. schema:
  22645. $ref: '#/definitions/app.Response'
  22646. security:
  22647. - ApiKeyAuth: []
  22648. summary: 查询敞口主力合约
  22649. tags:
  22650. - 企业风险管理(app)
  22651. /Ermcp/QueryExposureHedgePosition:
  22652. get:
  22653. parameters:
  22654. - description: 用户id
  22655. in: query
  22656. name: userid
  22657. required: true
  22658. type: integer
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. items:
  22666. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22667. type: array
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22675. tags:
  22676. - 企业风险管理(app)
  22677. /Ermcp/QueryExposureHedgePositionDetail:
  22678. get:
  22679. parameters:
  22680. - description: 所属机构ID
  22681. in: query
  22682. name: userid
  22683. required: true
  22684. type: integer
  22685. - description: 商品id
  22686. in: query
  22687. name: goodsId
  22688. required: true
  22689. type: integer
  22690. produces:
  22691. - application/json
  22692. responses:
  22693. "200":
  22694. description: OK
  22695. schema:
  22696. items:
  22697. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22698. type: array
  22699. "500":
  22700. description: Internal Server Error
  22701. schema:
  22702. $ref: '#/definitions/app.Response'
  22703. security:
  22704. - ApiKeyAuth: []
  22705. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22706. tags:
  22707. - 企业风险管理(app)
  22708. /Ermcp/QueryExposureSpot:
  22709. get:
  22710. parameters:
  22711. - description: 所属机构ID
  22712. in: query
  22713. name: areaUserId
  22714. required: true
  22715. type: integer
  22716. produces:
  22717. - application/json
  22718. responses:
  22719. "200":
  22720. description: OK
  22721. schema:
  22722. items:
  22723. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22724. type: array
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 查询敞口现货头寸(敞口/现货头寸)
  22732. tags:
  22733. - 企业风险管理(app)
  22734. /Ermcp/QueryExposureSpotDetail:
  22735. get:
  22736. parameters:
  22737. - description: 所属机构ID
  22738. in: query
  22739. name: areaUserId
  22740. required: true
  22741. type: integer
  22742. - description: 现货品种ID
  22743. in: query
  22744. name: wrstandardId
  22745. required: true
  22746. type: integer
  22747. produces:
  22748. - application/json
  22749. responses:
  22750. "200":
  22751. description: OK
  22752. schema:
  22753. items:
  22754. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  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/QueryFuturesCompany:
  22766. get:
  22767. produces:
  22768. - application/json
  22769. responses:
  22770. "200":
  22771. description: OK
  22772. schema:
  22773. items:
  22774. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22775. type: array
  22776. "500":
  22777. description: Internal Server Error
  22778. schema:
  22779. $ref: '#/definitions/app.Response'
  22780. security:
  22781. - ApiKeyAuth: []
  22782. summary: 查询期货公司
  22783. tags:
  22784. - 企业风险管理(app)
  22785. /Ermcp/QueryGGConvertConfig:
  22786. get:
  22787. parameters:
  22788. - description: 品种id(不填则查所有)
  22789. in: query
  22790. name: goodsgroupid
  22791. type: integer
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. items:
  22799. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22800. type: array
  22801. "500":
  22802. description: Internal Server Error
  22803. schema:
  22804. $ref: '#/definitions/app.Response'
  22805. security:
  22806. - ApiKeyAuth: []
  22807. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22808. tags:
  22809. - 企业风险管理(app)
  22810. /Ermcp/QueryGoodsBrand:
  22811. get:
  22812. parameters:
  22813. - description: 用户ID
  22814. in: query
  22815. name: userid
  22816. required: true
  22817. type: integer
  22818. - description: 现货商品ID
  22819. in: query
  22820. name: wrstandardid
  22821. type: integer
  22822. produces:
  22823. - application/json
  22824. responses:
  22825. "200":
  22826. description: OK
  22827. schema:
  22828. items:
  22829. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22830. type: array
  22831. "500":
  22832. description: Internal Server Error
  22833. schema:
  22834. $ref: '#/definitions/app.Response'
  22835. security:
  22836. - ApiKeyAuth: []
  22837. summary: 查询商品品牌
  22838. tags:
  22839. - 企业风险管理(app)
  22840. /Ermcp/QueryGoodsModel:
  22841. get:
  22842. parameters:
  22843. - description: 用户ID
  22844. in: query
  22845. name: userid
  22846. required: true
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. items:
  22855. $ref: '#/definitions/models.ErmcpGoodsModel'
  22856. type: array
  22857. "500":
  22858. description: Internal Server Error
  22859. schema:
  22860. $ref: '#/definitions/app.Response'
  22861. security:
  22862. - ApiKeyAuth: []
  22863. summary: 查询商品型号
  22864. tags:
  22865. - 企业风险管理(app)
  22866. /Ermcp/QueryHisExposure:
  22867. get:
  22868. parameters:
  22869. - description: 用户id
  22870. in: query
  22871. name: userid
  22872. required: true
  22873. type: integer
  22874. - description: 每个品种记录数
  22875. in: query
  22876. name: lastNum
  22877. required: true
  22878. type: integer
  22879. produces:
  22880. - application/json
  22881. responses:
  22882. "200":
  22883. description: OK
  22884. schema:
  22885. items:
  22886. $ref: '#/definitions/ermcp.HisExposureRsp'
  22887. type: array
  22888. "500":
  22889. description: Internal Server Error
  22890. schema:
  22891. $ref: '#/definitions/app.Response'
  22892. security:
  22893. - ApiKeyAuth: []
  22894. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22895. tags:
  22896. - 企业风险管理(app)
  22897. /Ermcp/QueryMiddleGoods:
  22898. get:
  22899. parameters:
  22900. - description: 所属机构ID
  22901. in: query
  22902. name: userid
  22903. required: true
  22904. type: integer
  22905. - description: 状态 0-停用 1-正常
  22906. in: query
  22907. name: status
  22908. required: true
  22909. type: integer
  22910. produces:
  22911. - application/json
  22912. responses:
  22913. "200":
  22914. description: OK
  22915. schema:
  22916. items:
  22917. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22918. type: array
  22919. "500":
  22920. description: Internal Server Error
  22921. schema:
  22922. $ref: '#/definitions/app.Response'
  22923. security:
  22924. - ApiKeyAuth: []
  22925. summary: 查询套保品种(菜单:套保品种)
  22926. tags:
  22927. - 企业风险管理(app)
  22928. /Ermcp/QueryMiddleGoodsChangeLog:
  22929. get:
  22930. parameters:
  22931. - description: 所属机构ID
  22932. in: query
  22933. name: userid
  22934. required: true
  22935. type: integer
  22936. - description: 套保品种id
  22937. in: query
  22938. name: middlegoodsid
  22939. required: true
  22940. type: integer
  22941. produces:
  22942. - application/json
  22943. responses:
  22944. "200":
  22945. description: OK
  22946. schema:
  22947. items:
  22948. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22949. type: array
  22950. "500":
  22951. description: Internal Server Error
  22952. schema:
  22953. $ref: '#/definitions/app.Response'
  22954. security:
  22955. - ApiKeyAuth: []
  22956. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22957. tags:
  22958. - 企业风险管理(app)
  22959. /Ermcp/QueryMiddleGoodsDetail:
  22960. get:
  22961. parameters:
  22962. - description: 所属机构ID
  22963. in: query
  22964. name: userid
  22965. required: true
  22966. type: integer
  22967. - description: 套保品种id
  22968. in: query
  22969. name: middlegoodsid
  22970. type: integer
  22971. produces:
  22972. - application/json
  22973. responses:
  22974. "200":
  22975. description: OK
  22976. schema:
  22977. items:
  22978. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22979. type: array
  22980. "500":
  22981. description: Internal Server Error
  22982. schema:
  22983. $ref: '#/definitions/app.Response'
  22984. security:
  22985. - ApiKeyAuth: []
  22986. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22987. tags:
  22988. - 企业风险管理(app)
  22989. /Ermcp/QueryPendingAuditInfo:
  22990. get:
  22991. parameters:
  22992. - description: 用户ID
  22993. in: query
  22994. name: UserId
  22995. required: true
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. items:
  23004. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23005. type: array
  23006. "500":
  23007. description: Internal Server Error
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. security:
  23011. - ApiKeyAuth: []
  23012. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23013. tags:
  23014. - 企业风险管理(app)
  23015. /Ermcp/QueryRealtimeExposure:
  23016. get:
  23017. parameters:
  23018. - description: 所属机构ID
  23019. in: query
  23020. name: userid
  23021. required: true
  23022. type: integer
  23023. produces:
  23024. - application/json
  23025. responses:
  23026. "200":
  23027. description: OK
  23028. schema:
  23029. items:
  23030. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23031. type: array
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询实时敞口
  23039. tags:
  23040. - 企业风险管理(app)
  23041. /Ermcp/QueryRealtimeExposurePosition:
  23042. get:
  23043. parameters:
  23044. - description: 用户id
  23045. in: query
  23046. name: userid
  23047. required: true
  23048. type: integer
  23049. - description: 套保商品ID
  23050. in: query
  23051. name: middleGoodsId
  23052. required: true
  23053. type: integer
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. items:
  23061. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23062. type: array
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23070. tags:
  23071. - 企业风险管理(app)
  23072. /Ermcp/QueryRoleMenu:
  23073. get:
  23074. parameters:
  23075. - description: 登录ID
  23076. in: query
  23077. name: loginid
  23078. required: true
  23079. type: integer
  23080. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23081. in: query
  23082. name: menutype
  23083. type: integer
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. items:
  23091. $ref: '#/definitions/models.RoleMenu'
  23092. type: array
  23093. "500":
  23094. description: Internal Server Error
  23095. schema:
  23096. $ref: '#/definitions/app.Response'
  23097. security:
  23098. - ApiKeyAuth: []
  23099. summary: 查询角色菜单和权限
  23100. tags:
  23101. - 企业风险管理(app)
  23102. /Ermcp/QueryTradeConfigTMP:
  23103. get:
  23104. parameters:
  23105. - description: 所属机构id
  23106. in: query
  23107. name: areauserid
  23108. type: integer
  23109. produces:
  23110. - application/json
  23111. responses:
  23112. "200":
  23113. description: OK
  23114. schema:
  23115. items:
  23116. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23117. type: array
  23118. "500":
  23119. description: Internal Server Error
  23120. schema:
  23121. $ref: '#/definitions/app.Response'
  23122. security:
  23123. - ApiKeyAuth: []
  23124. summary: 查询交易模板配置
  23125. tags:
  23126. - 企业风险管理(app)
  23127. /Ermcp/QueryUserInfo:
  23128. get:
  23129. parameters:
  23130. - description: 所属机构用户ID
  23131. in: query
  23132. name: MemberUserID
  23133. required: true
  23134. type: integer
  23135. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23136. in: query
  23137. name: queryType
  23138. required: true
  23139. type: integer
  23140. produces:
  23141. - application/json
  23142. responses:
  23143. "200":
  23144. description: OK
  23145. schema:
  23146. items:
  23147. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23148. type: array
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 查询客户资料
  23156. tags:
  23157. - 企业风险管理(app)
  23158. /Ermcp/QueryWarehouseInfo:
  23159. get:
  23160. parameters:
  23161. - description: 用户ID
  23162. in: query
  23163. name: userid
  23164. required: true
  23165. type: integer
  23166. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23167. in: query
  23168. name: status
  23169. type: string
  23170. produces:
  23171. - application/json
  23172. responses:
  23173. "200":
  23174. description: OK
  23175. schema:
  23176. items:
  23177. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23178. type: array
  23179. "500":
  23180. description: Internal Server Error
  23181. schema:
  23182. $ref: '#/definitions/app.Response'
  23183. security:
  23184. - ApiKeyAuth: []
  23185. summary: 查询仓库信息
  23186. tags:
  23187. - 企业风险管理(app)
  23188. /Ermcp3/QryAreaExpourseContractDetail:
  23189. get:
  23190. parameters:
  23191. - description: 用户ID
  23192. in: query
  23193. name: userid
  23194. required: true
  23195. type: integer
  23196. - description: 套保商品id
  23197. in: query
  23198. name: middlegoodsid
  23199. required: true
  23200. type: integer
  23201. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23202. in: query
  23203. name: cycletype
  23204. required: true
  23205. type: integer
  23206. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23207. 全(0)【原值】
  23208. in: query
  23209. name: cycletime
  23210. required: true
  23211. type: string
  23212. produces:
  23213. - application/json
  23214. responses:
  23215. "200":
  23216. description: OK
  23217. schema:
  23218. items:
  23219. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23220. type: array
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23228. tags:
  23229. - 企业风险管理v3(app)
  23230. /Ermcp3/QryAreaExpourseFutuDetail:
  23231. get:
  23232. parameters:
  23233. - description: 用户ID
  23234. in: query
  23235. name: userid
  23236. required: true
  23237. type: integer
  23238. - description: 套保商品id
  23239. in: query
  23240. name: middlegoodsid
  23241. required: true
  23242. type: integer
  23243. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23244. in: query
  23245. name: cycletype
  23246. required: true
  23247. type: integer
  23248. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23249. 全(0)【原值】
  23250. in: query
  23251. name: cycletime
  23252. required: true
  23253. type: string
  23254. produces:
  23255. - application/json
  23256. responses:
  23257. "200":
  23258. description: OK
  23259. schema:
  23260. items:
  23261. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23262. type: array
  23263. "500":
  23264. description: Internal Server Error
  23265. schema:
  23266. $ref: '#/definitions/app.Response'
  23267. security:
  23268. - ApiKeyAuth: []
  23269. summary: 查询敞口期货明细(敞口报表/期货明细)
  23270. tags:
  23271. - 企业风险管理v3(app)
  23272. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23273. get:
  23274. parameters:
  23275. - description: 用户ID
  23276. in: query
  23277. name: userid
  23278. required: true
  23279. type: integer
  23280. - description: 套保商品id
  23281. in: query
  23282. name: middlegoodsid
  23283. required: true
  23284. type: integer
  23285. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23286. in: query
  23287. name: cycletype
  23288. required: true
  23289. type: integer
  23290. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23291. 全(0)【原值】
  23292. in: query
  23293. name: cycletime
  23294. required: true
  23295. type: string
  23296. produces:
  23297. - application/json
  23298. responses:
  23299. "200":
  23300. description: OK
  23301. schema:
  23302. items:
  23303. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23304. type: array
  23305. "500":
  23306. description: Internal Server Error
  23307. schema:
  23308. $ref: '#/definitions/app.Response'
  23309. security:
  23310. - ApiKeyAuth: []
  23311. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23312. tags:
  23313. - 企业风险管理v3(app)
  23314. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23315. get:
  23316. parameters:
  23317. - description: 用户ID
  23318. in: query
  23319. name: userid
  23320. required: true
  23321. type: integer
  23322. - description: 套保商品id
  23323. in: query
  23324. name: middlegoodsid
  23325. required: true
  23326. type: integer
  23327. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23328. in: query
  23329. name: cycletype
  23330. required: true
  23331. type: integer
  23332. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23333. 全(0)【原值】
  23334. in: query
  23335. name: cycletime
  23336. required: true
  23337. type: string
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. items:
  23345. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23346. type: array
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23354. tags:
  23355. - 企业风险管理v3(app)
  23356. /Ermcp3/QryAreaExpourseReport:
  23357. get:
  23358. parameters:
  23359. - description: 用户ID
  23360. in: query
  23361. name: userid
  23362. required: true
  23363. type: integer
  23364. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23365. in: query
  23366. name: querytype
  23367. required: true
  23368. type: integer
  23369. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23370. in: query
  23371. name: cycletype
  23372. required: true
  23373. type: integer
  23374. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23375. 全(0)【原值】
  23376. in: query
  23377. name: cycletime
  23378. required: true
  23379. type: string
  23380. produces:
  23381. - application/json
  23382. responses:
  23383. "200":
  23384. description: OK
  23385. schema:
  23386. items:
  23387. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23388. type: array
  23389. "500":
  23390. description: Internal Server Error
  23391. schema:
  23392. $ref: '#/definitions/app.Response'
  23393. security:
  23394. - ApiKeyAuth: []
  23395. summary: 查询敞口报表
  23396. tags:
  23397. - 企业风险管理v3(app)
  23398. /Ermcp3/QryAreaSpotplReport:
  23399. get:
  23400. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23401. parameters:
  23402. - description: 用户ID
  23403. in: query
  23404. name: userid
  23405. required: true
  23406. type: integer
  23407. - description: 查询类型 1-报表 2-报表明细
  23408. in: query
  23409. name: querytype
  23410. required: true
  23411. type: integer
  23412. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23413. in: query
  23414. name: cycletype
  23415. required: true
  23416. type: integer
  23417. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23418. 全(0)【原值】
  23419. in: query
  23420. name: cycletime
  23421. required: true
  23422. type: string
  23423. - description: 现货品种id(明细必填)
  23424. in: query
  23425. name: deliverygoodsid
  23426. type: integer
  23427. - description: 币种id(明细必填)
  23428. in: query
  23429. name: currencyid
  23430. type: integer
  23431. - description: 日/周/月报表汇总维度 1:品种+品类
  23432. in: query
  23433. name: sumflag
  23434. type: integer
  23435. produces:
  23436. - application/json
  23437. responses:
  23438. "200":
  23439. description: OK
  23440. schema:
  23441. items:
  23442. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23443. type: array
  23444. "500":
  23445. description: Internal Server Error
  23446. schema:
  23447. $ref: '#/definitions/app.Response'
  23448. security:
  23449. - ApiKeyAuth: []
  23450. summary: 查询现货报表
  23451. tags:
  23452. - 企业风险管理v3(app)
  23453. /Ermcp3/QryAreaStockReport:
  23454. get:
  23455. parameters:
  23456. - description: 用户ID
  23457. in: query
  23458. name: userid
  23459. required: true
  23460. type: integer
  23461. - description: 查询类型 1-报表 2-报表明细
  23462. in: query
  23463. name: querytype
  23464. required: true
  23465. type: integer
  23466. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23467. in: query
  23468. name: cycletype
  23469. required: true
  23470. type: integer
  23471. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23472. 全(0)【原值】
  23473. in: query
  23474. name: cycletime
  23475. required: true
  23476. type: string
  23477. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23478. in: query
  23479. name: sumfields
  23480. type: string
  23481. - description: 品种ID
  23482. in: query
  23483. name: deliverygoodsid
  23484. type: integer
  23485. - description: 品类ID
  23486. in: query
  23487. name: wrstandardid
  23488. type: integer
  23489. - description: 品牌ID
  23490. in: query
  23491. name: spotgoodsbrandid
  23492. type: integer
  23493. - description: 仓库ID
  23494. in: query
  23495. name: warehouseinfoid
  23496. type: integer
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. items:
  23504. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23505. type: array
  23506. "500":
  23507. description: Internal Server Error
  23508. schema:
  23509. $ref: '#/definitions/app.Response'
  23510. security:
  23511. - ApiKeyAuth: []
  23512. summary: 查询库存报表
  23513. tags:
  23514. - 企业风险管理v3(app)
  23515. /Ermcp3/QryAreaSumPL:
  23516. get:
  23517. parameters:
  23518. - description: 用户ID
  23519. in: query
  23520. name: userid
  23521. required: true
  23522. type: integer
  23523. - description: 查询类型 1-报表 2-报表明细
  23524. in: query
  23525. name: querytype
  23526. required: true
  23527. type: integer
  23528. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23529. in: query
  23530. name: cycletype
  23531. required: true
  23532. type: integer
  23533. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23534. 全(0)【原值】
  23535. in: query
  23536. name: cycletime
  23537. required: true
  23538. type: string
  23539. - description: 币种id(明细必填)
  23540. in: query
  23541. name: currencyid
  23542. type: integer
  23543. produces:
  23544. - application/json
  23545. responses:
  23546. "200":
  23547. description: OK
  23548. schema:
  23549. items:
  23550. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23551. type: array
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询汇总损益表
  23559. tags:
  23560. - 企业风险管理v3(app)
  23561. /Ermcp3/QryFinanceReport:
  23562. get:
  23563. parameters:
  23564. - description: 用户ID
  23565. in: query
  23566. name: userid
  23567. required: true
  23568. type: integer
  23569. - description: 查询类型 1-报表 2-报表明细
  23570. in: query
  23571. name: querytype
  23572. required: true
  23573. type: integer
  23574. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23575. in: query
  23576. name: cycletype
  23577. required: true
  23578. type: integer
  23579. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23580. 全(0)【原值】
  23581. in: query
  23582. name: cycletime
  23583. required: true
  23584. type: string
  23585. - description: 币种id(报表明细必填)
  23586. in: query
  23587. name: currencyid
  23588. type: integer
  23589. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23590. in: query
  23591. name: sumfields
  23592. type: string
  23593. produces:
  23594. - application/json
  23595. responses:
  23596. "200":
  23597. description: OK
  23598. schema:
  23599. items:
  23600. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23601. type: array
  23602. "500":
  23603. description: Internal Server Error
  23604. schema:
  23605. $ref: '#/definitions/app.Response'
  23606. security:
  23607. - ApiKeyAuth: []
  23608. summary: 查询财务报表
  23609. tags:
  23610. - 企业风险管理v3(app)
  23611. /Ermcp3/QrySCMiddleGoodsReport:
  23612. get:
  23613. parameters:
  23614. - description: 用户ID
  23615. in: query
  23616. name: userid
  23617. required: true
  23618. type: integer
  23619. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23620. in: query
  23621. name: cycletype
  23622. required: true
  23623. type: integer
  23624. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23625. 全(0)【原值】
  23626. in: query
  23627. name: cycletime
  23628. required: true
  23629. type: string
  23630. - description: 合同id
  23631. in: query
  23632. name: spotcontractid
  23633. type: integer
  23634. - description: 套保品种id
  23635. in: query
  23636. name: middlegoodsid
  23637. type: integer
  23638. - description: 现货品种id
  23639. in: query
  23640. name: deliverygoodsid
  23641. type: integer
  23642. - description: 现货商品id
  23643. in: query
  23644. name: wrstandardid
  23645. type: integer
  23646. - description: 合同编号(模糊匹配)
  23647. in: query
  23648. name: contractno
  23649. type: string
  23650. produces:
  23651. - application/json
  23652. responses:
  23653. "200":
  23654. description: OK
  23655. schema:
  23656. items:
  23657. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23658. type: array
  23659. "500":
  23660. description: Internal Server Error
  23661. schema:
  23662. $ref: '#/definitions/app.Response'
  23663. security:
  23664. - ApiKeyAuth: []
  23665. summary: 查询定价报表
  23666. tags:
  23667. - 企业风险管理v3(app)
  23668. /Ermcp3/QryTaFutureDataReport:
  23669. get:
  23670. parameters:
  23671. - description: 用户ID
  23672. in: query
  23673. name: userid
  23674. required: true
  23675. type: integer
  23676. - description: 查询类型 1-报表 2-报表明细
  23677. in: query
  23678. name: querytype
  23679. required: true
  23680. type: integer
  23681. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23682. in: query
  23683. name: cycletype
  23684. required: true
  23685. type: integer
  23686. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23687. 全(0)【原值】
  23688. in: query
  23689. name: cycletime
  23690. required: true
  23691. type: string
  23692. - description: 币种id(查明细必填)
  23693. in: query
  23694. name: currencyid
  23695. type: integer
  23696. - description: 品种id(查明细必填)
  23697. in: query
  23698. name: goodsgroupid
  23699. type: integer
  23700. - description: 商品id(查明细必填)
  23701. in: query
  23702. name: goodsid
  23703. type: integer
  23704. - description: 买卖方向(查明细必填)
  23705. in: query
  23706. name: buyorsell
  23707. type: integer
  23708. produces:
  23709. - application/json
  23710. responses:
  23711. "200":
  23712. description: OK
  23713. schema:
  23714. items:
  23715. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23716. type: array
  23717. "500":
  23718. description: Internal Server Error
  23719. schema:
  23720. $ref: '#/definitions/app.Response'
  23721. security:
  23722. - ApiKeyAuth: []
  23723. summary: 查询期货报表
  23724. tags:
  23725. - 企业风险管理v3(app)
  23726. /Ermcp3/QueryAreaStock:
  23727. get:
  23728. parameters:
  23729. - description: 用户ID
  23730. in: query
  23731. name: userid
  23732. required: true
  23733. type: integer
  23734. produces:
  23735. - application/json
  23736. responses:
  23737. "200":
  23738. description: OK
  23739. schema:
  23740. items:
  23741. $ref: '#/definitions/models.Ermcp3AreaStock'
  23742. type: array
  23743. "500":
  23744. description: Internal Server Error
  23745. schema:
  23746. $ref: '#/definitions/app.Response'
  23747. security:
  23748. - ApiKeyAuth: []
  23749. summary: 查询机构库存(库存管理/当前库存)
  23750. tags:
  23751. - 企业风险管理v3(app)
  23752. /Ermcp3/QueryAreaStockApply:
  23753. get:
  23754. parameters:
  23755. - description: 用户ID
  23756. in: query
  23757. name: userid
  23758. required: true
  23759. type: integer
  23760. - description: 用户类型 2-机构 7-企业成员
  23761. in: query
  23762. name: usertype
  23763. type: integer
  23764. - description: 现货商品ID
  23765. in: query
  23766. name: deliverygoodsid
  23767. type: integer
  23768. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23769. in: query
  23770. name: inouttype
  23771. type: string
  23772. - description: 合同ID
  23773. in: query
  23774. name: spotcontractid
  23775. type: integer
  23776. - description: 品类ID
  23777. in: query
  23778. name: wrstandardid
  23779. type: integer
  23780. - description: 品牌ID
  23781. in: query
  23782. name: spotgoodsbrandid
  23783. type: integer
  23784. - description: 仓库ID
  23785. in: query
  23786. name: warehouseinfoid
  23787. type: integer
  23788. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23789. in: query
  23790. name: applystatus
  23791. type: string
  23792. produces:
  23793. - application/json
  23794. responses:
  23795. "200":
  23796. description: OK
  23797. schema:
  23798. items:
  23799. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23800. type: array
  23801. "500":
  23802. description: Internal Server Error
  23803. schema:
  23804. $ref: '#/definitions/app.Response'
  23805. security:
  23806. - ApiKeyAuth: []
  23807. summary: 查询库存申请(出入库记录|库存审核)
  23808. tags:
  23809. - 企业风险管理v3(app)
  23810. /Ermcp3/QueryAreaStockApplySum:
  23811. get:
  23812. parameters:
  23813. - description: 合同ID
  23814. in: query
  23815. name: spotcontractid
  23816. required: true
  23817. type: integer
  23818. produces:
  23819. - application/json
  23820. responses:
  23821. "200":
  23822. description: OK
  23823. schema:
  23824. items:
  23825. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23826. type: array
  23827. "500":
  23828. description: Internal Server Error
  23829. schema:
  23830. $ref: '#/definitions/app.Response'
  23831. security:
  23832. - ApiKeyAuth: []
  23833. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23834. tags:
  23835. - 企业风险管理v3(app)
  23836. /Ermcp3/QueryDGFactoryItem:
  23837. get:
  23838. parameters:
  23839. - description: 用户id
  23840. in: query
  23841. name: userid
  23842. type: integer
  23843. - description: 用户类型 2-机构 7-企业成员
  23844. in: query
  23845. name: usertype
  23846. type: integer
  23847. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23848. in: query
  23849. name: dgfactoryitemid
  23850. type: integer
  23851. - description: 现货品种ID
  23852. in: query
  23853. name: deliverygoodsid
  23854. type: integer
  23855. - description: 要素项类型
  23856. in: query
  23857. name: dgfactoryitemtypeid
  23858. type: integer
  23859. - description: 顺序
  23860. in: query
  23861. name: orderindex
  23862. type: integer
  23863. produces:
  23864. - application/json
  23865. responses:
  23866. "200":
  23867. description: OK
  23868. schema:
  23869. items:
  23870. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23871. type: array
  23872. "500":
  23873. description: Internal Server Error
  23874. schema:
  23875. $ref: '#/definitions/app.Response'
  23876. security:
  23877. - ApiKeyAuth: []
  23878. summary: 查询品种要素定义项
  23879. tags:
  23880. - 企业风险管理v3(app)
  23881. /Ermcp3/QueryDeliveryGoods:
  23882. get:
  23883. parameters:
  23884. - description: 用户id
  23885. in: query
  23886. name: userid
  23887. required: true
  23888. type: integer
  23889. - description: 用户类型 2-机构 7-企业成员
  23890. in: query
  23891. name: usertype
  23892. type: integer
  23893. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23894. in: query
  23895. name: excludecfg
  23896. type: integer
  23897. produces:
  23898. - application/json
  23899. responses:
  23900. "200":
  23901. description: OK
  23902. schema:
  23903. items:
  23904. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23905. type: array
  23906. "500":
  23907. description: Internal Server Error
  23908. schema:
  23909. $ref: '#/definitions/app.Response'
  23910. security:
  23911. - ApiKeyAuth: []
  23912. summary: 查询现货商品
  23913. tags:
  23914. - 企业风险管理v3(app)
  23915. /Ermcp3/QueryDeliveryGoodsDetail:
  23916. get:
  23917. parameters:
  23918. - description: 用户id
  23919. in: query
  23920. name: userid
  23921. required: true
  23922. type: integer
  23923. - description: 用户类型 2-机构 7-企业成员
  23924. in: query
  23925. name: usertype
  23926. type: integer
  23927. - description: 现货商品id
  23928. in: query
  23929. name: deliverygoodsid
  23930. type: integer
  23931. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23932. in: query
  23933. name: filtersubempty
  23934. type: integer
  23935. produces:
  23936. - application/json
  23937. responses:
  23938. "200":
  23939. description: OK
  23940. schema:
  23941. items:
  23942. $ref: '#/definitions/models.XHDeliveryGoods'
  23943. type: array
  23944. "500":
  23945. description: Internal Server Error
  23946. schema:
  23947. $ref: '#/definitions/app.Response'
  23948. security:
  23949. - ApiKeyAuth: []
  23950. summary: 查询现货商品详情
  23951. tags:
  23952. - 企业风险管理v3(app)
  23953. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23954. get:
  23955. parameters:
  23956. - description: 合同id
  23957. in: query
  23958. name: spotcontractid
  23959. required: true
  23960. type: string
  23961. produces:
  23962. - application/json
  23963. responses:
  23964. "200":
  23965. description: OK
  23966. schema:
  23967. items:
  23968. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23969. type: array
  23970. "500":
  23971. description: Internal Server Error
  23972. schema:
  23973. $ref: '#/definitions/app.Response'
  23974. security:
  23975. - ApiKeyAuth: []
  23976. summary: 查询现货合同期现配置信息
  23977. tags:
  23978. - 企业风险管理v3(app)
  23979. /Ermcp3/QueryExposureDetail:
  23980. get:
  23981. parameters:
  23982. - description: 用户id
  23983. in: query
  23984. name: userid
  23985. required: true
  23986. type: integer
  23987. - description: 用户类型 2-机构 7-企业成员
  23988. in: query
  23989. name: usertype
  23990. type: integer
  23991. - description: 套保商品
  23992. in: query
  23993. name: middlegoodsid
  23994. required: true
  23995. type: integer
  23996. produces:
  23997. - application/json
  23998. responses:
  23999. "200":
  24000. description: OK
  24001. schema:
  24002. items:
  24003. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24004. type: array
  24005. "500":
  24006. description: Internal Server Error
  24007. schema:
  24008. $ref: '#/definitions/app.Response'
  24009. security:
  24010. - ApiKeyAuth: []
  24011. summary: 查询敞口现货明细
  24012. tags:
  24013. - 企业风险管理v3(app)
  24014. /Ermcp3/QueryExposureSpot:
  24015. get:
  24016. parameters:
  24017. - description: 用户id
  24018. in: query
  24019. name: userid
  24020. required: true
  24021. type: integer
  24022. - description: 用户类型 2-机构 7-企业成员
  24023. in: query
  24024. name: usertype
  24025. type: integer
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. items:
  24033. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24034. type: array
  24035. "500":
  24036. description: Internal Server Error
  24037. schema:
  24038. $ref: '#/definitions/app.Response'
  24039. security:
  24040. - ApiKeyAuth: []
  24041. summary: 查询敞口现货头寸(敞口/现货头寸)
  24042. tags:
  24043. - 企业风险管理v3(app)
  24044. /Ermcp3/QueryExposureSpotDetail:
  24045. get:
  24046. parameters:
  24047. - description: 用户id
  24048. in: query
  24049. name: userid
  24050. required: true
  24051. type: integer
  24052. - description: 用户类型 2-机构 7-企业成员
  24053. in: query
  24054. name: usertype
  24055. type: integer
  24056. - description: 现货商品ID
  24057. in: query
  24058. name: wrstandardid
  24059. required: true
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24069. type: array
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24077. tags:
  24078. - 企业风险管理v3(app)
  24079. /Ermcp3/QueryGoodsGroup:
  24080. get:
  24081. parameters:
  24082. - description: 用户id
  24083. in: query
  24084. name: userid
  24085. required: true
  24086. type: integer
  24087. - description: 用户类型 2-机构 7-企业成员
  24088. in: query
  24089. name: usertype
  24090. type: integer
  24091. - description: 排除套保品中已关联的商品组 1-排除
  24092. in: query
  24093. name: excludecfg
  24094. type: integer
  24095. produces:
  24096. - application/json
  24097. responses:
  24098. "200":
  24099. description: OK
  24100. schema:
  24101. items:
  24102. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24103. type: array
  24104. "500":
  24105. description: Internal Server Error
  24106. schema:
  24107. $ref: '#/definitions/app.Response'
  24108. security:
  24109. - ApiKeyAuth: []
  24110. summary: 查询期货商品组
  24111. tags:
  24112. - 企业风险管理v3(app)
  24113. /Ermcp3/QueryGoodsWrstandard:
  24114. get:
  24115. parameters:
  24116. - description: 用户id
  24117. in: query
  24118. name: userid
  24119. required: true
  24120. type: integer
  24121. - description: 用户类型 2-机构 7-企业成员
  24122. in: query
  24123. name: usertype
  24124. type: integer
  24125. - description: 现货商品id
  24126. in: query
  24127. name: deliverygoodsid
  24128. type: integer
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. items:
  24136. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24137. type: array
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. summary: 查询商品品类
  24145. tags:
  24146. - 企业风险管理v3(app)
  24147. /Ermcp3/QueryGoodsbrand:
  24148. get:
  24149. parameters:
  24150. - description: 用户id
  24151. in: query
  24152. name: userid
  24153. required: true
  24154. type: integer
  24155. - description: 用户类型 2-机构 7-企业成员
  24156. in: query
  24157. name: usertype
  24158. type: integer
  24159. produces:
  24160. - application/json
  24161. responses:
  24162. "200":
  24163. description: OK
  24164. schema:
  24165. items:
  24166. $ref: '#/definitions/models.Ermcp3Brand'
  24167. type: array
  24168. "500":
  24169. description: Internal Server Error
  24170. schema:
  24171. $ref: '#/definitions/app.Response'
  24172. security:
  24173. - ApiKeyAuth: []
  24174. summary: 查询商品品牌
  24175. tags:
  24176. - 企业风险管理v3(app)
  24177. /Ermcp3/QueryHPMiddleGoods:
  24178. get:
  24179. parameters:
  24180. - description: 用户ID(填登录用户的userid)
  24181. in: query
  24182. name: userid
  24183. required: true
  24184. type: integer
  24185. - description: 买卖方向 0-买 1-卖
  24186. in: query
  24187. name: buyorsell
  24188. required: true
  24189. type: integer
  24190. - description: 商品组id
  24191. in: query
  24192. name: goodsgroupid
  24193. required: true
  24194. type: integer
  24195. - description: 套保计划编号(模糊匹配)
  24196. in: query
  24197. name: hedgeplanno
  24198. type: string
  24199. - description: 现货商品名称(模糊匹配)
  24200. in: query
  24201. name: wrstandardname
  24202. type: string
  24203. produces:
  24204. - application/json
  24205. responses:
  24206. "200":
  24207. description: OK
  24208. schema:
  24209. items:
  24210. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24211. type: array
  24212. "500":
  24213. description: Internal Server Error
  24214. schema:
  24215. $ref: '#/definitions/app.Response'
  24216. security:
  24217. - ApiKeyAuth: []
  24218. summary: 查询可关联套保计划
  24219. tags:
  24220. - 企业风险管理v3(app)
  24221. /Ermcp3/QueryHedgePlan:
  24222. get:
  24223. parameters:
  24224. - description: 用户ID
  24225. in: query
  24226. name: userid
  24227. required: true
  24228. type: integer
  24229. - description: 用户类型 2-机构 7-企业成员
  24230. in: query
  24231. name: usertype
  24232. type: integer
  24233. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24234. in: query
  24235. name: hedgeplanstatus
  24236. required: true
  24237. type: string
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. items:
  24245. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24246. type: array
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 查询套保计划
  24254. tags:
  24255. - 企业风险管理v3(app)
  24256. /Ermcp3/QueryInnerTradeLink:
  24257. get:
  24258. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24259. parameters:
  24260. - description: 外部成交单号
  24261. in: query
  24262. name: outtradeid
  24263. required: true
  24264. type: integer
  24265. produces:
  24266. - application/json
  24267. responses:
  24268. "200":
  24269. description: OK
  24270. schema:
  24271. items:
  24272. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24273. type: array
  24274. "500":
  24275. description: Internal Server Error
  24276. schema:
  24277. $ref: '#/definitions/app.Response'
  24278. security:
  24279. - ApiKeyAuth: []
  24280. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24281. tags:
  24282. - 企业风险管理v3(app)
  24283. /Ermcp3/QueryMiddleGoodsDetail:
  24284. get:
  24285. parameters:
  24286. - description: 用户id
  24287. in: query
  24288. name: userid
  24289. required: true
  24290. type: integer
  24291. - description: 用户类型 2-机构 7-企业成员
  24292. in: query
  24293. name: usertype
  24294. type: integer
  24295. - description: 套保品种id
  24296. in: query
  24297. name: middlegoodsid
  24298. type: integer
  24299. produces:
  24300. - application/json
  24301. responses:
  24302. "200":
  24303. description: OK
  24304. schema:
  24305. items:
  24306. $ref: '#/definitions/models.TBMiddleGoods'
  24307. type: array
  24308. "500":
  24309. description: Internal Server Error
  24310. schema:
  24311. $ref: '#/definitions/app.Response'
  24312. security:
  24313. - ApiKeyAuth: []
  24314. summary: 查询套保品种详情(套保品种/商品详情)
  24315. tags:
  24316. - 企业风险管理v3(app)
  24317. /Ermcp3/QueryOutTradeLink:
  24318. get:
  24319. description: 页面 app 现货->期现关联->外部成交单关联
  24320. parameters:
  24321. - description: 用户ID(填登录用户的userid)
  24322. in: query
  24323. name: userid
  24324. required: true
  24325. type: integer
  24326. - description: 外部订单号(模糊匹配)
  24327. in: query
  24328. name: outtradeid
  24329. type: string
  24330. - description: 合约名称/代码(模糊匹配)
  24331. in: query
  24332. name: goodsname
  24333. type: string
  24334. - description: 关联状态 0-未关联 1-已关联
  24335. in: query
  24336. name: hasinnerorder
  24337. type: integer
  24338. produces:
  24339. - application/json
  24340. responses:
  24341. "200":
  24342. description: OK
  24343. schema:
  24344. items:
  24345. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24346. type: array
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 查询外部成交单关联
  24354. tags:
  24355. - 企业风险管理v3(app)
  24356. /Ermcp3/QueryPaAreaAuditCfg:
  24357. get:
  24358. parameters:
  24359. - description: 用户id
  24360. in: query
  24361. name: userid
  24362. required: true
  24363. type: integer
  24364. produces:
  24365. - application/json
  24366. responses:
  24367. "200":
  24368. description: OK
  24369. schema:
  24370. items:
  24371. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24372. type: array
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 查询审核设置
  24380. tags:
  24381. - 企业风险管理v3(app)
  24382. /Ermcp3/QueryPaAreaSubject:
  24383. get:
  24384. parameters:
  24385. - description: 用户id
  24386. in: query
  24387. name: userid
  24388. required: true
  24389. type: integer
  24390. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24391. in: query
  24392. name: subjectid
  24393. type: integer
  24394. - description: 主体类型 - 1:交易主体 2:业务部门
  24395. in: query
  24396. name: subjecttype
  24397. type: integer
  24398. - description: '主体状态 - 1:正常 2: 停用'
  24399. in: query
  24400. name: subjectstatus
  24401. type: integer
  24402. produces:
  24403. - application/json
  24404. responses:
  24405. "200":
  24406. description: OK
  24407. schema:
  24408. items:
  24409. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24410. type: array
  24411. "500":
  24412. description: Internal Server Error
  24413. schema:
  24414. $ref: '#/definitions/app.Response'
  24415. security:
  24416. - ApiKeyAuth: []
  24417. summary: 查询交易主体
  24418. tags:
  24419. - 企业风险管理v3(app)
  24420. /Ermcp3/QueryPaTradeLink:
  24421. get:
  24422. description: 页面 app 现货->期现关联->期现单据关联
  24423. parameters:
  24424. - description: 用户ID
  24425. in: query
  24426. name: userid
  24427. required: true
  24428. type: integer
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. items:
  24436. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24437. type: array
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 查询期现单据关联
  24445. tags:
  24446. - 企业风险管理v3(app)
  24447. /Ermcp3/QueryPaTradeLinkDetail:
  24448. get:
  24449. description: 页面 app 现货->期现关联->关联记录
  24450. parameters:
  24451. - description: 用户ID(填登录用户的userid)
  24452. in: query
  24453. name: userid
  24454. required: true
  24455. type: integer
  24456. - description: 关联状态 1:成功 2:失败 3:解绑
  24457. in: query
  24458. name: linkstatus
  24459. type: integer
  24460. - description: 期货订单号(模糊匹配)
  24461. in: query
  24462. name: tradeid
  24463. type: string
  24464. - description: 现货编号(模糊匹配)
  24465. in: query
  24466. name: contractno
  24467. type: string
  24468. - description: 期货账户(模糊匹配)
  24469. in: query
  24470. name: taname
  24471. type: string
  24472. produces:
  24473. - application/json
  24474. responses:
  24475. "200":
  24476. description: OK
  24477. schema:
  24478. items:
  24479. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24480. type: array
  24481. "500":
  24482. description: Internal Server Error
  24483. schema:
  24484. $ref: '#/definitions/app.Response'
  24485. security:
  24486. - ApiKeyAuth: []
  24487. summary: 查询期现关联记录
  24488. tags:
  24489. - 企业风险管理v3(app)
  24490. /Ermcp3/QueryParamChangeApp:
  24491. get:
  24492. description: |-
  24493. 原型页面:
  24494. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24495. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24496. parameters:
  24497. - description: 用户ID
  24498. in: query
  24499. name: userid
  24500. required: true
  24501. type: integer
  24502. - description: 现货品种id
  24503. in: query
  24504. name: deliverygoodsid
  24505. type: integer
  24506. - description: 现货商品id
  24507. in: query
  24508. name: wrstandardid
  24509. type: integer
  24510. - description: 套保商品id
  24511. in: query
  24512. name: middlegoodsid
  24513. type: integer
  24514. - description: 操作类型 1:新增 2:修改
  24515. in: query
  24516. name: operatetype
  24517. type: integer
  24518. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24519. in: query
  24520. name: paramchangetype
  24521. type: integer
  24522. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24523. in: query
  24524. name: ftstatus
  24525. type: string
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. items:
  24533. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24534. type: array
  24535. "500":
  24536. description: Internal Server Error
  24537. schema:
  24538. $ref: '#/definitions/app.Response'
  24539. security:
  24540. - ApiKeyAuth: []
  24541. summary: 查询现货商品参数变更申请(流水)
  24542. tags:
  24543. - 企业风险管理v3(app)
  24544. /Ermcp3/QueryRootUserAccount:
  24545. get:
  24546. parameters:
  24547. - description: 用户ID
  24548. in: query
  24549. name: userid
  24550. required: true
  24551. type: integer
  24552. produces:
  24553. - application/json
  24554. responses:
  24555. "200":
  24556. description: OK
  24557. schema:
  24558. items:
  24559. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24560. type: array
  24561. "500":
  24562. description: Internal Server Error
  24563. schema:
  24564. $ref: '#/definitions/app.Response'
  24565. security:
  24566. - ApiKeyAuth: []
  24567. summary: 查询顶级用户信息
  24568. tags:
  24569. - 企业风险管理v3(app)
  24570. /Ermcp3/QuerySCMiddleGoods:
  24571. get:
  24572. description: |-
  24573. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24574. 现货编号 即 合同编号
  24575. parameters:
  24576. - description: 用户ID(填登录用户的userid)
  24577. in: query
  24578. name: userid
  24579. required: true
  24580. type: integer
  24581. - description: 买卖方向 0-买 1-卖
  24582. in: query
  24583. name: buyorsell
  24584. required: true
  24585. type: integer
  24586. - description: 商品组id
  24587. in: query
  24588. name: goodsgroupid
  24589. required: true
  24590. type: integer
  24591. - description: 业务类型 1:套保 2:套利
  24592. in: query
  24593. name: biztype
  24594. type: integer
  24595. - description: 现货编号(模糊匹配)
  24596. in: query
  24597. name: contractno
  24598. type: string
  24599. - description: 对手方(模糊匹配)
  24600. in: query
  24601. name: customername
  24602. type: string
  24603. - description: 现货商品名称(模糊匹配)
  24604. in: query
  24605. name: wrstandardname
  24606. type: string
  24607. produces:
  24608. - application/json
  24609. responses:
  24610. "200":
  24611. description: OK
  24612. schema:
  24613. items:
  24614. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24615. type: array
  24616. "500":
  24617. description: Internal Server Error
  24618. schema:
  24619. $ref: '#/definitions/app.Response'
  24620. security:
  24621. - ApiKeyAuth: []
  24622. summary: 查询现货订单
  24623. tags:
  24624. - 企业风险管理v3(app)
  24625. /Ermcp3/QuerySpotContract:
  24626. get:
  24627. parameters:
  24628. - description: 用户id(当指定contractid, userid可不填)
  24629. in: query
  24630. name: userid
  24631. required: true
  24632. type: integer
  24633. - description: 用户类型 2-机构 7-企业成员
  24634. in: query
  24635. name: usertype
  24636. type: integer
  24637. - description: 合同类型 1-采购, -1-销售
  24638. in: query
  24639. name: contracttype
  24640. type: integer
  24641. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24642. in: query
  24643. name: querytype
  24644. type: string
  24645. - description: 合同ID(SpotContractId)
  24646. in: query
  24647. name: contractid
  24648. type: string
  24649. - description: 合同编号(模糊匹配)
  24650. in: query
  24651. name: contractno
  24652. type: string
  24653. - description: 商品名称(模糊匹配)
  24654. in: query
  24655. name: wrstandardname
  24656. type: string
  24657. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24658. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24659. in: query
  24660. name: status
  24661. type: string
  24662. - description: 是否只查今日的合同 1-查今日合同
  24663. in: query
  24664. name: istoday
  24665. type: integer
  24666. produces:
  24667. - application/json
  24668. responses:
  24669. "200":
  24670. description: OK
  24671. schema:
  24672. items:
  24673. $ref: '#/definitions/models.Ermcp3Contract'
  24674. type: array
  24675. "500":
  24676. description: Internal Server Error
  24677. schema:
  24678. $ref: '#/definitions/app.Response'
  24679. security:
  24680. - ApiKeyAuth: []
  24681. summary: 查询现货合同
  24682. tags:
  24683. - 企业风险管理v3(app)
  24684. /Ermcp3/QuerySpotContractBS:
  24685. get:
  24686. parameters:
  24687. - description: 用户id
  24688. in: query
  24689. name: userid
  24690. required: true
  24691. type: integer
  24692. - description: 用户类型 2-机构 7-企业成员
  24693. in: query
  24694. name: usertype
  24695. type: integer
  24696. - description: 合同类型 1-采购, -1-销售
  24697. in: query
  24698. name: contracttype
  24699. required: true
  24700. type: integer
  24701. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24702. in: query
  24703. name: querytype
  24704. type: integer
  24705. - description: 合同ID(SpotContractId)
  24706. in: query
  24707. name: contractid
  24708. type: string
  24709. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24710. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24711. in: query
  24712. name: status
  24713. type: string
  24714. - description: 是否只查今日的合同 1-查今日合同
  24715. in: query
  24716. name: istoday
  24717. type: integer
  24718. produces:
  24719. - application/json
  24720. responses:
  24721. "200":
  24722. description: OK
  24723. schema:
  24724. items:
  24725. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24726. type: array
  24727. "500":
  24728. description: Internal Server Error
  24729. schema:
  24730. $ref: '#/definitions/app.Response'
  24731. security:
  24732. - ApiKeyAuth: []
  24733. summary: 查询合同(采购/销售)
  24734. tags:
  24735. - 企业风险管理v3(app)
  24736. /Ermcp3/QuerySpotGoodsPrice:
  24737. get:
  24738. parameters:
  24739. - description: 用户ID
  24740. in: query
  24741. name: userid
  24742. required: true
  24743. type: integer
  24744. produces:
  24745. - application/json
  24746. responses:
  24747. "200":
  24748. description: OK
  24749. schema:
  24750. items:
  24751. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24752. type: array
  24753. "500":
  24754. description: Internal Server Error
  24755. schema:
  24756. $ref: '#/definitions/app.Response'
  24757. security:
  24758. - ApiKeyAuth: []
  24759. summary: 查询现货市价(现货市价)
  24760. tags:
  24761. - 企业风险管理v3(app)
  24762. /Ermcp3/QuerySpotGoodsPriceLog:
  24763. get:
  24764. parameters:
  24765. - description: 用户ID
  24766. in: query
  24767. name: userid
  24768. required: true
  24769. type: integer
  24770. - description: 现货商品ID
  24771. in: query
  24772. name: deliverygoodsid
  24773. required: true
  24774. type: integer
  24775. - description: 品牌ID
  24776. in: query
  24777. name: brandid
  24778. type: integer
  24779. - description: 品类ID
  24780. in: query
  24781. name: wrstandardid
  24782. type: integer
  24783. produces:
  24784. - application/json
  24785. responses:
  24786. "200":
  24787. description: OK
  24788. schema:
  24789. items:
  24790. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24791. type: array
  24792. "500":
  24793. description: Internal Server Error
  24794. schema:
  24795. $ref: '#/definitions/app.Response'
  24796. security:
  24797. - ApiKeyAuth: []
  24798. summary: 查询现货市价详情(现货市价/详情)
  24799. tags:
  24800. - 企业风险管理v3(app)
  24801. /Ermcp3/QuerySubTaaccount:
  24802. get:
  24803. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24804. parameters:
  24805. - description: 母账号id
  24806. in: query
  24807. name: parentaccountid
  24808. type: integer
  24809. - description: 母账号代码
  24810. in: query
  24811. name: parentaccountcode
  24812. type: string
  24813. produces:
  24814. - application/json
  24815. responses:
  24816. "200":
  24817. description: OK
  24818. schema:
  24819. items:
  24820. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24821. type: array
  24822. "500":
  24823. description: Internal Server Error
  24824. schema:
  24825. $ref: '#/definitions/app.Response'
  24826. security:
  24827. - ApiKeyAuth: []
  24828. summary: 查询期货子账户
  24829. tags:
  24830. - 企业风险管理v3(app)
  24831. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24832. get:
  24833. parameters:
  24834. - description: 套期项目ID
  24835. in: query
  24836. name: hedgeditemid
  24837. required: true
  24838. type: integer
  24839. produces:
  24840. - application/json
  24841. responses:
  24842. "200":
  24843. description: OK
  24844. schema:
  24845. items:
  24846. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24847. type: array
  24848. "500":
  24849. description: Internal Server Error
  24850. schema:
  24851. $ref: '#/definitions/app.Response'
  24852. security:
  24853. - ApiKeyAuth: []
  24854. summary: 现货成交明细查询
  24855. tags:
  24856. - 企业风险管理v8
  24857. /Ermcp8/QueryERMCP2HedgedItemspot:
  24858. get:
  24859. parameters:
  24860. - description: 套期项目ID
  24861. in: query
  24862. name: hedgeditemid
  24863. required: true
  24864. type: integer
  24865. produces:
  24866. - application/json
  24867. responses:
  24868. "200":
  24869. description: OK
  24870. schema:
  24871. items:
  24872. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24873. type: array
  24874. "500":
  24875. description: Internal Server Error
  24876. schema:
  24877. $ref: '#/definitions/app.Response'
  24878. security:
  24879. - ApiKeyAuth: []
  24880. summary: 套期计划明细查询
  24881. tags:
  24882. - 企业风险管理v8
  24883. /Ermcp8/QueryERMCPJRLinkPos:
  24884. get:
  24885. parameters:
  24886. - description: 套期项目ID
  24887. in: query
  24888. name: hedgeditemid
  24889. required: true
  24890. type: integer
  24891. produces:
  24892. - application/json
  24893. responses:
  24894. "200":
  24895. description: OK
  24896. schema:
  24897. items:
  24898. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24899. type: array
  24900. "500":
  24901. description: Internal Server Error
  24902. schema:
  24903. $ref: '#/definitions/app.Response'
  24904. security:
  24905. - ApiKeyAuth: []
  24906. summary: 期货持仓明细查询
  24907. tags:
  24908. - 企业风险管理v8
  24909. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24910. get:
  24911. parameters:
  24912. - description: 套期项目ID
  24913. in: query
  24914. name: hedgeditemid
  24915. required: true
  24916. type: integer
  24917. produces:
  24918. - application/json
  24919. responses:
  24920. "200":
  24921. description: OK
  24922. schema:
  24923. items:
  24924. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24925. type: array
  24926. "500":
  24927. description: Internal Server Error
  24928. schema:
  24929. $ref: '#/definitions/app.Response'
  24930. security:
  24931. - ApiKeyAuth: []
  24932. summary: 期货成交单明细查询
  24933. tags:
  24934. - 企业风险管理v8
  24935. /Ermcp8/QueryErmcp2AreaExposure:
  24936. get:
  24937. parameters:
  24938. - description: 用户ID
  24939. in: query
  24940. name: userid
  24941. required: true
  24942. type: string
  24943. produces:
  24944. - application/json
  24945. responses:
  24946. "200":
  24947. description: OK
  24948. schema:
  24949. items:
  24950. $ref: '#/definitions/models.Ermcp2AreaExposure'
  24951. type: array
  24952. "500":
  24953. description: Internal Server Error
  24954. schema:
  24955. $ref: '#/definitions/app.Response'
  24956. security:
  24957. - ApiKeyAuth: []
  24958. summary: 企业敞口查询
  24959. tags:
  24960. - 企业风险管理v8
  24961. /Ermcp8/QueryErmcp2HedgedItem:
  24962. get:
  24963. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24964. parameters:
  24965. - description: 用户ID
  24966. in: query
  24967. name: userid
  24968. required: true
  24969. type: string
  24970. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24971. in: query
  24972. name: hedgedtype
  24973. type: integer
  24974. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24975. in: query
  24976. name: hedgeditemstatus
  24977. type: integer
  24978. produces:
  24979. - application/json
  24980. responses:
  24981. "200":
  24982. description: OK
  24983. schema:
  24984. items:
  24985. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24986. type: array
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 查询被套期项目信息
  24994. tags:
  24995. - 企业风险管理v8
  24996. /Ermcp8/QueryErmcp8EnableHedgeditem:
  24997. get:
  24998. parameters:
  24999. - description: 用户ID
  25000. in: query
  25001. name: userid
  25002. required: true
  25003. type: integer
  25004. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25005. in: query
  25006. name: spottype
  25007. required: true
  25008. type: integer
  25009. produces:
  25010. - application/json
  25011. responses:
  25012. "200":
  25013. description: OK
  25014. schema:
  25015. items:
  25016. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25017. type: array
  25018. "500":
  25019. description: Internal Server Error
  25020. schema:
  25021. $ref: '#/definitions/app.Response'
  25022. security:
  25023. - ApiKeyAuth: []
  25024. summary: 可关联项目查询
  25025. tags:
  25026. - 企业风险管理v8
  25027. /Ermcp8/QueryErmcp8HedgeditemReport:
  25028. get:
  25029. parameters:
  25030. - description: 用户ID
  25031. in: query
  25032. name: userid
  25033. required: true
  25034. type: integer
  25035. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25036. in: query
  25037. name: cycletype
  25038. type: integer
  25039. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25040. 全(0)【原值】
  25041. in: query
  25042. name: cycletime
  25043. required: true
  25044. type: string
  25045. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25046. in: query
  25047. name: hedgedtype
  25048. type: integer
  25049. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25050. in: query
  25051. name: hedgeditemstatus
  25052. type: integer
  25053. - description: 项目编号,模糊查询
  25054. in: query
  25055. name: hedgeditemnum
  25056. type: string
  25057. - description: 现货商品ID
  25058. in: query
  25059. name: wrstandardid
  25060. type: integer
  25061. produces:
  25062. - application/json
  25063. responses:
  25064. "200":
  25065. description: OK
  25066. schema:
  25067. items:
  25068. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25069. type: array
  25070. "500":
  25071. description: Internal Server Error
  25072. schema:
  25073. $ref: '#/definitions/app.Response'
  25074. security:
  25075. - ApiKeyAuth: []
  25076. summary: 套期项目报表查询
  25077. tags:
  25078. - 企业风险管理v8
  25079. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25080. get:
  25081. parameters:
  25082. - description: 用户ID
  25083. in: query
  25084. name: userid
  25085. required: true
  25086. type: string
  25087. produces:
  25088. - application/json
  25089. responses:
  25090. "200":
  25091. description: OK
  25092. schema:
  25093. items:
  25094. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25095. type: array
  25096. "500":
  25097. description: Internal Server Error
  25098. schema:
  25099. $ref: '#/definitions/app.Response'
  25100. security:
  25101. - ApiKeyAuth: []
  25102. summary: 查询执行中项目查询信息
  25103. tags:
  25104. - 企业风险管理v8
  25105. /Ermcp8/QueryInternalEnableTradeDetail:
  25106. get:
  25107. parameters:
  25108. - description: 企业ID
  25109. in: query
  25110. name: areauserid
  25111. required: true
  25112. type: integer
  25113. - description: 期货合约ID
  25114. in: query
  25115. name: goodsid
  25116. required: true
  25117. type: integer
  25118. produces:
  25119. - application/json
  25120. responses:
  25121. "200":
  25122. description: OK
  25123. schema:
  25124. items:
  25125. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25126. type: array
  25127. "500":
  25128. description: Internal Server Error
  25129. schema:
  25130. $ref: '#/definitions/app.Response'
  25131. security:
  25132. - ApiKeyAuth: []
  25133. summary: 内部成交单可关联项目查询
  25134. tags:
  25135. - 企业风险管理v8
  25136. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25137. get:
  25138. parameters:
  25139. - description: 用户编号
  25140. in: query
  25141. name: userid
  25142. required: true
  25143. type: integer
  25144. - description: 起始日期(格式yyyymmdd)
  25145. in: query
  25146. name: begindate
  25147. type: string
  25148. - description: 终止日期(格式yyyymmdd)
  25149. in: query
  25150. name: enddate
  25151. type: string
  25152. - description: 合约代码
  25153. in: query
  25154. name: goodscode
  25155. type: string
  25156. - description: 合约名称
  25157. in: query
  25158. name: goodsname
  25159. type: string
  25160. - description: 成交单号
  25161. in: query
  25162. name: tradeid
  25163. type: integer
  25164. - description: 方向 - 0:买 1:卖
  25165. in: query
  25166. name: buyorsell
  25167. type: integer
  25168. - description: 套期主体
  25169. in: query
  25170. name: accountname
  25171. type: string
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. items:
  25179. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25180. type: array
  25181. "500":
  25182. description: Internal Server Error
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. security:
  25186. - ApiKeyAuth: []
  25187. summary: 内部未关联成交单查询
  25188. tags:
  25189. - 企业风险管理v8
  25190. /Ermcp8/QueryUnLinkSpotContract:
  25191. get:
  25192. parameters:
  25193. - description: 用户ID
  25194. in: query
  25195. name: userid
  25196. required: true
  25197. type: integer
  25198. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25199. in: query
  25200. name: pricetype
  25201. type: integer
  25202. - description: 合同编号, 模拟查询
  25203. in: query
  25204. name: contractno
  25205. type: string
  25206. - description: 对手方, 模拟查询
  25207. in: query
  25208. name: customername
  25209. type: string
  25210. - description: 项合同类型 - 1:采购 -1:销售
  25211. in: query
  25212. name: contracttype
  25213. type: integer
  25214. produces:
  25215. - application/json
  25216. responses:
  25217. "200":
  25218. description: OK
  25219. schema:
  25220. items:
  25221. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25222. type: array
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 未关联合同查询
  25230. tags:
  25231. - 企业风险管理v8
  25232. /Erms2/QueryArbitrageStrategy:
  25233. get:
  25234. parameters:
  25235. - description: 账户ID
  25236. in: query
  25237. name: userid
  25238. required: true
  25239. type: integer
  25240. - description: 商品组ID(品种ID)
  25241. in: query
  25242. name: goodsgroupid
  25243. type: string
  25244. produces:
  25245. - application/json
  25246. responses:
  25247. "200":
  25248. description: OK
  25249. schema:
  25250. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25251. "500":
  25252. description: Internal Server Error
  25253. schema:
  25254. $ref: '#/definitions/app.Response'
  25255. security:
  25256. - ApiKeyAuth: []
  25257. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25258. tags:
  25259. - 风险管理
  25260. /Erms2/QueryInnerTradeDetail:
  25261. get:
  25262. parameters:
  25263. - description: 资金账户
  25264. in: query
  25265. name: accountid
  25266. required: true
  25267. type: integer
  25268. produces:
  25269. - application/json
  25270. responses:
  25271. "200":
  25272. description: OK
  25273. schema:
  25274. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25275. "500":
  25276. description: Internal Server Error
  25277. schema:
  25278. $ref: '#/definitions/app.Response'
  25279. security:
  25280. - ApiKeyAuth: []
  25281. summary: 查询内部成交单信息
  25282. tags:
  25283. - 风险管理
  25284. /Erms2/QuerySpotContract:
  25285. get:
  25286. parameters:
  25287. - description: 策略申请ID
  25288. in: query
  25289. name: asapplyid
  25290. required: true
  25291. type: integer
  25292. - description: 现货合同ID
  25293. in: query
  25294. name: spotcontractid
  25295. type: integer
  25296. produces:
  25297. - application/json
  25298. responses:
  25299. "200":
  25300. description: OK
  25301. schema:
  25302. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25303. "500":
  25304. description: Internal Server Error
  25305. schema:
  25306. $ref: '#/definitions/app.Response'
  25307. security:
  25308. - ApiKeyAuth: []
  25309. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25310. tags:
  25311. - 风险管理
  25312. /Erms3/AddErms2ASApply:
  25313. post:
  25314. parameters:
  25315. - description: 申请参数
  25316. in: body
  25317. name: jsonBody
  25318. required: true
  25319. schema:
  25320. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25321. produces:
  25322. - application/json
  25323. responses:
  25324. "200":
  25325. description: OK
  25326. schema:
  25327. $ref: '#/definitions/app.Response'
  25328. "500":
  25329. description: Internal Server Error
  25330. schema:
  25331. $ref: '#/definitions/app.Response'
  25332. security:
  25333. - ApiKeyAuth: []
  25334. summary: 新增期现套利业务申请
  25335. tags:
  25336. - 风险管理v3
  25337. /Erms3/AddErms2SpotTradeApply:
  25338. post:
  25339. parameters:
  25340. - description: 申请参数
  25341. in: body
  25342. name: jsonBody
  25343. required: true
  25344. schema:
  25345. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25346. produces:
  25347. - application/json
  25348. responses:
  25349. "200":
  25350. description: OK
  25351. schema:
  25352. $ref: '#/definitions/app.Response'
  25353. "500":
  25354. description: Internal Server Error
  25355. schema:
  25356. $ref: '#/definitions/app.Response'
  25357. security:
  25358. - ApiKeyAuth: []
  25359. summary: 新增现货贸易业务申请
  25360. tags:
  25361. - 风险管理v3
  25362. /Erms3/AddSpotContractApply:
  25363. post:
  25364. parameters:
  25365. - description: 申请参数
  25366. in: body
  25367. name: jsonBody
  25368. required: true
  25369. schema:
  25370. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25371. produces:
  25372. - application/json
  25373. responses:
  25374. "200":
  25375. description: OK
  25376. schema:
  25377. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25378. "500":
  25379. description: Internal Server Error
  25380. schema:
  25381. $ref: '#/definitions/app.Response'
  25382. security:
  25383. - ApiKeyAuth: []
  25384. summary: 新增现货合同申请
  25385. tags:
  25386. - 风险管理v3
  25387. /Erms3/AddUserInfoApply:
  25388. post:
  25389. parameters:
  25390. - description: 用户信息
  25391. in: body
  25392. name: jsonBody
  25393. required: true
  25394. schema:
  25395. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25396. produces:
  25397. - application/json
  25398. responses:
  25399. "200":
  25400. description: OK
  25401. schema:
  25402. $ref: '#/definitions/app.Response'
  25403. "500":
  25404. description: Internal Server Error
  25405. schema:
  25406. $ref: '#/definitions/app.Response'
  25407. security:
  25408. - ApiKeyAuth: []
  25409. summary: 新增客户申请
  25410. tags:
  25411. - 风险管理v3
  25412. /Erms3/DeleteUserInfoApply:
  25413. get:
  25414. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25415. parameters:
  25416. - description: 用户ID
  25417. in: query
  25418. name: userID
  25419. required: true
  25420. type: integer
  25421. produces:
  25422. - application/json
  25423. responses:
  25424. "200":
  25425. description: OK
  25426. schema:
  25427. $ref: '#/definitions/app.Response'
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 删除客户申请
  25435. tags:
  25436. - 风险管理v3
  25437. /Erms3/ModifyUserInfoApply:
  25438. post:
  25439. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25440. int, "userstate": 2 }'
  25441. parameters:
  25442. - description: 用户信息
  25443. in: body
  25444. name: jsonBody
  25445. required: true
  25446. schema:
  25447. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25448. produces:
  25449. - application/json
  25450. responses:
  25451. "200":
  25452. description: OK
  25453. schema:
  25454. $ref: '#/definitions/app.Response'
  25455. "500":
  25456. description: Internal Server Error
  25457. schema:
  25458. $ref: '#/definitions/app.Response'
  25459. security:
  25460. - ApiKeyAuth: []
  25461. summary: 修改客户申请
  25462. tags:
  25463. - 风险管理v3
  25464. /Erms3/QueryBusinessInfo:
  25465. get:
  25466. parameters:
  25467. - description: 资金账号ID列表,用逗号分隔
  25468. in: query
  25469. name: accountids
  25470. required: true
  25471. type: string
  25472. - description: 状态,0为未结束 1为已结束
  25473. in: query
  25474. name: status
  25475. required: true
  25476. type: integer
  25477. produces:
  25478. - application/json
  25479. responses:
  25480. "200":
  25481. description: OK
  25482. schema:
  25483. items:
  25484. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25485. type: array
  25486. "500":
  25487. description: Internal Server Error
  25488. schema:
  25489. $ref: '#/definitions/app.Response'
  25490. security:
  25491. - ApiKeyAuth: []
  25492. summary: 查询业务表单数据
  25493. tags:
  25494. - 风险管理v3
  25495. /Erms3/QueryPendingAuditContract:
  25496. get:
  25497. parameters:
  25498. - description: 资金账号ID列表,逗号隔开
  25499. in: query
  25500. name: accountids
  25501. required: true
  25502. type: string
  25503. - description: 合同类型 1-采购 -1-销售
  25504. in: query
  25505. name: contracttype
  25506. required: true
  25507. type: integer
  25508. - description: 合同模式 1-普通 2-回购
  25509. in: query
  25510. name: contractmode
  25511. required: true
  25512. type: integer
  25513. produces:
  25514. - application/json
  25515. responses:
  25516. "200":
  25517. description: OK
  25518. schema:
  25519. items:
  25520. $ref: '#/definitions/erms3.QryAuditContractRsp'
  25521. type: array
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 查询待审核合同
  25529. tags:
  25530. - 风险管理v3
  25531. /Erms3/QueryPendingBusiness:
  25532. get:
  25533. parameters:
  25534. - description: 资金账号ID列表,逗号隔开
  25535. in: query
  25536. name: accountids
  25537. required: true
  25538. type: string
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. items:
  25546. $ref: '#/definitions/erms3.QryPendingBizRsp'
  25547. type: array
  25548. "500":
  25549. description: Internal Server Error
  25550. schema:
  25551. $ref: '#/definitions/app.Response'
  25552. security:
  25553. - ApiKeyAuth: []
  25554. summary: 查询待审核基差贸易业务
  25555. tags:
  25556. - 风险管理v3
  25557. /Erms3/QuerySpotContractAppleForm:
  25558. get:
  25559. parameters:
  25560. - description: 登录账号
  25561. in: query
  25562. name: loginID
  25563. required: true
  25564. type: integer
  25565. produces:
  25566. - application/json
  25567. responses:
  25568. "200":
  25569. description: OK
  25570. schema:
  25571. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  25572. "500":
  25573. description: Internal Server Error
  25574. schema:
  25575. $ref: '#/definitions/app.Response'
  25576. security:
  25577. - ApiKeyAuth: []
  25578. summary: 查询合同申请表单数据
  25579. tags:
  25580. - 风险管理v3
  25581. /Erms3/QuerySpotContractDetail:
  25582. get:
  25583. parameters:
  25584. - description: 资金账号ID列表,用逗号分隔
  25585. in: query
  25586. name: accountids
  25587. required: true
  25588. type: string
  25589. - description: 合同类型,1为采购合同 -1为销售合同
  25590. in: query
  25591. name: contracttype
  25592. required: true
  25593. type: integer
  25594. - description: 合同模式,1为普通合同 2为回购销售合同
  25595. in: query
  25596. name: contractmode
  25597. required: true
  25598. type: integer
  25599. - description: 状态,0为履约中 1为已完成
  25600. in: query
  25601. name: status
  25602. required: true
  25603. type: integer
  25604. produces:
  25605. - application/json
  25606. responses:
  25607. "200":
  25608. description: OK
  25609. schema:
  25610. items:
  25611. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  25612. type: array
  25613. "500":
  25614. description: Internal Server Error
  25615. schema:
  25616. $ref: '#/definitions/app.Response'
  25617. security:
  25618. - ApiKeyAuth: []
  25619. summary: 查询合同详细信息
  25620. tags:
  25621. - 风险管理v3
  25622. /Erms3/QueryUserInfoApplies:
  25623. get:
  25624. parameters:
  25625. - description: 页码
  25626. in: query
  25627. name: page
  25628. type: integer
  25629. - description: 每页条数
  25630. in: query
  25631. name: pagesize
  25632. type: integer
  25633. - description: 客户名称,支持模糊查询
  25634. in: query
  25635. name: userName
  25636. type: string
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  25644. "500":
  25645. description: Internal Server Error
  25646. schema:
  25647. $ref: '#/definitions/app.Response'
  25648. security:
  25649. - ApiKeyAuth: []
  25650. summary: 客户申请信息查询
  25651. tags:
  25652. - 风险管理v3
  25653. /Erms3/QueryUserInfos:
  25654. get:
  25655. parameters:
  25656. - description: 页码
  25657. in: query
  25658. name: page
  25659. type: integer
  25660. - description: 每页条数
  25661. in: query
  25662. name: pagesize
  25663. type: integer
  25664. - description: 客户名称,支持模糊查询
  25665. in: query
  25666. name: userName
  25667. type: string
  25668. produces:
  25669. - application/json
  25670. responses:
  25671. "200":
  25672. description: OK
  25673. schema:
  25674. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  25675. "500":
  25676. description: Internal Server Error
  25677. schema:
  25678. $ref: '#/definitions/app.Response'
  25679. security:
  25680. - ApiKeyAuth: []
  25681. summary: 客户信息查询
  25682. tags:
  25683. - 风险管理v3
  25684. /HSBY/GetHsbyMyCount:
  25685. get:
  25686. description: 说明: 不包括已完成的数量。
  25687. parameters:
  25688. - description: 资金账户列表,格式:1,2,3
  25689. in: query
  25690. name: accountIDs
  25691. required: true
  25692. type: string
  25693. produces:
  25694. - application/json
  25695. responses:
  25696. "200":
  25697. description: OK
  25698. schema:
  25699. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  25700. "500":
  25701. description: Internal Server Error
  25702. schema:
  25703. $ref: '#/definitions/app.Response'
  25704. security:
  25705. - ApiKeyAuth: []
  25706. summary: 获取我的订单与包裹数量
  25707. tags:
  25708. - 定制【海商报业】
  25709. /HSBY/QueryClientFixedADConfigs:
  25710. get:
  25711. produces:
  25712. - application/json
  25713. responses:
  25714. "200":
  25715. description: OK
  25716. schema:
  25717. $ref: '#/definitions/models.Clientfixedadconfig'
  25718. "500":
  25719. description: Internal Server Error
  25720. schema:
  25721. $ref: '#/definitions/app.Response'
  25722. security:
  25723. - ApiKeyAuth: []
  25724. summary: 获取终端固定广告配置
  25725. tags:
  25726. - 定制【海商报业】
  25727. /HSBY/QueryHsbyBuyMyTradeDetail:
  25728. get:
  25729. parameters:
  25730. - description: 页码
  25731. in: query
  25732. name: page
  25733. type: integer
  25734. - description: 每页条数
  25735. in: query
  25736. name: pagesize
  25737. type: integer
  25738. - description: 资金账户列表,格式:1,2,3
  25739. in: query
  25740. name: accountIDs
  25741. required: true
  25742. type: string
  25743. produces:
  25744. - application/json
  25745. responses:
  25746. "200":
  25747. description: OK
  25748. schema:
  25749. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  25750. "500":
  25751. description: Internal Server Error
  25752. schema:
  25753. $ref: '#/definitions/app.Response'
  25754. security:
  25755. - ApiKeyAuth: []
  25756. summary: 查询"我的订单 - 已完成"单据信息
  25757. tags:
  25758. - 定制【海商报业】
  25759. /HSBY/QueryHsbyGoodsOrderDetails:
  25760. get:
  25761. description: 说明:查询结果已按委托价格和委托时间排序
  25762. parameters:
  25763. - description: 商品ID
  25764. in: query
  25765. name: goodsID
  25766. required: true
  25767. type: integer
  25768. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  25769. in: query
  25770. name: accountIDs
  25771. type: string
  25772. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  25773. in: query
  25774. name: buyOrSell
  25775. type: integer
  25776. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  25777. in: query
  25778. name: price
  25779. type: number
  25780. - description: 档位,不传则默认为3档
  25781. in: query
  25782. name: speed
  25783. type: integer
  25784. produces:
  25785. - application/json
  25786. responses:
  25787. "200":
  25788. description: OK
  25789. schema:
  25790. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. security:
  25796. - ApiKeyAuth: []
  25797. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  25798. tags:
  25799. - 定制【海商报业】
  25800. /HSBY/QueryHsbyListingGoodsDetail:
  25801. get:
  25802. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  25803. parameters:
  25804. - description: 商品ID
  25805. in: query
  25806. name: goodsID
  25807. required: true
  25808. type: integer
  25809. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25810. in: query
  25811. name: accountID
  25812. type: integer
  25813. produces:
  25814. - application/json
  25815. responses:
  25816. "200":
  25817. description: OK
  25818. schema:
  25819. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25820. "500":
  25821. description: Internal Server Error
  25822. schema:
  25823. $ref: '#/definitions/app.Response'
  25824. security:
  25825. - ApiKeyAuth: []
  25826. summary: 查询二级市场(挂牌点选)商品信息详情
  25827. tags:
  25828. - 定制【海商报业】
  25829. /HSBY/QueryHsbyMarketGoodsDetail:
  25830. get:
  25831. parameters:
  25832. - description: 委托单号
  25833. in: query
  25834. name: orderID
  25835. required: true
  25836. type: integer
  25837. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25838. in: query
  25839. name: accountID
  25840. type: integer
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 查询三级市场(商城)商品信息详情
  25855. tags:
  25856. - 定制【海商报业】
  25857. /HSBY/QueryHsbyMarketGoodses:
  25858. get:
  25859. parameters:
  25860. - description: 页码
  25861. in: query
  25862. name: page
  25863. type: integer
  25864. - description: 每页条数
  25865. in: query
  25866. name: pagesize
  25867. type: integer
  25868. - description: 市场ID列表,格式:1,2,3
  25869. in: query
  25870. name: marketIDs
  25871. required: true
  25872. type: string
  25873. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25874. in: query
  25875. name: accountID
  25876. required: true
  25877. type: integer
  25878. - description: 类别ID
  25879. in: query
  25880. name: categoryID
  25881. type: integer
  25882. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25883. in: query
  25884. name: goodsIDs
  25885. type: string
  25886. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25887. in: query
  25888. name: couponTypeID
  25889. type: integer
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. $ref: '#/definitions/models.HsbyMarketGoods'
  25897. "500":
  25898. description: Internal Server Error
  25899. schema:
  25900. $ref: '#/definitions/app.Response'
  25901. security:
  25902. - ApiKeyAuth: []
  25903. summary: 查询特卖商品列表(三级商城)
  25904. tags:
  25905. - 定制【海商报业】
  25906. /HSBY/QueryHsbyMarkets:
  25907. get:
  25908. produces:
  25909. - application/json
  25910. responses:
  25911. "200":
  25912. description: OK
  25913. schema:
  25914. $ref: '#/definitions/models.HsbyMarketInfo'
  25915. "500":
  25916. description: Internal Server Error
  25917. schema:
  25918. $ref: '#/definitions/app.Response'
  25919. security:
  25920. - ApiKeyAuth: []
  25921. summary: 查询海商报业相关市场信息
  25922. tags:
  25923. - 定制【海商报业】
  25924. /HSBY/QueryHsbyMyBuyOrderDetails:
  25925. get:
  25926. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25927. parameters:
  25928. - description: 资金账户列表,格式:1,2,3
  25929. in: query
  25930. name: accountIDs
  25931. required: true
  25932. type: string
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25940. "500":
  25941. description: Internal Server Error
  25942. schema:
  25943. $ref: '#/definitions/app.Response'
  25944. security:
  25945. - ApiKeyAuth: []
  25946. summary: 查询“我的订单”信息
  25947. tags:
  25948. - 定制【海商报业】
  25949. /HSBY/QueryHsbyMyGoods:
  25950. get:
  25951. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25952. parameters:
  25953. - description: 资金账户列表,格式:1,2,3
  25954. in: query
  25955. name: accountIDs
  25956. required: true
  25957. type: string
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. $ref: '#/definitions/models.HsbyMyGoods'
  25965. "500":
  25966. description: Internal Server Error
  25967. schema:
  25968. $ref: '#/definitions/app.Response'
  25969. security:
  25970. - ApiKeyAuth: []
  25971. summary: 查询“我的商品”信息
  25972. tags:
  25973. - 定制【海商报业】
  25974. /HSBY/QueryHsbyMyPackages:
  25975. get:
  25976. parameters:
  25977. - description: 资金账户列表,格式:1,2,3
  25978. in: query
  25979. name: accountIDs
  25980. required: true
  25981. type: string
  25982. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25983. in: query
  25984. name: takeOrderStatus
  25985. type: integer
  25986. produces:
  25987. - application/json
  25988. responses:
  25989. "200":
  25990. description: OK
  25991. schema:
  25992. $ref: '#/definitions/models.HsbyMyPackage'
  25993. "500":
  25994. description: Internal Server Error
  25995. schema:
  25996. $ref: '#/definitions/app.Response'
  25997. security:
  25998. - ApiKeyAuth: []
  25999. summary: 查询我的包裹信息
  26000. tags:
  26001. - 定制【海商报业】
  26002. /HSBY/QueryHsbyPreGoodsDetail:
  26003. get:
  26004. parameters:
  26005. - description: 商品ID
  26006. in: query
  26007. name: goodsID
  26008. required: true
  26009. type: integer
  26010. - description: 资金账户,主要用于获取预售商品购买上限
  26011. in: query
  26012. name: accountID
  26013. type: integer
  26014. produces:
  26015. - application/json
  26016. responses:
  26017. "200":
  26018. description: OK
  26019. schema:
  26020. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26021. "500":
  26022. description: Internal Server Error
  26023. schema:
  26024. $ref: '#/definitions/app.Response'
  26025. security:
  26026. - ApiKeyAuth: []
  26027. summary: 查询一级市场(预售)商品信息详情
  26028. tags:
  26029. - 定制【海商报业】
  26030. /HSBY/QueryHsbyPreGoodses:
  26031. get:
  26032. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26033. parameters:
  26034. - description: 页码
  26035. in: query
  26036. name: page
  26037. type: integer
  26038. - description: 每页条数
  26039. in: query
  26040. name: pagesize
  26041. type: integer
  26042. - description: 市场ID列表,格式:1,2,3
  26043. in: query
  26044. name: marketIDs
  26045. required: true
  26046. type: string
  26047. - description: 目的地(省)ID
  26048. in: query
  26049. name: descProvinceID
  26050. type: integer
  26051. - description: 目的地(市)ID
  26052. in: query
  26053. name: descCityID
  26054. type: integer
  26055. produces:
  26056. - application/json
  26057. responses:
  26058. "200":
  26059. description: OK
  26060. schema:
  26061. $ref: '#/definitions/models.HsbyPreGoods'
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询新品上市商品列表(一级市场预售)
  26069. tags:
  26070. - 定制【海商报业】
  26071. /HSBY/QueryHsbySellMyDetails:
  26072. get:
  26073. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26074. parameters:
  26075. - description: 页码
  26076. in: query
  26077. name: page
  26078. type: integer
  26079. - description: 每页条数
  26080. in: query
  26081. name: pagesize
  26082. type: integer
  26083. - description: 资金账户列表,格式:1,2,3
  26084. in: query
  26085. name: accountIDs
  26086. required: true
  26087. type: string
  26088. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26089. in: query
  26090. name: orderType
  26091. type: integer
  26092. produces:
  26093. - application/json
  26094. responses:
  26095. "200":
  26096. description: OK
  26097. schema:
  26098. $ref: '#/definitions/models.HsbySellMyDetail'
  26099. "500":
  26100. description: Internal Server Error
  26101. schema:
  26102. $ref: '#/definitions/app.Response'
  26103. security:
  26104. - ApiKeyAuth: []
  26105. summary: 查询"我的闲置"单据信息
  26106. tags:
  26107. - 定制【海商报业】
  26108. /HSBY/QueryHsbyTopGoodses:
  26109. get:
  26110. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26111. parameters:
  26112. - description: 页码
  26113. in: query
  26114. name: page
  26115. type: integer
  26116. - description: 每页条数
  26117. in: query
  26118. name: pagesize
  26119. type: integer
  26120. - description: 市场ID列表,格式:1,2,3
  26121. in: query
  26122. name: marketIDs
  26123. required: true
  26124. type: string
  26125. - description: 目的地(省)ID
  26126. in: query
  26127. name: descProvinceID
  26128. type: integer
  26129. - description: 目的地(市)ID
  26130. in: query
  26131. name: descCityID
  26132. type: integer
  26133. produces:
  26134. - application/json
  26135. responses:
  26136. "200":
  26137. description: OK
  26138. schema:
  26139. $ref: '#/definitions/models.HsbyTopGoods'
  26140. "500":
  26141. description: Internal Server Error
  26142. schema:
  26143. $ref: '#/definitions/app.Response'
  26144. security:
  26145. - ApiKeyAuth: []
  26146. summary: 查询热卖商品列表(二级市场挂牌点选)
  26147. tags:
  26148. - 定制【海商报业】
  26149. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26150. get:
  26151. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26152. parameters:
  26153. - description: 商品ID
  26154. in: query
  26155. name: goodsID
  26156. required: true
  26157. type: integer
  26158. produces:
  26159. - application/json
  26160. responses:
  26161. "200":
  26162. description: OK
  26163. schema:
  26164. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. security:
  26170. - ApiKeyAuth: []
  26171. summary: 查询游客三级市场(商城)商品信息详情
  26172. tags:
  26173. - 定制【海商报业】
  26174. /HSBY/QueryHsbyVisitorMarketGoodses:
  26175. get:
  26176. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26177. parameters:
  26178. - description: 页码
  26179. in: query
  26180. name: page
  26181. type: integer
  26182. - description: 每页条数
  26183. in: query
  26184. name: pagesize
  26185. type: integer
  26186. - description: 市场ID列表,格式:1,2,3
  26187. in: query
  26188. name: marketIDs
  26189. required: true
  26190. type: string
  26191. - description: 类别ID
  26192. in: query
  26193. name: categoryID
  26194. type: integer
  26195. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26196. in: query
  26197. name: goodsIDs
  26198. type: string
  26199. produces:
  26200. - application/json
  26201. responses:
  26202. "200":
  26203. description: OK
  26204. schema:
  26205. $ref: '#/definitions/models.HsbyMarketGoods'
  26206. "500":
  26207. description: Internal Server Error
  26208. schema:
  26209. $ref: '#/definitions/app.Response'
  26210. security:
  26211. - ApiKeyAuth: []
  26212. summary: 查询游客特卖商品列表(三级商城)
  26213. tags:
  26214. - 定制【海商报业】
  26215. /HSBY/QueryMyCollectionOrders:
  26216. get:
  26217. parameters:
  26218. - description: 页码
  26219. in: query
  26220. name: page
  26221. type: integer
  26222. - description: 每页条数
  26223. in: query
  26224. name: pagesize
  26225. type: integer
  26226. - description: 资金账户,格式:1,2,3
  26227. in: query
  26228. name: accountIDs
  26229. required: true
  26230. type: string
  26231. produces:
  26232. - application/json
  26233. responses:
  26234. "200":
  26235. description: OK
  26236. schema:
  26237. $ref: '#/definitions/models.HsbySellCollectionOrder'
  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/QueryMyCouponHolds:
  26248. get:
  26249. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26250. parameters:
  26251. - description: 资金账户列表,格式:1,2,3
  26252. in: query
  26253. name: accountIDs
  26254. required: true
  26255. type: string
  26256. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26257. in: query
  26258. name: holdStatus
  26259. type: string
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. $ref: '#/definitions/models.MyCouponHold'
  26267. "500":
  26268. description: Internal Server Error
  26269. schema:
  26270. $ref: '#/definitions/app.Response'
  26271. security:
  26272. - ApiKeyAuth: []
  26273. summary: 我的优惠卷持仓查询
  26274. tags:
  26275. - 定制【海商报业】
  26276. /HSBY/QueryMyCoupons:
  26277. get:
  26278. parameters:
  26279. - description: 资金账户列表,格式:1,2,3
  26280. in: query
  26281. name: accountIDs
  26282. required: true
  26283. type: string
  26284. - description: 商品ID, 一般与sellUserID配套传入
  26285. in: query
  26286. name: goodsID
  26287. type: integer
  26288. - description: 卖方UserID
  26289. in: query
  26290. name: sellUserID
  26291. type: integer
  26292. produces:
  26293. - application/json
  26294. responses:
  26295. "200":
  26296. description: OK
  26297. schema:
  26298. $ref: '#/definitions/models.MyCoupon'
  26299. "500":
  26300. description: Internal Server Error
  26301. schema:
  26302. $ref: '#/definitions/app.Response'
  26303. security:
  26304. - ApiKeyAuth: []
  26305. summary: 我的优惠卷查询
  26306. tags:
  26307. - 定制【海商报业】
  26308. /HSBY/QueryMyPayOrders:
  26309. get:
  26310. parameters:
  26311. - description: 页码
  26312. in: query
  26313. name: page
  26314. type: integer
  26315. - description: 每页条数
  26316. in: query
  26317. name: pagesize
  26318. type: integer
  26319. - description: 资金账户列表,格式:1,2,3
  26320. in: query
  26321. name: accountIDs
  26322. required: true
  26323. type: string
  26324. - description: 买方委托单号
  26325. in: query
  26326. name: buyOrderID
  26327. type: integer
  26328. - description: 卖方委托单号
  26329. in: query
  26330. name: sellOrderID
  26331. type: integer
  26332. produces:
  26333. - application/json
  26334. responses:
  26335. "200":
  26336. description: OK
  26337. schema:
  26338. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26339. "500":
  26340. description: Internal Server Error
  26341. schema:
  26342. $ref: '#/definitions/app.Response'
  26343. security:
  26344. - ApiKeyAuth: []
  26345. summary: 获取我的订单中待付款信息
  26346. tags:
  26347. - 定制【海商报业】
  26348. /HSBY/QueryMyUsedCoupon:
  26349. get:
  26350. parameters:
  26351. - description: 资金账户列表,格式:1,2,3
  26352. in: query
  26353. name: accountIDs
  26354. required: true
  26355. type: string
  26356. produces:
  26357. - application/json
  26358. responses:
  26359. "200":
  26360. description: OK
  26361. schema:
  26362. $ref: '#/definitions/models.MyUsedCoupon'
  26363. "500":
  26364. description: Internal Server Error
  26365. schema:
  26366. $ref: '#/definitions/app.Response'
  26367. security:
  26368. - ApiKeyAuth: []
  26369. summary: 已使用优惠卷查询
  26370. tags:
  26371. - 定制【海商报业】
  26372. /HSBY/QueryProvincesAndCities:
  26373. get:
  26374. description: 查询结果只包括二级市场商品已关连的省市信息。
  26375. parameters:
  26376. - description: 省ID
  26377. in: query
  26378. name: provinceID
  26379. type: integer
  26380. produces:
  26381. - application/json
  26382. responses:
  26383. "200":
  26384. description: OK
  26385. schema:
  26386. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26387. "500":
  26388. description: Internal Server Error
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. security:
  26392. - ApiKeyAuth: []
  26393. summary: 查询省市信息(不包括区)
  26394. tags:
  26395. - 定制【海商报业】
  26396. /HSBY/SetHsbyMyPackagesStatus:
  26397. post:
  26398. parameters:
  26399. - description: 提货单号
  26400. in: query
  26401. name: takeOrderID
  26402. required: true
  26403. type: string
  26404. - description: 资金账号
  26405. in: query
  26406. name: accountID
  26407. required: true
  26408. type: integer
  26409. produces:
  26410. - application/json
  26411. responses:
  26412. "200":
  26413. description: OK
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. "500":
  26417. description: Internal Server Error
  26418. schema:
  26419. $ref: '#/definitions/app.Response'
  26420. security:
  26421. - ApiKeyAuth: []
  26422. summary: 设置我的包裹已收货状态
  26423. tags:
  26424. - 定制【海商报业】
  26425. /Market/GetAllExExchanges:
  26426. get:
  26427. produces:
  26428. - application/json
  26429. responses:
  26430. "200":
  26431. description: OK
  26432. schema:
  26433. $ref: '#/definitions/models.Goods'
  26434. "500":
  26435. description: Internal Server Error
  26436. schema:
  26437. $ref: '#/definitions/app.Response'
  26438. security:
  26439. - ApiKeyAuth: []
  26440. summary: 获取所有外部交易所信息
  26441. tags:
  26442. - 通用市场
  26443. /Market/QueryGoodsesByLoginID:
  26444. get:
  26445. parameters:
  26446. - description: 登录账号
  26447. in: query
  26448. name: loginID
  26449. required: true
  26450. type: integer
  26451. - description: 市场ID列表,格式:1,2,3
  26452. in: query
  26453. name: marketIDs
  26454. type: string
  26455. produces:
  26456. - application/json
  26457. responses:
  26458. "200":
  26459. description: OK
  26460. schema:
  26461. $ref: '#/definitions/models.Goods'
  26462. "500":
  26463. description: Internal Server Error
  26464. schema:
  26465. $ref: '#/definitions/app.Response'
  26466. security:
  26467. - ApiKeyAuth: []
  26468. summary: 获取登录账号有权限的商品信息
  26469. tags:
  26470. - 通用市场
  26471. /Market/QueryMarketRun:
  26472. get:
  26473. parameters:
  26474. - description: 市场ID,不传返回所有
  26475. in: query
  26476. name: marketID
  26477. type: integer
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. $ref: '#/definitions/models.Marketrun'
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 查询市场运行信息
  26492. tags:
  26493. - 通用市场
  26494. /Market/QueryMarketsByLoginID:
  26495. get:
  26496. parameters:
  26497. - description: 登录账号
  26498. in: query
  26499. name: loginID
  26500. required: true
  26501. type: integer
  26502. produces:
  26503. - application/json
  26504. responses:
  26505. "200":
  26506. description: OK
  26507. schema:
  26508. $ref: '#/definitions/models.Market'
  26509. "500":
  26510. description: Internal Server Error
  26511. schema:
  26512. $ref: '#/definitions/app.Response'
  26513. security:
  26514. - ApiKeyAuth: []
  26515. summary: 获取登录账号有权限的市场信息
  26516. tags:
  26517. - 通用市场
  26518. /Order/QueryHisTradeDetail:
  26519. get:
  26520. parameters:
  26521. - description: 资金账户 - 格式:1,2,3
  26522. in: query
  26523. name: accountID
  26524. required: true
  26525. type: string
  26526. - description: 成交单号
  26527. in: query
  26528. name: tradeID
  26529. type: integer
  26530. - description: 委托单号
  26531. in: query
  26532. name: orderID
  26533. type: integer
  26534. - description: 商品ID
  26535. in: query
  26536. name: goodsID
  26537. type: integer
  26538. - description: 交易模式 - 格式:1,2,3
  26539. in: query
  26540. name: tradeMode
  26541. type: string
  26542. - description: 委托单据类型
  26543. in: query
  26544. name: buildType
  26545. type: integer
  26546. - description: 成交类别 - 格式:1,2,3
  26547. in: query
  26548. name: tradeType
  26549. type: string
  26550. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26551. in: query
  26552. name: startDate
  26553. type: string
  26554. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26555. in: query
  26556. name: endDate
  26557. type: string
  26558. produces:
  26559. - application/json
  26560. responses:
  26561. "200":
  26562. description: OK
  26563. schema:
  26564. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  26565. "500":
  26566. description: Internal Server Error
  26567. schema:
  26568. $ref: '#/definitions/app.Response'
  26569. security:
  26570. - ApiKeyAuth: []
  26571. summary: 历史成交单查询(合约市场)
  26572. tags:
  26573. - 通用单据
  26574. /Order/QueryHisTradeOrderDetail:
  26575. get:
  26576. parameters:
  26577. - description: 资金账户 - 格式:1,2,3
  26578. in: query
  26579. name: accountID
  26580. required: true
  26581. type: string
  26582. - description: 交易模式 - 格式:1,2,3
  26583. in: query
  26584. name: tradeMode
  26585. type: string
  26586. - description: 委托状态 - 格式:1,2,3
  26587. in: query
  26588. name: orderStatus
  26589. type: string
  26590. - description: 委托单号
  26591. in: query
  26592. name: orderID
  26593. type: integer
  26594. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26595. in: query
  26596. name: startDate
  26597. type: string
  26598. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26599. in: query
  26600. name: endDate
  26601. type: string
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  26609. "500":
  26610. description: Internal Server Error
  26611. schema:
  26612. $ref: '#/definitions/app.Response'
  26613. security:
  26614. - ApiKeyAuth: []
  26615. summary: 历史委托单查询请求(合约市场)
  26616. tags:
  26617. - 通用单据
  26618. /Order/QueryTradeDetail:
  26619. get:
  26620. parameters:
  26621. - description: 资金账户 - 格式:1,2,3
  26622. in: query
  26623. name: accountID
  26624. required: true
  26625. type: string
  26626. - description: 成交单号
  26627. in: query
  26628. name: tradeID
  26629. type: integer
  26630. - description: 委托单号
  26631. in: query
  26632. name: orderID
  26633. type: integer
  26634. - description: 交易模式 - 格式:1,2,3
  26635. in: query
  26636. name: tradeMode
  26637. type: string
  26638. - description: 委托单据类型
  26639. in: query
  26640. name: buildType
  26641. type: integer
  26642. - description: 成交类别 - 格式:1,2,3
  26643. in: query
  26644. name: tradeType
  26645. type: string
  26646. - description: 商品ID
  26647. in: query
  26648. name: goodsID
  26649. type: integer
  26650. produces:
  26651. - application/json
  26652. responses:
  26653. "200":
  26654. description: OK
  26655. schema:
  26656. $ref: '#/definitions/order.QueryTradeDetailRsp'
  26657. "500":
  26658. description: Internal Server Error
  26659. schema:
  26660. $ref: '#/definitions/app.Response'
  26661. security:
  26662. - ApiKeyAuth: []
  26663. summary: 成交单查询(合约市场)
  26664. tags:
  26665. - 通用单据
  26666. /Order/QueryTradeHolderDetail:
  26667. get:
  26668. parameters:
  26669. - description: 用户id
  26670. in: query
  26671. name: userid
  26672. type: integer
  26673. - description: 资金账号, 格式 1,2,3
  26674. in: query
  26675. name: accids
  26676. type: string
  26677. - description: 交易模式, 格式 1,2,3
  26678. in: query
  26679. name: trademodes
  26680. type: string
  26681. - description: 市场id, 格式 1,2,3
  26682. in: query
  26683. name: marketids
  26684. type: string
  26685. - description: 商品id
  26686. in: query
  26687. name: goodsid
  26688. type: integer
  26689. - description: 买卖方向 0-买 1-卖
  26690. in: query
  26691. name: buyorsell
  26692. type: integer
  26693. produces:
  26694. - application/json
  26695. responses:
  26696. "200":
  26697. description: OK
  26698. schema:
  26699. items:
  26700. $ref: '#/definitions/models.TradeHolderDetail'
  26701. type: array
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 查询持仓明细
  26709. tags:
  26710. - 通用单据
  26711. /Order/QueryTradeOrderDetail:
  26712. get:
  26713. parameters:
  26714. - description: 资金账户 - 格式:1,2,3
  26715. in: query
  26716. name: accountID
  26717. required: true
  26718. type: string
  26719. - description: 交易模式 - 格式:1,2,3
  26720. in: query
  26721. name: tradeMode
  26722. type: string
  26723. - description: 委托状态 - 格式:1,2,3
  26724. in: query
  26725. name: orderStatus
  26726. type: string
  26727. - description: 委托单号
  26728. in: query
  26729. name: orderID
  26730. type: integer
  26731. produces:
  26732. - application/json
  26733. responses:
  26734. "200":
  26735. description: OK
  26736. schema:
  26737. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  26738. "500":
  26739. description: Internal Server Error
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. security:
  26743. - ApiKeyAuth: []
  26744. summary: 委托单查询请求(合约市场)
  26745. tags:
  26746. - 通用单据
  26747. /Order/QueryTradePosition:
  26748. get:
  26749. parameters:
  26750. - description: 资金账户 - 格式:1,2,3
  26751. in: query
  26752. name: accountID
  26753. required: true
  26754. type: string
  26755. - description: 交易模式 - 格式:1,2,3
  26756. in: query
  26757. name: tradeMode
  26758. type: string
  26759. produces:
  26760. - application/json
  26761. responses:
  26762. "200":
  26763. description: OK
  26764. schema:
  26765. $ref: '#/definitions/order.QueryTradePositionRsp'
  26766. "500":
  26767. description: Internal Server Error
  26768. schema:
  26769. $ref: '#/definitions/app.Response'
  26770. security:
  26771. - ApiKeyAuth: []
  26772. summary: 持仓汇总查询(合约市场)
  26773. tags:
  26774. - 通用单据
  26775. /Qhj/QueryAccountInOutApply:
  26776. get:
  26777. parameters:
  26778. - description: 用户ID
  26779. in: query
  26780. name: userid
  26781. required: true
  26782. type: integer
  26783. - description: 申请起始日期(格式yyyymmdd)
  26784. in: query
  26785. name: begindate
  26786. type: string
  26787. - description: 申请截止日期(格式yyyymmdd)
  26788. in: query
  26789. name: enddate
  26790. type: string
  26791. - description: 模糊搜索名称
  26792. in: query
  26793. name: likename
  26794. type: string
  26795. produces:
  26796. - application/json
  26797. responses:
  26798. "200":
  26799. description: OK
  26800. schema:
  26801. items:
  26802. $ref: '#/definitions/models.QhjAccountOutInApply'
  26803. type: array
  26804. "500":
  26805. description: Internal Server Error
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. security:
  26809. - ApiKeyAuth: []
  26810. summary: 查询充值提现
  26811. tags:
  26812. - 大连千海金
  26813. /Qhj/QueryAreaFinanceConfig:
  26814. get:
  26815. parameters:
  26816. - description: 机构用户ID 其他做市关系,都设置为 1
  26817. in: query
  26818. name: userid
  26819. type: integer
  26820. produces:
  26821. - application/json
  26822. responses:
  26823. "200":
  26824. description: OK
  26825. schema:
  26826. items:
  26827. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26828. type: array
  26829. "500":
  26830. description: Internal Server Error
  26831. schema:
  26832. $ref: '#/definitions/app.Response'
  26833. security:
  26834. - ApiKeyAuth: []
  26835. summary: 查询企业配置表
  26836. tags:
  26837. - 大连千海金
  26838. /Qhj/QueryBankAccountSign:
  26839. get:
  26840. parameters:
  26841. - description: 用户ID
  26842. in: query
  26843. name: userid
  26844. required: true
  26845. type: integer
  26846. produces:
  26847. - application/json
  26848. responses:
  26849. "200":
  26850. description: OK
  26851. schema:
  26852. items:
  26853. $ref: '#/definitions/models.QhjBankAccountSign'
  26854. type: array
  26855. "500":
  26856. description: Internal Server Error
  26857. schema:
  26858. $ref: '#/definitions/app.Response'
  26859. security:
  26860. - ApiKeyAuth: []
  26861. summary: 查询签约银行信息(提现账户管理)
  26862. tags:
  26863. - 大连千海金
  26864. /Qhj/QueryBankInfo:
  26865. get:
  26866. produces:
  26867. - application/json
  26868. responses:
  26869. "200":
  26870. description: OK
  26871. schema:
  26872. items:
  26873. $ref: '#/definitions/models.QhjBankInfo'
  26874. type: array
  26875. "500":
  26876. description: Internal Server Error
  26877. schema:
  26878. $ref: '#/definitions/app.Response'
  26879. security:
  26880. - ApiKeyAuth: []
  26881. summary: 查询开户行
  26882. tags:
  26883. - 大连千海金
  26884. /Qhj/QueryBrokerApply:
  26885. get:
  26886. parameters:
  26887. - description: 所属机构ID
  26888. in: query
  26889. name: userid
  26890. type: integer
  26891. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26892. in: query
  26893. name: filterstatus
  26894. type: string
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. items:
  26902. $ref: '#/definitions/models.QhjBrokerApply'
  26903. type: array
  26904. "500":
  26905. description: Internal Server Error
  26906. schema:
  26907. $ref: '#/definitions/app.Response'
  26908. security:
  26909. - ApiKeyAuth: []
  26910. summary: 查询经纪人申请
  26911. tags:
  26912. - 大连千海金
  26913. /Qhj/QueryBrokerApplyEx:
  26914. get:
  26915. parameters:
  26916. - description: 所属机构ID
  26917. in: query
  26918. name: userid
  26919. type: integer
  26920. produces:
  26921. - application/json
  26922. responses:
  26923. "200":
  26924. description: OK
  26925. schema:
  26926. items:
  26927. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26928. type: array
  26929. "500":
  26930. description: Internal Server Error
  26931. schema:
  26932. $ref: '#/definitions/app.Response'
  26933. security:
  26934. - ApiKeyAuth: []
  26935. summary: 查询经纪人信息和申请记录
  26936. tags:
  26937. - 大连千海金
  26938. /Qhj/QueryBrokerRewardLog:
  26939. get:
  26940. parameters:
  26941. - description: 用户ID
  26942. in: query
  26943. name: userid
  26944. required: true
  26945. type: integer
  26946. - description: 开始交易日(yyyymmdd)
  26947. in: query
  26948. name: begindate
  26949. type: string
  26950. - description: 结束交易日(yyyymmdd)
  26951. in: query
  26952. name: enddate
  26953. type: string
  26954. produces:
  26955. - application/json
  26956. responses:
  26957. "200":
  26958. description: OK
  26959. schema:
  26960. items:
  26961. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26962. type: array
  26963. "500":
  26964. description: Internal Server Error
  26965. schema:
  26966. $ref: '#/definitions/app.Response'
  26967. security:
  26968. - ApiKeyAuth: []
  26969. summary: 查询奖励流水(我的奖励)
  26970. tags:
  26971. - 大连千海金
  26972. /Qhj/QueryContract:
  26973. get:
  26974. parameters:
  26975. - description: 用户ID
  26976. in: query
  26977. name: userid
  26978. type: integer
  26979. - description: scf合同id
  26980. in: query
  26981. name: scfcontractid
  26982. type: integer
  26983. produces:
  26984. - application/json
  26985. responses:
  26986. "200":
  26987. description: OK
  26988. schema:
  26989. items:
  26990. $ref: '#/definitions/models.QhjContract'
  26991. type: array
  26992. "500":
  26993. description: Internal Server Error
  26994. schema:
  26995. $ref: '#/definitions/app.Response'
  26996. security:
  26997. - ApiKeyAuth: []
  26998. summary: 查询融资明细(合同)
  26999. tags:
  27000. - 大连千海金
  27001. /Qhj/QueryContractLog:
  27002. get:
  27003. parameters:
  27004. - description: scf合同id
  27005. in: query
  27006. name: scfcontractid
  27007. required: true
  27008. type: integer
  27009. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27010. in: query
  27011. name: amounttype
  27012. type: string
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.QhjContractLog'
  27021. type: array
  27022. "500":
  27023. description: Internal Server Error
  27024. schema:
  27025. $ref: '#/definitions/app.Response'
  27026. security:
  27027. - ApiKeyAuth: []
  27028. summary: 查询融资明细流水(融资明细详情页中的流水)
  27029. tags:
  27030. - 大连千海金
  27031. /Qhj/QueryCusBankSignBank:
  27032. get:
  27033. produces:
  27034. - application/json
  27035. responses:
  27036. "200":
  27037. description: OK
  27038. schema:
  27039. items:
  27040. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27041. type: array
  27042. "500":
  27043. description: Internal Server Error
  27044. schema:
  27045. $ref: '#/definitions/app.Response'
  27046. security:
  27047. - ApiKeyAuth: []
  27048. summary: 查询托管银行
  27049. tags:
  27050. - 大连千海金
  27051. /Qhj/QueryCustomerInfo:
  27052. get:
  27053. parameters:
  27054. - description: 用户ID
  27055. in: query
  27056. name: userid
  27057. required: true
  27058. type: integer
  27059. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27060. in: query
  27061. name: querytype
  27062. required: true
  27063. type: integer
  27064. - description: 客户类型 1-个人 2-企业
  27065. in: query
  27066. name: userinfotype
  27067. type: integer
  27068. - description: 客户名称(模糊匹配)
  27069. in: query
  27070. name: customername
  27071. type: string
  27072. - description: 昵称(模糊匹配)
  27073. in: query
  27074. name: nickname
  27075. type: string
  27076. - description: 是否包含子级 1-包含
  27077. in: query
  27078. name: includesub
  27079. type: integer
  27080. produces:
  27081. - application/json
  27082. responses:
  27083. "200":
  27084. description: OK
  27085. schema:
  27086. items:
  27087. $ref: '#/definitions/models.QhjCustomer'
  27088. type: array
  27089. "500":
  27090. description: Internal Server Error
  27091. schema:
  27092. $ref: '#/definitions/app.Response'
  27093. security:
  27094. - ApiKeyAuth: []
  27095. summary: 查询客户资料
  27096. tags:
  27097. - 大连千海金
  27098. /Qhj/QueryGoodsEx:
  27099. get:
  27100. parameters:
  27101. - description: 商品id
  27102. in: query
  27103. name: goodsid
  27104. type: integer
  27105. produces:
  27106. - application/json
  27107. responses:
  27108. "200":
  27109. description: OK
  27110. schema:
  27111. items:
  27112. $ref: '#/definitions/models.Qhjgoodsex'
  27113. type: array
  27114. "500":
  27115. description: Internal Server Error
  27116. schema:
  27117. $ref: '#/definitions/app.Response'
  27118. security:
  27119. - ApiKeyAuth: []
  27120. summary: 交易商品扩展表
  27121. tags:
  27122. - 大连千海金
  27123. /Qhj/QueryMyTeam:
  27124. get:
  27125. parameters:
  27126. - description: 用户ID
  27127. in: query
  27128. name: userid
  27129. required: true
  27130. type: integer
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. items:
  27138. $ref: '#/definitions/models.QhjMyTeamEx'
  27139. type: array
  27140. "500":
  27141. description: Internal Server Error
  27142. schema:
  27143. $ref: '#/definitions/app.Response'
  27144. security:
  27145. - ApiKeyAuth: []
  27146. summary: 查询我的团队
  27147. tags:
  27148. - 大连千海金
  27149. /Qhj/QueryMyTeamOrder:
  27150. get:
  27151. parameters:
  27152. - description: 页码
  27153. in: query
  27154. name: page
  27155. type: integer
  27156. - description: 每页条数
  27157. in: query
  27158. name: pagesize
  27159. type: integer
  27160. - description: 用户ID
  27161. in: query
  27162. name: userid
  27163. required: true
  27164. type: integer
  27165. - description: 交易模式
  27166. in: query
  27167. name: trademode
  27168. type: integer
  27169. - description: 名称(模糊搜索账户)
  27170. in: query
  27171. name: filtername
  27172. type: string
  27173. produces:
  27174. - application/json
  27175. responses:
  27176. "200":
  27177. description: OK
  27178. schema:
  27179. items:
  27180. $ref: '#/definitions/models.QhjTeamOrder'
  27181. type: array
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 查询团队订单(我的团队/团队订单)
  27189. tags:
  27190. - 大连千海金
  27191. /Qhj/QueryParentAreaList:
  27192. get:
  27193. parameters:
  27194. - description: 用户ID
  27195. in: query
  27196. name: userid
  27197. required: true
  27198. type: integer
  27199. produces:
  27200. - application/json
  27201. responses:
  27202. "200":
  27203. description: OK
  27204. schema:
  27205. items:
  27206. $ref: '#/definitions/models.QhjParentAreaList'
  27207. type: array
  27208. "500":
  27209. description: Internal Server Error
  27210. schema:
  27211. $ref: '#/definitions/app.Response'
  27212. security:
  27213. - ApiKeyAuth: []
  27214. summary: 查询所属机构列表
  27215. tags:
  27216. - 大连千海金
  27217. /Qhj/QueryPayOrder:
  27218. get:
  27219. parameters:
  27220. - description: 资金账号id
  27221. in: query
  27222. name: accountid
  27223. required: true
  27224. type: integer
  27225. - description: 成交单号
  27226. in: query
  27227. name: tradeid
  27228. type: integer
  27229. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27230. in: query
  27231. name: payflag
  27232. type: string
  27233. produces:
  27234. - application/json
  27235. responses:
  27236. "200":
  27237. description: OK
  27238. schema:
  27239. items:
  27240. $ref: '#/definitions/models.QhjPayOrder'
  27241. type: array
  27242. "500":
  27243. description: Internal Server Error
  27244. schema:
  27245. $ref: '#/definitions/app.Response'
  27246. security:
  27247. - ApiKeyAuth: []
  27248. summary: 查询待付款单据
  27249. tags:
  27250. - 大连千海金
  27251. /Qhj/QueryPickArea:
  27252. get:
  27253. parameters:
  27254. - description: 用户ID
  27255. in: query
  27256. name: userid
  27257. type: integer
  27258. produces:
  27259. - application/json
  27260. responses:
  27261. "200":
  27262. description: OK
  27263. schema:
  27264. items:
  27265. $ref: '#/definitions/models.QhjPickArea'
  27266. type: array
  27267. "500":
  27268. description: Internal Server Error
  27269. schema:
  27270. $ref: '#/definitions/app.Response'
  27271. security:
  27272. - ApiKeyAuth: []
  27273. summary: 查询提货门店
  27274. tags:
  27275. - 大连千海金
  27276. /Qhj/QueryPickGoods:
  27277. get:
  27278. parameters:
  27279. - description: 交易商品id
  27280. in: query
  27281. name: goodsid
  27282. required: true
  27283. type: integer
  27284. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27285. in: query
  27286. name: status
  27287. type: string
  27288. produces:
  27289. - application/json
  27290. responses:
  27291. "200":
  27292. description: OK
  27293. schema:
  27294. items:
  27295. $ref: '#/definitions/models.QhjPickGoods'
  27296. type: array
  27297. "500":
  27298. description: Internal Server Error
  27299. schema:
  27300. $ref: '#/definitions/app.Response'
  27301. security:
  27302. - ApiKeyAuth: []
  27303. summary: 查询提货商品
  27304. tags:
  27305. - 大连千海金
  27306. /Qhj/QueryRSTriggerLog:
  27307. get:
  27308. parameters:
  27309. - description: 用户ID
  27310. in: query
  27311. name: userid
  27312. type: integer
  27313. - description: 定投策略id
  27314. in: query
  27315. name: regularlystrategyid
  27316. type: integer
  27317. - description: 商品id
  27318. in: query
  27319. name: goodsid
  27320. type: integer
  27321. - description: 开始交易日(yyyymmdd)
  27322. in: query
  27323. name: begindate
  27324. type: string
  27325. - description: 结束交易日(yyyymmdd)
  27326. in: query
  27327. name: enddate
  27328. type: string
  27329. - description: 名称(模糊搜索账户)
  27330. in: query
  27331. name: filtername
  27332. type: string
  27333. produces:
  27334. - application/json
  27335. responses:
  27336. "200":
  27337. description: OK
  27338. schema:
  27339. items:
  27340. $ref: '#/definitions/models.QhjRSTriggerLog'
  27341. type: array
  27342. "500":
  27343. description: Internal Server Error
  27344. schema:
  27345. $ref: '#/definitions/app.Response'
  27346. security:
  27347. - ApiKeyAuth: []
  27348. summary: 查询定投记录(定投管理/详情/定投记录)
  27349. tags:
  27350. - 大连千海金
  27351. /Qhj/QueryRStrategy:
  27352. get:
  27353. parameters:
  27354. - description: 用户ID
  27355. in: query
  27356. name: userid
  27357. type: integer
  27358. - description: 商品id
  27359. in: query
  27360. name: goodsid
  27361. type: integer
  27362. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27363. in: query
  27364. name: status
  27365. type: string
  27366. - description: 名称(模糊搜索账户)
  27367. in: query
  27368. name: filtername
  27369. type: string
  27370. produces:
  27371. - application/json
  27372. responses:
  27373. "200":
  27374. description: OK
  27375. schema:
  27376. items:
  27377. $ref: '#/definitions/models.QhjRStrategy'
  27378. type: array
  27379. "500":
  27380. description: Internal Server Error
  27381. schema:
  27382. $ref: '#/definitions/app.Response'
  27383. security:
  27384. - ApiKeyAuth: []
  27385. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27386. tags:
  27387. - 大连千海金
  27388. /Qhj/QueryReckonPriceLog:
  27389. get:
  27390. parameters:
  27391. - description: 商品ID
  27392. in: query
  27393. name: goodsid
  27394. type: integer
  27395. - description: 交易日 格式(yyyymmdd)
  27396. in: query
  27397. name: tradedate
  27398. type: string
  27399. produces:
  27400. - application/json
  27401. responses:
  27402. "200":
  27403. description: OK
  27404. schema:
  27405. items:
  27406. $ref: '#/definitions/models.QhjReckonPriceLog'
  27407. type: array
  27408. "500":
  27409. description: Internal Server Error
  27410. schema:
  27411. $ref: '#/definitions/app.Response'
  27412. security:
  27413. - ApiKeyAuth: []
  27414. summary: 查询定投价(结算价)
  27415. tags:
  27416. - 大连千海金
  27417. /Qhj/QueryScoreLog:
  27418. get:
  27419. parameters:
  27420. - description: 用户ID
  27421. in: query
  27422. name: userid
  27423. required: true
  27424. type: integer
  27425. - description: 开始交易日(yyyymmdd)
  27426. in: query
  27427. name: begindate
  27428. type: string
  27429. - description: 结束交易日(yyyymmdd)
  27430. in: query
  27431. name: enddate
  27432. type: string
  27433. - description: 最近多少条
  27434. in: query
  27435. name: lastnum
  27436. type: integer
  27437. produces:
  27438. - application/json
  27439. responses:
  27440. "200":
  27441. description: OK
  27442. schema:
  27443. items:
  27444. $ref: '#/definitions/models.QhjScoreLog'
  27445. type: array
  27446. "500":
  27447. description: Internal Server Error
  27448. schema:
  27449. $ref: '#/definitions/app.Response'
  27450. security:
  27451. - ApiKeyAuth: []
  27452. summary: 查询积分流水(我的积分)
  27453. tags:
  27454. - 大连千海金
  27455. /Qhj/QuerySiteColumnDetail:
  27456. get:
  27457. parameters:
  27458. - description: 用户ID
  27459. in: query
  27460. name: userid
  27461. required: true
  27462. type: integer
  27463. produces:
  27464. - application/json
  27465. responses:
  27466. "200":
  27467. description: OK
  27468. schema:
  27469. items:
  27470. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27471. type: array
  27472. "500":
  27473. description: Internal Server Error
  27474. schema:
  27475. $ref: '#/definitions/app.Response'
  27476. security:
  27477. - ApiKeyAuth: []
  27478. summary: 查询资讯
  27479. tags:
  27480. - 大连千海金
  27481. /Qhj/QueryTradeGoodsPickup:
  27482. get:
  27483. parameters:
  27484. - description: 用户ID
  27485. in: query
  27486. name: userid
  27487. required: true
  27488. type: integer
  27489. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27490. 7:已拒绝 8:已撤销
  27491. in: query
  27492. name: takeorderstatus
  27493. type: integer
  27494. produces:
  27495. - application/json
  27496. responses:
  27497. "200":
  27498. description: OK
  27499. schema:
  27500. items:
  27501. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  27502. type: array
  27503. "500":
  27504. description: Internal Server Error
  27505. schema:
  27506. $ref: '#/definitions/app.Response'
  27507. security:
  27508. - ApiKeyAuth: []
  27509. summary: 查询提货
  27510. tags:
  27511. - 大连千海金
  27512. /Qhj/QueryUserCollectConfig:
  27513. get:
  27514. parameters:
  27515. - description: 用户ID
  27516. in: query
  27517. name: userid
  27518. required: true
  27519. type: integer
  27520. produces:
  27521. - application/json
  27522. responses:
  27523. "200":
  27524. description: OK
  27525. schema:
  27526. items:
  27527. $ref: '#/definitions/models.UserCollectConfig'
  27528. type: array
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 查询提现账户设置
  27536. tags:
  27537. - 大连千海金
  27538. /Qhj/QueryUserReceiveInfo:
  27539. get:
  27540. parameters:
  27541. - description: 用户ID
  27542. in: query
  27543. name: userid
  27544. required: true
  27545. type: integer
  27546. produces:
  27547. - application/json
  27548. responses:
  27549. "200":
  27550. description: OK
  27551. schema:
  27552. items:
  27553. $ref: '#/definitions/models.UserReceiveInfo'
  27554. type: array
  27555. "500":
  27556. description: Internal Server Error
  27557. schema:
  27558. $ref: '#/definitions/app.Response'
  27559. security:
  27560. - ApiKeyAuth: []
  27561. summary: 查询收货地址信息
  27562. tags:
  27563. - 大连千海金
  27564. /QhjMgr/QueryAccountInOutApply:
  27565. get:
  27566. parameters:
  27567. - description: 查询类型 1-提现(出金) 2-充值(出金)
  27568. in: query
  27569. name: querytype
  27570. required: true
  27571. type: integer
  27572. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  27573. in: query
  27574. name: applystatus
  27575. type: integer
  27576. - description: 申请起始日期(格式yyyymmdd)
  27577. in: query
  27578. name: begindate
  27579. type: string
  27580. - description: 申请截止日期(格式yyyymmdd)
  27581. in: query
  27582. name: enddate
  27583. type: string
  27584. - description: 模糊搜索名称
  27585. in: query
  27586. name: likename
  27587. type: string
  27588. produces:
  27589. - application/json
  27590. responses:
  27591. "200":
  27592. description: OK
  27593. schema:
  27594. items:
  27595. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  27596. type: array
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. summary: 查询充值提现
  27604. tags:
  27605. - 大连千海金(PCWeb)
  27606. /QhjMgr/QueryBrokerApply:
  27607. get:
  27608. parameters:
  27609. - description: 所属机构ID
  27610. in: query
  27611. name: userid
  27612. type: integer
  27613. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27614. in: query
  27615. name: filterstatus
  27616. type: string
  27617. - description: 名称(模糊匹配)
  27618. in: query
  27619. name: filtername
  27620. type: string
  27621. - description: 是否包含子级 1-包含
  27622. in: query
  27623. name: includesub
  27624. type: integer
  27625. produces:
  27626. - application/json
  27627. responses:
  27628. "200":
  27629. description: OK
  27630. schema:
  27631. items:
  27632. $ref: '#/definitions/models.QhjMgrBrokerApply'
  27633. type: array
  27634. "500":
  27635. description: Internal Server Error
  27636. schema:
  27637. $ref: '#/definitions/app.Response'
  27638. security:
  27639. - ApiKeyAuth: []
  27640. summary: 查询经纪人申请
  27641. tags:
  27642. - 大连千海金(PCWeb)
  27643. /QhjMgr/QueryBrokerRewardReport:
  27644. get:
  27645. parameters:
  27646. - description: 所属机构ID
  27647. in: query
  27648. name: userid
  27649. required: true
  27650. type: integer
  27651. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27652. in: query
  27653. name: cycletype
  27654. required: true
  27655. type: integer
  27656. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  27657. in: query
  27658. name: cycletime
  27659. required: true
  27660. type: string
  27661. - description: 名称(模糊匹配)
  27662. in: query
  27663. name: filtername
  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.QhjMgrBrokerRewardReport'
  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/QueryContract:
  27688. get:
  27689. parameters:
  27690. - description: 用户ID
  27691. in: query
  27692. name: userid
  27693. type: integer
  27694. - description: 商品id
  27695. in: query
  27696. name: goodsid
  27697. type: integer
  27698. - description: 名称(模糊搜索账户)
  27699. in: query
  27700. name: filtername
  27701. type: string
  27702. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  27703. in: query
  27704. name: risklevel
  27705. type: string
  27706. - description: 开始交易日(yyyymmdd)
  27707. in: query
  27708. name: begindate
  27709. type: string
  27710. - description: 结束交易日(yyyymmdd)
  27711. in: query
  27712. name: enddate
  27713. type: string
  27714. produces:
  27715. - application/json
  27716. responses:
  27717. "200":
  27718. description: OK
  27719. schema:
  27720. items:
  27721. $ref: '#/definitions/models.QhjMgrContract'
  27722. type: array
  27723. "500":
  27724. description: Internal Server Error
  27725. schema:
  27726. $ref: '#/definitions/app.Response'
  27727. security:
  27728. - ApiKeyAuth: []
  27729. summary: 查询融资信息(合同)
  27730. tags:
  27731. - 大连千海金(PCWeb)
  27732. /QhjMgr/QueryCustomerInfo:
  27733. get:
  27734. parameters:
  27735. - description: 用户ID
  27736. in: query
  27737. name: userid
  27738. required: true
  27739. type: integer
  27740. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27741. in: query
  27742. name: querytype
  27743. required: true
  27744. type: integer
  27745. - description: 客户类型 1-个人 2-企业
  27746. in: query
  27747. name: userinfotype
  27748. type: integer
  27749. - description: 客户名称(模糊匹配)
  27750. in: query
  27751. name: customername
  27752. type: string
  27753. - description: 昵称(模糊匹配)
  27754. in: query
  27755. name: nickname
  27756. type: string
  27757. - description: 所属客户经理(模糊匹配)
  27758. in: query
  27759. name: brokername
  27760. type: string
  27761. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  27762. 如0503 -5月3日)
  27763. in: query
  27764. name: birthday
  27765. type: string
  27766. - description: 是否包含子级 1-包含
  27767. in: query
  27768. name: includesub
  27769. type: integer
  27770. produces:
  27771. - application/json
  27772. responses:
  27773. "200":
  27774. description: OK
  27775. schema:
  27776. items:
  27777. $ref: '#/definitions/models.QhjMgrCustomer'
  27778. type: array
  27779. "500":
  27780. description: Internal Server Error
  27781. schema:
  27782. $ref: '#/definitions/app.Response'
  27783. security:
  27784. - ApiKeyAuth: []
  27785. summary: 查询客户资料
  27786. tags:
  27787. - 大连千海金(PCWeb)
  27788. /QhjMgr/QueryPickGoods:
  27789. get:
  27790. parameters:
  27791. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27792. in: query
  27793. name: status
  27794. type: string
  27795. produces:
  27796. - application/json
  27797. responses:
  27798. "200":
  27799. description: OK
  27800. schema:
  27801. items:
  27802. $ref: '#/definitions/models.QhjMgrPickGoods'
  27803. type: array
  27804. "500":
  27805. description: Internal Server Error
  27806. schema:
  27807. $ref: '#/definitions/app.Response'
  27808. security:
  27809. - ApiKeyAuth: []
  27810. summary: 查询提货商品
  27811. tags:
  27812. - 大连千海金(PCWeb)
  27813. /QhjMgr/QuerySubArea:
  27814. get:
  27815. parameters:
  27816. - description: 用户ID
  27817. in: query
  27818. name: userid
  27819. required: true
  27820. type: integer
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. items:
  27828. $ref: '#/definitions/models.QhjMgrSubArea'
  27829. type: array
  27830. "500":
  27831. description: Internal Server Error
  27832. schema:
  27833. $ref: '#/definitions/app.Response'
  27834. security:
  27835. - ApiKeyAuth: []
  27836. summary: 查询子机构列表
  27837. tags:
  27838. - 大连千海金(PCWeb)
  27839. /QhjMgr/QueryTradeDetail:
  27840. get:
  27841. parameters:
  27842. - description: 用户ID
  27843. in: query
  27844. name: userid
  27845. required: true
  27846. type: integer
  27847. - description: 用户类型 1-个人 2-企业
  27848. in: query
  27849. name: userinfotype
  27850. type: integer
  27851. - description: 交易模式
  27852. in: query
  27853. name: trademode
  27854. type: integer
  27855. - description: 商品id
  27856. in: query
  27857. name: goodsid
  27858. type: integer
  27859. - description: 名称(模糊搜索账户)
  27860. in: query
  27861. name: filtername
  27862. type: string
  27863. - description: 开始交易日(yyyymmdd)
  27864. in: query
  27865. name: begindate
  27866. type: string
  27867. - description: 结束交易日(yyyymmdd)
  27868. in: query
  27869. name: enddate
  27870. type: string
  27871. - description: 是否包含子级 1-包含
  27872. in: query
  27873. name: includesub
  27874. type: integer
  27875. produces:
  27876. - application/json
  27877. responses:
  27878. "200":
  27879. description: OK
  27880. schema:
  27881. items:
  27882. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27883. type: array
  27884. "500":
  27885. description: Internal Server Error
  27886. schema:
  27887. $ref: '#/definitions/app.Response'
  27888. security:
  27889. - ApiKeyAuth: []
  27890. summary: 查询成交明细
  27891. tags:
  27892. - 大连千海金(PCWeb)
  27893. /QhjMgr/QueryTradeOrderDetail:
  27894. get:
  27895. parameters:
  27896. - description: 用户ID
  27897. in: query
  27898. name: userid
  27899. required: true
  27900. type: integer
  27901. - description: 用户类型 1-个人 2-企业
  27902. in: query
  27903. name: userinfotype
  27904. type: integer
  27905. - description: 交易模式
  27906. in: query
  27907. name: trademode
  27908. type: integer
  27909. - description: 商品id
  27910. in: query
  27911. name: goodsid
  27912. type: integer
  27913. - description: 名称(模糊搜索账户)
  27914. in: query
  27915. name: filtername
  27916. type: string
  27917. - description: 开始交易日(yyyymmdd)
  27918. in: query
  27919. name: begindate
  27920. type: string
  27921. - description: 结束交易日(yyyymmdd)
  27922. in: query
  27923. name: enddate
  27924. type: string
  27925. - description: 是否包含子级 1-包含
  27926. in: query
  27927. name: includesub
  27928. type: integer
  27929. produces:
  27930. - application/json
  27931. responses:
  27932. "200":
  27933. description: OK
  27934. schema:
  27935. items:
  27936. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27937. type: array
  27938. "500":
  27939. description: Internal Server Error
  27940. schema:
  27941. $ref: '#/definitions/app.Response'
  27942. security:
  27943. - ApiKeyAuth: []
  27944. summary: 查询委托明细
  27945. tags:
  27946. - 大连千海金(PCWeb)
  27947. /QhjMgr/QueryTradePayOrder:
  27948. get:
  27949. parameters:
  27950. - description: 用户ID
  27951. in: query
  27952. name: userid
  27953. required: true
  27954. type: integer
  27955. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27956. in: query
  27957. name: payflag
  27958. type: string
  27959. - description: 用户类型 1-个人 2-企业
  27960. in: query
  27961. name: userinfotype
  27962. type: integer
  27963. - description: 交易模式
  27964. in: query
  27965. name: trademode
  27966. type: integer
  27967. - description: 商品id
  27968. in: query
  27969. name: goodsid
  27970. type: integer
  27971. - description: 名称(模糊搜索账户)
  27972. in: query
  27973. name: filtername
  27974. type: string
  27975. - description: 开始交易日(yyyymmdd)
  27976. in: query
  27977. name: begindate
  27978. type: string
  27979. - description: 结束交易日(yyyymmdd)
  27980. in: query
  27981. name: enddate
  27982. type: string
  27983. - description: 是否包含子级 1-包含
  27984. in: query
  27985. name: includesub
  27986. type: integer
  27987. produces:
  27988. - application/json
  27989. responses:
  27990. "200":
  27991. description: OK
  27992. schema:
  27993. items:
  27994. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27995. type: array
  27996. "500":
  27997. description: Internal Server Error
  27998. schema:
  27999. $ref: '#/definitions/app.Response'
  28000. security:
  28001. - ApiKeyAuth: []
  28002. summary: 查询待付款单
  28003. tags:
  28004. - 大连千海金(PCWeb)
  28005. /QhjMgr/QueryTradePosition:
  28006. get:
  28007. parameters:
  28008. - description: 用户ID
  28009. in: query
  28010. name: userid
  28011. required: true
  28012. type: integer
  28013. - description: 用户类型 1-个人 2-企业
  28014. in: query
  28015. name: userinfotype
  28016. type: integer
  28017. - description: 交易模式
  28018. in: query
  28019. name: trademode
  28020. type: integer
  28021. - description: 商品id
  28022. in: query
  28023. name: goodsid
  28024. type: integer
  28025. - description: 名称(模糊搜索账户)
  28026. in: query
  28027. name: filtername
  28028. type: string
  28029. - description: 是否包含子级 1-包含
  28030. in: query
  28031. name: includesub
  28032. type: integer
  28033. produces:
  28034. - application/json
  28035. responses:
  28036. "200":
  28037. description: OK
  28038. schema:
  28039. items:
  28040. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28041. type: array
  28042. "500":
  28043. description: Internal Server Error
  28044. schema:
  28045. $ref: '#/definitions/app.Response'
  28046. security:
  28047. - ApiKeyAuth: []
  28048. summary: 查询持仓汇总
  28049. tags:
  28050. - 大连千海金(PCWeb)
  28051. /QhjSys/QueryAgreementChangeLog:
  28052. get:
  28053. parameters:
  28054. - description: 协议ID
  28055. in: query
  28056. name: agreementid
  28057. type: integer
  28058. - description: 协议版本号
  28059. in: query
  28060. name: agreementversion
  28061. type: integer
  28062. - description: 协议类型 - 1:注册 2:登录 3:交易
  28063. in: query
  28064. name: agreementtype
  28065. type: integer
  28066. - description: 协议编号(模糊匹配)
  28067. in: query
  28068. name: agreementno
  28069. type: string
  28070. - description: 协议名称(模糊匹配)
  28071. in: query
  28072. name: agreementname
  28073. type: string
  28074. produces:
  28075. - application/json
  28076. responses:
  28077. "200":
  28078. description: OK
  28079. schema:
  28080. items:
  28081. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28082. type: array
  28083. "500":
  28084. description: Internal Server Error
  28085. schema:
  28086. $ref: '#/definitions/app.Response'
  28087. security:
  28088. - ApiKeyAuth: []
  28089. summary: 查询协议配置变更流水
  28090. tags:
  28091. - 大连千海金(协议和签约信息)
  28092. /QhjSys/QueryAgreementConfig:
  28093. get:
  28094. parameters:
  28095. - description: 协议ID
  28096. in: query
  28097. name: agreementid
  28098. type: integer
  28099. - description: 协议版本号
  28100. in: query
  28101. name: agreementversion
  28102. type: integer
  28103. - description: 协议类型 - 1:注册 2:登录 3:交易
  28104. in: query
  28105. name: agreementtype
  28106. type: integer
  28107. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28108. in: query
  28109. name: isvalid
  28110. type: integer
  28111. - description: 协议编号(模糊匹配)
  28112. in: query
  28113. name: agreementno
  28114. type: string
  28115. - description: 协议名称(模糊匹配)
  28116. in: query
  28117. name: agreementname
  28118. type: string
  28119. produces:
  28120. - application/json
  28121. responses:
  28122. "200":
  28123. description: OK
  28124. schema:
  28125. items:
  28126. $ref: '#/definitions/models.QhjAgreementConfig'
  28127. type: array
  28128. "500":
  28129. description: Internal Server Error
  28130. schema:
  28131. $ref: '#/definitions/app.Response'
  28132. security:
  28133. - ApiKeyAuth: []
  28134. summary: 查询协议配置
  28135. tags:
  28136. - 大连千海金(协议和签约信息)
  28137. /QhjSys/QueryCustomerSignStatus:
  28138. get:
  28139. parameters:
  28140. - description: 客户ID
  28141. in: query
  28142. name: userid
  28143. type: integer
  28144. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28145. in: query
  28146. name: nodetype
  28147. type: integer
  28148. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28149. in: query
  28150. name: goodsid
  28151. type: integer
  28152. - description: 创建交易日(yyyyMMdd)
  28153. in: query
  28154. name: tradedate
  28155. type: string
  28156. - description: 用户名称(模糊匹配)
  28157. in: query
  28158. name: username
  28159. type: string
  28160. produces:
  28161. - application/json
  28162. responses:
  28163. "200":
  28164. description: OK
  28165. schema:
  28166. items:
  28167. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28168. type: array
  28169. "500":
  28170. description: Internal Server Error
  28171. schema:
  28172. $ref: '#/definitions/app.Response'
  28173. security:
  28174. - ApiKeyAuth: []
  28175. summary: 查询客户协议签约状态
  28176. tags:
  28177. - 大连千海金(协议和签约信息)
  28178. /QhjSys/QueryNodeAgreementConfig:
  28179. get:
  28180. parameters:
  28181. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28182. in: query
  28183. name: configid
  28184. type: integer
  28185. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28186. in: query
  28187. name: nodetype
  28188. type: integer
  28189. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28190. in: query
  28191. name: goodsid
  28192. type: integer
  28193. - description: 协议ID
  28194. in: query
  28195. name: agreementid
  28196. type: integer
  28197. - description: 协议类型 - 1:注册 2:登录 3:交易
  28198. in: query
  28199. name: agreementtype
  28200. type: integer
  28201. - description: 协议版本号
  28202. in: query
  28203. name: agreementversion
  28204. type: integer
  28205. - description: 协议编号(模糊匹配)
  28206. in: query
  28207. name: agreementno
  28208. type: string
  28209. - description: 协议名称(模糊匹配)
  28210. in: query
  28211. name: agreementname
  28212. type: string
  28213. produces:
  28214. - application/json
  28215. responses:
  28216. "200":
  28217. description: OK
  28218. schema:
  28219. items:
  28220. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28221. type: array
  28222. "500":
  28223. description: Internal Server Error
  28224. schema:
  28225. $ref: '#/definitions/app.Response'
  28226. security:
  28227. - ApiKeyAuth: []
  28228. summary: 查询协议节点配置
  28229. tags:
  28230. - 大连千海金(协议和签约信息)
  28231. /QhjSys/QueryQhjCustomerSignLog:
  28232. get:
  28233. parameters:
  28234. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28235. in: query
  28236. name: logid
  28237. type: integer
  28238. - description: 客户ID
  28239. in: query
  28240. name: userid
  28241. type: integer
  28242. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28243. in: query
  28244. name: nodetype
  28245. type: integer
  28246. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28247. in: query
  28248. name: goodsid
  28249. type: integer
  28250. - description: 协议ID
  28251. in: query
  28252. name: agreementid
  28253. type: integer
  28254. - description: 用户名称(模糊匹配)
  28255. in: query
  28256. name: username
  28257. type: string
  28258. - description: 协议编号(模糊匹配)
  28259. in: query
  28260. name: agreementno
  28261. type: string
  28262. - description: 协议名称(模糊匹配)
  28263. in: query
  28264. name: agreementname
  28265. type: string
  28266. produces:
  28267. - application/json
  28268. responses:
  28269. "200":
  28270. description: OK
  28271. schema:
  28272. items:
  28273. $ref: '#/definitions/models.QhjCustomerSignLog'
  28274. type: array
  28275. "500":
  28276. description: Internal Server Error
  28277. schema:
  28278. $ref: '#/definitions/app.Response'
  28279. security:
  28280. - ApiKeyAuth: []
  28281. summary: 查询客户协议签约流水
  28282. tags:
  28283. - 大连千海金(协议和签约信息)
  28284. /QhjSys/QueryUserNodeCfgAndStatus:
  28285. get:
  28286. parameters:
  28287. - description: 客户ID
  28288. in: query
  28289. name: userid
  28290. type: integer
  28291. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28292. in: query
  28293. name: configid
  28294. type: integer
  28295. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28296. in: query
  28297. name: nodetype
  28298. type: string
  28299. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28300. in: query
  28301. name: goodsid
  28302. type: integer
  28303. - description: 协议ID
  28304. in: query
  28305. name: agreementid
  28306. type: integer
  28307. - description: 协议类型 - 1:注册 2:登录 3:交易
  28308. in: query
  28309. name: agreementtype
  28310. type: integer
  28311. - description: 协议版本号
  28312. in: query
  28313. name: agreementversion
  28314. type: integer
  28315. - description: 协议编号(模糊匹配)
  28316. in: query
  28317. name: agreementno
  28318. type: string
  28319. - description: 协议名称(模糊匹配)
  28320. in: query
  28321. name: agreementname
  28322. type: string
  28323. produces:
  28324. - application/json
  28325. responses:
  28326. "200":
  28327. description: OK
  28328. schema:
  28329. items:
  28330. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28331. type: array
  28332. "500":
  28333. description: Internal Server Error
  28334. schema:
  28335. $ref: '#/definitions/app.Response'
  28336. security:
  28337. - ApiKeyAuth: []
  28338. summary: 查询用户协议节点配置和状态
  28339. tags:
  28340. - 大连千海金(协议和签约信息)
  28341. /Quote/QueryHistoryDatas:
  28342. get:
  28343. parameters:
  28344. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28345. 日线 12:周线 13:月线 14:年线'
  28346. in: query
  28347. name: cycleType
  28348. required: true
  28349. type: integer
  28350. - description: 商品代码
  28351. in: query
  28352. name: goodsCode
  28353. required: true
  28354. type: string
  28355. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28356. in: query
  28357. name: startTime
  28358. type: string
  28359. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28360. in: query
  28361. name: endTime
  28362. type: string
  28363. - description: 条数
  28364. in: query
  28365. name: count
  28366. type: integer
  28367. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28368. in: query
  28369. name: isAsc
  28370. type: boolean
  28371. produces:
  28372. - application/json
  28373. responses:
  28374. "200":
  28375. description: OK
  28376. schema:
  28377. $ref: '#/definitions/quote.HistoryData'
  28378. "500":
  28379. description: Internal Server Error
  28380. schema:
  28381. $ref: '#/definitions/app.Response'
  28382. security:
  28383. - ApiKeyAuth: []
  28384. summary: 查询行情历史数据
  28385. tags:
  28386. - 行情服务
  28387. /Quote/QueryHistoryTikDatas:
  28388. get:
  28389. parameters:
  28390. - description: 商品代码
  28391. in: query
  28392. name: goodsCode
  28393. required: true
  28394. type: string
  28395. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28396. in: query
  28397. name: startTime
  28398. type: string
  28399. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28400. in: query
  28401. name: endTime
  28402. type: string
  28403. - description: 条数
  28404. in: query
  28405. name: count
  28406. type: integer
  28407. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28408. in: query
  28409. name: isAsc
  28410. type: boolean
  28411. produces:
  28412. - application/json
  28413. responses:
  28414. "200":
  28415. description: OK
  28416. schema:
  28417. $ref: '#/definitions/quote.HistoryTikData'
  28418. "500":
  28419. description: Internal Server Error
  28420. schema:
  28421. $ref: '#/definitions/app.Response'
  28422. security:
  28423. - ApiKeyAuth: []
  28424. summary: 查询行情Tik数据
  28425. tags:
  28426. - 行情服务
  28427. /Quote/QueryQuoteDay:
  28428. get:
  28429. parameters:
  28430. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28431. in: query
  28432. name: goodsCodes
  28433. type: string
  28434. produces:
  28435. - application/json
  28436. responses:
  28437. "200":
  28438. description: OK
  28439. schema:
  28440. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28441. "500":
  28442. description: Internal Server Error
  28443. schema:
  28444. $ref: '#/definitions/app.Response'
  28445. security:
  28446. - ApiKeyAuth: []
  28447. summary: 获取商品盘面信息
  28448. tags:
  28449. - 行情服务
  28450. /Quote/QueryTSData:
  28451. get:
  28452. parameters:
  28453. - description: 商品代码
  28454. in: query
  28455. name: goodsCode
  28456. required: true
  28457. type: string
  28458. produces:
  28459. - application/json
  28460. responses:
  28461. "200":
  28462. description: OK
  28463. schema:
  28464. $ref: '#/definitions/quote.QueryTSDataRsp'
  28465. "500":
  28466. description: Internal Server Error
  28467. schema:
  28468. $ref: '#/definitions/app.Response'
  28469. security:
  28470. - ApiKeyAuth: []
  28471. summary: 分时图数据查询
  28472. tags:
  28473. - 行情服务
  28474. /SZDZ/QueryConvertConfig:
  28475. get:
  28476. parameters:
  28477. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28478. 6:交易转花生米(不设置)
  28479. in: query
  28480. name: convertType
  28481. type: integer
  28482. - description: 外部商品代码[JD\PD]
  28483. in: query
  28484. name: outerGoodsCode
  28485. type: string
  28486. - description: 内部商品ID列表[交易],格式:1,2,3
  28487. in: query
  28488. name: innerGoodsIDs
  28489. type: string
  28490. produces:
  28491. - application/json
  28492. responses:
  28493. "200":
  28494. description: OK
  28495. schema:
  28496. $ref: '#/definitions/models.Szdz3convertconfig'
  28497. "500":
  28498. description: Internal Server Error
  28499. schema:
  28500. $ref: '#/definitions/app.Response'
  28501. security:
  28502. - ApiKeyAuth: []
  28503. summary: 查询交易系统转换设置
  28504. tags:
  28505. - 定制【尚志大宗】
  28506. /SZDZ/QueryConvertLog:
  28507. get:
  28508. parameters:
  28509. - description: 资金账户 - 格式:1,2,3
  28510. in: query
  28511. name: accountID
  28512. required: true
  28513. type: string
  28514. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28515. in: query
  28516. name: startDate
  28517. type: string
  28518. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28519. in: query
  28520. name: endDate
  28521. type: string
  28522. produces:
  28523. - application/json
  28524. responses:
  28525. "200":
  28526. description: OK
  28527. schema:
  28528. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  28529. "500":
  28530. description: Internal Server Error
  28531. schema:
  28532. $ref: '#/definitions/app.Response'
  28533. security:
  28534. - ApiKeyAuth: []
  28535. summary: 交易系统转换流水查询
  28536. tags:
  28537. - 定制【尚志大宗】
  28538. /SZDZ/QueryGoodsPickup:
  28539. get:
  28540. parameters:
  28541. - description: 资金账户 - 格式:1,2,3
  28542. in: query
  28543. name: accountID
  28544. required: true
  28545. type: string
  28546. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  28547. in: query
  28548. name: takeOrderStatus
  28549. type: integer
  28550. produces:
  28551. - application/json
  28552. responses:
  28553. "200":
  28554. description: OK
  28555. schema:
  28556. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  28557. "500":
  28558. description: Internal Server Error
  28559. schema:
  28560. $ref: '#/definitions/app.Response'
  28561. security:
  28562. - ApiKeyAuth: []
  28563. summary: 商品提货单查询
  28564. tags:
  28565. - 定制【尚志大宗】
  28566. /SZDZ/QueryRecieptOrder:
  28567. get:
  28568. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28569. parameters:
  28570. - description: 页码
  28571. in: query
  28572. name: page
  28573. type: integer
  28574. - description: 每页条数
  28575. in: query
  28576. name: pagesize
  28577. type: integer
  28578. - description: 商品ID
  28579. in: query
  28580. name: goodsID
  28581. required: true
  28582. type: integer
  28583. - description: 所属账户名称
  28584. in: query
  28585. name: accountName
  28586. type: string
  28587. - description: 市场ID
  28588. in: query
  28589. name: marketID
  28590. type: integer
  28591. - description: 方向 - 0:买 1:卖
  28592. in: query
  28593. name: buyorsell
  28594. required: true
  28595. type: integer
  28596. produces:
  28597. - application/json
  28598. responses:
  28599. "200":
  28600. description: OK
  28601. schema:
  28602. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  28603. "500":
  28604. description: Internal Server Error
  28605. schema:
  28606. $ref: '#/definitions/app.Response'
  28607. security:
  28608. - ApiKeyAuth: []
  28609. summary: 点选挂牌委托单据查询(摘牌大厅)
  28610. tags:
  28611. - 定制【尚志大宗】
  28612. /SZDZ/QuerySZDZTradePosition:
  28613. get:
  28614. parameters:
  28615. - description: 资金账户
  28616. in: query
  28617. name: accountID
  28618. required: true
  28619. type: integer
  28620. produces:
  28621. - application/json
  28622. responses:
  28623. "200":
  28624. description: OK
  28625. schema:
  28626. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  28627. "500":
  28628. description: Internal Server Error
  28629. schema:
  28630. $ref: '#/definitions/app.Response'
  28631. security:
  28632. - ApiKeyAuth: []
  28633. summary: 持仓汇总查询(尚志大宗)
  28634. tags:
  28635. - 定制【尚志大宗】
  28636. /SZDZ/SearchWhite:
  28637. get:
  28638. parameters:
  28639. - description: 用户ID
  28640. in: query
  28641. name: userID
  28642. required: true
  28643. type: integer
  28644. produces:
  28645. - application/json
  28646. responses:
  28647. "200":
  28648. description: OK
  28649. schema:
  28650. $ref: '#/definitions/models.Szdz3searchwhitelist'
  28651. "500":
  28652. description: Internal Server Error
  28653. schema:
  28654. $ref: '#/definitions/app.Response'
  28655. security:
  28656. - ApiKeyAuth: []
  28657. summary: 搜索白名单
  28658. tags:
  28659. - 定制【尚志大宗】
  28660. /Search/SearchGoodses:
  28661. get:
  28662. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  28663. parameters:
  28664. - description: 检索内容
  28665. in: query
  28666. name: content
  28667. required: true
  28668. type: string
  28669. - description: 交易模式,格式:1,2,3
  28670. in: query
  28671. name: tradeModes
  28672. type: string
  28673. produces:
  28674. - application/json
  28675. responses:
  28676. "200":
  28677. description: OK
  28678. schema:
  28679. $ref: '#/definitions/models.SearchGoods'
  28680. "500":
  28681. description: Internal Server Error
  28682. schema:
  28683. $ref: '#/definitions/app.Response'
  28684. summary: 检索商品信息
  28685. tags:
  28686. - 检索服务
  28687. /TaAccount/GetTaAccounts:
  28688. get:
  28689. parameters:
  28690. - description: 登录账户
  28691. in: query
  28692. name: loginID
  28693. required: true
  28694. type: integer
  28695. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  28696. in: query
  28697. name: taAccountType
  28698. type: integer
  28699. produces:
  28700. - application/json
  28701. responses:
  28702. "200":
  28703. description: OK
  28704. schema:
  28705. $ref: '#/definitions/models.Taaccount'
  28706. "500":
  28707. description: Internal Server Error
  28708. schema:
  28709. $ref: '#/definitions/app.Response'
  28710. security:
  28711. - ApiKeyAuth: []
  28712. summary: 获取资金账户信息
  28713. tags:
  28714. - 资金账户
  28715. /TaAccount/QueryAmountLog:
  28716. get:
  28717. parameters:
  28718. - description: 页码
  28719. in: query
  28720. name: page
  28721. type: integer
  28722. - description: 每页条数
  28723. in: query
  28724. name: pagesize
  28725. type: integer
  28726. - description: 资金账户 - 格式:1,2,3
  28727. in: query
  28728. name: accountID
  28729. required: true
  28730. type: string
  28731. - description: 资金操作类型 - 格式:1,2,3
  28732. in: query
  28733. name: OperateType
  28734. type: string
  28735. produces:
  28736. - application/json
  28737. responses:
  28738. "200":
  28739. description: OK
  28740. schema:
  28741. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  28742. "500":
  28743. description: Internal Server Error
  28744. schema:
  28745. $ref: '#/definitions/app.Response'
  28746. security:
  28747. - ApiKeyAuth: []
  28748. summary: 资金流水查询(当前)
  28749. tags:
  28750. - 资金账户
  28751. /TaAccount/QueryHisAmountLog:
  28752. get:
  28753. parameters:
  28754. - description: 页码
  28755. in: query
  28756. name: page
  28757. type: integer
  28758. - description: 每页条数
  28759. in: query
  28760. name: pagesize
  28761. type: integer
  28762. - description: 资金账户 - 格式:1,2,3
  28763. in: query
  28764. name: accountID
  28765. required: true
  28766. type: string
  28767. - description: 资金操作类型 - 格式:1,2,3
  28768. in: query
  28769. name: OperateType
  28770. type: string
  28771. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28772. in: query
  28773. name: startDate
  28774. type: string
  28775. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28776. in: query
  28777. name: endDate
  28778. type: string
  28779. produces:
  28780. - application/json
  28781. responses:
  28782. "200":
  28783. description: OK
  28784. schema:
  28785. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  28786. "500":
  28787. description: Internal Server Error
  28788. schema:
  28789. $ref: '#/definitions/app.Response'
  28790. security:
  28791. - ApiKeyAuth: []
  28792. summary: 资金流水查询(历史)
  28793. tags:
  28794. - 资金账户
  28795. /TaAccount/QueryRelatedTaAccount:
  28796. get:
  28797. parameters:
  28798. - description: 关联UserID
  28799. in: query
  28800. name: relateduserid
  28801. required: true
  28802. type: integer
  28803. produces:
  28804. - application/json
  28805. responses:
  28806. "200":
  28807. description: OK
  28808. schema:
  28809. items:
  28810. $ref: '#/definitions/models.RelatedTaAccount'
  28811. type: array
  28812. "500":
  28813. description: Internal Server Error
  28814. schema:
  28815. $ref: '#/definitions/app.Response'
  28816. security:
  28817. - ApiKeyAuth: []
  28818. summary: 查询关联资金账户信息
  28819. tags:
  28820. - 资金账户
  28821. /Tjmd/QueryQuoteGoodsList:
  28822. get:
  28823. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28824. parameters:
  28825. - description: 用户类型
  28826. in: query
  28827. name: usertype
  28828. required: true
  28829. type: integer
  28830. - description: 市场id, 格式 1,2,3
  28831. in: query
  28832. name: marketids
  28833. type: string
  28834. - description: 商品组id
  28835. in: query
  28836. name: goodsgroupid
  28837. type: integer
  28838. - description: 商品id
  28839. in: query
  28840. name: goodsid
  28841. type: integer
  28842. produces:
  28843. - application/json
  28844. responses:
  28845. "200":
  28846. description: OK
  28847. schema:
  28848. items:
  28849. $ref: '#/definitions/models.TjmdQuoteGoods'
  28850. type: array
  28851. "500":
  28852. description: Internal Server Error
  28853. schema:
  28854. $ref: '#/definitions/app.Response'
  28855. security:
  28856. - ApiKeyAuth: []
  28857. summary: 查询掉期报价列表
  28858. tags:
  28859. - 天津麦顿
  28860. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28861. get:
  28862. parameters:
  28863. - description: 成交单号
  28864. in: query
  28865. name: tradeid
  28866. required: true
  28867. type: string
  28868. produces:
  28869. - application/json
  28870. responses:
  28871. "200":
  28872. description: OK
  28873. schema:
  28874. items:
  28875. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28876. type: array
  28877. "500":
  28878. description: Internal Server Error
  28879. schema:
  28880. $ref: '#/definitions/app.Response'
  28881. security:
  28882. - ApiKeyAuth: []
  28883. summary: 掉期商品订单详情(交易确认书)
  28884. tags:
  28885. - 天津麦顿
  28886. /Tjmd/QueryTjmdMarketSection:
  28887. get:
  28888. produces:
  28889. - application/json
  28890. responses:
  28891. "200":
  28892. description: OK
  28893. schema:
  28894. items:
  28895. $ref: '#/definitions/models.TjmdMarketSection'
  28896. type: array
  28897. "500":
  28898. description: Internal Server Error
  28899. schema:
  28900. $ref: '#/definitions/app.Response'
  28901. security:
  28902. - ApiKeyAuth: []
  28903. summary: 查询市场板块
  28904. tags:
  28905. - 天津麦顿
  28906. /Tjmd/QueryTjmdTodayAccountMargin:
  28907. get:
  28908. parameters:
  28909. - description: 市场id
  28910. in: query
  28911. name: marketid
  28912. type: string
  28913. - description: 商品id
  28914. in: query
  28915. name: goodsid
  28916. type: string
  28917. - description: 资金账号
  28918. in: query
  28919. name: accountid
  28920. type: string
  28921. produces:
  28922. - application/json
  28923. responses:
  28924. "200":
  28925. description: OK
  28926. schema:
  28927. items:
  28928. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28929. type: array
  28930. "500":
  28931. description: Internal Server Error
  28932. schema:
  28933. $ref: '#/definitions/app.Response'
  28934. security:
  28935. - ApiKeyAuth: []
  28936. summary: 查询今日账户保证金配置
  28937. tags:
  28938. - 天津麦顿
  28939. /Tjmd/QueryTjmdTradeOrderDetail:
  28940. get:
  28941. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28942. parameters:
  28943. - description: 页码
  28944. in: query
  28945. name: page
  28946. type: integer
  28947. - description: 每页条数
  28948. in: query
  28949. name: pagesize
  28950. type: integer
  28951. - description: 用户id
  28952. in: query
  28953. name: userid
  28954. required: true
  28955. type: integer
  28956. - description: 用户类型
  28957. in: query
  28958. name: usertype
  28959. required: true
  28960. type: integer
  28961. - description: 市场id, 格式 1,2,3
  28962. in: query
  28963. name: marketids
  28964. type: string
  28965. - description: 商品id
  28966. in: query
  28967. name: goodsid
  28968. required: true
  28969. type: integer
  28970. - description: 买卖方向 0-买 1-卖
  28971. in: query
  28972. name: buyorsell
  28973. required: true
  28974. type: integer
  28975. produces:
  28976. - application/json
  28977. responses:
  28978. "200":
  28979. description: OK
  28980. schema:
  28981. items:
  28982. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28983. type: array
  28984. "500":
  28985. description: Internal Server Error
  28986. schema:
  28987. $ref: '#/definitions/app.Response'
  28988. security:
  28989. - ApiKeyAuth: []
  28990. summary: 查询掉期买卖大厅
  28991. tags:
  28992. - 天津麦顿
  28993. /Tjmd/QueryTjmdTransferApply:
  28994. get:
  28995. parameters:
  28996. - description: 类型 1-我的申请 2-对方申请
  28997. in: query
  28998. name: applytype
  28999. required: true
  29000. type: integer
  29001. - description: 市场id, 格式 1,2,3
  29002. in: query
  29003. name: marketids
  29004. type: string
  29005. - description: 资金账号, 格式 25000000001,25000000003
  29006. in: query
  29007. name: accountids
  29008. type: string
  29009. - description: 开始交易日(yyyymmdd)
  29010. in: query
  29011. name: begindate
  29012. type: string
  29013. - description: 结束交易日(yyyymmdd)
  29014. in: query
  29015. name: enddate
  29016. type: string
  29017. produces:
  29018. - application/json
  29019. responses:
  29020. "200":
  29021. description: OK
  29022. schema:
  29023. items:
  29024. $ref: '#/definitions/models.TjmdTransferApply'
  29025. type: array
  29026. "500":
  29027. description: Internal Server Error
  29028. schema:
  29029. $ref: '#/definitions/app.Response'
  29030. security:
  29031. - ApiKeyAuth: []
  29032. summary: 查询掉期协议单
  29033. tags:
  29034. - 天津麦顿
  29035. /Trade/QueryRecieptOrder:
  29036. get:
  29037. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29038. parameters:
  29039. - description: 页码
  29040. in: query
  29041. name: page
  29042. type: integer
  29043. - description: 每页条数
  29044. in: query
  29045. name: pagesize
  29046. type: integer
  29047. - description: 商品ID
  29048. in: query
  29049. name: goodsID
  29050. required: true
  29051. type: integer
  29052. - description: 所属账户名称
  29053. in: query
  29054. name: accountName
  29055. type: string
  29056. - description: 市场ID
  29057. in: query
  29058. name: marketID
  29059. type: integer
  29060. - description: 方向 - 0:买 1:卖
  29061. in: query
  29062. name: buyorsell
  29063. required: true
  29064. type: integer
  29065. produces:
  29066. - application/json
  29067. responses:
  29068. "200":
  29069. description: OK
  29070. schema:
  29071. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29072. "500":
  29073. description: Internal Server Error
  29074. schema:
  29075. $ref: '#/definitions/app.Response'
  29076. security:
  29077. - ApiKeyAuth: []
  29078. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29079. tags:
  29080. - 通用交易
  29081. /User/AddMessageBoard:
  29082. post:
  29083. parameters:
  29084. - description: 用户ID
  29085. in: query
  29086. name: userID
  29087. required: true
  29088. type: integer
  29089. - description: 留言信息
  29090. in: query
  29091. name: message
  29092. required: true
  29093. type: string
  29094. - description: 联系电话
  29095. in: query
  29096. name: contactNum
  29097. required: true
  29098. type: string
  29099. produces:
  29100. - application/json
  29101. responses:
  29102. "200":
  29103. description: OK
  29104. schema:
  29105. $ref: '#/definitions/app.Response'
  29106. "500":
  29107. description: Internal Server Error
  29108. schema:
  29109. $ref: '#/definitions/app.Response'
  29110. security:
  29111. - ApiKeyAuth: []
  29112. summary: 添加用户留言板信息
  29113. tags:
  29114. - 用户信息
  29115. /User/AddUserFavoriteGoods:
  29116. post:
  29117. parameters:
  29118. - description: 用户ID
  29119. in: query
  29120. name: userID
  29121. required: true
  29122. type: integer
  29123. - description: 商品ID
  29124. in: query
  29125. name: goodsID
  29126. required: true
  29127. type: integer
  29128. produces:
  29129. - application/json
  29130. responses:
  29131. "200":
  29132. description: OK
  29133. schema:
  29134. $ref: '#/definitions/app.Response'
  29135. "500":
  29136. description: Internal Server Error
  29137. schema:
  29138. $ref: '#/definitions/app.Response'
  29139. security:
  29140. - ApiKeyAuth: []
  29141. summary: 添加用户商品收藏信息
  29142. tags:
  29143. - 用户信息
  29144. /User/GetLoginID:
  29145. get:
  29146. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29147. parameters:
  29148. - description: 登录代码
  29149. in: query
  29150. name: username
  29151. required: true
  29152. type: string
  29153. produces:
  29154. - application/json
  29155. responses:
  29156. "200":
  29157. description: OK
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. "500":
  29161. description: Internal Server Error
  29162. schema:
  29163. $ref: '#/definitions/app.Response'
  29164. summary: 获取登录ID
  29165. tags:
  29166. - 用户信息
  29167. /User/GetUserAccount:
  29168. get:
  29169. parameters:
  29170. - description: 用户ID
  29171. in: query
  29172. name: userID
  29173. required: true
  29174. type: integer
  29175. produces:
  29176. - application/json
  29177. responses:
  29178. "200":
  29179. description: OK
  29180. schema:
  29181. $ref: '#/definitions/models.Useraccount'
  29182. "500":
  29183. description: Internal Server Error
  29184. schema:
  29185. $ref: '#/definitions/app.Response'
  29186. security:
  29187. - ApiKeyAuth: []
  29188. summary: 获取用户账号信息
  29189. tags:
  29190. - 用户信息
  29191. /User/GetUserAuthStatus:
  29192. get:
  29193. parameters:
  29194. - description: 用户ID
  29195. in: query
  29196. name: userID
  29197. required: true
  29198. type: integer
  29199. produces:
  29200. - application/json
  29201. responses:
  29202. "200":
  29203. description: OK
  29204. schema:
  29205. $ref: '#/definitions/app.Response'
  29206. "500":
  29207. description: Internal Server Error
  29208. schema:
  29209. $ref: '#/definitions/app.Response'
  29210. security:
  29211. - ApiKeyAuth: []
  29212. summary: 获取用户实名认证状态
  29213. tags:
  29214. - 用户信息
  29215. /User/LoginQuery:
  29216. get:
  29217. parameters:
  29218. - description: 登录账号
  29219. in: query
  29220. name: loginID
  29221. required: true
  29222. type: integer
  29223. produces:
  29224. - application/json
  29225. responses:
  29226. "200":
  29227. description: OK
  29228. schema:
  29229. $ref: '#/definitions/user.LoginQueryRsp'
  29230. "500":
  29231. description: Internal Server Error
  29232. schema:
  29233. $ref: '#/definitions/app.Response'
  29234. security:
  29235. - ApiKeyAuth: []
  29236. summary: 账户登录后信息查询
  29237. tags:
  29238. - 用户信息
  29239. /User/QueryMessageBoard:
  29240. get:
  29241. parameters:
  29242. - description: 用户ID
  29243. in: query
  29244. name: userID
  29245. required: true
  29246. type: integer
  29247. produces:
  29248. - application/json
  29249. responses:
  29250. "200":
  29251. description: OK
  29252. schema:
  29253. $ref: '#/definitions/models.Messageboard'
  29254. "500":
  29255. description: Internal Server Error
  29256. schema:
  29257. $ref: '#/definitions/app.Response'
  29258. security:
  29259. - ApiKeyAuth: []
  29260. summary: 获取用户留言板信息
  29261. tags:
  29262. - 用户信息
  29263. /User/QueryUserFavoriteGoodses:
  29264. get:
  29265. parameters:
  29266. - description: 用户ID
  29267. in: query
  29268. name: userID
  29269. required: true
  29270. type: integer
  29271. produces:
  29272. - application/json
  29273. responses:
  29274. "200":
  29275. description: OK
  29276. schema:
  29277. $ref: '#/definitions/models.Userfavoritegoods'
  29278. "500":
  29279. description: Internal Server Error
  29280. schema:
  29281. $ref: '#/definitions/app.Response'
  29282. security:
  29283. - ApiKeyAuth: []
  29284. summary: 获取用户商品收藏信息
  29285. tags:
  29286. - 用户信息
  29287. /User/QueryUserInfo:
  29288. get:
  29289. parameters:
  29290. - description: 用户ID
  29291. in: query
  29292. name: userID
  29293. required: true
  29294. type: integer
  29295. - description: 是否解密
  29296. in: query
  29297. name: isDecrypt
  29298. type: boolean
  29299. produces:
  29300. - application/json
  29301. responses:
  29302. "200":
  29303. description: OK
  29304. schema:
  29305. $ref: '#/definitions/models.Userinfo'
  29306. "500":
  29307. description: Internal Server Error
  29308. schema:
  29309. $ref: '#/definitions/app.Response'
  29310. security:
  29311. - ApiKeyAuth: []
  29312. summary: 获取用户信息
  29313. tags:
  29314. - 用户信息
  29315. /User/QueryUserReferNum:
  29316. get:
  29317. parameters:
  29318. - description: 用户ID
  29319. in: query
  29320. name: userID
  29321. required: true
  29322. type: integer
  29323. produces:
  29324. - application/json
  29325. responses:
  29326. "200":
  29327. description: OK
  29328. schema:
  29329. $ref: '#/definitions/app.Response'
  29330. "500":
  29331. description: Internal Server Error
  29332. schema:
  29333. $ref: '#/definitions/app.Response'
  29334. summary: 获取用户邀请码
  29335. tags:
  29336. - 用户信息
  29337. /User/RemoveUserFavoriteGoods:
  29338. post:
  29339. parameters:
  29340. - description: 用户ID
  29341. in: query
  29342. name: userID
  29343. required: true
  29344. type: integer
  29345. - description: 商品ID
  29346. in: query
  29347. name: goodsID
  29348. required: true
  29349. type: integer
  29350. produces:
  29351. - application/json
  29352. responses:
  29353. "200":
  29354. description: OK
  29355. schema:
  29356. $ref: '#/definitions/app.Response'
  29357. "500":
  29358. description: Internal Server Error
  29359. schema:
  29360. $ref: '#/definitions/app.Response'
  29361. security:
  29362. - ApiKeyAuth: []
  29363. summary: 移除用户商品收藏信息
  29364. tags:
  29365. - 用户信息
  29366. /User/UpdateUserAccountStatus:
  29367. post:
  29368. parameters:
  29369. - description: 用户ID
  29370. in: query
  29371. name: userID
  29372. required: true
  29373. type: integer
  29374. - description: 账户状态 - 4:正常 6:注销(停用)
  29375. in: query
  29376. name: accountStatus
  29377. required: true
  29378. type: integer
  29379. produces:
  29380. - application/json
  29381. responses:
  29382. "200":
  29383. description: OK
  29384. schema:
  29385. $ref: '#/definitions/app.Response'
  29386. "500":
  29387. description: Internal Server Error
  29388. schema:
  29389. $ref: '#/definitions/app.Response'
  29390. security:
  29391. - ApiKeyAuth: []
  29392. summary: 更新用户状态
  29393. tags:
  29394. - 用户信息
  29395. /WRTrade/GetAllDeliveryGoods:
  29396. get:
  29397. produces:
  29398. - application/json
  29399. responses:
  29400. "200":
  29401. description: OK
  29402. schema:
  29403. $ref: '#/definitions/app.Response'
  29404. "500":
  29405. description: Internal Server Error
  29406. schema:
  29407. $ref: '#/definitions/app.Response'
  29408. security:
  29409. - ApiKeyAuth: []
  29410. summary: 获取带仓单分类的种类信息
  29411. tags:
  29412. - 仓单贸易
  29413. - 仓单贸易
  29414. /WrTrade2/InsertXhcpSellBackApply:
  29415. post:
  29416. parameters:
  29417. - description: 回收申请
  29418. in: body
  29419. name: jsonBody
  29420. required: true
  29421. schema:
  29422. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29423. produces:
  29424. - application/json
  29425. responses:
  29426. "200":
  29427. description: OK
  29428. schema:
  29429. $ref: '#/definitions/app.Response'
  29430. "500":
  29431. description: Internal Server Error
  29432. schema:
  29433. $ref: '#/definitions/app.Response'
  29434. security:
  29435. - ApiKeyAuth: []
  29436. summary: 新增回收申请(新会陈皮)
  29437. tags:
  29438. - 仓单贸易v2
  29439. /WrTrade2/QueryDeliveryGoodsSection:
  29440. get:
  29441. produces:
  29442. - application/json
  29443. responses:
  29444. "200":
  29445. description: OK
  29446. schema:
  29447. items:
  29448. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29449. type: array
  29450. "500":
  29451. description: Internal Server Error
  29452. schema:
  29453. $ref: '#/definitions/app.Response'
  29454. security:
  29455. - ApiKeyAuth: []
  29456. summary: 查询板块(分类)
  29457. tags:
  29458. - 仓单贸易v2
  29459. /WrTrade2/QueryFaProductDetail:
  29460. get:
  29461. description: 页面 买卖大厅 -> 选择融资方案
  29462. parameters:
  29463. - description: 仓单要素id
  29464. in: query
  29465. name: wrfactortypeid
  29466. required: true
  29467. type: integer
  29468. produces:
  29469. - application/json
  29470. responses:
  29471. "200":
  29472. description: OK
  29473. schema:
  29474. items:
  29475. $ref: '#/definitions/models.WrFAProductDetail'
  29476. type: array
  29477. "500":
  29478. description: Internal Server Error
  29479. schema:
  29480. $ref: '#/definitions/app.Response'
  29481. security:
  29482. - ApiKeyAuth: []
  29483. summary: 查询融资产品列表
  29484. tags:
  29485. - 仓单贸易v2
  29486. /WrTrade2/QueryFilterItem:
  29487. get:
  29488. parameters:
  29489. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29490. in: query
  29491. name: itype
  29492. required: true
  29493. type: string
  29494. produces:
  29495. - application/json
  29496. responses:
  29497. "200":
  29498. description: OK
  29499. schema:
  29500. items:
  29501. $ref: '#/definitions/models.WrFilterItem'
  29502. type: array
  29503. "500":
  29504. description: Internal Server Error
  29505. schema:
  29506. $ref: '#/definitions/app.Response'
  29507. security:
  29508. - ApiKeyAuth: []
  29509. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  29510. tags:
  29511. - 仓单贸易v2
  29512. /WrTrade2/QueryFtDeliveryGoods:
  29513. get:
  29514. produces:
  29515. - application/json
  29516. responses:
  29517. "200":
  29518. description: OK
  29519. schema:
  29520. items:
  29521. $ref: '#/definitions/models.WrFtDeliveryGoods'
  29522. type: array
  29523. "500":
  29524. description: Internal Server Error
  29525. schema:
  29526. $ref: '#/definitions/app.Response'
  29527. security:
  29528. - ApiKeyAuth: []
  29529. summary: 查询品种品类筛选框列表
  29530. tags:
  29531. - 仓单贸易v2
  29532. /WrTrade2/QueryHoldLB:
  29533. get:
  29534. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  29535. parameters:
  29536. - description: 资金账号
  29537. in: query
  29538. name: accountid
  29539. required: true
  29540. type: integer
  29541. - description: 仓库id
  29542. in: query
  29543. name: warehouseid
  29544. type: integer
  29545. - description: 品种id
  29546. in: query
  29547. name: deliverygoodsid
  29548. type: integer
  29549. - description: 品类id
  29550. in: query
  29551. name: wrstandardid
  29552. type: integer
  29553. - description: 仓单要素id
  29554. in: query
  29555. name: wrfactortypeid
  29556. type: integer
  29557. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29558. in: query
  29559. name: dgitemname
  29560. type: string
  29561. produces:
  29562. - application/json
  29563. responses:
  29564. "200":
  29565. description: OK
  29566. schema:
  29567. items:
  29568. $ref: '#/definitions/models.WrHoldLB'
  29569. type: array
  29570. "500":
  29571. description: Internal Server Error
  29572. schema:
  29573. $ref: '#/definitions/app.Response'
  29574. security:
  29575. - ApiKeyAuth: []
  29576. summary: 查询仓单持有记录
  29577. tags:
  29578. - 仓单贸易v2
  29579. /WrTrade2/QueryOrderQuote:
  29580. get:
  29581. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  29582. 唯一确定1条记录
  29583. parameters:
  29584. - description: 页码
  29585. in: query
  29586. name: page
  29587. type: integer
  29588. - description: 每页条数
  29589. in: query
  29590. name: pagesize
  29591. type: integer
  29592. - description: 仓单贸易市场id
  29593. in: query
  29594. name: marketid
  29595. type: integer
  29596. - description: 价格方式 - 1:固定价 2-浮动价
  29597. in: query
  29598. name: wrpricetype
  29599. required: true
  29600. type: integer
  29601. - description: 0:仓单预售 1:仓单贸易
  29602. in: query
  29603. name: haswr
  29604. type: integer
  29605. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29606. in: query
  29607. name: dgitemname
  29608. type: string
  29609. - description: 仓库id(筛选条件)
  29610. in: query
  29611. name: warehouseid
  29612. type: integer
  29613. - description: 品种id
  29614. in: query
  29615. name: deliverygoodsid
  29616. type: integer
  29617. - description: 品类id
  29618. in: query
  29619. name: wrstandardid
  29620. type: integer
  29621. - description: 品牌id(dgfactoryitemid)
  29622. in: query
  29623. name: brandid
  29624. type: integer
  29625. - description: 年份id(dgfactoryitemid)
  29626. in: query
  29627. name: yearsid
  29628. type: integer
  29629. - description: 仓单要素id
  29630. in: query
  29631. name: wrfactortypeid
  29632. type: integer
  29633. - description: 交收月(yyyy-mm) 仓单预售填写
  29634. in: query
  29635. name: deliverymonth
  29636. type: string
  29637. produces:
  29638. - application/json
  29639. responses:
  29640. "200":
  29641. description: OK
  29642. schema:
  29643. items:
  29644. $ref: '#/definitions/models.WrOrderQuote'
  29645. type: array
  29646. "500":
  29647. description: Internal Server Error
  29648. schema:
  29649. $ref: '#/definitions/app.Response'
  29650. security:
  29651. - ApiKeyAuth: []
  29652. summary: 查询大厅行情列表
  29653. tags:
  29654. - 仓单贸易v2
  29655. /WrTrade2/QueryOrderQuoteDetail:
  29656. get:
  29657. parameters:
  29658. - description: 页码
  29659. in: query
  29660. name: page
  29661. type: integer
  29662. - description: 每页条数
  29663. in: query
  29664. name: pagesize
  29665. type: integer
  29666. - description: 仓单贸易市场id
  29667. in: query
  29668. name: marketid
  29669. type: integer
  29670. - description: 价格方式 - 1:固定价 2-浮动价
  29671. in: query
  29672. name: wrpricetype
  29673. required: true
  29674. type: integer
  29675. - description: 0:仓单预售 1:仓单贸易
  29676. in: query
  29677. name: haswr
  29678. type: integer
  29679. - description: 仓单要素id
  29680. in: query
  29681. name: wrfactortypeid
  29682. required: true
  29683. type: integer
  29684. - description: 期货商品id(浮动价方式时填)
  29685. in: query
  29686. name: goodsid
  29687. type: integer
  29688. - description: 买卖方向 0-买 1-卖
  29689. in: query
  29690. name: buyorsell
  29691. required: true
  29692. type: integer
  29693. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  29694. in: query
  29695. name: deliverymonth
  29696. type: string
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.WrOrderQuoteDetail'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 查询买卖大厅
  29713. tags:
  29714. - 仓单贸易v2
  29715. /WrTrade2/QueryOrderQuoteMyq:
  29716. get:
  29717. parameters:
  29718. - description: 页码
  29719. in: query
  29720. name: page
  29721. type: integer
  29722. - description: 每页条数
  29723. in: query
  29724. name: pagesize
  29725. type: integer
  29726. - description: 用户id
  29727. in: query
  29728. name: userid
  29729. required: true
  29730. type: integer
  29731. - description: 仓单贸易市场id
  29732. in: query
  29733. name: marketid
  29734. type: integer
  29735. - description: 0:仓单预售 1:仓单贸易
  29736. in: query
  29737. name: haswr
  29738. type: integer
  29739. - description: 买卖方向 0-买 1-卖
  29740. in: query
  29741. name: buyorsell
  29742. required: true
  29743. type: integer
  29744. - description: 品种id
  29745. in: query
  29746. name: deliverygoodsid
  29747. type: integer
  29748. - description: 品类id
  29749. in: query
  29750. name: wrstandardid
  29751. type: integer
  29752. - description: 交收月(yyyy-mm) 仓单预售填写
  29753. in: query
  29754. name: deliverymonth
  29755. type: string
  29756. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29757. in: query
  29758. name: dgitemname
  29759. type: string
  29760. produces:
  29761. - application/json
  29762. responses:
  29763. "200":
  29764. description: OK
  29765. schema:
  29766. items:
  29767. $ref: '#/definitions/models.WrQuoteOrderMyq'
  29768. type: array
  29769. "500":
  29770. description: Internal Server Error
  29771. schema:
  29772. $ref: '#/definitions/app.Response'
  29773. security:
  29774. - ApiKeyAuth: []
  29775. summary: 查询贸易圈挂牌大厅
  29776. tags:
  29777. - 仓单贸易v2
  29778. /WrTrade2/QueryPerformancePlan:
  29779. get:
  29780. parameters:
  29781. - description: 用户id
  29782. in: query
  29783. name: userid
  29784. required: true
  29785. type: integer
  29786. - description: 买卖方向 0-买 1-卖
  29787. in: query
  29788. name: buyorsell
  29789. required: true
  29790. type: integer
  29791. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  29792. 8:释放冻结失败 9:超时待处理 10:超时关闭
  29793. in: query
  29794. name: status
  29795. type: string
  29796. - description: 开始交易日(yyyymmdd)
  29797. in: query
  29798. name: begindate
  29799. type: string
  29800. - description: 结束交易日(yyyymmdd)
  29801. in: query
  29802. name: enddate
  29803. type: string
  29804. produces:
  29805. - application/json
  29806. responses:
  29807. "200":
  29808. description: OK
  29809. schema:
  29810. items:
  29811. $ref: '#/definitions/models.WrPerformancePlan'
  29812. type: array
  29813. "500":
  29814. description: Internal Server Error
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. security:
  29818. - ApiKeyAuth: []
  29819. summary: 查询履约信息
  29820. tags:
  29821. - 仓单贸易v2
  29822. /WrTrade2/QueryPermancePlanTmp:
  29823. get:
  29824. description: |-
  29825. 返回指定用户的模板和公共模板(用户id为空)
  29826. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29827. parameters:
  29828. - description: 用户id
  29829. in: query
  29830. name: userid
  29831. type: integer
  29832. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29833. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29834. in: query
  29835. name: tmptype
  29836. type: string
  29837. - description: 是否包含公共模板(用户id为空的) 1-包含
  29838. in: query
  29839. name: includepub
  29840. type: integer
  29841. - description: 市场id(天津麦顿指定此参数,其它不用)
  29842. in: query
  29843. name: marketid
  29844. type: integer
  29845. produces:
  29846. - application/json
  29847. responses:
  29848. "200":
  29849. description: OK
  29850. schema:
  29851. items:
  29852. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29853. type: array
  29854. "500":
  29855. description: Internal Server Error
  29856. schema:
  29857. $ref: '#/definitions/app.Response'
  29858. security:
  29859. - ApiKeyAuth: []
  29860. summary: 查询履约模板
  29861. tags:
  29862. - 仓单贸易v2
  29863. /WrTrade2/QuerySiteColumnDetail:
  29864. get:
  29865. parameters:
  29866. - description: 页码
  29867. in: query
  29868. name: page
  29869. type: integer
  29870. - description: 每页条数
  29871. in: query
  29872. name: pagesize
  29873. type: integer
  29874. - description: 所属栏目id
  29875. in: query
  29876. name: columnid
  29877. type: integer
  29878. produces:
  29879. - application/json
  29880. responses:
  29881. "200":
  29882. description: OK
  29883. schema:
  29884. items:
  29885. $ref: '#/definitions/models.WrSiteColumnDetail'
  29886. type: array
  29887. "500":
  29888. description: Internal Server Error
  29889. schema:
  29890. $ref: '#/definitions/app.Response'
  29891. security:
  29892. - ApiKeyAuth: []
  29893. summary: 查询资讯
  29894. tags:
  29895. - 仓单贸易v2
  29896. /WrTrade2/QuerySpotGroupTradeSum:
  29897. get:
  29898. produces:
  29899. - application/json
  29900. responses:
  29901. "200":
  29902. description: OK
  29903. schema:
  29904. items:
  29905. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29906. type: array
  29907. "500":
  29908. description: Internal Server Error
  29909. schema:
  29910. $ref: '#/definitions/app.Response'
  29911. security:
  29912. - ApiKeyAuth: []
  29913. summary: 查询指数
  29914. tags:
  29915. - 仓单贸易v2
  29916. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29917. get:
  29918. description: 查询的结果将会按日期 从小到大 排序
  29919. parameters:
  29920. - description: 现货商品id
  29921. in: query
  29922. name: deliverygoodsid
  29923. required: true
  29924. type: integer
  29925. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29926. in: query
  29927. name: lastnum
  29928. type: integer
  29929. produces:
  29930. - application/json
  29931. responses:
  29932. "200":
  29933. description: OK
  29934. schema:
  29935. items:
  29936. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29937. type: array
  29938. "500":
  29939. description: Internal Server Error
  29940. schema:
  29941. $ref: '#/definitions/app.Response'
  29942. security:
  29943. - ApiKeyAuth: []
  29944. summary: 查询指数详细(价格走势图)
  29945. tags:
  29946. - 仓单贸易v2
  29947. /WrTrade2/QueryWrAverageTradePrice:
  29948. get:
  29949. parameters:
  29950. - description: 页码
  29951. in: query
  29952. name: page
  29953. type: integer
  29954. - description: 每页条数
  29955. in: query
  29956. name: pagesize
  29957. type: integer
  29958. - description: 0:仓单预售 1:仓单贸易
  29959. in: query
  29960. name: haswr
  29961. required: true
  29962. type: integer
  29963. - description: 仓单要素id
  29964. in: query
  29965. name: wrfactortypeid
  29966. required: true
  29967. type: integer
  29968. produces:
  29969. - application/json
  29970. responses:
  29971. "200":
  29972. description: OK
  29973. schema:
  29974. items:
  29975. $ref: '#/definitions/models.WrAverageTradePrice'
  29976. type: array
  29977. "500":
  29978. description: Internal Server Error
  29979. schema:
  29980. $ref: '#/definitions/app.Response'
  29981. security:
  29982. - ApiKeyAuth: []
  29983. summary: 查询成交价(历史走势)
  29984. tags:
  29985. - 仓单贸易v2
  29986. /WrTrade2/QueryWrBrandAndYears:
  29987. get:
  29988. produces:
  29989. - application/json
  29990. responses:
  29991. "200":
  29992. description: OK
  29993. schema:
  29994. items:
  29995. $ref: '#/definitions/models.WrBrandAndYears'
  29996. type: array
  29997. "500":
  29998. description: Internal Server Error
  29999. schema:
  30000. $ref: '#/definitions/app.Response'
  30001. security:
  30002. - ApiKeyAuth: []
  30003. summary: 查询品牌和年份
  30004. tags:
  30005. - 仓单贸易v2
  30006. /WrTrade2/QueryWrBsGoodsInfo:
  30007. get:
  30008. description: 合约交易/买卖大厅/详情
  30009. parameters:
  30010. - description: 商品id
  30011. in: query
  30012. name: goodsid
  30013. required: true
  30014. type: integer
  30015. produces:
  30016. - application/json
  30017. responses:
  30018. "200":
  30019. description: OK
  30020. schema:
  30021. items:
  30022. $ref: '#/definitions/models.WrBsGoodsInfo'
  30023. type: array
  30024. "500":
  30025. description: Internal Server Error
  30026. schema:
  30027. $ref: '#/definitions/app.Response'
  30028. security:
  30029. - ApiKeyAuth: []
  30030. summary: 查询合约交易买卖大厅详情
  30031. tags:
  30032. - 仓单贸易v2
  30033. /WrTrade2/QueryWrBuybackDetail:
  30034. get:
  30035. parameters:
  30036. - description: 融资合同id
  30037. in: query
  30038. name: scfcontractid
  30039. type: integer
  30040. produces:
  30041. - application/json
  30042. responses:
  30043. "200":
  30044. description: OK
  30045. schema:
  30046. items:
  30047. $ref: '#/definitions/models.WrBuybackDetail'
  30048. type: array
  30049. "500":
  30050. description: Internal Server Error
  30051. schema:
  30052. $ref: '#/definitions/app.Response'
  30053. security:
  30054. - ApiKeyAuth: []
  30055. summary: 查询仓单回购明细
  30056. tags:
  30057. - 仓单贸易v2
  30058. /WrTrade2/QueryWrClientAdSpaceConfig:
  30059. get:
  30060. produces:
  30061. - application/json
  30062. responses:
  30063. "200":
  30064. description: OK
  30065. schema:
  30066. items:
  30067. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30068. type: array
  30069. "500":
  30070. description: Internal Server Error
  30071. schema:
  30072. $ref: '#/definitions/app.Response'
  30073. security:
  30074. - ApiKeyAuth: []
  30075. summary: 查询固定广告配置
  30076. tags:
  30077. - 仓单贸易v2
  30078. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30079. get:
  30080. parameters:
  30081. - description: 资金账号
  30082. in: query
  30083. name: accountid
  30084. required: true
  30085. type: integer
  30086. - description: 商品id
  30087. in: query
  30088. name: goodsid
  30089. required: true
  30090. type: integer
  30091. produces:
  30092. - application/json
  30093. responses:
  30094. "200":
  30095. description: OK
  30096. schema:
  30097. items:
  30098. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30099. type: array
  30100. "500":
  30101. description: Internal Server Error
  30102. schema:
  30103. $ref: '#/definitions/app.Response'
  30104. security:
  30105. - ApiKeyAuth: []
  30106. summary: 查询合约交收可点选仓单
  30107. tags:
  30108. - 仓单贸易v2
  30109. /WrTrade2/QueryWrDeliveryDetail:
  30110. get:
  30111. parameters:
  30112. - description: 用户id
  30113. in: query
  30114. name: userid
  30115. required: true
  30116. type: integer
  30117. - description: 资金账号id
  30118. in: query
  30119. name: accountid
  30120. type: integer
  30121. - description: 开始交易日(yyyymmdd)
  30122. in: query
  30123. name: begindate
  30124. type: string
  30125. - description: 结束交易日(yyyymmdd)
  30126. in: query
  30127. name: enddate
  30128. type: string
  30129. produces:
  30130. - application/json
  30131. responses:
  30132. "200":
  30133. description: OK
  30134. schema:
  30135. items:
  30136. $ref: '#/definitions/models.WrDeliveryDetail'
  30137. type: array
  30138. "500":
  30139. description: Internal Server Error
  30140. schema:
  30141. $ref: '#/definitions/app.Response'
  30142. security:
  30143. - ApiKeyAuth: []
  30144. summary: 查询交收
  30145. tags:
  30146. - 仓单贸易v2
  30147. /WrTrade2/QueryWrDraftUserInfo:
  30148. get:
  30149. parameters:
  30150. - description: 用户ID
  30151. in: query
  30152. name: userid
  30153. required: true
  30154. type: integer
  30155. - description: 用户状态 1:正常 2:注销
  30156. in: query
  30157. name: userstatus
  30158. type: integer
  30159. produces:
  30160. - application/json
  30161. responses:
  30162. "200":
  30163. description: OK
  30164. schema:
  30165. items:
  30166. $ref: '#/definitions/models.WrDraftUserInfo'
  30167. type: array
  30168. "500":
  30169. description: Internal Server Error
  30170. schema:
  30171. $ref: '#/definitions/app.Response'
  30172. security:
  30173. - ApiKeyAuth: []
  30174. summary: 查询实名认证信息
  30175. tags:
  30176. - 仓单贸易v2
  30177. /WrTrade2/QueryWrFactorTypeInfo:
  30178. get:
  30179. parameters:
  30180. - description: 仓单要素id
  30181. in: query
  30182. name: wrfactortypeid
  30183. required: true
  30184. type: integer
  30185. produces:
  30186. - application/json
  30187. responses:
  30188. "200":
  30189. description: OK
  30190. schema:
  30191. items:
  30192. $ref: '#/definitions/models.WrFactorTypeInfo'
  30193. type: array
  30194. "500":
  30195. description: Internal Server Error
  30196. schema:
  30197. $ref: '#/definitions/app.Response'
  30198. security:
  30199. - ApiKeyAuth: []
  30200. summary: 查询仓单要素详细信息
  30201. tags:
  30202. - 仓单贸易v2
  30203. /WrTrade2/QueryWrFactorTypeInfoEx:
  30204. get:
  30205. parameters:
  30206. - description: 仓单要素id
  30207. in: query
  30208. name: wrfactortypeid
  30209. required: true
  30210. type: integer
  30211. produces:
  30212. - application/json
  30213. responses:
  30214. "200":
  30215. description: OK
  30216. schema:
  30217. items:
  30218. $ref: '#/definitions/models.WrTypeItem'
  30219. type: array
  30220. "500":
  30221. description: Internal Server Error
  30222. schema:
  30223. $ref: '#/definitions/app.Response'
  30224. security:
  30225. - ApiKeyAuth: []
  30226. summary: 查询仓单要素详细信息列表项
  30227. tags:
  30228. - 仓单贸易v2
  30229. /WrTrade2/QueryWrFinanceBuyApply:
  30230. get:
  30231. description: 页面 融资信息+ / 申请单
  30232. parameters:
  30233. - description: 用户id
  30234. in: query
  30235. name: userid
  30236. required: true
  30237. type: integer
  30238. produces:
  30239. - application/json
  30240. responses:
  30241. "200":
  30242. description: OK
  30243. schema:
  30244. items:
  30245. $ref: '#/definitions/models.WrFinanceBuyApply'
  30246. type: array
  30247. "500":
  30248. description: Internal Server Error
  30249. schema:
  30250. $ref: '#/definitions/app.Response'
  30251. security:
  30252. - ApiKeyAuth: []
  30253. summary: 查询融资购买申请
  30254. tags:
  30255. - 仓单贸易v2
  30256. /WrTrade2/QueryWrFriendApply:
  30257. get:
  30258. parameters:
  30259. - description: 用户id
  30260. in: query
  30261. name: userid
  30262. required: true
  30263. type: integer
  30264. produces:
  30265. - application/json
  30266. responses:
  30267. "200":
  30268. description: OK
  30269. schema:
  30270. items:
  30271. $ref: '#/definitions/models.WrFriendApply'
  30272. type: array
  30273. "500":
  30274. description: Internal Server Error
  30275. schema:
  30276. $ref: '#/definitions/app.Response'
  30277. security:
  30278. - ApiKeyAuth: []
  30279. summary: 查询好友申请记录
  30280. tags:
  30281. - 仓单贸易v2
  30282. /WrTrade2/QueryWrGoodsInfo:
  30283. get:
  30284. parameters:
  30285. - description: 仓单贸易市场id
  30286. in: query
  30287. name: marketid
  30288. type: integer
  30289. - description: 0:仓单预售 1:仓单贸易
  30290. in: query
  30291. name: haswr
  30292. required: true
  30293. type: integer
  30294. - description: 仓单要素id
  30295. in: query
  30296. name: wrfactortypeid
  30297. required: true
  30298. type: integer
  30299. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30300. in: query
  30301. name: tmplateid
  30302. type: integer
  30303. produces:
  30304. - application/json
  30305. responses:
  30306. "200":
  30307. description: OK
  30308. schema:
  30309. items:
  30310. $ref: '#/definitions/models.WrGoodsInfo'
  30311. type: array
  30312. "500":
  30313. description: Internal Server Error
  30314. schema:
  30315. $ref: '#/definitions/app.Response'
  30316. security:
  30317. - ApiKeyAuth: []
  30318. summary: 查询仓单商品信息
  30319. tags:
  30320. - 仓单贸易v2
  30321. /WrTrade2/QueryWrMarketTradeConfig:
  30322. get:
  30323. parameters:
  30324. - description: 市场id
  30325. in: query
  30326. name: marketid
  30327. type: integer
  30328. produces:
  30329. - application/json
  30330. responses:
  30331. "200":
  30332. description: OK
  30333. schema:
  30334. items:
  30335. $ref: '#/definitions/models.WrMarketTradeConfig'
  30336. type: array
  30337. "500":
  30338. description: Internal Server Error
  30339. schema:
  30340. $ref: '#/definitions/app.Response'
  30341. security:
  30342. - ApiKeyAuth: []
  30343. summary: 查询市场交易参数配置
  30344. tags:
  30345. - 仓单贸易v2
  30346. /WrTrade2/QueryWrOrderDetail:
  30347. get:
  30348. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30349. parameters:
  30350. - description: 页码
  30351. in: query
  30352. name: page
  30353. type: integer
  30354. - description: 每页条数
  30355. in: query
  30356. name: pagesize
  30357. type: integer
  30358. - description: 用户id
  30359. in: query
  30360. name: userid
  30361. required: true
  30362. type: integer
  30363. - description: 仓单贸易市场id
  30364. in: query
  30365. name: marketid
  30366. type: integer
  30367. - description: 0:仓单预售 1:仓单贸易
  30368. in: query
  30369. name: haswr
  30370. required: true
  30371. type: integer
  30372. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30373. in: query
  30374. name: bcancel
  30375. type: integer
  30376. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30377. in: query
  30378. name: wrtradetype
  30379. type: integer
  30380. - description: 开始交易日(yyyymmdd)
  30381. in: query
  30382. name: begindate
  30383. type: string
  30384. - description: 结束交易日(yyyymmdd)
  30385. in: query
  30386. name: enddate
  30387. type: string
  30388. produces:
  30389. - application/json
  30390. responses:
  30391. "200":
  30392. description: OK
  30393. schema:
  30394. items:
  30395. $ref: '#/definitions/models.WrOrderDetail'
  30396. type: array
  30397. "500":
  30398. description: Internal Server Error
  30399. schema:
  30400. $ref: '#/definitions/app.Response'
  30401. security:
  30402. - ApiKeyAuth: []
  30403. summary: 查询仓单委托单
  30404. tags:
  30405. - 仓单贸易v2
  30406. /WrTrade2/QueryWrOutInApply:
  30407. get:
  30408. parameters:
  30409. - description: 用户id
  30410. in: query
  30411. name: userid
  30412. required: true
  30413. type: integer
  30414. - description: 开始交易日(yyyymmdd)
  30415. in: query
  30416. name: begindate
  30417. type: string
  30418. - description: 结束交易日(yyyymmdd)
  30419. in: query
  30420. name: enddate
  30421. type: string
  30422. produces:
  30423. - application/json
  30424. responses:
  30425. "200":
  30426. description: OK
  30427. schema:
  30428. items:
  30429. $ref: '#/definitions/models.WrOutInApply'
  30430. type: array
  30431. "500":
  30432. description: Internal Server Error
  30433. schema:
  30434. $ref: '#/definitions/app.Response'
  30435. security:
  30436. - ApiKeyAuth: []
  30437. summary: 查询提货申请
  30438. tags:
  30439. - 仓单贸易v2
  30440. /WrTrade2/QueryWrPerformancePlanStep:
  30441. get:
  30442. parameters:
  30443. - description: 履约计划id(performanceplanid)
  30444. in: query
  30445. name: planid
  30446. required: true
  30447. type: integer
  30448. - description: 当前步骤id
  30449. in: query
  30450. name: curstepid
  30451. type: integer
  30452. produces:
  30453. - application/json
  30454. responses:
  30455. "200":
  30456. description: OK
  30457. schema:
  30458. items:
  30459. $ref: '#/definitions/models.WrPerformancePlanStep'
  30460. type: array
  30461. "500":
  30462. description: Internal Server Error
  30463. schema:
  30464. $ref: '#/definitions/app.Response'
  30465. security:
  30466. - ApiKeyAuth: []
  30467. summary: 查询履约信息详情
  30468. tags:
  30469. - 仓单贸易v2
  30470. /WrTrade2/QueryWrPerformanceStepType:
  30471. get:
  30472. produces:
  30473. - application/json
  30474. responses:
  30475. "200":
  30476. description: OK
  30477. schema:
  30478. items:
  30479. $ref: '#/definitions/models.WrPerformanceStepType'
  30480. type: array
  30481. "500":
  30482. description: Internal Server Error
  30483. schema:
  30484. $ref: '#/definitions/app.Response'
  30485. security:
  30486. - ApiKeyAuth: []
  30487. summary: 查询履约步骤枚举
  30488. tags:
  30489. - 仓单贸易v2
  30490. /WrTrade2/QueryWrPosition:
  30491. get:
  30492. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30493. parameters:
  30494. - description: 用户id
  30495. in: query
  30496. name: userid
  30497. required: true
  30498. type: integer
  30499. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  30500. in: query
  30501. name: querytype
  30502. required: true
  30503. type: integer
  30504. - description: 0:仓单预售 1:仓单贸易
  30505. in: query
  30506. name: haswr
  30507. required: true
  30508. type: integer
  30509. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30510. in: query
  30511. name: dgitemname
  30512. type: string
  30513. - description: 仓库id(筛选条件)
  30514. in: query
  30515. name: warehouseid
  30516. type: integer
  30517. - description: 品种id
  30518. in: query
  30519. name: deliverygoodsid
  30520. type: integer
  30521. - description: 品类id
  30522. in: query
  30523. name: wrstandardid
  30524. type: integer
  30525. produces:
  30526. - application/json
  30527. responses:
  30528. "200":
  30529. description: OK
  30530. schema:
  30531. items:
  30532. $ref: '#/definitions/models.WrPosition'
  30533. type: array
  30534. "500":
  30535. description: Internal Server Error
  30536. schema:
  30537. $ref: '#/definitions/app.Response'
  30538. security:
  30539. - ApiKeyAuth: []
  30540. summary: 查询现货(预售)仓单持仓
  30541. tags:
  30542. - 仓单贸易v2
  30543. /WrTrade2/QueryWrPreSaleInfo:
  30544. get:
  30545. parameters:
  30546. - description: 市场id
  30547. in: query
  30548. name: marketid
  30549. type: integer
  30550. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  30551. in: query
  30552. name: presalestatus
  30553. type: string
  30554. - description: 摇号标识 - 0:未摇号 1:已摇号
  30555. in: query
  30556. name: lotteryflag
  30557. type: integer
  30558. - description: 最近多少条记录(按创建时间倒序)
  30559. in: query
  30560. name: lastnum
  30561. type: integer
  30562. produces:
  30563. - application/json
  30564. responses:
  30565. "200":
  30566. description: OK
  30567. schema:
  30568. items:
  30569. $ref: '#/definitions/models.WrPreSaleInfo'
  30570. type: array
  30571. "500":
  30572. description: Internal Server Error
  30573. schema:
  30574. $ref: '#/definitions/app.Response'
  30575. security:
  30576. - ApiKeyAuth: []
  30577. summary: 查询新品发布
  30578. tags:
  30579. - 仓单贸易v2
  30580. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  30581. get:
  30582. parameters:
  30583. - description: 市场id
  30584. in: query
  30585. name: marketid
  30586. required: true
  30587. type: integer
  30588. - description: 现货商品id
  30589. in: query
  30590. name: wrstandardid
  30591. required: true
  30592. type: integer
  30593. - description: 开始交易日(yyyymmdd)
  30594. in: query
  30595. name: begindate
  30596. type: string
  30597. - description: 结束交易日(yyyymmdd)
  30598. in: query
  30599. name: enddate
  30600. type: string
  30601. - description: 最近多少条记录(按交易日倒序)
  30602. in: query
  30603. name: lastnum
  30604. type: integer
  30605. - description: 是否今日
  30606. in: query
  30607. name: istoday
  30608. type: boolean
  30609. produces:
  30610. - application/json
  30611. responses:
  30612. "200":
  30613. description: OK
  30614. schema:
  30615. items:
  30616. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  30617. type: array
  30618. "500":
  30619. description: Internal Server Error
  30620. schema:
  30621. $ref: '#/definitions/app.Response'
  30622. security:
  30623. - ApiKeyAuth: []
  30624. summary: 查询价格走势
  30625. tags:
  30626. - 仓单贸易v2
  30627. /WrTrade2/QueryWrScfContract:
  30628. get:
  30629. parameters:
  30630. - description: 用户id
  30631. in: query
  30632. name: userid
  30633. required: true
  30634. type: integer
  30635. - description: 融资合同id
  30636. in: query
  30637. name: scfcontractid
  30638. type: integer
  30639. produces:
  30640. - application/json
  30641. responses:
  30642. "200":
  30643. description: OK
  30644. schema:
  30645. items:
  30646. $ref: '#/definitions/models.WrScfContract'
  30647. type: array
  30648. "500":
  30649. description: Internal Server Error
  30650. schema:
  30651. $ref: '#/definitions/app.Response'
  30652. security:
  30653. - ApiKeyAuth: []
  30654. summary: 查询仓单贸易融资合同
  30655. tags:
  30656. - 仓单贸易v2
  30657. /WrTrade2/QueryWrScfContractInterest:
  30658. get:
  30659. parameters:
  30660. - description: 融资合同id
  30661. in: query
  30662. name: scfcontractid
  30663. type: integer
  30664. produces:
  30665. - application/json
  30666. responses:
  30667. "200":
  30668. description: OK
  30669. schema:
  30670. items:
  30671. $ref: '#/definitions/models.WrScfContractInterest'
  30672. type: array
  30673. "500":
  30674. description: Internal Server Error
  30675. schema:
  30676. $ref: '#/definitions/app.Response'
  30677. security:
  30678. - ApiKeyAuth: []
  30679. summary: 查询融资合同费用明细
  30680. tags:
  30681. - 仓单贸易v2
  30682. /WrTrade2/QueryWrSearchUser:
  30683. get:
  30684. parameters:
  30685. - description: 用户名称(模糊匹配)
  30686. in: query
  30687. name: username
  30688. required: true
  30689. type: string
  30690. produces:
  30691. - application/json
  30692. responses:
  30693. "200":
  30694. description: OK
  30695. schema:
  30696. items:
  30697. $ref: '#/definitions/models.WrSearchUser'
  30698. type: array
  30699. "500":
  30700. description: Internal Server Error
  30701. schema:
  30702. $ref: '#/definitions/app.Response'
  30703. security:
  30704. - ApiKeyAuth: []
  30705. summary: 查询用户
  30706. tags:
  30707. - 仓单贸易v2
  30708. /WrTrade2/QueryWrSpecialMatchOrder:
  30709. get:
  30710. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  30711. parameters:
  30712. - description: 页码
  30713. in: query
  30714. name: page
  30715. type: integer
  30716. - description: 每页条数
  30717. in: query
  30718. name: pagesize
  30719. type: integer
  30720. - description: 用户id
  30721. in: query
  30722. name: userid
  30723. required: true
  30724. type: integer
  30725. - description: 仓单贸易市场id
  30726. in: query
  30727. name: marketid
  30728. type: integer
  30729. - description: 0:仓单预售 1:仓单贸易
  30730. in: query
  30731. name: haswr
  30732. required: true
  30733. type: integer
  30734. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  30735. in: query
  30736. name: isspecified
  30737. type: integer
  30738. produces:
  30739. - application/json
  30740. responses:
  30741. "200":
  30742. description: OK
  30743. schema:
  30744. items:
  30745. $ref: '#/definitions/models.WrSpecialMatchOrder'
  30746. type: array
  30747. "500":
  30748. description: Internal Server Error
  30749. schema:
  30750. $ref: '#/definitions/app.Response'
  30751. security:
  30752. - ApiKeyAuth: []
  30753. summary: 查询指定成交
  30754. tags:
  30755. - 仓单贸易v2
  30756. /WrTrade2/QueryWrStandardFactoryItem:
  30757. get:
  30758. parameters:
  30759. - description: 品类id
  30760. in: query
  30761. name: wrstandardid
  30762. required: true
  30763. type: integer
  30764. produces:
  30765. - application/json
  30766. responses:
  30767. "200":
  30768. description: OK
  30769. schema:
  30770. items:
  30771. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  30772. type: array
  30773. "500":
  30774. description: Internal Server Error
  30775. schema:
  30776. $ref: '#/definitions/app.Response'
  30777. security:
  30778. - ApiKeyAuth: []
  30779. summary: 查询品类要素定义项
  30780. tags:
  30781. - 仓单贸易v2
  30782. /WrTrade2/QueryWrTradeBargainApply:
  30783. get:
  30784. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  30785. 议价->对方议价 填写matchuserid=登录用户id
  30786. parameters:
  30787. - description: 议价人id(摘牌方)
  30788. in: query
  30789. name: userid
  30790. type: integer
  30791. - description: 挂牌方id(查对方议价时,填写此项)
  30792. in: query
  30793. name: matchuserid
  30794. type: integer
  30795. - description: 关联委托单id
  30796. in: query
  30797. name: wrtradeorderid
  30798. type: integer
  30799. - description: 0:仓单预售 1:仓单贸易
  30800. in: query
  30801. name: haswr
  30802. required: true
  30803. type: integer
  30804. - description: 开始交易日(yyyymmdd)
  30805. in: query
  30806. name: begindate
  30807. type: string
  30808. - description: 结束交易日(yyyymmdd)
  30809. in: query
  30810. name: enddate
  30811. type: string
  30812. produces:
  30813. - application/json
  30814. responses:
  30815. "200":
  30816. description: OK
  30817. schema:
  30818. items:
  30819. $ref: '#/definitions/models.WRTradeBargainApply'
  30820. type: array
  30821. "500":
  30822. description: Internal Server Error
  30823. schema:
  30824. $ref: '#/definitions/app.Response'
  30825. security:
  30826. - ApiKeyAuth: []
  30827. summary: 查询议价单
  30828. tags:
  30829. - 仓单贸易v2
  30830. /WrTrade2/QueryWrTradeDetail:
  30831. get:
  30832. parameters:
  30833. - description: 页码
  30834. in: query
  30835. name: page
  30836. type: integer
  30837. - description: 每页条数
  30838. in: query
  30839. name: pagesize
  30840. type: integer
  30841. - description: 用户id
  30842. in: query
  30843. name: userid
  30844. required: true
  30845. type: integer
  30846. - description: 仓单贸易市场id
  30847. in: query
  30848. name: marketid
  30849. type: integer
  30850. - description: 0:仓单预售 1:仓单贸易
  30851. in: query
  30852. name: haswr
  30853. required: true
  30854. type: integer
  30855. - description: 开始交易日(yyyymmdd)
  30856. in: query
  30857. name: begindate
  30858. type: string
  30859. - description: 结束交易日(yyyymmdd)
  30860. in: query
  30861. name: enddate
  30862. type: string
  30863. produces:
  30864. - application/json
  30865. responses:
  30866. "200":
  30867. description: OK
  30868. schema:
  30869. items:
  30870. $ref: '#/definitions/models.WrTradeDetail'
  30871. type: array
  30872. "500":
  30873. description: Internal Server Error
  30874. schema:
  30875. $ref: '#/definitions/app.Response'
  30876. security:
  30877. - ApiKeyAuth: []
  30878. summary: 查询仓单成交明细
  30879. tags:
  30880. - 仓单贸易v2
  30881. /WrTrade2/QueryWrTradeOrderDetail:
  30882. get:
  30883. parameters:
  30884. - description: 页码
  30885. in: query
  30886. name: page
  30887. type: integer
  30888. - description: 每页条数
  30889. in: query
  30890. name: pagesize
  30891. type: integer
  30892. - description: 商品id
  30893. in: query
  30894. name: goodsid
  30895. required: true
  30896. type: integer
  30897. - description: 买卖方向 0-买 1-卖
  30898. in: query
  30899. name: buyorsell
  30900. required: true
  30901. type: integer
  30902. produces:
  30903. - application/json
  30904. responses:
  30905. "200":
  30906. description: OK
  30907. schema:
  30908. items:
  30909. $ref: '#/definitions/models.WrTradeOrderDetail'
  30910. type: array
  30911. "500":
  30912. description: Internal Server Error
  30913. schema:
  30914. $ref: '#/definitions/app.Response'
  30915. security:
  30916. - ApiKeyAuth: []
  30917. summary: 查询合约交易买卖大厅
  30918. tags:
  30919. - 仓单贸易v2
  30920. /WrTrade2/QueryWrUserFriend:
  30921. get:
  30922. parameters:
  30923. - description: 用户id
  30924. in: query
  30925. name: userid
  30926. required: true
  30927. type: integer
  30928. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30929. in: query
  30930. name: newuserid
  30931. type: integer
  30932. produces:
  30933. - application/json
  30934. responses:
  30935. "200":
  30936. description: OK
  30937. schema:
  30938. items:
  30939. $ref: '#/definitions/models.WrUserFriend'
  30940. type: array
  30941. "500":
  30942. description: Internal Server Error
  30943. schema:
  30944. $ref: '#/definitions/app.Response'
  30945. security:
  30946. - ApiKeyAuth: []
  30947. summary: 查询我的朋友
  30948. tags:
  30949. - 仓单贸易v2
  30950. /WrTrade2/QueryWrUserReceiptInfo:
  30951. get:
  30952. parameters:
  30953. - description: 用户id
  30954. in: query
  30955. name: userid
  30956. type: integer
  30957. - description: 发票类型 - 1:个人 2:企业
  30958. in: query
  30959. name: receipttype
  30960. type: integer
  30961. produces:
  30962. - application/json
  30963. responses:
  30964. "200":
  30965. description: OK
  30966. schema:
  30967. items:
  30968. $ref: '#/definitions/models.WrUserReceiptInfo'
  30969. type: array
  30970. "500":
  30971. description: Internal Server Error
  30972. schema:
  30973. $ref: '#/definitions/app.Response'
  30974. security:
  30975. - ApiKeyAuth: []
  30976. summary: 查询发票信息
  30977. tags:
  30978. - 仓单贸易v2
  30979. /WrTrade2/QueryXhcpSellBackApply:
  30980. get:
  30981. parameters:
  30982. - description: 用户ID
  30983. in: query
  30984. name: userid
  30985. required: true
  30986. type: integer
  30987. produces:
  30988. - application/json
  30989. responses:
  30990. "200":
  30991. description: OK
  30992. schema:
  30993. items:
  30994. $ref: '#/definitions/models.Xhcpsellbackapply'
  30995. type: array
  30996. "500":
  30997. description: Internal Server Error
  30998. schema:
  30999. $ref: '#/definitions/app.Response'
  31000. security:
  31001. - ApiKeyAuth: []
  31002. summary: 查询我的回收申请(新会陈皮)
  31003. tags:
  31004. - 仓单贸易v2
  31005. /ZJ/GetBankTip:
  31006. get:
  31007. produces:
  31008. - application/json
  31009. responses:
  31010. "200":
  31011. description: OK
  31012. schema:
  31013. type: string
  31014. "500":
  31015. description: Internal Server Error
  31016. schema:
  31017. $ref: '#/definitions/app.Response'
  31018. summary: 获取中江网银端出入金提示信息
  31019. tags:
  31020. - 中江
  31021. /ZJ/GetCusBankChannels:
  31022. get:
  31023. produces:
  31024. - application/json
  31025. responses:
  31026. "200":
  31027. description: OK
  31028. schema:
  31029. items:
  31030. type: string
  31031. type: array
  31032. "500":
  31033. description: Internal Server Error
  31034. schema:
  31035. $ref: '#/definitions/app.Response'
  31036. summary: 获取中江出入金渠道显示列表
  31037. tags:
  31038. - 中江
  31039. securityDefinitions:
  31040. ApiKeyAuth:
  31041. in: header
  31042. name: Authorization
  31043. type: apiKey
  31044. swagger: "2.0"