swagger.yaml 891 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. description: 我方账号
  3533. warehouseinfos:
  3534. description: 仓库信息列表
  3535. items:
  3536. $ref: '#/definitions/models.Warehouseinfo'
  3537. type: array
  3538. wrstandards:
  3539. description: 仓单标准列表
  3540. items:
  3541. $ref: '#/definitions/models.WRStandardInfo'
  3542. type: array
  3543. type: object
  3544. erms3.QuerySpotContractInfoRsp:
  3545. properties:
  3546. accountid:
  3547. description: 表示交易员ID.
  3548. type: integer
  3549. curdeliveryqty:
  3550. description: 表示未交收量.
  3551. type: number
  3552. customername:
  3553. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3554. type: string
  3555. deliverygoodsid:
  3556. description: 表示品种ID.
  3557. type: string
  3558. deliveryqty:
  3559. description: 表示交收量.
  3560. type: number
  3561. matchaccountid:
  3562. description: 表示业务员ID.
  3563. type: integer
  3564. matchcustomername:
  3565. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3566. type: string
  3567. priceqty:
  3568. description: 表示定价量.
  3569. type: number
  3570. relatedbizid:
  3571. description: 表示业务ID.
  3572. type: string
  3573. signdate:
  3574. description: 表示签订日期.
  3575. type: string
  3576. spotcontractid:
  3577. description: 合同ID
  3578. type: string
  3579. status:
  3580. description: 表示状态,0-履约中 1-已完成.
  3581. type: integer
  3582. totalqty:
  3583. description: 表示合同量.
  3584. type: number
  3585. unpricedqty:
  3586. description: 表示未定价量.
  3587. type: number
  3588. wrstandardname:
  3589. description: 表示商品ID.
  3590. type: string
  3591. type: object
  3592. erms3.QueryUserInfoAppliesRsp:
  3593. properties:
  3594. biznature:
  3595. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3596. type: integer
  3597. contactname:
  3598. description: 联系人
  3599. type: string
  3600. createtime:
  3601. description: 开户申请时间
  3602. type: string
  3603. userid:
  3604. description: 用户ID(自增ID)
  3605. type: integer
  3606. userinfotype:
  3607. description: 用户信息类型 - 1:个人 2:企业
  3608. type: integer
  3609. username:
  3610. description: 用户姓名
  3611. type: string
  3612. userstate:
  3613. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. erms3.QueryUserInfosRsp:
  3619. properties:
  3620. biznature:
  3621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3622. type: integer
  3623. contactname:
  3624. description: 联系人
  3625. type: string
  3626. customername:
  3627. description: 客户名称(企业名称)
  3628. type: string
  3629. userid:
  3630. description: 用户ID
  3631. type: integer
  3632. userinfotype:
  3633. description: 用户信息类型 - 1:个人 2:企业
  3634. type: integer
  3635. userstatus:
  3636. description: 用户状态 - 1:正常 2:注销
  3637. type: integer
  3638. required:
  3639. - userid
  3640. type: object
  3641. erms3.SoptContractDetail:
  3642. properties:
  3643. deliverygoodsdesc:
  3644. description: 现货品种说明
  3645. type: string
  3646. deliverygoodsid:
  3647. description: 现货品种ID
  3648. type: integer
  3649. deliverygoodsname:
  3650. description: 现货品种名称
  3651. type: string
  3652. pointdesc:
  3653. description: 点价描述
  3654. type: string
  3655. producttype:
  3656. description: 产品类型 1:标准仓单 2:等标 3:非标
  3657. type: integer
  3658. producttypename:
  3659. description: 产品类型名称
  3660. type: string
  3661. spotPointOrderVoList:
  3662. description: 点价列表
  3663. items:
  3664. $ref: '#/definitions/erms3.SpotPointOrder'
  3665. type: array
  3666. spotPriceOrderList:
  3667. description: 定价列表
  3668. items:
  3669. $ref: '#/definitions/erms3.SpotPriceOrder'
  3670. type: array
  3671. unitname:
  3672. description: 单位名称
  3673. type: string
  3674. warehouseid:
  3675. description: 仓库ID
  3676. type: integer
  3677. warehousename:
  3678. description: 仓库名称
  3679. type: string
  3680. wrstandardid:
  3681. description: 交易标的ID
  3682. type: integer
  3683. wrstandardname:
  3684. description: 交易标的名称
  3685. type: string
  3686. required:
  3687. - deliverygoodsid
  3688. - producttype
  3689. - unitname
  3690. - warehouseid
  3691. - wrstandardid
  3692. - wrstandardname
  3693. type: object
  3694. erms3.SpotPointOrder:
  3695. properties:
  3696. basic:
  3697. description: 基差
  3698. type: number
  3699. deliveryenddate:
  3700. description: 交收结束日期
  3701. type: string
  3702. deliverystartdate:
  3703. description: 交收开始日期
  3704. type: string
  3705. enddate:
  3706. description: 点价结束日期
  3707. type: string
  3708. goodsid:
  3709. description: 商品ID
  3710. type: integer
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. startdate:
  3718. description: 点价开始日期
  3719. type: string
  3720. required:
  3721. - basic
  3722. - goodsid
  3723. - qty
  3724. type: object
  3725. erms3.SpotPriceOrder:
  3726. properties:
  3727. amount:
  3728. description: 金额
  3729. type: number
  3730. deliveryenddate:
  3731. description: 交收结束日期
  3732. type: string
  3733. deliverystartdate:
  3734. description: 交收开始日期
  3735. type: string
  3736. price:
  3737. description: 价格
  3738. type: number
  3739. qty:
  3740. description: 数量
  3741. type: number
  3742. required:
  3743. - amount
  3744. - price
  3745. - qty
  3746. type: object
  3747. hsby.GetHsbyMyCountRsp:
  3748. properties:
  3749. myCouponCount:
  3750. description: 我的优惠卷数量
  3751. type: integer
  3752. myOrderDetailListingCount:
  3753. description: 我的订单求购中数量
  3754. type: integer
  3755. myOrderDetailPreCount:
  3756. description: 我的订单抢购中数量
  3757. type: integer
  3758. myPackageUnReceiveCount:
  3759. description: 我的包裹待收货数量
  3760. type: integer
  3761. myPackageUnSendCount:
  3762. description: 我的包裹待发货数量
  3763. type: integer
  3764. myPayOrderCount:
  3765. description: 我的订单待付款数量
  3766. type: integer
  3767. type: object
  3768. hsby.QueryProvincesAndCitiesRsp:
  3769. properties:
  3770. cities:
  3771. description: 市
  3772. items:
  3773. $ref: '#/definitions/models.Division'
  3774. type: array
  3775. province:
  3776. $ref: '#/definitions/models.Division'
  3777. description: 省
  3778. type: object
  3779. models.Arearole:
  3780. properties:
  3781. createtime:
  3782. description: 创建时间
  3783. type: string
  3784. creatorid:
  3785. description: 创建人ID
  3786. type: integer
  3787. fromuserid:
  3788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3789. type: integer
  3790. isreturnscore:
  3791. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3792. type: integer
  3793. modifierid:
  3794. description: 修改人ID
  3795. type: integer
  3796. modifytime:
  3797. description: 修改时间
  3798. type: string
  3799. orgtype:
  3800. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3801. type: integer
  3802. outuserid:
  3803. description: 外部账户[场外期权做市商]
  3804. type: string
  3805. parentuserid:
  3806. description: 上级组织机构(组织机构)
  3807. type: integer
  3808. roletype:
  3809. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3810. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3811. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3812. type: integer
  3813. rootuserid:
  3814. description: 顶级组织机构用户ID(组织机构)
  3815. type: integer
  3816. shoppassword:
  3817. description: 商城店铺登陆密码(商城店铺角色使用)
  3818. type: string
  3819. sublevelpath:
  3820. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3821. type: string
  3822. suborgtype:
  3823. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3824. type: integer
  3825. tradeaccountid:
  3826. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3827. type: integer
  3828. transurl:
  3829. description: 物流地址(物流机构)
  3830. type: string
  3831. userid:
  3832. description: 机构用户ID其他做市关系,都设置为 1
  3833. type: integer
  3834. required:
  3835. - roletype
  3836. - userid
  3837. type: object
  3838. models.Clientfixedadconfig:
  3839. properties:
  3840. adsort:
  3841. description: 排序
  3842. type: integer
  3843. adtype:
  3844. description: 广告位类型 - 1:新品抢购(HSBY)
  3845. type: integer
  3846. areauserid:
  3847. description: 所属机构ID
  3848. type: integer
  3849. createdate:
  3850. description: 创建时间
  3851. type: string
  3852. creatorid:
  3853. description: 创建人
  3854. type: integer
  3855. imagepath:
  3856. description: 图片
  3857. type: string
  3858. isshow:
  3859. description: 是否展示 - 0:不展示 1:展示
  3860. type: integer
  3861. modifierid:
  3862. description: 操作人
  3863. type: integer
  3864. recsize:
  3865. description: 推荐尺寸
  3866. type: string
  3867. title:
  3868. description: 标题
  3869. type: string
  3870. updatedate:
  3871. description: 更新时间
  3872. type: string
  3873. urlcontent:
  3874. description: 链接(地址或商品ID)
  3875. type: string
  3876. urltype:
  3877. description: 链接类型 - 1:直接地址 2:商品ID
  3878. type: integer
  3879. required:
  3880. - adsort
  3881. - adtype
  3882. type: object
  3883. models.DgFactoryItem:
  3884. properties:
  3885. dgfactoryitemid:
  3886. description: 选择项ID(SEQ_DGFACTORYITEM)
  3887. type: integer
  3888. dgfactoryitemtypeid:
  3889. description: 要素项类型
  3890. type: integer
  3891. dgfactoryitemvalue:
  3892. description: 要素项值(类型为仓库时填写仓库名称)
  3893. type: string
  3894. orderindex:
  3895. description: 顺序
  3896. type: integer
  3897. type: object
  3898. models.Division:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. divisioncode:
  3904. description: 行政代码
  3905. type: string
  3906. divisionlevel:
  3907. description: 行政级别
  3908. type: string
  3909. divisionname:
  3910. description: 行政名称
  3911. type: string
  3912. modifierid:
  3913. description: 修改人
  3914. type: integer
  3915. modifytime:
  3916. description: 修改时间
  3917. type: string
  3918. parentcode:
  3919. description: 上级行政代码
  3920. type: string
  3921. pathname:
  3922. description: 路径名称
  3923. type: string
  3924. postcode:
  3925. description: 邮政编码
  3926. type: string
  3927. separablename:
  3928. description: 可拆分的全称
  3929. type: string
  3930. shortcode:
  3931. description: 地区简码
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - divisioncode
  3936. type: object
  3937. models.Enumdicitem:
  3938. properties:
  3939. autoid:
  3940. description: 自增ID
  3941. type: integer
  3942. bankmappedvalue:
  3943. description: 银行服务对应值
  3944. type: string
  3945. enumdiccode:
  3946. description: 所属枚举代码
  3947. type: string
  3948. enumdicid:
  3949. description: 所属枚举ID
  3950. type: integer
  3951. enumdicname:
  3952. description: 枚举项名称
  3953. type: string
  3954. enumitemname:
  3955. description: 枚举项值
  3956. type: integer
  3957. enumitemstatus:
  3958. description: 枚举项状态 - 1.启用 2.不启用
  3959. type: integer
  3960. enumitemvalue:
  3961. description: 通用值 - [币种通用简写]
  3962. type: string
  3963. param1:
  3964. description: 参数1[币种:币种小数位]
  3965. type: string
  3966. param2:
  3967. description: 参数1[币种:币种显示单位]
  3968. type: string
  3969. remark:
  3970. description: 备注
  3971. type: string
  3972. required:
  3973. - autoid
  3974. - enumdiccode
  3975. - enumdicid
  3976. - enumitemname
  3977. type: object
  3978. models.Ermcp2AreaExposure:
  3979. properties:
  3980. areauserid:
  3981. description: 所属机构
  3982. type: integer
  3983. enumdicname:
  3984. description: 单位
  3985. type: string
  3986. futureqty:
  3987. description: 期货套期量
  3988. type: number
  3989. futureqtychange:
  3990. description: 期货变动量 = FutureQty - OriFutureQty
  3991. type: number
  3992. goodsunitid:
  3993. description: 单位ID
  3994. type: integer
  3995. hedgedspotexposure:
  3996. description: 被套期现货敞口量
  3997. type: number
  3998. hedgedspratio:
  3999. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4000. type: number
  4001. hedgedtotalexposourechange:
  4002. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4003. type: number
  4004. hedgedtotalexposure:
  4005. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4006. type: number
  4007. hedgeplanqty:
  4008. description: 套期计划量
  4009. type: number
  4010. hedgeplanqtychange:
  4011. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4012. type: number
  4013. hedgespotqty:
  4014. description: 被套期现货量
  4015. type: number
  4016. middlegoodsid:
  4017. description: 套保品种
  4018. type: integer
  4019. middlegoodsname:
  4020. description: 套保品种名称
  4021. type: string
  4022. orifutureqty:
  4023. description: 期初期货套期量
  4024. type: number
  4025. orihedgedspotexposure:
  4026. description: 期初被套期现货敞口量
  4027. type: number
  4028. orihedgedtotalexposure:
  4029. description: 期初套期敞口量
  4030. type: number
  4031. orihedgeplanqty:
  4032. description: 期初套期计划量
  4033. type: number
  4034. orihedgespotqty:
  4035. description: 期初被套期现货量
  4036. type: number
  4037. orispotexposure:
  4038. description: 期初现货敞口量
  4039. type: number
  4040. orispotqty:
  4041. description: 期初现货总量
  4042. type: number
  4043. oritotalexposure:
  4044. description: 期初总敞口量
  4045. type: number
  4046. spotexposure:
  4047. description: 现货敞口量
  4048. type: number
  4049. spotqty:
  4050. description: 现货总量
  4051. type: number
  4052. spotqtychange:
  4053. description: 现货变动量 = SpotQty - OriSpotQty
  4054. type: number
  4055. spratio:
  4056. description: 总期现比例 = 期货套期量/现货敞口量
  4057. type: number
  4058. totalexposure:
  4059. description: 总敞口量 = 现货敞口量 + 期货套期量
  4060. type: number
  4061. totalexposurechange:
  4062. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4063. type: number
  4064. updatetime:
  4065. description: 更新时间 --DATE
  4066. type: string
  4067. type: object
  4068. models.Ermcp2hedgeditem:
  4069. properties:
  4070. accountname:
  4071. description: 套期主体
  4072. type: string
  4073. applyid:
  4074. description: 申请人
  4075. type: integer
  4076. applysrc:
  4077. description: 申请来源 - 1:管理端 2:终端
  4078. type: integer
  4079. areauserid:
  4080. description: 企业ID
  4081. type: integer
  4082. auditid:
  4083. description: 审核人
  4084. type: integer
  4085. auditremark:
  4086. description: 审核备注
  4087. type: string
  4088. auditsrc:
  4089. description: 审核来源 - 1:管理端 2:终端
  4090. type: integer
  4091. audittime:
  4092. description: 审核时间
  4093. type: string
  4094. audittradedate:
  4095. description: 审核交易日(yyyyMMdd)
  4096. type: string
  4097. createtime:
  4098. description: 申请时间
  4099. type: string
  4100. curprice:
  4101. description: 当前市场价
  4102. type: number
  4103. curstock:
  4104. description: 期末库存量 = 采购总量 - 销售总量
  4105. type: number
  4106. deliverygoodsid:
  4107. description: 现货品种ID
  4108. type: integer
  4109. enddate:
  4110. description: 完成日期
  4111. type: string
  4112. endtradedate:
  4113. description: 完成交易日
  4114. type: string
  4115. enumdicname:
  4116. description: 单位
  4117. type: string
  4118. exeamount:
  4119. description: 执行市价总额
  4120. type: number
  4121. exeavgprice:
  4122. description: 执行市场均价= 执行市价总额 / 执行现货量
  4123. type: number
  4124. execontractamount:
  4125. description: 执行定价总额
  4126. type: number
  4127. exeqty:
  4128. description: 执行现货量
  4129. type: number
  4130. exerestamount:
  4131. description: 执行剩余市价总额【现货贸易】
  4132. type: number
  4133. futurefloatpl:
  4134. description: 期货浮动损益
  4135. type: number
  4136. futurehedgepl:
  4137. description: 期货实际损益
  4138. type: number
  4139. futurehedgeplchange:
  4140. description: 期货实际损益变动
  4141. type: number
  4142. futurepl:
  4143. description: 期货套期损益
  4144. type: number
  4145. futureplchange:
  4146. description: 期货套期损益变动
  4147. type: number
  4148. hedgeamount:
  4149. description: 套期市价总额
  4150. type: number
  4151. hedgecontractamount:
  4152. description: 套期定价总额 【定价采购合同】【现货贸易】
  4153. type: number
  4154. hedgeditemid:
  4155. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4156. type: string
  4157. hedgeditemname:
  4158. description: 项目名称
  4159. type: string
  4160. hedgeditemnum:
  4161. description: 项目编号
  4162. type: string
  4163. hedgeditemstatus:
  4164. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4165. type: integer
  4166. hedgedtype:
  4167. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4168. type: integer
  4169. hedgeqty:
  4170. description: 套期现货量
  4171. type: number
  4172. hedgerate:
  4173. description: 套保比率
  4174. type: number
  4175. hedgerestamount:
  4176. description: 套期剩余市价总额【现货贸易】
  4177. type: number
  4178. hedgesumpl:
  4179. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4180. type: number
  4181. middlegoodslist:
  4182. description: 套期商品列表
  4183. items:
  4184. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4185. type: array
  4186. oriavgprice:
  4187. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4188. type: number
  4189. orifuturehedgepl:
  4190. description: 期初期货实际损益
  4191. type: number
  4192. orifuturepl:
  4193. description: 期初期货套期损益
  4194. type: number
  4195. orispothedgepl:
  4196. description: 期初现货实际损益
  4197. type: number
  4198. orispotpl:
  4199. description: 期初现货套期损益
  4200. type: number
  4201. planenddate:
  4202. description: 计划结束日期
  4203. type: string
  4204. planstartdate:
  4205. description: 计划开始日期
  4206. type: string
  4207. remark:
  4208. description: 备注
  4209. type: string
  4210. spotbookamount:
  4211. description: 现货账面总额
  4212. type: number
  4213. spotfloatpl:
  4214. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4215. type: number
  4216. spothedgepl:
  4217. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgeplchange:
  4220. description: 现货实际损益变动
  4221. type: number
  4222. spotpl:
  4223. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4224. type: number
  4225. spotplchange:
  4226. description: 现货套期损益变动
  4227. type: number
  4228. spottradepl:
  4229. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4230. type: number
  4231. sumobspl:
  4232. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4233. type: number
  4234. tradeuserid:
  4235. description: 交易用户ID
  4236. type: integer
  4237. unexeqty:
  4238. description: 未执行现货量 = 套期现货量 - 执行现货量
  4239. type: number
  4240. updatetime:
  4241. description: 更新时间
  4242. type: string
  4243. vatpl:
  4244. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4245. type: number
  4246. vatrate:
  4247. description: 增值税
  4248. type: number
  4249. wrstandardid:
  4250. description: 现货商品ID
  4251. type: integer
  4252. wrstandardname:
  4253. description: 商品名称
  4254. type: string
  4255. type: object
  4256. models.Ermcp2hedgeditemlink:
  4257. properties:
  4258. areauserid:
  4259. description: 企业ID
  4260. type: integer
  4261. createtime:
  4262. description: '[关联时间]创建时间'
  4263. type: string
  4264. customeruserid:
  4265. description: 对手方 【3:采购合同 4:销售合同】
  4266. type: integer
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. enumdicname:
  4271. description: 单位
  4272. type: string
  4273. hedgeditemid:
  4274. description: 被套期项目ID
  4275. type: integer
  4276. hedgeditemlinkid:
  4277. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4278. type: integer
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: 关联数量
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID
  4302. type: integer
  4303. spotpricedamount:
  4304. description: '[关联定价总额]定价总额'
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量【项目关联时值】
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. required:
  4325. - relatedspotcontractid
  4326. type: object
  4327. models.Ermcp2hedgeditemsDetail:
  4328. properties:
  4329. accountname:
  4330. description: 套期主体
  4331. type: string
  4332. areauserid:
  4333. description: 企业ID
  4334. type: integer
  4335. createtime:
  4336. description: '[日期时间]创建时间'
  4337. type: string
  4338. customeruserid:
  4339. description: 对手方 【3:采购合同 4:销售合同】
  4340. type: integer
  4341. deliverygoodsid:
  4342. description: 现货品种ID
  4343. type: integer
  4344. enumdicname:
  4345. description: 单位
  4346. type: string
  4347. hedgeditemid:
  4348. description: 被套期项目ID
  4349. type: string
  4350. hedgeditemspotid:
  4351. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. hedgedtype:
  4354. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4355. type: integer
  4356. hedgeplanno:
  4357. description: 计划编号
  4358. type: string
  4359. middlegoodschange:
  4360. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4361. type: number
  4362. oriavgprice:
  4363. description: 期初市场价[当初市场价]
  4364. type: number
  4365. relatedamount:
  4366. description: 市价总额 = 关联数量 * 期初市场价
  4367. type: number
  4368. relatedhedgeplanid:
  4369. description: 关联计划ID 【1:采购计划 2:销售计划】
  4370. type: integer
  4371. relatedqty:
  4372. description: '[期间变化量]关联数量'
  4373. type: number
  4374. relatedspotcontractid:
  4375. description: 关联合同ID 【3:采购合同 4:销售合同】
  4376. type: integer
  4377. relatedtype:
  4378. description: 关联类型 - 1:套期关联 2:执行关联
  4379. type: integer
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4382. type: integer
  4383. spotpricedamount:
  4384. description: 定价总额
  4385. type: number
  4386. spotpricedavgprice:
  4387. description: 现货均价 = 定价总额 / 关联数量
  4388. type: number
  4389. spottype:
  4390. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4391. type: integer
  4392. tradeuserid:
  4393. description: 交易用户ID
  4394. type: integer
  4395. unexeqty:
  4396. description: 未执行现货量 = 套期现货量 - 执行现货量
  4397. type: number
  4398. wrstandardid:
  4399. description: 现货商品ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 现货商品
  4403. type: string
  4404. type: object
  4405. models.Ermcp2hedgeditemspot:
  4406. properties:
  4407. areauserid:
  4408. description: 企业ID
  4409. type: integer
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. hedgeplanno:
  4432. description: 计划编号
  4433. type: string
  4434. oriavgprice:
  4435. description: 期初市场价[当初市场价]
  4436. type: number
  4437. relatedamount:
  4438. description: 市价总额 = 关联数量 * 期初市场价
  4439. type: number
  4440. relatedhedgeplanid:
  4441. description: 关联计划ID 【1:采购计划 2:销售计划】
  4442. type: integer
  4443. relatedqty:
  4444. description: 关联数量[数量]
  4445. type: number
  4446. relatedspotcontractid:
  4447. description: 关联合同ID 【3:采购合同 4:销售合同】
  4448. type: integer
  4449. relatedtype:
  4450. description: 关联类型 - 1:套期关联 2:执行关联
  4451. type: integer
  4452. spotgoodsbrandid:
  4453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4454. type: integer
  4455. spotpricedamount:
  4456. description: 定价总额
  4457. type: number
  4458. spotpricedavgprice:
  4459. description: 现货均价 = 定价总额 / 关联数量
  4460. type: number
  4461. spottype:
  4462. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4463. type: integer
  4464. tradeuserid:
  4465. description: 交易用户ID
  4466. type: integer
  4467. wrstandardid:
  4468. description: 现货商品ID
  4469. type: integer
  4470. wrstandardname:
  4471. description: 现货商品
  4472. type: string
  4473. required:
  4474. - hedgeditemid
  4475. type: object
  4476. models.Ermcp2hedgeditemspotDetail:
  4477. properties:
  4478. accountname:
  4479. description: 对手方
  4480. type: string
  4481. areauserid:
  4482. description: 企业ID
  4483. type: integer
  4484. brandname:
  4485. description: 品牌
  4486. type: string
  4487. contractno:
  4488. description: 合同编号
  4489. type: string
  4490. createtime:
  4491. description: 创建时间
  4492. type: string
  4493. customeruserid:
  4494. description: 对手方 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. deliverygoodsid:
  4497. description: 现货品种ID
  4498. type: integer
  4499. enumdicname:
  4500. description: 单位
  4501. type: string
  4502. hedgeditemid:
  4503. description: 被套期项目ID
  4504. type: string
  4505. hedgeditemspotid:
  4506. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4507. type: string
  4508. hedgedtype:
  4509. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4510. type: integer
  4511. oriavgprice:
  4512. description: 期初市场价[当初市场价]
  4513. type: number
  4514. relatedamount:
  4515. description: 市价总额 = 关联数量 * 期初市场价
  4516. type: number
  4517. relatedhedgeplanid:
  4518. description: 关联计划ID 【1:采购计划 2:销售计划】
  4519. type: integer
  4520. relatedqty:
  4521. description: 关联数量[数量]
  4522. type: number
  4523. relatedspotcontractid:
  4524. description: 关联合同ID 【3:采购合同 4:销售合同】
  4525. type: integer
  4526. relatedtype:
  4527. description: 关联类型 - 1:套期关联 2:执行关联
  4528. type: integer
  4529. spotgoodsbrandid:
  4530. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4531. type: integer
  4532. spotpricedamount:
  4533. description: 定价总额[金额]
  4534. type: number
  4535. spotpricedavgprice:
  4536. description: 现货均价 = 定价总额 / 关联数量
  4537. type: number
  4538. spottype:
  4539. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4540. type: integer
  4541. tradeuserid:
  4542. description: 交易用户ID
  4543. type: integer
  4544. wrstandardid:
  4545. description: 现货商品ID
  4546. type: integer
  4547. wrstandardname:
  4548. description: 现货商品
  4549. type: string
  4550. required:
  4551. - hedgeditemid
  4552. type: object
  4553. models.Ermcp2himiddlegoods:
  4554. properties:
  4555. futurehedgeqty:
  4556. description: 期货持仓套期量
  4557. type: number
  4558. hedgeditemid:
  4559. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4560. type: integer
  4561. hiexpsoure:
  4562. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4563. type: number
  4564. middlegoodscode:
  4565. description: 套保商品代码
  4566. type: string
  4567. middlegoodsid:
  4568. description: 套保品种ID
  4569. type: integer
  4570. middlegoodsname:
  4571. description: 套保商品名称
  4572. type: string
  4573. unexehedgeqty:
  4574. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4575. type: number
  4576. required:
  4577. - hedgeditemid
  4578. - middlegoodsid
  4579. type: object
  4580. models.Ermcp2stockspotchangelog:
  4581. properties:
  4582. accountname:
  4583. description: 套期主体
  4584. type: string
  4585. aftervalue:
  4586. description: 现货量
  4587. type: number
  4588. beforevalue:
  4589. description: 变更前现货量
  4590. type: number
  4591. contractno:
  4592. description: '[编号]现货合同编号'
  4593. type: string
  4594. contracttype:
  4595. description: 现货合同类型 - 1:采购 -1:销售
  4596. type: integer
  4597. createtime:
  4598. description: 创建时间
  4599. type: string
  4600. customerusername:
  4601. description: 对手方
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货品种ID
  4605. type: integer
  4606. exetype:
  4607. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4608. type: integer
  4609. logid:
  4610. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4611. type: string
  4612. logvalue:
  4613. description: '[期间变化量]现货量变更值'
  4614. type: number
  4615. middlegoodschange:
  4616. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4617. type: number
  4618. operatelogtype:
  4619. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4620. 27:生产出库
  4621. type: integer
  4622. relatedid:
  4623. description: 现货合同ID
  4624. type: integer
  4625. spotgoodsbrandid:
  4626. description: 现货品牌ID
  4627. type: integer
  4628. tradedate:
  4629. description: 交易日(yyyyMMdd)
  4630. type: string
  4631. userid:
  4632. description: 机构ID
  4633. type: integer
  4634. warehouseinfoid:
  4635. description: 仓库ID
  4636. type: integer
  4637. wrfactortypeid:
  4638. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4639. type: integer
  4640. wrstandardid:
  4641. description: 现货商品ID
  4642. type: integer
  4643. wrstandardname:
  4644. description: 商品名称
  4645. type: string
  4646. type: object
  4647. models.Ermcp3AreaSpot:
  4648. properties:
  4649. areauserid:
  4650. description: 所属机构
  4651. type: integer
  4652. convertratio:
  4653. description: 套保系数
  4654. type: number
  4655. decreaseqty:
  4656. description: 减少数量=-(销售已定价数量+采购计划数量)
  4657. type: number
  4658. enumdicname:
  4659. description: 单位名称
  4660. type: string
  4661. increaseqty:
  4662. description: 增加数量=销售计划数量+采购已定价数量
  4663. type: number
  4664. oritoalspotqty:
  4665. description: 昨日数量
  4666. type: number
  4667. totalspotqty:
  4668. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4669. type: number
  4670. unitid:
  4671. description: 现货商品单位id
  4672. type: integer
  4673. updatetime:
  4674. description: 更新时间
  4675. type: string
  4676. wrstandardcode:
  4677. description: 现货商品代码
  4678. type: string
  4679. wrstandardid:
  4680. description: 现货商品ID(SEQ_WRSTANDARD)
  4681. type: integer
  4682. wrstandardname:
  4683. description: 现货商品名称
  4684. type: string
  4685. type: object
  4686. models.Ermcp3AreaSpotDetail:
  4687. properties:
  4688. contracttype:
  4689. description: 合同类型 1-采购 -1-销售
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. enumdicname:
  4695. description: 现货商品单位名称
  4696. type: string
  4697. logtype:
  4698. description: 记录类型 1-套保 2-现货合同
  4699. type: integer
  4700. qty:
  4701. description: 数量
  4702. type: number
  4703. recordname:
  4704. description: 类型名称
  4705. type: string
  4706. relatedid:
  4707. description: 套保计划ID/现货合同ID
  4708. type: string
  4709. relatedno:
  4710. description: 编号
  4711. type: string
  4712. strtime:
  4713. description: 时间
  4714. type: string
  4715. wrstandardcode:
  4716. description: 现货商品代码
  4717. type: string
  4718. wrstandardid:
  4719. description: 现货商品ID(SEQ_WRSTANDARD)
  4720. type: integer
  4721. wrstandardname:
  4722. description: 现货商品名称
  4723. type: string
  4724. type: object
  4725. models.Ermcp3AreaSpotPLReport:
  4726. properties:
  4727. accountid:
  4728. description: 期货账户ID (作废, 默认为0)
  4729. type: integer
  4730. accountname:
  4731. description: 机构名称
  4732. type: string
  4733. actualpl:
  4734. description: 现货损益
  4735. type: number
  4736. areauserid:
  4737. description: 所属机构\交易用户ID
  4738. type: integer
  4739. begindate:
  4740. description: 开始交易日
  4741. type: string
  4742. biztype:
  4743. description: 业务类型 - 1:套保 2:套利
  4744. type: integer
  4745. brandname:
  4746. description: 品牌名称
  4747. type: string
  4748. curamount:
  4749. description: 期末额
  4750. type: number
  4751. curaverageprice:
  4752. description: 期末均价
  4753. type: number
  4754. curbuyamount:
  4755. description: 期末采购总额
  4756. type: number
  4757. curbuyqty:
  4758. description: 期末采购总量
  4759. type: number
  4760. curmarketvalue:
  4761. description: 参考市值(期末市值)
  4762. type: number
  4763. curqty:
  4764. description: 期末量
  4765. type: number
  4766. currencyid:
  4767. description: 结算币种ID【原值】
  4768. type: integer
  4769. currencyname:
  4770. description: 币种名称
  4771. type: string
  4772. cursellamount:
  4773. description: 期末销售总额
  4774. type: number
  4775. cursellqty:
  4776. description: 期末销售总量
  4777. type: number
  4778. curspotprice:
  4779. description: 参考市价(最新价)
  4780. type: number
  4781. cycletime:
  4782. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4783. type: string
  4784. cycletype:
  4785. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4786. type: integer
  4787. deliverygoodscode:
  4788. description: 现货品种代码
  4789. type: string
  4790. deliverygoodsid:
  4791. description: 现货品种ID
  4792. type: integer
  4793. deliverygoodsname:
  4794. description: 现货品种名称
  4795. type: string
  4796. enddate:
  4797. description: 结束交易日
  4798. type: string
  4799. enumdicname:
  4800. description: 现货品种单位名称(作废)
  4801. type: string
  4802. floatpl:
  4803. description: 浮动损益
  4804. type: number
  4805. goodsunitid:
  4806. description: 现货品种单位id(作废)
  4807. type: integer
  4808. oriamount:
  4809. description: 期初额
  4810. type: number
  4811. oriaverageprice:
  4812. description: 期初均价
  4813. type: number
  4814. oribuyamount:
  4815. description: 期初采购总额
  4816. type: number
  4817. oribuyqty:
  4818. description: 期初采购总量
  4819. type: number
  4820. oriqty:
  4821. description: 期初量
  4822. type: number
  4823. orisellamount:
  4824. description: 期初销售总额
  4825. type: number
  4826. orisellqty:
  4827. description: 期初销售总量
  4828. type: number
  4829. reckondate:
  4830. description: 日照时期(yyyyMMdd)
  4831. type: string
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID
  4834. type: integer
  4835. todaybuyamount:
  4836. description: 今日采购额(今采购额)
  4837. type: number
  4838. todaybuyaverageprice:
  4839. description: 今日采购均价
  4840. type: number
  4841. todaybuyqty:
  4842. description: 今日采购量(今采购量)
  4843. type: number
  4844. todayinqty:
  4845. description: 今日入库量(今入库量)
  4846. type: number
  4847. todayoutqty:
  4848. description: 今日出库量(今出库量)
  4849. type: number
  4850. todaysellamount:
  4851. description: 今日销售额(今销售额)
  4852. type: number
  4853. todaysellaverageprice:
  4854. description: 今日销售均价
  4855. type: number
  4856. todaysellqty:
  4857. description: 今日销售量(今销售量)
  4858. type: number
  4859. unitid:
  4860. description: 品类单位id
  4861. type: integer
  4862. unitidname:
  4863. description: 品类单位名称
  4864. type: string
  4865. updatetime:
  4866. description: 更新时间
  4867. type: string
  4868. wrfactortypeid:
  4869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4870. type: integer
  4871. wrstandardcode:
  4872. description: 现货商品(品类)代码
  4873. type: string
  4874. wrstandardid:
  4875. description: 现货品类ID
  4876. type: integer
  4877. wrstandardname:
  4878. description: 现货商品(品类)名称
  4879. type: string
  4880. type: object
  4881. models.Ermcp3AreaStock:
  4882. properties:
  4883. brandname:
  4884. description: 品牌名称
  4885. type: string
  4886. curstock:
  4887. description: 期末库存量(今日量)
  4888. type: number
  4889. deliverygoodscode:
  4890. description: 现货品种代码
  4891. type: string
  4892. deliverygoodsid:
  4893. description: 现货品种id
  4894. type: integer
  4895. deliverygoodsname:
  4896. description: 现货品种名称
  4897. type: string
  4898. enumdicname:
  4899. description: 单位名称
  4900. type: string
  4901. goodsunitid:
  4902. description: 现货商品单位id
  4903. type: integer
  4904. oristock:
  4905. description: 期初库存量(昨日量)
  4906. type: number
  4907. spotgoodsbrandid:
  4908. description: 现货品牌ID
  4909. type: integer
  4910. todaybuyinqty:
  4911. description: 今日采购入库量
  4912. type: number
  4913. todayproduceinqty:
  4914. description: 今日生产入库量
  4915. type: number
  4916. todayproduceoutqty:
  4917. description: 今日生产出库量
  4918. type: number
  4919. todayselloutqty:
  4920. description: 今日销售出库量
  4921. type: number
  4922. unitid:
  4923. description: 单位id
  4924. type: integer
  4925. updatetime:
  4926. description: 更新时间
  4927. type: string
  4928. userid:
  4929. description: 机构ID
  4930. type: integer
  4931. username:
  4932. description: 机构名称
  4933. type: string
  4934. warehousecode:
  4935. description: 仓库代码
  4936. type: string
  4937. warehouseinfoid:
  4938. description: 仓库ID
  4939. type: string
  4940. warehousename:
  4941. description: 仓库名称
  4942. type: string
  4943. warehousetype:
  4944. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4945. type: integer
  4946. wrstandardcode:
  4947. description: 品类代码
  4948. type: string
  4949. wrstandardid:
  4950. description: 品类ID
  4951. type: string
  4952. wrstandardname:
  4953. description: 品类名称
  4954. type: string
  4955. required:
  4956. - userid
  4957. type: object
  4958. models.Ermcp3AreaStockApply:
  4959. properties:
  4960. applyid:
  4961. description: 申请人
  4962. type: integer
  4963. applyname:
  4964. description: 申请人名称
  4965. type: string
  4966. applyremark:
  4967. description: 申请备注
  4968. type: string
  4969. applysrc:
  4970. description: 申请来源 - 1:管理端 2:终端
  4971. type: integer
  4972. applystatus:
  4973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4974. type: integer
  4975. applytime:
  4976. description: 申请时间
  4977. type: string
  4978. auditid:
  4979. description: 审核人
  4980. type: integer
  4981. auditname:
  4982. description: 审核人名称
  4983. type: string
  4984. auditremark:
  4985. description: 审核备注
  4986. type: string
  4987. auditsrc:
  4988. description: 审核来源 - 1:管理端 2:终端
  4989. type: integer
  4990. audittime:
  4991. description: 审核时间
  4992. type: string
  4993. audittradedate:
  4994. description: 审核交易日(yyyyMMdd)
  4995. type: string
  4996. brandname:
  4997. description: 品牌名称
  4998. type: string
  4999. buynickname:
  5000. description: 采购方昵称
  5001. type: string
  5002. buyuserid:
  5003. description: 采购方userid
  5004. type: integer
  5005. buyusername:
  5006. description: 采购方名称
  5007. type: string
  5008. contractno:
  5009. description: 合同编号
  5010. type: string
  5011. contractqty:
  5012. description: 合同量
  5013. type: number
  5014. contracttype:
  5015. description: 现货合同类型 - 1:采购 -1:销售
  5016. type: integer
  5017. deliverygoodscode:
  5018. description: 现货品种代码
  5019. type: string
  5020. deliverygoodsid:
  5021. description: 现货品种id
  5022. type: integer
  5023. deliverygoodsname:
  5024. description: 现货品种名称
  5025. type: string
  5026. detailjson:
  5027. description: 明细数据
  5028. type: string
  5029. enumdicname:
  5030. description: 现货商品单位名称
  5031. type: string
  5032. inoutapplyid:
  5033. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5034. type: string
  5035. inouttype:
  5036. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5037. type: integer
  5038. pricetype:
  5039. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5040. type: integer
  5041. qty:
  5042. description: 数量
  5043. type: number
  5044. sellnickname:
  5045. description: 销售方昵称
  5046. type: string
  5047. selluserid:
  5048. description: 销售方userid
  5049. type: integer
  5050. sellusername:
  5051. description: 销售方名称
  5052. type: string
  5053. spotcontractid:
  5054. description: 关联现货合同ID
  5055. type: string
  5056. spotgoodsbrandid:
  5057. description: 现货品牌ID
  5058. type: integer
  5059. unitid:
  5060. description: 单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构ID
  5064. type: integer
  5065. warehousecode:
  5066. description: 仓库代码
  5067. type: string
  5068. warehouseinfoid:
  5069. description: 现货仓库ID
  5070. type: string
  5071. warehousename:
  5072. description: 仓库名称
  5073. type: string
  5074. warehousetype:
  5075. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5076. type: integer
  5077. wrstandardcode:
  5078. description: 品类代码
  5079. type: string
  5080. wrstandardid:
  5081. description: 品类ID
  5082. type: integer
  5083. wrstandardname:
  5084. description: 品类名称
  5085. type: string
  5086. type: object
  5087. models.Ermcp3AreaStockApplySum:
  5088. properties:
  5089. brandname:
  5090. description: 品牌名称
  5091. type: string
  5092. inouttype:
  5093. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5094. type: integer
  5095. spotcontractid:
  5096. description: 关联现货合同ID
  5097. type: string
  5098. spotgoodsbrandid:
  5099. description: 品牌id
  5100. type: integer
  5101. totalqty:
  5102. description: 总数量
  5103. type: number
  5104. wrstandardid:
  5105. description: 品类id
  5106. type: integer
  5107. wrstandardname:
  5108. description: 品类名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaStockReportEx:
  5112. properties:
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. brandname:
  5117. description: 品牌名称
  5118. type: string
  5119. curstock:
  5120. description: 期末库存量
  5121. type: number
  5122. cycletime:
  5123. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5124. type: string
  5125. cycletype:
  5126. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5127. type: integer
  5128. deliverygoodscode:
  5129. description: 现货品种代码
  5130. type: string
  5131. deliverygoodsid:
  5132. description: 现货品种id
  5133. type: integer
  5134. deliverygoodsname:
  5135. description: 现货品种名称
  5136. type: string
  5137. diffqty:
  5138. description: 库存变化量 = 期末 - 期初
  5139. type: number
  5140. enddate:
  5141. description: 结束交易日
  5142. type: string
  5143. enumdicname:
  5144. description: 单位名称
  5145. type: string
  5146. goodsunitid:
  5147. description: 现货单位id
  5148. type: integer
  5149. oristock:
  5150. description: 期初库存量
  5151. type: number
  5152. reckondate:
  5153. description: 日照时期(yyyyMMdd)
  5154. type: string
  5155. spotgoodsbrandid:
  5156. description: 现货品牌ID
  5157. type: integer
  5158. todaybuyinqty:
  5159. description: 今采购入库量
  5160. type: number
  5161. todayproduceinqty:
  5162. description: 今内部入库量
  5163. type: number
  5164. todayproduceoutqty:
  5165. description: 今内部出库量
  5166. type: number
  5167. todayselloutqty:
  5168. description: 今销售出库量
  5169. type: number
  5170. unbuyinqty:
  5171. description: 采购未入库量(数据库未找到相关字段?)
  5172. type: number
  5173. unitid:
  5174. description: 品类单位id
  5175. type: integer
  5176. unselloutqty:
  5177. description: 销售未出库量(数据库未找到相关字段?)
  5178. type: number
  5179. updatetime:
  5180. description: 更新时间
  5181. type: string
  5182. userid:
  5183. description: 机构ID
  5184. type: integer
  5185. username:
  5186. description: 机构名称
  5187. type: string
  5188. warehousecode:
  5189. description: 仓库代码
  5190. type: string
  5191. warehouseinfoid:
  5192. description: 仓库ID
  5193. type: string
  5194. warehousename:
  5195. description: 仓库名称
  5196. type: string
  5197. warehousetype:
  5198. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5199. type: integer
  5200. wrstandardcode:
  5201. description: 品类代码
  5202. type: string
  5203. wrstandardid:
  5204. description: 品类ID
  5205. type: integer
  5206. wrstandardname:
  5207. description: 品类名称
  5208. type: string
  5209. type: object
  5210. models.Ermcp3ArealSumPL:
  5211. properties:
  5212. accountname:
  5213. description: 机构名称
  5214. type: string
  5215. areauserid:
  5216. description: 所属机构\交易用户ID
  5217. type: integer
  5218. begindate:
  5219. description: 开始交易日
  5220. type: string
  5221. currencyid:
  5222. description: 结算币种ID
  5223. type: integer
  5224. currencyname:
  5225. description: 币种名称
  5226. type: string
  5227. cycletime:
  5228. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5229. type: string
  5230. cycletype:
  5231. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5232. type: integer
  5233. enddate:
  5234. description: 结束交易日
  5235. type: string
  5236. enumdicname:
  5237. description: 单位名称(套保品种)
  5238. type: string
  5239. futureactualpl:
  5240. description: 期货损益
  5241. type: number
  5242. futurefloatpl:
  5243. description: 期货浮动损益
  5244. type: number
  5245. futurespotratio:
  5246. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5247. type: number
  5248. goodsunitid:
  5249. description: 套保品种单位id
  5250. type: integer
  5251. hedgeexposurepl:
  5252. description: 套保敞口损益
  5253. type: number
  5254. middlegoodscode:
  5255. description: 套保品种代码
  5256. type: string
  5257. middlegoodsid:
  5258. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5259. type: integer
  5260. middlegoodsname:
  5261. description: 套保品种名称
  5262. type: string
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. spotactualpl:
  5267. description: 现货损益
  5268. type: number
  5269. spotfloatpl:
  5270. description: 现货浮动损益
  5271. type: number
  5272. sumactualpl:
  5273. description: 实际损益 = (ActualPL + FutureActualPL)
  5274. type: number
  5275. sumpl:
  5276. description: 总敞口损益 | 汇总损益
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量
  5280. type: number
  5281. totalneedhedgeqty:
  5282. description: 应套保总量
  5283. type: number
  5284. totalspotqty:
  5285. description: 现货头寸总量
  5286. type: number
  5287. updatetime:
  5288. description: 更新时间
  5289. type: string
  5290. type: object
  5291. models.Ermcp3Brand:
  5292. properties:
  5293. areauserid:
  5294. description: 用户id
  5295. type: integer
  5296. brandid:
  5297. description: 品牌id
  5298. type: integer
  5299. brandname:
  5300. description: 品牌名称
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 品种ID
  5304. type: integer
  5305. isvalid:
  5306. description: 是否有效
  5307. type: integer
  5308. type: object
  5309. models.Ermcp3Contract:
  5310. properties:
  5311. accountid:
  5312. description: 期货账户id
  5313. type: string
  5314. amount:
  5315. description: 金额 [1:一口价、3:暂定价]
  5316. type: number
  5317. attachment:
  5318. description: 附件
  5319. type: string
  5320. auditremark:
  5321. description: 审核意见
  5322. type: string
  5323. audittime:
  5324. description: 审核时间
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 1-套保 2-套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buynickname:
  5333. description: 销售方昵称
  5334. type: string
  5335. buyuserid:
  5336. description: 采购方ID
  5337. type: integer
  5338. buyusername:
  5339. description: 采购方名称
  5340. type: string
  5341. contracctstatus:
  5342. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5343. type: integer
  5344. contractmargin:
  5345. description: 合同保证金
  5346. type: number
  5347. contractno:
  5348. description: 现货合同编号
  5349. type: string
  5350. contracttype:
  5351. description: 现货合同类型 - 1:采购 -1:销售
  5352. type: integer
  5353. convertfactor:
  5354. description: 标仓系数(品类)
  5355. type: number
  5356. createtime:
  5357. description: 创建时间
  5358. type: string
  5359. currencyid:
  5360. description: 币种id
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. deliveryenddate:
  5366. description: 交收期(结束)
  5367. type: string
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. deliverystartdate:
  5378. description: 交收期(开始)
  5379. type: string
  5380. enddate:
  5381. description: 点价结束日期 [2:点价 3:暂定价]
  5382. type: string
  5383. enumdicname:
  5384. description: 单位名称
  5385. type: string
  5386. goodscode:
  5387. description: 点价合约代码
  5388. type: string
  5389. goodsid:
  5390. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5391. type: integer
  5392. goodsname:
  5393. description: 点价商品名称
  5394. type: string
  5395. margin:
  5396. description: 当前保证金
  5397. type: number
  5398. meruserid:
  5399. description: 跟单员id
  5400. type: integer
  5401. meruserlogincode:
  5402. description: 跟单员登录代码
  5403. type: string
  5404. merusername:
  5405. description: 跟单员名称
  5406. type: string
  5407. pointdesc:
  5408. description: 点价备注
  5409. type: string
  5410. price:
  5411. description: 价格\暂定价 [1:一口价、3:暂定价]
  5412. type: number
  5413. pricemove:
  5414. description: 升贴水 [2:点价 3:暂定价]
  5415. type: number
  5416. pricetype:
  5417. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5418. type: integer
  5419. producttype:
  5420. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5421. type: integer
  5422. qty:
  5423. description: 数量
  5424. type: number
  5425. remark:
  5426. description: 备注
  5427. type: string
  5428. saleuserid:
  5429. description: 业务员id
  5430. type: integer
  5431. saleuserlogincode:
  5432. description: 业务员登录代码
  5433. type: string
  5434. saleusername:
  5435. description: 业务员名称
  5436. type: string
  5437. sellnickname:
  5438. description: 采购方昵称
  5439. type: string
  5440. selluserid:
  5441. description: 销售方ID
  5442. type: integer
  5443. sellusername:
  5444. description: 销售方名称
  5445. type: string
  5446. spotcontractid:
  5447. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5448. type: string
  5449. spotgoodsbrandid:
  5450. description: 现货品牌ID(DGFactoryItem表的ID)
  5451. type: integer
  5452. spotgoodsdesc:
  5453. description: 商品型号
  5454. type: string
  5455. startdate:
  5456. description: 点价开始日期 [2:点价 3:暂定价]
  5457. type: string
  5458. subjectid:
  5459. description: 交易主体ID
  5460. type: integer
  5461. subjectname:
  5462. description: 交易主体名称
  5463. type: string
  5464. tradeuserid:
  5465. description: 交易员id
  5466. type: integer
  5467. tradeuserlogincode:
  5468. description: 交易员登录代码
  5469. type: string
  5470. tradeusername:
  5471. description: 交易员名称
  5472. type: string
  5473. unitid:
  5474. description: 单位id(取品类上的单位id)
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. userid:
  5480. description: 所属机构ID
  5481. type: integer
  5482. vatrate:
  5483. description: 增值税率
  5484. type: number
  5485. wrstandardcode:
  5486. description: 品类代码
  5487. type: string
  5488. wrstandardid:
  5489. description: 品类ID
  5490. type: integer
  5491. wrstandardname:
  5492. description: 品类名称
  5493. type: string
  5494. type: object
  5495. models.Ermcp3ContractMiddleGoodsCfg:
  5496. properties:
  5497. agreeunit:
  5498. description: 合约乘数
  5499. type: number
  5500. convertratio:
  5501. description: 期货品种系数
  5502. type: number
  5503. covertqty:
  5504. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5505. type: integer
  5506. middlegoodsid:
  5507. description: 套保品种ID
  5508. type: integer
  5509. middlegoodspricedqty3:
  5510. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5511. example: "0"
  5512. type: string
  5513. pendingpricedqty:
  5514. description: 待点价量
  5515. example: "0"
  5516. type: string
  5517. relatedmiddlegoodsqty:
  5518. description: 已关联量(套保品种-期货)
  5519. example: "0"
  5520. type: string
  5521. spotcontractid:
  5522. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5523. type: string
  5524. type: object
  5525. models.Ermcp3ExposureContractDetail:
  5526. properties:
  5527. biztype:
  5528. description: 业务类型 1-套保 2-套利
  5529. type: integer
  5530. brandname:
  5531. description: 品牌名称
  5532. type: string
  5533. buyuserid:
  5534. description: 采购方id
  5535. type: integer
  5536. buyusername:
  5537. description: 采购方名称
  5538. type: string
  5539. contractno:
  5540. description: 合同编号
  5541. type: string
  5542. contracttype:
  5543. description: 现货合同类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. convertratio:
  5549. description: 折算系数(套保品种)
  5550. type: number
  5551. curqty:
  5552. description: 今定价量
  5553. type: number
  5554. deliverygoodscode:
  5555. description: 现货品种代码
  5556. type: string
  5557. deliverygoodsid:
  5558. description: 现货品种id
  5559. type: integer
  5560. deliverygoodsname:
  5561. description: 现货品种名称
  5562. type: string
  5563. diffhedgeqty:
  5564. description: 套保变动量
  5565. type: number
  5566. diffneedhedgeqty:
  5567. description: 应套保变动量
  5568. type: number
  5569. diffqty:
  5570. description: 套保品种今变动量
  5571. type: number
  5572. enumdicname:
  5573. description: 单位名称
  5574. type: string
  5575. mgunitname:
  5576. description: 套保品种单位名称
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种id
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. needarbitrageratio:
  5588. description: 应套利比例
  5589. type: number
  5590. needhedgeratio:
  5591. description: 应套保比例
  5592. type: number
  5593. pricedqty:
  5594. description: 已定价量
  5595. type: number
  5596. qty:
  5597. description: 合同量
  5598. type: number
  5599. reckondate:
  5600. description: 交易日(reckondate)
  5601. type: string
  5602. selluserid:
  5603. description: 销售方id
  5604. type: integer
  5605. sellusername:
  5606. description: 销售方名称
  5607. type: string
  5608. spotcontractid:
  5609. description: 合同id
  5610. type: string
  5611. todaypricedqty:
  5612. description: 今定价量
  5613. type: number
  5614. tradedate:
  5615. description: 交易日
  5616. type: string
  5617. unitid:
  5618. description: 品类单位id
  5619. type: integer
  5620. userid:
  5621. description: 机构id
  5622. type: integer
  5623. username:
  5624. description: 交易用户
  5625. type: string
  5626. wrstandardcode:
  5627. description: 现货商品代码
  5628. type: string
  5629. wrstandardid:
  5630. description: 现货商品id
  5631. type: integer
  5632. wrstandardname:
  5633. description: 现货商品名称
  5634. type: string
  5635. type: object
  5636. models.Ermcp3ExposureDetail:
  5637. properties:
  5638. areauserid:
  5639. description: 机构ID
  5640. type: integer
  5641. changeQty:
  5642. description: 套保变动量
  5643. type: number
  5644. contracttype:
  5645. description: 现货合同类型 - 1:采购 -1:销售
  5646. type: integer
  5647. convertfactor:
  5648. description: 标仓系数
  5649. type: number
  5650. convertratio:
  5651. description: 折算系数
  5652. type: number
  5653. createtime:
  5654. description: 时间
  5655. type: string
  5656. enumdicname:
  5657. description: 现货商品单位名称
  5658. type: string
  5659. logtype:
  5660. description: 类型 - 1:套保计划 2:现货合同
  5661. type: integer
  5662. mgunitid:
  5663. description: 套保品种单位id
  5664. type: integer
  5665. mgunitidname:
  5666. description: 套保品种单位名称
  5667. type: string
  5668. middlegoodsId:
  5669. description: 套保商品id
  5670. type: integer
  5671. middlegoodscode:
  5672. description: 套保商品代码
  5673. type: string
  5674. middlegoodsname:
  5675. description: 套保商品名称
  5676. type: string
  5677. qty:
  5678. description: 数量
  5679. type: number
  5680. relateNo:
  5681. description: 现货合同/套保计划编号
  5682. type: string
  5683. unitid:
  5684. description: 现货商品单位id
  5685. type: integer
  5686. wrstandardcode:
  5687. description: 现货商品代码
  5688. type: string
  5689. wrstandardid:
  5690. description: 现货商品ID(SEQ_WRSTANDARD)
  5691. type: integer
  5692. wrstandardname:
  5693. description: 现货商品名称
  5694. type: string
  5695. type: object
  5696. models.Ermcp3ExposureFutuDetail:
  5697. properties:
  5698. accountid:
  5699. description: 交易账户id
  5700. type: integer
  5701. accountname:
  5702. description: 交易账户
  5703. type: string
  5704. begindate:
  5705. description: 开始交易日
  5706. type: string
  5707. buyorsell:
  5708. description: 方向 0-买 1-卖
  5709. type: integer
  5710. diffmgqty:
  5711. description: 套保品种今变化量
  5712. type: number
  5713. diffneedqty:
  5714. description: 应套保总量变化量
  5715. type: number
  5716. difftradeqty:
  5717. description: 交易品种今变化量
  5718. type: number
  5719. enddate:
  5720. description: 结束交易日
  5721. type: string
  5722. enumdicname:
  5723. description: 单位名称
  5724. type: string
  5725. goodscode:
  5726. description: 商品代码
  5727. type: string
  5728. goodsid:
  5729. description: 商品id
  5730. type: integer
  5731. goodsname:
  5732. description: 商品名称
  5733. type: string
  5734. holdqty:
  5735. description: 期末持仓量
  5736. type: number
  5737. middlegoodscode:
  5738. description: 套保商品代码
  5739. type: string
  5740. middlegoodsid:
  5741. description: 套保商品id
  5742. type: integer
  5743. middlegoodsname:
  5744. description: 套保商品名称
  5745. type: string
  5746. oriholdqty:
  5747. description: 期初持仓量
  5748. type: number
  5749. reckondate:
  5750. description: 交易日(RECKONDATE)
  5751. type: string
  5752. todaycloseqty:
  5753. description: 今平仓量
  5754. type: number
  5755. todayopenqty:
  5756. description: 今开仓量
  5757. type: number
  5758. tradedate:
  5759. description: 交易日(RECKONDATE)
  5760. type: string
  5761. username:
  5762. description: 用户名称(交易用户)
  5763. type: string
  5764. type: object
  5765. models.Ermcp3ExposureHedgeplanDetail:
  5766. properties:
  5767. biztype:
  5768. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5769. type: integer
  5770. changqty:
  5771. description: 应套保总量变化量
  5772. type: number
  5773. contracttype:
  5774. description: 计划类型 - 1:采购 -1:销售
  5775. type: integer
  5776. convertratio:
  5777. description: 折算系数(套保品种)
  5778. type: number
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商吕名称
  5787. type: string
  5788. dgunitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. dgunitidname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. diffqty:
  5795. description: 套保品种今变动量
  5796. type: number
  5797. enumdicname:
  5798. description: 单位名称(品类)
  5799. type: string
  5800. hedgeplanid:
  5801. description: 套保计划id
  5802. type: string
  5803. hedgeplanno:
  5804. description: 套保计划名称
  5805. type: string
  5806. hedgeplanstatus:
  5807. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5808. type: integer
  5809. mgunitidname:
  5810. description: 单位名称(套保商品)
  5811. type: string
  5812. middlegoodscode:
  5813. description: 套保品种代码
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保品种id
  5817. type: integer
  5818. middlegoodsname:
  5819. description: 套保品种名称
  5820. type: string
  5821. needarbitrageratio:
  5822. description: 应套利比例
  5823. type: number
  5824. needhedgeratio:
  5825. description: 应套保比例
  5826. type: number
  5827. pricedqty:
  5828. description: 已定价量
  5829. type: number
  5830. qty:
  5831. description: 合同量
  5832. type: number
  5833. reckondate:
  5834. description: 交易日(reckondate)
  5835. type: string
  5836. tradedate:
  5837. description: 交易日(登记日)
  5838. type: string
  5839. unitid:
  5840. description: 品类单位id
  5841. type: integer
  5842. userid:
  5843. description: 机构id
  5844. type: integer
  5845. wrstandardcode:
  5846. description: 品类代码
  5847. type: string
  5848. wrstandardid:
  5849. description: 品类id
  5850. type: integer
  5851. wrstandardname:
  5852. description: 品类名称
  5853. type: string
  5854. type: object
  5855. models.Ermcp3ExposureParamChLog:
  5856. properties:
  5857. accountid:
  5858. description: 期货账户ID (作废, 默认为0)
  5859. type: integer
  5860. aftervalue:
  5861. description: 应套保\套利量变更后(调整后应套保总量)
  5862. type: number
  5863. areauserid:
  5864. description: 所属机构\交易用户ID
  5865. type: integer
  5866. beforevalue:
  5867. description: 应套保\套利量变更前(调整前应套保总量)
  5868. type: number
  5869. begindate:
  5870. description: 开始交易日
  5871. type: string
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5874. type: integer
  5875. curvalue:
  5876. description: 当前套保\套利量(套保总量|套利总量)
  5877. type: number
  5878. diffvalue:
  5879. description: 应套保总量变化量
  5880. type: number
  5881. enddate:
  5882. description: 结束交易日
  5883. type: string
  5884. logdatetime:
  5885. description: 流水日期
  5886. type: string
  5887. logid:
  5888. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5889. type: string
  5890. middlegoodscode:
  5891. description: 套保品种代码
  5892. type: string
  5893. middlegoodsid:
  5894. description: 套保品种
  5895. type: integer
  5896. middlegoodsname:
  5897. description: 套保品种名称
  5898. type: string
  5899. paramaftervalue:
  5900. description: 参数变更后(调整后参数值)
  5901. type: number
  5902. parambeforevalue:
  5903. description: 参数变更前(调整前参数值)
  5904. type: number
  5905. reckondate:
  5906. description: 交易日(reckondate)
  5907. type: string
  5908. tradedate:
  5909. description: 交易日(yyyyMMdd)
  5910. type: string
  5911. type: object
  5912. models.Ermcp3ExpourseReport:
  5913. properties:
  5914. accountid:
  5915. description: 期货账户ID (作废, 默认为0)
  5916. type: integer
  5917. accountname:
  5918. description: 机构名称
  5919. type: string
  5920. arbitrageqty:
  5921. description: 套利量
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构\交易用户ID
  5925. type: integer
  5926. begindate:
  5927. description: 开始交易日
  5928. type: string
  5929. buyfutureqty:
  5930. description: 买入期货数量
  5931. type: number
  5932. buyplanqty:
  5933. description: 采购计划数量
  5934. type: number
  5935. buypricedqty:
  5936. description: 采购合同已定价数量
  5937. type: number
  5938. cycletime:
  5939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5940. type: string
  5941. cycletype:
  5942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5943. type: integer
  5944. diffexposure:
  5945. description: 变动量(套保敞口)
  5946. type: number
  5947. difffutuqty:
  5948. description: 变动量(期货)
  5949. type: number
  5950. diffhedgeqty:
  5951. description: 变动量(现货应套保总量)
  5952. type: number
  5953. diffmgqtya:
  5954. description: 套保变动量
  5955. type: number
  5956. diffmgqtyb:
  5957. description: 套利变动量
  5958. type: number
  5959. diffneedqty:
  5960. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5961. type: number
  5962. diffqty:
  5963. description: 变动量(总敞口)
  5964. type: number
  5965. diffspotqty:
  5966. description: 变动量(现货) | 除税变动量
  5967. type: number
  5968. enddate:
  5969. description: 结束交易日
  5970. type: string
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. hedgeqty:
  5975. description: 套保量
  5976. type: number
  5977. mgneedhedgeratio:
  5978. description: 套保比例(套保品的)
  5979. type: number
  5980. middlegoodsid:
  5981. description: 套保品种ID
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保商品名称
  5985. type: string
  5986. middlgoodscode:
  5987. description: 套保商品代码
  5988. type: string
  5989. needarbitrageqty:
  5990. description: 应套利量
  5991. type: number
  5992. needarbitrageratio:
  5993. description: 套利比例(套保品的)
  5994. type: number
  5995. needhedgeexposoure:
  5996. description: 应套保敞口(套保敞口)
  5997. type: number
  5998. needhedgeqty:
  5999. description: 应套保量
  6000. type: number
  6001. needhedgeratio:
  6002. description: 应套保敞口比例
  6003. type: number
  6004. needqty:
  6005. description: 应套总量 = 应套保量 + 应套利量
  6006. type: number
  6007. oriarbitrageqty:
  6008. description: 期初套利量
  6009. type: number
  6010. oribuyfutureqty:
  6011. description: 期初买入期货数量
  6012. type: number
  6013. oribuyplanqty:
  6014. description: 期初采购计划数量
  6015. type: number
  6016. oribuypricedqty:
  6017. description: 期初采购合同已定价数量
  6018. type: number
  6019. orihedgeqty:
  6020. description: 期初套保量
  6021. type: number
  6022. orineedarbitrageqty:
  6023. description: 期初应套利量
  6024. type: number
  6025. orineedhedgeexposoure:
  6026. description: 期初应套保敞口
  6027. type: number
  6028. orineedhedgeqty:
  6029. description: 期初应套保量
  6030. type: number
  6031. orisellfutureqty:
  6032. description: 期初卖出期货数量
  6033. type: number
  6034. orisellplanqty:
  6035. description: 期初销售计划数量
  6036. type: number
  6037. orisellpricedqty:
  6038. description: 期初销售合同已定价数量
  6039. type: number
  6040. oritotalexposure:
  6041. description: 期初实时总敞口
  6042. type: number
  6043. oritotalfutureqty:
  6044. description: 期初期货头寸总量
  6045. type: number
  6046. oritotalneedhedgeqty:
  6047. description: 期初应套保总量
  6048. type: number
  6049. oritotalspotqty:
  6050. description: 期初现货头寸总量
  6051. type: number
  6052. reckondate:
  6053. description: 日照时期(yyyyMMdd)
  6054. type: string
  6055. sellfutureqty:
  6056. description: 卖出期货数量
  6057. type: number
  6058. sellplanqty:
  6059. description: 销售计划数量
  6060. type: number
  6061. sellpricedqty:
  6062. description: 销售合同已定价数量
  6063. type: number
  6064. totalexposure:
  6065. description: 实时总敞口(总敞口)
  6066. type: number
  6067. totalfutureqty:
  6068. description: 期货头寸总量(期货总量)
  6069. type: number
  6070. totalhedgeratio:
  6071. description: 敞口比例
  6072. type: number
  6073. totalneedhedgeqty:
  6074. description: 应套保总量(现货应套保总量)
  6075. type: number
  6076. totalspotqty:
  6077. description: 现货头寸总量 | 除税总量
  6078. type: number
  6079. unitid:
  6080. description: 单位id
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. type: object
  6086. models.Ermcp3FinanceReport:
  6087. properties:
  6088. accountname:
  6089. description: 机构名称
  6090. type: string
  6091. areauserid:
  6092. description: 所属机构\交易用户ID
  6093. type: integer
  6094. begindate:
  6095. description: 开始交易日
  6096. type: string
  6097. biztype:
  6098. description: 业务类型 - 1:套保 2:套利
  6099. type: integer
  6100. brandname:
  6101. description: 品牌名称
  6102. type: string
  6103. buypreinvoicedamount:
  6104. description: 采购预收票额(预收票额)
  6105. type: number
  6106. buyprepaidamount:
  6107. description: 采购预付款额(预付货款额)
  6108. type: number
  6109. buytodayinvoiceamount:
  6110. description: 采购今收票额(今收票额)
  6111. type: number
  6112. buytodayrefundamount:
  6113. description: 采购今收退款额(今收退款额)
  6114. type: number
  6115. buytodaysettleamount:
  6116. description: 采购今付款额(今付货款额)
  6117. type: number
  6118. buyuninvoicedamount:
  6119. description: 采购应收票额(应收票额)
  6120. type: number
  6121. buyunpaidamount:
  6122. description: 采购应付款额(应付货款额)
  6123. type: number
  6124. currencyid:
  6125. description: 结算币种ID
  6126. type: integer
  6127. currencyname:
  6128. description: 币种名称
  6129. type: string
  6130. cycletime:
  6131. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6132. type: string
  6133. cycletype:
  6134. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6135. type: integer
  6136. deliverygoodscode:
  6137. description: 现货品种代码
  6138. type: string
  6139. deliverygoodsid:
  6140. description: 现货品种ID
  6141. type: integer
  6142. deliverygoodsname:
  6143. description: 现货品种名称
  6144. type: string
  6145. enddate:
  6146. description: 结束交易日
  6147. type: string
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. sellpreinvoicedamount:
  6152. description: 销售预开票额(预开票额)
  6153. type: number
  6154. sellprepaidamount:
  6155. description: 销售预收款额(预收货款额)
  6156. type: number
  6157. selltodayinvoiceamount:
  6158. description: 销售今开票额(今开票额)
  6159. type: number
  6160. selltodayrefundamount:
  6161. description: 销售今付退款额(今付退款额)
  6162. type: number
  6163. selltodaysettleamount:
  6164. description: 销售今收款额(今收货款额)
  6165. type: number
  6166. selluninvoicedamount:
  6167. description: 销售应开票额(应开票额)
  6168. type: number
  6169. sellunpaidamount:
  6170. description: 销售应收款额(应收货款额)
  6171. type: number
  6172. spotgoodsbrandid:
  6173. description: 现货品牌ID
  6174. type: integer
  6175. todaypaysum:
  6176. description: 今付款合计
  6177. type: number
  6178. todayreceivesum:
  6179. description: 今收款合计
  6180. type: number
  6181. updatetime:
  6182. description: 更新时间
  6183. type: string
  6184. wrfactortypeid:
  6185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6186. type: integer
  6187. wrstandardcode:
  6188. description: 品类代码
  6189. type: string
  6190. wrstandardid:
  6191. description: 现货商品ID
  6192. type: integer
  6193. wrstandardname:
  6194. description: 品类名称
  6195. type: string
  6196. type: object
  6197. models.Ermcp3GoodsGroup:
  6198. properties:
  6199. agreeunit:
  6200. description: 合约单位
  6201. type: number
  6202. areauserid:
  6203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6204. type: integer
  6205. canshort:
  6206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6207. type: integer
  6208. closepricemode:
  6209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. currencyid:
  6218. description: 报价货币ID
  6219. type: integer
  6220. decimalplace:
  6221. description: 报价小数位
  6222. type: integer
  6223. enumdicname:
  6224. description: 单位名称
  6225. type: string
  6226. exchangefullname:
  6227. description: 交易所全称
  6228. type: string
  6229. excludecfg:
  6230. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6231. type: integer
  6232. exexchangecode:
  6233. description: 交易所代码
  6234. type: string
  6235. exexchangeid:
  6236. description: 外部交易所ID[通道交易]
  6237. type: integer
  6238. exexchangename:
  6239. description: 交易所名称
  6240. type: string
  6241. goodsgroupid:
  6242. description: 商品组ID(自增ID)
  6243. type: integer
  6244. goodsgroupname:
  6245. description: 商品组名称
  6246. type: string
  6247. goodsgroupstatus:
  6248. description: 商品组状态 - 1:正常 2:注销
  6249. type: integer
  6250. goodunitid:
  6251. description: 报价单位ID
  6252. type: integer
  6253. groupcategroyid:
  6254. description: 品种分类ID
  6255. type: integer
  6256. innerdealmode:
  6257. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6258. type: integer
  6259. marketid:
  6260. description: 所属市场ID
  6261. type: integer
  6262. modifierid:
  6263. description: 修改人
  6264. type: integer
  6265. modifytime:
  6266. description: 修改时间
  6267. type: string
  6268. outerdealmode:
  6269. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. outergroupcode:
  6272. description: 外部商品组代码[通道交易]
  6273. type: string
  6274. quoteminunit:
  6275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6276. type: integer
  6277. quotesourcegroupid:
  6278. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6279. type: integer
  6280. syncgoodsqty:
  6281. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6282. type: integer
  6283. required:
  6284. - areauserid
  6285. type: object
  6286. models.Ermcp3HPMiddleGoods:
  6287. properties:
  6288. biztype:
  6289. description: 业务类型 1:套保 2:套利
  6290. type: integer
  6291. contracttype:
  6292. description: 合同类型 1:采购 -1:销售
  6293. type: integer
  6294. convertratio:
  6295. description: 折算系数
  6296. type: number
  6297. customername:
  6298. description: 对手手名称
  6299. type: string
  6300. customeruserid:
  6301. description: 对手id
  6302. type: integer
  6303. enumdicname:
  6304. description: 现货单位名称
  6305. type: string
  6306. hedgeplanid:
  6307. description: 计划id
  6308. type: string
  6309. hedgeplanno:
  6310. description: 计划编号
  6311. type: string
  6312. middlegoodsid:
  6313. description: 套保品种ID
  6314. type: integer
  6315. middlegoodsplanqty3:
  6316. description: 应套保计划量
  6317. type: number
  6318. needhedgeratio:
  6319. description: 套保比例
  6320. type: number
  6321. pricedqty:
  6322. description: 已定价量
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3HedgePlan:
  6347. properties:
  6348. accountid:
  6349. description: 资金账号
  6350. type: integer
  6351. areauserid:
  6352. description: 用户ID
  6353. type: integer
  6354. auditid:
  6355. description: 审核id
  6356. type: integer
  6357. auditname:
  6358. description: 审核人名称
  6359. type: string
  6360. auditremark:
  6361. description: 审核备注
  6362. type: string
  6363. auditsrc:
  6364. description: 审核来源 1-管理端 2-终端
  6365. type: integer
  6366. audittime:
  6367. description: 审核时间
  6368. type: string
  6369. contracttype:
  6370. description: 计划类型 - 1:采购 -1:销售
  6371. type: integer
  6372. convertfactor:
  6373. description: 标仓系数
  6374. type: number
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. currencyid:
  6379. description: 币种id
  6380. type: integer
  6381. currencyname:
  6382. description: 币种名称
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货品种ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. enumdicname:
  6394. description: 单位名称(现货商品)
  6395. type: string
  6396. hedgeplanid:
  6397. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6398. type: string
  6399. hedgeplanno:
  6400. description: 套保计划编号(名称)
  6401. type: string
  6402. hedgeplanstatus:
  6403. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6404. type: integer
  6405. planqty:
  6406. description: 计划数量
  6407. type: number
  6408. plantime:
  6409. description: 计划时间
  6410. type: string
  6411. producttype:
  6412. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6413. type: integer
  6414. remark:
  6415. description: 备注
  6416. type: string
  6417. spotgoodsdesc:
  6418. description: 商品型号
  6419. type: string
  6420. taaccountname:
  6421. description: 资金账号名称
  6422. type: string
  6423. tradeuserid:
  6424. description: 交易用户id
  6425. type: integer
  6426. tradeusername:
  6427. description: 交易用户名称
  6428. type: string
  6429. unitid:
  6430. description: 单位id(现货商品)
  6431. type: integer
  6432. updatetime:
  6433. description: 更新时间
  6434. type: string
  6435. vatrate:
  6436. description: 增值税率
  6437. type: number
  6438. wrstandardcode:
  6439. description: 品类代码
  6440. type: string
  6441. wrstandardid:
  6442. description: 品类id
  6443. type: integer
  6444. wrstandardname:
  6445. description: 品类名称
  6446. type: string
  6447. wrunitid:
  6448. description: 品类单位id
  6449. type: integer
  6450. wrunitidame:
  6451. description: 品类单位名称
  6452. type: string
  6453. type: object
  6454. models.Ermcp3InnerTradeLink:
  6455. properties:
  6456. accountid:
  6457. description: 期货账号代码 | 资金账号ID
  6458. type: integer
  6459. buyorsell:
  6460. description: 方向 - 0:买 1:卖
  6461. type: integer
  6462. channelbuildtype:
  6463. description: 委托单据类型 0:无 1:建仓 2:平仓
  6464. type: integer
  6465. currencyid:
  6466. description: 币种id
  6467. type: integer
  6468. currencyname:
  6469. description: 结算币种 名称
  6470. type: string
  6471. goodscode:
  6472. description: 商品代码
  6473. type: string
  6474. goodsid:
  6475. description: 商品ID
  6476. type: integer
  6477. goodsname:
  6478. description: 商品名称
  6479. type: string
  6480. outtradeid:
  6481. description: 外部成交单号
  6482. type: string
  6483. taname:
  6484. description: 期货账户名称
  6485. type: string
  6486. tradeid:
  6487. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6488. type: string
  6489. tradeprice:
  6490. description: 成交价格
  6491. type: number
  6492. tradeqty:
  6493. description: 期货成交数量
  6494. type: integer
  6495. tradetime:
  6496. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6497. type: string
  6498. username:
  6499. description: 用户名称
  6500. type: string
  6501. type: object
  6502. models.Ermcp3OutTradeLink:
  6503. properties:
  6504. buyorsell:
  6505. description: 买卖方向 - 0:买 1:卖
  6506. type: integer
  6507. channelbuildtype:
  6508. description: 开平标志- 0:无 1:建仓 2:平仓
  6509. type: integer
  6510. currencyname:
  6511. description: 币种名称
  6512. type: string
  6513. exexchangecode:
  6514. description: 交易所代码
  6515. type: string
  6516. exexchangename:
  6517. description: 交易所名称
  6518. type: string
  6519. goodscode:
  6520. description: 合约代码
  6521. type: string
  6522. goodsid:
  6523. description: 合约id
  6524. type: integer
  6525. goodsname:
  6526. description: 合约名称
  6527. type: string
  6528. hasinnerorder:
  6529. description: 是否有内部单关联 - 0:无 1:有
  6530. type: integer
  6531. hedgeaccountcode:
  6532. description: 外部账号 | 对冲账号
  6533. type: string
  6534. outtradeid:
  6535. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6536. type: string
  6537. tradeprice:
  6538. description: 成交价格
  6539. type: number
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. tradetime:
  6544. description: 成交时间
  6545. type: string
  6546. type: object
  6547. models.Ermcp3PaAreaAuditCfg:
  6548. properties:
  6549. areauserid:
  6550. description: 用户ID
  6551. type: integer
  6552. buyinauditflag:
  6553. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6554. type: integer
  6555. costratioauditflag:
  6556. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6557. type: integer
  6558. customerauditflag:
  6559. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6560. type: integer
  6561. deliveryauditflag:
  6562. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6563. type: integer
  6564. invoiceauditflag:
  6565. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6566. type: integer
  6567. mgneedhedgeratioauditflag:
  6568. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6569. type: integer
  6570. moneyauditflag:
  6571. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6572. type: integer
  6573. operatorid:
  6574. description: 操作人
  6575. type: integer
  6576. operatorsrc:
  6577. description: 操作来源 - 1:管理端 2:终端
  6578. type: integer
  6579. pointpriceauditflag:
  6580. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6581. type: integer
  6582. produceinauditflag:
  6583. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6584. type: integer
  6585. produceoutauditflag:
  6586. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6587. type: integer
  6588. selloutauditflag:
  6589. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6590. type: integer
  6591. sgconvertratioauditflag:
  6592. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6593. type: integer
  6594. sgvtaratioauditflag:
  6595. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6596. type: integer
  6597. spotcontractauditflag:
  6598. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6599. type: integer
  6600. updatetime:
  6601. description: 更新时间
  6602. type: string
  6603. type: object
  6604. models.Ermcp3PaAreaSubject:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构
  6608. type: integer
  6609. canmodify:
  6610. description: 是否可修改 - 0:否 1:是
  6611. type: integer
  6612. createtime:
  6613. description: 创建时间
  6614. type: string
  6615. creatorid:
  6616. description: 创建人ID
  6617. type: string
  6618. creatorsrc:
  6619. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: string
  6624. modifiersrc:
  6625. description: 修改人来源 - 1:管理端 2:终端
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. parentsubjectid:
  6631. description: 上级主体ID
  6632. type: string
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. subjectid:
  6637. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6638. type: integer
  6639. subjectname:
  6640. description: 主体名称
  6641. type: string
  6642. subjectstatus:
  6643. description: '主体状态 - 1:正常 2: 停用'
  6644. type: integer
  6645. subjecttype:
  6646. description: 主体类型 - 1:交易主体 2:业务部门
  6647. type: integer
  6648. type: object
  6649. models.Ermcp3PaTradeLink:
  6650. properties:
  6651. accountid:
  6652. description: 期货账户代码 | 账号ID
  6653. type: integer
  6654. agreeunit:
  6655. description: 合约乘数
  6656. type: number
  6657. buyorsell:
  6658. description: 方向 - 0:买 1:卖
  6659. type: integer
  6660. channelbuildtype:
  6661. description: 委托单据类型 0:无 1:建仓 2:平仓
  6662. type: integer
  6663. charge:
  6664. description: 手续费
  6665. type: number
  6666. closepl:
  6667. description: 平仓盈亏
  6668. type: number
  6669. closetype:
  6670. description: 平仓方式 - 0:无 1:平今 2:平昨
  6671. type: integer
  6672. convertratio:
  6673. description: 折算系数
  6674. type: number
  6675. enumdicname:
  6676. description: 单位名称
  6677. type: string
  6678. executeprice:
  6679. description: 执行价 [期权]
  6680. type: integer
  6681. goodscode:
  6682. description: 合约代码
  6683. type: string
  6684. goodsgroupid:
  6685. description: 对冲品种ID[期货合约商品组ID]
  6686. type: integer
  6687. goodsid:
  6688. description: 商品ID
  6689. type: integer
  6690. goodsname:
  6691. description: 合约名称
  6692. type: string
  6693. goodunitid:
  6694. description: 单位id
  6695. type: integer
  6696. hedgeflag:
  6697. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6698. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6699. type: integer
  6700. marketid:
  6701. description: 市场ID
  6702. type: integer
  6703. middlegoodsid:
  6704. description: 套保品种ID
  6705. type: integer
  6706. middlegoodsqty:
  6707. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6708. type: number
  6709. optioncode:
  6710. description: 期权代码 [期权]
  6711. type: string
  6712. ordertype:
  6713. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6714. type: integer
  6715. ordertypename:
  6716. description: 订单类型
  6717. type: string
  6718. parentaccountid:
  6719. description: 所属母账户
  6720. type: integer
  6721. premium:
  6722. description: 权利金 [期权]
  6723. type: number
  6724. relatedlot:
  6725. description: 已关联数量(已关联数量手) | db:关联手数
  6726. type: number
  6727. relatedouttradeid:
  6728. description: 关联外部成交单ID
  6729. type: string
  6730. relatedqty:
  6731. description: 关联数量
  6732. type: number
  6733. spotcontractid:
  6734. description: 现货合同ID [4:套期保值\10\11]
  6735. type: string
  6736. taname:
  6737. description: 期货账户名称
  6738. type: string
  6739. tradeamount:
  6740. description: 成交金额(账户)
  6741. type: number
  6742. tradedate:
  6743. description: 交易日(yyyyMMdd)
  6744. type: string
  6745. tradeid:
  6746. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6747. type: string
  6748. tradelot:
  6749. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6750. type: integer
  6751. tradeprice:
  6752. description: 成交价格
  6753. type: number
  6754. tradetime:
  6755. description: 时间 | db:成交时间
  6756. type: string
  6757. tradetype:
  6758. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6759. type: integer
  6760. userid:
  6761. description: 所属机构 - 所属母账户的UserID
  6762. type: string
  6763. username:
  6764. description: 用户名称
  6765. type: string
  6766. type: object
  6767. models.Ermcp3ParamChangeApp:
  6768. properties:
  6769. aftervalue:
  6770. description: 变更后
  6771. type: number
  6772. applicationid:
  6773. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6774. type: string
  6775. applyid:
  6776. description: 申请人
  6777. type: string
  6778. applyname:
  6779. description: 申请人名称(代码)
  6780. type: string
  6781. applyremark:
  6782. description: 申请备注
  6783. type: string
  6784. applysrc:
  6785. description: 申请来源 - 1:管理端 2:终端
  6786. type: integer
  6787. applystatus:
  6788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6789. type: integer
  6790. applytime:
  6791. description: 申请时间
  6792. type: string
  6793. areauserid:
  6794. description: 所属机构用户ID
  6795. type: integer
  6796. auditid:
  6797. description: 审核人
  6798. type: string
  6799. auditname:
  6800. description: 审核人名称(代码)
  6801. type: string
  6802. auditremark:
  6803. description: 审核备注
  6804. type: string
  6805. auditsrc:
  6806. description: 审核来源 - 1:管理端 2:终端
  6807. type: integer
  6808. audittime:
  6809. description: 审核时间
  6810. type: string
  6811. audittradedate:
  6812. description: 审核交易日(yyyyMMdd)
  6813. type: string
  6814. beforevalue:
  6815. description: 变更前
  6816. type: number
  6817. deliverygoodscode:
  6818. description: 品种代码
  6819. type: string
  6820. deliverygoodsid:
  6821. description: 品种id
  6822. type: integer
  6823. deliverygoodsname:
  6824. description: 品种名称
  6825. type: string
  6826. middlegoodscode:
  6827. description: 套保品种代码
  6828. type: string
  6829. middlegoodsid:
  6830. description: 套保品种ID [ParamChangeType = 2,3,4]
  6831. type: integer
  6832. middlegoodsname:
  6833. description: 套保品种名称
  6834. type: string
  6835. operatetype:
  6836. description: 操作类型 - 1:新增 2:修改
  6837. type: integer
  6838. paramchangetype:
  6839. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6840. type: integer
  6841. wrstandardcode:
  6842. description: 现货商品代码
  6843. type: string
  6844. wrstandardid:
  6845. description: 现货商品ID [ParamChangeType = 1,2,3]
  6846. type: integer
  6847. wrstandardname:
  6848. description: 现货商品名称
  6849. type: string
  6850. type: object
  6851. models.Ermcp3RootUserAccount:
  6852. properties:
  6853. accountname:
  6854. description: 账户名称(机构名称)
  6855. type: string
  6856. accountstatus:
  6857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6858. type: integer
  6859. applysrc:
  6860. description: 申请来源 - 1:管理端 2:终端
  6861. type: integer
  6862. auditremark:
  6863. description: 审核备注
  6864. type: string
  6865. auditsrc:
  6866. description: 审核来源 - 1:管理端 2:终端
  6867. type: integer
  6868. audittime:
  6869. description: 审核时间
  6870. type: string
  6871. audituserid:
  6872. description: 审核人
  6873. type: integer
  6874. broker:
  6875. description: 所属经纪人ID
  6876. type: integer
  6877. canceltime:
  6878. description: 销户时间
  6879. type: string
  6880. canceluserid:
  6881. description: 销户人
  6882. type: integer
  6883. canrecommend:
  6884. description: 是否可推荐 - 0:不可 1;可
  6885. type: integer
  6886. createtime:
  6887. description: 创建时间
  6888. type: string
  6889. creatorid:
  6890. description: 创建人
  6891. type: integer
  6892. hasauth:
  6893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6894. type: integer
  6895. isanonymous:
  6896. description: 是否匿名下单 - 0:否 1:是
  6897. type: integer
  6898. maxinvestornum:
  6899. description: 最大用户数(经纪会员下投资者个数)
  6900. type: integer
  6901. memberuserid:
  6902. description: 所属会员ID
  6903. type: integer
  6904. modifierid:
  6905. description: 修改人
  6906. type: integer
  6907. modifyremark:
  6908. description: 变更备注
  6909. type: string
  6910. modifystatus:
  6911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6912. type: integer
  6913. modifytime:
  6914. description: 修改时间
  6915. type: string
  6916. nickname:
  6917. description: 昵称
  6918. type: string
  6919. parenttopuser:
  6920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6921. type: string
  6922. parentuserid:
  6923. description: 所属机构ID
  6924. type: integer
  6925. reckonaccountid:
  6926. description: 默认结算资金账号ID(机构分润使用) 作废
  6927. type: integer
  6928. refercount:
  6929. description: 推荐总人数
  6930. type: integer
  6931. refereeuserid:
  6932. description: 推荐人ID
  6933. type: integer
  6934. refernum:
  6935. description: 推荐码
  6936. type: string
  6937. rootuserid:
  6938. description: 根用户ID
  6939. type: integer
  6940. subaccountlevel:
  6941. description: 子账户层数
  6942. type: integer
  6943. subarealevelpath:
  6944. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6945. type: string
  6946. userid:
  6947. description: 用户ID
  6948. type: integer
  6949. usertype:
  6950. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6951. type: integer
  6952. type: object
  6953. models.Ermcp3SCMiddleGoods:
  6954. properties:
  6955. biztype:
  6956. description: 业务类型 1:套保 2:套利
  6957. type: integer
  6958. contractno:
  6959. description: 合同编号
  6960. type: string
  6961. contracttype:
  6962. description: 合同类型 1:采购 -1:销售
  6963. type: integer
  6964. convertratio:
  6965. description: 折算系数
  6966. type: number
  6967. customername:
  6968. description: 对手手名称
  6969. type: string
  6970. customeruserid:
  6971. description: 对手id
  6972. type: integer
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货品种ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. enumdicname:
  6983. description: 现货单位名称
  6984. type: string
  6985. middlegoodsid:
  6986. description: 套保品种ID
  6987. type: integer
  6988. middlegoodspricedqty3:
  6989. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6990. type: number
  6991. needhedgeratio:
  6992. description: 套保比例
  6993. type: number
  6994. pricedqty:
  6995. description: 已定价量
  6996. type: number
  6997. relatedmiddlegoodsqty:
  6998. description: 已关联量(套保品种)(期货)
  6999. type: number
  7000. spotcontractid:
  7001. description: 合同编号
  7002. type: string
  7003. unitid:
  7004. description: 现货单位id
  7005. type: integer
  7006. userid:
  7007. description: 用户id
  7008. type: integer
  7009. vatrate:
  7010. description: 增值税率
  7011. type: number
  7012. wrstandardcode:
  7013. description: 现货商品代码
  7014. type: string
  7015. wrstandardid:
  7016. description: 现货商品id
  7017. type: integer
  7018. wrstandardname:
  7019. description: 现货商品名称
  7020. type: string
  7021. type: object
  7022. models.Ermcp3SCMiddleGoodsReport:
  7023. properties:
  7024. begindate:
  7025. description: 开始交易日
  7026. type: string
  7027. contractno:
  7028. description: 合同编号
  7029. type: string
  7030. contracttype:
  7031. description: 合同类型 1:采购 -1:销售
  7032. type: integer
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. cycletime:
  7037. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7038. type: string
  7039. cycletype:
  7040. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 品种代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 品种名称
  7050. type: string
  7051. diffprice:
  7052. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7053. type: number
  7054. diffqty:
  7055. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7056. type: number
  7057. enddate:
  7058. description: 结束交易日
  7059. type: string
  7060. hedgeplanqty:
  7061. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7062. type: number
  7063. matchname:
  7064. description: 交易对手方(个人:用户名称 企业:简称)
  7065. type: string
  7066. matchnickname:
  7067. description: 交易对手方昵称
  7068. type: string
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. middlegoodspricedqty:
  7079. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7080. type: number
  7081. middlegoodspricedqty2:
  7082. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7083. type: number
  7084. middlegoodspricedqty3:
  7085. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7086. type: number
  7087. needhedgeratio:
  7088. description: 套保系数
  7089. type: number
  7090. pricedamount:
  7091. description: 已定价额(现货)
  7092. type: number
  7093. pricedamount2:
  7094. description: 已定价额(现货-基价额)
  7095. type: number
  7096. pricedqty:
  7097. description: 已定价量(现货)
  7098. type: number
  7099. reckondate:
  7100. description: 日照时期(yyyyMMdd)
  7101. type: string
  7102. relatedmiddlegoodsamount:
  7103. description: 已关联额(期货)
  7104. type: number
  7105. relatedmiddlegoodsqty:
  7106. description: 已关联量(套保品种)(期货)
  7107. type: number
  7108. spotcontractid:
  7109. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7110. type: string
  7111. todayavgfutuprice:
  7112. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7113. type: number
  7114. todayavgprice:
  7115. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7116. type: number
  7117. todayavgprice2:
  7118. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7119. type: number
  7120. todaypricedamount:
  7121. description: 今日定价额(现货)
  7122. type: number
  7123. todaypricedamount2:
  7124. description: 今日定价额(现货-基价额)
  7125. type: number
  7126. todaypricedqty:
  7127. description: 今日定价量(现货)
  7128. type: number
  7129. todayrelatedfutureqty:
  7130. description: 今日关联量(期货)
  7131. type: number
  7132. todayrelatedmiddlegoodsamount:
  7133. description: 今日关联额(期货)
  7134. type: number
  7135. todayrelatedmiddlegoodsqty:
  7136. description: 今日关联量(套保品-期货)
  7137. type: number
  7138. updatetime:
  7139. description: 更新时间
  7140. type: string
  7141. userid:
  7142. description: 合同所属用户id
  7143. type: integer
  7144. vatrate:
  7145. description: 增值税率
  7146. type: number
  7147. wrstandardcode:
  7148. description: 商品(品类) 代码
  7149. type: string
  7150. wrstandardid:
  7151. description: 现货商品ID
  7152. type: integer
  7153. wrstandardname:
  7154. description: 商品(品类) 名称
  7155. type: string
  7156. type: object
  7157. models.Ermcp3SellBuyContract:
  7158. properties:
  7159. accountid:
  7160. description: 期货账户id
  7161. type: string
  7162. accountname:
  7163. description: 账户名称
  7164. type: string
  7165. attachment:
  7166. description: 附件
  7167. type: string
  7168. audittime:
  7169. description: 审核时间
  7170. type: string
  7171. bizsubjectid:
  7172. description: 归属业务部门ID - SubjectID
  7173. type: integer
  7174. biztype:
  7175. description: 业务类型 1-套保 2-套利
  7176. type: integer
  7177. brandname:
  7178. description: 品牌名称
  7179. type: string
  7180. contracctstatus:
  7181. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7182. type: integer
  7183. contractmargin:
  7184. description: 合同保证金
  7185. type: number
  7186. contractno:
  7187. description: 合同编号
  7188. type: string
  7189. contracttype:
  7190. description: 合同类型 1-采购, -1-销售
  7191. type: integer
  7192. convertfactor:
  7193. description: 标仓系数(品类)
  7194. type: number
  7195. createtime:
  7196. description: 创建时间
  7197. type: string
  7198. currencyid:
  7199. description: 币种id
  7200. type: integer
  7201. currencyname:
  7202. description: 币种名称
  7203. type: string
  7204. daikaiamount:
  7205. description: 应收(开)票额 | 未收票额
  7206. type: number
  7207. deliveryenddate:
  7208. description: 交割结束日
  7209. type: string
  7210. deliverygoodscode:
  7211. description: 现货品种代码
  7212. type: string
  7213. deliverygoodsid:
  7214. description: 现货商品ID
  7215. type: integer
  7216. deliverygoodsname:
  7217. description: 现货品种名称
  7218. type: string
  7219. deliverystartdate:
  7220. description: 交割开始日
  7221. type: string
  7222. enddate:
  7223. description: 点价结束日
  7224. type: string
  7225. enumdicname:
  7226. description: 单位名称
  7227. type: string
  7228. goodscode:
  7229. description: 点价商品代码
  7230. type: string
  7231. goodsgroupid:
  7232. description: 点价商品组id
  7233. type: integer
  7234. goodsid:
  7235. description: 点价商品ID
  7236. type: integer
  7237. goodsname:
  7238. description: 点价商品名称
  7239. type: string
  7240. invoiceamount:
  7241. description: 已开票额
  7242. type: number
  7243. loanamount:
  7244. description: 贷款总额=已定价额+调整金额
  7245. type: number
  7246. margin:
  7247. description: 保证金
  7248. type: number
  7249. meruserid:
  7250. description: 跟单员id
  7251. type: integer
  7252. meruserlogincode:
  7253. description: 跟单员登录代码
  7254. type: string
  7255. merusername:
  7256. description: 跟单员名称
  7257. type: string
  7258. nickname:
  7259. description: 账户昵称
  7260. type: string
  7261. orireckonrealqty:
  7262. description: 应交收量
  7263. type: number
  7264. payamount:
  7265. description: 已收付额(收款或付款)
  7266. type: number
  7267. preinvoiceamount:
  7268. description: 预收(开)票额
  7269. type: number
  7270. prepayamount:
  7271. description: 预收付额
  7272. type: number
  7273. price:
  7274. description: 价格
  7275. type: number
  7276. pricedamount:
  7277. description: 已定价额
  7278. type: number
  7279. pricedavg:
  7280. description: 已点均价
  7281. type: number
  7282. pricedqty:
  7283. description: 已定价量
  7284. type: number
  7285. pricemove:
  7286. description: 升贴水
  7287. type: number
  7288. pricetype:
  7289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7290. type: integer
  7291. producttype:
  7292. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7293. type: integer
  7294. qty:
  7295. description: 合同量
  7296. type: number
  7297. reckonadjustamount:
  7298. description: 调整金额
  7299. type: number
  7300. reckonedamount:
  7301. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7302. type: number
  7303. reckonotheramount:
  7304. description: 其它费用
  7305. type: number
  7306. reckonrealqty:
  7307. description: 已交收量
  7308. type: number
  7309. remark:
  7310. description: 备注
  7311. type: string
  7312. saleuserid:
  7313. description: 业务员id
  7314. type: integer
  7315. saleuserlogincode:
  7316. description: 业务员登录代码
  7317. type: string
  7318. saleusername:
  7319. description: 业务员名称
  7320. type: string
  7321. spotcontractid:
  7322. description: 合同ID
  7323. type: string
  7324. spotgoodsbrandid:
  7325. description: 现货品牌ID(DGFactoryItem表的ID)
  7326. type: integer
  7327. spotgoodsdesc:
  7328. description: 商品型号(商品规格)
  7329. type: string
  7330. startdate:
  7331. description: 点价开始日
  7332. type: string
  7333. subjectid:
  7334. description: 交易主体ID
  7335. type: integer
  7336. subjectname:
  7337. description: 交易主体名称
  7338. type: string
  7339. totalamount:
  7340. description: 合计总额
  7341. type: number
  7342. tradeuserid:
  7343. description: 交易员id
  7344. type: integer
  7345. tradeuserlogincode:
  7346. description: 交易员登录代码
  7347. type: string
  7348. tradeusername:
  7349. description: 交易员名称
  7350. type: string
  7351. unpayamount:
  7352. description: 应收付款额(应支付或应收款) | 未付款额
  7353. type: number
  7354. unpricedqty:
  7355. description: 未定价量
  7356. type: number
  7357. unsureqty:
  7358. description: 未确定量 | 未交收量
  7359. type: number
  7360. userid:
  7361. description: 机构ID
  7362. type: integer
  7363. vatrate:
  7364. description: 增值税率
  7365. type: number
  7366. wrstandardcode:
  7367. description: 品类代码
  7368. type: string
  7369. wrstandardid:
  7370. description: 品类ID
  7371. type: integer
  7372. wrstandardname:
  7373. description: 品类名称
  7374. type: string
  7375. type: object
  7376. models.Ermcp3SpotGoodsPrice:
  7377. properties:
  7378. areauserid:
  7379. description: 所属机构id
  7380. type: integer
  7381. brandname:
  7382. description: 品牌名称
  7383. type: string
  7384. currencyid:
  7385. description: 报价货币ID
  7386. type: integer
  7387. currencyname:
  7388. description: 币种名称
  7389. type: string
  7390. deliverygoodscode:
  7391. description: 现货商品代码
  7392. type: string
  7393. deliverygoodsid:
  7394. description: 现货商品id
  7395. type: integer
  7396. deliverygoodsname:
  7397. description: 现货商品名称
  7398. type: string
  7399. enumdicname:
  7400. description: 现货商品单位名称
  7401. type: string
  7402. gbenumdicname:
  7403. description: 品类单位名称
  7404. type: string
  7405. gmunitid:
  7406. description: 品类单位id
  7407. type: integer
  7408. isvalid:
  7409. description: 是否有效 - 0:无效 1:有效
  7410. type: integer
  7411. operateid:
  7412. description: 最后操作人
  7413. type: integer
  7414. operatesrc:
  7415. description: 最后操作来源 - 1:管理端 2:终端
  7416. type: integer
  7417. operatetime:
  7418. description: 最后操作时间
  7419. type: string
  7420. operatorname:
  7421. description: 操作人名称
  7422. type: string
  7423. spotgoodsbrandid:
  7424. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7425. type: integer
  7426. spotgoodsprice:
  7427. description: 现货价格
  7428. type: number
  7429. tradedate:
  7430. description: 交易日(yyyyMMdd)
  7431. type: string
  7432. unitid:
  7433. description: 现货商品单位id
  7434. type: integer
  7435. wrstandardcode:
  7436. description: 品类代码
  7437. type: string
  7438. wrstandardid:
  7439. description: 现货品类ID(通用则为0)
  7440. type: integer
  7441. wrstandardname:
  7442. description: 品类名称
  7443. type: string
  7444. type: object
  7445. models.Ermcp3SpotGoodsPriceLog:
  7446. properties:
  7447. areauserid:
  7448. description: 所属机构id
  7449. type: integer
  7450. brandname:
  7451. description: 品牌名称
  7452. type: string
  7453. currencyid:
  7454. description: 报价货币ID
  7455. type: integer
  7456. deliverygoodscode:
  7457. description: 现货商品代码
  7458. type: string
  7459. deliverygoodsid:
  7460. description: 现货商品id
  7461. type: integer
  7462. deliverygoodsname:
  7463. description: 现货商品名称
  7464. type: string
  7465. enumdicname:
  7466. description: 现货商品单位名称
  7467. type: string
  7468. gbenumdicname:
  7469. description: 品类单位名称
  7470. type: string
  7471. gmunitid:
  7472. description: 品类单位id
  7473. type: integer
  7474. logid:
  7475. description: 日志id
  7476. type: integer
  7477. operateid:
  7478. description: 最后操作人
  7479. type: integer
  7480. operatesrc:
  7481. description: 最后操作来源 - 1:管理端 2:终端
  7482. type: integer
  7483. operatetime:
  7484. description: 最后操作时间
  7485. type: string
  7486. operatorname:
  7487. description: 操作人名称
  7488. type: string
  7489. spotgoodsbrandid:
  7490. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7491. type: integer
  7492. spotgoodsprice:
  7493. description: 现货价格
  7494. type: number
  7495. tradedate:
  7496. description: 交易日(yyyyMMdd)
  7497. type: string
  7498. unitid:
  7499. description: 现货商品单位id
  7500. type: integer
  7501. wrstandardcode:
  7502. description: 品类代码
  7503. type: string
  7504. wrstandardid:
  7505. description: 现货品类ID(通用则为0)
  7506. type: integer
  7507. wrstandardname:
  7508. description: 品类名称
  7509. type: string
  7510. type: object
  7511. models.Ermcp3SubTaaccount:
  7512. properties:
  7513. accountid:
  7514. description: 资金账户ID
  7515. type: integer
  7516. parentaccountcode:
  7517. description: 所属根账号代码(母账号代码)
  7518. type: string
  7519. parentaccountid:
  7520. description: 所属根账号(母账号)
  7521. type: integer
  7522. taname:
  7523. description: 资金账号名称
  7524. type: string
  7525. tradestatus:
  7526. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7527. type: integer
  7528. username:
  7529. description: 交易用户
  7530. type: string
  7531. type: object
  7532. models.Ermcp3TaFutuReDataReport:
  7533. properties:
  7534. accountid:
  7535. description: 交易账户
  7536. type: integer
  7537. accountname:
  7538. description: 交易账号名称
  7539. type: string
  7540. agreeunit:
  7541. description: 商品合约单位
  7542. type: number
  7543. begindate:
  7544. description: 开始交易日
  7545. type: string
  7546. buyorsell:
  7547. description: 持仓方向
  7548. type: integer
  7549. charge:
  7550. description: 手续费
  7551. type: number
  7552. closeavgprice:
  7553. description: 平仓均价
  7554. type: number
  7555. closepl:
  7556. description: 平仓损益
  7557. type: number
  7558. currencyid:
  7559. description: 结算币种ID
  7560. type: integer
  7561. currencyname:
  7562. description: 币种名称
  7563. type: string
  7564. cycletime:
  7565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7566. type: string
  7567. cycletype:
  7568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7569. type: integer
  7570. enddate:
  7571. description: 结束交易日
  7572. type: string
  7573. enumdicname:
  7574. description: 单位名称
  7575. type: string
  7576. floatpl:
  7577. description: 浮动损益
  7578. type: number
  7579. goodscode:
  7580. description: 交易合约代码
  7581. type: string
  7582. goodsgroupid:
  7583. description: 交易品种
  7584. type: integer
  7585. goodsgroupname:
  7586. description: 交易品种名称
  7587. type: string
  7588. goodsgroupspotqty:
  7589. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7590. type: number
  7591. goodsid:
  7592. description: 交易合约
  7593. type: integer
  7594. goodsname:
  7595. description: 交易合约名称
  7596. type: string
  7597. goodunitid:
  7598. description: 交易合约单位id
  7599. type: integer
  7600. holdamount:
  7601. description: 期末持仓额
  7602. type: number
  7603. holdqty:
  7604. description: 期末持仓量
  7605. type: number
  7606. lastholdamount:
  7607. description: 当前持仓额
  7608. type: number
  7609. lastprice:
  7610. description: 最新价
  7611. type: number
  7612. middlegoodsid:
  7613. description: 套保品种id
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保商品名称
  7617. type: string
  7618. middlegoodsqty:
  7619. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7620. type: number
  7621. middlgoodscode:
  7622. description: 套保商品代码
  7623. type: string
  7624. openamount:
  7625. description: 期末开仓额
  7626. type: number
  7627. openavgprice:
  7628. description: 开仓均价
  7629. type: number
  7630. oriholdamount:
  7631. description: 期初持仓额
  7632. type: number
  7633. oriholdqty:
  7634. description: 期初持仓量
  7635. type: number
  7636. oriopenamount:
  7637. description: 期初开仓额
  7638. type: number
  7639. outergroupcode:
  7640. description: 交易品种代码
  7641. type: string
  7642. qtydecimalplace:
  7643. description: 成交量小数位
  7644. type: integer
  7645. reckondate:
  7646. description: 日照时期(yyyyMMdd)
  7647. type: string
  7648. reckonholdamount:
  7649. description: 结算持仓额
  7650. type: number
  7651. reckonpl:
  7652. description: 结算损益
  7653. type: number
  7654. reckonpl2:
  7655. description: 结算逐笔盈亏
  7656. type: number
  7657. reckonprice:
  7658. description: 结算价
  7659. type: number
  7660. relateduserid:
  7661. description: 账户关联用户ID
  7662. type: integer
  7663. todaycloseamount:
  7664. description: 今平仓额
  7665. type: number
  7666. todaycloseqty:
  7667. description: 今平仓量
  7668. type: number
  7669. todaygoodsgroupspotqty:
  7670. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7671. type: number
  7672. todaymiddlegoodsqty:
  7673. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7674. type: number
  7675. todayopenamount:
  7676. description: 今开仓额
  7677. type: number
  7678. todayopenqty:
  7679. description: 今开仓量
  7680. type: number
  7681. userid:
  7682. description: 账户所属用户ID
  7683. type: integer
  7684. type: object
  7685. models.Ermcp3TradeLinkDetail:
  7686. properties:
  7687. accountid:
  7688. description: 资金账号
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约乘数
  7692. type: number
  7693. areauserid:
  7694. description: 所属机构
  7695. type: string
  7696. bizsubjectid:
  7697. description: 归属业务部门ID - SubjectID
  7698. type: string
  7699. buyorsell:
  7700. description: 方向 - 0:买 1:卖
  7701. type: integer
  7702. channelbuildtype:
  7703. description: 委托单据类型 0:无 1:建仓 2:平仓
  7704. type: integer
  7705. contractno:
  7706. description: 现货编号 (合同编号)
  7707. type: string
  7708. convertratio:
  7709. description: 折算系数
  7710. type: number
  7711. createtime:
  7712. description: 关联时间 | 创建时间
  7713. type: string
  7714. creatorid:
  7715. description: 创建人ID
  7716. type: string
  7717. creatorsrc:
  7718. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7719. type: integer
  7720. enumdicname:
  7721. description: 单位名称
  7722. type: string
  7723. goodscode:
  7724. description: 合约代码
  7725. type: string
  7726. goodsgroupid:
  7727. description: 对冲品种ID[期货合约商品组ID]
  7728. type: integer
  7729. goodsid:
  7730. description: 商品ID
  7731. type: integer
  7732. goodsname:
  7733. description: 合约名称
  7734. type: string
  7735. hedgeflag:
  7736. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7737. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7738. type: integer
  7739. linkdetailid:
  7740. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7741. type: string
  7742. linkstatus:
  7743. description: 关联状态 - 1:成功 2:失败 3:解绑
  7744. type: integer
  7745. middlegoodscode:
  7746. description: 套保品种代码
  7747. type: string
  7748. middlegoodsid:
  7749. description: 套保品种ID
  7750. type: integer
  7751. middlegoodsname:
  7752. description: 套保品种名称
  7753. type: string
  7754. relatedlot:
  7755. description: 关联手数
  7756. type: number
  7757. relatedmode:
  7758. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7759. type: integer
  7760. relatedqty:
  7761. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7762. type: number
  7763. retcode:
  7764. description: 返回码
  7765. type: integer
  7766. saleuserid:
  7767. description: 业务员ID
  7768. type: string
  7769. spotcontractid:
  7770. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7771. type: string
  7772. taname:
  7773. description: 期货账户
  7774. type: string
  7775. tradedate:
  7776. description: 关联交易日(yyyyMMdd)
  7777. type: string
  7778. tradeid:
  7779. description: 期货订单号 | 内部成交单ID
  7780. type: string
  7781. tradelot:
  7782. description: 成交数量 | 成交手数
  7783. type: integer
  7784. tradeprice:
  7785. description: 成交价格
  7786. type: number
  7787. tradetime:
  7788. description: 期货成交时间
  7789. type: string
  7790. tradetradedate:
  7791. description: 成交交易日(yyyyMMdd)
  7792. type: string
  7793. username:
  7794. description: 用户名称
  7795. type: string
  7796. type: object
  7797. models.Ermcp3Wrstandard:
  7798. properties:
  7799. areauserid:
  7800. description: 所属机构
  7801. type: integer
  7802. cantrade:
  7803. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7804. type: integer
  7805. convertfactor:
  7806. description: 标仓系数
  7807. type: number
  7808. createtime:
  7809. description: 创建时间
  7810. type: string
  7811. creatorid:
  7812. description: 创建人
  7813. type: integer
  7814. deliverygoodsid:
  7815. description: 现货品种ID
  7816. type: integer
  7817. enumdicname:
  7818. description: 品类单位名称
  7819. type: string
  7820. isvalid:
  7821. description: 是否有效 0-无效(停用) 1-有效(正常)
  7822. type: integer
  7823. minivalue:
  7824. description: 最小变动值
  7825. type: integer
  7826. minivaluedp:
  7827. description: 最小变动值小数位
  7828. type: integer
  7829. realminivalue:
  7830. description: 实际最小变动值
  7831. type: integer
  7832. realminivaluedp:
  7833. description: 实际最小变动值小数位
  7834. type: integer
  7835. remark:
  7836. description: 备注
  7837. type: string
  7838. unitid:
  7839. description: 品类单位ID
  7840. type: integer
  7841. updatetime:
  7842. description: 更新时间
  7843. type: string
  7844. wrstandardcode:
  7845. description: 品类代码
  7846. type: string
  7847. wrstandardid:
  7848. description: 品类ID(SEQ_WRSTANDARD)
  7849. type: integer
  7850. wrstandardname:
  7851. description: 品类名称
  7852. type: string
  7853. type: object
  7854. models.Ermcp8EnableHedgeditem:
  7855. properties:
  7856. accountname:
  7857. description: 套期主体
  7858. type: string
  7859. hedgeditemid:
  7860. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7861. type: string
  7862. hedgeditemname:
  7863. description: 项目名称
  7864. type: string
  7865. hedgeditemnum:
  7866. description: 项目编号
  7867. type: string
  7868. hedgedtype:
  7869. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7870. type: integer
  7871. planenddate:
  7872. description: 计划结束日期
  7873. type: string
  7874. planstartdate:
  7875. description: 计划开始日期
  7876. type: string
  7877. wrstandardid:
  7878. description: 现货商品ID
  7879. type: integer
  7880. wrstandardname:
  7881. description: 现货商品
  7882. type: string
  7883. type: object
  7884. models.Ermcp8HedgeditemReport:
  7885. properties:
  7886. accountname:
  7887. description: 套期主体
  7888. type: string
  7889. areauserid:
  7890. description: 企业ID
  7891. type: integer
  7892. curprice:
  7893. description: '[当日现货市场价]当前市场价'
  7894. type: number
  7895. enumdicname:
  7896. description: 单位
  7897. type: string
  7898. exeamount:
  7899. description: '[执行现货金额]执行市价总额'
  7900. type: number
  7901. exeavgprice:
  7902. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7903. type: number
  7904. exeqty:
  7905. description: '[执行数量]执行现货量'
  7906. type: number
  7907. futurehedgepl:
  7908. description: 期货实际损益
  7909. type: number
  7910. futurehedgeplchange:
  7911. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7912. type: number
  7913. futurepl:
  7914. description: 期货套期损益
  7915. type: number
  7916. futureplchange:
  7917. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7918. type: number
  7919. hedgeamount:
  7920. description: '[套期现货金额]套期市价总额'
  7921. type: number
  7922. hedgeditemnum:
  7923. description: 项目编号,模糊查询
  7924. type: string
  7925. hedgeditemstatus:
  7926. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7927. type: integer
  7928. hedgedtype:
  7929. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7930. type: integer
  7931. hedgeqty:
  7932. description: '[套期数量]套期现货量'
  7933. type: number
  7934. oriavgprice:
  7935. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7936. type: number
  7937. orifuturehedgepl:
  7938. description: 期初期货实际损益
  7939. type: number
  7940. orifuturepl:
  7941. description: 期初期货套期损益
  7942. type: number
  7943. orispothedgepl:
  7944. description: 期初现货实际损益
  7945. type: number
  7946. orispotpl:
  7947. description: 期初现货套期损益
  7948. type: number
  7949. planenddate:
  7950. description: 计划结束日期
  7951. type: string
  7952. planstartdate:
  7953. description: 计划开始日期
  7954. type: string
  7955. spothedgepl:
  7956. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7957. type: number
  7958. spothedgeplchange:
  7959. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7960. type: number
  7961. spotpl:
  7962. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7963. type: number
  7964. spotplchange:
  7965. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7966. type: number
  7967. tradeuserid:
  7968. description: 交易用户ID
  7969. type: integer
  7970. unexeqty:
  7971. description: 未执行现货量 = 套期现货量 - 执行现货量
  7972. type: number
  7973. wrstandardcode:
  7974. description: 现货品类代码
  7975. type: string
  7976. wrstandardid:
  7977. description: 现货商品ID
  7978. type: integer
  7979. wrstandardname:
  7980. description: '[现货商品]现货品类名称'
  7981. type: string
  7982. type: object
  7983. models.Ermcp8RunningHedgeditem:
  7984. properties:
  7985. accountname:
  7986. description: 套期主体
  7987. type: string
  7988. applyid:
  7989. description: 申请人
  7990. type: integer
  7991. applysrc:
  7992. description: 申请来源 - 1:管理端 2:终端
  7993. type: integer
  7994. areauserid:
  7995. description: 企业ID
  7996. type: integer
  7997. auditid:
  7998. description: 审核人
  7999. type: integer
  8000. auditremark:
  8001. description: 审核备注
  8002. type: string
  8003. auditsrc:
  8004. description: 审核来源 - 1:管理端 2:终端
  8005. type: integer
  8006. audittime:
  8007. description: 审核时间
  8008. type: string
  8009. audittradedate:
  8010. description: 审核交易日(yyyyMMdd)
  8011. type: string
  8012. createtime:
  8013. description: 申请时间
  8014. type: string
  8015. curprice:
  8016. description: 当前市场价
  8017. type: number
  8018. curstock:
  8019. description: 期末库存量 = 采购总量 - 销售总量
  8020. type: number
  8021. deliverygoodsid:
  8022. description: 现货品种ID
  8023. type: integer
  8024. enddate:
  8025. description: 完成日期
  8026. type: string
  8027. endtradedate:
  8028. description: 完成交易日
  8029. type: string
  8030. enumdicname:
  8031. description: 单位
  8032. type: string
  8033. exeamount:
  8034. description: 执行市价总额
  8035. type: number
  8036. exeavgprice:
  8037. description: 执行市场均价= 执行市价总额 / 执行现货量
  8038. type: number
  8039. execontractamount:
  8040. description: 执行定价总额
  8041. type: number
  8042. exeqty:
  8043. description: 执行现货量
  8044. type: number
  8045. exerestamount:
  8046. description: 执行剩余市价总额【现货贸易】
  8047. type: number
  8048. futurefloatpl:
  8049. description: 期货浮动损益
  8050. type: number
  8051. futurehedgepl:
  8052. description: 期货实际损益
  8053. type: number
  8054. futurehedgeplchange:
  8055. description: 期货实际损益变动
  8056. type: number
  8057. futurepl:
  8058. description: 期货套期损益
  8059. type: number
  8060. futureplchange:
  8061. description: 期货套期损益变动
  8062. type: number
  8063. hedgeamount:
  8064. description: 套期市价总额
  8065. type: number
  8066. hedgecontractamount:
  8067. description: 套期定价总额 【定价采购合同】【现货贸易】
  8068. type: number
  8069. hedgeditemid:
  8070. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8071. type: string
  8072. hedgeditemname:
  8073. description: 项目名称
  8074. type: string
  8075. hedgeditemnum:
  8076. description: 项目编号
  8077. type: string
  8078. hedgeditemstatus:
  8079. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8080. type: integer
  8081. hedgedtype:
  8082. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8083. type: integer
  8084. hedgeqty:
  8085. description: 套期现货量
  8086. type: number
  8087. hedgerate:
  8088. description: 套保比率
  8089. type: number
  8090. hedgerestamount:
  8091. description: 套期剩余市价总额【现货贸易】
  8092. type: number
  8093. hedgesumpl:
  8094. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8095. type: number
  8096. middlegoodslist:
  8097. description: 套期商品列表
  8098. items:
  8099. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8100. type: array
  8101. oriavgprice:
  8102. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8103. type: number
  8104. orifuturehedgepl:
  8105. description: 期初期货实际损益
  8106. type: number
  8107. orifuturepl:
  8108. description: 期初期货套期损益
  8109. type: number
  8110. orispothedgepl:
  8111. description: 期初现货实际损益
  8112. type: number
  8113. orispotpl:
  8114. description: 期初现货套期损益
  8115. type: number
  8116. planenddate:
  8117. description: 计划结束日期
  8118. type: string
  8119. planstartdate:
  8120. description: 计划开始日期
  8121. type: string
  8122. remark:
  8123. description: 备注
  8124. type: string
  8125. spotbookamount:
  8126. description: 现货账面总额
  8127. type: number
  8128. spotfloatpl:
  8129. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8130. type: number
  8131. spothedgepl:
  8132. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8133. type: number
  8134. spothedgeplchange:
  8135. description: 现货实际损益变动
  8136. type: number
  8137. spotpl:
  8138. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8139. type: number
  8140. spotplchange:
  8141. description: 现货套期损益变动
  8142. type: number
  8143. spottradepl:
  8144. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8145. type: number
  8146. sumobspl:
  8147. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8148. type: number
  8149. tradeuserid:
  8150. description: 交易用户ID
  8151. type: integer
  8152. unexeqty:
  8153. description: 未执行现货量 = 套期现货量 - 执行现货量
  8154. type: number
  8155. updatetime:
  8156. description: 更新时间
  8157. type: string
  8158. vatpl:
  8159. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8160. type: number
  8161. vatrate:
  8162. description: 增值税
  8163. type: number
  8164. wrstandardid:
  8165. description: 现货商品ID
  8166. type: integer
  8167. wrstandardname:
  8168. description: 商品名称
  8169. type: string
  8170. type: object
  8171. models.ErmcpBizGroupEx:
  8172. properties:
  8173. acclist:
  8174. description: 账号列表
  8175. items:
  8176. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8177. type: array
  8178. bizgroupid:
  8179. description: 业务分组id
  8180. type: integer
  8181. biztype:
  8182. description: 业务类型 1-套保 2-套利
  8183. type: integer
  8184. wrlist:
  8185. description: 现货商品表
  8186. items:
  8187. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8188. type: array
  8189. type: object
  8190. models.ErmcpBizGroupSpotGoods:
  8191. properties:
  8192. areauserid:
  8193. description: 所属机构id
  8194. type: integer
  8195. bizgroupid:
  8196. description: 分组id
  8197. type: integer
  8198. biztype:
  8199. description: 业务类型 1-套保 2-套利
  8200. type: integer
  8201. deliverygoodscode:
  8202. description: 现货商品代码
  8203. type: string
  8204. deliverygoodsid:
  8205. description: 现货商品id
  8206. type: integer
  8207. deliverygoodsname:
  8208. description: 现货商品名称
  8209. type: string
  8210. unitid:
  8211. description: 现货商品单位id
  8212. type: integer
  8213. type: object
  8214. models.ErmcpBizGroupTaAccount:
  8215. properties:
  8216. accountid:
  8217. description: 账号id
  8218. type: integer
  8219. accountname:
  8220. description: 账号名称
  8221. type: string
  8222. areauserid:
  8223. description: 所属机构id
  8224. type: integer
  8225. bizgroupid:
  8226. description: 业务分组id
  8227. type: integer
  8228. ismain:
  8229. description: 是否主账号 1-是 0-否
  8230. type: integer
  8231. type: object
  8232. models.ErmcpDGFactoryItem:
  8233. properties:
  8234. areauserid:
  8235. description: 用户id
  8236. type: integer
  8237. deliverygoodsid:
  8238. description: 现货品种ID
  8239. type: integer
  8240. dgfactoryitemid:
  8241. description: 选择项ID(SEQ_DGFACTORYITEM)
  8242. type: integer
  8243. dgfactoryitemtypeid:
  8244. description: 要素项类型
  8245. type: integer
  8246. dgfactoryitemvalue:
  8247. description: 要素项值(类型为仓库时填写仓库名称)
  8248. type: string
  8249. isvalid:
  8250. description: 是否有效 - 0:无效 1:有效
  8251. type: integer
  8252. orderindex:
  8253. description: 顺序
  8254. type: integer
  8255. warehouseid:
  8256. description: 仓库ID(类型为仓库时填写)
  8257. type: integer
  8258. type: object
  8259. models.ErmcpDeliveryGoods:
  8260. properties:
  8261. agreeunit:
  8262. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8263. type: integer
  8264. areauserid:
  8265. description: 所属机构
  8266. type: integer
  8267. auditflag:
  8268. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8269. type: integer
  8270. categoryid:
  8271. description: 类别ID(SEQ_WRCATEGORY)
  8272. type: integer
  8273. deliverygoodscode:
  8274. description: 现货品种代码
  8275. type: string
  8276. deliverygoodsid:
  8277. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8278. type: integer
  8279. deliverygoodsname:
  8280. description: 现货品种名称
  8281. type: string
  8282. deliverygoodstype:
  8283. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8284. type: integer
  8285. dgstatus:
  8286. description: 品种状态 - 作废 - 0:未激活 1:正常
  8287. type: integer
  8288. enumdicname:
  8289. description: 现货品种单位名称
  8290. type: string
  8291. goodsunitid:
  8292. description: 现货品种单位ID
  8293. type: integer
  8294. isvalid:
  8295. description: 是否有效 - 0:无效 1:有效
  8296. type: integer
  8297. qtydecimalplace:
  8298. description: 成交量小数位
  8299. type: integer
  8300. remark:
  8301. description: 备注
  8302. type: string
  8303. standardqty:
  8304. description: 标准数量(库位数量) [标准品特有]
  8305. type: integer
  8306. standardqtyrange:
  8307. description: 标准数量偏差范围 [标准品特有]
  8308. type: integer
  8309. type: object
  8310. models.ErmcpFuturesCompany:
  8311. properties:
  8312. brokerid:
  8313. description: 经纪公司代码
  8314. type: string
  8315. channeladdress:
  8316. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8317. type: string
  8318. channelid:
  8319. description: 对冲渠道ID
  8320. type: string
  8321. createtime:
  8322. description: 创建时间
  8323. type: string
  8324. creatorid:
  8325. description: 创建人
  8326. type: string
  8327. fcid:
  8328. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8329. type: integer
  8330. fcname:
  8331. description: 期货公司名称
  8332. type: string
  8333. isvalid:
  8334. description: 是否有效 - 0:无效 1:有效
  8335. type: integer
  8336. mhpaddress:
  8337. description: MHP服务地址(IP:Port)
  8338. type: string
  8339. riskrulegroupid:
  8340. description: 风控规则组ID
  8341. type: string
  8342. tradefeetmpid:
  8343. description: 手续费模板ID[TradeConfigTmpType为2]
  8344. type: string
  8345. trademargintmpid:
  8346. description: 保证金模板ID [TradeConfigTmpType为1]
  8347. type: string
  8348. traderatetmpid:
  8349. description: 汇率模板ID[TradeConfigTmpType为3]
  8350. type: string
  8351. updatetime:
  8352. description: 更新时间
  8353. type: string
  8354. updatorid:
  8355. description: 更新人
  8356. type: string
  8357. type: object
  8358. models.ErmcpGGConvertCfg:
  8359. properties:
  8360. convertratio:
  8361. description: 折算系数
  8362. type: number
  8363. destgoodsgroupid:
  8364. description: 目标品种ID
  8365. type: integer
  8366. dstcode:
  8367. description: 目录品种代码
  8368. type: string
  8369. dstexchangecode:
  8370. description: 目标期货交易所
  8371. type: string
  8372. dstname:
  8373. description: 目标品种名称
  8374. type: string
  8375. dstunitid:
  8376. description: 目标品种单位ID
  8377. type: integer
  8378. dstunitidname:
  8379. description: 目标品种单位名称
  8380. type: string
  8381. modifytime:
  8382. description: 修改时间
  8383. type: string
  8384. srccode:
  8385. description: 源品种代码
  8386. type: string
  8387. srcexchangecode:
  8388. description: 源期货交易所
  8389. type: string
  8390. srcgoodsgroupid:
  8391. description: 源品种ID
  8392. type: integer
  8393. srcname:
  8394. description: 源品种名称
  8395. type: string
  8396. srcunitid:
  8397. description: 源品种单位ID
  8398. type: integer
  8399. srcunitidname:
  8400. description: 源品种单位名称
  8401. type: string
  8402. type: object
  8403. models.ErmcpGoods:
  8404. properties:
  8405. agreeunit:
  8406. description: 合约单位
  8407. type: number
  8408. areauserid:
  8409. description: 所属机构
  8410. type: integer
  8411. auditaccountid:
  8412. description: 审核操作员账号
  8413. type: integer
  8414. audittime:
  8415. description: 审核时间
  8416. type: string
  8417. cancelaccountid:
  8418. description: 注销操作员账号
  8419. type: integer
  8420. canceltime:
  8421. description: 注销时间
  8422. type: string
  8423. closepricemode:
  8424. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8425. type: integer
  8426. closepriceparam:
  8427. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8428. type: number
  8429. createtime:
  8430. description: 创建时间
  8431. type: string
  8432. creatorid:
  8433. description: 创建人
  8434. type: integer
  8435. currencyid:
  8436. description: 报价货币ID
  8437. type: integer
  8438. cutmode:
  8439. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8440. type: integer
  8441. decimalplace:
  8442. description: 报价小数位
  8443. type: integer
  8444. delistingdate:
  8445. description: 商品退市时间(状态:退市) -- 已作废
  8446. type: string
  8447. delistingmode:
  8448. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8449. type: integer
  8450. deliveryflag:
  8451. description: 交割标志 - 0:不可交割 1:可交割
  8452. type: integer
  8453. enumdicname:
  8454. description: 单位名称
  8455. type: string
  8456. forceclosemode:
  8457. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8458. type: integer
  8459. forceclosevalue:
  8460. description: 定期强平参数 [收益权]
  8461. type: integer
  8462. goodscode:
  8463. description: 商品代码(内部)
  8464. type: string
  8465. goodscurrencyid:
  8466. description: 合约货币ID
  8467. type: integer
  8468. goodsgroupid:
  8469. description: 所属商品组ID
  8470. type: integer
  8471. goodsid:
  8472. description: 商品ID(自增ID SEQ_GOODS)
  8473. type: integer
  8474. goodsname:
  8475. description: 商品名称
  8476. type: string
  8477. goodsquotetype:
  8478. description: '合约报价类型: 1-直接报价 2-间接报价'
  8479. type: integer
  8480. goodsstatus:
  8481. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8482. type: integer
  8483. goodstradetype:
  8484. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8485. type: integer
  8486. goodunitid:
  8487. description: 报价单位ID
  8488. type: integer
  8489. hasquoter:
  8490. description: 是否有报价商 - 0:无报价商 1:有报价商
  8491. type: integer
  8492. hqprotecttime:
  8493. description: 行情保护时间(秒)
  8494. type: integer
  8495. innerdealmode:
  8496. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8497. type: integer
  8498. isbuylimited:
  8499. description: 是否限制建仓量 - 0:不限制 1:限制
  8500. type: integer
  8501. isvisible:
  8502. description: 游客是否可见 - 0:不可见 1:可见
  8503. type: integer
  8504. lasttradedate:
  8505. description: 最后交易日期(状态:待退市)
  8506. type: string
  8507. listingdate:
  8508. description: 交易开始日期
  8509. type: string
  8510. marketid:
  8511. description: 所属市场ID
  8512. type: integer
  8513. modifierid:
  8514. description: 修改人
  8515. type: integer
  8516. modifystatus:
  8517. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8518. type: integer
  8519. modifytime:
  8520. description: 修改时间
  8521. type: string
  8522. outerdealmode:
  8523. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8524. type: integer
  8525. outgoodscode:
  8526. description: 商品代码(外部)
  8527. type: string
  8528. pictureurl:
  8529. description: 商品图片
  8530. type: string
  8531. qtydecimalplace:
  8532. description: 成交量小数位
  8533. type: integer
  8534. quotegear:
  8535. description: 行情档位(1-10)
  8536. type: integer
  8537. quoteminunit:
  8538. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8539. type: integer
  8540. quoteshowtype:
  8541. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8542. type: integer
  8543. quoteshowtypeinterval:
  8544. description: 行情报价间隔时间(秒)(成交价时为0)
  8545. type: integer
  8546. relatedgoodsid:
  8547. description: 关联参考商品ID
  8548. type: integer
  8549. remark:
  8550. description: 备注
  8551. type: string
  8552. trademode:
  8553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8554. 21:竞拍-大宗式 22:受托竞价
  8555. type: integer
  8556. required:
  8557. - goodscode
  8558. - goodsid
  8559. - goodsname
  8560. - marketid
  8561. type: object
  8562. models.ErmcpGoodsBrand:
  8563. properties:
  8564. areauserid:
  8565. description: 所属机构
  8566. type: integer
  8567. brandid:
  8568. description: BrandID(SEQ_SPOTGOODSBRAND)
  8569. type: integer
  8570. brandname:
  8571. description: 品牌名称
  8572. type: string
  8573. createtime:
  8574. description: 创建时间
  8575. type: string
  8576. creatorid:
  8577. description: 创建人
  8578. type: integer
  8579. creatorsrc:
  8580. description: 创建人来源 - 1:管理端 2:终端
  8581. type: integer
  8582. deliverygoodsid:
  8583. description: 现货品种ID
  8584. type: integer
  8585. isvalid:
  8586. description: 是否有效 - 0:无效 1:有效
  8587. type: integer
  8588. updatetime:
  8589. description: 更新时间
  8590. type: string
  8591. updatorid:
  8592. description: 更新人
  8593. type: integer
  8594. updatorsrc:
  8595. description: 更新人来源 - 1:管理端 2:终端
  8596. type: integer
  8597. wrstandardid:
  8598. description: 现货商品ID
  8599. type: integer
  8600. type: object
  8601. models.ErmcpGoodsModel:
  8602. properties:
  8603. areauserid:
  8604. description: 所属机构
  8605. type: integer
  8606. convertfactor:
  8607. description: 标仓系数
  8608. type: number
  8609. createtime:
  8610. description: 创建时间
  8611. type: string
  8612. creatorid:
  8613. description: 创建人
  8614. type: integer
  8615. creatorsrc:
  8616. description: 创建人来源 - 1:管理端 2:终端
  8617. type: integer
  8618. deliverygoodsid:
  8619. description: 现货品种ID
  8620. type: integer
  8621. isvalid:
  8622. description: 是否有效 - 0:无效 1:有效
  8623. type: integer
  8624. modelid:
  8625. description: ModelID(SEQ_SPOTGOODSMODEL)
  8626. type: integer
  8627. modelname:
  8628. description: 型号名称
  8629. type: string
  8630. updatetime:
  8631. description: 更新时间
  8632. type: string
  8633. updatorid:
  8634. description: 更新人
  8635. type: integer
  8636. updatorsrc:
  8637. description: 更新人来源 - 1:管理端 2:终端
  8638. type: integer
  8639. wrstandardid:
  8640. description: 现货商品ID
  8641. type: integer
  8642. type: object
  8643. models.ErmcpHisExposure:
  8644. properties:
  8645. needhedgeexposoure:
  8646. description: 应套保敞口
  8647. type: number
  8648. reckondate:
  8649. description: 日照时期(yyyyMMdd)
  8650. type: string
  8651. totalexposure:
  8652. description: 总敞口
  8653. type: number
  8654. type: object
  8655. models.ErmcpLoginTaAccount:
  8656. properties:
  8657. accountid:
  8658. description: 账号id
  8659. type: integer
  8660. accountname:
  8661. description: 账号名称
  8662. type: string
  8663. type: object
  8664. models.ErmcpLoginUser:
  8665. properties:
  8666. acclist:
  8667. description: 关联资金账号
  8668. items:
  8669. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8670. type: array
  8671. accountname:
  8672. description: 用户名称
  8673. type: string
  8674. clientroleid:
  8675. description: 角色id(usertype=2)
  8676. type: integer
  8677. createtime:
  8678. description: 创建时间
  8679. type: string
  8680. logincode:
  8681. description: 登录代码
  8682. type: string
  8683. loginid:
  8684. description: 登录id(LOGINID)
  8685. type: integer
  8686. loginname:
  8687. description: 登录名称(loginaccount表中的accountname字段)
  8688. type: string
  8689. loginstatus:
  8690. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8691. type: integer
  8692. memberuserid:
  8693. description: 所属会员id
  8694. type: integer
  8695. mobile:
  8696. description: 手机号
  8697. type: string
  8698. modifytime:
  8699. description: 修改时间
  8700. type: string
  8701. password:
  8702. description: 密码(不可解密)
  8703. type: string
  8704. rolename:
  8705. description: 角色名称
  8706. type: string
  8707. rolestatus:
  8708. description: 角色状态 1-启用 2-停用
  8709. type: integer
  8710. roletype:
  8711. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8712. type: string
  8713. userid:
  8714. description: 用户id
  8715. type: integer
  8716. usertype:
  8717. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8718. type: integer
  8719. type: object
  8720. models.ErmcpLoginUserEx:
  8721. properties:
  8722. accountstatus:
  8723. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8724. type: integer
  8725. mobile:
  8726. description: 手机号
  8727. type: string
  8728. querytype:
  8729. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8730. type: integer
  8731. roleid:
  8732. description: 角色id(交易账户->用户id)
  8733. type: integer
  8734. rolename:
  8735. description: 角色名称(交易账户->用户名称)
  8736. type: string
  8737. userlist:
  8738. description: 用户列表
  8739. items:
  8740. $ref: '#/definitions/models.ErmcpLoginUser'
  8741. type: array
  8742. usertype:
  8743. description: 用户类型 2-机构 7-企业成员(云平台)
  8744. type: integer
  8745. type: object
  8746. models.ErmcpMiddleGoodsModel:
  8747. properties:
  8748. areauserid:
  8749. description: 机构用户ID
  8750. type: integer
  8751. createtime:
  8752. description: 修改时间
  8753. type: string
  8754. enumdicname:
  8755. description: 单位名称
  8756. type: string
  8757. evaluateratio:
  8758. description: 估价系数
  8759. type: number
  8760. goodsgroupid:
  8761. description: 关联期货品种ID
  8762. type: integer
  8763. goodsunitid:
  8764. description: 单位ID
  8765. type: integer
  8766. isvalid:
  8767. description: 状态 0-无效(停用) 1-有效(正常)
  8768. type: integer
  8769. middlegoodscode:
  8770. description: 套保品种代码
  8771. type: string
  8772. middlegoodsid:
  8773. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8774. type: integer
  8775. middlegoodsname:
  8776. description: 套保品种名称
  8777. type: string
  8778. modifytime:
  8779. description: 修改时间
  8780. type: string
  8781. needarbitrageratio:
  8782. description: 套利比例
  8783. type: number
  8784. needhedgeratio:
  8785. description: 套保比率
  8786. type: number
  8787. qtydecimalplace:
  8788. description: 数量小数位
  8789. type: integer
  8790. relatedgoodsid:
  8791. description: 关联交易商品ID
  8792. type: integer
  8793. relatedgoodstype:
  8794. description: 关联商品类型 - 1:期货合约 2:现货品种
  8795. type: integer
  8796. remark:
  8797. description: 备注
  8798. type: string
  8799. type: object
  8800. models.ErmcpMiddlegoodsRelateGoods:
  8801. properties:
  8802. agreeunit:
  8803. description: 合约乘数
  8804. type: number
  8805. convertratio:
  8806. description: 折算系数
  8807. type: number
  8808. enumdicname:
  8809. description: 单位名称(交易商品)
  8810. type: string
  8811. goodscode:
  8812. description: 交易商品代码
  8813. type: string
  8814. goodsgroupid:
  8815. description: 交易品种id
  8816. type: integer
  8817. goodsid:
  8818. description: 商品Id
  8819. type: integer
  8820. goodsname:
  8821. description: 交易商品名称
  8822. type: string
  8823. goodunitid:
  8824. description: 交易商品单位id
  8825. type: integer
  8826. middlegoodsid:
  8827. description: 套保商品id
  8828. type: integer
  8829. middlegoodsname:
  8830. description: 套保商品名称
  8831. type: string
  8832. middlegoodsswcode:
  8833. description: 套保商品代码
  8834. type: string
  8835. needarbitrageratio:
  8836. description: 应套利比例
  8837. type: number
  8838. needhedgeratio:
  8839. description: 应套保比例
  8840. type: number
  8841. type: object
  8842. models.ErmcpRole:
  8843. properties:
  8844. areauserid:
  8845. description: 所属机构
  8846. type: integer
  8847. autoid:
  8848. description: 角色ID(自增ID)
  8849. type: integer
  8850. modifierid:
  8851. description: 修改人(创建人)
  8852. type: integer
  8853. modifiername:
  8854. description: 修改人名称
  8855. type: string
  8856. modifytime:
  8857. description: 修改时间(创建时间)
  8858. type: string
  8859. rolename:
  8860. description: 角色名称
  8861. type: string
  8862. rolestatus:
  8863. description: 角色状态 - 1:启用 2:停用
  8864. type: integer
  8865. roletype:
  8866. description: 角色类型 - 1- 管理端 2- 交易端
  8867. type: integer
  8868. type: object
  8869. models.ErmcpRoleMenu:
  8870. properties:
  8871. iconame:
  8872. description: 菜单图标
  8873. type: string
  8874. ishadrole:
  8875. description: 是否有权限
  8876. type: boolean
  8877. menutype:
  8878. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8879. type: integer
  8880. parentcode:
  8881. description: 上级资源代码
  8882. type: string
  8883. remark:
  8884. description: 菜单备注
  8885. type: string
  8886. resourcecode:
  8887. description: 菜单代码
  8888. type: string
  8889. resourcelevel:
  8890. description: 级别
  8891. type: integer
  8892. resourcename:
  8893. description: 菜单名称
  8894. type: string
  8895. roleid:
  8896. description: 角色id
  8897. type: integer
  8898. sort:
  8899. description: 排序
  8900. type: integer
  8901. url:
  8902. description: URL
  8903. type: string
  8904. userid:
  8905. description: 用户id
  8906. type: integer
  8907. type: object
  8908. models.ErmcpRoleMenuEx:
  8909. properties:
  8910. menu:
  8911. $ref: '#/definitions/models.ErmcpRoleMenu'
  8912. description: 父级菜单
  8913. subMenu:
  8914. description: 子级菜单
  8915. items:
  8916. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8917. type: array
  8918. type: object
  8919. models.ErmcpSpotContractModelEx:
  8920. properties:
  8921. accountname:
  8922. description: 套期主体
  8923. type: string
  8924. amount:
  8925. description: 金额 [1:一口价、3:暂定价]
  8926. type: number
  8927. attachment:
  8928. description: 附件
  8929. type: string
  8930. auditremark:
  8931. description: 审核意见
  8932. type: string
  8933. audittime:
  8934. description: 审核时间
  8935. type: string
  8936. avgprice:
  8937. description: 定价均价 = 已定价金额 / 已定价量
  8938. type: number
  8939. brandname:
  8940. description: 品牌名称
  8941. type: string
  8942. buyuserid:
  8943. description: 采购方ID
  8944. type: integer
  8945. buyusername:
  8946. description: 采购方名称
  8947. type: string
  8948. contracctstatus:
  8949. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8950. type: integer
  8951. contractmargin:
  8952. description: 合同保证金
  8953. type: number
  8954. contractno:
  8955. description: '[合同编号]现货合同编号'
  8956. type: string
  8957. contracttype:
  8958. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8959. type: integer
  8960. convertfactor:
  8961. description: 标仓系数
  8962. type: number
  8963. createtime:
  8964. description: 创建时间
  8965. type: string
  8966. customername:
  8967. description: 对手方
  8968. type: string
  8969. customeruserid:
  8970. description: 客户ID
  8971. type: integer
  8972. deliveryenddate:
  8973. description: 交收期(结束)
  8974. type: string
  8975. deliverygoodscode:
  8976. description: 现货品种代码
  8977. type: string
  8978. deliverygoodsid:
  8979. description: 现货品种ID
  8980. type: integer
  8981. deliverygoodsname:
  8982. description: 现货品种名称
  8983. type: string
  8984. deliverystartdate:
  8985. description: 交收期(开始)
  8986. type: string
  8987. enddate:
  8988. description: 点价结束日期 [2:点价 3:暂定价]
  8989. type: string
  8990. enumdicname:
  8991. description: 单位名称
  8992. type: string
  8993. goodscode:
  8994. description: 点价合约代码
  8995. type: string
  8996. goodsid:
  8997. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8998. type: integer
  8999. goodsname:
  9000. description: 点价商品名称
  9001. type: string
  9002. isrelated:
  9003. description: 是否已关联计划项目 - 0:否 1:是
  9004. type: integer
  9005. isrelated2:
  9006. description: 是否已关联现货项目 - 0:否 1:是
  9007. type: integer
  9008. margin:
  9009. description: 当前保证金
  9010. type: number
  9011. modelname:
  9012. description: 型号名称
  9013. type: string
  9014. price:
  9015. description: 价格\暂定价 [1:一口价、3:暂定价]
  9016. type: number
  9017. pricedamount:
  9018. description: 已定价金额 = (点价价格+升贴水) * 数量
  9019. type: number
  9020. pricedqty:
  9021. description: 已定价量
  9022. type: number
  9023. pricemove:
  9024. description: 升贴水 [2:点价 3:暂定价]
  9025. type: number
  9026. pricetype:
  9027. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9028. type: integer
  9029. producttype:
  9030. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9031. type: integer
  9032. qty:
  9033. description: '[合同数量]数量'
  9034. type: number
  9035. remark:
  9036. description: 备注
  9037. type: string
  9038. selluserid:
  9039. description: 销售方ID
  9040. type: integer
  9041. sellusername:
  9042. description: 销售方名称
  9043. type: string
  9044. spotamount:
  9045. description: 合同现货金额 [不含升贴水]
  9046. type: number
  9047. spotavgprice:
  9048. description: 现货均价 = 合同现货金额 / 已定价量
  9049. type: number
  9050. spotcontractid:
  9051. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9052. type: string
  9053. spotgoodsbrandid:
  9054. description: 现货品牌ID
  9055. type: integer
  9056. spotgoodsdesc:
  9057. description: 商品型号
  9058. type: string
  9059. spotgoodsmodelid:
  9060. description: 现货型号ID
  9061. type: integer
  9062. startdate:
  9063. description: 点价开始日期 [2:点价 3:暂定价]
  9064. type: string
  9065. tradeuserid:
  9066. description: 交易用户ID
  9067. type: integer
  9068. unpricedqty:
  9069. description: 未定价量 = 合同数量 - 已定价量
  9070. type: number
  9071. updatetime:
  9072. description: 更新时间
  9073. type: string
  9074. userid:
  9075. description: 机构ID
  9076. type: integer
  9077. wrstandardcode:
  9078. description: 现货商品代码
  9079. type: string
  9080. wrstandardid:
  9081. description: 现货商品ID
  9082. type: integer
  9083. wrstandardname:
  9084. description: '[现货商品]现货商品名称'
  9085. type: string
  9086. type: object
  9087. models.ErmcpTaAccount:
  9088. properties:
  9089. accountid:
  9090. description: 账户id
  9091. type: integer
  9092. accountname:
  9093. description: 账户名称
  9094. type: string
  9095. currencyid:
  9096. description: 币种id
  9097. type: integer
  9098. hedgeaccountcode:
  9099. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9100. type: string
  9101. ismain:
  9102. description: 是否主账户 0-否 1-是
  9103. type: integer
  9104. parentaccountid:
  9105. description: 父账户id
  9106. type: integer
  9107. relateduserid:
  9108. description: 关联userid
  9109. type: integer
  9110. tradefeetmpid:
  9111. description: 手续费模板id
  9112. type: integer
  9113. tradefeetmpname:
  9114. description: 手续费模板名称
  9115. type: string
  9116. trademargintmpid:
  9117. description: 保证金模板id
  9118. type: integer
  9119. trademargintmpname:
  9120. description: 保证金模板名称
  9121. type: string
  9122. traderatetmpid:
  9123. description: 汇率模板id
  9124. type: integer
  9125. traderatetmpname:
  9126. description: 汇率模板名称
  9127. type: string
  9128. tradestatus:
  9129. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9130. type: integer
  9131. userid:
  9132. description: 用户id
  9133. type: integer
  9134. type: object
  9135. models.ErmcpTaAccountEx:
  9136. properties:
  9137. mainAcc:
  9138. $ref: '#/definitions/models.ErmcpTaAccountM'
  9139. description: 主账号
  9140. subacclist:
  9141. description: 子账号列表
  9142. items:
  9143. $ref: '#/definitions/models.ErmcpTaAccount'
  9144. type: array
  9145. type: object
  9146. models.ErmcpTaAccountInfo:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. accountname:
  9152. description: 账户名称
  9153. type: string
  9154. balance:
  9155. description: 期初余额
  9156. type: number
  9157. capitalbalance:
  9158. description: 本金余额[外部子账户实际出入金余额]
  9159. type: number
  9160. closepl:
  9161. description: 今日平仓盈亏
  9162. type: number
  9163. creditdecrease:
  9164. description: 今日授信减少
  9165. type: number
  9166. creditincrease:
  9167. description: 今日授信增加
  9168. type: number
  9169. curdebt:
  9170. description: 期末欠款
  9171. type: number
  9172. currencyid:
  9173. description: 货币ID
  9174. type: integer
  9175. currentbalance:
  9176. description: 期末余额
  9177. type: number
  9178. freezecharge:
  9179. description: 手续费冻结
  9180. type: number
  9181. freezemargin:
  9182. description: 冻结保证金
  9183. type: number
  9184. fromaccountid:
  9185. description: 所属上级账户
  9186. type: integer
  9187. inamount:
  9188. description: 今日入金金额(包括三方入金)
  9189. type: number
  9190. ismain:
  9191. description: 是否母账号 0:不是母账户 1:是母账户
  9192. type: integer
  9193. mortgagecredit:
  9194. description: 授信金额
  9195. type: number
  9196. oridebt:
  9197. description: 期初欠款
  9198. type: number
  9199. orifreezecharge:
  9200. description: 期初手续费冻结
  9201. type: number
  9202. orifreezemargin:
  9203. description: 期初冻结保证金
  9204. type: number
  9205. orimortgagecredit:
  9206. description: 期初授信金额
  9207. type: number
  9208. oriothercredit:
  9209. description: 期初其它授信金额
  9210. type: number
  9211. oriotherfreezemargin:
  9212. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9213. type: number
  9214. orioutamountfreeze:
  9215. description: 期初出金冻结
  9216. type: number
  9217. oriusedmargin:
  9218. description: 期初占用保证金
  9219. type: number
  9220. othercredit:
  9221. description: 其它授信金额
  9222. type: number
  9223. othercreditdecrease:
  9224. description: 今日其它授信减少
  9225. type: number
  9226. othercreditincrease:
  9227. description: 今日其它授信增加
  9228. type: number
  9229. otherfreezemargin:
  9230. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9231. type: number
  9232. outamount:
  9233. description: 今日出金金额(包括三方出金)
  9234. type: number
  9235. outamountfreeze:
  9236. description: 出金冻结
  9237. type: number
  9238. outthreshold:
  9239. description: 出金阈值
  9240. type: number
  9241. parentaccountid:
  9242. description: 所属根账号
  9243. type: integer
  9244. paycharge:
  9245. description: 今日手续费支出
  9246. type: number
  9247. relateduserid:
  9248. description: 关联用户
  9249. type: integer
  9250. signstatus:
  9251. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9252. type: integer
  9253. sublevelpath:
  9254. description: 账号层级路径(逗号分隔,首尾加逗号)
  9255. type: string
  9256. taaccounttype:
  9257. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9258. type: integer
  9259. thirdinamount:
  9260. description: 今日三方入金
  9261. type: number
  9262. thirdoutamount:
  9263. description: 今日三方出金
  9264. type: number
  9265. tradestatus:
  9266. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9267. type: integer
  9268. transferamount:
  9269. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9270. type: number
  9271. usedmargin:
  9272. description: 占用保证金
  9273. type: number
  9274. userid:
  9275. description: 用户ID
  9276. type: integer
  9277. type: object
  9278. models.ErmcpTaAccountM:
  9279. properties:
  9280. accountid:
  9281. description: 账户id
  9282. type: integer
  9283. accountname:
  9284. description: 账户名称
  9285. type: string
  9286. currencyid:
  9287. description: 币种id
  9288. type: integer
  9289. fcid:
  9290. description: 期货公司id
  9291. type: integer
  9292. fcname:
  9293. description: 期货公司代码
  9294. type: string
  9295. hedgeaccountcode:
  9296. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9297. type: string
  9298. ismain:
  9299. description: 是否主账户 0-否 1-是
  9300. type: integer
  9301. parentaccountid:
  9302. description: 父账户id
  9303. type: integer
  9304. relateduserid:
  9305. description: 关联userid
  9306. type: integer
  9307. tradefeetmpid:
  9308. description: 手续费模板id
  9309. type: integer
  9310. tradefeetmpname:
  9311. description: 手续费模板名称
  9312. type: string
  9313. trademargintmpid:
  9314. description: 保证金模板id
  9315. type: integer
  9316. trademargintmpname:
  9317. description: 保证金模板名称
  9318. type: string
  9319. traderatetmpid:
  9320. description: 汇率模板id
  9321. type: integer
  9322. traderatetmpname:
  9323. description: 汇率模板名称
  9324. type: string
  9325. tradestatus:
  9326. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9327. type: integer
  9328. userid:
  9329. description: 用户id
  9330. type: integer
  9331. type: object
  9332. models.ErmcpTradeConfigTMP:
  9333. properties:
  9334. areauserid:
  9335. description: 所属机构
  9336. type: integer
  9337. basiccurrencyid:
  9338. description: 基本币种ID[汇率] - 目标币种
  9339. type: integer
  9340. mainaccountid:
  9341. description: 主账户ID
  9342. type: integer
  9343. modifierid:
  9344. description: 修改人
  9345. type: integer
  9346. remark:
  9347. description: 备注
  9348. type: string
  9349. tradeconfigtmpid:
  9350. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9351. type: integer
  9352. tradeconfigtmpname:
  9353. description: 交易配置模板名称
  9354. type: string
  9355. tradeconfigtmptype:
  9356. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9357. type: integer
  9358. updatetime:
  9359. description: 更新时间
  9360. type: string
  9361. type: object
  9362. models.Ermcpjrlinkpos:
  9363. properties:
  9364. areauserid:
  9365. description: 所属企业
  9366. type: integer
  9367. averageprice:
  9368. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9369. type: number
  9370. closepl:
  9371. description: 总平仓盈亏 [期货损益]
  9372. type: number
  9373. executeprice:
  9374. description: 执行价 - 1:期货单 为 0
  9375. type: integer
  9376. futurehedgeqty:
  9377. description: 期货套期量
  9378. type: number
  9379. goodsid:
  9380. description: 期货合约
  9381. type: integer
  9382. middlegoodscode:
  9383. description: 套保商品代码
  9384. type: string
  9385. middlegoodsname:
  9386. description: 套保商品名称
  9387. type: string
  9388. netqty:
  9389. description: 净头寸
  9390. type: number
  9391. optioncode:
  9392. description: 期权代码
  9393. type: string
  9394. ordertype:
  9395. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9396. type: integer
  9397. reckonpl:
  9398. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9399. type: number
  9400. spotcontractid:
  9401. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9402. type: string
  9403. todayfutureclosepl:
  9404. description: 今日平仓盈亏
  9405. type: number
  9406. totalbuyamount:
  9407. description: 买金额 [期货]
  9408. type: number
  9409. totalbuyholdamount:
  9410. description: 买持仓总金额[期货]
  9411. type: number
  9412. totalbuyqty:
  9413. description: 买数量
  9414. type: number
  9415. totalcharge:
  9416. description: 手续费
  9417. type: number
  9418. totalpremium:
  9419. description: 权利金 [期权]
  9420. type: number
  9421. totalsellamount:
  9422. description: 卖金额 [期货]
  9423. type: number
  9424. totalsellholdamount:
  9425. description: 卖持仓总金额[期货]
  9426. type: number
  9427. totalsellqty:
  9428. description: 卖数量
  9429. type: number
  9430. updatetime:
  9431. description: 更新时间
  9432. type: string
  9433. required:
  9434. - spotcontractid
  9435. type: object
  9436. models.Ermcppatradelinkdetail:
  9437. properties:
  9438. agreeunit:
  9439. description: 合约乘数
  9440. type: number
  9441. amount:
  9442. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9443. type: number
  9444. areauserid:
  9445. description: 所属机构
  9446. type: integer
  9447. bizsubjectid:
  9448. description: 归属业务部门ID - SubjectID
  9449. type: integer
  9450. buyorsell:
  9451. description: 方向 - 0:买 1:卖
  9452. type: integer
  9453. convertratio:
  9454. description: 品种系数
  9455. type: number
  9456. createtime:
  9457. description: 创建时间
  9458. type: string
  9459. creatorid:
  9460. description: 创建人ID
  9461. type: integer
  9462. creatorsrc:
  9463. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9464. type: integer
  9465. goodsgroupid:
  9466. description: 对冲品种ID[期货合约商品组ID]
  9467. type: integer
  9468. goodsid:
  9469. description: 商品ID
  9470. type: integer
  9471. hedgeditemid:
  9472. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9473. type: integer
  9474. hedgeflag:
  9475. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9476. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9477. type: integer
  9478. linkdetailid:
  9479. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9480. type: string
  9481. linkstatus:
  9482. description: 关联状态 - 1:成功 2:失败 3:解绑
  9483. type: integer
  9484. middlegoodsid:
  9485. description: 套保品种ID
  9486. type: integer
  9487. name:
  9488. description: 账户名/子账户
  9489. type: string
  9490. optioncode:
  9491. description: '[期货合约]期权代码 [期权]'
  9492. type: string
  9493. ordertype:
  9494. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9495. type: integer
  9496. relatedlot:
  9497. description: '[数量]关联手数'
  9498. type: number
  9499. relatedmode:
  9500. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9501. type: integer
  9502. relatedqty:
  9503. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9504. type: number
  9505. retcode:
  9506. description: 返回码
  9507. type: integer
  9508. saleuserid:
  9509. description: 业务员ID
  9510. type: integer
  9511. tradedate:
  9512. description: 关联交易日(yyyyMMdd)
  9513. type: string
  9514. tradeid:
  9515. description: '[成交单号]内部成交单ID'
  9516. type: string
  9517. tradelot:
  9518. description: 成交手数
  9519. type: integer
  9520. tradeprice:
  9521. description: '[价格]成交价格'
  9522. type: number
  9523. tradetime:
  9524. description: 日期时间
  9525. type: string
  9526. tradetradedate:
  9527. description: 成交交易日(yyyyMMdd)
  9528. type: string
  9529. required:
  9530. - hedgeditemid
  9531. type: object
  9532. models.Externalexchange:
  9533. properties:
  9534. autoid:
  9535. description: AutoID - SEQ_EXTERNALEXCHANGE
  9536. type: integer
  9537. exchangefullname:
  9538. description: 外部交易所全称
  9539. type: string
  9540. exexchangecode:
  9541. description: 外部交易所代码
  9542. type: string
  9543. exexchangename:
  9544. description: 外部交易所名称(简称)
  9545. type: string
  9546. ismarketprice:
  9547. description: 是否支持市价 - 0:不支持 1:支持
  9548. type: integer
  9549. quotegear:
  9550. description: 行情档位(1-10)
  9551. type: integer
  9552. showbrokerflag:
  9553. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9554. type: integer
  9555. updatetime:
  9556. description: 更新时间
  9557. type: string
  9558. required:
  9559. - autoid
  9560. type: object
  9561. models.Funcmenulist:
  9562. properties:
  9563. iconame:
  9564. description: 菜单图标
  9565. type: string
  9566. menutype:
  9567. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9568. type: integer
  9569. parentcode:
  9570. description: 上级资源代码
  9571. type: string
  9572. remark:
  9573. description: 备注
  9574. type: string
  9575. resourcecode:
  9576. description: 资源代码
  9577. type: string
  9578. resourcelevel:
  9579. description: 级别 1-一级 2-二级 3-三级 4-四级
  9580. type: integer
  9581. resourcename:
  9582. description: 资源名
  9583. type: string
  9584. sort:
  9585. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9586. type: integer
  9587. url:
  9588. description: URL
  9589. type: string
  9590. required:
  9591. - resourcecode
  9592. type: object
  9593. models.Goods:
  9594. properties:
  9595. agreeunit:
  9596. description: 合约单位
  9597. type: number
  9598. areauserid:
  9599. description: 所属机构
  9600. type: integer
  9601. auditaccountid:
  9602. description: 审核操作员账号
  9603. type: integer
  9604. audittime:
  9605. description: 审核时间
  9606. type: string
  9607. cancelaccountid:
  9608. description: 注销操作员账号
  9609. type: integer
  9610. canceltime:
  9611. description: 注销时间
  9612. type: string
  9613. closepricemode:
  9614. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9615. type: integer
  9616. closepriceparam:
  9617. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9618. type: number
  9619. createtime:
  9620. description: 创建时间
  9621. type: string
  9622. creatorid:
  9623. description: 创建人
  9624. type: integer
  9625. currencyid:
  9626. description: 报价货币ID
  9627. type: integer
  9628. cutmode:
  9629. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9630. type: integer
  9631. decimalplace:
  9632. description: 报价小数位
  9633. type: integer
  9634. delistingdate:
  9635. description: 商品退市时间(状态:退市) -- 已作废
  9636. type: string
  9637. delistingmode:
  9638. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9639. type: integer
  9640. deliveryflag:
  9641. description: 交割标志 - 0:不可交割 1:可交割
  9642. type: integer
  9643. forceclosemode:
  9644. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9645. type: integer
  9646. forceclosevalue:
  9647. description: 定期强平参数 [收益权]
  9648. type: integer
  9649. goodscode:
  9650. description: 商品代码(内部)
  9651. type: string
  9652. goodscurrencyid:
  9653. description: 合约货币ID
  9654. type: integer
  9655. goodsgroupid:
  9656. description: 所属商品组ID
  9657. type: integer
  9658. goodsid:
  9659. description: 商品ID(自增ID SEQ_GOODS)
  9660. type: integer
  9661. goodsname:
  9662. description: 商品名称
  9663. type: string
  9664. goodsquotetype:
  9665. description: '合约报价类型: 1-直接报价 2-间接报价'
  9666. type: integer
  9667. goodsstatus:
  9668. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9669. type: integer
  9670. goodstradetype:
  9671. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9672. type: integer
  9673. goodunitid:
  9674. description: 报价单位ID
  9675. type: integer
  9676. hasquoter:
  9677. description: 是否有报价商 - 0:无报价商 1:有报价商
  9678. type: integer
  9679. hqprotecttime:
  9680. description: 行情保护时间(秒)
  9681. type: integer
  9682. innerdealmode:
  9683. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9684. type: integer
  9685. isbuylimited:
  9686. description: 是否限制建仓量 - 0:不限制 1:限制
  9687. type: integer
  9688. isvisible:
  9689. description: 游客是否可见 - 0:不可见 1:可见
  9690. type: integer
  9691. lasttradedate:
  9692. description: 最后交易日期(状态:待退市)
  9693. type: string
  9694. listingdate:
  9695. description: 交易开始日期
  9696. type: string
  9697. marketid:
  9698. description: 所属市场ID
  9699. type: integer
  9700. modifierid:
  9701. description: 修改人
  9702. type: integer
  9703. modifystatus:
  9704. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9705. type: integer
  9706. modifytime:
  9707. description: 修改时间
  9708. type: string
  9709. outerdealmode:
  9710. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9711. type: integer
  9712. outgoodscode:
  9713. description: 商品代码(外部)
  9714. type: string
  9715. pictureurl:
  9716. description: 商品图片
  9717. type: string
  9718. qtydecimalplace:
  9719. description: 成交量小数位
  9720. type: integer
  9721. quotegear:
  9722. description: 行情档位(1-10)
  9723. type: integer
  9724. quoteminunit:
  9725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9726. type: integer
  9727. quoteshowtype:
  9728. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9729. type: integer
  9730. quoteshowtypeinterval:
  9731. description: 行情报价间隔时间(秒)(成交价时为0)
  9732. type: integer
  9733. remark:
  9734. description: 备注
  9735. type: string
  9736. required:
  9737. - goodscode
  9738. - goodsid
  9739. - goodsname
  9740. - marketid
  9741. type: object
  9742. models.GoodsIDAndName:
  9743. properties:
  9744. goodscode:
  9745. description: 商品代码(内部)
  9746. type: string
  9747. goodsid:
  9748. description: 商品ID(自增ID SEQ_GOODS)
  9749. type: integer
  9750. goodsname:
  9751. description: 商品名称
  9752. type: string
  9753. marketid:
  9754. description: 所属市场ID
  9755. type: integer
  9756. required:
  9757. - goodscode
  9758. - goodsid
  9759. - goodsname
  9760. - marketid
  9761. type: object
  9762. models.Goodsgroup:
  9763. properties:
  9764. agreeunit:
  9765. description: 合约单位
  9766. type: number
  9767. canshort:
  9768. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9769. type: integer
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用
  9775. type: number
  9776. createtime:
  9777. description: 创建时间
  9778. type: string
  9779. creatorid:
  9780. description: 创建人
  9781. type: integer
  9782. currencyid:
  9783. description: 报价货币ID
  9784. type: integer
  9785. decimalplace:
  9786. description: 报价小数位
  9787. type: integer
  9788. exercisetype:
  9789. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9790. type: integer
  9791. exexchangeid:
  9792. description: 外部交易所ID[通道交易]
  9793. type: integer
  9794. goodsgroupid:
  9795. description: 商品组ID(自增ID)
  9796. type: integer
  9797. goodsgroupname:
  9798. description: 商品组名称
  9799. type: string
  9800. goodsgroupstatus:
  9801. description: 商品组状态 - 1:正常 2:注销
  9802. type: integer
  9803. goodunitid:
  9804. description: 报价单位ID
  9805. type: integer
  9806. innerdealmode:
  9807. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9808. type: integer
  9809. isbuylimited:
  9810. description: 是否限制建仓量 - 0:不限制 1:限制
  9811. type: integer
  9812. marketid:
  9813. description: 所属市场ID
  9814. type: integer
  9815. modifierid:
  9816. description: 修改人
  9817. type: integer
  9818. modifytime:
  9819. description: 修改时间
  9820. type: string
  9821. outerdealmode:
  9822. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9823. type: integer
  9824. outergroupcode:
  9825. description: 外部商品组代码[通道交易]
  9826. type: string
  9827. premiumdecimalplace:
  9828. description: 权利金小数位[场外期权]
  9829. type: integer
  9830. premiumspreadalgorithm:
  9831. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9832. type: integer
  9833. premiumspreadvalue:
  9834. description: 权利金点差值[场外期权]
  9835. type: number
  9836. qtydecimalplace:
  9837. description: 成交量小数位
  9838. type: integer
  9839. quotegear:
  9840. description: 行情档位(1-10)
  9841. type: integer
  9842. quoteminunit:
  9843. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9844. type: integer
  9845. quoterid:
  9846. description: 报价商ID[场外期权]
  9847. type: integer
  9848. quotesourcegroupid:
  9849. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9850. type: integer
  9851. syncgoodsqty:
  9852. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9853. type: integer
  9854. required:
  9855. - goodsgroupid
  9856. - goodsgroupname
  9857. - goodsgroupstatus
  9858. - marketid
  9859. type: object
  9860. models.Goodssortbypreposition:
  9861. properties:
  9862. goodscode:
  9863. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9864. type: string
  9865. goodsgroupcode:
  9866. description: 品种代码
  9867. type: string
  9868. prepositionqty:
  9869. description: 昨持仓量
  9870. type: integer
  9871. sortindex:
  9872. description: 排序
  9873. type: integer
  9874. tradedate:
  9875. description: 交易日
  9876. type: string
  9877. updatetime:
  9878. description: 更新时间
  9879. type: string
  9880. required:
  9881. - goodscode
  9882. - tradedate
  9883. type: object
  9884. models.Hedgeinnerholderdetail:
  9885. properties:
  9886. accountid:
  9887. description: 账号ID
  9888. type: integer
  9889. buyorsell:
  9890. description: 方向 - 0:买 1:卖
  9891. type: integer
  9892. freezeqty:
  9893. description: 冻结数量 - 按单平使用
  9894. type: integer
  9895. goodsid:
  9896. description: 商品ID
  9897. type: integer
  9898. holderamount:
  9899. description: 持仓金额 [商品币种]
  9900. type: number
  9901. holderdays:
  9902. description: 剩余冻结天数
  9903. type: integer
  9904. holderprice:
  9905. description: 持仓价格
  9906. type: number
  9907. holderqty:
  9908. description: 持仓数量
  9909. type: integer
  9910. marketid:
  9911. description: 市场ID
  9912. type: integer
  9913. openprice:
  9914. description: 建仓价格
  9915. type: number
  9916. openqty:
  9917. description: 建仓数量
  9918. type: integer
  9919. parentaccountid:
  9920. description: 所属母账户
  9921. type: integer
  9922. releaseamount:
  9923. description: 释放持仓金额[商品币种]
  9924. type: number
  9925. tradeamount:
  9926. description: 成交金额[账户]
  9927. type: number
  9928. tradedate:
  9929. description: 交易日(yyyyMMdd)
  9930. type: string
  9931. tradeid:
  9932. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9933. type: string
  9934. tradetime:
  9935. description: 交易时间
  9936. type: string
  9937. required:
  9938. - buyorsell
  9939. - tradeid
  9940. type: object
  9941. models.Hedgemarketopenlog:
  9942. properties:
  9943. accountid:
  9944. description: 资金账号[外部母账户]
  9945. type: integer
  9946. fcname:
  9947. description: 期货公司名称
  9948. type: string
  9949. handlestatus:
  9950. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9951. type: integer
  9952. marketid:
  9953. description: 市场ID
  9954. type: integer
  9955. status:
  9956. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9957. type: integer
  9958. tradedate:
  9959. description: 交易日(yyyyMMdd)
  9960. type: string
  9961. updatetime:
  9962. description: 更新时间
  9963. type: string
  9964. required:
  9965. - accountid
  9966. type: object
  9967. models.HsbyBuyMyPayOrder:
  9968. properties:
  9969. agreeunit:
  9970. description: 合约单位
  9971. type: number
  9972. buyaccountid:
  9973. description: 买方账号ID[报价币种]
  9974. type: integer
  9975. buyorderid:
  9976. description: 买方委托单号
  9977. type: string
  9978. createtime:
  9979. description: 创建时间
  9980. type: string
  9981. currencysign:
  9982. description: 货币符号
  9983. type: string
  9984. decimalplace:
  9985. description: 报价小数位
  9986. type: integer
  9987. goodscode:
  9988. description: 商品代码(内部)
  9989. type: string
  9990. goodsid:
  9991. description: 商品ID
  9992. type: integer
  9993. goodsname:
  9994. description: 商品名称
  9995. type: string
  9996. marketid:
  9997. description: 市场ID
  9998. type: integer
  9999. offamount:
  10000. description: 优惠金额
  10001. type: number
  10002. originalamount:
  10003. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10004. type: number
  10005. payamount:
  10006. description: 支付金额 = TradeAmount + TradeCharge
  10007. type: number
  10008. payflag:
  10009. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10010. type: integer
  10011. paylimitedtime:
  10012. description: 支付期限
  10013. type: string
  10014. paytime:
  10015. description: 付款时间
  10016. type: string
  10017. picurls1:
  10018. description: 预售商品介绍图片[多张用逗号分隔]
  10019. type: string
  10020. picurls2:
  10021. description: 挂牌商品介绍图片[多张用逗号分隔]
  10022. type: string
  10023. sellaccountid:
  10024. description: 卖方账号ID[报价币种]
  10025. type: integer
  10026. sellorderid:
  10027. description: 卖方委托单号
  10028. type: string
  10029. tradeamount:
  10030. description: 成交金额
  10031. type: number
  10032. tradecharge:
  10033. description: 成交手续费(买方)
  10034. type: number
  10035. tradedate:
  10036. description: 交易日(yyyyMMdd)
  10037. type: string
  10038. tradeid:
  10039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10040. type: string
  10041. trademode:
  10042. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10043. 21:竞拍-大宗式 22:受托竞价
  10044. type: integer
  10045. tradeprice:
  10046. description: 成交价格
  10047. type: number
  10048. tradeqty:
  10049. description: 成交数量
  10050. type: integer
  10051. vendorname1:
  10052. description: 预售商品供应商名称
  10053. type: string
  10054. vendorname2:
  10055. description: 挂牌商品供应商名称
  10056. type: string
  10057. required:
  10058. - goodscode
  10059. - goodsname
  10060. - tradeid
  10061. - trademode
  10062. type: object
  10063. models.HsbyBuyMyTradeDetail:
  10064. properties:
  10065. accountid:
  10066. description: 账户ID[报价币种]
  10067. type: integer
  10068. agreeunit:
  10069. description: 合约单位
  10070. type: number
  10071. amount:
  10072. description: 金额 = 价格 * 数量 * 合约单位
  10073. type: number
  10074. buyorsell:
  10075. description: 买卖 - 0:买 1:卖
  10076. type: integer
  10077. currencysign:
  10078. description: 货币符号
  10079. type: string
  10080. decimalplace:
  10081. description: 报价小数位
  10082. type: integer
  10083. goodscode:
  10084. description: 商品代码(内部)
  10085. type: string
  10086. goodsid:
  10087. description: 商品ID
  10088. type: integer
  10089. goodsname:
  10090. description: 商品名称
  10091. type: string
  10092. marketid:
  10093. description: 市场ID
  10094. type: integer
  10095. orderamount:
  10096. description: 委托金额
  10097. type: number
  10098. orderid:
  10099. description: 单号(成交单号)
  10100. type: string
  10101. picurls1:
  10102. description: 预售商品介绍图片[多张用逗号分隔]
  10103. type: string
  10104. picurls2:
  10105. description: 挂牌商品介绍图片[多张用逗号分隔]
  10106. type: string
  10107. price:
  10108. description: 价格
  10109. type: number
  10110. qty:
  10111. description: 数量
  10112. type: integer
  10113. time:
  10114. description: 时间
  10115. type: string
  10116. trademode:
  10117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10118. 21:竞拍-大宗式 22:受托竞价
  10119. type: integer
  10120. vendorname1:
  10121. description: 预售商品供应商名称
  10122. type: string
  10123. vendorname2:
  10124. description: 挂牌商品供应商名称
  10125. type: string
  10126. required:
  10127. - accountid
  10128. - buyorsell
  10129. - goodscode
  10130. - goodsid
  10131. - goodsname
  10132. - marketid
  10133. - orderid
  10134. - qty
  10135. - time
  10136. - trademode
  10137. type: object
  10138. models.HsbyGoodsOrderDetail:
  10139. properties:
  10140. buyorsell:
  10141. description: 买卖 - 0:买 1:卖
  10142. type: integer
  10143. currencysign:
  10144. description: 货币符号
  10145. type: string
  10146. customername:
  10147. description: 客户名称(企业名称),已脱敏
  10148. type: string
  10149. enableqty:
  10150. description: 可用数量
  10151. type: integer
  10152. goodunit:
  10153. description: 报价单位
  10154. type: string
  10155. orderid:
  10156. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10157. type: string
  10158. orderprice:
  10159. description: 委托价格
  10160. type: number
  10161. ordertime:
  10162. description: 委托时间
  10163. type: string
  10164. required:
  10165. - buyorsell
  10166. - orderid
  10167. - ordertime
  10168. type: object
  10169. models.HsbyListingGoodsDetail:
  10170. properties:
  10171. agreeunit:
  10172. description: 合约单位
  10173. type: number
  10174. buymaxqty:
  10175. description: 购买上限 [71] - 0为不限
  10176. type: integer
  10177. currency:
  10178. description: 货币
  10179. type: string
  10180. currencysign:
  10181. description: 货币符号
  10182. type: string
  10183. decimalplace:
  10184. description: 报价小数位
  10185. type: integer
  10186. desccityid:
  10187. description: 目的地(市)ID
  10188. type: integer
  10189. descprovinceid:
  10190. description: 目的地(省)ID
  10191. type: integer
  10192. goodscode:
  10193. description: 商品代码(内部)
  10194. type: string
  10195. goodsdesc:
  10196. description: 商品详情
  10197. type: string
  10198. goodsid:
  10199. description: 商品ID(自增ID SEQ_GOODS)
  10200. type: integer
  10201. goodsname:
  10202. description: 商品名称
  10203. type: string
  10204. goodsprice:
  10205. description: 商品价格
  10206. type: number
  10207. hotindex:
  10208. description: 景点热度
  10209. type: integer
  10210. last:
  10211. description: 现价
  10212. type: number
  10213. limitdown:
  10214. description: 跌停价
  10215. type: number
  10216. limitup:
  10217. description: 涨停价
  10218. type: number
  10219. lotsize:
  10220. description: 手数最小变动单位
  10221. type: integer
  10222. marketid:
  10223. description: 所属市场ID
  10224. type: integer
  10225. picurls:
  10226. description: 介绍图片[多张用逗号分隔]
  10227. type: string
  10228. quoteminunit:
  10229. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10230. type: integer
  10231. stepvalue:
  10232. description: 价格最小变动单位
  10233. type: number
  10234. trademode:
  10235. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10236. 21:竞拍-大宗式 22:受托竞价
  10237. type: integer
  10238. vendorattr:
  10239. description: 供应商附件(多张,逗号分隔)
  10240. type: string
  10241. vendorname:
  10242. description: 供应商名称
  10243. type: string
  10244. vendorphone:
  10245. description: 供应商客服电话
  10246. type: string
  10247. videourls:
  10248. description: 介绍视频[多张用逗号分隔]
  10249. type: string
  10250. required:
  10251. - goodscode
  10252. - goodsid
  10253. - goodsname
  10254. - marketid
  10255. - trademode
  10256. type: object
  10257. models.HsbyMarketGoods:
  10258. properties:
  10259. accountid:
  10260. description: 账户ID[报价币种]
  10261. type: integer
  10262. agreeunit:
  10263. description: 合约单位
  10264. type: number
  10265. buyorsell:
  10266. description: 买卖 - 0:买 1:卖
  10267. type: integer
  10268. categoryid:
  10269. description: 类别ID(WRCATEGORY)
  10270. type: integer
  10271. currency:
  10272. description: 货币
  10273. type: string
  10274. currencysign:
  10275. description: 货币符号
  10276. type: string
  10277. customername:
  10278. description: 卖家名称
  10279. type: string
  10280. decimalplace:
  10281. description: 报价小数位
  10282. type: integer
  10283. goodscode:
  10284. description: 商品代码(内部)
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. goodsprice:
  10293. description: 商品价格
  10294. type: number
  10295. hascoupon:
  10296. description: 是否可用优惠卷
  10297. type: boolean
  10298. hotindex:
  10299. description: 景点热度
  10300. type: integer
  10301. marketid:
  10302. description: 市场ID
  10303. type: integer
  10304. orderid:
  10305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10306. type: string
  10307. orderprice:
  10308. description: 委托价格
  10309. type: number
  10310. orderstatus:
  10311. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10312. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10313. 16:成交失败违约(荷兰式竞拍专用)
  10314. type: integer
  10315. picurls:
  10316. description: 介绍图片[多张用逗号分隔]
  10317. type: string
  10318. quoteminunit:
  10319. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10320. type: integer
  10321. sellUserID:
  10322. description: 卖方UserID
  10323. type: integer
  10324. trademode:
  10325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10326. 21:竞拍-大宗式 22:受托竞价
  10327. type: integer
  10328. videourls:
  10329. description: 介绍视频[多张用逗号分隔]
  10330. type: string
  10331. required:
  10332. - accountid
  10333. - buyorsell
  10334. - goodscode
  10335. - goodsid
  10336. - goodsname
  10337. - marketid
  10338. - orderid
  10339. - trademode
  10340. type: object
  10341. models.HsbyMarketGoodsDetail:
  10342. properties:
  10343. accountid:
  10344. description: 账户ID[报价币种]
  10345. type: integer
  10346. agreeunit:
  10347. description: 合约单位
  10348. type: number
  10349. buymaxqty:
  10350. description: 购买上限 [71] - 0为不限
  10351. type: integer
  10352. buyorsell:
  10353. description: 买卖 - 0:买 1:卖
  10354. type: integer
  10355. cancelqty:
  10356. description: 撤单数量
  10357. type: integer
  10358. categoryid:
  10359. description: 类别ID(WRCATEGORY)
  10360. type: integer
  10361. currency:
  10362. description: 货币
  10363. type: string
  10364. currencysign:
  10365. description: 货币符号
  10366. type: string
  10367. customername:
  10368. description: 卖家名称
  10369. type: string
  10370. decimalplace:
  10371. description: 报价小数位
  10372. type: integer
  10373. goodscode:
  10374. description: 商品代码(内部)
  10375. type: string
  10376. goodsdesc:
  10377. description: 商品详情
  10378. type: string
  10379. goodsid:
  10380. description: 商品ID
  10381. type: integer
  10382. goodsname:
  10383. description: 商品名称
  10384. type: string
  10385. goodsprice:
  10386. description: 商品价格
  10387. type: number
  10388. hotindex:
  10389. description: 景点热度
  10390. type: integer
  10391. lotsize:
  10392. description: 手数最小变动单位
  10393. type: integer
  10394. marketid:
  10395. description: 市场ID
  10396. type: integer
  10397. orderid:
  10398. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10399. type: string
  10400. orderprice:
  10401. description: 委托价格
  10402. type: number
  10403. orderqty:
  10404. description: 委托数量
  10405. type: integer
  10406. orderstatus:
  10407. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10408. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10409. 16:成交失败违约(荷兰式竞拍专用)
  10410. type: integer
  10411. picurls:
  10412. description: 介绍图片[多张用逗号分隔]
  10413. type: string
  10414. quoteminunit:
  10415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10416. type: integer
  10417. sellUserID:
  10418. description: 卖方UserID
  10419. type: integer
  10420. trademode:
  10421. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10422. 21:竞拍-大宗式 22:受托竞价
  10423. type: integer
  10424. tradeqty:
  10425. description: 成交数量
  10426. type: integer
  10427. vendorattr:
  10428. description: 供应商附件(多张,逗号分隔)
  10429. type: string
  10430. vendorname:
  10431. description: 供应商名称
  10432. type: string
  10433. vendorphone:
  10434. description: 供应商客服电话
  10435. type: string
  10436. videourls:
  10437. description: 介绍视频[多张用逗号分隔]
  10438. type: string
  10439. required:
  10440. - accountid
  10441. - buyorsell
  10442. - goodscode
  10443. - goodsid
  10444. - goodsname
  10445. - marketid
  10446. - orderid
  10447. - orderqty
  10448. - trademode
  10449. type: object
  10450. models.HsbyMarketInfo:
  10451. properties:
  10452. marketid:
  10453. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10454. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10455. type: integer
  10456. marketname:
  10457. description: 市场名称
  10458. type: string
  10459. marketstatus:
  10460. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10461. type: integer
  10462. trademode:
  10463. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10464. 21:竞拍-大宗式 22:受托竞价
  10465. type: integer
  10466. required:
  10467. - marketid
  10468. - marketstatus
  10469. - trademode
  10470. type: object
  10471. models.HsbyMyGoods:
  10472. properties:
  10473. accountid:
  10474. description: 账号Id
  10475. type: integer
  10476. agreeunit:
  10477. description: 合约单位
  10478. type: number
  10479. buyaverageprice:
  10480. description: 持仓均价
  10481. type: number
  10482. buycurholderamount:
  10483. description: 买当前持仓总金额[商品币种]
  10484. type: number
  10485. buycurpositionqty:
  10486. description: 买当前持仓总数量
  10487. type: integer
  10488. buymaxqty:
  10489. description: 购买上限 [71] - 0为不限
  10490. type: integer
  10491. currencysign:
  10492. description: 货币符号
  10493. type: string
  10494. decimalplace:
  10495. description: 报价小数位
  10496. type: integer
  10497. enableqty:
  10498. description: 可用数量
  10499. type: integer
  10500. goodscode:
  10501. description: 商品代码(内部)
  10502. type: string
  10503. goodsid:
  10504. description: 商品Id
  10505. type: integer
  10506. goodsname:
  10507. description: 商品名称
  10508. type: string
  10509. goodsprice:
  10510. description: 商品价格
  10511. type: number
  10512. goodsstatus:
  10513. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10514. type: integer
  10515. last:
  10516. description: 现价(仅使用于挂牌点选)
  10517. type: number
  10518. limitdown:
  10519. description: 跌停价(仅使用于挂牌点选)
  10520. type: number
  10521. limitup:
  10522. description: 涨停价(仅使用于挂牌点选)
  10523. type: number
  10524. lotsize:
  10525. description: 手数最小变动单位
  10526. type: integer
  10527. marketid:
  10528. description: 所属市场ID
  10529. type: integer
  10530. picurls:
  10531. description: 介绍图片[多张用逗号分隔]
  10532. type: string
  10533. quoteminunit:
  10534. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10535. type: integer
  10536. stepvalue:
  10537. description: 价格最小变动单位
  10538. type: number
  10539. trademode:
  10540. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10541. 21:竞拍-大宗式 22:受托竞价
  10542. type: integer
  10543. required:
  10544. - accountid
  10545. - goodscode
  10546. - goodsid
  10547. - goodsname
  10548. - marketid
  10549. - trademode
  10550. type: object
  10551. models.HsbyMyPackage:
  10552. properties:
  10553. accountid:
  10554. description: 账户ID
  10555. type: integer
  10556. address:
  10557. description: 提货人详细地址
  10558. type: string
  10559. agreeunit:
  10560. description: 合约单位
  10561. type: number
  10562. amount:
  10563. description: 提货金额
  10564. type: number
  10565. auditer:
  10566. description: 审核人
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. averageprice:
  10572. description: 均价
  10573. type: number
  10574. cardnum:
  10575. description: 提货人证件号码
  10576. type: string
  10577. cardtypeid:
  10578. description: 提货人证件类型
  10579. type: integer
  10580. checkremark:
  10581. description: 审核备注
  10582. type: string
  10583. currencysign:
  10584. description: 货币符号
  10585. type: string
  10586. decimalplace:
  10587. description: 报价小数位
  10588. type: integer
  10589. goodscode:
  10590. description: 商品代码(内部)
  10591. type: string
  10592. goodsid:
  10593. description: 商品ID
  10594. type: integer
  10595. goodsname:
  10596. description: 商品名称
  10597. type: string
  10598. handlestatus:
  10599. description: 处理状态
  10600. type: integer
  10601. marketid:
  10602. description: 市场ID
  10603. type: integer
  10604. phonenum:
  10605. description: 提货人联系方式
  10606. type: string
  10607. picurls:
  10608. description: 介绍图片[多张用逗号分隔]
  10609. type: string
  10610. qty:
  10611. description: 提货数量
  10612. type: number
  10613. recivername:
  10614. description: 提货人姓名
  10615. type: string
  10616. reqtime:
  10617. description: 更新时间
  10618. type: string
  10619. takemode:
  10620. description: 提货方式 - 2:自提 3:配送
  10621. type: integer
  10622. takeorderid:
  10623. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10624. type: string
  10625. takeorderstatus:
  10626. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10627. type: integer
  10628. takeremark:
  10629. description: 提货备注
  10630. type: string
  10631. tradedate:
  10632. description: 交易日(yyyyMMdd)
  10633. type: string
  10634. trademode:
  10635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10636. 21:竞拍-大宗式 22:受托竞价
  10637. type: integer
  10638. userid:
  10639. description: 用户ID
  10640. type: integer
  10641. vendorname:
  10642. description: 供应商名称
  10643. type: string
  10644. required:
  10645. - goodscode
  10646. - goodsname
  10647. - takeorderid
  10648. - trademode
  10649. type: object
  10650. models.HsbyPreGoods:
  10651. properties:
  10652. agreeunit:
  10653. description: 合约单位
  10654. type: number
  10655. currency:
  10656. description: 货币
  10657. type: string
  10658. currencysign:
  10659. description: 货币符号
  10660. type: string
  10661. decimalplace:
  10662. description: 报价小数位
  10663. type: integer
  10664. desccityid:
  10665. description: 目的地(市)
  10666. type: integer
  10667. descprovinceid:
  10668. description: 目的地(省)
  10669. type: integer
  10670. enableqty:
  10671. description: 剩余数量
  10672. type: integer
  10673. goodscode:
  10674. description: 商品代码(内部)
  10675. type: string
  10676. goodsid:
  10677. description: 商品ID(自增ID SEQ_GOODS)
  10678. type: integer
  10679. goodsname:
  10680. description: 商品名称
  10681. type: string
  10682. goodsstatus:
  10683. description: 商品状态- 2:未上市 3:上市
  10684. type: integer
  10685. lasttradedate:
  10686. description: 最后交易日期(状态:待退市)
  10687. type: string
  10688. listingdate:
  10689. description: 交易开始日期
  10690. type: string
  10691. marketid:
  10692. description: 所属市场ID
  10693. type: integer
  10694. picurls:
  10695. description: 介绍图片[多张用逗号分隔]
  10696. type: string
  10697. presaledqty:
  10698. description: 已预售量(预售结束时更新)
  10699. type: integer
  10700. presaleqty:
  10701. description: 预售数量
  10702. type: integer
  10703. quoteminunit:
  10704. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10705. type: integer
  10706. refprice:
  10707. description: 参考价格[一口价]
  10708. type: number
  10709. relatedgoodsid:
  10710. description: 关联交易合约ID
  10711. type: integer
  10712. trademode:
  10713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10714. 21:竞拍-大宗式 22:受托竞价
  10715. type: integer
  10716. videourls:
  10717. description: 介绍视频[多张用逗号分隔]
  10718. type: string
  10719. required:
  10720. - goodscode
  10721. - goodsid
  10722. - goodsname
  10723. - marketid
  10724. - trademode
  10725. type: object
  10726. models.HsbyPreGoodsDetail:
  10727. properties:
  10728. agreeunit:
  10729. description: 合约单位
  10730. type: number
  10731. buymaxqty:
  10732. description: 购买上限 [71] - 0为不限
  10733. type: integer
  10734. currency:
  10735. description: 货币
  10736. type: string
  10737. currencysign:
  10738. description: 货币符号
  10739. type: string
  10740. customername:
  10741. description: 发行单位
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. desccityid:
  10747. description: 目的地(市)ID
  10748. type: integer
  10749. descprovinceid:
  10750. description: 目的地(省)ID
  10751. type: integer
  10752. enableqty:
  10753. description: 剩余数量
  10754. type: integer
  10755. goodscode:
  10756. description: 商品代码(内部)
  10757. type: string
  10758. goodsdesc:
  10759. description: 商品详情
  10760. type: string
  10761. goodsid:
  10762. description: 商品ID(自增ID SEQ_GOODS)
  10763. type: integer
  10764. goodsname:
  10765. description: 商品名称
  10766. type: string
  10767. goodsstatus:
  10768. description: 商品状态- 2:未上市 3:上市
  10769. type: integer
  10770. goodunit:
  10771. description: 报价单位
  10772. type: string
  10773. lasttradedate:
  10774. description: 最后交易日期(状态:待退市)
  10775. type: string
  10776. listingdate:
  10777. description: 交易开始日期
  10778. type: string
  10779. lotsize:
  10780. description: 手数最小变动单位
  10781. type: integer
  10782. marketid:
  10783. description: 所属市场ID
  10784. type: integer
  10785. picurls:
  10786. description: 介绍图片[多张用逗号分隔]
  10787. type: string
  10788. presaledqty:
  10789. description: 已预售量(预售结束时更新)
  10790. type: integer
  10791. presaleqty:
  10792. description: 预售数量
  10793. type: integer
  10794. quoteminunit:
  10795. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10796. type: integer
  10797. refprice:
  10798. description: 参考价格[一口价]
  10799. type: number
  10800. relatedgoodsid:
  10801. description: 关联交易合约ID
  10802. type: integer
  10803. stepvalue:
  10804. description: 价格最小变动单位
  10805. type: number
  10806. trademode:
  10807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10808. 21:竞拍-大宗式 22:受托竞价
  10809. type: integer
  10810. vendorattr:
  10811. description: 供应商附件(多张,逗号分隔)
  10812. type: string
  10813. vendorname:
  10814. description: 供应商名称
  10815. type: string
  10816. vendorphone:
  10817. description: 供应商客服电话
  10818. type: string
  10819. videourls:
  10820. description: 介绍视频[多张用逗号分隔]
  10821. type: string
  10822. required:
  10823. - goodscode
  10824. - goodsid
  10825. - goodsname
  10826. - marketid
  10827. - trademode
  10828. type: object
  10829. models.HsbySellCollectionOrder:
  10830. properties:
  10831. agreeunit:
  10832. description: 合约单位
  10833. type: number
  10834. buyaccountid:
  10835. description: 买方账号ID[报价币种]
  10836. type: integer
  10837. buyorderid:
  10838. description: 买方委托单号
  10839. type: string
  10840. createtime:
  10841. description: 创建时间
  10842. type: string
  10843. currencysign:
  10844. description: 货币符号
  10845. type: string
  10846. decimalplace:
  10847. description: 报价小数位
  10848. type: integer
  10849. goodscode:
  10850. description: 商品代码(内部)
  10851. type: string
  10852. goodsid:
  10853. description: 商品ID
  10854. type: integer
  10855. goodsname:
  10856. description: 商品名称
  10857. type: string
  10858. marketid:
  10859. description: 市场ID
  10860. type: integer
  10861. offamount:
  10862. description: 优惠金额
  10863. type: number
  10864. payamount:
  10865. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10866. type: number
  10867. payflag:
  10868. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10869. type: integer
  10870. paylimitedtime:
  10871. description: 支付期限
  10872. type: string
  10873. paytime:
  10874. description: 付款时间
  10875. type: string
  10876. picurls:
  10877. description: 商品介绍图片[多张用逗号分隔]
  10878. type: string
  10879. sellaccountid:
  10880. description: 卖方账号ID[报价币种]
  10881. type: integer
  10882. sellorderid:
  10883. description: 卖方委托单号
  10884. type: string
  10885. tradeamount:
  10886. description: 成交金额
  10887. type: number
  10888. tradecharge:
  10889. description: 成交手续费(买方)
  10890. type: number
  10891. tradedate:
  10892. description: 交易日(yyyyMMdd)
  10893. type: string
  10894. tradeid:
  10895. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10896. type: string
  10897. trademode:
  10898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10899. 21:竞拍-大宗式 22:受托竞价
  10900. type: integer
  10901. tradeprice:
  10902. description: 成交价格
  10903. type: number
  10904. tradeqty:
  10905. description: 成交数量
  10906. type: integer
  10907. required:
  10908. - goodscode
  10909. - goodsname
  10910. - tradeid
  10911. - trademode
  10912. type: object
  10913. models.HsbySellMyDetail:
  10914. properties:
  10915. accountid:
  10916. description: 账户ID[报价币种]
  10917. type: integer
  10918. agreeunit:
  10919. description: 合约单位
  10920. type: number
  10921. buyorsell:
  10922. description: 买卖 - 0:买 1:卖
  10923. type: integer
  10924. currencysign:
  10925. description: 货币符号
  10926. type: string
  10927. decimalplace:
  10928. description: 报价小数位
  10929. type: integer
  10930. goodscode:
  10931. description: 商品代码(内部)
  10932. type: string
  10933. goodsid:
  10934. description: 商品ID
  10935. type: integer
  10936. goodsname:
  10937. description: 商品名称
  10938. type: string
  10939. marketid:
  10940. description: 市场ID
  10941. type: integer
  10942. orderid:
  10943. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10944. type: string
  10945. ordertype:
  10946. description: 单据类型:0 - 发布中, 1 - 已完成
  10947. type: integer
  10948. picurls:
  10949. description: 介绍图片[多张用逗号分隔]
  10950. type: string
  10951. price:
  10952. description: 价格
  10953. type: number
  10954. qty:
  10955. description: 数量
  10956. type: integer
  10957. time:
  10958. description: 时间
  10959. type: string
  10960. trademode:
  10961. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10962. 21:竞拍-大宗式 22:受托竞价
  10963. type: integer
  10964. vendorname:
  10965. description: 供应商名称
  10966. type: string
  10967. required:
  10968. - accountid
  10969. - buyorsell
  10970. - goodscode
  10971. - goodsid
  10972. - goodsname
  10973. - marketid
  10974. - orderid
  10975. - time
  10976. - trademode
  10977. type: object
  10978. models.HsbyTopGoods:
  10979. properties:
  10980. agreeunit:
  10981. description: 合约单位
  10982. type: number
  10983. currency:
  10984. description: 货币
  10985. type: string
  10986. currencysign:
  10987. description: 货币符号
  10988. type: string
  10989. decimalplace:
  10990. description: 报价小数位
  10991. type: integer
  10992. desccityid:
  10993. description: 目的地(市)
  10994. type: integer
  10995. descprovinceid:
  10996. description: 目的地(省)
  10997. type: integer
  10998. goodscode:
  10999. description: 商品代码(内部)
  11000. type: string
  11001. goodsid:
  11002. description: 商品ID(自增ID SEQ_GOODS)
  11003. type: integer
  11004. goodsname:
  11005. description: 商品名称
  11006. type: string
  11007. hotindex:
  11008. description: 景点热度
  11009. type: integer
  11010. last:
  11011. description: 现价
  11012. type: number
  11013. marketid:
  11014. description: 所属市场ID
  11015. type: integer
  11016. picurls:
  11017. description: 介绍图片[多张用逗号分隔]
  11018. type: string
  11019. quoteminunit:
  11020. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11021. type: integer
  11022. trademode:
  11023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11024. 21:竞拍-大宗式 22:受托竞价
  11025. type: integer
  11026. videourls:
  11027. description: 介绍视频[多张用逗号分隔]
  11028. type: string
  11029. required:
  11030. - goodscode
  11031. - goodsid
  11032. - goodsname
  11033. - marketid
  11034. - trademode
  11035. type: object
  11036. models.HybsMyBuyOrderDetail:
  11037. properties:
  11038. accountid:
  11039. description: 账户ID[报价币种]
  11040. type: integer
  11041. agreeunit:
  11042. description: 合约单位
  11043. type: number
  11044. buyorsell:
  11045. description: 买卖 - 0:买 1:卖
  11046. type: integer
  11047. cancelqty:
  11048. description: 撤单数量
  11049. type: integer
  11050. currencysign:
  11051. description: 货币符号
  11052. type: string
  11053. decimalplace:
  11054. description: 报价小数位
  11055. type: integer
  11056. goodscode:
  11057. description: 商品代码(内部)
  11058. type: string
  11059. goodsid:
  11060. description: 商品ID
  11061. type: integer
  11062. goodsname:
  11063. description: 商品名称
  11064. type: string
  11065. listingselecttype:
  11066. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11067. type: integer
  11068. marketid:
  11069. description: 市场ID
  11070. type: integer
  11071. mybuystatus:
  11072. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11073. type: integer
  11074. orderamount:
  11075. description: 委托金额
  11076. type: number
  11077. orderid:
  11078. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11079. type: string
  11080. orderprice:
  11081. description: 委托价格
  11082. type: number
  11083. orderqty:
  11084. description: 委托数量
  11085. type: integer
  11086. orderstatus:
  11087. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11088. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11089. 16:成交失败违约(荷兰式竞拍专用)
  11090. type: integer
  11091. ordertime:
  11092. description: 委托时间
  11093. type: string
  11094. picurls1:
  11095. description: 预售商品介绍图片[多张用逗号分隔]
  11096. type: string
  11097. picurls2:
  11098. description: 挂牌商品介绍图片[多张用逗号分隔]
  11099. type: string
  11100. trademode:
  11101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11102. 21:竞拍-大宗式 22:受托竞价
  11103. type: integer
  11104. tradeqty:
  11105. description: 成交数量
  11106. type: integer
  11107. vendorname1:
  11108. description: 预售商品供应商名称
  11109. type: string
  11110. vendorname2:
  11111. description: 挂牌商品供应商名称
  11112. type: string
  11113. required:
  11114. - accountid
  11115. - buyorsell
  11116. - goodscode
  11117. - goodsid
  11118. - goodsname
  11119. - marketid
  11120. - orderid
  11121. - orderqty
  11122. - ordertime
  11123. - trademode
  11124. type: object
  11125. models.InternalEnableTradeDetail:
  11126. properties:
  11127. agreeunit:
  11128. description: 合约乘数
  11129. type: number
  11130. areauserid:
  11131. description: 企业ID
  11132. type: integer
  11133. convertratio:
  11134. description: 品种系数
  11135. type: number
  11136. deliverygoodscode:
  11137. description: 现货品种代码
  11138. type: string
  11139. deliverygoodsid:
  11140. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11141. type: integer
  11142. deliverygoodsname:
  11143. description: 现货品种名称
  11144. type: string
  11145. futurehedgeqty:
  11146. description: '[已关联数量]期货持仓套期量'
  11147. type: number
  11148. goodsid:
  11149. description: 期货合约ID
  11150. type: integer
  11151. hedgeditemid:
  11152. description: 被套期项目ID
  11153. type: string
  11154. hedgeditemnum:
  11155. description: 项目编号
  11156. type: string
  11157. tradeuserid:
  11158. description: 交易用户ID
  11159. type: integer
  11160. unexehedgeqty:
  11161. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11162. type: number
  11163. unexespotqty:
  11164. description: 未执行现货量
  11165. type: number
  11166. wrstandardcode:
  11167. description: 现货品类代码
  11168. type: string
  11169. wrstandardid:
  11170. description: 现货品类ID(SEQ_WRSTANDARD)
  11171. type: integer
  11172. wrstandardname:
  11173. description: 现货品类名称
  11174. type: string
  11175. required:
  11176. - areauserid
  11177. - goodsid
  11178. - tradeuserid
  11179. type: object
  11180. models.InternalUncorrelatedTradeDetail:
  11181. properties:
  11182. accountid:
  11183. description: 账号ID
  11184. type: integer
  11185. accountname:
  11186. description: 套期主体
  11187. type: string
  11188. agreeunit:
  11189. description: 合约乘数
  11190. type: number
  11191. areauserid:
  11192. description: 所属机构
  11193. type: integer
  11194. bizsubjectid:
  11195. description: 归属业务部门ID - SubjectID
  11196. type: integer
  11197. buyorsell:
  11198. description: 方向 - 0:买 1:卖
  11199. type: integer
  11200. channelbuildtype:
  11201. description: 委托单据类型 0:无 1:建仓 2:平仓
  11202. type: integer
  11203. convertratio:
  11204. description: 品种系数
  11205. type: number
  11206. createtime:
  11207. description: 创建时间
  11208. type: string
  11209. creatorid:
  11210. description: 创建人ID
  11211. type: integer
  11212. creatorsrc:
  11213. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11214. type: integer
  11215. enableqty:
  11216. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11217. type: number
  11218. enumdicname:
  11219. description: 单位
  11220. type: string
  11221. goodscode:
  11222. description: 合约代码
  11223. type: string
  11224. goodsgroupid:
  11225. description: 对冲品种ID[期货合约商品组ID]
  11226. type: integer
  11227. goodsid:
  11228. description: 商品ID
  11229. type: integer
  11230. goodsname:
  11231. description: 合约名称
  11232. type: string
  11233. hedgeditemid:
  11234. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11235. type: integer
  11236. hedgeflag:
  11237. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11238. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11239. type: integer
  11240. linkdetailid:
  11241. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11242. type: string
  11243. linkstatus:
  11244. description: 关联状态 - 1:成功 2:失败 3:解绑
  11245. type: integer
  11246. middlegoodsid:
  11247. description: 套保品种ID
  11248. type: integer
  11249. middlegoodsqty:
  11250. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11251. type: number
  11252. relatedlot:
  11253. description: '[数量]关联手数'
  11254. type: number
  11255. relatedmode:
  11256. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11257. type: integer
  11258. relatedqty:
  11259. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11260. type: number
  11261. retcode:
  11262. description: 返回码
  11263. type: integer
  11264. saleuserid:
  11265. description: 业务员ID
  11266. type: integer
  11267. tradedate:
  11268. description: 关联交易日(yyyyMMdd)
  11269. type: string
  11270. tradeid:
  11271. description: 成交单号
  11272. type: string
  11273. tradelot:
  11274. description: 成交手数
  11275. type: integer
  11276. tradeprice:
  11277. description: 成交价
  11278. type: number
  11279. tradetime:
  11280. description: 成交时间
  11281. type: string
  11282. tradetradedate:
  11283. description: 成交交易日(yyyyMMdd)
  11284. type: string
  11285. tradeuserid:
  11286. description: 交易用户ID
  11287. type: integer
  11288. type: object
  11289. models.Loginaccount:
  11290. properties:
  11291. accountname:
  11292. description: 账户名称
  11293. type: string
  11294. canoutin:
  11295. description: 是否可出入金 - 0:不可 1:可
  11296. type: integer
  11297. clientroleid:
  11298. description: 终端角色ID
  11299. type: integer
  11300. haslogined:
  11301. description: 是否已登录 - 0:未登录 1:已登录
  11302. type: integer
  11303. hasupdatedpwd:
  11304. description: 是否已更改密码 - 0:未修改 1:已修改
  11305. type: integer
  11306. lastloginip:
  11307. description: 最新登录地址
  11308. type: string
  11309. lastloginmode:
  11310. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11311. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11312. type: integer
  11313. lastloginremark:
  11314. description: 最新登录描述
  11315. type: string
  11316. lastlogintime:
  11317. description: 最新登录时间
  11318. type: string
  11319. logincode:
  11320. description: 登录代码
  11321. type: string
  11322. loginfailnum:
  11323. description: 连续登录失败次数(登录成功时清零)
  11324. type: integer
  11325. loginid:
  11326. description: 登陆账号
  11327. type: integer
  11328. loginport:
  11329. description: 最新登录端口
  11330. type: integer
  11331. loginstatus:
  11332. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11333. type: integer
  11334. loginusertype:
  11335. description: 登录账号类型 - 1:投资者 2:机构交易员
  11336. type: integer
  11337. mobile:
  11338. description: 手机号码(加密存储)
  11339. type: string
  11340. modifierid:
  11341. description: 修改人
  11342. type: integer
  11343. modifysrc:
  11344. description: 审核来源 - 1:管理端 2:终端
  11345. type: integer
  11346. modifytime:
  11347. description: 修改时间
  11348. type: string
  11349. password:
  11350. description: 登陆密码
  11351. type: string
  11352. pwdwrongcount:
  11353. description: 密码错误次数
  11354. type: integer
  11355. relateduserid:
  11356. description: 关联用户ID(机构)
  11357. type: integer
  11358. taaccountrighttype:
  11359. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11360. type: integer
  11361. unfreezetime:
  11362. description: 账户解冻时间
  11363. type: string
  11364. userid:
  11365. description: 用户ID
  11366. type: integer
  11367. required:
  11368. - loginid
  11369. type: object
  11370. models.MainAccountInfo:
  11371. properties:
  11372. accountid:
  11373. description: 账号id
  11374. type: integer
  11375. accountname:
  11376. description: 账号名称(taaccount表中的名称)
  11377. type: string
  11378. appid:
  11379. description: AppID
  11380. type: string
  11381. authcode:
  11382. description: 授权码
  11383. type: string
  11384. brokerid:
  11385. description: 经纪商id
  11386. type: string
  11387. fcid:
  11388. description: 期货公司id
  11389. type: integer
  11390. fcname:
  11391. description: 期货公司代码
  11392. type: string
  11393. hedgeaccountcode:
  11394. description: 外部账号代码(主账号登录代码)
  11395. type: string
  11396. hedgeaccountpwd:
  11397. description: 密码
  11398. type: string
  11399. ismain:
  11400. description: 是否主账号
  11401. type: integer
  11402. relateduserid:
  11403. description: 关联用户id
  11404. type: integer
  11405. userid:
  11406. description: 关联用户id
  11407. type: integer
  11408. type: object
  11409. models.Market:
  11410. properties:
  11411. auctionwrtype:
  11412. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11413. type: integer
  11414. canacceptquote:
  11415. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11416. type: integer
  11417. cangoodsexercise:
  11418. description: '[期权]是否可现货行权- 0:否 1:是'
  11419. type: integer
  11420. cangoodsexercisetype:
  11421. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11422. type: integer
  11423. canmanualquotestrike:
  11424. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11425. type: integer
  11426. canmutistage:
  11427. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11428. type: integer
  11429. canpreexercise:
  11430. description: '[期权]是否可预申报- 0:否 1:是'
  11431. type: integer
  11432. clearinterval:
  11433. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11434. type: integer
  11435. contracttmp:
  11436. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11437. type: string
  11438. exchareaid:
  11439. description: 所属交易所,可以没有
  11440. type: integer
  11441. goodstype:
  11442. description: 商品类型 - 1:交易商品 2:仓单商品
  11443. type: integer
  11444. hasrebate:
  11445. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11446. type: integer
  11447. hastradecredit:
  11448. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11449. type: integer
  11450. haswr:
  11451. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11452. type: integer
  11453. isdeductmargin:
  11454. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11455. type: integer
  11456. isrecordsource:
  11457. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11458. type: integer
  11459. isreleasemargin:
  11460. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11461. type: integer
  11462. marginformula:
  11463. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11464. type: integer
  11465. marginformula2:
  11466. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11467. type: integer
  11468. marketid:
  11469. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11470. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11471. type: integer
  11472. marketname:
  11473. description: 市场名称
  11474. type: string
  11475. marketserviceid:
  11476. description: 市场服务ID
  11477. type: integer
  11478. marketstatus:
  11479. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11480. type: integer
  11481. markettype:
  11482. description: 市场类型- 1:非交易服务 2:交易服务
  11483. type: integer
  11484. matchermode:
  11485. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11486. type: integer
  11487. openmethod:
  11488. description: 开盘模式 - 0 自动 1手动
  11489. type: integer
  11490. otcuserid:
  11491. description: 场外期权做市商[场外期权]
  11492. type: integer
  11493. outersynctime:
  11494. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11495. type: string
  11496. pendingflag:
  11497. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11498. type: integer
  11499. pendingtime:
  11500. description: 待开市时间[通道交易-对冲](HH:mm)
  11501. type: string
  11502. performancetempid:
  11503. description: 履约计划模板ID - 作废
  11504. type: integer
  11505. premiumquotemode:
  11506. description: 权利金报价方式 - 1:自动 2:手动
  11507. type: integer
  11508. rebateratio:
  11509. description: 返利比率[竞价式]
  11510. type: number
  11511. reckonorder:
  11512. description: 结算顺序
  11513. type: integer
  11514. reckonpricealgorithm:
  11515. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11516. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11517. type: integer
  11518. reckonpriceparam:
  11519. description: 结算价参数
  11520. type: integer
  11521. reckontime:
  11522. description: 结算时间[通道交易-对冲](HH:mm)
  11523. type: string
  11524. roleprioritytype:
  11525. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11526. type: integer
  11527. selllistingauditflag:
  11528. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11529. type: integer
  11530. trademarkettype:
  11531. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11532. type: integer
  11533. trademode:
  11534. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11535. 21:竞拍-大宗式 22:受托竞价
  11536. type: integer
  11537. tradeproperty:
  11538. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11539. 8:场外期权
  11540. type: integer
  11541. tradetype:
  11542. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11543. type: integer
  11544. required:
  11545. - marketid
  11546. - marketstatus
  11547. - openmethod
  11548. - reckonpricealgorithm
  11549. - trademode
  11550. - tradeproperty
  11551. type: object
  11552. models.Marketcalendar:
  11553. properties:
  11554. holidaydate:
  11555. description: 节假日期(yyyy-MM-dd)
  11556. type: string
  11557. marketid:
  11558. description: 市场ID
  11559. type: integer
  11560. type: object
  11561. models.Marketrun:
  11562. properties:
  11563. afternexttradedate:
  11564. description: 下下交易日
  11565. type: string
  11566. clearquoteflag:
  11567. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11568. type: integer
  11569. lastreckondate:
  11570. description: 最新交易日(结算成功)
  11571. type: string
  11572. machinedate:
  11573. description: 机器时间
  11574. type: string
  11575. manualflag:
  11576. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11577. type: integer
  11578. marketid:
  11579. description: 市场ID
  11580. type: integer
  11581. nexttradedate:
  11582. description: 下一交易日
  11583. type: string
  11584. pretradedate:
  11585. description: 上一交易日
  11586. type: string
  11587. reckonflag:
  11588. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11589. type: integer
  11590. runstatus:
  11591. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11592. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11593. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11594. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11595. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11596. 62.今日免清算
  11597. type: integer
  11598. sectionid:
  11599. description: 时间段号[多时段时用]
  11600. type: integer
  11601. tradedate:
  11602. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11603. type: string
  11604. tradedate2:
  11605. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11606. type: string
  11607. updatetime:
  11608. description: 更新时间
  11609. type: string
  11610. required:
  11611. - marketid
  11612. - nexttradedate
  11613. - reckonflag
  11614. - runstatus
  11615. - tradedate
  11616. - tradedate2
  11617. type: object
  11618. models.Messageboard:
  11619. properties:
  11620. contactnum:
  11621. description: 联系电话
  11622. type: string
  11623. createtime:
  11624. description: 创建时间
  11625. type: string
  11626. message:
  11627. description: 留言信息
  11628. type: string
  11629. messageboardid:
  11630. description: 留言簿ID(SEQ_MessageBoard)
  11631. type: integer
  11632. userid:
  11633. description: 用户ID
  11634. type: integer
  11635. required:
  11636. - messageboardid
  11637. type: object
  11638. models.MyCoupon:
  11639. properties:
  11640. accountid:
  11641. description: 资金账户ID
  11642. type: integer
  11643. areauserid:
  11644. description: 所属机构
  11645. type: integer
  11646. conditionvalue:
  11647. description: 条件阈值(可为0)
  11648. type: number
  11649. couponcategroy:
  11650. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11651. type: integer
  11652. couponname:
  11653. description: 优惠券名称
  11654. type: string
  11655. coupontypeid:
  11656. description: 优惠券类型ID
  11657. type: string
  11658. couponvalue:
  11659. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11660. type: number
  11661. curfreezeqty:
  11662. description: 期末冻结数量
  11663. type: integer
  11664. curqty:
  11665. description: 期末数量
  11666. type: integer
  11667. isgeneral:
  11668. description: 是否通用券 - 0:否 1:是
  11669. type: integer
  11670. isunusable:
  11671. description: 是否不可用
  11672. type: boolean
  11673. limitedflag:
  11674. description: 是否指定商品 - 0:不限 1:限制
  11675. type: integer
  11676. limitedgoodsids:
  11677. description: 指定商品IDs[逗号分隔,前后加逗号]
  11678. type: string
  11679. orifreezeqty:
  11680. description: 期初冻结数量
  11681. type: integer
  11682. oriqty:
  11683. description: 期初数量
  11684. type: integer
  11685. reasontype:
  11686. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11687. type: integer
  11688. todaydecrease:
  11689. description: 今日减少
  11690. type: integer
  11691. todayincrease:
  11692. description: 今日增加
  11693. type: integer
  11694. userid:
  11695. description: 用户ID
  11696. type: integer
  11697. userscope:
  11698. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11699. type: string
  11700. required:
  11701. - accountid
  11702. - coupontypeid
  11703. type: object
  11704. models.MyCouponHold:
  11705. properties:
  11706. accountid:
  11707. description: 资金账户ID
  11708. type: integer
  11709. conditionvalue:
  11710. description: 条件阈值(可为0)
  11711. type: number
  11712. couponcategroy:
  11713. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11714. type: integer
  11715. couponholdid:
  11716. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11717. type: string
  11718. couponname:
  11719. description: 优惠券名称
  11720. type: string
  11721. coupontypeid:
  11722. description: 优惠券类型ID - SEQ_COUPONTYPE
  11723. type: string
  11724. couponvalue:
  11725. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11726. type: number
  11727. createtime:
  11728. description: 创建时间
  11729. type: string
  11730. enddate:
  11731. description: 结束日期
  11732. type: string
  11733. giveapplyid:
  11734. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11735. type: integer
  11736. holdstatus:
  11737. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11738. type: integer
  11739. isgeneral:
  11740. description: 是否通用券 - 0:否 1:是
  11741. type: integer
  11742. limitedflag:
  11743. description: 是否指定商品 - 0:不限 1:限制
  11744. type: integer
  11745. limitedgoodsids:
  11746. description: 指定商品IDs[逗号分隔]
  11747. type: string
  11748. qty:
  11749. description: 数量(按1平铺)
  11750. type: integer
  11751. startdate:
  11752. description: 开始日期
  11753. type: string
  11754. userid:
  11755. description: 用户ID
  11756. type: integer
  11757. userscope:
  11758. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11759. type: string
  11760. required:
  11761. - couponholdid
  11762. type: object
  11763. models.MyUsedCoupon:
  11764. properties:
  11765. accountid:
  11766. description: 资金账户ID(买方)
  11767. type: integer
  11768. conditionvalue:
  11769. description: 条件阈值(可为0)
  11770. type: number
  11771. couponcategroy:
  11772. description: 种类 - 1:现金券 2:折扣券
  11773. type: integer
  11774. couponname:
  11775. description: 优惠券名称
  11776. type: string
  11777. coupontypeid:
  11778. description: 优惠券类型ID(买方)
  11779. type: string
  11780. couponvalue:
  11781. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11782. type: number
  11783. createtime:
  11784. description: 创建时间
  11785. type: string
  11786. goodsid:
  11787. description: 商品ID
  11788. type: integer
  11789. handlestatus:
  11790. description: 处理状态
  11791. type: integer
  11792. marketid:
  11793. description: 市场ID
  11794. type: integer
  11795. offamount:
  11796. description: 优惠金额
  11797. type: number
  11798. orderid:
  11799. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11800. type: string
  11801. sellaccountid:
  11802. description: 资金账户ID(卖方)
  11803. type: integer
  11804. tradeamount:
  11805. description: 成交金额
  11806. type: number
  11807. tradeid:
  11808. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11809. type: string
  11810. usedqty:
  11811. description: 使用数量
  11812. type: integer
  11813. required:
  11814. - coupontypeid
  11815. - orderid
  11816. type: object
  11817. models.NewFuncmenulist:
  11818. properties:
  11819. authtype:
  11820. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11821. type: integer
  11822. buttonname:
  11823. description: 按钮名称
  11824. type: string
  11825. buttontype:
  11826. description: 按钮类型 - 存按钮样式
  11827. type: string
  11828. component:
  11829. description: 组件名或组件地址
  11830. type: string
  11831. hidden:
  11832. description: 是否隐藏 - 0:显示 1:隐藏
  11833. type: integer
  11834. iconame:
  11835. description: 菜单图标
  11836. type: string
  11837. menutype:
  11838. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11839. type: integer
  11840. parentcode:
  11841. description: 上级资源代码
  11842. type: string
  11843. remark:
  11844. description: Remark
  11845. type: string
  11846. resourcecode:
  11847. description: 资源代码
  11848. type: string
  11849. resourcelevel:
  11850. description: 级别1-一级 2-二级 3-三级4-四级
  11851. type: integer
  11852. resourcename:
  11853. description: 资源名(Title)
  11854. type: string
  11855. sort:
  11856. description: 排序
  11857. type: integer
  11858. url:
  11859. description: Url
  11860. type: string
  11861. urltype:
  11862. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11863. type: integer
  11864. required:
  11865. - resourcecode
  11866. type: object
  11867. models.OperationPrimaryMenu:
  11868. properties:
  11869. Children:
  11870. description: 二级功能菜单
  11871. items:
  11872. $ref: '#/definitions/models.OperationSecondaryMenu'
  11873. type: array
  11874. Key:
  11875. description: 菜单KEY
  11876. type: string
  11877. Label:
  11878. description: 菜单标题
  11879. type: string
  11880. type: object
  11881. models.OperationSecondaryMenu:
  11882. properties:
  11883. Key:
  11884. description: 菜单KEY
  11885. type: string
  11886. Label:
  11887. description: 菜单标题
  11888. type: string
  11889. TabList:
  11890. description: 三级功能菜单
  11891. items:
  11892. $ref: '#/definitions/models.OperationTabMenu'
  11893. type: array
  11894. type: object
  11895. models.OperationTabMenu:
  11896. properties:
  11897. Key:
  11898. description: 菜单KEY
  11899. type: string
  11900. Label:
  11901. description: 菜单标题
  11902. type: string
  11903. type: object
  11904. models.Patradelinkdetail:
  11905. properties:
  11906. accountname:
  11907. description: 套期主体
  11908. type: string
  11909. agreeunit:
  11910. description: 合约乘数
  11911. type: number
  11912. amount:
  11913. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11914. type: number
  11915. areauserid:
  11916. description: 所属机构
  11917. type: integer
  11918. bizsubjectid:
  11919. description: 归属业务部门ID - SubjectID
  11920. type: integer
  11921. buyorsell:
  11922. description: 方向 - 0:买 1:卖
  11923. type: integer
  11924. convertratio:
  11925. description: 品种系数
  11926. type: number
  11927. convertratiochange:
  11928. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11929. type: number
  11930. createtime:
  11931. description: '[日期时间]创建时间'
  11932. type: string
  11933. creatorid:
  11934. description: 创建人ID
  11935. type: integer
  11936. creatorsrc:
  11937. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11938. type: integer
  11939. goodscode:
  11940. description: 商品代码(内部)
  11941. type: string
  11942. goodsgroupid:
  11943. description: 对冲品种ID[期货合约商品组ID]
  11944. type: integer
  11945. goodsid:
  11946. description: 商品ID
  11947. type: integer
  11948. hedgeditemid:
  11949. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11950. type: integer
  11951. hedgeflag:
  11952. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11953. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11954. type: integer
  11955. linkdetailid:
  11956. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11957. type: string
  11958. linkstatus:
  11959. description: 关联状态 - 1:成功 2:失败 3:解绑
  11960. type: integer
  11961. middlegoodsid:
  11962. description: 套保品种ID
  11963. type: integer
  11964. name:
  11965. description: 账户名/子账户
  11966. type: string
  11967. optioncode:
  11968. description: '[期货合约]期权代码 [期权]'
  11969. type: string
  11970. ordertype:
  11971. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11972. type: integer
  11973. relatedlot:
  11974. description: '[数量]关联手数'
  11975. type: number
  11976. relatedmode:
  11977. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11978. type: integer
  11979. relatedqty:
  11980. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11981. type: number
  11982. retcode:
  11983. description: 返回码
  11984. type: integer
  11985. saleuserid:
  11986. description: 业务员ID
  11987. type: integer
  11988. tradedate:
  11989. description: 关联交易日(yyyyMMdd)
  11990. type: string
  11991. tradeid:
  11992. description: '[成交单号]内部成交单ID'
  11993. type: string
  11994. tradelot:
  11995. description: 成交手数
  11996. type: integer
  11997. tradeprice:
  11998. description: '[价格]成交价格'
  11999. type: number
  12000. tradetradedate:
  12001. description: 成交交易日(yyyyMMdd)
  12002. type: string
  12003. type: object
  12004. models.QhjAccountOutInApply:
  12005. properties:
  12006. accountcode:
  12007. description: 资金账号
  12008. type: string
  12009. accountname:
  12010. description: 用户名称(名称)
  12011. type: string
  12012. accountpwd:
  12013. description: 资金密码
  12014. type: string
  12015. accountticket:
  12016. description: 最新账户服务流水号
  12017. type: string
  12018. amount:
  12019. description: 金额
  12020. type: number
  12021. applyremark:
  12022. description: 申请备注
  12023. type: string
  12024. applystatus:
  12025. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12026. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12027. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12028. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12029. type: integer
  12030. auditid:
  12031. description: 审核人
  12032. type: integer
  12033. audittime:
  12034. description: 审核时间
  12035. type: string
  12036. bank_apply_ticket:
  12037. description: 银行申请流水
  12038. type: string
  12039. bankaccountname:
  12040. description: 银行账户名
  12041. type: string
  12042. bankaccountno:
  12043. description: 银行卡号
  12044. type: string
  12045. bankid:
  12046. description: 银行编号
  12047. type: string
  12048. bankticket:
  12049. description: 银行流水
  12050. type: string
  12051. branchbankid:
  12052. description: 银行支行号
  12053. type: string
  12054. branchbankname:
  12055. description: 银行支行名称
  12056. type: string
  12057. capamountout:
  12058. description: 出金(劣后本金) - 外部子账户
  12059. type: number
  12060. certificatephotourl:
  12061. description: 凭证地址
  12062. type: string
  12063. charge:
  12064. description: 手续费
  12065. type: number
  12066. checkerrorflag:
  12067. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12068. type: integer
  12069. currency:
  12070. description: 币种
  12071. type: string
  12072. cusbankid:
  12073. description: 托管银行编号
  12074. type: string
  12075. exchticket:
  12076. description: 银行服务流水号
  12077. type: string
  12078. executetype:
  12079. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12080. 7:外部子账户:入金 8:外部子账户:出金'
  12081. type: integer
  12082. extendinfo:
  12083. description: 扩展信息
  12084. type: string
  12085. extoperateid:
  12086. description: 交易服务流水号
  12087. type: integer
  12088. infamount:
  12089. description: 劣后金额(自有)
  12090. type: number
  12091. logincode:
  12092. description: 登录账号(账号)
  12093. type: string
  12094. netaddr:
  12095. description: 调转网址
  12096. type: string
  12097. priamount:
  12098. description: 优先金额(授信)
  12099. type: number
  12100. reauditid:
  12101. description: 复审人
  12102. type: integer
  12103. reauditremark:
  12104. description: 复审备注
  12105. type: string
  12106. reaudittime:
  12107. description: 复审时间
  12108. type: string
  12109. relatedorderid:
  12110. description: 三方关联ID
  12111. type: string
  12112. remark:
  12113. description: 备注
  12114. type: string
  12115. remark2:
  12116. description: 备注(失败原因)
  12117. type: string
  12118. soucreamount:
  12119. description: 原始出入金金额
  12120. type: number
  12121. soucrecurrencyid:
  12122. description: 原始出入金币种
  12123. type: integer
  12124. tradedate:
  12125. description: 交易日(yyyyMMdd)
  12126. type: string
  12127. updatetime:
  12128. description: 更新时间(申请时间)
  12129. type: string
  12130. userid:
  12131. description: 用户id
  12132. type: integer
  12133. userinfotype:
  12134. description: 账户类型 1-个人 2-企业
  12135. type: integer
  12136. type: object
  12137. models.QhjAgreementChangeLog:
  12138. properties:
  12139. agreementcontent:
  12140. description: 协议内容
  12141. type: string
  12142. agreementfrequency:
  12143. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12144. type: integer
  12145. agreementid:
  12146. description: 协议ID
  12147. type: integer
  12148. agreementname:
  12149. description: 协议名称
  12150. type: string
  12151. agreementno:
  12152. description: 协议编号
  12153. type: string
  12154. agreementtype:
  12155. description: 协议类型 - 1:注册 2:登录 3:交易
  12156. type: integer
  12157. agreementversion:
  12158. description: 协议版本号
  12159. type: integer
  12160. logid:
  12161. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12162. type: integer
  12163. reviserid:
  12164. description: 修改人
  12165. type: integer
  12166. revisersrc:
  12167. description: 修改来源 - 1:管理端 2:终端
  12168. type: integer
  12169. updatetime:
  12170. description: 更新时间
  12171. type: string
  12172. type: object
  12173. models.QhjAgreementConfig:
  12174. properties:
  12175. agreementcontent:
  12176. description: 协议内容
  12177. type: string
  12178. agreementfrequency:
  12179. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12180. type: integer
  12181. agreementid:
  12182. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12183. type: integer
  12184. agreementname:
  12185. description: 协议名称
  12186. type: string
  12187. agreementno:
  12188. description: 协议编号
  12189. type: string
  12190. agreementtype:
  12191. description: 协议类型 - 1:注册 2:登录 3:交易
  12192. type: integer
  12193. agreementversion:
  12194. description: 协议版本号(从1开始每次修改加1)
  12195. type: integer
  12196. createtime:
  12197. description: 创建时间
  12198. type: string
  12199. creatorid:
  12200. description: 创建人
  12201. type: integer
  12202. creatorsrc:
  12203. description: 创建来源 - 1:管理端 2:终端
  12204. type: integer
  12205. isvalid:
  12206. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12207. type: integer
  12208. reviserid:
  12209. description: 修改人
  12210. type: integer
  12211. revisersrc:
  12212. description: 修改来源 - 1:管理端 2:终端
  12213. type: integer
  12214. updatetime:
  12215. description: 更新时间
  12216. type: string
  12217. type: object
  12218. models.QhjAreaFinanceConfig:
  12219. properties:
  12220. additionalratio:
  12221. description: 追加款比例
  12222. type: number
  12223. advanceratio:
  12224. description: 预付款比例
  12225. type: number
  12226. alarmratio:
  12227. description: 告警比例
  12228. type: number
  12229. consumptiondirectreward:
  12230. description: 消费直推奖励值
  12231. type: number
  12232. consumptionenabled:
  12233. description: 是否启用消费奖励 - 0:不启用 1:启用
  12234. type: integer
  12235. consumptionindirectreward:
  12236. description: 消费间推奖励值
  12237. type: number
  12238. consumptionmodel:
  12239. description: 消费奖励方式 - 1:比率 2:固定
  12240. type: integer
  12241. customerservicenum:
  12242. description: 客服电话
  12243. type: string
  12244. dayinterestrate:
  12245. description: 日利率
  12246. type: number
  12247. disableconsumptiontips:
  12248. description: 关闭消费奖励提示
  12249. type: string
  12250. modifierid:
  12251. description: 修改人ID
  12252. type: integer
  12253. modifysrc:
  12254. description: 审核来源 - 1:管理端 2:终端
  12255. type: integer
  12256. modifytime:
  12257. description: 修改时间
  12258. type: string
  12259. promotionvalue:
  12260. description: 推广奖励值(固定)
  12261. type: number
  12262. scoreconfigvalue1:
  12263. description: 提货积分配置1
  12264. type: integer
  12265. scoreconfigvalue2:
  12266. description: 提货积分配置2
  12267. type: integer
  12268. userid:
  12269. description: 机构用户ID其他做市关系,都设置为 1
  12270. type: integer
  12271. username:
  12272. description: 用户名称
  12273. type: string
  12274. type: object
  12275. models.QhjBankAccountSign:
  12276. properties:
  12277. accountcode:
  12278. description: 资金账号
  12279. type: string
  12280. accountname:
  12281. description: 资金账号对应的账号名(UserName)
  12282. type: string
  12283. accountname2:
  12284. description: 资金账号对应的账号名(UserName) - 密文
  12285. type: string
  12286. accounttype:
  12287. description: 账户类型(UserType)
  12288. type: integer
  12289. applicationtime:
  12290. description: 最后一次更新的时间
  12291. type: string
  12292. applyexchticket:
  12293. description: 申请流水
  12294. type: string
  12295. auditid:
  12296. description: 审核人
  12297. type: integer
  12298. audittime:
  12299. description: 审核时间
  12300. type: string
  12301. bankaccountname:
  12302. description: 签约银行卡账号名
  12303. type: string
  12304. bankaccountname2:
  12305. description: 签约银行卡账号名 - 密文
  12306. type: string
  12307. bankaccountno:
  12308. description: 银行卡号
  12309. type: string
  12310. bankaccountno2:
  12311. description: 银行卡号 - 密文
  12312. type: string
  12313. bankaccounttype:
  12314. description: 银行账户类型 - 1-对私; 2-对公
  12315. type: integer
  12316. bankcardtype:
  12317. description: 银行卡类型
  12318. type: integer
  12319. bankchildaccount:
  12320. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12321. type: string
  12322. bankcity:
  12323. description: 开户行城市
  12324. type: string
  12325. bankid:
  12326. description: 签约银行ID
  12327. type: string
  12328. bankname:
  12329. description: 签约银行名称
  12330. type: string
  12331. bankprovince:
  12332. description: 开户行省份
  12333. type: string
  12334. branchbankid:
  12335. description: 签约银行支行号
  12336. type: string
  12337. branchbankname:
  12338. description: 签约银行支行名称
  12339. type: string
  12340. cardno:
  12341. description: 证件号码
  12342. type: string
  12343. cardno2:
  12344. description: 证件号码 - 密文
  12345. type: string
  12346. cardtype:
  12347. description: 证件类型
  12348. type: string
  12349. currency:
  12350. description: 币种
  12351. type: string
  12352. cusbankid:
  12353. description: 托管银行编号
  12354. type: string
  12355. direct:
  12356. description: 方向(可以判断那方先发起的签约)
  12357. type: integer
  12358. exchticket:
  12359. description: 最后一次签约成功的流水号
  12360. type: string
  12361. extendinfo:
  12362. description: 扩展信息(JSON字符串)
  12363. type: string
  12364. mobilephone:
  12365. description: 手机号
  12366. type: string
  12367. mobilephone2:
  12368. description: 手机号 - 密文
  12369. type: string
  12370. netaddr:
  12371. description: 调转网址
  12372. type: string
  12373. relateduserid:
  12374. description: 关联使用者userid
  12375. type: integer
  12376. signstatus:
  12377. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12378. 10:审核拒绝 11:换签待审核
  12379. type: integer
  12380. updatetime:
  12381. description: 更新时间(签解约更新时间)
  12382. type: string
  12383. type: object
  12384. models.QhjBankInfo:
  12385. properties:
  12386. bankid:
  12387. description: 银行ID
  12388. type: string
  12389. bankname:
  12390. description: 银行名称
  12391. type: string
  12392. clearbankno:
  12393. description: 清算系统银行编号
  12394. type: string
  12395. orderindex:
  12396. description: 排序顺序
  12397. type: integer
  12398. status:
  12399. description: 状态 - 0:正常 1:注销
  12400. type: integer
  12401. type: object
  12402. models.QhjBrokerApply:
  12403. properties:
  12404. applicantid:
  12405. description: 申请人
  12406. type: integer
  12407. applysrc:
  12408. description: 申请来源 - 1:管理端 2:终端
  12409. type: integer
  12410. applystatus:
  12411. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12412. type: integer
  12413. applytime:
  12414. description: 申请时间
  12415. type: string
  12416. auditorid:
  12417. description: 审核人
  12418. type: integer
  12419. auditremark:
  12420. description: 审核备注
  12421. type: string
  12422. auditsrc:
  12423. description: 审核来源 - 1:管理端 2:终端
  12424. type: integer
  12425. audittime:
  12426. description: 审核时间
  12427. type: string
  12428. audittradedate:
  12429. description: 审核交易日(yyyyMMdd)
  12430. type: string
  12431. brokerapplyid:
  12432. description: 申请ID(SEQ_BROKERAPPLY)
  12433. type: integer
  12434. cardbackphotourl:
  12435. description: 证件背面图片地址
  12436. type: string
  12437. cardfrontphotourl:
  12438. description: 证件正面图片地址
  12439. type: string
  12440. cardnum:
  12441. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12442. type: string
  12443. customername:
  12444. description: 姓名
  12445. type: string
  12446. logincode:
  12447. description: 登录代码
  12448. type: string
  12449. mobile:
  12450. description: 手机号码
  12451. type: string
  12452. parentuserid:
  12453. description: 所属机构id
  12454. type: integer
  12455. parentusername:
  12456. description: 所属机构名称
  12457. type: string
  12458. refereeuserid:
  12459. description: 推荐人id(经纪人)
  12460. type: integer
  12461. refernum:
  12462. description: 推荐码
  12463. type: string
  12464. remark:
  12465. description: 备注
  12466. type: string
  12467. subarealevelpath:
  12468. description: 层级路径
  12469. type: string
  12470. tradedate:
  12471. description: 交易日(yyyyMMdd)
  12472. type: string
  12473. userid:
  12474. description: 申请人用户ID
  12475. type: integer
  12476. userinfotype:
  12477. description: 用户类型 1-个人 2-企业
  12478. type: integer
  12479. username:
  12480. description: 用户名称
  12481. type: string
  12482. type: object
  12483. models.QhjBrokerApplyEx:
  12484. properties:
  12485. applylist:
  12486. description: 经纪人申请记录(只返回最新一条)
  12487. items:
  12488. $ref: '#/definitions/models.QhjBrokerApply'
  12489. type: array
  12490. canrecommend:
  12491. description: 是否经纪人 0-不是 1-是
  12492. type: integer
  12493. refernum:
  12494. description: 推荐码
  12495. type: string
  12496. userid:
  12497. description: 用户id
  12498. type: integer
  12499. userinfotype:
  12500. description: 用户类型 1-个人 2-企业
  12501. type: integer
  12502. type: object
  12503. models.QhjBrokerRewardLog:
  12504. properties:
  12505. accountid:
  12506. description: 资金账号ID
  12507. type: integer
  12508. createtime:
  12509. description: 创建时间(时间)
  12510. type: string
  12511. handlestatus:
  12512. description: 处理状态
  12513. type: integer
  12514. logid:
  12515. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12516. type: string
  12517. marketid:
  12518. description: 市场ID
  12519. type: integer
  12520. mmaccountid:
  12521. description: 做市商资金账号ID
  12522. type: string
  12523. mmuserid:
  12524. description: 做市商用户ID
  12525. type: string
  12526. rewardamount:
  12527. description: 奖励金额
  12528. type: number
  12529. rewardmodel:
  12530. description: 消费奖励方式 - 1:比率 2:固定
  12531. type: integer
  12532. rewardtype:
  12533. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12534. type: integer
  12535. rewardvalue:
  12536. description: 配置奖励值
  12537. type: number
  12538. srcamount:
  12539. description: 成交金额 [消费奖励] (金额)
  12540. type: number
  12541. srcgoodsid:
  12542. description: 来源商品ID [消费奖励]
  12543. type: string
  12544. srctime:
  12545. description: 来源时间 (成交时间) [消费奖励]
  12546. type: string
  12547. srctradeid:
  12548. description: 来源成交单ID [消费奖励] - 排除提货成交
  12549. type: string
  12550. srcuserid:
  12551. description: 来源用户ID(推广账户)
  12552. type: string
  12553. srcusername:
  12554. description: 推广账户名称
  12555. type: string
  12556. tradedate:
  12557. description: 交易日(yyyyMMdd)
  12558. type: string
  12559. userid:
  12560. description: 经纪人用户ID
  12561. type: integer
  12562. type: object
  12563. models.QhjContract:
  12564. properties:
  12565. contractconfirmtime:
  12566. description: 合同确认时间(时间)
  12567. type: string
  12568. currisklevel:
  12569. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12570. type: integer
  12571. decimalplace:
  12572. description: 商品报价小数位
  12573. type: integer
  12574. enumdicname:
  12575. description: 单位名称
  12576. type: string
  12577. goodscode:
  12578. description: 商品代码
  12579. type: string
  12580. goodsid:
  12581. description: 商品ID [5:融资单]
  12582. type: integer
  12583. goodsname:
  12584. description: 商品名称
  12585. type: string
  12586. goodunitid:
  12587. description: 商品单位id
  12588. type: integer
  12589. initmargin:
  12590. description: 初始保证金(首付款)
  12591. type: number
  12592. lenderamount:
  12593. description: 贷款金额(总额|订单总额)
  12594. type: number
  12595. marginratio:
  12596. description: 保证金比率(首付比例)
  12597. type: number
  12598. payamount:
  12599. description: 已付(已付货款)
  12600. type: number
  12601. reckonrecovermargin:
  12602. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12603. type: number
  12604. recoveredmargin:
  12605. description: 已追缴保证金
  12606. type: number
  12607. remainamount:
  12608. description: 合同剩余金额(融资额)
  12609. type: number
  12610. scfcontractid:
  12611. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12612. type: string
  12613. scfcontractstatus:
  12614. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12615. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12616. type: integer
  12617. scfcontracttype:
  12618. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12619. type: integer
  12620. totalinterest:
  12621. description: 已计总利息(利息)
  12622. type: number
  12623. tradeprice:
  12624. description: 成交价格(成本价格)
  12625. type: number
  12626. userid:
  12627. description: 用户ID
  12628. type: integer
  12629. username:
  12630. description: 用户名称
  12631. type: string
  12632. wrqty:
  12633. description: 仓单数量(数量)
  12634. type: number
  12635. type: object
  12636. models.QhjContractLog:
  12637. properties:
  12638. amount:
  12639. description: 支付金额
  12640. type: number
  12641. amounttype:
  12642. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12643. type: integer
  12644. logid:
  12645. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12646. type: string
  12647. remainamount:
  12648. description: 剩余货款
  12649. type: number
  12650. scfcontractid:
  12651. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12652. type: integer
  12653. updatetime:
  12654. description: 更新时间
  12655. type: string
  12656. type: object
  12657. models.QhjCusBankSignBankEx:
  12658. properties:
  12659. banklst:
  12660. description: 银行列表
  12661. items:
  12662. $ref: '#/definitions/models.QhjBankInfo'
  12663. type: array
  12664. canallot:
  12665. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12666. type: integer
  12667. canallotquery:
  12668. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12669. type: integer
  12670. canbindcard:
  12671. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12672. type: integer
  12673. caninamount:
  12674. description: 是否可入金 - 0:不可 1:可以
  12675. type: integer
  12676. caninamount2:
  12677. description: 是否可入金(网银端) - 0:不可 1:可以
  12678. type: integer
  12679. canmodifybankcard:
  12680. description: 是否可修改银行卡号 - 0:不可 1:可以
  12681. type: integer
  12682. canmodifyphone:
  12683. description: 是否可修改手机号 - 0:不可 1:可以
  12684. type: integer
  12685. canmodifysigninfo:
  12686. description: 是否可修改签约信息 - 0:不可 1:可以
  12687. type: integer
  12688. canoutamount:
  12689. description: 是否可出金 - 0:不可 1:可以
  12690. type: integer
  12691. canoutamount2:
  12692. description: 是否可出金(网银端) - 0:不可 1:可以
  12693. type: integer
  12694. canrelease:
  12695. description: 是否可解约 - 0:不可 1:可以
  12696. type: integer
  12697. canrelease2:
  12698. description: 是否可解约(网银端) - 0:不可 1:可以
  12699. type: integer
  12700. cansign:
  12701. description: 是否可签约 - 0:不可 1:可以
  12702. type: integer
  12703. cansign2:
  12704. description: 是否可签约(网银端) - 0:不可 1:可以
  12705. type: integer
  12706. currency:
  12707. description: 币种
  12708. type: string
  12709. cusbankid:
  12710. description: 托管银行编号(对应清算中心TRAN_NO)
  12711. type: string
  12712. cusbankname:
  12713. description: 银行业务名称
  12714. type: string
  12715. cusbankshortname:
  12716. description: 银行业务简称
  12717. type: string
  12718. exchbankid:
  12719. description: 交易所开户银行ID
  12720. type: string
  12721. exchpaybankaccname:
  12722. description: 交易所支出结算账户户名
  12723. type: string
  12724. exchpaybankaccno:
  12725. description: 交易所支出结算账户
  12726. type: string
  12727. isneedcheck:
  12728. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12729. type: integer
  12730. isneedclear:
  12731. description: 是否需要清算 - 0:不需要 1:需要
  12732. type: integer
  12733. lastcheckstatus:
  12734. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12735. type: integer
  12736. lastchecktime:
  12737. description: 最后对账时间
  12738. type: string
  12739. lastclearstatus:
  12740. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12741. type: integer
  12742. lastcleartime:
  12743. description: 最后清算时间
  12744. type: string
  12745. lastsignintime:
  12746. description: 最后签到时间
  12747. type: string
  12748. lastsignouttime:
  12749. description: 最后签退时间
  12750. type: string
  12751. riskinfo:
  12752. description: 签约风险提示书
  12753. type: string
  12754. signstatus:
  12755. description: 当前签到/签退状态 - 1:签到 2:签退
  12756. type: integer
  12757. tradedate:
  12758. description: 交易日(yyyyMMdd)
  12759. type: string
  12760. updatetime:
  12761. description: 当前签到/签退更新时间
  12762. type: string
  12763. type: object
  12764. models.QhjCustomer:
  12765. properties:
  12766. address:
  12767. description: 通讯地址
  12768. type: string
  12769. attachment1:
  12770. description: 附件1
  12771. type: string
  12772. attachment2:
  12773. description: 附件2
  12774. type: string
  12775. audittime:
  12776. description: 审核时间
  12777. type: string
  12778. cardbackphotourl:
  12779. description: 证件反面图片地址
  12780. type: string
  12781. cardfrontphotourl:
  12782. description: 证件正面图片地址
  12783. type: string
  12784. cardnum:
  12785. description: 证件号码
  12786. type: string
  12787. cardtype:
  12788. description: 证件类型
  12789. type: integer
  12790. cardtypename:
  12791. description: 证件类型名称
  12792. type: string
  12793. cityid:
  12794. description: 市
  12795. type: integer
  12796. cityname:
  12797. description: 城市名称
  12798. type: string
  12799. contactname:
  12800. description: 联系人
  12801. type: string
  12802. countryid:
  12803. description: 国家
  12804. type: integer
  12805. countryname:
  12806. description: 国家名称
  12807. type: string
  12808. createtime:
  12809. description: 创建时间
  12810. type: string
  12811. customername:
  12812. description: 客户名称
  12813. type: string
  12814. districtid:
  12815. description: 区域
  12816. type: integer
  12817. districtname:
  12818. description: 地区名称
  12819. type: string
  12820. email:
  12821. description: 邮件
  12822. type: string
  12823. legalpersonname:
  12824. description: 法人姓名(企业)
  12825. type: string
  12826. logincode:
  12827. description: 登录账号(代码)
  12828. type: string
  12829. memberuserid:
  12830. description: 所属机构ID(所属会员)
  12831. type: integer
  12832. memberusername:
  12833. description: 所属会员名称
  12834. type: string
  12835. mobile:
  12836. description: 手机号码
  12837. type: string
  12838. modifytime:
  12839. description: 修改时间
  12840. type: string
  12841. nickname:
  12842. description: 昵称
  12843. type: string
  12844. parentuserid:
  12845. description: 上级机构(所属机构)
  12846. type: integer
  12847. parentusername:
  12848. description: 所属机构名称
  12849. type: string
  12850. provinceid:
  12851. description: 省
  12852. type: integer
  12853. provincename:
  12854. description: 省名称
  12855. type: string
  12856. proxystatementurl:
  12857. description: 授权委托书
  12858. type: string
  12859. remark:
  12860. description: 备注
  12861. type: string
  12862. status:
  12863. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12864. type: integer
  12865. statusdesc:
  12866. description: 账户状态中文描述
  12867. type: string
  12868. taxpayernum:
  12869. description: 纳税人识别号
  12870. type: string
  12871. telphone:
  12872. description: 联系电话
  12873. type: string
  12874. userid:
  12875. description: 用户ID
  12876. type: integer
  12877. userinfotype:
  12878. description: 客户类型 1-个人 2-企业
  12879. type: integer
  12880. username:
  12881. description: 用户名称
  12882. type: string
  12883. type: object
  12884. models.QhjCustomerSignLog:
  12885. properties:
  12886. agreementcontent:
  12887. description: 协议内容
  12888. type: string
  12889. agreementid:
  12890. description: 协议ID
  12891. type: integer
  12892. agreementname:
  12893. description: 协议名称
  12894. type: string
  12895. agreementno:
  12896. description: 协议编号
  12897. type: string
  12898. agreementtype:
  12899. description: 协议类型 - 1:注册 2:登录 3:交易
  12900. type: integer
  12901. agreementversion:
  12902. description: 协议版本号
  12903. type: integer
  12904. createtime:
  12905. description: 创建时间
  12906. type: string
  12907. goodscode:
  12908. description: 商品代码
  12909. type: string
  12910. goodsid:
  12911. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12912. type: integer
  12913. goodsname:
  12914. description: 商品名称
  12915. type: string
  12916. logid:
  12917. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12918. type: integer
  12919. nodetype:
  12920. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12921. type: integer
  12922. signadressurl:
  12923. description: 签约文件地址
  12924. type: string
  12925. signtimestamp:
  12926. description: 签约状态时间戳
  12927. type: string
  12928. userid:
  12929. description: 客户ID
  12930. type: integer
  12931. username:
  12932. description: 客户名称
  12933. type: string
  12934. type: object
  12935. models.QhjCustomerSignStatus:
  12936. properties:
  12937. createtime:
  12938. description: 创建时间
  12939. type: string
  12940. goodscode:
  12941. description: 商品代码
  12942. type: string
  12943. goodsid:
  12944. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12945. type: integer
  12946. goodsname:
  12947. description: 商品名称
  12948. type: string
  12949. nodetype:
  12950. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12951. type: integer
  12952. signtimestamp:
  12953. description: 签约状态时间戳
  12954. type: string
  12955. tradedate:
  12956. description: 创建交易日(yyyyMMdd)
  12957. type: string
  12958. updatetime:
  12959. description: 更新时间
  12960. type: string
  12961. userid:
  12962. description: 客户ID
  12963. type: integer
  12964. username:
  12965. description: 客户名称
  12966. type: string
  12967. type: object
  12968. models.QhjMgrAccountOutInApply:
  12969. properties:
  12970. accountcode:
  12971. description: 资金账号
  12972. type: string
  12973. accountname:
  12974. description: 用户名称(名称)
  12975. type: string
  12976. accountpwd:
  12977. description: 资金密码
  12978. type: string
  12979. accountticket:
  12980. description: 最新账户服务流水号
  12981. type: string
  12982. amount:
  12983. description: 金额
  12984. type: number
  12985. applyremark:
  12986. description: 申请备注
  12987. type: string
  12988. applystatus:
  12989. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12990. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12991. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12992. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12993. type: integer
  12994. auditid:
  12995. description: 审核人
  12996. type: integer
  12997. audittime:
  12998. description: 审核时间
  12999. type: string
  13000. bank_apply_ticket:
  13001. description: 银行申请流水
  13002. type: string
  13003. bankaccountname:
  13004. description: 银行账户名
  13005. type: string
  13006. bankaccountno:
  13007. description: 银行卡号
  13008. type: string
  13009. bankid:
  13010. description: 银行编号
  13011. type: string
  13012. bankname:
  13013. description: 银行名称
  13014. type: string
  13015. bankticket:
  13016. description: 银行流水
  13017. type: string
  13018. branchbankid:
  13019. description: 银行支行号
  13020. type: string
  13021. branchbankname:
  13022. description: 银行支行名称
  13023. type: string
  13024. capamountout:
  13025. description: 出金(劣后本金) - 外部子账户
  13026. type: number
  13027. certificatephotourl:
  13028. description: 凭证地址
  13029. type: string
  13030. charge:
  13031. description: 手续费
  13032. type: number
  13033. checkerrorflag:
  13034. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13035. type: integer
  13036. currency:
  13037. description: 币种
  13038. type: string
  13039. cusbankid:
  13040. description: 托管银行编号
  13041. type: string
  13042. exchticket:
  13043. description: 银行服务流水号
  13044. type: string
  13045. executetype:
  13046. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13047. 7:外部子账户:入金 8:外部子账户:出金'
  13048. type: integer
  13049. extendinfo:
  13050. description: 扩展信息
  13051. type: string
  13052. extoperateid:
  13053. description: 交易服务流水号
  13054. type: integer
  13055. infamount:
  13056. description: 劣后金额(自有)
  13057. type: number
  13058. logincode:
  13059. description: 登录账号(账号)
  13060. type: string
  13061. netaddr:
  13062. description: 调转网址
  13063. type: string
  13064. priamount:
  13065. description: 优先金额(授信)
  13066. type: number
  13067. reauditid:
  13068. description: 复审人
  13069. type: integer
  13070. reauditremark:
  13071. description: 复审备注
  13072. type: string
  13073. reaudittime:
  13074. description: 复审时间
  13075. type: string
  13076. relatedorderid:
  13077. description: 三方关联ID
  13078. type: string
  13079. remark:
  13080. description: 备注
  13081. type: string
  13082. remark2:
  13083. description: 备注(失败原因)
  13084. type: string
  13085. soucreamount:
  13086. description: 原始出入金金额
  13087. type: number
  13088. soucrecurrencyid:
  13089. description: 原始出入金币种
  13090. type: integer
  13091. tradedate:
  13092. description: 交易日(yyyyMMdd)
  13093. type: string
  13094. updatetime:
  13095. description: 更新时间(申请时间)
  13096. type: string
  13097. userid:
  13098. description: 用户id
  13099. type: integer
  13100. userinfotype:
  13101. description: 账户类型 1-个人 2-企业
  13102. type: integer
  13103. type: object
  13104. models.QhjMgrBrokerApply:
  13105. properties:
  13106. applicantid:
  13107. description: 申请人
  13108. type: integer
  13109. applysrc:
  13110. description: 申请来源 - 1:管理端 2:终端
  13111. type: integer
  13112. applystatus:
  13113. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13114. type: integer
  13115. applytime:
  13116. description: 申请时间
  13117. type: string
  13118. auditorid:
  13119. description: 审核人
  13120. type: integer
  13121. auditremark:
  13122. description: 审核备注
  13123. type: string
  13124. auditsrc:
  13125. description: 审核来源 - 1:管理端 2:终端
  13126. type: integer
  13127. audittime:
  13128. description: 审核时间
  13129. type: string
  13130. audittradedate:
  13131. description: 审核交易日(yyyyMMdd)
  13132. type: string
  13133. brokerapplyid:
  13134. description: 申请ID(SEQ_BROKERAPPLY)
  13135. type: integer
  13136. cardbackphotourl:
  13137. description: 证件背面图片地址
  13138. type: string
  13139. cardfrontphotourl:
  13140. description: 证件正面图片地址
  13141. type: string
  13142. cardnum:
  13143. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13144. type: string
  13145. customername:
  13146. description: 姓名
  13147. type: string
  13148. filterstatus:
  13149. description: 筛选条件
  13150. type: string
  13151. logincode:
  13152. description: 登录代码
  13153. type: string
  13154. mobile:
  13155. description: 手机号码
  13156. type: string
  13157. parentuserid:
  13158. description: 所属机构id
  13159. type: integer
  13160. parentusername:
  13161. description: 所属机构名称
  13162. type: string
  13163. refereeuserid:
  13164. description: 推荐人id(经纪人)
  13165. type: integer
  13166. refernum:
  13167. description: 推荐码
  13168. type: string
  13169. remark:
  13170. description: 备注
  13171. type: string
  13172. subarealevelpath:
  13173. description: 层级路径
  13174. type: string
  13175. tradedate:
  13176. description: 交易日(yyyyMMdd)
  13177. type: string
  13178. userid:
  13179. description: 申请人用户ID
  13180. type: integer
  13181. userinfotype:
  13182. description: 用户类型 1-个人 2-企业
  13183. type: integer
  13184. username:
  13185. description: 用户名称
  13186. type: string
  13187. type: object
  13188. models.QhjMgrBrokerRewardReport:
  13189. properties:
  13190. createtime:
  13191. description: 创建时间(注册时间)
  13192. type: string
  13193. cycletime:
  13194. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13195. type: string
  13196. cycletype:
  13197. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13198. type: integer
  13199. directtotalnum:
  13200. description: 直推总人数【期末】
  13201. type: integer
  13202. indirecttotalnum:
  13203. description: 间推总人数【期末】
  13204. type: integer
  13205. mobile:
  13206. description: 电话号码
  13207. type: string
  13208. refereeuserid:
  13209. description: 推荐人id(经纪人id)
  13210. type: integer
  13211. refereeusername:
  13212. description: 推荐人名称(经纪人) 上级经纪人名称
  13213. type: string
  13214. refernum:
  13215. description: 推荐码
  13216. type: string
  13217. subarealevelpath:
  13218. description: 用户层级路径
  13219. type: string
  13220. todayrewardamount:
  13221. description: 奖励总金额【汇总】
  13222. type: number
  13223. updatetime:
  13224. description: 更新时间
  13225. type: string
  13226. userid:
  13227. description: 经纪人用户ID
  13228. type: integer
  13229. userinfotype:
  13230. description: 用户类型 1-个人 2-企业
  13231. type: integer
  13232. username:
  13233. description: 用户名称
  13234. type: string
  13235. type: object
  13236. models.QhjMgrContract:
  13237. properties:
  13238. contractconfirmtime:
  13239. description: 合同确认时间(时间)
  13240. type: string
  13241. currisklevel:
  13242. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13243. type: integer
  13244. decimalplace:
  13245. description: 商品报价小数位
  13246. type: integer
  13247. enumdicname:
  13248. description: 单位名称
  13249. type: string
  13250. goodscode:
  13251. description: 商品代码
  13252. type: string
  13253. goodsid:
  13254. description: 商品ID [5:融资单]
  13255. type: integer
  13256. goodsname:
  13257. description: 商品名称
  13258. type: string
  13259. goodunitid:
  13260. description: 商品单位id
  13261. type: integer
  13262. initmargin:
  13263. description: 初始保证金(首付款)
  13264. type: number
  13265. lenderamount:
  13266. description: 贷款金额(总额|订单总额)
  13267. type: number
  13268. logincode:
  13269. description: 账号(登录代码)
  13270. type: string
  13271. marginratio:
  13272. description: 保证金比率(首付比例)
  13273. type: number
  13274. mobile:
  13275. description: 电话号码(用户资料里的电话)
  13276. type: string
  13277. payamount:
  13278. description: 已付(已付货款)
  13279. type: number
  13280. reckonrecovermargin:
  13281. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13282. type: number
  13283. recoveredmargin:
  13284. description: 已追缴保证金
  13285. type: number
  13286. remainamount:
  13287. description: 合同剩余金额(融资额)
  13288. type: number
  13289. scfcontractid:
  13290. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13291. type: string
  13292. scfcontractstatus:
  13293. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13294. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13295. type: integer
  13296. scfcontracttype:
  13297. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13298. type: integer
  13299. totalinterest:
  13300. description: 已计总利息(利息)
  13301. type: number
  13302. tradedate:
  13303. description: 交易日
  13304. type: string
  13305. tradeprice:
  13306. description: 成交价格(成本价格)
  13307. type: number
  13308. userid:
  13309. description: 用户ID
  13310. type: integer
  13311. userinfotype:
  13312. description: 用户类型 1-个人 2-企业
  13313. type: integer
  13314. username:
  13315. description: 用户名称
  13316. type: string
  13317. wrqty:
  13318. description: 仓单数量(数量)
  13319. type: number
  13320. type: object
  13321. models.QhjMgrCustomer:
  13322. properties:
  13323. address:
  13324. description: 通讯地址
  13325. type: string
  13326. attachment1:
  13327. description: 附件1
  13328. type: string
  13329. audittime:
  13330. description: 审核时间
  13331. type: string
  13332. birthday:
  13333. description: 生日
  13334. type: string
  13335. brokerid:
  13336. description: 所属客户经理id
  13337. type: integer
  13338. brokername:
  13339. description: 所属客户经理名称
  13340. type: string
  13341. cardbackphotourl:
  13342. description: 证件反面图片地址
  13343. type: string
  13344. cardfrontphotourl:
  13345. description: 证件正面图片地址
  13346. type: string
  13347. cardnum:
  13348. description: 证件号码
  13349. type: string
  13350. cardtype:
  13351. description: 证件类型
  13352. type: integer
  13353. cardtypename:
  13354. description: 证件类型名称
  13355. type: string
  13356. cityid:
  13357. description: 市
  13358. type: integer
  13359. cityname:
  13360. description: 城市名称
  13361. type: string
  13362. contactname:
  13363. description: 联系人
  13364. type: string
  13365. countryid:
  13366. description: 国家
  13367. type: integer
  13368. countryname:
  13369. description: 国家名称
  13370. type: string
  13371. createtime:
  13372. description: 创建时间
  13373. type: string
  13374. customername:
  13375. description: 客户名称
  13376. type: string
  13377. districtid:
  13378. description: 区域
  13379. type: integer
  13380. districtname:
  13381. description: 地区名称
  13382. type: string
  13383. email:
  13384. description: 邮件
  13385. type: string
  13386. legalpersonname:
  13387. description: 法人姓名(企业)
  13388. type: string
  13389. logincode:
  13390. description: 登录账号(代码)
  13391. type: string
  13392. memberuserid:
  13393. description: 所属机构ID(所属会员)
  13394. type: integer
  13395. memberusername:
  13396. description: 所属会员名称
  13397. type: string
  13398. mobile:
  13399. description: 手机号码
  13400. type: string
  13401. modifytime:
  13402. description: 修改时间
  13403. type: string
  13404. nickname:
  13405. description: 昵称
  13406. type: string
  13407. parentuserid:
  13408. description: 上级机构(所属机构)
  13409. type: integer
  13410. parentusername:
  13411. description: 所属机构名称
  13412. type: string
  13413. provinceid:
  13414. description: 省
  13415. type: integer
  13416. provincename:
  13417. description: 省名称
  13418. type: string
  13419. proxystatementurl:
  13420. description: 授权委托书
  13421. type: string
  13422. querytype:
  13423. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13424. type: integer
  13425. remark:
  13426. description: 备注
  13427. type: string
  13428. sex:
  13429. description: 性别 0-女 1-男
  13430. type: integer
  13431. status:
  13432. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13433. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13434. type: integer
  13435. statusdesc:
  13436. description: 账户状态中文描述
  13437. type: string
  13438. taxpayernum:
  13439. description: 纳税人识别号
  13440. type: string
  13441. telphone:
  13442. description: 联系电话
  13443. type: string
  13444. userid:
  13445. description: 用户ID
  13446. type: integer
  13447. userinfotype:
  13448. description: 客户类型 1-个人 2-企业
  13449. type: integer
  13450. username:
  13451. description: 用户名称
  13452. type: string
  13453. type: object
  13454. models.QhjMgrPickGoods:
  13455. properties:
  13456. enumdicname:
  13457. description: 单位名称(提货商品)
  13458. type: string
  13459. goodsid:
  13460. description: 商品id
  13461. type: integer
  13462. imageaddress:
  13463. description: 图片
  13464. type: string
  13465. modifierid:
  13466. description: 修改人
  13467. type: integer
  13468. modifiername:
  13469. description: 修改人名称
  13470. type: string
  13471. modifysrc:
  13472. description: 修改来源 - 1:管理端 2:终端
  13473. type: integer
  13474. pickupgoodsagreeunit:
  13475. description: 合约乘数
  13476. type: number
  13477. pickupgoodsdesc:
  13478. description: 描述
  13479. type: string
  13480. pickupgoodsid:
  13481. description: 提货商品ID
  13482. type: string
  13483. pickupgoodsname:
  13484. description: 提货商品名称
  13485. type: string
  13486. pickupgoodsstatus:
  13487. description: 状态 - 1:正常 2:停用 3:注销
  13488. type: integer
  13489. pickupgoodsunitid:
  13490. description: 单位ID
  13491. type: integer
  13492. pickupratio:
  13493. description: 提货系数
  13494. type: number
  13495. preparedays:
  13496. description: 备货期(天)
  13497. type: integer
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. updatetime:
  13502. description: 更新时间
  13503. type: string
  13504. type: object
  13505. models.QhjMgrPositionRsp:
  13506. properties:
  13507. accountid:
  13508. description: 账号Id
  13509. type: integer
  13510. accountname:
  13511. description: 用户名称
  13512. type: string
  13513. agreeunit:
  13514. description: 合约乘数
  13515. type: number
  13516. averageprice:
  13517. description: 均价
  13518. type: number
  13519. avialqty:
  13520. description: 可用数量
  13521. type: number
  13522. decimalplace:
  13523. description: 报价小数位
  13524. type: integer
  13525. enumdicname:
  13526. description: 单位名称(商品)
  13527. type: string
  13528. frozenqty:
  13529. description: 冻结数量
  13530. type: number
  13531. goodscode:
  13532. description: 商品代码(内部)
  13533. type: string
  13534. goodsid:
  13535. description: 商品Id
  13536. type: integer
  13537. goodsname:
  13538. description: 商品名称
  13539. type: string
  13540. goodunitid:
  13541. description: 报价单位ID
  13542. type: integer
  13543. holderamount:
  13544. description: 金额
  13545. type: number
  13546. holderqty:
  13547. description: 持有数量
  13548. type: number
  13549. holdertype:
  13550. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13551. type: integer
  13552. logincode:
  13553. description: 登录代码(账户)
  13554. type: string
  13555. marketid:
  13556. description: 市场id
  13557. type: integer
  13558. qtydecimalplace:
  13559. description: 成交量小数位
  13560. type: integer
  13561. trademode:
  13562. description: 交易模式
  13563. type: integer
  13564. userid:
  13565. description: 用户id
  13566. type: integer
  13567. userinfotype:
  13568. description: 账户类型 1-个人 2-企业
  13569. type: integer
  13570. type: object
  13571. models.QhjMgrSubArea:
  13572. properties:
  13573. accountname:
  13574. description: 账户名称(机构名称)
  13575. type: string
  13576. memberuserid:
  13577. description: 所属会员ID
  13578. type: integer
  13579. parenttopuser:
  13580. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13581. type: string
  13582. parentuserid:
  13583. description: 所属机构ID
  13584. type: integer
  13585. rootuserid:
  13586. description: 根用户ID
  13587. type: string
  13588. subaccountlevel:
  13589. description: 子账户层数
  13590. type: integer
  13591. subarealevelpath:
  13592. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13593. type: string
  13594. userid:
  13595. description: 用户ID
  13596. type: integer
  13597. usertype:
  13598. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13599. type: integer
  13600. type: object
  13601. models.QhjMgrTradeDetailRsp:
  13602. properties:
  13603. accountid:
  13604. description: 资金账号
  13605. type: integer
  13606. accountname:
  13607. description: 用户名称
  13608. type: string
  13609. agreeunit:
  13610. description: 合约乘数
  13611. type: number
  13612. buyorsell:
  13613. description: 成交类型(方向) 0:买 1:卖
  13614. type: integer
  13615. decimalplace:
  13616. description: 报价小数位
  13617. type: integer
  13618. enumdicname:
  13619. description: 单位名称(商品)
  13620. type: string
  13621. goodscode:
  13622. description: 商品代码(内部)
  13623. type: string
  13624. goodsid:
  13625. description: 商品id
  13626. type: integer
  13627. goodsname:
  13628. description: 商品名称
  13629. type: string
  13630. goodunitid:
  13631. description: 报价单位ID
  13632. type: integer
  13633. logincode:
  13634. description: 登录代码(账户)
  13635. type: string
  13636. marketid:
  13637. description: 市场id
  13638. type: integer
  13639. orderid:
  13640. description: 关联委托单号
  13641. type: string
  13642. qtydecimalplace:
  13643. description: 成交量小数位
  13644. type: integer
  13645. tradeamount:
  13646. description: 金额
  13647. type: number
  13648. tradedate:
  13649. description: 交易日
  13650. type: string
  13651. tradeid:
  13652. description: 成交单号
  13653. type: string
  13654. trademode:
  13655. description: 交易模式
  13656. type: integer
  13657. tradeprice:
  13658. description: 价格
  13659. type: number
  13660. tradeqty:
  13661. description: 数量
  13662. type: number
  13663. tradetime:
  13664. description: 成交时间
  13665. type: string
  13666. userid:
  13667. description: 用户id
  13668. type: integer
  13669. userinfotype:
  13670. description: 账户类型 1-个人 2-企业
  13671. type: integer
  13672. type: object
  13673. models.QhjMgrTradeOrderDetailRsp:
  13674. properties:
  13675. accountid:
  13676. description: 资金账号
  13677. type: integer
  13678. accountname:
  13679. description: 用户名称
  13680. type: string
  13681. agreeunit:
  13682. description: 合约乘数
  13683. type: number
  13684. amount:
  13685. description: 金额
  13686. type: number
  13687. decimalplace:
  13688. description: 报价小数位
  13689. type: integer
  13690. enumdicname:
  13691. description: 单位名称(商品)
  13692. type: string
  13693. goodscode:
  13694. description: 商品代码(内部)
  13695. type: string
  13696. goodsid:
  13697. description: 商品id
  13698. type: integer
  13699. goodsname:
  13700. description: 商品名称
  13701. type: string
  13702. goodunitid:
  13703. description: 报价单位ID
  13704. type: integer
  13705. logincode:
  13706. description: 登录代码(账户)
  13707. type: string
  13708. marketid:
  13709. description: 市场id
  13710. type: integer
  13711. orderid:
  13712. description: 关联委托单号
  13713. type: string
  13714. orderprice:
  13715. description: 价格
  13716. type: number
  13717. orderqty:
  13718. description: 数量
  13719. type: number
  13720. orderstatus:
  13721. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13722. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13723. 16:成交失败违约(荷兰式竞拍专用)
  13724. type: integer
  13725. ordertime:
  13726. description: 委托时间
  13727. type: string
  13728. qtydecimalplace:
  13729. description: 成交量小数位
  13730. type: integer
  13731. tradedate:
  13732. description: 交易日
  13733. type: string
  13734. trademode:
  13735. description: 交易模式
  13736. type: integer
  13737. userid:
  13738. description: 用户id
  13739. type: integer
  13740. userinfotype:
  13741. description: 账户类型 1-个人 2-企业
  13742. type: integer
  13743. type: object
  13744. models.QhjMgrTradePayOrder:
  13745. properties:
  13746. accountname:
  13747. description: 用户名称
  13748. type: string
  13749. advanceratio:
  13750. description: 首付比率
  13751. type: number
  13752. agreeunit:
  13753. description: 合约乘数
  13754. type: number
  13755. buyaccountid:
  13756. description: 买方账号ID[报价币种]
  13757. type: integer
  13758. buyorderid:
  13759. description: 买方委托单号(关联单号)
  13760. type: string
  13761. createtime:
  13762. description: 创建时间
  13763. type: string
  13764. decimalplace:
  13765. description: 报价小数位
  13766. type: integer
  13767. enumdicname:
  13768. description: 单位名称(商品)
  13769. type: string
  13770. goodscode:
  13771. description: 商品代码(内部)
  13772. type: string
  13773. goodsid:
  13774. description: 商品ID
  13775. type: integer
  13776. goodsname:
  13777. description: 商品名称
  13778. type: string
  13779. goodunitid:
  13780. description: 报价单位ID
  13781. type: integer
  13782. logincode:
  13783. description: 登录代码(账户)
  13784. type: string
  13785. marketid:
  13786. description: 市场id
  13787. type: integer
  13788. offamount:
  13789. description: 优惠金额
  13790. type: number
  13791. operatetype:
  13792. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13793. type: integer
  13794. payamount:
  13795. description: 支付金额(金额)
  13796. type: number
  13797. payflag:
  13798. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13799. type: integer
  13800. paylimitedtime:
  13801. description: 支付期限
  13802. type: string
  13803. paytime:
  13804. description: 付款时间
  13805. type: string
  13806. qtydecimalplace:
  13807. description: 成交量小数位
  13808. type: integer
  13809. sellaccountid:
  13810. description: 卖方账号ID[报价币种]
  13811. type: integer
  13812. sellorderid:
  13813. description: 卖方委托单号
  13814. type: string
  13815. tradeamount:
  13816. description: 成交金额(优惠后金额)
  13817. type: number
  13818. tradecharge:
  13819. description: 成交手续费(买方)
  13820. type: number
  13821. tradedate:
  13822. description: 交易日(yyyyMMdd)
  13823. type: string
  13824. tradeid:
  13825. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13826. type: string
  13827. trademode:
  13828. description: 交易模式
  13829. type: integer
  13830. tradeprice:
  13831. description: 成交价格(价格)
  13832. type: number
  13833. tradeqty:
  13834. description: 成交数量(数量)
  13835. type: number
  13836. tradetime:
  13837. description: 成交时间
  13838. type: string
  13839. userid:
  13840. description: 用户id
  13841. type: integer
  13842. userinfotype:
  13843. description: 账户类型 1-个人 2-企业
  13844. type: integer
  13845. type: object
  13846. models.QhjMyTeamEx:
  13847. properties:
  13848. accountname:
  13849. description: 用户名称
  13850. type: string
  13851. accountstatus:
  13852. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13853. type: integer
  13854. createtime:
  13855. description: 创建时间
  13856. type: string
  13857. mobile:
  13858. description: 手机号码
  13859. type: string
  13860. refereeuserid:
  13861. description: 推荐人id
  13862. type: integer
  13863. refernum:
  13864. description: 推荐码
  13865. type: string
  13866. subList:
  13867. items:
  13868. $ref: '#/definitions/models.QhjMyTeamEx'
  13869. type: array
  13870. userid:
  13871. description: 用户id
  13872. type: integer
  13873. userinfotype:
  13874. description: 用户类型 1-个人 2-企业
  13875. type: integer
  13876. type: object
  13877. models.QhjNodeAgreementConfig:
  13878. properties:
  13879. agreementcontent:
  13880. description: 协议内容
  13881. type: string
  13882. agreementid:
  13883. description: 协议ID
  13884. type: integer
  13885. agreementname:
  13886. description: 协议名称
  13887. type: string
  13888. agreementno:
  13889. description: 协议编号
  13890. type: string
  13891. agreementtype:
  13892. description: 协议类型 - 1:注册 2:登录 3:交易
  13893. type: integer
  13894. agreementversion:
  13895. description: 协议版本号
  13896. type: integer
  13897. configid:
  13898. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13899. type: integer
  13900. createtime:
  13901. description: 创建时间
  13902. type: string
  13903. goodsid:
  13904. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13905. type: integer
  13906. nodetype:
  13907. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13908. type: integer
  13909. type: object
  13910. models.QhjParentAreaList:
  13911. properties:
  13912. accountname:
  13913. description: 账户名称(机构名称)
  13914. type: string
  13915. userid:
  13916. description: 用户ID
  13917. type: integer
  13918. usertype:
  13919. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13920. type: integer
  13921. type: object
  13922. models.QhjPayOrder:
  13923. properties:
  13924. advanceratio:
  13925. description: 首付比率
  13926. type: number
  13927. buyaccountid:
  13928. description: 买方账号ID[报价币种]
  13929. type: integer
  13930. buyorderid:
  13931. description: 买方委托单号
  13932. type: string
  13933. createtime:
  13934. description: 创建时间
  13935. type: string
  13936. decimalplace:
  13937. description: 商品报价小数位
  13938. type: integer
  13939. enumdicname:
  13940. description: 单位名称
  13941. type: string
  13942. goodscode:
  13943. description: 商品代码
  13944. type: string
  13945. goodsid:
  13946. description: 商品ID
  13947. type: integer
  13948. goodsname:
  13949. description: 商品名称
  13950. type: string
  13951. goodunitid:
  13952. description: 商品单位id
  13953. type: integer
  13954. marketid:
  13955. description: 市场ID
  13956. type: integer
  13957. offamount:
  13958. description: 优惠金额
  13959. type: number
  13960. operatetype:
  13961. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13962. type: integer
  13963. payamount:
  13964. description: 支付金额
  13965. type: number
  13966. payflag:
  13967. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13968. type: integer
  13969. paylimitedtime:
  13970. description: 支付期限
  13971. type: string
  13972. paytime:
  13973. description: 付款时间
  13974. type: string
  13975. qtydecimalplace:
  13976. description: 成交量小数位
  13977. type: integer
  13978. sellaccountid:
  13979. description: 卖方账号ID[报价币种]
  13980. type: integer
  13981. sellorderid:
  13982. description: 卖方委托单号
  13983. type: string
  13984. tradeamount:
  13985. description: 成交金额(优惠后金额)
  13986. type: number
  13987. tradecharge:
  13988. description: 成交手续费(买方)
  13989. type: number
  13990. tradedate:
  13991. description: 交易日(yyyyMMdd)
  13992. type: string
  13993. tradeid:
  13994. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13995. type: string
  13996. tradeprice:
  13997. description: 成交价格
  13998. type: number
  13999. tradeqty:
  14000. description: 成交数量
  14001. type: number
  14002. type: object
  14003. models.QhjPickArea:
  14004. properties:
  14005. address:
  14006. description: 详细地址
  14007. type: string
  14008. cityid:
  14009. description: 市
  14010. type: integer
  14011. cityname:
  14012. description: 城市名称
  14013. type: string
  14014. countryid:
  14015. description: 国家
  14016. type: integer
  14017. countryname:
  14018. description: 国家名称
  14019. type: string
  14020. districtid:
  14021. description: 地区
  14022. type: integer
  14023. districtname:
  14024. description: 地区名称
  14025. type: string
  14026. fromuserid:
  14027. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14028. type: integer
  14029. fromusername:
  14030. description: 所属机构名称
  14031. type: string
  14032. provinceid:
  14033. description: 省
  14034. type: integer
  14035. provincename:
  14036. description: 省名称
  14037. type: string
  14038. suborgtype:
  14039. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14040. type: integer
  14041. userid:
  14042. description: 机构用户ID 其他做市关系,都设置为 1
  14043. type: integer
  14044. username:
  14045. description: 机构用户名称(门店门称)
  14046. type: string
  14047. type: object
  14048. models.QhjPickGoods:
  14049. properties:
  14050. enumdicname:
  14051. description: 单位名称(提货商品)
  14052. type: string
  14053. goodsid:
  14054. description: 商品id
  14055. type: integer
  14056. imageaddress:
  14057. description: 图片
  14058. type: string
  14059. modifierid:
  14060. description: 修改人
  14061. type: integer
  14062. modifiername:
  14063. description: 修改人名称
  14064. type: string
  14065. modifysrc:
  14066. description: 修改来源 - 1:管理端 2:终端
  14067. type: integer
  14068. pickupgoodsagreeunit:
  14069. description: 合约乘数
  14070. type: number
  14071. pickupgoodsdesc:
  14072. description: 描述
  14073. type: string
  14074. pickupgoodsid:
  14075. description: 提货商品ID
  14076. type: string
  14077. pickupgoodsname:
  14078. description: 提货商品名称
  14079. type: string
  14080. pickupgoodsstatus:
  14081. description: 状态 - 1:正常 2:停用 3:注销
  14082. type: integer
  14083. pickupgoodsunitid:
  14084. description: 单位ID
  14085. type: integer
  14086. pickupratio:
  14087. description: 提货系数
  14088. type: number
  14089. preparedays:
  14090. description: 备货期(天)
  14091. type: integer
  14092. remark:
  14093. description: 备注
  14094. type: string
  14095. updatetime:
  14096. description: 更新时间
  14097. type: string
  14098. type: object
  14099. models.QhjRSTriggerLog:
  14100. properties:
  14101. accountid:
  14102. description: 用户资金账户
  14103. type: integer
  14104. accountname:
  14105. description: 账号名称(ACCOUNTID对应的名称)
  14106. type: string
  14107. currencyid:
  14108. description: 币种id
  14109. type: integer
  14110. currencyname:
  14111. description: 币种名称
  14112. type: string
  14113. decimalplace:
  14114. description: 商品报价小数位
  14115. type: integer
  14116. enumdicname:
  14117. description: 单位名称
  14118. type: string
  14119. goodscode:
  14120. description: 定投商品代码
  14121. type: string
  14122. goodsid:
  14123. description: 定投商品ID
  14124. type: integer
  14125. goodsname:
  14126. description: 定投商品名称
  14127. type: string
  14128. goodunitid:
  14129. description: 定投商品单位id
  14130. type: integer
  14131. logid:
  14132. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14133. type: string
  14134. logincode:
  14135. description: 账号(登录代码)
  14136. type: string
  14137. qtydecimalplace:
  14138. description: 成交量小数位
  14139. type: integer
  14140. regularlycycle:
  14141. description: 定投频率 - 1:每周 2:每月
  14142. type: integer
  14143. regularlycyclevalue:
  14144. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14145. type: string
  14146. regularlymode:
  14147. description: 定投方式 - 1:按数量 2:按金额
  14148. type: integer
  14149. regularlymodevalue:
  14150. description: 定投方式值 - 数量或金额
  14151. type: number
  14152. regularlystrategyid:
  14153. description: 定投策略ID
  14154. type: integer
  14155. retcode:
  14156. description: 错误码
  14157. type: string
  14158. tradeid:
  14159. description: 成交单ID
  14160. type: string
  14161. triggeramount:
  14162. description: 触发金额
  14163. type: number
  14164. triggerqty:
  14165. description: 触发数量
  14166. type: number
  14167. triggerstatus:
  14168. description: 触发状态 - 1:成功 2:失败
  14169. type: integer
  14170. triggertime:
  14171. description: 触发时间
  14172. type: string
  14173. triggertradedate:
  14174. description: 触发交易日
  14175. type: string
  14176. userid:
  14177. description: 所属用户ID
  14178. type: integer
  14179. userinfotype:
  14180. description: 用户类型 1-个人 2-企业
  14181. type: integer
  14182. username:
  14183. description: 用户名称(userid对应的名称)
  14184. type: string
  14185. type: object
  14186. models.QhjRStrategy:
  14187. properties:
  14188. accountid:
  14189. description: 用户资金账户
  14190. type: integer
  14191. accountname:
  14192. description: 账号名称(ACCOUNTID对应的名称)
  14193. type: string
  14194. currencyid:
  14195. description: 币种id
  14196. type: integer
  14197. currencyname:
  14198. description: 币种名称
  14199. type: string
  14200. decimalplace:
  14201. description: 商品报价小数位
  14202. type: integer
  14203. enumdicname:
  14204. description: 单位名称
  14205. type: string
  14206. goodscode:
  14207. description: 定投商品代码
  14208. type: string
  14209. goodsid:
  14210. description: 定投商品ID
  14211. type: integer
  14212. goodsname:
  14213. description: 定投商品名称
  14214. type: string
  14215. goodunitid:
  14216. description: 定投商品单位id
  14217. type: integer
  14218. lasteffecttradedate:
  14219. description: 最新生效交易日
  14220. type: string
  14221. laststoptradedate:
  14222. description: 最新暂停交易日
  14223. type: string
  14224. lasttriggertradedate:
  14225. description: 最新触发交易日
  14226. type: string
  14227. logincode:
  14228. description: 账号(登录代码)
  14229. type: string
  14230. nexttriggeramount:
  14231. description: 下次触发金额
  14232. type: number
  14233. nexttriggerdate:
  14234. description: 下次触发日期
  14235. type: string
  14236. nexttriggerqty:
  14237. description: 下次触发数量 [按小数位放大值]
  14238. type: number
  14239. qtydecimalplace:
  14240. description: 成交量小数位
  14241. type: integer
  14242. regularlycycle:
  14243. description: 定投频率 - 1:每周 2:每月
  14244. type: integer
  14245. regularlycyclevalue:
  14246. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14247. type: string
  14248. regularlymode:
  14249. description: 定投方式 - 1:按数量 2:按金额
  14250. type: integer
  14251. regularlymodevalue:
  14252. description: 定投方式值 - 数量或金额
  14253. type: number
  14254. regularlystrategyid:
  14255. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14256. type: integer
  14257. regularlystrategystatus:
  14258. description: 策略状态 - 1:正常 2:暂停 3:终止
  14259. type: integer
  14260. remark:
  14261. description: 备注
  14262. type: string
  14263. triggersuccesstimes:
  14264. description: 累计定投成功次数
  14265. type: string
  14266. triggertotalamount:
  14267. description: 累计定投金额(成功)
  14268. type: number
  14269. triggertotalqty:
  14270. description: 累计定投数量(成功) [按小数位放大值]
  14271. type: number
  14272. triggertotaltimes:
  14273. description: 累计定投总次数
  14274. type: string
  14275. updatesrc:
  14276. description: 更新来源 - 1:管理端 2:终端
  14277. type: integer
  14278. updatetime:
  14279. description: 更新时间
  14280. type: string
  14281. updatorid:
  14282. description: 更新人
  14283. type: string
  14284. userid:
  14285. description: 所属用户ID
  14286. type: integer
  14287. userinfotype:
  14288. description: 用户类型 1-个人 2-企业
  14289. type: integer
  14290. username:
  14291. description: 用户名称(userid对应的名称)
  14292. type: string
  14293. type: object
  14294. models.QhjReckonPriceLog:
  14295. properties:
  14296. decimalplace:
  14297. description: 商品报价小数位
  14298. type: integer
  14299. goodscode:
  14300. description: 商品代码
  14301. type: string
  14302. goodsid:
  14303. description: 商品ID
  14304. type: integer
  14305. goodsname:
  14306. description: 商品名称
  14307. type: string
  14308. lastreckonprice:
  14309. description: 上日结算价
  14310. type: number
  14311. nextdnlimitprice:
  14312. description: 下个交易日跌停价
  14313. type: number
  14314. nexttrade:
  14315. description: 下个交易日
  14316. type: string
  14317. nextuplimitprice:
  14318. description: 下个交易日涨停价
  14319. type: number
  14320. reckonprice:
  14321. description: 今日结算价(定投价)
  14322. type: number
  14323. reckontime:
  14324. description: 结算时间
  14325. type: string
  14326. totalholderqty:
  14327. description: 总持仓数
  14328. type: integer
  14329. totalstock:
  14330. description: 总库存
  14331. type: integer
  14332. tradedate:
  14333. description: 交易日
  14334. type: string
  14335. updowncount:
  14336. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14337. type: integer
  14338. updownflag:
  14339. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14340. type: integer
  14341. updownrate:
  14342. description: 今日涨跌幅
  14343. type: number
  14344. updownrate_2d:
  14345. description: 连续两日涨跌幅
  14346. type: number
  14347. updownrate_3d:
  14348. description: 连续三日涨跌幅
  14349. type: number
  14350. type: object
  14351. models.QhjScoreLog:
  14352. properties:
  14353. accountid:
  14354. description: 账户ID
  14355. type: integer
  14356. createtime:
  14357. description: 创建时间(时间)
  14358. type: string
  14359. goodsid:
  14360. description: 商品ID
  14361. type: integer
  14362. hasuploaded:
  14363. description: 是否已同步(千海金) 0:未同步 1;已同步
  14364. type: integer
  14365. logid:
  14366. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14367. type: string
  14368. marketid:
  14369. description: 市场ID
  14370. type: integer
  14371. relatedamount:
  14372. description: 关联金额
  14373. type: number
  14374. relatedorderid:
  14375. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14376. type: string
  14377. scoreconfigvalue1:
  14378. description: 积分配置1
  14379. type: integer
  14380. scoreconfigvalue2:
  14381. description: 积分配置1
  14382. type: integer
  14383. scoretype:
  14384. description: 积分类型 - 1:提货积分
  14385. type: integer
  14386. scorevalue:
  14387. description: 积分
  14388. type: number
  14389. tradedate:
  14390. description: 交易日(yyyyMMdd)
  14391. type: string
  14392. uploadedtime:
  14393. description: 同步时间
  14394. type: string
  14395. userid:
  14396. description: 用户ID
  14397. type: integer
  14398. type: object
  14399. models.QhjSiteColumnDetail:
  14400. properties:
  14401. author:
  14402. description: 作者
  14403. type: string
  14404. brief:
  14405. description: 简介
  14406. type: string
  14407. columnid:
  14408. description: 所属栏目
  14409. type: integer
  14410. context:
  14411. description: 内容
  14412. type: string
  14413. coverimage:
  14414. description: 封面图片
  14415. type: string
  14416. creaedate:
  14417. description: 创建时间
  14418. type: string
  14419. creatorid:
  14420. description: 创建人
  14421. type: integer
  14422. hits:
  14423. description: 点击数
  14424. type: integer
  14425. id:
  14426. description: ID(SEQ_SITE_COLUMNDETAIL)
  14427. type: integer
  14428. isshow:
  14429. description: 是否展示 - 0:不展示 1:展示
  14430. type: integer
  14431. istop:
  14432. description: 是否置顶 - 0:不置 1:置顶
  14433. type: integer
  14434. modifierid:
  14435. description: 操作人
  14436. type: integer
  14437. publishdate:
  14438. description: 发布日期
  14439. type: string
  14440. status:
  14441. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14442. type: integer
  14443. title:
  14444. description: 标题
  14445. type: string
  14446. updatedate:
  14447. description: 修改时间
  14448. type: string
  14449. userid:
  14450. description: 用户ID(默认为0, 核心为为机构用户ID)
  14451. type: integer
  14452. username:
  14453. description: 用户名称
  14454. type: string
  14455. type: object
  14456. models.QhjTeamOrder:
  14457. properties:
  14458. accountid:
  14459. description: 账户ID[报价币种]
  14460. type: integer
  14461. accountname:
  14462. description: 账户名称
  14463. type: string
  14464. agreeunit:
  14465. description: 合约乘数
  14466. type: number
  14467. buyorsell:
  14468. description: 方向 - 0:买 1:卖
  14469. type: integer
  14470. decimalplace:
  14471. description: 报价小数位
  14472. type: integer
  14473. enumdicname:
  14474. description: 单位名称
  14475. type: string
  14476. goodscode:
  14477. description: 商品代码(内部)
  14478. type: string
  14479. goodsid:
  14480. description: 商品ID
  14481. type: integer
  14482. goodsname:
  14483. description: 商品名称
  14484. type: string
  14485. goodunitid:
  14486. description: 报价单位ID
  14487. type: integer
  14488. marketid:
  14489. description: 市场ID
  14490. type: integer
  14491. marketname:
  14492. description: 市场名称
  14493. type: string
  14494. qtydecimalplace:
  14495. description: 成交量小数位
  14496. type: integer
  14497. refereeuserid:
  14498. description: 推荐人ID
  14499. type: integer
  14500. tradeamount:
  14501. description: 成交金额[账户币种,用于所有权]
  14502. type: number
  14503. tradedate:
  14504. description: 交易日(yyyyMMdd)
  14505. type: string
  14506. trademode:
  14507. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14508. 21:竞拍-大宗式 22:受托竞价
  14509. type: integer
  14510. tradeprice:
  14511. description: 成交价格
  14512. type: number
  14513. tradeqty:
  14514. description: 成交数量
  14515. type: number
  14516. tradetime:
  14517. description: 成交时间
  14518. type: string
  14519. userid:
  14520. description: 用户ID
  14521. type: integer
  14522. type: object
  14523. models.QhjTradeGoodsPickup:
  14524. properties:
  14525. accountid:
  14526. description: 账户ID
  14527. type: integer
  14528. address:
  14529. description: 提货人详细地址
  14530. type: string
  14531. amount:
  14532. description: 提货金额
  14533. type: number
  14534. artradedate:
  14535. description: 自动收货交易日(yyyyMMdd)
  14536. type: string
  14537. auditer:
  14538. description: 审核人
  14539. type: integer
  14540. auditsrc:
  14541. description: 更新来源 - 1:管理端 2:终端
  14542. type: integer
  14543. audittime:
  14544. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14545. type: string
  14546. audittradedate:
  14547. description: 审核交易日(yyyyMMdd)
  14548. type: string
  14549. cardnum:
  14550. description: 提货人证件号码
  14551. type: string
  14552. cardtypeid:
  14553. description: 提货人证件类型
  14554. type: integer
  14555. checkremark:
  14556. description: 审核备注
  14557. type: string
  14558. cityid:
  14559. description: 市
  14560. type: integer
  14561. cityname:
  14562. description: 城市名称
  14563. type: string
  14564. confirmtime:
  14565. description: 取货时间 或 收货时间
  14566. type: string
  14567. countryid:
  14568. description: 国家
  14569. type: integer
  14570. countryname:
  14571. description: 国家名称
  14572. type: string
  14573. decimalplace:
  14574. description: 商品报价小数位
  14575. type: integer
  14576. districtid:
  14577. description: 地区
  14578. type: integer
  14579. districtname:
  14580. description: 地区名称
  14581. type: string
  14582. enumdicname:
  14583. description: 单位名称(提货商品)
  14584. type: string
  14585. expresscompany:
  14586. description: 物流公司
  14587. type: string
  14588. expressnum:
  14589. description: 物流单号
  14590. type: string
  14591. goodsagreeunit:
  14592. description: 交易商品乘数
  14593. type: number
  14594. goodscode:
  14595. description: 商品代码
  14596. type: string
  14597. goodsid:
  14598. description: 商品ID
  14599. type: integer
  14600. goodsname:
  14601. description: 商品名称
  14602. type: string
  14603. goodsqty:
  14604. description: 交易商品手数(69模式按成交量小数位放大取整)
  14605. type: number
  14606. handlestatus:
  14607. description: 处理状态
  14608. type: integer
  14609. logincode:
  14610. description: 账号(登录代码, 有可能为空)
  14611. type: string
  14612. marketid:
  14613. description: 市场ID
  14614. type: integer
  14615. phonenum:
  14616. description: 提货人联系方式
  14617. type: string
  14618. pickupgoodsagreeunit:
  14619. description: 提货商品合约乘数
  14620. type: number
  14621. pickupgoodsid:
  14622. description: 提货商品ID
  14623. type: string
  14624. pickupgoodsname:
  14625. description: 提货商品名称
  14626. type: string
  14627. pickupgoodsqty:
  14628. description: 提货商品手数(数量)
  14629. type: number
  14630. pickupgoodsunitid:
  14631. description: 单位ID(提货商品)
  14632. type: integer
  14633. pickupratio:
  14634. description: 提货系数
  14635. type: number
  14636. preparedays:
  14637. description: 备货期(天)-提货单明细表
  14638. type: integer
  14639. provinceid:
  14640. description: 省
  14641. type: integer
  14642. provincename:
  14643. description: 省名称
  14644. type: string
  14645. qty:
  14646. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14647. type: number
  14648. qtydecimalplace:
  14649. description: 商品数量小数位
  14650. type: integer
  14651. recivername:
  14652. description: 提货人姓名
  14653. type: string
  14654. reqtime:
  14655. description: 提货申请时间
  14656. type: string
  14657. storeuserid:
  14658. description: 门店用户ID (千海金)
  14659. type: integer
  14660. storeusername:
  14661. description: 门店用户名称
  14662. type: string
  14663. takemode:
  14664. description: 提货方式 - 2:自提 3:配送(邮寄)
  14665. type: integer
  14666. takeorderid:
  14667. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14668. type: string
  14669. takeorderstatus:
  14670. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14671. 7:已拒绝 8:已撤销
  14672. type: integer
  14673. takeremark:
  14674. description: 提货备注
  14675. type: string
  14676. tradedate:
  14677. description: 交易日(yyyyMMdd)
  14678. type: string
  14679. updatetime:
  14680. description: 更新时间
  14681. type: string
  14682. userid:
  14683. description: 用户ID
  14684. type: integer
  14685. userinfotype:
  14686. description: 客户类型 1-个人 2-企业
  14687. type: integer
  14688. username:
  14689. description: 用户名称
  14690. type: string
  14691. type: object
  14692. models.QhjUserNodeCfgAndStatus:
  14693. properties:
  14694. agreementcontent:
  14695. description: 协议内容
  14696. type: string
  14697. agreementid:
  14698. description: 协议ID
  14699. type: integer
  14700. agreementname:
  14701. description: 协议名称
  14702. type: string
  14703. agreementno:
  14704. description: 协议编号
  14705. type: string
  14706. agreementtype:
  14707. description: 协议类型 - 1:注册 2:登录 3:交易
  14708. type: integer
  14709. agreementversion:
  14710. description: 协议版本号
  14711. type: integer
  14712. configid:
  14713. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14714. type: integer
  14715. createtime:
  14716. description: 创建时间
  14717. type: string
  14718. goodsid:
  14719. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14720. type: integer
  14721. nodetype:
  14722. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14723. type: integer
  14724. signtimestamp:
  14725. description: 签约状态时间戳(最近一次)
  14726. type: string
  14727. tradedate:
  14728. description: 签约交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 客户ID
  14732. type: integer
  14733. type: object
  14734. models.Qhjgoodsex:
  14735. properties:
  14736. canfinance:
  14737. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14738. type: integer
  14739. canregularlybuy:
  14740. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14741. type: integer
  14742. defaulttradeuserid:
  14743. description: 默认交易用户ID
  14744. type: integer
  14745. deliverygoodsid:
  14746. description: 现货品种ID
  14747. type: integer
  14748. goodsid:
  14749. description: 商品ID(自增ID SEQ_GOODS)
  14750. type: integer
  14751. minamount:
  14752. description: 最小购买金额
  14753. type: number
  14754. regularlybuyminamount:
  14755. description: 定投最小金额
  14756. type: number
  14757. regularlybuyminqty:
  14758. description: 定投最小数量
  14759. type: number
  14760. spotgoodsbrandid:
  14761. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14762. type: integer
  14763. visibilityforenterprise:
  14764. description: 企业客户是否可见 - 0:不可见 1:可见
  14765. type: integer
  14766. visibilityforpersonal:
  14767. description: 个人客户是否可见 - 0:不可见 1:可见
  14768. type: integer
  14769. wrstandardid:
  14770. description: 现货商品ID
  14771. type: integer
  14772. type: object
  14773. models.QueryErrorInfosRsp:
  14774. properties:
  14775. description:
  14776. description: 异常描述
  14777. type: string
  14778. errorcode:
  14779. description: 异常代码
  14780. type: string
  14781. errorid:
  14782. description: 异常ID
  14783. type: integer
  14784. modulecode:
  14785. description: 所属模块
  14786. type: string
  14787. operatecode:
  14788. description: 所属操作
  14789. type: string
  14790. rownumber:
  14791. description: 行号
  14792. type: string
  14793. required:
  14794. - errorid
  14795. type: object
  14796. models.QueryHedgeOrderDetailRsp:
  14797. properties:
  14798. accountid:
  14799. description: 账户ID
  14800. type: integer
  14801. buyorsell:
  14802. description: 买卖 - 0:买 1:卖
  14803. type: integer
  14804. cancellogincode:
  14805. description: 撤单人
  14806. type: string
  14807. channelbuildtype:
  14808. description: 开平标志 - 0:无 1:建仓 2:平仓
  14809. type: integer
  14810. channelinnerorderstatus:
  14811. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14812. 9:全部成交
  14813. type: integer
  14814. channeloperatetype:
  14815. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14816. type: integer
  14817. closetype:
  14818. description: 平仓方式 - 0:无 1:平今 2:平昨
  14819. type: integer
  14820. curexchangerate:
  14821. description: 当前汇率
  14822. type: number
  14823. decimalplace:
  14824. description: 商品报价小数位
  14825. type: integer
  14826. exchangefullname:
  14827. description: 外部交易所全称
  14828. type: string
  14829. goodscode:
  14830. description: 商品代码(内部)
  14831. type: string
  14832. goodsid:
  14833. description: 商品ID
  14834. type: integer
  14835. goodsname:
  14836. description: 商品名称
  14837. type: string
  14838. marketid:
  14839. description: 市场ID
  14840. type: integer
  14841. openfreezemargin:
  14842. description: 冻结保证金(冻结交易金额)
  14843. type: number
  14844. orderid:
  14845. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14846. type: string
  14847. orderlogincode:
  14848. description: 委托人
  14849. type: string
  14850. orderprice:
  14851. description: 委托价格(账户)
  14852. type: number
  14853. orderqty:
  14854. description: 委托数量
  14855. type: integer
  14856. ordertime:
  14857. description: 委托时间
  14858. type: string
  14859. pricemode:
  14860. description: '取价方式 - 1:市价 2: 限价'
  14861. type: integer
  14862. tradedate:
  14863. description: 交易日(yyyyMMdd)
  14864. type: string
  14865. tradeqty:
  14866. description: 成交数量
  14867. type: integer
  14868. type: object
  14869. models.QueryHedgeTradeDetailRsp:
  14870. properties:
  14871. accountid:
  14872. description: 账号ID
  14873. type: integer
  14874. buyorsell:
  14875. description: 方向 - 0:买 1:卖
  14876. type: integer
  14877. channelbuildtype:
  14878. description: 委托单据类型 0:无 1:建仓 2:平仓
  14879. type: integer
  14880. closecharge:
  14881. description: 平仓手续费(账户)
  14882. type: number
  14883. closecharge2:
  14884. description: 平仓手续费(商品)
  14885. type: number
  14886. closepl:
  14887. description: 平仓盈亏(账户)
  14888. type: number
  14889. closepl2:
  14890. description: 平仓盈亏(商品)
  14891. type: number
  14892. closepl3:
  14893. description: 平仓盈亏(账户)(逐笔)
  14894. type: number
  14895. closepl4:
  14896. description: 平仓盈亏(商品)(逐笔)
  14897. type: number
  14898. closetype:
  14899. description: 平仓方式 - 0:无 1:平今 2:平昨
  14900. type: integer
  14901. curexchangerate:
  14902. description: 当前汇率
  14903. type: number
  14904. decimalplace:
  14905. description: 商品报价小数位
  14906. type: integer
  14907. exchangefullname:
  14908. description: 外部交易所全称
  14909. type: string
  14910. goodscode:
  14911. description: 商品代码(内部)
  14912. type: string
  14913. goodsid:
  14914. description: 商品ID
  14915. type: integer
  14916. goodsname:
  14917. description: 商品名称
  14918. type: string
  14919. marketid:
  14920. description: 市场ID
  14921. type: integer
  14922. opencharge:
  14923. description: 建仓手续费(账户)
  14924. type: number
  14925. opencharge2:
  14926. description: 建仓手续费(商品)
  14927. type: number
  14928. orderid:
  14929. description: 委托单号
  14930. type: string
  14931. orderlogincode:
  14932. description: 委托人
  14933. type: string
  14934. tradeamount:
  14935. description: 成交金额(账户)
  14936. type: number
  14937. tradedate:
  14938. description: 交易日(yyyyMMdd)
  14939. type: string
  14940. tradeid:
  14941. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14942. type: string
  14943. tradeprice:
  14944. description: 成交价格
  14945. type: number
  14946. tradeqty:
  14947. description: 成交数量
  14948. type: integer
  14949. tradetime:
  14950. description: 成交时间
  14951. type: string
  14952. tradetype:
  14953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14954. type: integer
  14955. type: object
  14956. models.QuotePrimaryMenu:
  14957. properties:
  14958. Index:
  14959. description: 序号
  14960. type: integer
  14961. Key:
  14962. description: 键名
  14963. type: string
  14964. Name:
  14965. description: 菜单名称
  14966. type: string
  14967. SubMenus:
  14968. description: 子菜单
  14969. items:
  14970. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14971. type: array
  14972. SubTitleType:
  14973. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14974. type: integer
  14975. TradeModes:
  14976. description: 包含市场交易类型
  14977. type: string
  14978. type: object
  14979. models.QuoteSecondaryMenu:
  14980. properties:
  14981. ExExchangeCode:
  14982. description: 外部交易所代码
  14983. type: string
  14984. ExExchangeID:
  14985. description: 外部交易所ID
  14986. type: integer
  14987. GoodsGroupIDs:
  14988. description: 商品组ID列表
  14989. items:
  14990. type: integer
  14991. type: array
  14992. Index:
  14993. description: 序号
  14994. type: integer
  14995. MarketID:
  14996. description: 市场ID
  14997. type: integer
  14998. MenuTitle:
  14999. description: 菜单标题(市场名称或外部交易所名称)
  15000. type: string
  15001. TradeMode:
  15002. description: 交易模式
  15003. type: integer
  15004. type: object
  15005. models.RelatedTaAccount:
  15006. properties:
  15007. accountid:
  15008. description: 资金账户ID
  15009. type: integer
  15010. type: object
  15011. models.RoleMenu:
  15012. properties:
  15013. hasright:
  15014. description: 是否有权限 0-没有权限 1-有权限
  15015. type: integer
  15016. iconame:
  15017. description: 菜单图标
  15018. type: string
  15019. menutype:
  15020. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15021. type: integer
  15022. parentcode:
  15023. description: 上级资源代码
  15024. type: string
  15025. remark:
  15026. description: 菜单备注
  15027. type: string
  15028. resourcecode:
  15029. description: 菜单代码
  15030. type: string
  15031. resourcelevel:
  15032. description: 级别
  15033. type: integer
  15034. resourcename:
  15035. description: 菜单名称
  15036. type: string
  15037. roleid:
  15038. description: 角色id
  15039. type: integer
  15040. sort:
  15041. description: 排序
  15042. type: integer
  15043. subMenu:
  15044. description: 子级菜单(结构同上层一样, swag解析不出来)
  15045. items:
  15046. $ref: '#/definitions/models.RoleMenu'
  15047. type: array
  15048. url:
  15049. description: URL
  15050. type: string
  15051. userid:
  15052. description: 用户id
  15053. type: integer
  15054. type: object
  15055. models.SearchGoods:
  15056. properties:
  15057. goodscode:
  15058. description: 商品代码(内部)
  15059. type: string
  15060. goodsid:
  15061. description: 商品ID(自增ID SEQ_GOODS)
  15062. type: integer
  15063. goodsname:
  15064. description: 商品名称
  15065. type: string
  15066. marketid:
  15067. description: 所属市场ID
  15068. type: integer
  15069. marketname:
  15070. description: 市场名称
  15071. type: string
  15072. trademode:
  15073. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15074. 21:竞拍-大宗式 22:受托竞价
  15075. type: integer
  15076. required:
  15077. - goodscode
  15078. - goodsid
  15079. - goodsname
  15080. - marketid
  15081. - trademode
  15082. type: object
  15083. models.Systemparam:
  15084. properties:
  15085. loginid:
  15086. description: 更新用户账号,登录账号
  15087. type: string
  15088. modifyflag:
  15089. description: 修改标志0 不允许修改 1 允许修改
  15090. type: integer
  15091. paramcode:
  15092. description: 参数代码
  15093. type: string
  15094. paramname:
  15095. description: 参数名
  15096. type: string
  15097. paramtype:
  15098. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15099. type: integer
  15100. paramvalue:
  15101. description: 参数值
  15102. type: string
  15103. paramvalue2:
  15104. description: 参数值(CLOB)
  15105. type: string
  15106. regexpress:
  15107. description: 正则表达式
  15108. type: string
  15109. remark:
  15110. description: 备注
  15111. type: string
  15112. serverip:
  15113. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15114. type: string
  15115. showflag:
  15116. description: 是否显示0 不显示 1 显示
  15117. type: integer
  15118. updatetime:
  15119. description: 更新时间
  15120. type: string
  15121. userid:
  15122. description: 更新用户ID
  15123. type: integer
  15124. required:
  15125. - paramcode
  15126. type: object
  15127. models.Szdz3convertconfig:
  15128. properties:
  15129. canin:
  15130. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15131. type: integer
  15132. canout:
  15133. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15134. type: integer
  15135. converttype:
  15136. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15137. 6:交易转花生米(不设置)
  15138. type: integer
  15139. createtime:
  15140. description: 创建时间
  15141. type: string
  15142. creatorid:
  15143. description: 创建人
  15144. type: integer
  15145. daymaxvalue:
  15146. description: 当日最大转入限制
  15147. type: number
  15148. freezedays:
  15149. description: 冻结天数 [5:花生米转交易]
  15150. type: integer
  15151. innergoodsid:
  15152. description: 内部商品ID[交易]
  15153. type: integer
  15154. inratio:
  15155. description: 目标值
  15156. type: integer
  15157. modifierid:
  15158. description: 修改人
  15159. type: integer
  15160. modifytime:
  15161. description: 修改时间
  15162. type: string
  15163. outergoodscode:
  15164. description: 外部商品代码[JD\PD]
  15165. type: string
  15166. outratio:
  15167. description: 源值
  15168. type: integer
  15169. pddecimalplace:
  15170. description: PD小数位
  15171. type: integer
  15172. timemaxvalue:
  15173. description: 单次最大转入限制
  15174. type: number
  15175. timeminvalue:
  15176. description: 单次最小转入限制
  15177. type: number
  15178. required:
  15179. - converttype
  15180. - innergoodsid
  15181. - outergoodscode
  15182. type: object
  15183. models.Szdz3searchwhitelist:
  15184. properties:
  15185. createtime:
  15186. description: 创建时间
  15187. type: string
  15188. creatorid:
  15189. description: 创建人
  15190. type: integer
  15191. modifierid:
  15192. description: 修改人
  15193. type: integer
  15194. modifytime:
  15195. description: 修改时间
  15196. type: string
  15197. userid:
  15198. description: 用户ID
  15199. type: integer
  15200. required:
  15201. - userid
  15202. type: object
  15203. models.TBGoods:
  15204. properties:
  15205. agreeunit:
  15206. description: 合约乘数
  15207. type: number
  15208. enumdicname:
  15209. description: 单位名称
  15210. type: string
  15211. goodscode:
  15212. description: 商品代码(内部)
  15213. type: string
  15214. goodsid:
  15215. description: 商品ID(自增ID SEQ_GOODS)
  15216. type: integer
  15217. goodsname:
  15218. description: 商品名称
  15219. type: string
  15220. type: object
  15221. models.TBGoodsGroup:
  15222. properties:
  15223. GDLST:
  15224. description: 商品列表
  15225. items:
  15226. $ref: '#/definitions/models.TBGoods'
  15227. type: array
  15228. convertratio:
  15229. description: 折算系数
  15230. type: number
  15231. enumdicname:
  15232. description: 单位名称
  15233. type: string
  15234. exexchangecode:
  15235. description: 交易所代码
  15236. type: string
  15237. exexchangename:
  15238. description: 交易所名称
  15239. type: string
  15240. goodsgroupid:
  15241. description: 商品组ID(自增ID)
  15242. type: integer
  15243. goodsgroupname:
  15244. description: 商品组名称
  15245. type: string
  15246. goodunitid:
  15247. description: 报价单位ID
  15248. type: integer
  15249. type: object
  15250. models.TBMiddleGoods:
  15251. properties:
  15252. GPLST:
  15253. description: 期货品种列表
  15254. items:
  15255. $ref: '#/definitions/models.TBGoodsGroup'
  15256. type: array
  15257. WDLST:
  15258. description: 商品信息列表(现货品类)
  15259. items:
  15260. $ref: '#/definitions/models.TBWrstandard'
  15261. type: array
  15262. areauserid:
  15263. description: 机构用户ID
  15264. type: integer
  15265. enumdicname:
  15266. description: 单位名称
  15267. type: string
  15268. goodsunitid:
  15269. description: 套保品种单位id
  15270. type: integer
  15271. middlegoodscode:
  15272. description: 套保品种代码
  15273. type: string
  15274. middlegoodsid:
  15275. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15276. type: integer
  15277. middlegoodsname:
  15278. description: 套保品种名称
  15279. type: string
  15280. needarbitrageratio:
  15281. description: 套利比率
  15282. type: number
  15283. needhedgeratio:
  15284. description: 套保比率
  15285. type: number
  15286. type: object
  15287. models.TBWrstandard:
  15288. properties:
  15289. convertratio:
  15290. description: 折算系数
  15291. type: number
  15292. deliverygoodsname:
  15293. description: 品种名称
  15294. type: string
  15295. enumdicname:
  15296. description: 单位名称
  15297. type: string
  15298. vatrate:
  15299. description: 增值税率
  15300. type: number
  15301. wrstandardcode:
  15302. description: 现货商品代码
  15303. type: string
  15304. wrstandardid:
  15305. description: 现货商品ID(SEQ_WRSTANDARD)
  15306. type: integer
  15307. wrstandardname:
  15308. description: 现货商品名称
  15309. type: string
  15310. type: object
  15311. models.Taaccount:
  15312. properties:
  15313. accountflag:
  15314. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15315. type: integer
  15316. accountid:
  15317. description: 资金账户ID
  15318. type: integer
  15319. accountname:
  15320. description: 账户名称
  15321. type: string
  15322. balance:
  15323. description: 期初余额
  15324. type: number
  15325. capitalbalance:
  15326. description: 本金余额[外部子账户实际出入金余额]
  15327. type: number
  15328. changeflag:
  15329. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15330. type: integer
  15331. changetime:
  15332. description: 账户状态变更时间
  15333. type: string
  15334. closepl:
  15335. description: 今日平仓盈亏
  15336. type: number
  15337. creditdecrease:
  15338. description: 今日授信减少
  15339. type: number
  15340. creditincrease:
  15341. description: 今日授信增加
  15342. type: number
  15343. curamount:
  15344. description: 总市值(从持仓中统计)
  15345. type: number
  15346. currencyid:
  15347. description: 货币ID
  15348. type: integer
  15349. currentbalance:
  15350. description: 期末余额
  15351. type: number
  15352. freezecharge:
  15353. description: 手续费冻结
  15354. type: number
  15355. freezemargin:
  15356. description: 冻结保证金
  15357. type: number
  15358. fromaccountid:
  15359. description: 所属上级账户
  15360. type: integer
  15361. inamount:
  15362. description: 今日入金金额(包括三方入金)
  15363. type: number
  15364. ismain:
  15365. description: 是否母账号 0:不是母账户 1:是母账户
  15366. type: integer
  15367. ismarketaccount:
  15368. description: 是否机构接单账号 0:不是 1:是
  15369. type: integer
  15370. isreckonaccount:
  15371. description: 是否机构分润账号 0:不是 1:是
  15372. type: integer
  15373. mortgagecredit:
  15374. description: 授信金额
  15375. type: number
  15376. orifreezecharge:
  15377. description: 期初手续费冻结
  15378. type: number
  15379. orifreezemargin:
  15380. description: 期初冻结保证金
  15381. type: number
  15382. orimortgagecredit:
  15383. description: 期初授信金额
  15384. type: number
  15385. oriothercredit:
  15386. description: 期初其它授信金额
  15387. type: number
  15388. oriotherfreezemargin:
  15389. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15390. type: number
  15391. orioutamountfreeze:
  15392. description: 期初出金冻结
  15393. type: number
  15394. oriusedmargin:
  15395. description: 期初占用保证金
  15396. type: number
  15397. othercredit:
  15398. description: 其它授信金额
  15399. type: number
  15400. othercreditdecrease:
  15401. description: 今日其它授信减少
  15402. type: number
  15403. othercreditincrease:
  15404. description: 今日其它授信增加
  15405. type: number
  15406. otherfreezemargin:
  15407. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15408. type: number
  15409. otherincome:
  15410. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15411. type: number
  15412. otherpay:
  15413. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15414. type: number
  15415. outamount:
  15416. description: 今日出金金额(包括三方出金)
  15417. type: number
  15418. outamountfreeze:
  15419. description: 出金冻结
  15420. type: number
  15421. outthreshold:
  15422. description: 出金阈值
  15423. type: number
  15424. parentaccountid:
  15425. description: 所属根账号
  15426. type: integer
  15427. paycharge:
  15428. description: 今日手续费支出
  15429. type: number
  15430. relatedaccountstatus:
  15431. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15432. type: integer
  15433. relateduserid:
  15434. description: 关联用户
  15435. type: integer
  15436. remainamount:
  15437. description: 融资额(从融资合同中统计)
  15438. type: number
  15439. serivcegroup:
  15440. description: 服务分组
  15441. type: integer
  15442. signstatus:
  15443. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15444. type: integer
  15445. sublevelpath:
  15446. description: 账号层级路径(逗号分隔,首尾加逗号)
  15447. type: string
  15448. taaccounttype:
  15449. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15450. type: integer
  15451. thirdinamount:
  15452. description: 今日三方入金
  15453. type: number
  15454. thirdoutamount:
  15455. description: 今日三方出金
  15456. type: number
  15457. tradestatus:
  15458. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15459. type: integer
  15460. tradestatuschangetime:
  15461. description: 激活时间
  15462. type: string
  15463. transferamount:
  15464. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15465. type: number
  15466. usedmargin:
  15467. description: 占用保证金
  15468. type: number
  15469. userid:
  15470. description: 用户ID
  15471. type: integer
  15472. required:
  15473. - accountid
  15474. - userid
  15475. type: object
  15476. models.Tablecolumnconfig:
  15477. properties:
  15478. aligntype:
  15479. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15480. type: integer
  15481. autoid:
  15482. description: AutoID
  15483. type: integer
  15484. columnfield:
  15485. description: 列字段
  15486. type: string
  15487. columntitle:
  15488. description: 列Title
  15489. type: string
  15490. columnwidth:
  15491. description: 列宽
  15492. type: string
  15493. fixed:
  15494. description: 固定类型 - 空 | left | right
  15495. type: string
  15496. formatterstring:
  15497. description: 格式化字符
  15498. type: string
  15499. formattertype:
  15500. description: 格式化类型
  15501. type: string
  15502. groupname:
  15503. description: 表头分组名称
  15504. type: string
  15505. ismerge:
  15506. description: 是否合并显示 - 0:不合并 1:合并
  15507. type: integer
  15508. isshow:
  15509. description: 是否显示 - 0:不显示 1:显示
  15510. type: integer
  15511. needsummary:
  15512. description: 是否需要汇总 - 0:不需要 1:需要
  15513. type: integer
  15514. orderindex:
  15515. description: 顺序
  15516. type: integer
  15517. remark:
  15518. description: 备注
  15519. type: string
  15520. summarytype:
  15521. description: 汇总类型 - 1:加总 2:最后一个
  15522. type: integer
  15523. tablekey:
  15524. description: 列表Key
  15525. type: string
  15526. required:
  15527. - autoid
  15528. type: object
  15529. models.TjmdHolderDetailTradeInfo:
  15530. properties:
  15531. agreeunit:
  15532. description: 合约乘数
  15533. type: number
  15534. buyaccountid:
  15535. description: 买方账户
  15536. type: string
  15537. buyusername:
  15538. description: 买方
  15539. type: string
  15540. delistingdate:
  15541. description: 最后结算日
  15542. type: string
  15543. expiredate:
  15544. description: 到期结算价定价日
  15545. type: string
  15546. exprieprice:
  15547. description: 到期清算价格
  15548. type: string
  15549. goodscode:
  15550. description: 商品代码
  15551. type: string
  15552. goodsid:
  15553. description: 商品ID
  15554. type: integer
  15555. goodsname:
  15556. description: 商品名称(交易标的)
  15557. type: string
  15558. lasttradedate:
  15559. description: 最后交易日
  15560. type: string
  15561. listingdate:
  15562. description: 开始交易日
  15563. type: string
  15564. openprice:
  15565. description: 成交价
  15566. type: number
  15567. openqty:
  15568. description: 交易数量
  15569. type: integer
  15570. sellaccountid:
  15571. description: 卖方账户
  15572. type: string
  15573. sellusername:
  15574. description: 卖方
  15575. type: string
  15576. tradeamount:
  15577. description: 初始名义价值
  15578. type: number
  15579. tradedate:
  15580. description: 成交日期
  15581. type: string
  15582. tradeid:
  15583. description: 成交编号
  15584. type: string
  15585. type: object
  15586. models.TjmdMarketSection:
  15587. properties:
  15588. marketsectionid:
  15589. description: 市场版块ID(SEQ_MARKETSECTION)
  15590. type: integer
  15591. marketsectionname:
  15592. description: 市场版块名称
  15593. type: string
  15594. mlist:
  15595. description: 市场列表(板块下面有多少个市场)
  15596. items:
  15597. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15598. type: array
  15599. orderindex:
  15600. description: 排序
  15601. type: integer
  15602. pictureurl:
  15603. description: 图片url, 规格(90*90)
  15604. type: string
  15605. remark:
  15606. description: 备注
  15607. type: string
  15608. type: object
  15609. models.TjmdMarketSectionConfig:
  15610. properties:
  15611. auctionwrtype:
  15612. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15613. type: integer
  15614. canacceptquote:
  15615. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15616. type: integer
  15617. cangoodsexercise:
  15618. description: '[期权]是否可现货行权- 0:否 1:是'
  15619. type: integer
  15620. cangoodsexercisetype:
  15621. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15622. type: integer
  15623. canmanualquotestrike:
  15624. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15625. type: integer
  15626. canmutistage:
  15627. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15628. type: integer
  15629. canpreexercise:
  15630. description: '[期权]是否可预申报- 0:否 1:是'
  15631. type: integer
  15632. clearinterval:
  15633. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15634. type: integer
  15635. contracttmp:
  15636. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15637. type: string
  15638. exchareaid:
  15639. description: 所属交易所,可以没有
  15640. type: integer
  15641. financemarketid:
  15642. description: 融资回购市场ID [仓单贸易]
  15643. type: integer
  15644. goodstype:
  15645. description: 商品类型 - 1:交易商品 2:仓单商品
  15646. type: integer
  15647. hasrebate:
  15648. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15649. type: integer
  15650. hastradecredit:
  15651. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15652. type: integer
  15653. haswr:
  15654. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15655. type: integer
  15656. isdeductmargin:
  15657. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15658. type: integer
  15659. isrecordsource:
  15660. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15661. type: integer
  15662. isreleasemargin:
  15663. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15664. type: integer
  15665. isupdatereckonprice:
  15666. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15667. type: integer
  15668. listingmode:
  15669. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15670. type: integer
  15671. marginformula:
  15672. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15673. type: integer
  15674. marginformula2:
  15675. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15676. type: integer
  15677. marketid:
  15678. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15679. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15680. type: integer
  15681. marketname:
  15682. description: 市场名称
  15683. type: string
  15684. marketsectionid:
  15685. description: 市场版块ID(SEQ_MARKETSECTION)
  15686. type: integer
  15687. marketserviceid:
  15688. description: 市场服务ID
  15689. type: integer
  15690. marketstatus:
  15691. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15692. type: integer
  15693. markettype:
  15694. description: 市场类型- 1:非交易服务 2:交易服务
  15695. type: integer
  15696. matchermode:
  15697. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15698. type: integer
  15699. nowrquotaflag:
  15700. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15701. type: integer
  15702. openmethod:
  15703. description: 开盘模式 - 0 自动 1手动
  15704. type: integer
  15705. orderindex:
  15706. description: 排序
  15707. type: integer
  15708. otcuserid:
  15709. description: 场外期权做市商[场外期权]
  15710. type: integer
  15711. outersynctime:
  15712. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15713. type: string
  15714. paylaterflag:
  15715. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15716. type: integer
  15717. pendingflag:
  15718. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15719. type: integer
  15720. pendingtime:
  15721. description: 待开市时间[通道交易-对冲](HH:mm)
  15722. type: string
  15723. performancetempid:
  15724. description: 履约计划模板ID - 作废
  15725. type: integer
  15726. premiumquotemode:
  15727. description: 权利金报价方式 - 1:自动 2:手动
  15728. type: integer
  15729. rebateratio:
  15730. description: 返利比率[竞价式]
  15731. type: number
  15732. reckonorder:
  15733. description: 结算顺序
  15734. type: integer
  15735. reckonpricealgorithm:
  15736. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15737. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15738. type: integer
  15739. reckonpriceparam:
  15740. description: 结算价参数
  15741. type: integer
  15742. reckontime:
  15743. description: 结算时间[通道交易-对冲](HH:mm)
  15744. type: string
  15745. roleprioritytype:
  15746. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15747. type: integer
  15748. selllistingauditflag:
  15749. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15750. type: integer
  15751. trademarkettype:
  15752. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15753. type: integer
  15754. trademode:
  15755. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15756. 21:竞拍-大宗式 22:受托竞价
  15757. type: integer
  15758. tradeproperty:
  15759. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15760. 8:场外期权
  15761. type: integer
  15762. tradetype:
  15763. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15764. type: integer
  15765. updatereckonpriceinterval:
  15766. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15767. type: integer
  15768. type: object
  15769. models.TjmdQuoteGoods:
  15770. properties:
  15771. buyqty:
  15772. description: 买量(暂不做, 无值, 保留字段)
  15773. type: number
  15774. decimalplace:
  15775. description: 报价小数位
  15776. type: integer
  15777. goodscode:
  15778. description: 合约代码
  15779. type: string
  15780. goodsgroupid:
  15781. description: 商品组ID(自增ID)
  15782. type: integer
  15783. goodsgroupname:
  15784. description: 商品组名称
  15785. type: string
  15786. goodsid:
  15787. description: 合约id
  15788. type: integer
  15789. goodsname:
  15790. description: 合约名称
  15791. type: string
  15792. refgoodscode:
  15793. description: 标的合约代码
  15794. type: string
  15795. refgoodsid:
  15796. description: 标的合约id
  15797. type: integer
  15798. refgoodsname:
  15799. description: 标的合约名称
  15800. type: string
  15801. sellqty:
  15802. description: 卖量(暂不做, 无值, 保留字段)
  15803. type: number
  15804. type: object
  15805. models.TjmdTodayAccountMargin:
  15806. properties:
  15807. accountid:
  15808. description: 账号ID
  15809. type: integer
  15810. goodsid:
  15811. description: 商品ID
  15812. type: integer
  15813. infoc:
  15814. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15815. description: 配置参数
  15816. marketid:
  15817. description: 市场ID
  15818. type: integer
  15819. type: object
  15820. models.TjmdTradeOrderDetail:
  15821. properties:
  15822. buyorsell:
  15823. description: 买卖方向 0-买 1-卖
  15824. type: integer
  15825. goodsid:
  15826. description: 商品id
  15827. type: integer
  15828. marketmaxsub:
  15829. description: 市价最大偏移范围 [浮动价 - 点差]
  15830. type: number
  15831. orderid:
  15832. description: 委托单号
  15833. type: string
  15834. orderprice:
  15835. description: 委托价格
  15836. type: number
  15837. orderqty:
  15838. description: 委托数量
  15839. type: integer
  15840. pricemode:
  15841. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15842. type: integer
  15843. userid:
  15844. description: 用户id
  15845. type: integer
  15846. username:
  15847. description: 用户名称(已脱敏)
  15848. type: string
  15849. type: object
  15850. models.TjmdTransferApply:
  15851. properties:
  15852. applyid:
  15853. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15854. type: integer
  15855. applystatus:
  15856. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15857. type: integer
  15858. applytime:
  15859. description: 申请时间(时间)
  15860. type: string
  15861. auditremark:
  15862. description: 审核备注(拒绝原因?)
  15863. type: string
  15864. begindate:
  15865. description: 开始交易日(yyyymmdd)
  15866. type: string
  15867. buyorsell:
  15868. description: 买卖 - 0:买 1:卖
  15869. type: integer
  15870. enddate:
  15871. description: 结束交易日(yyyymmdd)
  15872. type: string
  15873. goodscode:
  15874. description: 商品代码
  15875. type: string
  15876. goodsid:
  15877. description: 商品ID
  15878. type: integer
  15879. goodsname:
  15880. description: 商品名称
  15881. type: string
  15882. marketid:
  15883. description: 市场ID
  15884. type: integer
  15885. qty:
  15886. description: 转让数量(数量)
  15887. type: number
  15888. tradeid:
  15889. description: 成交单号(关联持仓)
  15890. type: string
  15891. transferamount:
  15892. description: 转让总金额(金额)
  15893. type: number
  15894. transferprice:
  15895. description: 转让价格(协议价格)
  15896. type: number
  15897. type: object
  15898. models.TradeHolderDetail:
  15899. properties:
  15900. accountid:
  15901. description: 账号ID
  15902. type: integer
  15903. agreeunit:
  15904. description: 合约乘数
  15905. type: number
  15906. buyorsell:
  15907. description: 方向 - 0:买 1:卖
  15908. type: integer
  15909. currencyid:
  15910. description: 商品币种id
  15911. type: integer
  15912. currencyname:
  15913. description: 币种名称
  15914. type: string
  15915. decimalplace:
  15916. description: 商品价格小数位
  15917. type: integer
  15918. enumdicname:
  15919. description: 商品单位名称
  15920. type: string
  15921. expirecycle:
  15922. description: 行权周期(天) - 1:滚动行权时填写
  15923. type: integer
  15924. expiredate:
  15925. description: 行权日(yyyyMMdd) - 到期日
  15926. type: string
  15927. expiretype:
  15928. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15929. type: integer
  15930. freezeqty:
  15931. description: 冻结数量
  15932. type: number
  15933. goodscode:
  15934. description: 商品代码
  15935. type: string
  15936. goodsid:
  15937. description: 商品ID
  15938. type: integer
  15939. goodsname:
  15940. description: 商品名称
  15941. type: string
  15942. goodunitid:
  15943. description: 商品单位id
  15944. type: integer
  15945. holderamount:
  15946. description: 持仓金额
  15947. type: number
  15948. holdercredit:
  15949. description: 持仓授信金额
  15950. type: number
  15951. holderdays:
  15952. description: 剩余冻结天数
  15953. type: integer
  15954. holderprice:
  15955. description: 持仓价格
  15956. type: number
  15957. holderqty:
  15958. description: 持仓数量
  15959. type: number
  15960. isconfirmexercise:
  15961. description: 是否确认行权- 0:否 1:是
  15962. type: integer
  15963. ispreexercise:
  15964. description: 是否预申报- 0:否 1:是 2:不可行权
  15965. type: integer
  15966. marketid:
  15967. description: 市场id
  15968. type: integer
  15969. marketname:
  15970. description: 市场名称
  15971. type: string
  15972. openprice:
  15973. description: 建仓价格
  15974. type: number
  15975. openqty:
  15976. description: 建仓数量
  15977. type: number
  15978. optiontype:
  15979. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15980. type: integer
  15981. preexerciseprice:
  15982. description: 预申报价格
  15983. type: number
  15984. premium:
  15985. description: 权利金
  15986. type: number
  15987. qtydecimalplace:
  15988. description: 商品成交量小数位
  15989. type: integer
  15990. refgoodscode:
  15991. description: 标的合约代码
  15992. type: string
  15993. refgoodsid:
  15994. description: 标的合约id
  15995. type: integer
  15996. releaseamount:
  15997. description: 释放持仓金额
  15998. type: number
  15999. releaseholdercredit:
  16000. description: 释放持仓授信金额
  16001. type: number
  16002. taname:
  16003. description: 资金账号名称
  16004. type: string
  16005. tradeamount:
  16006. description: 成交金额
  16007. type: number
  16008. tradedate:
  16009. description: 交易日(yyyyMMdd)
  16010. type: string
  16011. tradeid:
  16012. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16013. type: string
  16014. trademode:
  16015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16016. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16017. type: integer
  16018. tradeproperty:
  16019. description: 交易属性
  16020. type: integer
  16021. tradetime:
  16022. description: 交易时间
  16023. type: string
  16024. userid:
  16025. description: 用户id
  16026. type: integer
  16027. username:
  16028. description: 用户名称
  16029. type: string
  16030. type: object
  16031. models.Unlinkermcphedgeplan:
  16032. properties:
  16033. accountid:
  16034. description: 期货账户ID - 作废
  16035. type: integer
  16036. accountname:
  16037. description: 交易用户
  16038. type: string
  16039. applyid:
  16040. description: 申请人
  16041. type: integer
  16042. applysrc:
  16043. description: 申请来源 - 1:管理端 2:终端
  16044. type: integer
  16045. applytime:
  16046. description: 申请时间
  16047. type: string
  16048. areauserid:
  16049. description: '[企业ID]机构ID'
  16050. type: integer
  16051. auditid:
  16052. description: 审核人
  16053. type: integer
  16054. auditremark:
  16055. description: 审核备注
  16056. type: string
  16057. auditsrc:
  16058. description: 审核来源 - 1:管理端 2:终端
  16059. type: integer
  16060. audittime:
  16061. description: 审核时间
  16062. type: string
  16063. audittradedate:
  16064. description: 审核交易日(yyyyMMdd)
  16065. type: string
  16066. biztype:
  16067. description: 业务类型 - 1:套保
  16068. type: integer
  16069. contracttype:
  16070. description: 计划类型 - 1:采购 -1:销售
  16071. type: integer
  16072. convertfactor:
  16073. description: 标仓系数 - 作废
  16074. type: number
  16075. createtime:
  16076. description: 创建时间
  16077. type: string
  16078. currencyid:
  16079. description: 结算币种ID - 作废
  16080. type: integer
  16081. deliverygoodsid:
  16082. description: 现货品种ID
  16083. type: integer
  16084. enumdicname:
  16085. description: 结算币种
  16086. type: string
  16087. hedgeplanid:
  16088. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16089. type: string
  16090. hedgeplanno:
  16091. description: '[计划编号]套保计划编号,模糊查询'
  16092. type: string
  16093. hedgeplanstatus:
  16094. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16095. type: integer
  16096. isrelated:
  16097. description: 是否已关联计划项目 - 0:否 1:是
  16098. type: integer
  16099. planqty:
  16100. description: '[计划量]计划数量'
  16101. type: number
  16102. plantime:
  16103. description: 计划时间
  16104. type: string
  16105. producttype:
  16106. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16107. type: integer
  16108. remark:
  16109. description: 备注
  16110. type: string
  16111. spotgoodsdesc:
  16112. description: 商品型号
  16113. type: string
  16114. tradedate:
  16115. description: 交易日(yyyyMMdd)
  16116. type: string
  16117. tradeuserid:
  16118. description: 交易用户ID
  16119. type: integer
  16120. updatetime:
  16121. description: 更新时间
  16122. type: string
  16123. wrstandardid:
  16124. description: 现货商品ID
  16125. type: integer
  16126. wrstandardname:
  16127. description: 现货商品,模糊查询
  16128. type: string
  16129. required:
  16130. - areauserid
  16131. type: object
  16132. models.UserCollectConfig:
  16133. properties:
  16134. accountstatus:
  16135. description: 账户状态 - 1:正常 2:停用 3:注销
  16136. type: integer
  16137. collectaccountname:
  16138. description: 收款人账户名称
  16139. type: string
  16140. collectaccountno:
  16141. description: 收款人账户
  16142. type: string
  16143. collectbankname:
  16144. description: 收款人开户行
  16145. type: string
  16146. collectbranchbankname:
  16147. description: 收款人开户支行
  16148. type: string
  16149. collectconfigid:
  16150. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16151. type: string
  16152. remark:
  16153. description: 备注
  16154. type: string
  16155. userid:
  16156. description: 收款人用户ID
  16157. type: integer
  16158. type: object
  16159. models.UserReceiveInfo:
  16160. properties:
  16161. address:
  16162. description: 提货人详细地址
  16163. type: string
  16164. autoid:
  16165. description: AutoID
  16166. type: integer
  16167. cardnum:
  16168. description: 证件号码(加密存储)
  16169. type: string
  16170. cardtypeid:
  16171. description: 证件类型
  16172. type: integer
  16173. cityid:
  16174. description: 市
  16175. type: integer
  16176. cityname:
  16177. description: 城市名称
  16178. type: string
  16179. countryid:
  16180. description: 国家
  16181. type: integer
  16182. countryname:
  16183. description: 国家名称
  16184. type: string
  16185. districtid:
  16186. description: 地区
  16187. type: integer
  16188. districtname:
  16189. description: 地区名称
  16190. type: string
  16191. hasencrypt:
  16192. description: 数据是否已加密 - 0:未加密 1:已加密
  16193. type: integer
  16194. isdefault:
  16195. description: 是否默认地址 - 0:否 1:是
  16196. type: integer
  16197. phonenum:
  16198. description: 提货人联系方式(加密存储)
  16199. type: string
  16200. provinceid:
  16201. description: 省
  16202. type: integer
  16203. provincename:
  16204. description: 省名称
  16205. type: string
  16206. receivername:
  16207. description: 提货人姓名
  16208. type: string
  16209. takeremark:
  16210. description: 提货备注
  16211. type: string
  16212. userid:
  16213. description: 用户ID
  16214. type: integer
  16215. type: object
  16216. models.Useraccount:
  16217. properties:
  16218. accountname:
  16219. description: 账户名称(机构名称)
  16220. type: string
  16221. accountstatus:
  16222. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16223. type: integer
  16224. applysrc:
  16225. description: 申请来源 - 1:管理端 2:终端
  16226. type: integer
  16227. auditremark:
  16228. description: 审核备注
  16229. type: string
  16230. auditsrc:
  16231. description: 审核来源 - 1:管理端 2:终端
  16232. type: integer
  16233. audittime:
  16234. description: 审核时间
  16235. type: string
  16236. audituserid:
  16237. description: 审核人
  16238. type: integer
  16239. broker:
  16240. description: 所属经纪人ID
  16241. type: integer
  16242. canceltime:
  16243. description: 销户时间
  16244. type: string
  16245. canceluserid:
  16246. description: 销户人
  16247. type: integer
  16248. canrecommend:
  16249. description: 是否可推荐 - 0:不可 1;可
  16250. type: integer
  16251. createtime:
  16252. description: 创建时间
  16253. type: string
  16254. creatorid:
  16255. description: 创建人
  16256. type: integer
  16257. hasauth:
  16258. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16259. type: integer
  16260. isanonymous:
  16261. description: 是否匿名下单 - 0:否 1:是
  16262. type: integer
  16263. maxinvestornum:
  16264. description: 最大用户数(经纪会员下投资者个数)
  16265. type: integer
  16266. memberuserid:
  16267. description: 所属会员ID
  16268. type: integer
  16269. modifierid:
  16270. description: 修改人
  16271. type: integer
  16272. modifyremark:
  16273. description: 变更备注
  16274. type: string
  16275. modifystatus:
  16276. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16277. type: integer
  16278. modifytime:
  16279. description: 修改时间
  16280. type: string
  16281. parenttopuser:
  16282. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16283. type: string
  16284. parentuserid:
  16285. description: 所属机构ID
  16286. type: integer
  16287. reckonaccountid:
  16288. description: 默认结算资金账号ID(机构分润使用) 作废
  16289. type: integer
  16290. refercount:
  16291. description: 推荐总人数
  16292. type: integer
  16293. refereeuserid:
  16294. description: 推荐人ID
  16295. type: integer
  16296. refernum:
  16297. description: 推荐码
  16298. type: string
  16299. rootuserid:
  16300. description: 根用户ID
  16301. type: integer
  16302. subaccountlevel:
  16303. description: 子账户层数
  16304. type: integer
  16305. subarealevelpath:
  16306. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16307. type: string
  16308. userid:
  16309. description: 用户ID
  16310. type: integer
  16311. usertype:
  16312. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16313. type: integer
  16314. required:
  16315. - userid
  16316. type: object
  16317. models.Userfavoritegoods:
  16318. properties:
  16319. goodsid:
  16320. description: 商品ID
  16321. type: integer
  16322. required:
  16323. - goodsid
  16324. type: object
  16325. models.Userinfo:
  16326. properties:
  16327. address:
  16328. description: 地址
  16329. type: string
  16330. attachment1:
  16331. description: 附件1
  16332. type: string
  16333. attachment2:
  16334. description: 附件2
  16335. type: string
  16336. bankaccount:
  16337. description: 银行帐号 (加密存储)
  16338. type: string
  16339. bankaccountname:
  16340. description: 收款人名称
  16341. type: string
  16342. bankcardfrontphotourl:
  16343. description: 银行卡正面照地址
  16344. type: string
  16345. bankid:
  16346. description: 银行编码
  16347. type: string
  16348. bankname:
  16349. description: 银行名称
  16350. type: string
  16351. biznature:
  16352. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16353. type: integer
  16354. bizscope:
  16355. description: 企业经营范围(企业)
  16356. type: string
  16357. cardbackphotourl:
  16358. description: 证件背面图片地址
  16359. type: string
  16360. cardfrontphotourl:
  16361. description: 证件正面图片地址
  16362. type: string
  16363. cardnum:
  16364. description: 证件号码(加密存储)
  16365. type: string
  16366. cardtypeid:
  16367. description: 证件类型ID
  16368. type: integer
  16369. cityid:
  16370. description: 市
  16371. type: integer
  16372. company:
  16373. description: 公司(个人)
  16374. type: string
  16375. contactname:
  16376. description: 联系人
  16377. type: string
  16378. countryid:
  16379. description: 国家
  16380. type: integer
  16381. createtime:
  16382. description: 创建时间
  16383. type: string
  16384. creatorid:
  16385. description: 创建人
  16386. type: integer
  16387. customername:
  16388. description: 客户名称(企业名称)
  16389. type: string
  16390. districtid:
  16391. description: 地区
  16392. type: integer
  16393. email:
  16394. description: 邮件(加密存储)
  16395. type: string
  16396. fax:
  16397. description: 传真(加密存储)
  16398. type: string
  16399. halfbodyphotourl:
  16400. description: 半身照地址
  16401. type: string
  16402. hasencrypt:
  16403. description: 数据是否已加密 - 0:未加密 1:已加密
  16404. type: integer
  16405. headurl:
  16406. description: 头像地址
  16407. type: string
  16408. legalcardbackphotourl:
  16409. description: 法人身份证背面照地址
  16410. type: string
  16411. legalcardfrontphotourl:
  16412. description: 法人身份证正面照地址
  16413. type: string
  16414. legalpersonname:
  16415. description: 法人姓名(企业)
  16416. type: string
  16417. mobile:
  16418. description: 手机号码(加密存储)
  16419. type: string
  16420. mobile2:
  16421. description: 手机号码[明文-尚志]
  16422. type: string
  16423. modifierid:
  16424. description: 修改人
  16425. type: integer
  16426. modifiertime:
  16427. description: 修改时间
  16428. type: string
  16429. needinvoice:
  16430. description: 是否需要发票 - 0:不需要 1:需要
  16431. type: integer
  16432. nickname:
  16433. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16434. type: string
  16435. openmode:
  16436. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16437. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16438. type: integer
  16439. otherurl:
  16440. description: 其它图片地址[使用分号分隔]
  16441. type: string
  16442. postalcode:
  16443. description: 邮政编码
  16444. type: string
  16445. provinceid:
  16446. description: 省
  16447. type: integer
  16448. qq:
  16449. description: QQ(加密存储
  16450. type: string
  16451. remark:
  16452. description: 备注
  16453. type: string
  16454. sex:
  16455. description: '用户性别 0: 女 1: 男'
  16456. type: integer
  16457. signpdfurl:
  16458. description: 签约pdf文件
  16459. type: string
  16460. telphone:
  16461. description: 联系电话(加密存储)
  16462. type: string
  16463. userid:
  16464. description: 用户ID
  16465. type: integer
  16466. userinfotype:
  16467. description: 用户信息类型 - 1:个人 2:企业
  16468. type: integer
  16469. userstatus:
  16470. description: 用户状态 - 1:正常 2:注销
  16471. type: integer
  16472. usertype:
  16473. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16474. type: integer
  16475. wechat:
  16476. description: 微信(加密存储)
  16477. type: string
  16478. wskhinfo:
  16479. description: 开户申请信息(JSON)
  16480. type: string
  16481. required:
  16482. - userid
  16483. type: object
  16484. models.WRSConverTDetail:
  16485. properties:
  16486. convertratio:
  16487. description: 套保系数
  16488. type: number
  16489. deliverygoodscode:
  16490. description: 现货商品代码
  16491. type: string
  16492. deliverygoodsid:
  16493. description: 现货品种ID
  16494. type: integer
  16495. deliverygoodsname:
  16496. description: 现货商品名称
  16497. type: string
  16498. enumdicname:
  16499. description: 单位名称
  16500. type: string
  16501. goodsunitid:
  16502. description: 套保品种单位id
  16503. type: integer
  16504. middlegoodscode:
  16505. description: 套保品种代码
  16506. type: string
  16507. middlegoodsid:
  16508. description: 套保品种ID
  16509. type: integer
  16510. middlegoodsname:
  16511. description: 套保品种名称
  16512. type: string
  16513. modifytime:
  16514. description: 修改时间
  16515. type: string
  16516. wrstandardid:
  16517. description: 品类ID
  16518. type: integer
  16519. type: object
  16520. models.WRStandardInfo:
  16521. properties:
  16522. areauserid:
  16523. description: 所属机构
  16524. type: integer
  16525. convertfactor:
  16526. description: 标仓系数
  16527. type: number
  16528. createtime:
  16529. description: 创建时间
  16530. type: string
  16531. creatorid:
  16532. description: 创建人
  16533. type: integer
  16534. deliverygoodsid:
  16535. description: 品种ID
  16536. type: integer
  16537. deliverygoodsname:
  16538. description: 交割商品名称
  16539. type: string
  16540. factoryitemjson:
  16541. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16542. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16543. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16544. 逗号分隔'
  16545. type: string
  16546. isvalid:
  16547. description: 是否有效 - 0:无效 1:有效
  16548. type: integer
  16549. minivalue:
  16550. description: 最小变动值
  16551. type: integer
  16552. minivaluedp:
  16553. description: 最小变动值小数位
  16554. type: integer
  16555. realminivalue:
  16556. description: 实际最小变动值
  16557. type: integer
  16558. realminivaluedp:
  16559. description: 实际最小变动值小数位
  16560. type: integer
  16561. remark:
  16562. description: 备注
  16563. type: string
  16564. unitid:
  16565. description: 单位ID
  16566. type: integer
  16567. unitname:
  16568. description: 单位
  16569. type: string
  16570. updatetime:
  16571. description: 更新时间
  16572. type: string
  16573. updatorid:
  16574. description: 更新人
  16575. type: integer
  16576. wrsstatus:
  16577. description: 状态 - 作废 - 0:未激活 1:正常
  16578. type: integer
  16579. wrstandardcode:
  16580. description: 现货品类代码
  16581. type: string
  16582. wrstandardid:
  16583. description: 现货品类ID(SEQ_WRSTANDARD)
  16584. type: integer
  16585. wrstandardname:
  16586. description: 现货品类名称
  16587. type: string
  16588. required:
  16589. - wrstandardid
  16590. type: object
  16591. models.WRTradeBargainApply:
  16592. properties:
  16593. accountid:
  16594. description: 摘牌资金账号
  16595. type: integer
  16596. applyprice:
  16597. description: 申请价格(议价价格)
  16598. type: string
  16599. applyqty:
  16600. description: 摘牌数量(议价数量)
  16601. type: number
  16602. applyremark:
  16603. description: 申请备注
  16604. type: string
  16605. applystatus:
  16606. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16607. type: integer
  16608. applytime:
  16609. description: 申请时间(议价时间)
  16610. type: string
  16611. begindate:
  16612. description: 开始交易日(yyyymmdd)
  16613. type: string
  16614. buyorsell:
  16615. description: 买卖(挂牌类型) - 0:买 1:卖
  16616. type: integer
  16617. confirmremark:
  16618. description: 确认备注
  16619. type: string
  16620. confirmtime:
  16621. description: 确认时间
  16622. type: string
  16623. confirmuserid:
  16624. description: 确认人
  16625. type: integer
  16626. deliverygoodscode:
  16627. description: 品种代码
  16628. type: string
  16629. deliverygoodsid:
  16630. description: 品种ID
  16631. type: integer
  16632. deliverygoodsname:
  16633. description: 品种名称
  16634. type: string
  16635. deliverymonth:
  16636. description: 交收月
  16637. type: string
  16638. enddate:
  16639. description: 结束交易日(yyyymmdd)
  16640. type: string
  16641. enumdicname:
  16642. description: 单位名称
  16643. type: string
  16644. fixedprice:
  16645. description: 挂牌价格
  16646. type: number
  16647. handlestatus:
  16648. description: 处理状态
  16649. type: integer
  16650. marginvalue:
  16651. description: 履约保证金比例
  16652. type: number
  16653. marketid:
  16654. description: 市场ID
  16655. type: integer
  16656. matchaccountid:
  16657. description: 挂牌方资金账号
  16658. type: integer
  16659. matchuserid:
  16660. description: 挂牌方用户id
  16661. type: integer
  16662. matchusername:
  16663. description: 挂牌方用户名称(已脱敏)
  16664. type: string
  16665. minivalue:
  16666. description: 现货商品最小变动值
  16667. type: integer
  16668. optioncompare:
  16669. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16670. type: string
  16671. orderqty:
  16672. description: 挂牌数量
  16673. type: integer
  16674. refprice:
  16675. description: 参考价格
  16676. type: string
  16677. retcode:
  16678. description: 委托返回代码
  16679. type: integer
  16680. templatename:
  16681. description: 履约方式(履约模板名称)
  16682. type: string
  16683. tradedate:
  16684. description: 交易日(yyyyMMdd)
  16685. type: string
  16686. userid:
  16687. description: 摘牌人用户ID(议价人ID)
  16688. type: integer
  16689. username:
  16690. description: 议价人名字(已脱敏)
  16691. type: string
  16692. validtime:
  16693. description: 有效期限
  16694. type: string
  16695. warehouseid:
  16696. description: 仓库ID
  16697. type: integer
  16698. warehousename:
  16699. description: 仓库名称
  16700. type: string
  16701. wrbargainid:
  16702. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16703. type: string
  16704. wrfactortypeid:
  16705. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16706. type: string
  16707. wrfactortypename:
  16708. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16709. type: string
  16710. wrstandardcode:
  16711. description: 现货商品代码
  16712. type: string
  16713. wrstandardid:
  16714. description: 现货商品ID
  16715. type: integer
  16716. wrstandardname:
  16717. description: 商品名称
  16718. type: string
  16719. wrtradeorderid:
  16720. description: 关联委托单ID
  16721. type: string
  16722. wrtypename:
  16723. description: 商品
  16724. type: string
  16725. type: object
  16726. models.Warehouseinfo:
  16727. properties:
  16728. address:
  16729. description: 详细地址
  16730. type: string
  16731. areauserid:
  16732. description: 所属机构
  16733. type: integer
  16734. autoid:
  16735. description: 自增ID
  16736. type: integer
  16737. cityid:
  16738. description: 市
  16739. type: integer
  16740. contactname:
  16741. description: 联系人
  16742. type: string
  16743. contactnum:
  16744. description: 联系电话
  16745. type: string
  16746. countryid:
  16747. description: 国家
  16748. type: integer
  16749. createtime:
  16750. description: 创建时间
  16751. type: string
  16752. districtid:
  16753. description: 区
  16754. type: integer
  16755. hasvideo:
  16756. description: 是否有视频 - 0:无 1:有
  16757. type: integer
  16758. provinceid:
  16759. description: 省
  16760. type: integer
  16761. remark:
  16762. description: 审核备注
  16763. type: string
  16764. videourl:
  16765. description: 视频地址
  16766. type: string
  16767. warehousecode:
  16768. description: 仓库代码
  16769. type: string
  16770. warehousename:
  16771. description: 仓库名称
  16772. type: string
  16773. warehousestatus:
  16774. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16775. type: integer
  16776. warehousetype:
  16777. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16778. type: integer
  16779. required:
  16780. - autoid
  16781. - warehousecode
  16782. type: object
  16783. models.WrAverageTradePrice:
  16784. properties:
  16785. averageprice:
  16786. description: 成交均价
  16787. type: number
  16788. tradedate:
  16789. description: 交易日yyyymm
  16790. type: string
  16791. type: object
  16792. models.WrBrandAndYears:
  16793. properties:
  16794. brandlst:
  16795. description: 品牌列表
  16796. items:
  16797. $ref: '#/definitions/models.DgFactoryItem'
  16798. type: array
  16799. yearslst:
  16800. description: 年份列表
  16801. items:
  16802. $ref: '#/definitions/models.DgFactoryItem'
  16803. type: array
  16804. type: object
  16805. models.WrBsGoodsInfo:
  16806. properties:
  16807. buyorsell:
  16808. description: 买卖方向 0-买 1-卖
  16809. type: integer
  16810. goodsid:
  16811. description: 交易合约ID
  16812. type: integer
  16813. lstitem:
  16814. description: 商品信息项
  16815. items:
  16816. $ref: '#/definitions/models.WrTypeItem'
  16817. type: array
  16818. lststep:
  16819. description: 履约规则
  16820. items:
  16821. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16822. type: array
  16823. type: object
  16824. models.WrBuybackDetail:
  16825. properties:
  16826. buybackamount:
  16827. description: 回购金额
  16828. type: number
  16829. buybackqty:
  16830. description: 回购数量
  16831. type: number
  16832. buybackreleasemargin:
  16833. description: 回购释放保证金
  16834. type: number
  16835. buybacktime:
  16836. description: 回购时间
  16837. type: string
  16838. errordesc:
  16839. description: 错误描述
  16840. type: string
  16841. handlestatus:
  16842. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16843. type: integer
  16844. relatedwrid:
  16845. description: 关联仓单ID
  16846. type: integer
  16847. scfcontractid:
  16848. description: SCF合同ID
  16849. type: string
  16850. scfwrbuybackid:
  16851. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16852. type: integer
  16853. tradedate:
  16854. description: 交易日(yyyyMMdd)
  16855. type: string
  16856. type: object
  16857. models.WrClientAdSpaceConfig:
  16858. properties:
  16859. adspaceid:
  16860. description: 广告位ID
  16861. type: integer
  16862. adspacename:
  16863. description: 广告位名称
  16864. type: string
  16865. adspacetype:
  16866. description: 广告位类型 - 1:固定广告位
  16867. type: integer
  16868. areauserid:
  16869. description: 所属机构ID
  16870. type: integer
  16871. createdate:
  16872. description: 创建时间
  16873. type: string
  16874. imagepath:
  16875. description: 图片
  16876. type: string
  16877. modifierid:
  16878. description: 操作人
  16879. type: integer
  16880. recsize:
  16881. description: 推荐尺寸
  16882. type: string
  16883. title:
  16884. description: 标题
  16885. type: string
  16886. updatedate:
  16887. description: 更新时间
  16888. type: string
  16889. urlcontent:
  16890. description: 链接(地址\商品ID\功能菜单Key\appid)
  16891. type: string
  16892. urltype:
  16893. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16894. type: integer
  16895. type: object
  16896. models.WrDeliveryAvalidHoldLB:
  16897. properties:
  16898. accountid:
  16899. description: 资金账号
  16900. type: integer
  16901. avalidqty:
  16902. description: 数量(可点选数量)
  16903. type: number
  16904. deliverygoodsid:
  16905. description: 品种id
  16906. type: integer
  16907. enumdicname:
  16908. description: 单位名称
  16909. type: string
  16910. goodsid:
  16911. description: x合约商品id
  16912. type: integer
  16913. ladingbillid:
  16914. description: 提单id
  16915. type: string
  16916. pgoodscode:
  16917. description: p商品代码(点价合约)
  16918. type: string
  16919. pgoodsid:
  16920. description: p商品id(点价合约)
  16921. type: integer
  16922. pgoodsname:
  16923. description: p商品名称(点价合约)
  16924. type: string
  16925. pricemove:
  16926. description: 升贴水
  16927. type: number
  16928. subnum:
  16929. description: 提单子id
  16930. type: integer
  16931. userid:
  16932. description: 用户id
  16933. type: integer
  16934. username:
  16935. description: 仓单持有人
  16936. type: string
  16937. warehousecode:
  16938. description: 仓库代码
  16939. type: string
  16940. warehouseid:
  16941. description: 仓库id
  16942. type: integer
  16943. warehousename:
  16944. description: 仓库名称
  16945. type: string
  16946. wrfactortypeid:
  16947. description: 仓单要素id
  16948. type: string
  16949. wrstandardcode:
  16950. description: 品代码
  16951. type: string
  16952. wrstandardid:
  16953. description: 品类d
  16954. type: integer
  16955. wrstandardname:
  16956. description: 品类名称
  16957. type: string
  16958. wrtypename:
  16959. description: 商品
  16960. type: string
  16961. xgoodscode:
  16962. description: x合约代码
  16963. type: string
  16964. xgoodsname:
  16965. description: x合约名称
  16966. type: string
  16967. type: object
  16968. models.WrDeliveryDetail:
  16969. properties:
  16970. accountid:
  16971. description: 账号ID
  16972. type: integer
  16973. averageprice:
  16974. description: 交割均价 = 交割金额 / 交割数量
  16975. type: number
  16976. begindate:
  16977. description: 开始交易日(yyyymmdd)
  16978. type: string
  16979. buyorsell:
  16980. description: 方向 - 0:买 1:卖
  16981. type: integer
  16982. deliveryamount:
  16983. description: 货款金额(X总货款+P总货款)
  16984. type: number
  16985. deliveryid:
  16986. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16987. type: string
  16988. deliveryorderid:
  16989. description: 申报单号
  16990. type: string
  16991. deliverypricemove:
  16992. description: 升贴水(升贴水总额)
  16993. type: number
  16994. deliveryqty:
  16995. description: 交收数量(点选数量)
  16996. type: number
  16997. deliverystatus:
  16998. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16999. type: integer
  17000. deliverytime:
  17001. description: 交割时间
  17002. type: string
  17003. deliverytotalamount:
  17004. description: 交收金额
  17005. type: number
  17006. enddate:
  17007. description: 结束交易日(yyyymmdd)
  17008. type: string
  17009. enumdicname:
  17010. description: 单位名称
  17011. type: string
  17012. matchaccountid:
  17013. description: 对手账号ID
  17014. type: integer
  17015. matchusername:
  17016. description: 对手方名称(仓单持有人)
  17017. type: string
  17018. p1goodsremainamount:
  17019. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17020. type: number
  17021. pdeliverycloseqty:
  17022. description: p合约平仓数量
  17023. type: number
  17024. pdeliveryprice:
  17025. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17026. type: number
  17027. pgoodscode:
  17028. description: 商品代码
  17029. type: string
  17030. pgoodsid:
  17031. description: p点选合约id
  17032. type: integer
  17033. pgoodsname:
  17034. description: 商品名称
  17035. type: string
  17036. ppricemode:
  17037. description: 点价价格方式 - 1:商品价 2:固定值
  17038. type: integer
  17039. tradedate:
  17040. description: 交易日(yyyymmdd)
  17041. type: string
  17042. userid:
  17043. description: 用户id
  17044. type: integer
  17045. username:
  17046. description: 用户名称
  17047. type: string
  17048. warehousename:
  17049. description: 仓库名称
  17050. type: string
  17051. wrfactortypeid:
  17052. description: 仓单要素类型ID
  17053. type: string
  17054. wrtypename:
  17055. description: 商品
  17056. type: string
  17057. xdeliverycloseqty:
  17058. description: 合约数量
  17059. type: number
  17060. xgoodsamount:
  17061. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  17062. type: number
  17063. xgoodscode:
  17064. description: 商品代码
  17065. type: string
  17066. xgoodsid:
  17067. description: x交易合约ID
  17068. type: integer
  17069. xgoodsname:
  17070. description: 商品名称
  17071. type: string
  17072. type: object
  17073. models.WrDeliveryGoodsSection:
  17074. properties:
  17075. dglst:
  17076. description: 板块商品列表
  17077. items:
  17078. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17079. type: array
  17080. imagepath:
  17081. description: 图片地址
  17082. type: string
  17083. orderindex:
  17084. description: 排序
  17085. type: integer
  17086. sectionid:
  17087. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17088. = 1的版块1 - 云融指数
  17089. type: integer
  17090. sectionname:
  17091. description: 版块名称
  17092. type: string
  17093. sectiontype:
  17094. description: 版块类型 - 1:指数版块 2:普通版块
  17095. type: integer
  17096. type: object
  17097. models.WrDeliveryGoodsSectionConfig:
  17098. properties:
  17099. deliverygoodscode:
  17100. description: 现货商品代码
  17101. type: string
  17102. deliverygoodsid:
  17103. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17104. type: integer
  17105. deliverygoodsname:
  17106. description: 现货商品名称
  17107. type: string
  17108. orderindex:
  17109. description: 排序
  17110. type: integer
  17111. type: object
  17112. models.WrDraftUserInfo:
  17113. properties:
  17114. address:
  17115. description: 地址
  17116. type: string
  17117. attachment1:
  17118. description: 附件1
  17119. type: string
  17120. attachment2:
  17121. description: 附件2
  17122. type: string
  17123. attachment3:
  17124. description: 附件3
  17125. type: string
  17126. attachment4:
  17127. description: 附件4
  17128. type: string
  17129. attachment5:
  17130. description: 附件5
  17131. type: string
  17132. bankaccount:
  17133. description: 银行帐号 (加密存储)
  17134. type: string
  17135. bankaccountname:
  17136. description: 收款人名称
  17137. type: string
  17138. bankcardfrontphotourl:
  17139. description: 银行卡正面照地址
  17140. type: string
  17141. bankid:
  17142. description: 银行编码
  17143. type: string
  17144. bankname:
  17145. description: 银行名称
  17146. type: string
  17147. birthday:
  17148. description: 生日(个人:年月日)
  17149. type: string
  17150. biznature:
  17151. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17152. type: integer
  17153. bizscope:
  17154. description: 企业经营范围(企业)
  17155. type: string
  17156. biztype:
  17157. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17158. type: integer
  17159. cardbackphotourl:
  17160. description: 证件背面图片地址
  17161. type: string
  17162. cardfrontphotourl:
  17163. description: 证件正面图片地址
  17164. type: string
  17165. cardnum:
  17166. description: 证件号码(加密存储)
  17167. type: string
  17168. cardtypeid:
  17169. description: 证件类型ID
  17170. type: integer
  17171. cityid:
  17172. description: 市
  17173. type: integer
  17174. company:
  17175. description: 公司(个人)
  17176. type: string
  17177. contactcardbackphotourl:
  17178. description: 联系人证件背面图片地址
  17179. type: string
  17180. contactcardfrontphotourl:
  17181. description: 联系人证件正面图片地址
  17182. type: string
  17183. contactname:
  17184. description: 联系人
  17185. type: string
  17186. countryid:
  17187. description: 国家
  17188. type: integer
  17189. createtime:
  17190. description: 创建时间
  17191. type: string
  17192. creatorid:
  17193. description: 创建人
  17194. type: integer
  17195. creditquota:
  17196. description: 授信额度(金瑞)
  17197. type: number
  17198. customername:
  17199. description: 客户名称(企业名称)
  17200. type: string
  17201. districtid:
  17202. description: 地区
  17203. type: integer
  17204. email:
  17205. description: 邮件(加密存储)
  17206. type: string
  17207. fax:
  17208. description: 传真(加密存储)
  17209. type: string
  17210. halfbodyphotourl:
  17211. description: 半身照地址
  17212. type: string
  17213. hasencrypt:
  17214. description: 数据是否已加密 - 0:未加密 1:已加密
  17215. type: integer
  17216. headurl:
  17217. description: 头像地址
  17218. type: string
  17219. legalcardbackphotourl:
  17220. description: 法人身份证背面照地址
  17221. type: string
  17222. legalcardfrontphotourl:
  17223. description: 法人身份证正面照地址
  17224. type: string
  17225. legalpersonname:
  17226. description: 法人姓名(企业)
  17227. type: string
  17228. mobile:
  17229. description: 手机号码(加密存储)
  17230. type: string
  17231. mobile2:
  17232. description: 手机号码[明文-尚志]
  17233. type: string
  17234. modifierid:
  17235. description: 修改人
  17236. type: integer
  17237. modifiertime:
  17238. description: 修改时间
  17239. type: string
  17240. needinvoice:
  17241. description: 是否需要发票 - 0:不需要 1:需要
  17242. type: integer
  17243. nickname:
  17244. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17245. type: string
  17246. openmode:
  17247. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17248. 6:苹果手机端注册 7:PC交易端注册"
  17249. type: integer
  17250. otherurl:
  17251. description: 其它图片地址[使用分号分隔]
  17252. type: string
  17253. postalcode:
  17254. description: 邮政编码
  17255. type: string
  17256. provinceid:
  17257. description: 省
  17258. type: integer
  17259. proxystatementurl:
  17260. description: 授权委托书
  17261. type: string
  17262. qq:
  17263. description: QQ(加密存储
  17264. type: string
  17265. remark:
  17266. description: 备注
  17267. type: string
  17268. sex:
  17269. description: '用户性别 0: 女 1: 男'
  17270. type: integer
  17271. signpdfurl:
  17272. description: 签约pdf文件
  17273. type: string
  17274. taxpayernum:
  17275. description: 纳税人识别号
  17276. type: string
  17277. telphone:
  17278. description: 联系电话(加密存储)
  17279. type: string
  17280. userid:
  17281. description: 用户ID
  17282. type: integer
  17283. userinfotype:
  17284. description: 用户信息类型 - 1:个人 2:企业
  17285. type: integer
  17286. userstatus:
  17287. description: 用户状态 - 1:正常 2:注销
  17288. type: integer
  17289. usertype:
  17290. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17291. type: integer
  17292. wechat:
  17293. description: 微信(加密存储)
  17294. type: string
  17295. wskhinfo:
  17296. description: 开户申请信息(JSON)
  17297. type: string
  17298. type: object
  17299. models.WrFAProductDetail:
  17300. properties:
  17301. accountid:
  17302. description: 资金账号
  17303. type: integer
  17304. areauserid:
  17305. description: 金融机构ID
  17306. type: integer
  17307. financingdays:
  17308. description: 天数(天)
  17309. type: integer
  17310. interestminlen:
  17311. description: 最小起息天数
  17312. type: integer
  17313. interestrate:
  17314. description: 利率
  17315. type: number
  17316. interestratemode:
  17317. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17318. type: integer
  17319. interestsettlemode:
  17320. description: 结息方式 - 1:按日结息 3:按月结息
  17321. type: integer
  17322. interestsettlevalue:
  17323. description: 结息方式值
  17324. type: integer
  17325. isautoloan:
  17326. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17327. type: integer
  17328. loantag:
  17329. description: '放款标识: "放款快" 或者为空'
  17330. type: string
  17331. marginratio:
  17332. description: 保证金比率质押率 - [仓单质押]
  17333. type: number
  17334. productdetailid:
  17335. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17336. type: integer
  17337. productid:
  17338. description: 金融产品ID
  17339. type: integer
  17340. productname:
  17341. description: 产品名称
  17342. type: string
  17343. updatetime:
  17344. description: 更新时间
  17345. type: string
  17346. username:
  17347. description: 融出方
  17348. type: string
  17349. type: object
  17350. models.WrFactorTypeInfo:
  17351. properties:
  17352. deliverygoodscode:
  17353. description: 品种代码
  17354. type: string
  17355. deliverygoodsname:
  17356. description: 品种名称
  17357. type: string
  17358. dgfactoryitemid:
  17359. description: 选择项id
  17360. type: integer
  17361. dgfactoryitemtypeid:
  17362. description: 要素选择项ID (1-仓库 2-品牌)
  17363. type: integer
  17364. dgfactoryitemvalue:
  17365. description: 要素项值
  17366. type: string
  17367. itemtypename:
  17368. description: 要素项名称
  17369. type: string
  17370. optioncompare:
  17371. description: 选择比较串
  17372. type: string
  17373. warehouseid:
  17374. description: 仓库id
  17375. type: integer
  17376. wrfactortypeid:
  17377. description: 仓单要素ID
  17378. type: string
  17379. wrfactortypename:
  17380. description: 要素名称
  17381. type: string
  17382. wrfactortypename2:
  17383. description: 要素名称(不含仓库)
  17384. type: string
  17385. wrstandardcode:
  17386. description: 品类代码
  17387. type: string
  17388. wrstandardid:
  17389. description: 品类id
  17390. type: integer
  17391. wrstandardname:
  17392. description: 品类名称
  17393. type: string
  17394. type: object
  17395. models.WrFilterItem:
  17396. properties:
  17397. itemcode:
  17398. description: 代码
  17399. type: string
  17400. itemid:
  17401. description: 项id
  17402. type: integer
  17403. itemname:
  17404. description: 名称
  17405. type: string
  17406. itemtype:
  17407. description: 类型 1-品种 2-品类(商品) 3-仓库
  17408. type: integer
  17409. type: object
  17410. models.WrFinanceBuyApply:
  17411. properties:
  17412. applydate:
  17413. description: 申请时间
  17414. type: string
  17415. applystatus:
  17416. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17417. type: integer
  17418. applyuserid:
  17419. description: 申请人
  17420. type: integer
  17421. auditdate:
  17422. description: 审核时间
  17423. type: string
  17424. auditremark:
  17425. description: 审核备注
  17426. type: string
  17427. audituserid:
  17428. description: 审核人
  17429. type: integer
  17430. buyaccountid:
  17431. description: 买方资金账号
  17432. type: integer
  17433. buyorsell:
  17434. description: 买卖 - 0:买 1:卖
  17435. type: integer
  17436. buyuserid:
  17437. description: 买方用户ID
  17438. type: integer
  17439. buyusername:
  17440. description: 买方名称
  17441. type: string
  17442. buywrtradeorderid:
  17443. description: 融资方买委托单ID
  17444. type: string
  17445. deliverygoodscode:
  17446. description: 品种代码
  17447. type: string
  17448. deliverygoodsid:
  17449. description: 品种ID
  17450. type: integer
  17451. deliverygoodsname:
  17452. description: 品种名称
  17453. type: string
  17454. deliverymonth:
  17455. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17456. type: string
  17457. enumdicname:
  17458. description: 单位名称
  17459. type: string
  17460. financeaccountid:
  17461. description: 融资方资金帐户ID
  17462. type: integer
  17463. financeapplyid:
  17464. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17465. type: string
  17466. financeareauserid:
  17467. description: 融资方用户ID
  17468. type: string
  17469. financename:
  17470. description: 融出方名称
  17471. type: string
  17472. financetype:
  17473. description: 融资类型 1-融资回购
  17474. type: integer
  17475. financingdays:
  17476. description: 天数(天)
  17477. type: integer
  17478. freezebuymargin:
  17479. description: 冻结融资保证金(买方)
  17480. type: number
  17481. handleremark:
  17482. description: 处理备注
  17483. type: string
  17484. handlestatus:
  17485. description: 处理状态
  17486. type: integer
  17487. interestminlen:
  17488. description: 最小起息天数
  17489. type: integer
  17490. interestrate:
  17491. description: 利率
  17492. type: number
  17493. interestratemode:
  17494. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17495. type: integer
  17496. interestsettlemode:
  17497. description: 结息方式 - 1:按日结息 3:按月结息
  17498. type: integer
  17499. interestsettlevalue:
  17500. description: 结息方式值
  17501. type: integer
  17502. isautoloan:
  17503. description: 是否自动放款 - 0:手动 1:自动
  17504. type: integer
  17505. marginratio:
  17506. description: 保证金比率质押率 - [仓单质押]
  17507. type: number
  17508. marketid:
  17509. description: 市场ID
  17510. type: integer
  17511. minivalue:
  17512. description: 现货商品最小变动值
  17513. type: integer
  17514. optioncompare:
  17515. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17516. type: string
  17517. orderqty:
  17518. description: 委托数量(商品数量)
  17519. type: number
  17520. productdetailid:
  17521. description: 产品组合ID
  17522. type: integer
  17523. productid:
  17524. description: 金融产品ID
  17525. type: integer
  17526. productname:
  17527. description: 产品名称
  17528. type: string
  17529. remark:
  17530. description: 备注
  17531. type: string
  17532. scfcontractid:
  17533. description: 仓单回购合同ID
  17534. type: string
  17535. sellaccountid:
  17536. description: 卖方资金账号
  17537. type: integer
  17538. selluserid:
  17539. description: 卖方用户ID
  17540. type: integer
  17541. sellwrtradeorderid:
  17542. description: 卖方委托单ID
  17543. type: string
  17544. tradeamount:
  17545. description: 成交金额(借款金额)
  17546. type: number
  17547. tradedate:
  17548. description: 交易日(yyyyMMdd)
  17549. type: string
  17550. tradeprice:
  17551. description: 成交价格
  17552. type: number
  17553. warehouseid:
  17554. description: 仓库ID
  17555. type: integer
  17556. warehousename:
  17557. description: 仓库名称
  17558. type: string
  17559. wrfactortypeid:
  17560. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17561. type: string
  17562. wrfactortypename:
  17563. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17564. type: string
  17565. wrpricetype:
  17566. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17567. type: integer
  17568. wrstandardcode:
  17569. description: 现货商品代码
  17570. type: string
  17571. wrstandardid:
  17572. description: 现货商品ID
  17573. type: integer
  17574. wrstandardname:
  17575. description: 商品名称
  17576. type: string
  17577. wrtypename:
  17578. description: 商品
  17579. type: string
  17580. type: object
  17581. models.WrFriendApply:
  17582. properties:
  17583. applicantid:
  17584. description: 申请人
  17585. type: integer
  17586. applyname:
  17587. description: 申请人名称
  17588. type: string
  17589. applysrc:
  17590. description: 申请来源 - 1:管理端 2:终端
  17591. type: integer
  17592. applystatus:
  17593. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17594. type: integer
  17595. applytime:
  17596. description: 申请时间
  17597. type: string
  17598. auditname:
  17599. description: 审核人名称
  17600. type: string
  17601. auditorid:
  17602. description: 审核人
  17603. type: integer
  17604. auditremark:
  17605. description: 审核备注
  17606. type: string
  17607. auditsrc:
  17608. description: 审核来源 - 1:管理端 2:终端
  17609. type: integer
  17610. audittime:
  17611. description: 审核时间
  17612. type: string
  17613. friendapplyid:
  17614. description: 申请ID(SEQ_FRIENDAPPLY)
  17615. type: string
  17616. friendname:
  17617. description: 好友名字(已脱敏)
  17618. type: string
  17619. frienduserid:
  17620. description: 好友用户ID
  17621. type: string
  17622. remark:
  17623. description: 备注
  17624. type: string
  17625. userid:
  17626. description: 申请人用户ID
  17627. type: integer
  17628. type: object
  17629. models.WrFtDeliveryGoods:
  17630. properties:
  17631. deliverygoodscode:
  17632. description: 品种代码
  17633. type: string
  17634. deliverygoodsid:
  17635. description: 品种ID
  17636. type: integer
  17637. deliverygoodsname:
  17638. description: 品种名称
  17639. type: string
  17640. wdlst:
  17641. description: 商品列表
  17642. items:
  17643. $ref: '#/definitions/models.WrFtWrstandard'
  17644. type: array
  17645. type: object
  17646. models.WrFtWrstandard:
  17647. properties:
  17648. enumdicname:
  17649. description: 单位名称
  17650. type: string
  17651. minivalue:
  17652. description: 最小变动值
  17653. type: integer
  17654. wrstandardcode:
  17655. description: 现货商品代码
  17656. type: string
  17657. wrstandardid:
  17658. description: 现货商品ID
  17659. type: integer
  17660. wrstandardname:
  17661. description: 商品名称
  17662. type: string
  17663. type: object
  17664. models.WrGoodsInfo:
  17665. properties:
  17666. haswr:
  17667. description: 0:仓单预售 1:仓单贸易
  17668. type: integer
  17669. lstitem:
  17670. description: 商品信息项
  17671. items:
  17672. $ref: '#/definitions/models.WrTypeItem'
  17673. type: array
  17674. lststep:
  17675. description: 履约规则
  17676. items:
  17677. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17678. type: array
  17679. marketid:
  17680. description: 市场id
  17681. type: integer
  17682. type: object
  17683. models.WrGoodsPerformanceStep:
  17684. properties:
  17685. autoid:
  17686. description: AutoID
  17687. type: integer
  17688. isauto:
  17689. description: 是否自动 - 0:不自动 1:自动
  17690. type: integer
  17691. remark:
  17692. description: 备注
  17693. type: string
  17694. stepdate:
  17695. description: 天数信息(T+N)
  17696. type: string
  17697. stepdays:
  17698. description: 距离上一步天数
  17699. type: integer
  17700. stepindex:
  17701. description: 步骤序号
  17702. type: integer
  17703. stepinfo:
  17704. description: 步骤信息(步骤名称+步骤值)
  17705. type: string
  17706. steptypeid:
  17707. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17708. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17709. type: integer
  17710. steptypename:
  17711. description: 步骤名称
  17712. type: string
  17713. stepvalue:
  17714. description: 步骤值
  17715. type: number
  17716. templateid:
  17717. description: 履约计划模板ID
  17718. type: integer
  17719. type: object
  17720. models.WrHoldLB:
  17721. properties:
  17722. accountid:
  17723. description: 持有人帐户ID
  17724. type: integer
  17725. bannerpicurl:
  17726. description: Banner图
  17727. type: string
  17728. createtime:
  17729. description: 创建时间(过户时间)
  17730. type: string
  17731. deliverygoodscode:
  17732. description: 品种代码
  17733. type: string
  17734. deliverygoodsid:
  17735. description: 品种ID
  17736. type: integer
  17737. deliverygoodsname:
  17738. description: 品种名称
  17739. type: string
  17740. enableqty:
  17741. description: 可用数量
  17742. type: number
  17743. enumdicname:
  17744. description: 单位名称
  17745. type: string
  17746. freezerqty:
  17747. description: 冻结数量
  17748. type: number
  17749. ladingbillid:
  17750. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17751. type: string
  17752. minivalue:
  17753. description: 现货商品最小变动值
  17754. type: integer
  17755. optioncompare:
  17756. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17757. type: string
  17758. parentsubnum:
  17759. description: 拆分父子单号
  17760. type: integer
  17761. pledgeqty:
  17762. description: 质押数量
  17763. type: number
  17764. qty:
  17765. description: 数量
  17766. type: number
  17767. subnum:
  17768. description: 提单子单号
  17769. type: integer
  17770. thumurls:
  17771. description: 缩略图
  17772. type: string
  17773. tradedate:
  17774. description: 交易日(yyyyMMdd)
  17775. type: string
  17776. userid:
  17777. description: 持有人ID
  17778. type: integer
  17779. warehouseid:
  17780. description: 仓库ID
  17781. type: integer
  17782. warehousename:
  17783. description: 仓库名称
  17784. type: string
  17785. wrfactortypeid:
  17786. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17787. type: string
  17788. wrfactortypename:
  17789. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17790. type: string
  17791. wrholdeno:
  17792. description: 仓单编号
  17793. type: string
  17794. wrid:
  17795. description: 仓单变更ID
  17796. type: string
  17797. wrstandardcode:
  17798. description: 现货商品代码
  17799. type: string
  17800. wrstandardid:
  17801. description: 现货商品ID
  17802. type: integer
  17803. wrstandardname:
  17804. description: 商品名称
  17805. type: string
  17806. wrtypename:
  17807. description: 商品
  17808. type: string
  17809. type: object
  17810. models.WrMarketTradeConfig:
  17811. properties:
  17812. basisdownratio:
  17813. description: 浮动价基差下限比例(仓单贸易)
  17814. type: number
  17815. basisupratio:
  17816. description: 浮动价基差上限比例(仓单贸易)
  17817. type: number
  17818. buychargealgorithm:
  17819. description: 买方手续费收取方式 1:比率 2:固定
  17820. type: integer
  17821. buychargealgorithm2:
  17822. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17823. type: integer
  17824. buychargealgorithmvalue:
  17825. description: 买方手续费设置值(交易所部分)
  17826. type: number
  17827. buychargealgorithmvalue2:
  17828. description: 买方手续费设置值(会员部分)
  17829. type: number
  17830. buychargealgorithmvalue3:
  17831. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17832. type: number
  17833. buychargealgorithmvalue4:
  17834. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17835. type: number
  17836. buyfirstmarginalgorithm:
  17837. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17838. type: integer
  17839. buyfirstmarginvalue:
  17840. description: 买方出价保证金设置值 - [竞拍]
  17841. type: number
  17842. buymarginalgorithm:
  17843. description: 买方保证金方式 - 1:比率 2:固定
  17844. type: integer
  17845. buymarginvalue:
  17846. description: 买方保证金设置值
  17847. type: number
  17848. buyreleaseratio:
  17849. description: 买方释放比率[2:分步履约]
  17850. type: number
  17851. executemode:
  17852. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17853. type: integer
  17854. executeside:
  17855. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17856. type: integer
  17857. failedchargealgorithm:
  17858. description: 流拍手续费收取方式 1:比率 2:固定
  17859. type: integer
  17860. failedchargevalue:
  17861. description: 流拍手续费设置值
  17862. type: number
  17863. failedchargevalue2:
  17864. description: 流拍卖方手续费设置值
  17865. type: number
  17866. holddays:
  17867. description: 合同期限[2:分步履约]
  17868. type: integer
  17869. listingmode:
  17870. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17871. type: integer
  17872. marketid:
  17873. description: 市场ID-仓单贸易、竞拍、预售
  17874. type: integer
  17875. minqty:
  17876. description: 最小执行量[2:分步履约]
  17877. type: number
  17878. modifierid:
  17879. description: 修改人
  17880. type: integer
  17881. nowrquotaflag:
  17882. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17883. type: integer
  17884. performancetempid:
  17885. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17886. 立即执行(-1)
  17887. type: integer
  17888. performancetempid2:
  17889. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17890. 立即执行
  17891. type: integer
  17892. performancetempid2s:
  17893. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17894. - 履约方式: 立即执行
  17895. type: string
  17896. performancetempids:
  17897. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17898. - 履约方式: 立即执行(-1)
  17899. type: string
  17900. performanceway:
  17901. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17902. type: integer
  17903. sellchargealgorithm:
  17904. description: 卖方手续费收取方式 1:比率 2:固定
  17905. type: integer
  17906. sellchargealgorithm2:
  17907. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17908. type: integer
  17909. sellchargealgorithmvalue:
  17910. description: 卖方手续费设置值(交易所部分)
  17911. type: number
  17912. sellchargealgorithmvalue2:
  17913. description: 卖方手续费设置值(会员部分)
  17914. type: number
  17915. sellchargealgorithmvalue3:
  17916. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17917. type: number
  17918. sellchargealgorithmvalue4:
  17919. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17920. type: number
  17921. sellmarginalgorithm:
  17922. description: 卖方保证金方式 - 1:比率 2:固定
  17923. type: integer
  17924. sellmarginvalue:
  17925. description: 卖方保证金设置值
  17926. type: number
  17927. sellmarginvalue2:
  17928. description: 卖方保证金设置值(无仓单)
  17929. type: number
  17930. sellreleaseratio:
  17931. description: 卖方释放比率[2:分步履约]
  17932. type: number
  17933. updatetime:
  17934. description: 更新时间
  17935. type: string
  17936. type: object
  17937. models.WrOrderDetail:
  17938. properties:
  17939. accountid:
  17940. description: 交易账号(资金账号)
  17941. type: integer
  17942. allfriendsflag:
  17943. description: 是否全好友可见 - 0:否 1:是
  17944. type: integer
  17945. amount:
  17946. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17947. type: number
  17948. bannerpicurl:
  17949. description: Banner图
  17950. type: string
  17951. begindate:
  17952. description: 开始交易日(yyyymmdd)
  17953. type: string
  17954. buyorsell:
  17955. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17956. type: integer
  17957. canbargain:
  17958. description: 是否可议价 - 0:不可 1:可
  17959. type: integer
  17960. cancelqty:
  17961. description: 撤销数量
  17962. type: number
  17963. canpart:
  17964. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17965. type: integer
  17966. delistminqty:
  17967. description: 起摘数量
  17968. type: integer
  17969. deliverygoodscode:
  17970. description: 品种代码
  17971. type: string
  17972. deliverygoodsid:
  17973. description: 品种ID
  17974. type: integer
  17975. deliverygoodsname:
  17976. description: 品种名称
  17977. type: string
  17978. deliverymonth:
  17979. description: 交收月
  17980. type: string
  17981. enddate:
  17982. description: 结束交易日(yyyymmdd)
  17983. type: string
  17984. enumdicname:
  17985. description: 单位名称
  17986. type: string
  17987. fixedprice:
  17988. description: 固定价格 - [挂牌]
  17989. type: number
  17990. freezecharge:
  17991. description: 冻结手续费
  17992. type: number
  17993. freezemargin:
  17994. description: 冻结保证金(保证金)
  17995. type: number
  17996. futupricemove:
  17997. description: 期货升贴水
  17998. type: number
  17999. futushow:
  18000. description: 期货合约/升贴水
  18001. type: string
  18002. goodscode:
  18003. description: 期货合约
  18004. type: string
  18005. goodsid:
  18006. description: 期货商品id
  18007. type: integer
  18008. goodsname:
  18009. description: 商品名称
  18010. type: string
  18011. haswr:
  18012. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18013. type: integer
  18014. isspecified:
  18015. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18016. type: integer
  18017. ladingbillid:
  18018. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18019. type: string
  18020. marginvalue:
  18021. description: 保证金设置值(履约保证金)
  18022. type: number
  18023. marketid:
  18024. description: 市场ID
  18025. type: integer
  18026. matchusername:
  18027. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18028. type: string
  18029. minivalue:
  18030. description: 现货商品最小变动值
  18031. type: integer
  18032. optioncompare:
  18033. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18034. type: string
  18035. orderqty:
  18036. description: 委托数量
  18037. type: number
  18038. ordertime:
  18039. description: 委托时间(挂牌时间)
  18040. type: string
  18041. performancetemplateid:
  18042. description: 履约模板id
  18043. type: integer
  18044. pricemove:
  18045. description: 升贴水(浮动价时填写) - [挂牌]
  18046. type: number
  18047. taname:
  18048. description: 交易用户名称(资金账号名称)
  18049. type: string
  18050. thumurls:
  18051. description: 缩略图
  18052. type: string
  18053. tradedate:
  18054. description: 交易日(yyyyMMdd)
  18055. type: string
  18056. tradeprice:
  18057. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18058. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18059. type: number
  18060. tradeqty:
  18061. description: 成交数量
  18062. type: number
  18063. userid:
  18064. description: 用户ID
  18065. type: integer
  18066. validtime:
  18067. description: 挂牌有效期
  18068. type: string
  18069. validtype:
  18070. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18071. type: integer
  18072. warehouseid:
  18073. description: 仓库ID
  18074. type: integer
  18075. warehousename:
  18076. description: 仓库名称
  18077. type: string
  18078. wrfactortypeid:
  18079. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18080. type: string
  18081. wrfactortypename:
  18082. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18083. type: string
  18084. wrpricetype:
  18085. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18086. type: integer
  18087. wrstandardcode:
  18088. description: 现货商品代码
  18089. type: string
  18090. wrstandardid:
  18091. description: 现货商品ID
  18092. type: integer
  18093. wrstandardname:
  18094. description: 商品名称
  18095. type: string
  18096. wrtradeorderid:
  18097. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18098. type: string
  18099. wrtradeorderstatus:
  18100. 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:撤单解冻贷款失败
  18101. type: integer
  18102. wrtradetype:
  18103. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18104. type: integer
  18105. wrtypename:
  18106. description: 商品
  18107. type: string
  18108. type: object
  18109. models.WrOrderQuote:
  18110. properties:
  18111. bannerpicurl:
  18112. description: Banner图
  18113. type: string
  18114. buyprice:
  18115. description: 买价
  18116. type: number
  18117. buypricemove:
  18118. description: 买升贴水(基差)
  18119. type: number
  18120. buyqty:
  18121. description: 买量
  18122. type: number
  18123. deliverygoodscode:
  18124. description: 品种代码
  18125. type: string
  18126. deliverygoodsid:
  18127. description: 品种id
  18128. type: integer
  18129. deliverygoodsname:
  18130. description: 品种名称
  18131. type: string
  18132. deliverymonth:
  18133. description: 交收月
  18134. type: string
  18135. enumdicname:
  18136. description: 单位名称
  18137. type: string
  18138. goodscode:
  18139. description: 商品合约(浮动价列表才有)
  18140. type: string
  18141. goodsid:
  18142. description: 商品id(浮动价列表才有)
  18143. type: integer
  18144. minivalue:
  18145. description: 现货商品最小变动值
  18146. type: integer
  18147. pictureurls:
  18148. description: 详情图片(逗号分隔)
  18149. type: string
  18150. sellprice:
  18151. description: 卖价
  18152. type: number
  18153. sellpricemove:
  18154. description: 卖升贴水(基差)
  18155. type: number
  18156. sellqty:
  18157. description: 卖量
  18158. type: number
  18159. thumurls:
  18160. description: 缩略图片(1:1)(逗号分隔)
  18161. type: string
  18162. warehousecode:
  18163. description: 仓库代码
  18164. type: string
  18165. warehouseid:
  18166. description: 仓库id
  18167. type: integer
  18168. warehousename:
  18169. description: 仓库名称
  18170. type: string
  18171. wrfactortypeid:
  18172. description: 仓单要素id
  18173. type: string
  18174. wrfactortypename:
  18175. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18176. type: string
  18177. wrgoodsname:
  18178. description: 商品(商品名称+仓库要素名称 拼接)
  18179. type: string
  18180. wrstandardcode:
  18181. description: 商品代码
  18182. type: string
  18183. wrstandardid:
  18184. description: 商品id
  18185. type: integer
  18186. wrstandardname:
  18187. description: 商品名称
  18188. type: string
  18189. type: object
  18190. models.WrOrderQuoteDetail:
  18191. properties:
  18192. buyorsell:
  18193. description: 买卖 - 0:买 1:卖
  18194. type: integer
  18195. delistminqty:
  18196. description: 起摘数量
  18197. type: number
  18198. deliverymonth:
  18199. description: 交收月
  18200. type: string
  18201. enumdicname:
  18202. description: 单位名称
  18203. type: string
  18204. fixedprice:
  18205. description: 买(卖)价
  18206. type: number
  18207. marketid:
  18208. description: 市场id
  18209. type: integer
  18210. minivalue:
  18211. description: 现货商品最小变动值
  18212. type: integer
  18213. orderqty:
  18214. description: 买(卖)量(=委托量-成交量)
  18215. type: number
  18216. ordertime:
  18217. description: 委托时间
  18218. type: string
  18219. pricemove:
  18220. description: 买(卖)升贴水- 基差
  18221. type: number
  18222. userid:
  18223. description: 购买方(销售方)用户ID
  18224. type: integer
  18225. username:
  18226. description: 购买方(销售方)
  18227. type: string
  18228. wrtradeorderid:
  18229. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18230. type: string
  18231. type: object
  18232. models.WrOutInApply:
  18233. properties:
  18234. applyid:
  18235. description: 申请单id
  18236. type: string
  18237. applystatus:
  18238. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18239. 8:已撤销
  18240. type: integer
  18241. applytime:
  18242. description: 申请时间
  18243. type: string
  18244. applytype:
  18245. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18246. type: integer
  18247. bannerpicurl:
  18248. description: Banner图
  18249. type: string
  18250. begindate:
  18251. description: 开始交易日(yyyymmdd)
  18252. type: string
  18253. deliverygoodscode:
  18254. description: 品种代码
  18255. type: string
  18256. deliverygoodsid:
  18257. description: 品种ID
  18258. type: integer
  18259. deliverygoodsname:
  18260. description: 品种名称
  18261. type: string
  18262. enddate:
  18263. description: 结束交易日(yyyymmdd)
  18264. type: string
  18265. enumdicname:
  18266. description: 单位名称
  18267. type: string
  18268. expresscompany:
  18269. description: 物流公司
  18270. type: string
  18271. expressnum:
  18272. description: 物流单号
  18273. type: string
  18274. minivalue:
  18275. description: 现货商品最小变动值
  18276. type: integer
  18277. optioncompare:
  18278. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18279. type: string
  18280. qty:
  18281. description: 数量
  18282. type: integer
  18283. userid:
  18284. description: 用户id
  18285. type: integer
  18286. warehouseid:
  18287. description: 仓库ID
  18288. type: integer
  18289. warehousename:
  18290. description: 仓库名称
  18291. type: string
  18292. wrfactortypeid:
  18293. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18294. type: string
  18295. wrfactortypename:
  18296. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18297. type: string
  18298. wrstandardcode:
  18299. description: 现货商品代码
  18300. type: string
  18301. wrstandardid:
  18302. description: 现货商品ID
  18303. type: integer
  18304. wrstandardname:
  18305. description: 商品名称
  18306. type: string
  18307. wrtypename:
  18308. description: 商品
  18309. type: string
  18310. type: object
  18311. models.WrPerformancePlan:
  18312. properties:
  18313. activatemonth:
  18314. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18315. type: string
  18316. amount:
  18317. description: 履约金额(总金额)
  18318. type: number
  18319. begindate:
  18320. description: 开始交易日(yyyymmdd)
  18321. type: string
  18322. buyaccountid:
  18323. description: 买方账号
  18324. type: integer
  18325. buyerfreezeamount:
  18326. description: 履约冻结(买履约)
  18327. type: number
  18328. buyerfreezeamountremain:
  18329. description: 履约冻结剩余(买履约)
  18330. type: number
  18331. buyorsell:
  18332. description: 买卖方向 0-买 1-卖
  18333. type: integer
  18334. buypaidamount:
  18335. description: 买方已冻/已扣金额 (已付金额)
  18336. type: number
  18337. buyusername:
  18338. description: 买方名字
  18339. type: string
  18340. contractid:
  18341. description: 合同ID
  18342. type: integer
  18343. createtime:
  18344. description: 创建时间
  18345. type: string
  18346. creatorid:
  18347. description: 创建人
  18348. type: integer
  18349. curstepdeadline:
  18350. description: 当前步骤到期时间
  18351. type: string
  18352. curstepid:
  18353. description: 当前步骤ID
  18354. type: string
  18355. curstepname:
  18356. description: 当前步骤名称
  18357. type: string
  18358. deliverygoodscode:
  18359. description: 品种代码
  18360. type: string
  18361. deliverygoodsid:
  18362. description: 品种ID
  18363. type: integer
  18364. deliverygoodsname:
  18365. description: 品种名称
  18366. type: string
  18367. enddate:
  18368. description: 结束交易日(yyyymmdd)
  18369. type: string
  18370. enumdicname:
  18371. description: 单位名称
  18372. type: string
  18373. expressfee:
  18374. description: 运费
  18375. type: number
  18376. expressfeeconfirmed:
  18377. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18378. type: integer
  18379. hasovershort:
  18380. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18381. type: integer
  18382. haswr:
  18383. description: 类型 0-仓单预售 1-仓单贸易
  18384. type: integer
  18385. marketid:
  18386. description: 市场ID
  18387. type: integer
  18388. middleaccountid:
  18389. description: 中间商资金账号ID
  18390. type: integer
  18391. middleuserid:
  18392. description: 中间商用户ID
  18393. type: integer
  18394. minivalue:
  18395. description: 现货商品最小变动值
  18396. type: integer
  18397. optioncompare:
  18398. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18399. type: string
  18400. overshortamount:
  18401. description: 溢短金额
  18402. type: number
  18403. overshortqty:
  18404. description: 溢短数量
  18405. type: number
  18406. paymenttype:
  18407. description: 付款方式 - 1:冻结 2:扣款
  18408. type: integer
  18409. performanceplanid:
  18410. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18411. type: string
  18412. performancestatus:
  18413. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18414. 9:超时待处理 10:超时关闭
  18415. type: integer
  18416. performancetype:
  18417. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18418. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18419. type: integer
  18420. qty:
  18421. description: 履约数量
  18422. type: number
  18423. relatedorderid:
  18424. description: 关联单号(履约类型的关联单号)
  18425. type: string
  18426. remark:
  18427. description: 备注
  18428. type: string
  18429. sellaccountid:
  18430. description: 卖方账号
  18431. type: integer
  18432. sellerfreezeamount:
  18433. description: 履约冻结(卖履约)
  18434. type: number
  18435. sellerfreezeamountremain:
  18436. description: 履约冻结剩余(卖履约)
  18437. type: number
  18438. sellreceivedamount:
  18439. description: 卖方已收金额
  18440. type: number
  18441. sellusername:
  18442. description: 卖方名字
  18443. type: string
  18444. shipremark:
  18445. description: 发货备注[物流单号]
  18446. type: string
  18447. starttime:
  18448. description: 开始时间
  18449. type: string
  18450. steptypeid:
  18451. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18452. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18453. type: integer
  18454. typename:
  18455. description: 履约类型 名称
  18456. type: string
  18457. unpaidamount:
  18458. description: 剩余款(待支付金额)
  18459. type: number
  18460. userid:
  18461. description: 用户id
  18462. type: integer
  18463. warehouseid:
  18464. description: 仓库ID
  18465. type: integer
  18466. warehousename:
  18467. description: 仓库名称
  18468. type: string
  18469. wrfactortypeid:
  18470. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18471. type: string
  18472. wrfactortypename:
  18473. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18474. type: string
  18475. wrstandardcode:
  18476. description: 现货商品代码
  18477. type: string
  18478. wrstandardid:
  18479. description: 现货商品ID
  18480. type: integer
  18481. wrstandardname:
  18482. description: 商品名称
  18483. type: string
  18484. wrtransferuserid:
  18485. description: 仓单受让用户
  18486. type: integer
  18487. wrtypename:
  18488. description: 商品
  18489. type: string
  18490. required:
  18491. - userid
  18492. type: object
  18493. models.WrPerformancePlanStep:
  18494. properties:
  18495. delaydays:
  18496. description: 延期申请天数
  18497. type: integer
  18498. deliverygoodscode:
  18499. description: 品种代码
  18500. type: string
  18501. deliverygoodsid:
  18502. description: 品种ID
  18503. type: integer
  18504. deliverygoodsname:
  18505. description: 品种名称
  18506. type: string
  18507. endtime:
  18508. description: 结束日期
  18509. type: string
  18510. enumdicname:
  18511. description: 单位名称
  18512. type: string
  18513. executeside:
  18514. description: 步骤执行方 - 1:买方 2:卖方
  18515. type: integer
  18516. handlestatus:
  18517. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18518. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18519. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18520. type: integer
  18521. isauto:
  18522. description: 是否自动 - 0:不自动 1:自动
  18523. type: integer
  18524. islastreceivestep:
  18525. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18526. type: integer
  18527. minivalue:
  18528. description: 现货商品最小变动值
  18529. type: integer
  18530. optioncompare:
  18531. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18532. type: string
  18533. overdays:
  18534. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18535. type: integer
  18536. performancestepid:
  18537. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18538. type: string
  18539. planid:
  18540. description: 所属履约计划ID
  18541. type: string
  18542. realamount:
  18543. description: 实际完成金额
  18544. type: number
  18545. relatedorderid:
  18546. description: 关联单号
  18547. type: string
  18548. remaindays:
  18549. description: 剩余天数
  18550. type: integer
  18551. remark:
  18552. description: 错误备注
  18553. type: string
  18554. starttime:
  18555. description: 开始日期
  18556. type: string
  18557. stepamount:
  18558. description: 步骤金额
  18559. type: number
  18560. stepdays:
  18561. description: 距离上一步天数(分钟)
  18562. type: integer
  18563. stepindex:
  18564. description: 步骤序号
  18565. type: integer
  18566. steplanchtype:
  18567. description: 步骤启动类型 - 1:系统自动 2:手动
  18568. type: integer
  18569. stepremark:
  18570. description: 步骤备注
  18571. type: string
  18572. stepstatus:
  18573. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18574. type: integer
  18575. steptypeid:
  18576. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18577. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18578. type: integer
  18579. steptypename:
  18580. description: 步骤名称
  18581. type: string
  18582. stepvalue:
  18583. description: 步骤值
  18584. type: number
  18585. warehouseid:
  18586. description: 仓库ID
  18587. type: integer
  18588. warehousename:
  18589. description: 仓库名称
  18590. type: string
  18591. wrfactortypeid:
  18592. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18593. type: string
  18594. wrfactortypename:
  18595. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18596. type: string
  18597. wrstandardcode:
  18598. description: 现货商品代码
  18599. type: string
  18600. wrstandardid:
  18601. description: 现货商品ID
  18602. type: integer
  18603. wrstandardname:
  18604. description: 商品名称
  18605. type: string
  18606. wrtypename:
  18607. description: 商品
  18608. type: string
  18609. type: object
  18610. models.WrPerformanceStepType:
  18611. properties:
  18612. canauto:
  18613. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18614. type: integer
  18615. steptypeid:
  18616. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18617. type: integer
  18618. steptypename:
  18619. description: 步骤类型名称
  18620. type: string
  18621. type: object
  18622. models.WrPerformanceTemplateEx:
  18623. properties:
  18624. autoid:
  18625. description: AutoID 模板id
  18626. type: integer
  18627. createtime:
  18628. description: 创建时间
  18629. type: string
  18630. creatorid:
  18631. description: 创建人
  18632. type: integer
  18633. lstStep:
  18634. description: 步骤信息列表
  18635. items:
  18636. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18637. type: array
  18638. paymenttype:
  18639. description: 支付方式 - 1:冻结 2:扣款
  18640. type: integer
  18641. takemode:
  18642. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18643. type: integer
  18644. templatename:
  18645. description: 模板名称
  18646. type: string
  18647. templatetype:
  18648. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18649. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18650. type: integer
  18651. userid:
  18652. description: 所属用户
  18653. type: integer
  18654. type: object
  18655. models.WrPosition:
  18656. properties:
  18657. accountid:
  18658. description: 帐户ID
  18659. type: integer
  18660. buyexcuteqty:
  18661. description: 采购履约中数量
  18662. type: number
  18663. creditcurqty:
  18664. description: 授信当前数量(预售仓单:预售当前量)
  18665. type: number
  18666. creditenableqty:
  18667. description: '授信可用数量(预售仓单: 可用数量)'
  18668. type: number
  18669. creditfreezeqty:
  18670. description: '授信冻结数量(预售仓单: 当前数量)'
  18671. type: number
  18672. credittotalqty:
  18673. description: 授信总数量(预售仓单:预售总量)
  18674. type: number
  18675. credittradeqty:
  18676. description: 授信成交数量(预售仓单:成交总量)
  18677. type: number
  18678. deliverygoodscode:
  18679. description: 品种代码
  18680. type: string
  18681. deliverygoodsid:
  18682. description: 品种ID
  18683. type: integer
  18684. deliverygoodsname:
  18685. description: 品种名称
  18686. type: string
  18687. enalbeqty:
  18688. description: 可用数量
  18689. type: number
  18690. enumdicname:
  18691. description: 单位名称
  18692. type: string
  18693. freezeqty:
  18694. description: 总冻结数量
  18695. type: number
  18696. haswr:
  18697. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18698. type: integer
  18699. minivalue:
  18700. description: 现货商品最小变动值
  18701. type: integer
  18702. modifytime:
  18703. description: 修改时间(过户时间)
  18704. type: string
  18705. optioncompare:
  18706. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18707. type: string
  18708. pledgeqty:
  18709. description: 质押数量
  18710. type: number
  18711. querytype:
  18712. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18713. type: integer
  18714. sellexcuteqty:
  18715. description: 销售履约中数量
  18716. type: number
  18717. totalqty:
  18718. description: 总数量(库存数量)
  18719. type: number
  18720. warehouseid:
  18721. description: 仓库ID
  18722. type: integer
  18723. warehousename:
  18724. description: 仓库名称
  18725. type: string
  18726. wrfactortypeid:
  18727. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18728. type: string
  18729. wrfactortypename:
  18730. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18731. type: string
  18732. wrpositionid:
  18733. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18734. type: string
  18735. wrpositionno:
  18736. description: 仓单编号
  18737. type: string
  18738. wrstandardcode:
  18739. description: 现货商品代码
  18740. type: string
  18741. wrstandardid:
  18742. description: 现货商品ID
  18743. type: integer
  18744. wrstandardname:
  18745. description: 商品名称
  18746. type: string
  18747. wrtypename:
  18748. description: 商品
  18749. type: string
  18750. wruserid:
  18751. description: 持有人ID
  18752. type: integer
  18753. type: object
  18754. models.WrPreSaleInfo:
  18755. properties:
  18756. bannerpicurl:
  18757. description: Banner图
  18758. type: string
  18759. baseqty:
  18760. description: 中签基数
  18761. type: number
  18762. createtime:
  18763. description: 创建时间
  18764. type: string
  18765. deliverygoodsid:
  18766. description: 现货品种ID
  18767. type: integer
  18768. enddate:
  18769. description: 预售结束日期
  18770. type: string
  18771. enumdicname:
  18772. description: 单位名称
  18773. type: string
  18774. lotteryflag:
  18775. description: 摇号标识 - 0:未摇号 1:已摇号
  18776. type: integer
  18777. lotteryqty:
  18778. description: 摇号总量
  18779. type: number
  18780. luckyqty:
  18781. description: 已中签量
  18782. type: number
  18783. marketid:
  18784. description: 市场ID
  18785. type: integer
  18786. maxbuyqty:
  18787. description: 单人最大申购量
  18788. type: number
  18789. maxluckyqty:
  18790. description: 单人最大中签量
  18791. type: number
  18792. pictureurls:
  18793. description: 详情图片(逗号分隔)
  18794. type: string
  18795. placeqty:
  18796. description: 已配售量
  18797. type: number
  18798. presaleapplyid:
  18799. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18800. example: "0"
  18801. type: string
  18802. presaleqty:
  18803. description: 预售总量
  18804. type: number
  18805. presalestatus:
  18806. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18807. type: integer
  18808. sellaccountid:
  18809. description: 发行方资金账户ID
  18810. type: integer
  18811. selluserid:
  18812. description: 发行方用户ID
  18813. type: integer
  18814. sellwrtradeorderid:
  18815. description: 发行方卖委托单ID
  18816. type: string
  18817. startdate:
  18818. description: 预售开始日期
  18819. type: string
  18820. takestartdate:
  18821. description: 提货开始日期
  18822. type: string
  18823. thumurls:
  18824. description: 缩略图片(1:1)(逗号分隔)
  18825. type: string
  18826. tradedate:
  18827. description: 交易日
  18828. type: string
  18829. unitid:
  18830. description: 单位ID
  18831. type: integer
  18832. unitprice:
  18833. description: 商品单价
  18834. type: number
  18835. username:
  18836. description: 发行方用户名称
  18837. type: string
  18838. warehousecode:
  18839. description: 仓库代码(仓库简称)
  18840. type: string
  18841. warehouseid:
  18842. description: 仓库ID
  18843. type: integer
  18844. warehousename:
  18845. description: 仓库名称
  18846. type: string
  18847. wrfactortypeid:
  18848. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18849. example: "0"
  18850. type: string
  18851. wrstandardid:
  18852. description: 现货商品ID
  18853. type: integer
  18854. wrstandardname:
  18855. description: 现货商品名称
  18856. type: string
  18857. type: object
  18858. models.WrQuoteOrderMyq:
  18859. properties:
  18860. buyorsell:
  18861. description: 买卖 - 0:买 1:卖
  18862. type: integer
  18863. canbargain:
  18864. description: 是否可议价 - 0:不可 1:可
  18865. type: integer
  18866. canpart:
  18867. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18868. type: integer
  18869. delistminqty:
  18870. description: 起摘数量
  18871. type: number
  18872. deliverygoodscode:
  18873. description: 品种代码
  18874. type: string
  18875. deliverygoodsid:
  18876. description: 品种ID
  18877. type: integer
  18878. deliverygoodsname:
  18879. description: 品种名称
  18880. type: string
  18881. deliverymonth:
  18882. description: 交收月
  18883. type: string
  18884. enumdicname:
  18885. description: 单位名称
  18886. type: string
  18887. fixedprice:
  18888. description: 买(卖)价
  18889. type: number
  18890. goodscode:
  18891. description: 商品合约代码
  18892. type: string
  18893. marginflag:
  18894. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18895. type: integer
  18896. marginvalue:
  18897. description: 保证金设置值
  18898. type: number
  18899. minivalue:
  18900. description: 现货商品最小变动值
  18901. type: integer
  18902. orderqty:
  18903. description: 买(卖)量(=委托量-成交量)
  18904. type: number
  18905. ordertime:
  18906. description: 委托时间
  18907. type: string
  18908. performancetemplateid:
  18909. description: 履约模板id
  18910. type: integer
  18911. pricemove:
  18912. description: 买(卖)升贴水- 基差
  18913. type: number
  18914. templatename:
  18915. description: 履约模板名称
  18916. type: string
  18917. userid:
  18918. description: 购买方(销售方)用户ID
  18919. type: integer
  18920. username:
  18921. description: 购买方(销售方)
  18922. type: string
  18923. validtime:
  18924. description: 有效期限
  18925. type: string
  18926. validtype:
  18927. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18928. type: integer
  18929. warehousename:
  18930. description: 仓库名称
  18931. type: string
  18932. wrfactortypeid:
  18933. description: 仓单要素id
  18934. type: string
  18935. wrstandardcode:
  18936. description: 现货商品代码
  18937. type: string
  18938. wrstandardid:
  18939. description: 现货商品ID
  18940. type: integer
  18941. wrstandardname:
  18942. description: 商品名称
  18943. type: string
  18944. wrtradeorderid:
  18945. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18946. type: string
  18947. wrtypename:
  18948. description: 商品
  18949. type: string
  18950. type: object
  18951. models.WrReckonSpotGoodsTradeSum:
  18952. properties:
  18953. begindate:
  18954. description: 开始日期(结果含开始日期) yyyymmdd
  18955. type: string
  18956. enddate:
  18957. description: 结束日期(结果含结束日期) yyyymmdd
  18958. type: string
  18959. istoday:
  18960. description: 是否当日
  18961. type: boolean
  18962. marketid:
  18963. description: 市场ID
  18964. type: integer
  18965. price:
  18966. description: 价格 = 日成交金额 / 日成交数量
  18967. type: string
  18968. reckondate:
  18969. description: 日期 格式 yyyymmdd
  18970. type: string
  18971. tradeamount:
  18972. description: 日成交金额(当日单方向成交金额)
  18973. type: number
  18974. tradeqty:
  18975. description: 日成交数量(当日单方向成交数量)
  18976. type: number
  18977. wrstandardid:
  18978. description: 现货商品ID
  18979. type: integer
  18980. type: object
  18981. models.WrScfContract:
  18982. properties:
  18983. borroweruserid:
  18984. description: 借款用户ID
  18985. type: integer
  18986. buybackwrpositionqty:
  18987. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18988. type: number
  18989. closeinterest:
  18990. description: 已结利息 -> 已结费用
  18991. type: number
  18992. currisklevel:
  18993. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18994. type: integer
  18995. deadline:
  18996. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18997. type: string
  18998. deliverygoodscode:
  18999. description: 品种代码
  19000. type: string
  19001. deliverygoodsid:
  19002. description: 品种ID
  19003. type: integer
  19004. deliverygoodsname:
  19005. description: 品种名称
  19006. type: string
  19007. enumdicname:
  19008. description: 单位名称
  19009. type: string
  19010. financingdays:
  19011. description: 天数(天)
  19012. type: integer
  19013. initmargin:
  19014. description: 保证金 - [仓单回购]
  19015. type: number
  19016. interestamount:
  19017. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19018. type: number
  19019. interestdebt:
  19020. description: 利息欠款(记录负数) -> 费用欠款
  19021. type: number
  19022. interestminlen:
  19023. description: 最小起息天数
  19024. type: integer
  19025. interestrate:
  19026. description: 利率
  19027. type: number
  19028. interestratemode:
  19029. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19030. type: integer
  19031. interestsettlemode:
  19032. description: 结息方式 - 1:按日结息 3:按月结息
  19033. type: integer
  19034. interestsettlevalue:
  19035. description: 结息方式值
  19036. type: integer
  19037. isautoloan:
  19038. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19039. type: integer
  19040. lastcloseinterestday:
  19041. description: 最近结息日(yyyyMMdd)
  19042. type: string
  19043. lenderamount:
  19044. description: 贷款金额 -> 借款金额
  19045. type: number
  19046. lenderuserid:
  19047. description: 贷款方用户ID -> 融出方用户ID
  19048. type: integer
  19049. lenderusername:
  19050. description: 融出方
  19051. type: string
  19052. marginratio:
  19053. description: 保证金比率质押率 - [仓单质押]
  19054. type: number
  19055. marketid:
  19056. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19057. type: integer
  19058. minivalue:
  19059. description: 现货商品最小变动值
  19060. type: integer
  19061. optioncompare:
  19062. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19063. type: string
  19064. pricemove:
  19065. description: 估值升贴水值
  19066. type: number
  19067. productdetailid:
  19068. description: 产品组合ID
  19069. type: integer
  19070. productid:
  19071. description: 金融产品ID
  19072. type: integer
  19073. productname:
  19074. description: 产品名称
  19075. type: string
  19076. remainamount:
  19077. description: 合同剩余金额 -> 剩余金额
  19078. type: number
  19079. remainwrpositionqty:
  19080. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19081. type: number
  19082. remark:
  19083. description: 备注
  19084. type: string
  19085. scfcontractid:
  19086. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19087. type: string
  19088. scfcontractstatus:
  19089. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19090. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19091. type: integer
  19092. scfcontracttype:
  19093. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19094. type: integer
  19095. startinterestday:
  19096. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19097. type: string
  19098. totalinterest:
  19099. description: 已计利息 -> 已计费用
  19100. type: number
  19101. unpaidinterest:
  19102. description: 未结费用
  19103. type: number
  19104. updatetime:
  19105. description: 更新时间
  19106. type: string
  19107. warehouseid:
  19108. description: 仓库ID
  19109. type: integer
  19110. warehousename:
  19111. description: 仓库名称
  19112. type: string
  19113. wrfactortypeid:
  19114. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19115. type: string
  19116. wrfactortypename:
  19117. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19118. type: string
  19119. wrqty:
  19120. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19121. type: number
  19122. wrstandardcode:
  19123. description: 现货商品代码
  19124. type: string
  19125. wrstandardid:
  19126. description: 现货商品ID
  19127. type: integer
  19128. wrstandardname:
  19129. description: 商品名称
  19130. type: string
  19131. wrtypename:
  19132. description: 商品
  19133. type: string
  19134. type: object
  19135. models.WrScfContractInterest:
  19136. properties:
  19137. closeinterest:
  19138. description: 已结利息
  19139. type: number
  19140. closeintereststatus:
  19141. description: 结息状态 - 1:未结 2:已结
  19142. type: integer
  19143. closetime:
  19144. description: 结息时间
  19145. type: string
  19146. closetradedate:
  19147. description: 结息交易日
  19148. type: string
  19149. creatorid:
  19150. description: 操作人ID
  19151. type: integer
  19152. dayrate:
  19153. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19154. type: number
  19155. interest:
  19156. description: 利息
  19157. type: number
  19158. interestamount:
  19159. description: 计息金额
  19160. type: number
  19161. interestday:
  19162. description: 计息日(yyyyMMdd)
  19163. type: string
  19164. scfcontractid:
  19165. description: SCF合同ID
  19166. type: string
  19167. scfcontractinterestid:
  19168. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19169. type: integer
  19170. updatetime:
  19171. description: 更新时间
  19172. type: string
  19173. type: object
  19174. models.WrSearchUser:
  19175. properties:
  19176. userid:
  19177. description: 用户ID
  19178. type: integer
  19179. username:
  19180. description: 用户名称(已脱敏)
  19181. type: string
  19182. username2:
  19183. description: 用户名称(未脱敏)
  19184. type: string
  19185. usertype:
  19186. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19187. type: integer
  19188. required:
  19189. - username
  19190. type: object
  19191. models.WrSiteColumnDetail:
  19192. properties:
  19193. brief:
  19194. description: 简介
  19195. type: string
  19196. context:
  19197. description: 内容
  19198. type: string
  19199. coverimage:
  19200. description: 封面图片
  19201. type: string
  19202. creaedate:
  19203. description: 创建时间
  19204. type: string
  19205. id:
  19206. description: ID(SEQ_SITE_COLUMNDETAIL)
  19207. type: integer
  19208. istop:
  19209. description: 是否置顶 - 0:不置 1:置顶
  19210. type: integer
  19211. publishdate:
  19212. description: 发布日期
  19213. type: string
  19214. title:
  19215. description: 标题
  19216. type: string
  19217. updatedate:
  19218. description: 修改时间
  19219. type: string
  19220. type: object
  19221. models.WrSpecialMatchOrder:
  19222. properties:
  19223. amount:
  19224. description: 金额 = 数量 * 价格
  19225. type: number
  19226. buyorsell:
  19227. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19228. type: integer
  19229. cancelqty:
  19230. description: 撤销数量
  19231. type: number
  19232. deliverygoodscode:
  19233. description: 品种代码
  19234. type: string
  19235. deliverygoodsid:
  19236. description: 品种ID
  19237. type: integer
  19238. deliverygoodsname:
  19239. description: 品种名称
  19240. type: string
  19241. enumdicname:
  19242. description: 单位名称
  19243. type: string
  19244. fixedprice:
  19245. description: 固定价格(价格)
  19246. type: number
  19247. haswr:
  19248. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19249. type: integer
  19250. isspecified:
  19251. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19252. type: integer
  19253. marketid:
  19254. description: 市场ID
  19255. type: integer
  19256. matchuserid:
  19257. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19258. type: integer
  19259. matchusername:
  19260. description: 指定方
  19261. type: string
  19262. minivalue:
  19263. description: 现货商品最小变动值
  19264. type: integer
  19265. optioncompare:
  19266. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19267. type: string
  19268. orderqty:
  19269. description: 委托数量
  19270. type: number
  19271. ordertime:
  19272. description: 委托时间
  19273. type: string
  19274. pricemove:
  19275. description: 升贴水(浮动价时填写) - [挂牌]
  19276. type: number
  19277. tradedate:
  19278. description: 交易日(yyyyMMdd)
  19279. type: string
  19280. tradeprice:
  19281. description: 成交价格
  19282. type: number
  19283. tradeqty:
  19284. description: 成交数量
  19285. type: number
  19286. userid:
  19287. description: 用户ID
  19288. type: integer
  19289. username:
  19290. description: 发起方
  19291. type: string
  19292. warehouseid:
  19293. description: 仓库ID
  19294. type: integer
  19295. warehousename:
  19296. description: 仓库名称
  19297. type: string
  19298. wrfactortypeid:
  19299. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19300. type: string
  19301. wrfactortypename:
  19302. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19303. type: string
  19304. wrpricetype:
  19305. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19306. type: integer
  19307. wrstandardcode:
  19308. description: 现货商品代码
  19309. type: string
  19310. wrstandardid:
  19311. description: 现货商品ID
  19312. type: integer
  19313. wrstandardname:
  19314. description: 商品名称
  19315. type: string
  19316. wrtradeorderid:
  19317. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19318. type: string
  19319. wrtradeorderstatus:
  19320. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19321. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19322. type: integer
  19323. wrtradetype:
  19324. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19325. type: integer
  19326. wrtypename:
  19327. description: 商品
  19328. type: string
  19329. type: object
  19330. models.WrSpotGroupTradeSum:
  19331. properties:
  19332. deliverygoodscode:
  19333. description: 现货品种代码
  19334. type: string
  19335. deliverygoodsid:
  19336. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19337. type: integer
  19338. deliverygoodsname:
  19339. description: 现货品种名称
  19340. type: string
  19341. lastavgprice:
  19342. description: 上上个交易日价格(前2天价格)
  19343. type: string
  19344. lastreckondate:
  19345. description: 上上个交易日(前2天交易日)
  19346. type: string
  19347. reckondate:
  19348. description: 上个交易日(前1天交易日)
  19349. type: string
  19350. todayavgprice:
  19351. description: 上个交易日价格(前1天价格)
  19352. type: string
  19353. updown:
  19354. description: 涨跌
  19355. type: string
  19356. updownratio:
  19357. description: 涨幅(已格式化, 直接显示即可)
  19358. type: string
  19359. type: object
  19360. models.WrSpotGroupTradeSumDetail:
  19361. properties:
  19362. deliverygoodsid:
  19363. description: 现货商品id
  19364. type: integer
  19365. price:
  19366. description: 价格
  19367. type: number
  19368. reckondate:
  19369. description: 日期(yyymmdd, 如:20211031)
  19370. type: string
  19371. type: object
  19372. models.WrSpotGroupTradeSumEx:
  19373. properties:
  19374. lst:
  19375. description: 指数列表
  19376. items:
  19377. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19378. type: array
  19379. prereckondate:
  19380. description: 上上个交易日(yyymmdd)
  19381. type: string
  19382. reckondate:
  19383. description: 上个交易日(yyyymmdd)
  19384. type: string
  19385. type: object
  19386. models.WrStandardFactoryItem:
  19387. properties:
  19388. dgfactoryitemid:
  19389. description: 选择项id
  19390. type: integer
  19391. dgfactoryitemvalue:
  19392. description: 要素项值
  19393. type: string
  19394. warehouseid:
  19395. description: 仓库id
  19396. type: integer
  19397. type: object
  19398. models.WrStandardFactoryItemEx:
  19399. properties:
  19400. dgfactoryitemtypeid:
  19401. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19402. type: integer
  19403. itemlst:
  19404. description: 要素项列表
  19405. items:
  19406. $ref: '#/definitions/models.WrStandardFactoryItem'
  19407. type: array
  19408. itemtypename:
  19409. description: 要素项类型名称
  19410. type: string
  19411. wrstandardid:
  19412. description: 品类
  19413. type: integer
  19414. type: object
  19415. models.WrTradeDetail:
  19416. properties:
  19417. accountid:
  19418. description: 资金账号
  19419. type: integer
  19420. bannerpicurl:
  19421. description: Banner图
  19422. type: string
  19423. begindate:
  19424. description: 开始交易日(yyyymmdd)
  19425. type: string
  19426. buyorsell:
  19427. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19428. type: integer
  19429. chargevalue:
  19430. description: 手续费
  19431. type: number
  19432. deliverygoodscode:
  19433. description: 品种代码
  19434. type: string
  19435. deliverygoodsid:
  19436. description: 品种ID
  19437. type: integer
  19438. deliverygoodsname:
  19439. description: 品种名称
  19440. type: string
  19441. deliverymonth:
  19442. description: 交收月
  19443. type: string
  19444. enddate:
  19445. description: 结束交易日(yyyymmdd)
  19446. type: string
  19447. enumdicname:
  19448. description: 单位名称
  19449. type: string
  19450. haswr:
  19451. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19452. type: integer
  19453. marketid:
  19454. description: 市场ID
  19455. type: integer
  19456. matchaccountid:
  19457. description: 对手账号
  19458. type: integer
  19459. matchusername:
  19460. description: 对手方
  19461. type: string
  19462. minivalue:
  19463. description: 现货商品最小变动值
  19464. type: integer
  19465. optioncompare:
  19466. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19467. type: string
  19468. thumurls:
  19469. description: 缩略图
  19470. type: string
  19471. tradedate:
  19472. description: 交易日(yyyyMMdd)
  19473. type: string
  19474. tradeprice:
  19475. description: 成交价格
  19476. type: number
  19477. tradeqty:
  19478. description: 成交数量
  19479. type: number
  19480. tradetime:
  19481. description: 成交时间
  19482. type: string
  19483. userid:
  19484. description: 用户ID
  19485. type: integer
  19486. warehouseid:
  19487. description: 仓库ID
  19488. type: integer
  19489. warehousename:
  19490. description: 仓库名称
  19491. type: string
  19492. wrfactortypeid:
  19493. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19494. type: string
  19495. wrfactortypename:
  19496. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19497. type: string
  19498. wrstandardcode:
  19499. description: 现货商品代码
  19500. type: string
  19501. wrstandardid:
  19502. description: 现货商品ID
  19503. type: integer
  19504. wrstandardname:
  19505. description: 商品名称
  19506. type: string
  19507. wrtradedetailid:
  19508. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19509. type: string
  19510. wrtradetype:
  19511. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19512. type: integer
  19513. wrtypename:
  19514. description: 商品
  19515. type: string
  19516. type: object
  19517. models.WrTradeOrderDetail:
  19518. properties:
  19519. buyorsell:
  19520. description: 买卖方向 0-买 1-卖
  19521. type: integer
  19522. goodsid:
  19523. description: 商品id
  19524. type: integer
  19525. orderid:
  19526. description: 委托单号
  19527. type: string
  19528. orderprice:
  19529. description: 委托价格
  19530. type: number
  19531. orderqty:
  19532. description: 委托数量
  19533. type: integer
  19534. userid:
  19535. description: 用户id
  19536. type: integer
  19537. username:
  19538. description: 用户名称(已脱敏)
  19539. type: string
  19540. type: object
  19541. models.WrTypeItem:
  19542. properties:
  19543. name:
  19544. description: 名称
  19545. type: string
  19546. value:
  19547. description: 值
  19548. type: string
  19549. type: object
  19550. models.WrUserFriend:
  19551. properties:
  19552. friendname:
  19553. description: 朋友名称(已脱敏)
  19554. type: string
  19555. frienduserid:
  19556. description: 朋友id
  19557. type: integer
  19558. isfriend:
  19559. description: 是否好友 0-不是 1-是
  19560. type: integer
  19561. userid:
  19562. description: 用户id
  19563. type: integer
  19564. type: object
  19565. models.WrUserReceiptInfo:
  19566. properties:
  19567. address:
  19568. description: 地址[发票类型:企业]
  19569. type: string
  19570. autoid:
  19571. description: AutoID
  19572. type: integer
  19573. contactinfo:
  19574. description: 联系方式
  19575. type: string
  19576. idnum:
  19577. description: 身份证号码[发票类型:个人]
  19578. type: string
  19579. isdefault:
  19580. description: 是否默认地址 - 0:否 1:是
  19581. type: integer
  19582. receiptaccount:
  19583. description: 发票帐号[发票类型:企业]
  19584. type: string
  19585. receiptbank:
  19586. description: 发票开户行[发票类型:企业]
  19587. type: string
  19588. receipttype:
  19589. description: 发票类型 - 1:个人 2:企业
  19590. type: integer
  19591. taxpayerid:
  19592. description: 纳税人识别号
  19593. type: string
  19594. userid:
  19595. description: 用户ID
  19596. type: integer
  19597. username:
  19598. description: 户名(个人姓名或企业名称)
  19599. type: string
  19600. type: object
  19601. models.Wrtradetradequote:
  19602. properties:
  19603. begindate:
  19604. description: 开始日期(结果含开始日期) yyyymmdd
  19605. type: string
  19606. buyaccountid:
  19607. description: 买方账号ID
  19608. type: integer
  19609. buyuserid:
  19610. description: 买方用户ID
  19611. type: integer
  19612. deliverygoodsid:
  19613. description: 现货品种ID
  19614. type: integer
  19615. enddate:
  19616. description: 结束日期(结果含结束日期) yyyymmdd
  19617. type: string
  19618. marketid:
  19619. description: 市场ID
  19620. type: integer
  19621. sellaccountid:
  19622. description: 卖方账号ID
  19623. type: integer
  19624. selluserid:
  19625. description: 卖方用户ID
  19626. type: integer
  19627. tradeamount:
  19628. description: 成交金额
  19629. type: number
  19630. tradedate:
  19631. description: 交易日(yyyyMMdd)
  19632. type: string
  19633. tradeprice:
  19634. description: 成交价格
  19635. type: number
  19636. tradeqty:
  19637. description: 成交数量
  19638. type: integer
  19639. tradetime:
  19640. description: 成交时间
  19641. type: string
  19642. wrfactortypeid:
  19643. description: 仓单要素类型ID
  19644. type: integer
  19645. wrstandardid:
  19646. description: 现货商品ID
  19647. type: integer
  19648. wrtradedetailid:
  19649. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19650. type: string
  19651. type: object
  19652. models.XHBRAND:
  19653. properties:
  19654. brandid:
  19655. description: 品牌id
  19656. type: integer
  19657. brandname:
  19658. description: 品牌名称
  19659. type: string
  19660. isvalid:
  19661. description: 是否有效 0-无效 1-有效
  19662. type: integer
  19663. type: object
  19664. models.XHDeliveryGoods:
  19665. properties:
  19666. areauserid:
  19667. description: 所属机构
  19668. type: integer
  19669. bdlst:
  19670. description: 品牌列表
  19671. items:
  19672. $ref: '#/definitions/models.XHBRAND'
  19673. type: array
  19674. deliverygoodscode:
  19675. description: 现货品种代码
  19676. type: string
  19677. deliverygoodsid:
  19678. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19679. type: integer
  19680. deliverygoodsname:
  19681. description: 现货品种名称
  19682. type: string
  19683. dgstatus:
  19684. description: 品种状态 - 作废 - 0:未激活 1:正常
  19685. type: integer
  19686. filterSubEmpty:
  19687. description: 过滤下级为空的
  19688. type: integer
  19689. isvalid:
  19690. description: 是否有效 - 0:无效 1:有效
  19691. type: integer
  19692. remark:
  19693. description: 备注
  19694. type: string
  19695. unitid:
  19696. description: 单位id(目前看,数据库中是空值)
  19697. type: integer
  19698. wdlst:
  19699. description: 品类(现货商品)列表
  19700. items:
  19701. $ref: '#/definitions/models.XHWrstandard'
  19702. type: array
  19703. type: object
  19704. models.XHMiddleGoods:
  19705. properties:
  19706. GPLST:
  19707. description: 期货品种列表
  19708. items:
  19709. $ref: '#/definitions/models.TBGoodsGroup'
  19710. type: array
  19711. convertratio:
  19712. description: 拆算系数
  19713. type: number
  19714. costratio:
  19715. description: 成本权重
  19716. type: number
  19717. deliverygoodsid:
  19718. description: 现货商品id
  19719. type: integer
  19720. enumdicname:
  19721. description: 单位名称
  19722. type: string
  19723. middlegoodscode:
  19724. description: 套保品种代码
  19725. type: string
  19726. middlegoodsid:
  19727. description: 套保品种id
  19728. type: integer
  19729. middlegoodsname:
  19730. description: 套保品种名称
  19731. type: string
  19732. unitid:
  19733. description: 单位id
  19734. type: integer
  19735. type: object
  19736. models.XHWrstandard:
  19737. properties:
  19738. bannerpicurl:
  19739. description: banner图
  19740. type: string
  19741. deliverygoodsid:
  19742. description: 品种ID
  19743. type: integer
  19744. enumdicname:
  19745. description: 单位名称
  19746. type: string
  19747. mglst:
  19748. description: 套保品列表
  19749. items:
  19750. $ref: '#/definitions/models.XHMiddleGoods'
  19751. type: array
  19752. pictureurls:
  19753. description: 详情图片(逗号分隔)
  19754. type: string
  19755. thumurls:
  19756. description: 缩略图片(1:1)(逗号分隔)
  19757. type: string
  19758. unitid:
  19759. description: 单位id
  19760. type: integer
  19761. vatrate:
  19762. description: 增值税率
  19763. type: number
  19764. wrstandardcode:
  19765. description: 现货商品代码
  19766. type: string
  19767. wrstandardid:
  19768. description: 现货商品ID(SEQ_WRSTANDARD)
  19769. type: integer
  19770. wrstandardname:
  19771. description: 现货商品名称
  19772. type: string
  19773. type: object
  19774. models.XhcpSellBackApplyEx:
  19775. properties:
  19776. applyremark:
  19777. description: 申请备注
  19778. type: string
  19779. expirytype:
  19780. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19781. type: integer
  19782. goodsspec:
  19783. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19784. type: integer
  19785. holeflag:
  19786. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19787. type: integer
  19788. isunopened:
  19789. description: 是否原封 - 1:否 2:是
  19790. type: integer
  19791. mpflag:
  19792. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19793. type: integer
  19794. openflag:
  19795. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19796. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19797. type: integer
  19798. phonenum:
  19799. description: 联系电话
  19800. type: string
  19801. userid:
  19802. description: 所属用户ID
  19803. type: integer
  19804. zpflag:
  19805. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19806. type: integer
  19807. required:
  19808. - userid
  19809. type: object
  19810. models.Xhcpsellbackapply:
  19811. properties:
  19812. applyid:
  19813. description: 申请人
  19814. type: integer
  19815. applyremark:
  19816. description: 申请备注
  19817. type: string
  19818. applysrc:
  19819. description: 申请来源 - 1:管理端 2:终端
  19820. type: integer
  19821. applystatus:
  19822. description: 申请状态 - 1:待确认 2:已处理
  19823. type: integer
  19824. applytime:
  19825. description: 申请时间
  19826. type: string
  19827. auditremark:
  19828. description: 审核备注
  19829. type: string
  19830. auditsrc:
  19831. description: 审核来源 - 1:管理端 2:终端
  19832. type: integer
  19833. expirytype:
  19834. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19835. type: integer
  19836. goodsspec:
  19837. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19838. type: integer
  19839. holeflag:
  19840. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19841. type: integer
  19842. isunopened:
  19843. description: 是否原封 - 1:否 2:是
  19844. type: integer
  19845. mpflag:
  19846. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19847. type: integer
  19848. openflag:
  19849. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19850. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19851. type: integer
  19852. phonenum:
  19853. description: 联系电话
  19854. type: string
  19855. sellbackapplyid:
  19856. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19857. type: string
  19858. userid:
  19859. description: 所属用户ID
  19860. type: integer
  19861. zpflag:
  19862. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19863. type: integer
  19864. required:
  19865. - userid
  19866. type: object
  19867. order.QueryHisTradeDetailRsp:
  19868. properties:
  19869. accountid:
  19870. description: 账户ID[报价币种]
  19871. type: integer
  19872. advanceratio:
  19873. description: 首付比率
  19874. type: number
  19875. buildtype:
  19876. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19877. type: integer
  19878. buyorsell:
  19879. description: 方向 - 0:买 1:卖
  19880. type: integer
  19881. charge:
  19882. description: 手续费
  19883. type: number
  19884. closecharge:
  19885. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19886. type: number
  19887. closeexchagechargevalue:
  19888. description: 平仓交易所手续费设置值
  19889. type: number
  19890. closefeealgorithm:
  19891. description: 平仓手续费收取方式 1:比率 2:固定
  19892. type: integer
  19893. closememberchargevalue:
  19894. description: 平仓会员手续费设置值
  19895. type: number
  19896. closepl:
  19897. description: 平仓盈亏
  19898. type: number
  19899. closepl2:
  19900. description: 平仓盈亏[逐笔]
  19901. type: number
  19902. closeqty:
  19903. description: 平仓数量(先建后平操作 需要记录)
  19904. type: number
  19905. creditamount:
  19906. description: 授信金额
  19907. type: number
  19908. decimalplace:
  19909. description: 商品报价小数位
  19910. type: integer
  19911. enumdicname:
  19912. description: 单位名称
  19913. type: string
  19914. gcaccountid:
  19915. description: 账户ID[合约币种]
  19916. type: integer
  19917. goodscode:
  19918. description: 商品代码
  19919. type: string
  19920. goodsid:
  19921. description: 商品ID
  19922. type: integer
  19923. goodsname:
  19924. description: 商品名称
  19925. type: string
  19926. goodunitid:
  19927. description: 商品单位id
  19928. type: integer
  19929. histradedate:
  19930. description: 历史交易日
  19931. type: string
  19932. intclosepl:
  19933. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19934. type: integer
  19935. isconfirmexercise:
  19936. description: 是否确认行权- 0:否 1:是
  19937. type: integer
  19938. ismain:
  19939. description: 是否主单 - 0:不是 1:是
  19940. type: integer
  19941. ispreexercise:
  19942. description: 是否预申报- 0:否 1:是
  19943. type: integer
  19944. isreckoned:
  19945. description: 是否结算 - 0:未结算 1:已结算
  19946. type: integer
  19947. isvaliddata:
  19948. description: 是否有效 - 0:无效 1:有效
  19949. type: integer
  19950. listingselecttype:
  19951. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19952. type: integer
  19953. marketid:
  19954. description: 市场ID
  19955. type: integer
  19956. marketname:
  19957. description: 市场名称
  19958. type: string
  19959. matchaccountid:
  19960. description: 对手账号id
  19961. type: integer
  19962. memberuserid:
  19963. description: 会员id 个人投资者 需要填写
  19964. type: integer
  19965. opencharge:
  19966. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19967. type: number
  19968. openexchagechargevalue:
  19969. description: 建仓交易所手续费设置值
  19970. type: number
  19971. openfeealgorithm:
  19972. description: 建仓手续费收取方式 1:比率 2:固定
  19973. type: integer
  19974. openmemberchargevalue:
  19975. description: 建仓会员手续费设置值
  19976. type: number
  19977. openqty:
  19978. description: 开仓数量(先建后平操作 需要记录)
  19979. type: number
  19980. optiontype:
  19981. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19982. type: integer
  19983. orderid:
  19984. description: 委托单号
  19985. type: string
  19986. payamount:
  19987. description: 支付金额(付款金额)
  19988. type: number
  19989. performanceplanid:
  19990. description: 履约计划ID[期权]
  19991. type: integer
  19992. performancestatus:
  19993. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19994. type: integer
  19995. preexerciseprice:
  19996. description: 预申报价格
  19997. type: number
  19998. premium:
  19999. description: 权利金 - [持仓单的权利金]
  20000. type: number
  20001. qtydecimalplace:
  20002. description: 商品报价小数位
  20003. type: integer
  20004. recvamount:
  20005. description: 到账金额 = 成交金额 - 手续费
  20006. type: number
  20007. relatedouttradeid:
  20008. description: 关联外部成交单ID
  20009. type: integer
  20010. status:
  20011. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20012. type: integer
  20013. totalamount:
  20014. description: 订单总额 = 成交金额 + 手续费
  20015. type: number
  20016. tradeamount:
  20017. description: 成交金额[账户币种,用于所有权]
  20018. type: number
  20019. tradedate:
  20020. description: 交易日(yyyyMMdd)
  20021. type: string
  20022. tradeid:
  20023. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20024. type: string
  20025. trademode:
  20026. description: 交易模式
  20027. type: integer
  20028. tradeprice:
  20029. description: 成交价格
  20030. type: number
  20031. tradeproperty:
  20032. description: 交易属性
  20033. type: integer
  20034. tradeqty:
  20035. description: 成交数量
  20036. type: number
  20037. tradetime:
  20038. description: 成交时间
  20039. type: string
  20040. tradetype:
  20041. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20042. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20043. type: integer
  20044. required:
  20045. - accountid
  20046. - buyorsell
  20047. - goodsid
  20048. - histradedate
  20049. - marketid
  20050. - memberuserid
  20051. - orderid
  20052. - tradeamount
  20053. - tradedate
  20054. - tradeid
  20055. - tradeprice
  20056. - tradeqty
  20057. - tradetime
  20058. type: object
  20059. order.QueryHisTradeOrderDetailRsp:
  20060. properties:
  20061. accountid:
  20062. description: 账户ID[报价币种]
  20063. type: integer
  20064. buildtype:
  20065. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20066. type: integer
  20067. buyorsell:
  20068. description: 买卖 - 0:买 1:卖
  20069. type: integer
  20070. cancelorderid:
  20071. description: 撤单单号(撤单时填写)
  20072. type: string
  20073. cancelqty:
  20074. description: 撤单数量
  20075. type: number
  20076. clientordertime:
  20077. description: 客户端委托时间
  20078. type: string
  20079. clientticket:
  20080. description: 客户端流水号
  20081. type: string
  20082. clienttype:
  20083. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20084. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20085. type: integer
  20086. closeexchagechargevalue:
  20087. description: 平仓交易所手续费设置值
  20088. type: number
  20089. closefeealgorithm:
  20090. description: 平仓手续费收取方式 1:比率 2:固定
  20091. type: integer
  20092. closefreezecharge:
  20093. description: 平仓冻结手续费(先建后平操作,需要记录)
  20094. type: number
  20095. closememberchargevalue:
  20096. description: 平仓会员手续费设置值
  20097. type: number
  20098. closeqty:
  20099. description: 平仓数量(先建后平操作 需要记录)
  20100. type: number
  20101. closetradeqty:
  20102. description: 平仓成交数量(先建后平操作,需要记录)
  20103. type: number
  20104. closeunfreezecharge:
  20105. description: 平仓解冻手续费(先建后平操作,需要记录)
  20106. type: number
  20107. decimalplace:
  20108. description: 商品报价小数位
  20109. type: integer
  20110. delistingtype:
  20111. description: 摘牌类型 - 1:价格最优 2:点选成交
  20112. type: integer
  20113. enumdicname:
  20114. description: 单位名称
  20115. type: string
  20116. freezecharge:
  20117. description: 冻结手续费
  20118. type: number
  20119. freezemargin:
  20120. description: 冻结保证金(冻结交易金额)
  20121. type: number
  20122. gcaccountid:
  20123. description: 账户ID[合约币种]
  20124. type: integer
  20125. goodscode:
  20126. description: 商品代码
  20127. type: string
  20128. goodsid:
  20129. description: 商品ID
  20130. type: integer
  20131. goodsname:
  20132. description: 商品名称
  20133. type: string
  20134. goodunitid:
  20135. description: 商品单位id
  20136. type: integer
  20137. histradedate:
  20138. description: 历史交易日
  20139. type: string
  20140. isconfirmexercise:
  20141. description: 是否确认行权- 0:否 1:是
  20142. type: integer
  20143. ispreexercise:
  20144. description: 是否预申报- 0:否 1:是
  20145. type: integer
  20146. isvaliddata:
  20147. description: 是否有效 - 0:无效 1:有效
  20148. type: integer
  20149. listingselecttype:
  20150. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20151. type: integer
  20152. marginalgorithm:
  20153. description: 保证金收取方式 1:比率 2:固定
  20154. type: integer
  20155. marginvalue:
  20156. description: 即市保证金设置值
  20157. type: number
  20158. marketid:
  20159. description: 市场ID
  20160. type: integer
  20161. marketmaxsub:
  20162. description: 市价最大偏移范围
  20163. type: number
  20164. marketname:
  20165. description: 市场名称
  20166. type: string
  20167. memberuserid:
  20168. description: 所属会员UserID
  20169. type: integer
  20170. openexchagechargevalue:
  20171. description: 建仓交易所手续费设置值
  20172. type: number
  20173. openfeealgorithm:
  20174. description: 建仓手续费收取方式 1:比率 2:固定
  20175. type: integer
  20176. openfreezecharge:
  20177. description: 开仓冻结手续费(先建后平操作,需要记录)
  20178. type: number
  20179. openmemberchargevalue:
  20180. description: 建仓会员手续费设置值
  20181. type: number
  20182. openqty:
  20183. description: 开仓数量(先建后平操作,需要记录)
  20184. type: number
  20185. opentradeqty:
  20186. description: 开仓成交数量(先建后平操作,需要记录)
  20187. type: number
  20188. openunfreezecharge:
  20189. description: 开仓解冻手续费(先建后平操作,需要记录)
  20190. type: number
  20191. operatetype:
  20192. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20193. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20194. 15:管理端协议转让
  20195. type: integer
  20196. operatorid:
  20197. description: 登录账号(LoginID)
  20198. type: integer
  20199. optiontype:
  20200. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20201. type: integer
  20202. orderid:
  20203. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20204. type: string
  20205. orderprice:
  20206. description: 委托价格
  20207. type: number
  20208. orderqty:
  20209. description: 委托数量
  20210. type: number
  20211. ordersrc:
  20212. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20213. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20214. type: integer
  20215. orderstatus:
  20216. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20217. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20218. 16:成交失败违约(荷兰式竞拍专用)
  20219. type: integer
  20220. ordertime:
  20221. description: 委托时间
  20222. type: string
  20223. preexerciseprice:
  20224. description: 预申报价格
  20225. type: number
  20226. premium:
  20227. description: 权利金
  20228. type: number
  20229. preorderid:
  20230. description: 关联预埋单号(止盈止损单时填写)
  20231. type: string
  20232. pricemode:
  20233. description: '取价方式 - 1:市价 2: 限价'
  20234. type: integer
  20235. qtydecimalplace:
  20236. description: 成交量小数位
  20237. type: integer
  20238. quoteid:
  20239. description: 报价单ID
  20240. type: integer
  20241. relatedid:
  20242. description: 关联单号(交割单)
  20243. type: string
  20244. retcode:
  20245. description: 错误代码
  20246. type: integer
  20247. sessionid:
  20248. description: 会话ID
  20249. type: integer
  20250. tradedate:
  20251. description: 交易日(yyyyMMdd)
  20252. type: string
  20253. trademode:
  20254. description: 交易模式
  20255. type: integer
  20256. tradeproperty:
  20257. description: 交易属性
  20258. type: integer
  20259. tradeqty:
  20260. description: 成交数量
  20261. type: number
  20262. unfreezecharge:
  20263. description: 解冻手续费
  20264. type: number
  20265. unfreezemargin:
  20266. description: 解冻保证金
  20267. type: number
  20268. updatetime:
  20269. description: 更新时间
  20270. type: string
  20271. uuid:
  20272. description: 发起端唯一id
  20273. type: string
  20274. validtime:
  20275. description: 有效期限
  20276. type: string
  20277. validtype:
  20278. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20279. type: integer
  20280. volumetype:
  20281. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20282. type: integer
  20283. required:
  20284. - accountid
  20285. - buildtype
  20286. - buyorsell
  20287. - goodsid
  20288. - histradedate
  20289. - marketid
  20290. - memberuserid
  20291. - operatetype
  20292. - orderid
  20293. - orderqty
  20294. - ordertime
  20295. - pricemode
  20296. - tradedate
  20297. - validtype
  20298. type: object
  20299. order.QueryTradeDetailRsp:
  20300. properties:
  20301. accountid:
  20302. description: 账户ID[报价币种]
  20303. type: integer
  20304. advanceratio:
  20305. description: 首付比率
  20306. type: number
  20307. buildtype:
  20308. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20309. type: integer
  20310. buyorsell:
  20311. description: 方向 - 0:买 1:卖
  20312. type: integer
  20313. charge:
  20314. description: 手续费
  20315. type: number
  20316. closecharge:
  20317. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20318. type: number
  20319. closeexchagechargevalue:
  20320. description: 平仓交易所手续费设置值
  20321. type: number
  20322. closefeealgorithm:
  20323. description: 平仓手续费收取方式 1:比率 2:固定
  20324. type: integer
  20325. closememberchargevalue:
  20326. description: 平仓会员手续费设置值
  20327. type: number
  20328. closepl:
  20329. description: 平仓盈亏
  20330. type: number
  20331. closepl2:
  20332. description: 平仓盈亏[逐笔]
  20333. type: number
  20334. closeqty:
  20335. description: 平仓数量(先建后平操作 需要记录)
  20336. type: number
  20337. creditamount:
  20338. description: 授信金额
  20339. type: number
  20340. decimalplace:
  20341. description: 商品报价小数位
  20342. type: integer
  20343. enumdicname:
  20344. description: 单位名称
  20345. type: string
  20346. gcaccountid:
  20347. description: 账户ID[合约币种]
  20348. type: integer
  20349. goodscode:
  20350. description: 商品代码
  20351. type: string
  20352. goodsid:
  20353. description: 商品ID
  20354. type: integer
  20355. goodsname:
  20356. description: 商品名称
  20357. type: string
  20358. goodunitid:
  20359. description: 商品单位id
  20360. type: integer
  20361. intclosepl:
  20362. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20363. type: integer
  20364. isconfirmexercise:
  20365. description: 是否确认行权- 0:否 1:是
  20366. type: integer
  20367. ismain:
  20368. description: 是否主单 - 0:不是 1:是
  20369. type: integer
  20370. ispreexercise:
  20371. description: 是否预申报- 0:否 1:是
  20372. type: integer
  20373. isreckoned:
  20374. description: 是否结算 - 0:未结算 1:已结算
  20375. type: integer
  20376. listingselecttype:
  20377. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20378. type: integer
  20379. marketid:
  20380. description: 市场ID
  20381. type: integer
  20382. marketname:
  20383. description: 市场名称
  20384. type: string
  20385. matchaccountid:
  20386. description: 对手账号id
  20387. type: integer
  20388. memberuserid:
  20389. description: 会员id 个人投资者 需要填写
  20390. type: integer
  20391. opencharge:
  20392. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20393. type: number
  20394. openexchagechargevalue:
  20395. description: 建仓交易所手续费设置值
  20396. type: number
  20397. openfeealgorithm:
  20398. description: 建仓手续费收取方式 1:比率 2:固定
  20399. type: integer
  20400. openmemberchargevalue:
  20401. description: 建仓会员手续费设置值
  20402. type: number
  20403. openqty:
  20404. description: 开仓数量(先建后平操作 需要记录)
  20405. type: number
  20406. optiontype:
  20407. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20408. type: integer
  20409. orderid:
  20410. description: 委托单号
  20411. type: string
  20412. payamount:
  20413. description: 支付金额(付款金额)
  20414. type: number
  20415. performanceplanid:
  20416. description: 履约计划ID[期权]
  20417. type: integer
  20418. performancestatus:
  20419. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20420. type: integer
  20421. preexerciseprice:
  20422. description: 预申报价格
  20423. type: number
  20424. premium:
  20425. description: 权利金 - [持仓单的权利金]
  20426. type: number
  20427. qtydecimalplace:
  20428. description: 商品报价小数位
  20429. type: integer
  20430. recvamount:
  20431. description: 到账金额 = 成交金额 - 手续费
  20432. type: number
  20433. relatedouttradeid:
  20434. description: 关联外部成交单ID
  20435. type: integer
  20436. status:
  20437. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20438. type: integer
  20439. totalamount:
  20440. description: 订单总额 = 成交金额 + 手续费
  20441. type: number
  20442. tradeamount:
  20443. description: 成交金额[账户币种,用于所有权]
  20444. type: number
  20445. tradedate:
  20446. description: 交易日(yyyyMMdd)
  20447. type: string
  20448. tradeid:
  20449. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20450. type: string
  20451. trademode:
  20452. description: 交易模式
  20453. type: integer
  20454. tradeprice:
  20455. description: 成交价格
  20456. type: number
  20457. tradeproperty:
  20458. description: 交易属性
  20459. type: integer
  20460. tradeqty:
  20461. description: 成交数量
  20462. type: number
  20463. tradetime:
  20464. description: 成交时间
  20465. type: string
  20466. tradetype:
  20467. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20468. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20469. type: integer
  20470. required:
  20471. - accountid
  20472. - buyorsell
  20473. - goodsid
  20474. - marketid
  20475. - memberuserid
  20476. - orderid
  20477. - tradeamount
  20478. - tradedate
  20479. - tradeid
  20480. - tradeprice
  20481. - tradeqty
  20482. - tradetime
  20483. type: object
  20484. order.QueryTradeOrderDetailRsp:
  20485. properties:
  20486. accountid:
  20487. description: 账户ID[报价币种]
  20488. type: integer
  20489. buildtype:
  20490. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20491. type: integer
  20492. buyorsell:
  20493. description: 买卖 - 0:买 1:卖
  20494. type: integer
  20495. cancelorderid:
  20496. description: 撤单单号(撤单时填写)
  20497. type: string
  20498. cancelqty:
  20499. description: 撤单数量
  20500. type: number
  20501. clienttype:
  20502. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20503. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20504. type: integer
  20505. closefreezecharge:
  20506. description: 平仓冻结手续费(先建后平操作,需要记录)
  20507. type: number
  20508. closeqty:
  20509. description: 平仓数量(先建后平操作 需要记录)
  20510. type: number
  20511. closetradeqty:
  20512. description: 平仓成交数量(先建后平操作,需要记录)
  20513. type: number
  20514. closeunfreezecharge:
  20515. description: 平仓解冻手续费(先建后平操作,需要记录)
  20516. type: number
  20517. decimalplace:
  20518. description: 商品报价小数位
  20519. type: integer
  20520. delistingtype:
  20521. description: 摘牌类型 - 1:价格最优 2:点选成交
  20522. type: integer
  20523. enableqty:
  20524. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20525. type: number
  20526. enumdicname:
  20527. description: 单位名称
  20528. type: string
  20529. freezecharge:
  20530. description: 冻结手续费
  20531. type: number
  20532. freezemargin:
  20533. description: 冻结保证金(冻结交易金额)
  20534. type: number
  20535. goodscode:
  20536. description: 商品代码
  20537. type: string
  20538. goodsid:
  20539. description: 商品ID
  20540. type: integer
  20541. goodsname:
  20542. description: 商品名称
  20543. type: string
  20544. goodunitid:
  20545. description: 商品单位id
  20546. type: integer
  20547. listingselecttype:
  20548. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20549. type: integer
  20550. marketid:
  20551. description: 市场ID
  20552. type: integer
  20553. marketname:
  20554. description: 市场名称
  20555. type: string
  20556. openfreezecharge:
  20557. description: 开仓冻结手续费(先建后平操作,需要记录)
  20558. type: number
  20559. openqty:
  20560. description: 开仓数量(先建后平操作,需要记录)
  20561. type: number
  20562. opentradeqty:
  20563. description: 开仓成交数量(先建后平操作,需要记录)
  20564. type: number
  20565. openunfreezecharge:
  20566. description: 开仓解冻手续费(先建后平操作,需要记录)
  20567. type: number
  20568. operatetype:
  20569. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20570. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20571. 15:管理端协议转让
  20572. type: integer
  20573. operatorid:
  20574. description: 登录账号(LoginID)
  20575. type: integer
  20576. orderid:
  20577. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20578. type: string
  20579. orderprice:
  20580. description: 委托价格
  20581. type: number
  20582. orderqty:
  20583. description: 委托数量
  20584. type: number
  20585. ordersrc:
  20586. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20587. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20588. type: integer
  20589. orderstatus:
  20590. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20591. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20592. 16:成交失败违约(荷兰式竞拍专用)
  20593. type: integer
  20594. ordertime:
  20595. description: 委托时间
  20596. type: string
  20597. preorderid:
  20598. description: 关联预埋单号(止盈止损单时填写)
  20599. type: string
  20600. pricemode:
  20601. description: '取价方式 - 1:市价 2: 限价'
  20602. type: integer
  20603. qtydecimalplace:
  20604. description: 商品报价小数位
  20605. type: integer
  20606. relatedid:
  20607. description: 关联单号(交割单)
  20608. type: string
  20609. tradedate:
  20610. description: 交易日(yyyyMMdd)
  20611. type: string
  20612. trademode:
  20613. description: 交易模式
  20614. type: integer
  20615. tradeqty:
  20616. description: 成交数量
  20617. type: number
  20618. unfreezecharge:
  20619. description: 解冻手续费
  20620. type: number
  20621. unfreezemargin:
  20622. description: 解冻保证金
  20623. type: number
  20624. validtime:
  20625. description: 有效期限
  20626. type: string
  20627. validtype:
  20628. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20629. type: integer
  20630. volumetype:
  20631. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20632. type: integer
  20633. required:
  20634. - accountid
  20635. - buildtype
  20636. - buyorsell
  20637. - goodsid
  20638. - marketid
  20639. - operatetype
  20640. - orderqty
  20641. - ordertime
  20642. - pricemode
  20643. - tradedate
  20644. - validtype
  20645. type: object
  20646. order.QueryTradePositionRsp:
  20647. properties:
  20648. accountid:
  20649. description: 资金账户
  20650. type: integer
  20651. agreeunit:
  20652. description: 合约单位
  20653. type: number
  20654. averageprice:
  20655. description: 持仓均价
  20656. type: number
  20657. buyorsell:
  20658. description: 方向 - 0:买 1:卖
  20659. type: integer
  20660. closetotalqty:
  20661. description: 平仓总数量
  20662. type: number
  20663. curholderamount:
  20664. description: 当前持仓总金额[商品币种]
  20665. type: number
  20666. curpositionqty:
  20667. description: 当前持仓总数量
  20668. type: number
  20669. currencyid:
  20670. description: 报价货币ID
  20671. type: integer
  20672. curtdposition:
  20673. description: 期末今日头寸
  20674. type: number
  20675. decimalplace:
  20676. description: 报价小数位
  20677. type: integer
  20678. enableqty:
  20679. description: 可用量
  20680. type: number
  20681. fretdposition:
  20682. description: 冻结今日头寸
  20683. type: number
  20684. frozenqty:
  20685. description: 持仓冻结数量
  20686. type: number
  20687. goodscode:
  20688. description: 商品代码
  20689. type: string
  20690. goodsid:
  20691. description: 商品Id
  20692. type: integer
  20693. goodsname:
  20694. description: 商品名称
  20695. type: string
  20696. goodunit:
  20697. description: 报价单位
  20698. type: string
  20699. goodunitid:
  20700. description: 报价单位ID
  20701. type: integer
  20702. holderamount:
  20703. description: 期初持仓总金额[商品币种]
  20704. type: number
  20705. lastprice:
  20706. description: 最新价
  20707. type: number
  20708. marketamount:
  20709. description: 市值
  20710. type: number
  20711. marketid:
  20712. description: 所属市场ID
  20713. type: integer
  20714. openreqqty:
  20715. description: 开仓申请数量(用于比较最大持仓数量)
  20716. type: number
  20717. opentotalqty:
  20718. description: 开仓总数量
  20719. type: number
  20720. otherfrozenqty:
  20721. description: 持仓其他冻结数量(交割冻结)
  20722. type: number
  20723. positionpl:
  20724. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20725. * 合约单位
  20726. type: number
  20727. positionplrate:
  20728. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20729. type: number
  20730. positionqty:
  20731. description: 期初持仓数量
  20732. type: number
  20733. qtydecimalplace:
  20734. description: 成交量小数位
  20735. type: integer
  20736. refgoodscode:
  20737. description: 参考商品代码
  20738. type: string
  20739. refgoodsid:
  20740. description: 参考商品ID
  20741. type: integer
  20742. tnqty:
  20743. description: T+N冻结总量
  20744. type: number
  20745. tnusedqty:
  20746. description: T+N使用量(可以使用T+N的冻结数量)
  20747. type: number
  20748. trademode:
  20749. description: 交易模式
  20750. type: integer
  20751. tradeproperty:
  20752. description: 交易属性
  20753. type: integer
  20754. usedmargin:
  20755. description: 占用保证金[商品币种]
  20756. type: number
  20757. required:
  20758. - goodsid
  20759. type: object
  20760. pb.GoodsMarginCfgStruct:
  20761. properties:
  20762. CustomerTypeID:
  20763. description: 投资者客户类型
  20764. type: integer
  20765. GoodsID:
  20766. description: 商品ID
  20767. type: integer
  20768. IsDefault:
  20769. description: 是否默认标志位
  20770. type: integer
  20771. LockMarginValue:
  20772. description: 锁仓保证金
  20773. type: number
  20774. MarginAlgorithm:
  20775. description: 保证金计算方式
  20776. type: integer
  20777. MarketMarginValue:
  20778. description: 即市保证金值
  20779. type: number
  20780. RealMarginAlgorithm:
  20781. description: 实付保证金计算方式
  20782. type: integer
  20783. RealMarginValue:
  20784. description: 实付比例
  20785. type: number
  20786. ReckonMarginValue:
  20787. description: 结算保证金值
  20788. type: number
  20789. type: object
  20790. quote.HistoryData:
  20791. properties:
  20792. c:
  20793. description: 收盘价
  20794. type: number
  20795. f:
  20796. description: 是否补充数据
  20797. type: boolean
  20798. h:
  20799. description: 最高价
  20800. type: number
  20801. hv:
  20802. description: 持仓量
  20803. type: integer
  20804. l:
  20805. description: 最低价
  20806. type: number
  20807. o:
  20808. description: 开盘价
  20809. type: number
  20810. s:
  20811. description: 结算价,日线周期(包括)以上才有
  20812. type: number
  20813. ts:
  20814. description: 时间
  20815. type: string
  20816. tt:
  20817. description: 总金额
  20818. type: number
  20819. tv:
  20820. description: 总量(成交量)
  20821. type: integer
  20822. type: object
  20823. quote.HistoryTikData:
  20824. properties:
  20825. AV:
  20826. description: 卖量
  20827. type: integer
  20828. Ask:
  20829. description: 卖价
  20830. type: number
  20831. BV:
  20832. description: 买量
  20833. type: integer
  20834. Bid:
  20835. description: 买价
  20836. type: number
  20837. HI:
  20838. description: 单笔持仓
  20839. type: integer
  20840. HV:
  20841. description: 持仓量
  20842. type: integer
  20843. PE:
  20844. description: 现价
  20845. type: number
  20846. TDR:
  20847. description: 交易方向,0:买 1:卖
  20848. type: integer
  20849. TK:
  20850. description: 交易类型
  20851. type: integer
  20852. TS:
  20853. description: 行情时间文本
  20854. type: string
  20855. TT:
  20856. description: 现金额
  20857. type: number
  20858. Vol:
  20859. description: 现量
  20860. type: integer
  20861. type: object
  20862. quote.QueryQuoteDayRsp:
  20863. properties:
  20864. ask:
  20865. description: 卖1
  20866. type: number
  20867. ask2:
  20868. description: 卖2
  20869. type: number
  20870. ask3:
  20871. description: 卖3
  20872. type: number
  20873. ask4:
  20874. description: 卖4
  20875. type: number
  20876. ask5:
  20877. description: 卖5
  20878. type: number
  20879. ask6:
  20880. description: 卖6
  20881. type: number
  20882. ask7:
  20883. description: 卖7
  20884. type: number
  20885. ask8:
  20886. description: 卖8
  20887. type: number
  20888. ask9:
  20889. description: 卖9
  20890. type: number
  20891. ask10:
  20892. description: 卖10
  20893. type: number
  20894. askorderid:
  20895. description: 卖单号1
  20896. type: integer
  20897. askorderid2:
  20898. description: 卖单号2
  20899. type: integer
  20900. askorderid3:
  20901. description: 卖单号3
  20902. type: integer
  20903. askorderid4:
  20904. description: 卖单号4
  20905. type: integer
  20906. askorderid5:
  20907. description: 卖单号5
  20908. type: integer
  20909. askordervolume:
  20910. description: 卖单量1
  20911. type: integer
  20912. askordervolume2:
  20913. description: 卖单量2
  20914. type: integer
  20915. askordervolume3:
  20916. description: 卖单量3
  20917. type: integer
  20918. askordervolume4:
  20919. description: 卖单量4
  20920. type: integer
  20921. askordervolume5:
  20922. description: 卖单量5
  20923. type: integer
  20924. askordervolume6:
  20925. description: 卖单量6
  20926. type: integer
  20927. askordervolume7:
  20928. description: 卖单量7
  20929. type: integer
  20930. askordervolume8:
  20931. description: 卖单量8
  20932. type: integer
  20933. askordervolume9:
  20934. description: 卖单量9
  20935. type: integer
  20936. askordervolume10:
  20937. description: 卖单量10
  20938. type: integer
  20939. askqueueinfo:
  20940. description: 大利市卖港股用
  20941. type: string
  20942. askvolume:
  20943. description: 卖量1
  20944. type: integer
  20945. askvolume2:
  20946. description: 卖量2
  20947. type: integer
  20948. askvolume3:
  20949. description: 卖量3
  20950. type: integer
  20951. askvolume4:
  20952. description: 卖量4
  20953. type: integer
  20954. askvolume5:
  20955. description: 卖量5
  20956. type: integer
  20957. askvolume6:
  20958. description: 卖量6
  20959. type: integer
  20960. askvolume7:
  20961. description: 卖量7
  20962. type: integer
  20963. askvolume8:
  20964. description: 卖量8
  20965. type: integer
  20966. askvolume9:
  20967. description: 卖量9
  20968. type: integer
  20969. askvolume10:
  20970. description: 卖量10
  20971. type: integer
  20972. averageprice:
  20973. description: 均价
  20974. type: number
  20975. bid:
  20976. description: 买1
  20977. type: number
  20978. bid2:
  20979. description: 买2
  20980. type: number
  20981. bid3:
  20982. description: 买3
  20983. type: number
  20984. bid4:
  20985. description: 买4
  20986. type: number
  20987. bid5:
  20988. description: 买5
  20989. type: number
  20990. bid6:
  20991. description: 买6
  20992. type: number
  20993. bid7:
  20994. description: 买7
  20995. type: number
  20996. bid8:
  20997. description: 买8
  20998. type: number
  20999. bid9:
  21000. description: 买9
  21001. type: number
  21002. bid10:
  21003. description: 买10
  21004. type: number
  21005. bidorderid:
  21006. description: 买单号1
  21007. type: integer
  21008. bidorderid2:
  21009. description: 买单号2
  21010. type: integer
  21011. bidorderid3:
  21012. description: 买单号3
  21013. type: integer
  21014. bidorderid4:
  21015. description: 买单号4
  21016. type: integer
  21017. bidorderid5:
  21018. description: 买单号5
  21019. type: integer
  21020. bidordervolume:
  21021. description: 买单量1
  21022. type: integer
  21023. bidordervolume2:
  21024. description: 买单量2
  21025. type: integer
  21026. bidordervolume3:
  21027. description: 买单量3
  21028. type: integer
  21029. bidordervolume4:
  21030. description: 买单量4
  21031. type: integer
  21032. bidordervolume5:
  21033. description: 买单量5
  21034. type: integer
  21035. bidordervolume6:
  21036. description: 买单量6
  21037. type: integer
  21038. bidordervolume7:
  21039. description: 买单量7
  21040. type: integer
  21041. bidordervolume8:
  21042. description: 买单量8
  21043. type: integer
  21044. bidordervolume9:
  21045. description: 买单量9
  21046. type: integer
  21047. bidordervolume10:
  21048. description: 买单量10
  21049. type: integer
  21050. bidqueueinfo:
  21051. description: 大利市买港股用
  21052. type: string
  21053. bidvolume:
  21054. description: 买量1
  21055. type: integer
  21056. bidvolume2:
  21057. description: 买量2
  21058. type: integer
  21059. bidvolume3:
  21060. description: 买量3
  21061. type: integer
  21062. bidvolume4:
  21063. description: 买量4
  21064. type: integer
  21065. bidvolume5:
  21066. description: 买量5
  21067. type: integer
  21068. bidvolume6:
  21069. description: 买量6
  21070. type: integer
  21071. bidvolume7:
  21072. description: 买量7
  21073. type: integer
  21074. bidvolume8:
  21075. description: 买量8
  21076. type: integer
  21077. bidvolume9:
  21078. description: 买量9
  21079. type: integer
  21080. bidvolume10:
  21081. description: 买量10
  21082. type: integer
  21083. calloptionpremiums:
  21084. description: 认购期权1
  21085. type: integer
  21086. calloptionpremiums2:
  21087. description: 认购期权2
  21088. type: integer
  21089. calloptionpremiums3:
  21090. description: 认购期权3
  21091. type: integer
  21092. calloptionpremiums4:
  21093. description: 认购期权4
  21094. type: integer
  21095. calloptionpremiums5:
  21096. description: 认购期权5
  21097. type: integer
  21098. cleartime:
  21099. description: 清盘时间
  21100. type: integer
  21101. exchangecode:
  21102. description: 交易所代码
  21103. type: integer
  21104. exchangedate:
  21105. description: 交易日
  21106. type: integer
  21107. goodscode:
  21108. description: 商品代码
  21109. type: string
  21110. grepmarketprice:
  21111. description: 暗盘价 港股专用
  21112. type: number
  21113. highest:
  21114. description: 最高价
  21115. type: number
  21116. holdincrement:
  21117. description: 单笔持仓
  21118. type: integer
  21119. holdvolume:
  21120. description: 持仓
  21121. type: integer
  21122. iep:
  21123. description: 平衡价 港股专用
  21124. type: number
  21125. iev:
  21126. description: 平衡量 港股专用
  21127. type: number
  21128. inventory:
  21129. description: 库存
  21130. type: integer
  21131. iscleared:
  21132. description: 是否清盘标志
  21133. type: integer
  21134. issettled:
  21135. description: 是否结算标志
  21136. type: integer
  21137. last:
  21138. description: 最新价
  21139. type: number
  21140. lastlot:
  21141. description: 最新成交手数
  21142. type: integer
  21143. lasttime:
  21144. description: 行情时间(只有现价变化行情时间才变化)
  21145. type: string
  21146. lastturnover:
  21147. description: 最新成交金额
  21148. type: number
  21149. lastvolume:
  21150. description: 最新成交量
  21151. type: integer
  21152. limitdown:
  21153. description: 跌停价
  21154. type: number
  21155. limitup:
  21156. description: 涨停价
  21157. type: number
  21158. lowest:
  21159. description: 最低价
  21160. type: number
  21161. nontotalholdervolume:
  21162. description: 非交易持仓量
  21163. type: integer
  21164. nontotallot:
  21165. description: 非交易总手数
  21166. type: integer
  21167. nontotalturnover:
  21168. description: 非交易总金额
  21169. type: integer
  21170. nontotalvolume:
  21171. description: 非交易总量
  21172. type: integer
  21173. opened:
  21174. description: 开盘价
  21175. type: number
  21176. opentime:
  21177. description: 开盘时间
  21178. type: string
  21179. orderid:
  21180. description: 序号
  21181. type: integer
  21182. preclose:
  21183. description: 昨收
  21184. type: number
  21185. preholdvolume:
  21186. description: 昨持仓
  21187. type: integer
  21188. presettle:
  21189. description: 昨结价
  21190. type: number
  21191. publictradetype:
  21192. description: 公共交易标志类型 港股专用
  21193. type: string
  21194. putoptionpremiums:
  21195. description: 认沽期权1
  21196. type: integer
  21197. putoptionpremiums2:
  21198. description: 认沽期权2
  21199. type: integer
  21200. putoptionpremiums3:
  21201. description: 认沽期权3
  21202. type: integer
  21203. putoptionpremiums4:
  21204. description: 认沽期权4
  21205. type: integer
  21206. putoptionpremiums5:
  21207. description: 认沽期权5
  21208. type: integer
  21209. settle:
  21210. description: 结算价
  21211. type: number
  21212. strikeprice:
  21213. description: 发行价
  21214. type: number
  21215. totalaskvolume:
  21216. description: 内盘
  21217. type: integer
  21218. totalbidvolume:
  21219. description: 外盘
  21220. type: integer
  21221. totallot:
  21222. description: 总手数
  21223. type: integer
  21224. totalturnover:
  21225. description: 总金额
  21226. type: number
  21227. totalvolume:
  21228. description: 总量
  21229. type: integer
  21230. utclasttime:
  21231. description: utc的行情时间
  21232. type: string
  21233. type: object
  21234. quote.QueryTSDataRsp:
  21235. properties:
  21236. Count:
  21237. description: 交易日应有数据个数
  21238. type: integer
  21239. decimalPlace:
  21240. description: 小数位
  21241. type: integer
  21242. endTime:
  21243. description: 结束时间
  21244. type: string
  21245. goodsCode:
  21246. description: 商品代码
  21247. type: string
  21248. historyDatas:
  21249. description: 历史数据
  21250. items:
  21251. $ref: '#/definitions/quote.HistoryData'
  21252. type: array
  21253. outGoodsCode:
  21254. description: 外部商品代码
  21255. type: string
  21256. preSettle:
  21257. description: 昨结价
  21258. type: number
  21259. runSteps:
  21260. description: 交易日开休市计划
  21261. items:
  21262. $ref: '#/definitions/quote.TSDataRunStep'
  21263. type: array
  21264. startTime:
  21265. description: 开始时间
  21266. type: string
  21267. tradeDate:
  21268. description: 交易日
  21269. type: string
  21270. type: object
  21271. quote.TSDataRunStep:
  21272. properties:
  21273. end:
  21274. description: 真实结束时间
  21275. type: string
  21276. endflag:
  21277. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21278. type: integer
  21279. endtime:
  21280. description: 结束时间(HH:mm)
  21281. type: string
  21282. endweekday:
  21283. description: 结束周几
  21284. type: integer
  21285. groupid:
  21286. description: 分组ID
  21287. type: integer
  21288. runstep:
  21289. description: 运行阶段 - 2:连续交易
  21290. type: integer
  21291. sectionid:
  21292. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21293. 结束时间=结算时间 结束周几=结算周几
  21294. type: integer
  21295. start:
  21296. description: 真实开始时间
  21297. type: string
  21298. startflag:
  21299. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21300. type: integer
  21301. starttime:
  21302. description: 起始时间(HH:mm)
  21303. type: string
  21304. startweekday:
  21305. description: 起始周几
  21306. type: integer
  21307. tradeweekday:
  21308. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21309. type: integer
  21310. type: object
  21311. szdz.QueryConvertLogRsp:
  21312. properties:
  21313. accountid:
  21314. description: 资金账户ID
  21315. type: integer
  21316. clientticket:
  21317. description: 客户端流水号
  21318. type: string
  21319. converttype:
  21320. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21321. type: integer
  21322. createtime:
  21323. description: 记账时间
  21324. type: string
  21325. daymaxvalue:
  21326. description: 配置当日最大转入限制
  21327. type: number
  21328. daymaxvalue2:
  21329. description: 配置当日最大转入限制(转入)
  21330. type: number
  21331. goodscode:
  21332. description: 商品代码
  21333. type: string
  21334. goodsname:
  21335. description: 商品名称
  21336. type: string
  21337. handlestatus:
  21338. description: 处理状态
  21339. type: integer
  21340. innergoodsid:
  21341. description: 内部商品ID
  21342. type: integer
  21343. inratio:
  21344. description: 配置转入比值
  21345. type: integer
  21346. invalue:
  21347. description: 目标值
  21348. type: number
  21349. logid:
  21350. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21351. type: integer
  21352. mobile:
  21353. description: 手机号码(加密存储)
  21354. type: string
  21355. outergoodscode:
  21356. description: 外部商品代码[JD\PD]
  21357. type: string
  21358. outratio:
  21359. description: 配置转出比值
  21360. type: integer
  21361. outvalue:
  21362. description: 源值
  21363. type: number
  21364. pddecimalplace:
  21365. description: PD小数位
  21366. type: integer
  21367. qty:
  21368. description: 数量
  21369. type: string
  21370. remark:
  21371. description: 备注
  21372. type: string
  21373. sessionid:
  21374. description: 会话ID
  21375. type: integer
  21376. timemaxvalue:
  21377. description: 配置单次最大转入限制
  21378. type: number
  21379. timemaxvalue2:
  21380. description: 配置单次最大转入限制(转入)
  21381. type: number
  21382. timeminvalue:
  21383. description: 配置单次最小数量限制
  21384. type: number
  21385. timeminvalue2:
  21386. description: 配置单次最小数量限制(转入)
  21387. type: number
  21388. tradedate:
  21389. description: 交易日(yyyyMMdd)
  21390. type: string
  21391. userid:
  21392. description: 用户ID
  21393. type: integer
  21394. required:
  21395. - logid
  21396. type: object
  21397. szdz.QueryGoodsPickupRsp:
  21398. properties:
  21399. accountid:
  21400. description: 账户ID
  21401. type: integer
  21402. address:
  21403. description: 提货人详细地址
  21404. type: string
  21405. auditer:
  21406. description: 审核人
  21407. type: integer
  21408. audittime:
  21409. description: 审核时间
  21410. type: string
  21411. cardnum:
  21412. description: 提货人证件号码
  21413. type: string
  21414. cardtypeid:
  21415. description: 提货人证件类型
  21416. type: integer
  21417. checkremark:
  21418. description: 审核备注
  21419. type: string
  21420. goodscode:
  21421. description: 商品代码
  21422. type: string
  21423. goodsid:
  21424. description: 商品ID
  21425. type: integer
  21426. goodsname:
  21427. description: 商品名称
  21428. type: string
  21429. handlestatus:
  21430. description: 处理状态
  21431. type: integer
  21432. marketid:
  21433. description: 市场ID
  21434. type: integer
  21435. phonenum:
  21436. description: 提货人联系方式
  21437. type: string
  21438. qty:
  21439. description: 提货数量
  21440. type: number
  21441. recivername:
  21442. description: 提货人姓名
  21443. type: string
  21444. reqtime:
  21445. description: 更新时间
  21446. type: string
  21447. takemode:
  21448. description: 提货方式 - 2:自提 3:配送
  21449. type: integer
  21450. takeorderid:
  21451. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21452. type: string
  21453. takeorderstatus:
  21454. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21455. type: integer
  21456. takeremark:
  21457. description: 提货备注
  21458. type: string
  21459. tradedate:
  21460. description: 交易日(yyyyMMdd)
  21461. type: string
  21462. userid:
  21463. description: 用户ID
  21464. type: integer
  21465. required:
  21466. - takeorderid
  21467. type: object
  21468. szdz.QueryRecieptOrderRsp:
  21469. properties:
  21470. accountName:
  21471. description: 所属账号名称(已脱敏)
  21472. type: string
  21473. accountid:
  21474. description: 资金账号
  21475. type: integer
  21476. buyorsell:
  21477. description: 方向 - 0:买 1:卖
  21478. type: integer
  21479. enableqty:
  21480. description: 可摘数量
  21481. type: integer
  21482. goodscode:
  21483. description: 商品代码
  21484. type: string
  21485. goodsid:
  21486. description: 商品ID
  21487. type: integer
  21488. goodsname:
  21489. description: 商品名称
  21490. type: string
  21491. orderid:
  21492. description: 委托单号
  21493. type: string
  21494. orderprice:
  21495. description: 委托价格
  21496. type: number
  21497. ordertime:
  21498. description: 委托时间
  21499. type: string
  21500. tradedate:
  21501. description: 交易日(yyyyMMdd)
  21502. type: string
  21503. required:
  21504. - ordertime
  21505. type: object
  21506. szdz.QuerySZDZTradePositionRsp:
  21507. properties:
  21508. accountid:
  21509. description: 账号Id
  21510. type: integer
  21511. agreeunit:
  21512. description: 合约单位
  21513. type: number
  21514. averageprice:
  21515. description: 持仓均价
  21516. type: number
  21517. buyorsell:
  21518. description: 方向 - 0:买 1:卖
  21519. type: integer
  21520. closetotalqty:
  21521. description: 平仓总数量
  21522. type: integer
  21523. curholderamount:
  21524. description: 当前持仓总金额
  21525. type: number
  21526. curpositionqty:
  21527. description: 当前持仓总数量
  21528. type: integer
  21529. currencyid:
  21530. description: 报价货币ID
  21531. type: integer
  21532. curtdposition:
  21533. description: 期末今日头寸
  21534. type: integer
  21535. decimalplace:
  21536. description: 报价小数位
  21537. type: integer
  21538. enableqty:
  21539. description: 可用量
  21540. type: integer
  21541. fretdposition:
  21542. description: 冻结今日头寸
  21543. type: integer
  21544. frozenqty:
  21545. description: 持仓冻结数量
  21546. type: integer
  21547. goodscode:
  21548. description: 商品代码(内部)
  21549. type: string
  21550. goodsid:
  21551. description: 商品Id
  21552. type: integer
  21553. goodsname:
  21554. description: 商品名称
  21555. type: string
  21556. goodunit:
  21557. description: 报价单位
  21558. type: string
  21559. goodunitid:
  21560. description: 报价单位ID
  21561. type: integer
  21562. holderamount:
  21563. description: 期初持仓总金额
  21564. type: number
  21565. marketid:
  21566. description: 市场ID
  21567. type: integer
  21568. openreqqty:
  21569. description: 开仓申请数量
  21570. type: integer
  21571. opentotalqty:
  21572. description: 开仓总数量
  21573. type: integer
  21574. otherfrozenqty:
  21575. description: 持仓其他冻结数量(交割冻结)
  21576. type: integer
  21577. positionqty:
  21578. description: 期初持仓数量
  21579. type: integer
  21580. szdz3freezqty:
  21581. description: 尚志大宗转换冻结总数量
  21582. type: integer
  21583. tnqty:
  21584. description: T+N冻结总量
  21585. type: integer
  21586. tnusedqty:
  21587. description: T+N使用量
  21588. type: integer
  21589. trademode:
  21590. description: 交易模式
  21591. type: integer
  21592. usedmargin:
  21593. description: 占用保证金
  21594. type: number
  21595. type: object
  21596. taaccount.QueryAmountLogRsp:
  21597. properties:
  21598. OPERATETYPENAME:
  21599. description: 资金操作类型名称
  21600. type: string
  21601. accountid:
  21602. description: 资金账户ID
  21603. type: integer
  21604. agoodscode:
  21605. description: 竞拍商品代码
  21606. type: string
  21607. agoodsname:
  21608. description: 竞拍商品名称
  21609. type: string
  21610. amount:
  21611. description: 资金金额
  21612. type: number
  21613. amountadjusttype:
  21614. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21615. type: integer
  21616. autoid:
  21617. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21618. type: integer
  21619. balance:
  21620. description: 期初余额
  21621. type: number
  21622. businesscode:
  21623. description: 业务编号
  21624. type: integer
  21625. createtime:
  21626. description: 发生时间
  21627. type: string
  21628. currencyid:
  21629. description: 币种ID
  21630. type: integer
  21631. currentbalance:
  21632. description: 期末余额(变动后金额)
  21633. type: number
  21634. dgoodscode:
  21635. description: 交割商品代码
  21636. type: string
  21637. dgoodsname:
  21638. description: 交割商品名称
  21639. type: string
  21640. goodscode:
  21641. description: 商品代码
  21642. type: string
  21643. goodsid:
  21644. description: 商品ID
  21645. type: integer
  21646. goodsname:
  21647. description: 商品名称
  21648. type: string
  21649. marketid:
  21650. description: 市场ID
  21651. type: integer
  21652. marketname:
  21653. description: 市场名称
  21654. type: string
  21655. moneyticket:
  21656. description: 资金流水号:银行端流水号
  21657. type: integer
  21658. operatetype:
  21659. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21660. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21661. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21662. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21663. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21664. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21665. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21666. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21667. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21668. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21669. type: integer
  21670. relationorderid:
  21671. description: 关联单号
  21672. type: string
  21673. remark:
  21674. description: 备注
  21675. type: string
  21676. trademode:
  21677. description: 交易模式
  21678. type: integer
  21679. required:
  21680. - accountid
  21681. - amount
  21682. - amountadjusttype
  21683. - autoid
  21684. - balance
  21685. - createtime
  21686. - currentbalance
  21687. - operatetype
  21688. type: object
  21689. taaccount.QueryHisAmountLogRsp:
  21690. properties:
  21691. OPERATETYPENAME:
  21692. description: 资金操作类型名称
  21693. type: string
  21694. accountid:
  21695. description: 资金账户ID
  21696. type: integer
  21697. agoodscode:
  21698. description: 竞拍商品代码
  21699. type: string
  21700. agoodsname:
  21701. description: 竞拍商品名称
  21702. type: string
  21703. amount:
  21704. description: 资金金额
  21705. type: number
  21706. amountadjusttype:
  21707. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21708. type: integer
  21709. autoid:
  21710. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21711. type: integer
  21712. balance:
  21713. description: 期初余额
  21714. type: number
  21715. businesscode:
  21716. description: 业务编号
  21717. type: integer
  21718. createtime:
  21719. description: 发生时间
  21720. type: string
  21721. currencyid:
  21722. description: 币种ID
  21723. type: integer
  21724. currentbalance:
  21725. description: 期末余额(变动后金额)
  21726. type: number
  21727. dgoodscode:
  21728. description: 交割商品代码
  21729. type: string
  21730. dgoodsname:
  21731. description: 交割商品名称
  21732. type: string
  21733. goodscode:
  21734. description: 商品代码
  21735. type: string
  21736. goodsid:
  21737. description: 商品ID
  21738. type: integer
  21739. goodsname:
  21740. description: 商品名称
  21741. type: string
  21742. histradedate:
  21743. description: 历史交易日
  21744. type: string
  21745. isvaliddata:
  21746. description: 是否有效 - 0:无效 1:有效
  21747. type: integer
  21748. marketid:
  21749. description: 市场ID
  21750. type: integer
  21751. marketname:
  21752. description: 市场名称
  21753. type: string
  21754. moneyticket:
  21755. description: 资金流水号:银行端流水号
  21756. type: integer
  21757. operatetype:
  21758. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21759. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21760. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21761. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21762. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21763. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21764. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21765. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21766. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21767. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21768. type: integer
  21769. relationorderid:
  21770. description: 关联单号
  21771. type: string
  21772. remark:
  21773. description: 备注
  21774. type: string
  21775. trademode:
  21776. description: 交易模式
  21777. type: integer
  21778. required:
  21779. - accountid
  21780. - amount
  21781. - amountadjusttype
  21782. - autoid
  21783. - balance
  21784. - createtime
  21785. - currentbalance
  21786. - histradedate
  21787. - operatetype
  21788. type: object
  21789. trade.QueryRecieptOrderRsp:
  21790. properties:
  21791. accountName:
  21792. description: 所属账号名称(已脱敏)
  21793. type: string
  21794. accountid:
  21795. description: 资金账号
  21796. type: integer
  21797. buyorsell:
  21798. description: 方向 - 0:买 1:卖
  21799. type: integer
  21800. enableqty:
  21801. description: 可摘数量
  21802. type: integer
  21803. goodscode:
  21804. description: 商品代码
  21805. type: string
  21806. goodsid:
  21807. description: 商品ID
  21808. type: integer
  21809. goodsname:
  21810. description: 商品名称
  21811. type: string
  21812. orderid:
  21813. description: 委托单号
  21814. type: string
  21815. orderprice:
  21816. description: 委托价格
  21817. type: number
  21818. ordertime:
  21819. description: 委托时间
  21820. type: string
  21821. tradedate:
  21822. description: 交易日(yyyyMMdd)
  21823. type: string
  21824. required:
  21825. - ordertime
  21826. type: object
  21827. user.LoginQueryRsp:
  21828. properties:
  21829. areaRoles:
  21830. description: 所属角色信息
  21831. items:
  21832. $ref: '#/definitions/models.Arearole'
  21833. type: array
  21834. externalExchanges:
  21835. description: 外部交易所
  21836. items:
  21837. $ref: '#/definitions/models.Externalexchange'
  21838. type: array
  21839. goodsgroups:
  21840. description: 商品组
  21841. items:
  21842. $ref: '#/definitions/models.Goodsgroup'
  21843. type: array
  21844. loginAccount:
  21845. $ref: '#/definitions/models.Loginaccount'
  21846. description: 登录账号
  21847. markets:
  21848. description: 市场
  21849. items:
  21850. $ref: '#/definitions/models.Market'
  21851. type: array
  21852. systemParams:
  21853. description: 系统参数
  21854. items:
  21855. $ref: '#/definitions/models.Systemparam'
  21856. type: array
  21857. userAccount:
  21858. $ref: '#/definitions/models.Useraccount'
  21859. description: 用户账号
  21860. userInfo:
  21861. $ref: '#/definitions/models.Userinfo'
  21862. description: 用户信息
  21863. username:
  21864. description: 用户姓名
  21865. type: string
  21866. type: object
  21867. info:
  21868. contact: {}
  21869. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21870. termsOfService: http://www.muchinfo.cn
  21871. title: MTP2.0 查询服务 API
  21872. version: "1.0"
  21873. paths:
  21874. /CPTrade/QueryCPTradeMyBidInfos:
  21875. get:
  21876. parameters:
  21877. - description: 资金账户
  21878. in: query
  21879. name: accountid
  21880. required: true
  21881. type: integer
  21882. - description: 预售市场ID
  21883. in: query
  21884. name: marketid
  21885. type: integer
  21886. - description: 预售商品ID
  21887. in: query
  21888. name: goodsid
  21889. type: integer
  21890. produces:
  21891. - application/json
  21892. responses:
  21893. "200":
  21894. description: OK
  21895. schema:
  21896. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21897. "500":
  21898. description: Internal Server Error
  21899. schema:
  21900. $ref: '#/definitions/app.Response'
  21901. security:
  21902. - ApiKeyAuth: []
  21903. summary: 查询产能预售我的出价信息
  21904. tags:
  21905. - 产能预售
  21906. /CPTrade/QueryCPTradeOrderDetail:
  21907. get:
  21908. parameters:
  21909. - description: 预售商品ID
  21910. in: query
  21911. name: goodsid
  21912. type: integer
  21913. - description: 预售市场ID
  21914. in: query
  21915. name: marketid
  21916. type: integer
  21917. - description: 预售商品ID列表 - 格式:1,2,3
  21918. in: query
  21919. name: goodsids
  21920. type: string
  21921. produces:
  21922. - application/json
  21923. responses:
  21924. "200":
  21925. description: OK
  21926. schema:
  21927. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询产能预售委托单信息
  21935. tags:
  21936. - 产能预售
  21937. /CPTrade/QueryMyCPTradeGoods:
  21938. get:
  21939. parameters:
  21940. - description: 资金账户
  21941. in: query
  21942. name: accountid
  21943. required: true
  21944. type: integer
  21945. produces:
  21946. - application/json
  21947. responses:
  21948. "200":
  21949. description: OK
  21950. schema:
  21951. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21952. "500":
  21953. description: Internal Server Error
  21954. schema:
  21955. $ref: '#/definitions/app.Response'
  21956. security:
  21957. - ApiKeyAuth: []
  21958. summary: 查询我的预售信息
  21959. tags:
  21960. - 产能预售
  21961. /CPTrade/QueryPositionCancel:
  21962. get:
  21963. parameters:
  21964. - description: 账户ID
  21965. in: query
  21966. name: userid
  21967. required: true
  21968. type: integer
  21969. - description: 注销ID
  21970. in: query
  21971. name: cancelid
  21972. type: integer
  21973. - description: 资金账户ID
  21974. in: query
  21975. name: accountid
  21976. type: integer
  21977. produces:
  21978. - application/json
  21979. responses:
  21980. "200":
  21981. description: OK
  21982. schema:
  21983. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21984. "500":
  21985. description: Internal Server Error
  21986. schema:
  21987. $ref: '#/definitions/app.Response'
  21988. security:
  21989. - ApiKeyAuth: []
  21990. summary: 查询远期订单注销申请信息
  21991. tags:
  21992. - 产能预售
  21993. /CPTrade/QueryPreasleApply:
  21994. get:
  21995. parameters:
  21996. - description: 账户ID
  21997. in: query
  21998. name: userid
  21999. required: true
  22000. type: integer
  22001. - description: 申请ID
  22002. in: query
  22003. name: applyid
  22004. type: integer
  22005. - description: 资金账户ID
  22006. in: query
  22007. name: accountid
  22008. type: integer
  22009. produces:
  22010. - application/json
  22011. responses:
  22012. "200":
  22013. description: OK
  22014. schema:
  22015. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22016. "500":
  22017. description: Internal Server Error
  22018. schema:
  22019. $ref: '#/definitions/app.Response'
  22020. security:
  22021. - ApiKeyAuth: []
  22022. summary: 查询产能预售申请信息
  22023. tags:
  22024. - 产能预售
  22025. /CPTrade/QueryPresaleGoodsEx:
  22026. get:
  22027. parameters:
  22028. - description: 预售商品ID
  22029. in: query
  22030. name: goodsid
  22031. type: integer
  22032. - description: 预售市场ID
  22033. in: query
  22034. name: marketid
  22035. type: integer
  22036. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22037. in: query
  22038. name: presalemode
  22039. type: integer
  22040. - description: 预售商品ID列表 - 格式:1,2,3
  22041. in: query
  22042. name: goodsids
  22043. type: string
  22044. - description: 预售商品代码
  22045. in: query
  22046. name: goodscode
  22047. type: string
  22048. produces:
  22049. - application/json
  22050. responses:
  22051. "200":
  22052. description: OK
  22053. schema:
  22054. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22055. "500":
  22056. description: Internal Server Error
  22057. schema:
  22058. $ref: '#/definitions/app.Response'
  22059. security:
  22060. - ApiKeyAuth: []
  22061. summary: 查询产能预售商品扩展信息
  22062. tags:
  22063. - 产能预售
  22064. /CPTrade/QueryUserGoodsData:
  22065. get:
  22066. parameters:
  22067. - description: 资金账户ID
  22068. in: query
  22069. name: accountid
  22070. required: true
  22071. type: integer
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 查询远期订单信息
  22086. tags:
  22087. - 产能预售
  22088. /Common/DeleteNewFuncmenu:
  22089. delete:
  22090. consumes:
  22091. - application/json
  22092. parameters:
  22093. - description: 菜单表数据,只需要resourcecode字段即可
  22094. in: body
  22095. name: data
  22096. required: true
  22097. schema:
  22098. $ref: '#/definitions/models.NewFuncmenulist'
  22099. produces:
  22100. - application/json
  22101. responses:
  22102. "200":
  22103. description: OK
  22104. schema:
  22105. $ref: '#/definitions/app.Response'
  22106. "500":
  22107. description: Internal Server Error
  22108. schema:
  22109. $ref: '#/definitions/app.Response'
  22110. security:
  22111. - ApiKeyAuth: []
  22112. summary: 删除菜单表数据
  22113. tags:
  22114. - 通用服务
  22115. /Common/FindNewFuncmenu:
  22116. get:
  22117. parameters:
  22118. - description: 资源代码
  22119. in: query
  22120. name: resourcecode
  22121. type: string
  22122. - description: 上级资源代码
  22123. in: query
  22124. name: parentcode
  22125. type: string
  22126. - description: 资源名(Title), 模糊查询
  22127. in: query
  22128. name: resourcename
  22129. type: string
  22130. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22131. in: query
  22132. name: menutype
  22133. type: string
  22134. produces:
  22135. - application/json
  22136. responses:
  22137. "200":
  22138. description: OK
  22139. schema:
  22140. items:
  22141. $ref: '#/definitions/models.NewFuncmenulist'
  22142. type: array
  22143. "500":
  22144. description: Internal Server Error
  22145. schema:
  22146. $ref: '#/definitions/app.Response'
  22147. security:
  22148. - ApiKeyAuth: []
  22149. summary: 获取菜单表数据
  22150. tags:
  22151. - 通用服务
  22152. /Common/GetAllEnums:
  22153. get:
  22154. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22155. parameters:
  22156. - description: 起始自增ID
  22157. in: query
  22158. name: autoid
  22159. type: integer
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. $ref: '#/definitions/models.Enumdicitem'
  22167. "500":
  22168. description: Internal Server Error
  22169. schema:
  22170. $ref: '#/definitions/app.Response'
  22171. summary: 获取所有枚举信息
  22172. tags:
  22173. - 通用服务
  22174. /Common/GetClientMenus:
  22175. get:
  22176. parameters:
  22177. - description: 登录账号
  22178. in: query
  22179. name: loginID
  22180. required: true
  22181. type: integer
  22182. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22183. in: query
  22184. name: clientType
  22185. type: integer
  22186. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22187. in: query
  22188. name: name
  22189. type: string
  22190. produces:
  22191. - application/json
  22192. responses:
  22193. "200":
  22194. description: OK
  22195. schema:
  22196. items:
  22197. $ref: '#/definitions/common.ClientMenu'
  22198. type: array
  22199. "500":
  22200. description: Internal Server Error
  22201. schema:
  22202. $ref: '#/definitions/app.Response'
  22203. security:
  22204. - ApiKeyAuth: []
  22205. summary: 获取交易端菜单
  22206. tags:
  22207. - 通用服务
  22208. /Common/GetClientNewFuncmenu:
  22209. get:
  22210. parameters:
  22211. - description: 登录账号
  22212. in: query
  22213. name: loginid
  22214. required: true
  22215. type: integer
  22216. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22217. in: query
  22218. name: menutype
  22219. required: true
  22220. type: integer
  22221. produces:
  22222. - application/json
  22223. responses:
  22224. "200":
  22225. description: OK
  22226. schema:
  22227. items:
  22228. $ref: '#/definitions/models.NewFuncmenulist'
  22229. type: array
  22230. "500":
  22231. description: Internal Server Error
  22232. schema:
  22233. $ref: '#/definitions/app.Response'
  22234. security:
  22235. - ApiKeyAuth: []
  22236. summary: 获取终端菜单
  22237. tags:
  22238. - 通用服务
  22239. /Common/GetDivisions:
  22240. get:
  22241. produces:
  22242. - application/json
  22243. responses:
  22244. "200":
  22245. description: OK
  22246. schema:
  22247. $ref: '#/definitions/models.Division'
  22248. "500":
  22249. description: Internal Server Error
  22250. schema:
  22251. $ref: '#/definitions/app.Response'
  22252. summary: 查询区域信息
  22253. tags:
  22254. - 通用服务
  22255. /Common/GetPCWebMenus:
  22256. get:
  22257. parameters:
  22258. - description: 登录账号
  22259. in: query
  22260. name: loginID
  22261. required: true
  22262. type: integer
  22263. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22264. in: query
  22265. name: name
  22266. type: string
  22267. produces:
  22268. - application/json
  22269. responses:
  22270. "200":
  22271. description: OK
  22272. schema:
  22273. items:
  22274. $ref: '#/definitions/common.PCWebMenu'
  22275. type: array
  22276. "500":
  22277. description: Internal Server Error
  22278. schema:
  22279. $ref: '#/definitions/app.Response'
  22280. security:
  22281. - ApiKeyAuth: []
  22282. summary: 获取PCWeb交易端菜单
  22283. tags:
  22284. - 通用服务
  22285. /Common/GetServerTime:
  22286. get:
  22287. produces:
  22288. - application/json
  22289. responses:
  22290. "200":
  22291. description: OK
  22292. schema:
  22293. $ref: '#/definitions/app.Response'
  22294. "500":
  22295. description: Internal Server Error
  22296. schema:
  22297. $ref: '#/definitions/app.Response'
  22298. summary: 获取服务器时间
  22299. tags:
  22300. - 通用服务
  22301. /Common/InsertNewFuncmenu:
  22302. post:
  22303. consumes:
  22304. - application/json
  22305. parameters:
  22306. - description: 菜单表数据
  22307. in: body
  22308. name: data
  22309. required: true
  22310. schema:
  22311. $ref: '#/definitions/models.NewFuncmenulist'
  22312. produces:
  22313. - application/json
  22314. responses:
  22315. "200":
  22316. description: OK
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. "500":
  22320. description: Internal Server Error
  22321. schema:
  22322. $ref: '#/definitions/app.Response'
  22323. security:
  22324. - ApiKeyAuth: []
  22325. summary: 插入菜单表数据
  22326. tags:
  22327. - 通用服务
  22328. /Common/NoticeReaded:
  22329. post:
  22330. parameters:
  22331. - description: 登录账号
  22332. in: query
  22333. name: loginID
  22334. required: true
  22335. type: integer
  22336. - description: 通知公告ID
  22337. in: query
  22338. name: noticeID
  22339. required: true
  22340. type: integer
  22341. produces:
  22342. - application/json
  22343. responses:
  22344. "200":
  22345. description: OK
  22346. schema:
  22347. $ref: '#/definitions/app.Response'
  22348. "500":
  22349. description: Internal Server Error
  22350. schema:
  22351. $ref: '#/definitions/app.Response'
  22352. security:
  22353. - ApiKeyAuth: []
  22354. summary: 通知公告设置已读请求
  22355. tags:
  22356. - 通用服务
  22357. /Common/QueryErrorInfos:
  22358. get:
  22359. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22360. parameters:
  22361. - description: 起始行号前索引
  22362. in: query
  22363. name: rowNumber
  22364. type: string
  22365. produces:
  22366. - application/json
  22367. responses:
  22368. "200":
  22369. description: OK
  22370. schema:
  22371. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22372. "500":
  22373. description: Internal Server Error
  22374. schema:
  22375. $ref: '#/definitions/app.Response'
  22376. summary: 获取数据库错误信息
  22377. tags:
  22378. - 通用服务
  22379. /Common/QueryImageConfigs:
  22380. get:
  22381. parameters:
  22382. - description: 用户id
  22383. in: query
  22384. name: userId
  22385. type: integer
  22386. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22387. in: query
  22388. name: imageType
  22389. type: integer
  22390. produces:
  22391. - application/json
  22392. responses:
  22393. "200":
  22394. description: OK
  22395. schema:
  22396. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22397. "500":
  22398. description: Internal Server Error
  22399. schema:
  22400. $ref: '#/definitions/app.Response'
  22401. summary: 查询轮播图配置信息
  22402. tags:
  22403. - 通用服务
  22404. /Common/QueryNotice:
  22405. get:
  22406. parameters:
  22407. - description: 页码
  22408. in: query
  22409. name: page
  22410. type: integer
  22411. - description: 每页条数
  22412. in: query
  22413. name: pagesize
  22414. type: integer
  22415. - description: 登录账号
  22416. in: query
  22417. name: loginID
  22418. required: true
  22419. type: integer
  22420. - description: 消息类型 - 1:公告通知 2:系统消息
  22421. in: query
  22422. name: msgType
  22423. type: integer
  22424. - description: 是否只获取未读信息
  22425. in: query
  22426. name: onlyUnRead
  22427. type: boolean
  22428. - description: 自增ID,传入后会返回这个ID后面的记录
  22429. in: query
  22430. name: lastID
  22431. type: integer
  22432. produces:
  22433. - application/json
  22434. responses:
  22435. "200":
  22436. description: OK
  22437. schema:
  22438. $ref: '#/definitions/common.QueryNoticeRsp'
  22439. "500":
  22440. description: Internal Server Error
  22441. schema:
  22442. $ref: '#/definitions/app.Response'
  22443. security:
  22444. - ApiKeyAuth: []
  22445. summary: 通知公告系统消息查询
  22446. tags:
  22447. - 通用服务
  22448. /Common/QueryProvincesAndCities:
  22449. get:
  22450. parameters:
  22451. - description: 省ID
  22452. in: query
  22453. name: provinceID
  22454. type: integer
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22462. "500":
  22463. description: Internal Server Error
  22464. schema:
  22465. $ref: '#/definitions/app.Response'
  22466. summary: 查询省市信息(不包括区)
  22467. tags:
  22468. - 通用服务
  22469. /Common/QueryTableDefine:
  22470. get:
  22471. parameters:
  22472. - description: 表key
  22473. in: query
  22474. name: tableKey
  22475. type: string
  22476. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22477. in: query
  22478. name: tableType
  22479. type: integer
  22480. produces:
  22481. - application/json
  22482. responses:
  22483. "200":
  22484. description: OK
  22485. schema:
  22486. $ref: '#/definitions/common.QueryTableDefineRsp'
  22487. "500":
  22488. description: Internal Server Error
  22489. schema:
  22490. $ref: '#/definitions/app.Response'
  22491. summary: 查询交易端列表头信息
  22492. tags:
  22493. - 通用服务
  22494. /Common/QueryTraderMenu:
  22495. get:
  22496. parameters:
  22497. - description: 登录账号
  22498. in: query
  22499. name: loginid
  22500. required: true
  22501. type: integer
  22502. produces:
  22503. - application/json
  22504. responses:
  22505. "200":
  22506. description: OK
  22507. schema:
  22508. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22509. "500":
  22510. description: Internal Server Error
  22511. schema:
  22512. $ref: '#/definitions/app.Response'
  22513. summary: 查询交易端菜单
  22514. tags:
  22515. - 通用服务
  22516. /Common/UpdateNewFuncmenu:
  22517. put:
  22518. consumes:
  22519. - application/json
  22520. parameters:
  22521. - description: 菜单表数据
  22522. in: body
  22523. name: data
  22524. required: true
  22525. schema:
  22526. $ref: '#/definitions/models.NewFuncmenulist'
  22527. produces:
  22528. - application/json
  22529. responses:
  22530. "200":
  22531. description: OK
  22532. schema:
  22533. $ref: '#/definitions/app.Response'
  22534. "500":
  22535. description: Internal Server Error
  22536. schema:
  22537. $ref: '#/definitions/app.Response'
  22538. security:
  22539. - ApiKeyAuth: []
  22540. summary: 更新菜单表数据
  22541. tags:
  22542. - 通用服务
  22543. /Delivery/QueryDeliveryRelation:
  22544. get:
  22545. parameters:
  22546. - description: 商品ID
  22547. in: query
  22548. name: goodsid
  22549. type: integer
  22550. - description: 品种ID
  22551. in: query
  22552. name: deliverygoodsid
  22553. type: integer
  22554. - description: 市场ID
  22555. in: query
  22556. name: marketid
  22557. type: integer
  22558. produces:
  22559. - application/json
  22560. responses:
  22561. "200":
  22562. description: OK
  22563. schema:
  22564. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22565. "500":
  22566. description: Internal Server Error
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. security:
  22570. - ApiKeyAuth: []
  22571. summary: 查询商品交割关系表
  22572. tags:
  22573. - 交割服务
  22574. /Ermcp/GetErmcpGoods:
  22575. get:
  22576. parameters:
  22577. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22578. in: query
  22579. name: userid
  22580. type: integer
  22581. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22582. in: query
  22583. name: lastUpdateTime
  22584. type: string
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. $ref: '#/definitions/models.ErmcpGoods'
  22592. "500":
  22593. description: Internal Server Error
  22594. schema:
  22595. $ref: '#/definitions/app.Response'
  22596. security:
  22597. - ApiKeyAuth: []
  22598. summary: 查询企业风管期货商品信息
  22599. tags:
  22600. - 企业风险管理(app)
  22601. /Ermcp/GetErmcpGoodsSortByPosition:
  22602. get:
  22603. parameters:
  22604. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22605. in: query
  22606. name: sortIndex
  22607. type: string
  22608. produces:
  22609. - application/json
  22610. responses:
  22611. "200":
  22612. description: OK
  22613. schema:
  22614. $ref: '#/definitions/models.Goodssortbypreposition'
  22615. "500":
  22616. description: Internal Server Error
  22617. schema:
  22618. $ref: '#/definitions/app.Response'
  22619. security:
  22620. - ApiKeyAuth: []
  22621. summary: 查询企业风管期货主力、次主力商品信息
  22622. tags:
  22623. - 企业风险管理(app)
  22624. /Ermcp/GetErmcpOutAccountStatus:
  22625. get:
  22626. parameters:
  22627. - description: 登录账号
  22628. in: query
  22629. name: loginID
  22630. required: true
  22631. type: integer
  22632. produces:
  22633. - application/json
  22634. responses:
  22635. "200":
  22636. description: OK
  22637. schema:
  22638. $ref: '#/definitions/models.Hedgemarketopenlog'
  22639. "500":
  22640. description: Internal Server Error
  22641. schema:
  22642. $ref: '#/definitions/app.Response'
  22643. security:
  22644. - ApiKeyAuth: []
  22645. summary: 获取目标登录账号当前对冲账号在线状态
  22646. tags:
  22647. - 企业风险管理(app)
  22648. /Ermcp/GetErmcpRoleFuncMenuLists:
  22649. get:
  22650. parameters:
  22651. - description: 登录账号
  22652. in: query
  22653. name: loginID
  22654. required: true
  22655. type: integer
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. $ref: '#/definitions/models.Funcmenulist'
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 获取企业风管终端权限
  22670. tags:
  22671. - 企业风险管理(app)
  22672. /Ermcp/QueryAccMgrBizGroupSet:
  22673. get:
  22674. parameters:
  22675. - description: 用户ID
  22676. in: query
  22677. name: userid
  22678. required: true
  22679. type: integer
  22680. - description: 现货商品id
  22681. in: query
  22682. name: deliverygoodsid
  22683. type: integer
  22684. produces:
  22685. - application/json
  22686. responses:
  22687. "200":
  22688. description: OK
  22689. schema:
  22690. items:
  22691. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22692. type: array
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询业务类型分组(账户管理/账户设置)
  22700. tags:
  22701. - 企业风险管理(app)
  22702. /Ermcp/QueryAccMgrLoginUser:
  22703. get:
  22704. parameters:
  22705. - description: 用户ID
  22706. in: query
  22707. name: userid
  22708. required: true
  22709. type: integer
  22710. - description: 用户类型 2-机构 7-企业成员
  22711. in: query
  22712. name: usertype
  22713. type: integer
  22714. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22715. in: query
  22716. name: querytype
  22717. required: true
  22718. type: integer
  22719. produces:
  22720. - application/json
  22721. responses:
  22722. "200":
  22723. description: OK
  22724. schema:
  22725. items:
  22726. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22727. type: array
  22728. "500":
  22729. description: Internal Server Error
  22730. schema:
  22731. $ref: '#/definitions/app.Response'
  22732. security:
  22733. - ApiKeyAuth: []
  22734. summary: 查询账户管理登录账号(账户管理/登录账号)
  22735. tags:
  22736. - 企业风险管理(app)
  22737. /Ermcp/QueryAccMgrMainAccountInfo:
  22738. get:
  22739. parameters:
  22740. - description: 用户ID
  22741. in: query
  22742. name: userid
  22743. type: integer
  22744. - description: 主账号id
  22745. in: query
  22746. name: accountid
  22747. type: integer
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. items:
  22755. $ref: '#/definitions/models.MainAccountInfo'
  22756. type: array
  22757. "500":
  22758. description: Internal Server Error
  22759. schema:
  22760. $ref: '#/definitions/app.Response'
  22761. security:
  22762. - ApiKeyAuth: []
  22763. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22764. tags:
  22765. - 企业风险管理(app)
  22766. /Ermcp/QueryAccMgrRole:
  22767. get:
  22768. parameters:
  22769. - description: 用户ID
  22770. in: query
  22771. name: userid
  22772. required: true
  22773. type: integer
  22774. produces:
  22775. - application/json
  22776. responses:
  22777. "200":
  22778. description: OK
  22779. schema:
  22780. items:
  22781. $ref: '#/definitions/models.ErmcpRole'
  22782. type: array
  22783. "500":
  22784. description: Internal Server Error
  22785. schema:
  22786. $ref: '#/definitions/app.Response'
  22787. security:
  22788. - ApiKeyAuth: []
  22789. summary: 查询账户管理角色设置(账户管理/角色设置)
  22790. tags:
  22791. - 企业风险管理(app)
  22792. /Ermcp/QueryAccMgrRoleMenu:
  22793. get:
  22794. parameters:
  22795. - description: 用户ID
  22796. in: query
  22797. name: userid
  22798. required: true
  22799. type: integer
  22800. - description: 角色id(可多个,逗号隔开)
  22801. in: query
  22802. name: roleid
  22803. type: string
  22804. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22805. in: query
  22806. name: menutype
  22807. type: integer
  22808. produces:
  22809. - application/json
  22810. responses:
  22811. "200":
  22812. description: OK
  22813. schema:
  22814. items:
  22815. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22816. type: array
  22817. "500":
  22818. description: Internal Server Error
  22819. schema:
  22820. $ref: '#/definitions/app.Response'
  22821. security:
  22822. - ApiKeyAuth: []
  22823. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22824. tags:
  22825. - 企业风险管理(app)
  22826. /Ermcp/QueryAccMgrTaAccountInfo:
  22827. get:
  22828. parameters:
  22829. - description: 用户ID
  22830. in: query
  22831. name: userid
  22832. required: true
  22833. type: integer
  22834. - description: 账号id
  22835. in: query
  22836. name: accountid
  22837. type: integer
  22838. produces:
  22839. - application/json
  22840. responses:
  22841. "200":
  22842. description: OK
  22843. schema:
  22844. items:
  22845. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22846. type: array
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22854. tags:
  22855. - 企业风险管理(app)
  22856. /Ermcp/QueryAccMgrTaaccount:
  22857. get:
  22858. parameters:
  22859. - description: 用户ID
  22860. in: query
  22861. name: userid
  22862. required: true
  22863. type: integer
  22864. produces:
  22865. - application/json
  22866. responses:
  22867. "200":
  22868. description: OK
  22869. schema:
  22870. items:
  22871. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22872. type: array
  22873. "500":
  22874. description: Internal Server Error
  22875. schema:
  22876. $ref: '#/definitions/app.Response'
  22877. security:
  22878. - ApiKeyAuth: []
  22879. summary: 查询账户管理期货账号(账户管理/期货账号)
  22880. tags:
  22881. - 企业风险管理(app)
  22882. /Ermcp/QueryAvaildGoodsGroup:
  22883. get:
  22884. parameters:
  22885. - description: 所属机构ID
  22886. in: query
  22887. name: userid
  22888. required: true
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. items:
  22897. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22898. type: array
  22899. "500":
  22900. description: Internal Server Error
  22901. schema:
  22902. $ref: '#/definitions/app.Response'
  22903. security:
  22904. - ApiKeyAuth: []
  22905. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22906. tags:
  22907. - 企业风险管理(app)
  22908. /Ermcp/QueryBusinessDj:
  22909. get:
  22910. parameters:
  22911. - description: 用户ID
  22912. in: query
  22913. name: UserId
  22914. required: true
  22915. type: integer
  22916. - description: 用户类型 2-机构 7-企业成员
  22917. in: query
  22918. name: usertype
  22919. type: integer
  22920. - description: 现货合同ID, 不填则查所有
  22921. in: query
  22922. name: relatedid
  22923. type: string
  22924. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22925. in: query
  22926. name: applystatus
  22927. type: string
  22928. produces:
  22929. - application/json
  22930. responses:
  22931. "200":
  22932. description: OK
  22933. schema:
  22934. items:
  22935. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22936. type: array
  22937. "500":
  22938. description: Internal Server Error
  22939. schema:
  22940. $ref: '#/definitions/app.Response'
  22941. security:
  22942. - ApiKeyAuth: []
  22943. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22944. tags:
  22945. - 企业风险管理(app)
  22946. /Ermcp/QueryBusinessFp:
  22947. get:
  22948. parameters:
  22949. - description: 用户ID
  22950. in: query
  22951. name: UserId
  22952. required: true
  22953. type: integer
  22954. - description: 用户类型 2-机构 7-企业成员
  22955. in: query
  22956. name: usertype
  22957. type: integer
  22958. - description: 现货合同ID, 不填则查所有
  22959. in: query
  22960. name: relatedid
  22961. type: string
  22962. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22963. in: query
  22964. name: applystatus
  22965. type: string
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. items:
  22973. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22974. type: array
  22975. "500":
  22976. description: Internal Server Error
  22977. schema:
  22978. $ref: '#/definitions/app.Response'
  22979. security:
  22980. - ApiKeyAuth: []
  22981. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22982. tags:
  22983. - 企业风险管理(app)
  22984. /Ermcp/QueryBusinessJs:
  22985. get:
  22986. parameters:
  22987. - description: 用户ID
  22988. in: query
  22989. name: UserId
  22990. required: true
  22991. type: integer
  22992. - description: 用户类型 2-机构 7-企业成员
  22993. in: query
  22994. name: usertype
  22995. type: integer
  22996. - description: 现货合同ID, 不填则查所有
  22997. in: query
  22998. name: relatedid
  22999. type: string
  23000. - description: 操作申请id
  23001. in: query
  23002. name: operateapplyid
  23003. type: string
  23004. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23005. in: query
  23006. name: applystatus
  23007. type: string
  23008. produces:
  23009. - application/json
  23010. responses:
  23011. "200":
  23012. description: OK
  23013. schema:
  23014. items:
  23015. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23016. type: array
  23017. "500":
  23018. description: Internal Server Error
  23019. schema:
  23020. $ref: '#/definitions/app.Response'
  23021. security:
  23022. - ApiKeyAuth: []
  23023. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23024. tags:
  23025. - 企业风险管理(app)
  23026. /Ermcp/QueryBusinessJsEx:
  23027. get:
  23028. parameters:
  23029. - description: 用户ID
  23030. in: query
  23031. name: UserId
  23032. required: true
  23033. type: integer
  23034. - description: 用户类型 2-机构 7-企业成员
  23035. in: query
  23036. name: usertype
  23037. type: integer
  23038. - description: 现货合同ID, 不填则查所有
  23039. in: query
  23040. name: relatedid
  23041. type: string
  23042. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23043. in: query
  23044. name: applystatus
  23045. type: string
  23046. produces:
  23047. - application/json
  23048. responses:
  23049. "200":
  23050. description: OK
  23051. schema:
  23052. items:
  23053. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23054. type: array
  23055. "500":
  23056. description: Internal Server Error
  23057. schema:
  23058. $ref: '#/definitions/app.Response'
  23059. security:
  23060. - ApiKeyAuth: []
  23061. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23062. tags:
  23063. - 企业风险管理(app)
  23064. /Ermcp/QueryBusinessKx:
  23065. get:
  23066. parameters:
  23067. - description: 用户ID
  23068. in: query
  23069. name: UserId
  23070. required: true
  23071. type: integer
  23072. - description: 用户类型 2-机构 7-企业成员
  23073. in: query
  23074. name: usertype
  23075. type: integer
  23076. - description: 现货合同ID, 不填则查所有
  23077. in: query
  23078. name: relatedid
  23079. type: string
  23080. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23081. in: query
  23082. name: applystatus
  23083. type: string
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. items:
  23091. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  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/QueryChangeLog:
  23103. get:
  23104. parameters:
  23105. - description: 合同ID
  23106. in: query
  23107. name: RelatedId
  23108. required: true
  23109. type: string
  23110. produces:
  23111. - application/json
  23112. responses:
  23113. "200":
  23114. description: OK
  23115. schema:
  23116. items:
  23117. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23118. type: array
  23119. "500":
  23120. description: Internal Server Error
  23121. schema:
  23122. $ref: '#/definitions/app.Response'
  23123. security:
  23124. - ApiKeyAuth: []
  23125. summary: 查询变更记录
  23126. tags:
  23127. - 企业风险管理(app)
  23128. /Ermcp/QueryErmcpHisOrderDetails:
  23129. get:
  23130. parameters:
  23131. - description: 资金账户ID
  23132. in: query
  23133. name: accountID
  23134. required: true
  23135. type: integer
  23136. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23137. in: query
  23138. name: startDate
  23139. type: string
  23140. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23141. in: query
  23142. name: endDate
  23143. type: string
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23151. "500":
  23152. description: Internal Server Error
  23153. schema:
  23154. $ref: '#/definitions/app.Response'
  23155. security:
  23156. - ApiKeyAuth: []
  23157. summary: 获取企业风管期货历史委托单信息
  23158. tags:
  23159. - 企业风险管理(app)
  23160. /Ermcp/QueryErmcpHisTradeDetails:
  23161. get:
  23162. parameters:
  23163. - description: 资金账户ID
  23164. in: query
  23165. name: accountID
  23166. required: true
  23167. type: integer
  23168. - description: 商品ID
  23169. in: query
  23170. name: goodsID
  23171. type: integer
  23172. - description: 买卖方向,0:买 1:卖
  23173. in: query
  23174. name: buyOrSell
  23175. type: integer
  23176. - description: 关联委托单号
  23177. in: query
  23178. name: orderID
  23179. type: integer
  23180. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23181. in: query
  23182. name: startDate
  23183. type: string
  23184. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23185. in: query
  23186. name: endDate
  23187. type: string
  23188. produces:
  23189. - application/json
  23190. responses:
  23191. "200":
  23192. description: OK
  23193. schema:
  23194. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 获取企业风管期货历史成交单信息
  23202. tags:
  23203. - 企业风险管理(app)
  23204. /Ermcp/QueryErmcpInnerHolderDetails:
  23205. get:
  23206. parameters:
  23207. - description: 资金账户ID
  23208. in: query
  23209. name: accountID
  23210. required: true
  23211. type: integer
  23212. - description: 商品ID
  23213. in: query
  23214. name: goodsID
  23215. type: integer
  23216. - description: 买卖方向,0:买 1:卖
  23217. in: query
  23218. name: buyOrSell
  23219. type: integer
  23220. produces:
  23221. - application/json
  23222. responses:
  23223. "200":
  23224. description: OK
  23225. schema:
  23226. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23227. "500":
  23228. description: Internal Server Error
  23229. schema:
  23230. $ref: '#/definitions/app.Response'
  23231. security:
  23232. - ApiKeyAuth: []
  23233. summary: 获取企业风管期货内部持仓单信息
  23234. tags:
  23235. - 企业风险管理(app)
  23236. /Ermcp/QueryErmcpOrderDetails:
  23237. get:
  23238. parameters:
  23239. - description: 资金账户ID
  23240. in: query
  23241. name: accountID
  23242. required: true
  23243. type: integer
  23244. produces:
  23245. - application/json
  23246. responses:
  23247. "200":
  23248. description: OK
  23249. schema:
  23250. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23251. "500":
  23252. description: Internal Server Error
  23253. schema:
  23254. $ref: '#/definitions/app.Response'
  23255. security:
  23256. - ApiKeyAuth: []
  23257. summary: 获取企业风管期货委托单信息
  23258. tags:
  23259. - 企业风险管理(app)
  23260. /Ermcp/QueryErmcpTradeDetails:
  23261. get:
  23262. parameters:
  23263. - description: 资金账户ID
  23264. in: query
  23265. name: accountID
  23266. required: true
  23267. type: integer
  23268. - description: 商品ID
  23269. in: query
  23270. name: goodsID
  23271. type: integer
  23272. - description: 买卖方向,0:买 1:卖
  23273. in: query
  23274. name: buyOrSell
  23275. type: integer
  23276. - description: 关联委托单号
  23277. in: query
  23278. name: orderID
  23279. type: integer
  23280. produces:
  23281. - application/json
  23282. responses:
  23283. "200":
  23284. description: OK
  23285. schema:
  23286. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23287. "500":
  23288. description: Internal Server Error
  23289. schema:
  23290. $ref: '#/definitions/app.Response'
  23291. security:
  23292. - ApiKeyAuth: []
  23293. summary: 获取企业风管期货成交单信息
  23294. tags:
  23295. - 企业风险管理(app)
  23296. /Ermcp/QueryErmcpTradePosition:
  23297. get:
  23298. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23299. parameters:
  23300. - description: 资金账户ID
  23301. in: query
  23302. name: accountID
  23303. required: true
  23304. type: integer
  23305. - description: 所属市场ID
  23306. in: query
  23307. name: marketID
  23308. type: integer
  23309. produces:
  23310. - application/json
  23311. responses:
  23312. "200":
  23313. description: OK
  23314. schema:
  23315. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23316. "500":
  23317. description: Internal Server Error
  23318. schema:
  23319. $ref: '#/definitions/app.Response'
  23320. security:
  23321. - ApiKeyAuth: []
  23322. summary: 获取企业风管期货持仓头寸信息
  23323. tags:
  23324. - 企业风险管理(app)
  23325. /Ermcp/QueryExposureDetail:
  23326. get:
  23327. parameters:
  23328. - description: 所属机构ID
  23329. in: query
  23330. name: areaUserId
  23331. required: true
  23332. type: integer
  23333. - description: 套保商品
  23334. in: query
  23335. name: middleGoodsId
  23336. required: true
  23337. type: integer
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. items:
  23345. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23346. type: array
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询敞口现货明细
  23354. tags:
  23355. - 企业风险管理(app)
  23356. /Ermcp/QueryExposureGoods:
  23357. get:
  23358. parameters:
  23359. - description: 套保商品id
  23360. in: query
  23361. name: middlegoodsid
  23362. required: true
  23363. type: integer
  23364. produces:
  23365. - application/json
  23366. responses:
  23367. "200":
  23368. description: OK
  23369. schema:
  23370. items:
  23371. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23372. type: array
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 查询敞口主力合约
  23380. tags:
  23381. - 企业风险管理(app)
  23382. /Ermcp/QueryExposureHedgePosition:
  23383. get:
  23384. parameters:
  23385. - description: 用户id
  23386. in: query
  23387. name: userid
  23388. required: true
  23389. type: integer
  23390. produces:
  23391. - application/json
  23392. responses:
  23393. "200":
  23394. description: OK
  23395. schema:
  23396. items:
  23397. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23398. type: array
  23399. "500":
  23400. description: Internal Server Error
  23401. schema:
  23402. $ref: '#/definitions/app.Response'
  23403. security:
  23404. - ApiKeyAuth: []
  23405. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23406. tags:
  23407. - 企业风险管理(app)
  23408. /Ermcp/QueryExposureHedgePositionDetail:
  23409. get:
  23410. parameters:
  23411. - description: 所属机构ID
  23412. in: query
  23413. name: userid
  23414. required: true
  23415. type: integer
  23416. - description: 商品id
  23417. in: query
  23418. name: goodsId
  23419. required: true
  23420. type: integer
  23421. produces:
  23422. - application/json
  23423. responses:
  23424. "200":
  23425. description: OK
  23426. schema:
  23427. items:
  23428. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23429. type: array
  23430. "500":
  23431. description: Internal Server Error
  23432. schema:
  23433. $ref: '#/definitions/app.Response'
  23434. security:
  23435. - ApiKeyAuth: []
  23436. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23437. tags:
  23438. - 企业风险管理(app)
  23439. /Ermcp/QueryExposureSpot:
  23440. get:
  23441. parameters:
  23442. - description: 所属机构ID
  23443. in: query
  23444. name: areaUserId
  23445. required: true
  23446. type: integer
  23447. produces:
  23448. - application/json
  23449. responses:
  23450. "200":
  23451. description: OK
  23452. schema:
  23453. items:
  23454. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23455. type: array
  23456. "500":
  23457. description: Internal Server Error
  23458. schema:
  23459. $ref: '#/definitions/app.Response'
  23460. security:
  23461. - ApiKeyAuth: []
  23462. summary: 查询敞口现货头寸(敞口/现货头寸)
  23463. tags:
  23464. - 企业风险管理(app)
  23465. /Ermcp/QueryExposureSpotDetail:
  23466. get:
  23467. parameters:
  23468. - description: 所属机构ID
  23469. in: query
  23470. name: areaUserId
  23471. required: true
  23472. type: integer
  23473. - description: 现货品种ID
  23474. in: query
  23475. name: wrstandardId
  23476. required: true
  23477. type: integer
  23478. produces:
  23479. - application/json
  23480. responses:
  23481. "200":
  23482. description: OK
  23483. schema:
  23484. items:
  23485. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23486. type: array
  23487. "500":
  23488. description: Internal Server Error
  23489. schema:
  23490. $ref: '#/definitions/app.Response'
  23491. security:
  23492. - ApiKeyAuth: []
  23493. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23494. tags:
  23495. - 企业风险管理(app)
  23496. /Ermcp/QueryFuturesCompany:
  23497. get:
  23498. produces:
  23499. - application/json
  23500. responses:
  23501. "200":
  23502. description: OK
  23503. schema:
  23504. items:
  23505. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23506. type: array
  23507. "500":
  23508. description: Internal Server Error
  23509. schema:
  23510. $ref: '#/definitions/app.Response'
  23511. security:
  23512. - ApiKeyAuth: []
  23513. summary: 查询期货公司
  23514. tags:
  23515. - 企业风险管理(app)
  23516. /Ermcp/QueryGGConvertConfig:
  23517. get:
  23518. parameters:
  23519. - description: 品种id(不填则查所有)
  23520. in: query
  23521. name: goodsgroupid
  23522. type: integer
  23523. produces:
  23524. - application/json
  23525. responses:
  23526. "200":
  23527. description: OK
  23528. schema:
  23529. items:
  23530. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23531. type: array
  23532. "500":
  23533. description: Internal Server Error
  23534. schema:
  23535. $ref: '#/definitions/app.Response'
  23536. security:
  23537. - ApiKeyAuth: []
  23538. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23539. tags:
  23540. - 企业风险管理(app)
  23541. /Ermcp/QueryGoodsBrand:
  23542. get:
  23543. parameters:
  23544. - description: 用户ID
  23545. in: query
  23546. name: userid
  23547. required: true
  23548. type: integer
  23549. - description: 现货商品ID
  23550. in: query
  23551. name: wrstandardid
  23552. type: integer
  23553. produces:
  23554. - application/json
  23555. responses:
  23556. "200":
  23557. description: OK
  23558. schema:
  23559. items:
  23560. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23561. type: array
  23562. "500":
  23563. description: Internal Server Error
  23564. schema:
  23565. $ref: '#/definitions/app.Response'
  23566. security:
  23567. - ApiKeyAuth: []
  23568. summary: 查询商品品牌
  23569. tags:
  23570. - 企业风险管理(app)
  23571. /Ermcp/QueryGoodsModel:
  23572. get:
  23573. parameters:
  23574. - description: 用户ID
  23575. in: query
  23576. name: userid
  23577. required: true
  23578. type: integer
  23579. produces:
  23580. - application/json
  23581. responses:
  23582. "200":
  23583. description: OK
  23584. schema:
  23585. items:
  23586. $ref: '#/definitions/models.ErmcpGoodsModel'
  23587. type: array
  23588. "500":
  23589. description: Internal Server Error
  23590. schema:
  23591. $ref: '#/definitions/app.Response'
  23592. security:
  23593. - ApiKeyAuth: []
  23594. summary: 查询商品型号
  23595. tags:
  23596. - 企业风险管理(app)
  23597. /Ermcp/QueryHisExposure:
  23598. get:
  23599. parameters:
  23600. - description: 用户id
  23601. in: query
  23602. name: userid
  23603. required: true
  23604. type: integer
  23605. - description: 每个品种记录数
  23606. in: query
  23607. name: lastNum
  23608. required: true
  23609. type: integer
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. items:
  23617. $ref: '#/definitions/ermcp.HisExposureRsp'
  23618. type: array
  23619. "500":
  23620. description: Internal Server Error
  23621. schema:
  23622. $ref: '#/definitions/app.Response'
  23623. security:
  23624. - ApiKeyAuth: []
  23625. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23626. tags:
  23627. - 企业风险管理(app)
  23628. /Ermcp/QueryMiddleGoods:
  23629. get:
  23630. parameters:
  23631. - description: 所属机构ID
  23632. in: query
  23633. name: userid
  23634. required: true
  23635. type: integer
  23636. - description: 状态 0-停用 1-正常
  23637. in: query
  23638. name: status
  23639. required: true
  23640. type: integer
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. items:
  23648. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23649. type: array
  23650. "500":
  23651. description: Internal Server Error
  23652. schema:
  23653. $ref: '#/definitions/app.Response'
  23654. security:
  23655. - ApiKeyAuth: []
  23656. summary: 查询套保品种(菜单:套保品种)
  23657. tags:
  23658. - 企业风险管理(app)
  23659. /Ermcp/QueryMiddleGoodsChangeLog:
  23660. get:
  23661. parameters:
  23662. - description: 所属机构ID
  23663. in: query
  23664. name: userid
  23665. required: true
  23666. type: integer
  23667. - description: 套保品种id
  23668. in: query
  23669. name: middlegoodsid
  23670. required: true
  23671. type: integer
  23672. produces:
  23673. - application/json
  23674. responses:
  23675. "200":
  23676. description: OK
  23677. schema:
  23678. items:
  23679. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23680. type: array
  23681. "500":
  23682. description: Internal Server Error
  23683. schema:
  23684. $ref: '#/definitions/app.Response'
  23685. security:
  23686. - ApiKeyAuth: []
  23687. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23688. tags:
  23689. - 企业风险管理(app)
  23690. /Ermcp/QueryMiddleGoodsDetail:
  23691. get:
  23692. parameters:
  23693. - description: 所属机构ID
  23694. in: query
  23695. name: userid
  23696. required: true
  23697. type: integer
  23698. - description: 套保品种id
  23699. in: query
  23700. name: middlegoodsid
  23701. type: integer
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. items:
  23709. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23710. type: array
  23711. "500":
  23712. description: Internal Server Error
  23713. schema:
  23714. $ref: '#/definitions/app.Response'
  23715. security:
  23716. - ApiKeyAuth: []
  23717. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23718. tags:
  23719. - 企业风险管理(app)
  23720. /Ermcp/QueryPendingAuditInfo:
  23721. get:
  23722. parameters:
  23723. - description: 用户ID
  23724. in: query
  23725. name: UserId
  23726. required: true
  23727. type: integer
  23728. produces:
  23729. - application/json
  23730. responses:
  23731. "200":
  23732. description: OK
  23733. schema:
  23734. items:
  23735. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23736. type: array
  23737. "500":
  23738. description: Internal Server Error
  23739. schema:
  23740. $ref: '#/definitions/app.Response'
  23741. security:
  23742. - ApiKeyAuth: []
  23743. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23744. tags:
  23745. - 企业风险管理(app)
  23746. /Ermcp/QueryRealtimeExposure:
  23747. get:
  23748. parameters:
  23749. - description: 所属机构ID
  23750. in: query
  23751. name: userid
  23752. required: true
  23753. type: integer
  23754. produces:
  23755. - application/json
  23756. responses:
  23757. "200":
  23758. description: OK
  23759. schema:
  23760. items:
  23761. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23762. type: array
  23763. "500":
  23764. description: Internal Server Error
  23765. schema:
  23766. $ref: '#/definitions/app.Response'
  23767. security:
  23768. - ApiKeyAuth: []
  23769. summary: 查询实时敞口
  23770. tags:
  23771. - 企业风险管理(app)
  23772. /Ermcp/QueryRealtimeExposurePosition:
  23773. get:
  23774. parameters:
  23775. - description: 用户id
  23776. in: query
  23777. name: userid
  23778. required: true
  23779. type: integer
  23780. - description: 套保商品ID
  23781. in: query
  23782. name: middleGoodsId
  23783. required: true
  23784. type: integer
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. items:
  23792. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23793. type: array
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23801. tags:
  23802. - 企业风险管理(app)
  23803. /Ermcp/QueryRoleMenu:
  23804. get:
  23805. parameters:
  23806. - description: 登录ID
  23807. in: query
  23808. name: loginid
  23809. required: true
  23810. type: integer
  23811. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23812. in: query
  23813. name: menutype
  23814. type: integer
  23815. produces:
  23816. - application/json
  23817. responses:
  23818. "200":
  23819. description: OK
  23820. schema:
  23821. items:
  23822. $ref: '#/definitions/models.RoleMenu'
  23823. type: array
  23824. "500":
  23825. description: Internal Server Error
  23826. schema:
  23827. $ref: '#/definitions/app.Response'
  23828. security:
  23829. - ApiKeyAuth: []
  23830. summary: 查询角色菜单和权限
  23831. tags:
  23832. - 企业风险管理(app)
  23833. /Ermcp/QueryTradeConfigTMP:
  23834. get:
  23835. parameters:
  23836. - description: 所属机构id
  23837. in: query
  23838. name: areauserid
  23839. type: integer
  23840. produces:
  23841. - application/json
  23842. responses:
  23843. "200":
  23844. description: OK
  23845. schema:
  23846. items:
  23847. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23848. type: array
  23849. "500":
  23850. description: Internal Server Error
  23851. schema:
  23852. $ref: '#/definitions/app.Response'
  23853. security:
  23854. - ApiKeyAuth: []
  23855. summary: 查询交易模板配置
  23856. tags:
  23857. - 企业风险管理(app)
  23858. /Ermcp/QueryUserInfo:
  23859. get:
  23860. parameters:
  23861. - description: 所属机构用户ID
  23862. in: query
  23863. name: MemberUserID
  23864. required: true
  23865. type: integer
  23866. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23867. in: query
  23868. name: queryType
  23869. required: true
  23870. type: integer
  23871. produces:
  23872. - application/json
  23873. responses:
  23874. "200":
  23875. description: OK
  23876. schema:
  23877. items:
  23878. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23879. type: array
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 查询客户资料
  23887. tags:
  23888. - 企业风险管理(app)
  23889. /Ermcp/QueryWarehouseInfo:
  23890. get:
  23891. parameters:
  23892. - description: 用户ID
  23893. in: query
  23894. name: userid
  23895. required: true
  23896. type: integer
  23897. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23898. in: query
  23899. name: status
  23900. type: string
  23901. produces:
  23902. - application/json
  23903. responses:
  23904. "200":
  23905. description: OK
  23906. schema:
  23907. items:
  23908. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23909. type: array
  23910. "500":
  23911. description: Internal Server Error
  23912. schema:
  23913. $ref: '#/definitions/app.Response'
  23914. security:
  23915. - ApiKeyAuth: []
  23916. summary: 查询仓库信息
  23917. tags:
  23918. - 企业风险管理(app)
  23919. /Ermcp3/QryAreaExpourseContractDetail:
  23920. get:
  23921. parameters:
  23922. - description: 用户ID
  23923. in: query
  23924. name: userid
  23925. required: true
  23926. type: integer
  23927. - description: 套保商品id
  23928. in: query
  23929. name: middlegoodsid
  23930. required: true
  23931. type: integer
  23932. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23933. in: query
  23934. name: cycletype
  23935. required: true
  23936. type: integer
  23937. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23938. 全(0)【原值】
  23939. in: query
  23940. name: cycletime
  23941. required: true
  23942. type: string
  23943. produces:
  23944. - application/json
  23945. responses:
  23946. "200":
  23947. description: OK
  23948. schema:
  23949. items:
  23950. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23951. type: array
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23959. tags:
  23960. - 企业风险管理v3(app)
  23961. /Ermcp3/QryAreaExpourseFutuDetail:
  23962. get:
  23963. parameters:
  23964. - description: 用户ID
  23965. in: query
  23966. name: userid
  23967. required: true
  23968. type: integer
  23969. - description: 套保商品id
  23970. in: query
  23971. name: middlegoodsid
  23972. required: true
  23973. type: integer
  23974. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23975. in: query
  23976. name: cycletype
  23977. required: true
  23978. type: integer
  23979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23980. 全(0)【原值】
  23981. in: query
  23982. name: cycletime
  23983. required: true
  23984. type: string
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. items:
  23992. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23993. type: array
  23994. "500":
  23995. description: Internal Server Error
  23996. schema:
  23997. $ref: '#/definitions/app.Response'
  23998. security:
  23999. - ApiKeyAuth: []
  24000. summary: 查询敞口期货明细(敞口报表/期货明细)
  24001. tags:
  24002. - 企业风险管理v3(app)
  24003. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24004. get:
  24005. parameters:
  24006. - description: 用户ID
  24007. in: query
  24008. name: userid
  24009. required: true
  24010. type: integer
  24011. - description: 套保商品id
  24012. in: query
  24013. name: middlegoodsid
  24014. required: true
  24015. type: integer
  24016. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24017. in: query
  24018. name: cycletype
  24019. required: true
  24020. type: integer
  24021. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24022. 全(0)【原值】
  24023. in: query
  24024. name: cycletime
  24025. required: true
  24026. type: string
  24027. produces:
  24028. - application/json
  24029. responses:
  24030. "200":
  24031. description: OK
  24032. schema:
  24033. items:
  24034. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24035. type: array
  24036. "500":
  24037. description: Internal Server Error
  24038. schema:
  24039. $ref: '#/definitions/app.Response'
  24040. security:
  24041. - ApiKeyAuth: []
  24042. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24043. tags:
  24044. - 企业风险管理v3(app)
  24045. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24046. get:
  24047. parameters:
  24048. - description: 用户ID
  24049. in: query
  24050. name: userid
  24051. required: true
  24052. type: integer
  24053. - description: 套保商品id
  24054. in: query
  24055. name: middlegoodsid
  24056. required: true
  24057. type: integer
  24058. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24059. in: query
  24060. name: cycletype
  24061. required: true
  24062. type: integer
  24063. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24064. 全(0)【原值】
  24065. in: query
  24066. name: cycletime
  24067. required: true
  24068. type: string
  24069. produces:
  24070. - application/json
  24071. responses:
  24072. "200":
  24073. description: OK
  24074. schema:
  24075. items:
  24076. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24077. type: array
  24078. "500":
  24079. description: Internal Server Error
  24080. schema:
  24081. $ref: '#/definitions/app.Response'
  24082. security:
  24083. - ApiKeyAuth: []
  24084. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24085. tags:
  24086. - 企业风险管理v3(app)
  24087. /Ermcp3/QryAreaExpourseReport:
  24088. get:
  24089. parameters:
  24090. - description: 用户ID
  24091. in: query
  24092. name: userid
  24093. required: true
  24094. type: integer
  24095. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24096. in: query
  24097. name: querytype
  24098. required: true
  24099. type: integer
  24100. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24101. in: query
  24102. name: cycletype
  24103. required: true
  24104. type: integer
  24105. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24106. 全(0)【原值】
  24107. in: query
  24108. name: cycletime
  24109. required: true
  24110. type: string
  24111. produces:
  24112. - application/json
  24113. responses:
  24114. "200":
  24115. description: OK
  24116. schema:
  24117. items:
  24118. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24119. type: array
  24120. "500":
  24121. description: Internal Server Error
  24122. schema:
  24123. $ref: '#/definitions/app.Response'
  24124. security:
  24125. - ApiKeyAuth: []
  24126. summary: 查询敞口报表
  24127. tags:
  24128. - 企业风险管理v3(app)
  24129. /Ermcp3/QryAreaSpotplReport:
  24130. get:
  24131. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24132. parameters:
  24133. - description: 用户ID
  24134. in: query
  24135. name: userid
  24136. required: true
  24137. type: integer
  24138. - description: 查询类型 1-报表 2-报表明细
  24139. in: query
  24140. name: querytype
  24141. required: true
  24142. type: integer
  24143. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24144. in: query
  24145. name: cycletype
  24146. required: true
  24147. type: integer
  24148. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24149. 全(0)【原值】
  24150. in: query
  24151. name: cycletime
  24152. required: true
  24153. type: string
  24154. - description: 现货品种id(明细必填)
  24155. in: query
  24156. name: deliverygoodsid
  24157. type: integer
  24158. - description: 币种id(明细必填)
  24159. in: query
  24160. name: currencyid
  24161. type: integer
  24162. - description: 日/周/月报表汇总维度 1:品种+品类
  24163. in: query
  24164. name: sumflag
  24165. type: integer
  24166. produces:
  24167. - application/json
  24168. responses:
  24169. "200":
  24170. description: OK
  24171. schema:
  24172. items:
  24173. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24174. type: array
  24175. "500":
  24176. description: Internal Server Error
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. security:
  24180. - ApiKeyAuth: []
  24181. summary: 查询现货报表
  24182. tags:
  24183. - 企业风险管理v3(app)
  24184. /Ermcp3/QryAreaStockReport:
  24185. get:
  24186. parameters:
  24187. - description: 用户ID
  24188. in: query
  24189. name: userid
  24190. required: true
  24191. type: integer
  24192. - description: 查询类型 1-报表 2-报表明细
  24193. in: query
  24194. name: querytype
  24195. required: true
  24196. type: integer
  24197. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24198. in: query
  24199. name: cycletype
  24200. required: true
  24201. type: integer
  24202. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24203. 全(0)【原值】
  24204. in: query
  24205. name: cycletime
  24206. required: true
  24207. type: string
  24208. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24209. in: query
  24210. name: sumfields
  24211. type: string
  24212. - description: 品种ID
  24213. in: query
  24214. name: deliverygoodsid
  24215. type: integer
  24216. - description: 品类ID
  24217. in: query
  24218. name: wrstandardid
  24219. type: integer
  24220. - description: 品牌ID
  24221. in: query
  24222. name: spotgoodsbrandid
  24223. type: integer
  24224. - description: 仓库ID
  24225. in: query
  24226. name: warehouseinfoid
  24227. type: integer
  24228. produces:
  24229. - application/json
  24230. responses:
  24231. "200":
  24232. description: OK
  24233. schema:
  24234. items:
  24235. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24236. type: array
  24237. "500":
  24238. description: Internal Server Error
  24239. schema:
  24240. $ref: '#/definitions/app.Response'
  24241. security:
  24242. - ApiKeyAuth: []
  24243. summary: 查询库存报表
  24244. tags:
  24245. - 企业风险管理v3(app)
  24246. /Ermcp3/QryAreaSumPL:
  24247. get:
  24248. parameters:
  24249. - description: 用户ID
  24250. in: query
  24251. name: userid
  24252. required: true
  24253. type: integer
  24254. - description: 查询类型 1-报表 2-报表明细
  24255. in: query
  24256. name: querytype
  24257. required: true
  24258. type: integer
  24259. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24260. in: query
  24261. name: cycletype
  24262. required: true
  24263. type: integer
  24264. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24265. 全(0)【原值】
  24266. in: query
  24267. name: cycletime
  24268. required: true
  24269. type: string
  24270. - description: 币种id(明细必填)
  24271. in: query
  24272. name: currencyid
  24273. type: integer
  24274. - description: 套保品种ID, 查询类型为2时起效
  24275. in: query
  24276. name: middlegoodsid
  24277. type: integer
  24278. produces:
  24279. - application/json
  24280. responses:
  24281. "200":
  24282. description: OK
  24283. schema:
  24284. items:
  24285. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24286. type: array
  24287. "500":
  24288. description: Internal Server Error
  24289. schema:
  24290. $ref: '#/definitions/app.Response'
  24291. security:
  24292. - ApiKeyAuth: []
  24293. summary: 查询汇总损益表
  24294. tags:
  24295. - 企业风险管理v3(app)
  24296. /Ermcp3/QryFinanceReport:
  24297. get:
  24298. parameters:
  24299. - description: 用户ID
  24300. in: query
  24301. name: userid
  24302. required: true
  24303. type: integer
  24304. - description: 查询类型 1-报表 2-报表明细
  24305. in: query
  24306. name: querytype
  24307. required: true
  24308. type: integer
  24309. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24310. in: query
  24311. name: cycletype
  24312. required: true
  24313. type: integer
  24314. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24315. 全(0)【原值】
  24316. in: query
  24317. name: cycletime
  24318. required: true
  24319. type: string
  24320. - description: 币种id(报表明细必填)
  24321. in: query
  24322. name: currencyid
  24323. type: integer
  24324. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24325. in: query
  24326. name: sumfields
  24327. type: string
  24328. produces:
  24329. - application/json
  24330. responses:
  24331. "200":
  24332. description: OK
  24333. schema:
  24334. items:
  24335. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24336. type: array
  24337. "500":
  24338. description: Internal Server Error
  24339. schema:
  24340. $ref: '#/definitions/app.Response'
  24341. security:
  24342. - ApiKeyAuth: []
  24343. summary: 查询财务报表
  24344. tags:
  24345. - 企业风险管理v3(app)
  24346. /Ermcp3/QrySCMiddleGoodsReport:
  24347. get:
  24348. parameters:
  24349. - description: 用户ID
  24350. in: query
  24351. name: userid
  24352. required: true
  24353. type: integer
  24354. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24355. in: query
  24356. name: cycletype
  24357. required: true
  24358. type: integer
  24359. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24360. 全(0)【原值】
  24361. in: query
  24362. name: cycletime
  24363. required: true
  24364. type: string
  24365. - description: 合同id
  24366. in: query
  24367. name: spotcontractid
  24368. type: integer
  24369. - description: 套保品种id
  24370. in: query
  24371. name: middlegoodsid
  24372. type: integer
  24373. - description: 现货品种id
  24374. in: query
  24375. name: deliverygoodsid
  24376. type: integer
  24377. - description: 现货商品id
  24378. in: query
  24379. name: wrstandardid
  24380. type: integer
  24381. - description: 合同编号(模糊匹配)
  24382. in: query
  24383. name: contractno
  24384. type: string
  24385. produces:
  24386. - application/json
  24387. responses:
  24388. "200":
  24389. description: OK
  24390. schema:
  24391. items:
  24392. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24393. type: array
  24394. "500":
  24395. description: Internal Server Error
  24396. schema:
  24397. $ref: '#/definitions/app.Response'
  24398. security:
  24399. - ApiKeyAuth: []
  24400. summary: 查询定价报表
  24401. tags:
  24402. - 企业风险管理v3(app)
  24403. /Ermcp3/QryTaFutureDataReport:
  24404. get:
  24405. parameters:
  24406. - description: 用户ID
  24407. in: query
  24408. name: userid
  24409. required: true
  24410. type: integer
  24411. - description: 查询类型 1-报表 2-报表明细
  24412. in: query
  24413. name: querytype
  24414. required: true
  24415. type: integer
  24416. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24417. in: query
  24418. name: cycletype
  24419. required: true
  24420. type: integer
  24421. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24422. 全(0)【原值】
  24423. in: query
  24424. name: cycletime
  24425. required: true
  24426. type: string
  24427. - description: 币种id(查明细必填)
  24428. in: query
  24429. name: currencyid
  24430. type: integer
  24431. - description: 品种id(查明细必填)
  24432. in: query
  24433. name: goodsgroupid
  24434. type: integer
  24435. - description: 商品id(查明细必填)
  24436. in: query
  24437. name: goodsid
  24438. type: integer
  24439. - description: 买卖方向(查明细必填)
  24440. in: query
  24441. name: buyorsell
  24442. type: integer
  24443. produces:
  24444. - application/json
  24445. responses:
  24446. "200":
  24447. description: OK
  24448. schema:
  24449. items:
  24450. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24451. type: array
  24452. "500":
  24453. description: Internal Server Error
  24454. schema:
  24455. $ref: '#/definitions/app.Response'
  24456. security:
  24457. - ApiKeyAuth: []
  24458. summary: 查询期货报表
  24459. tags:
  24460. - 企业风险管理v3(app)
  24461. /Ermcp3/QueryAreaStock:
  24462. get:
  24463. parameters:
  24464. - description: 用户ID
  24465. in: query
  24466. name: userid
  24467. required: true
  24468. type: integer
  24469. produces:
  24470. - application/json
  24471. responses:
  24472. "200":
  24473. description: OK
  24474. schema:
  24475. items:
  24476. $ref: '#/definitions/models.Ermcp3AreaStock'
  24477. type: array
  24478. "500":
  24479. description: Internal Server Error
  24480. schema:
  24481. $ref: '#/definitions/app.Response'
  24482. security:
  24483. - ApiKeyAuth: []
  24484. summary: 查询机构库存(库存管理/当前库存)
  24485. tags:
  24486. - 企业风险管理v3(app)
  24487. /Ermcp3/QueryAreaStockApply:
  24488. get:
  24489. parameters:
  24490. - description: 用户ID
  24491. in: query
  24492. name: userid
  24493. required: true
  24494. type: integer
  24495. - description: 用户类型 2-机构 7-企业成员
  24496. in: query
  24497. name: usertype
  24498. type: integer
  24499. - description: 现货商品ID
  24500. in: query
  24501. name: deliverygoodsid
  24502. type: integer
  24503. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24504. in: query
  24505. name: inouttype
  24506. type: string
  24507. - description: 合同ID
  24508. in: query
  24509. name: spotcontractid
  24510. type: integer
  24511. - description: 品类ID
  24512. in: query
  24513. name: wrstandardid
  24514. type: integer
  24515. - description: 品牌ID
  24516. in: query
  24517. name: spotgoodsbrandid
  24518. type: integer
  24519. - description: 仓库ID
  24520. in: query
  24521. name: warehouseinfoid
  24522. type: integer
  24523. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24524. in: query
  24525. name: applystatus
  24526. type: string
  24527. produces:
  24528. - application/json
  24529. responses:
  24530. "200":
  24531. description: OK
  24532. schema:
  24533. items:
  24534. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24535. type: array
  24536. "500":
  24537. description: Internal Server Error
  24538. schema:
  24539. $ref: '#/definitions/app.Response'
  24540. security:
  24541. - ApiKeyAuth: []
  24542. summary: 查询库存申请(出入库记录|库存审核)
  24543. tags:
  24544. - 企业风险管理v3(app)
  24545. /Ermcp3/QueryAreaStockApplySum:
  24546. get:
  24547. parameters:
  24548. - description: 合同ID
  24549. in: query
  24550. name: spotcontractid
  24551. required: true
  24552. type: integer
  24553. produces:
  24554. - application/json
  24555. responses:
  24556. "200":
  24557. description: OK
  24558. schema:
  24559. items:
  24560. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24561. type: array
  24562. "500":
  24563. description: Internal Server Error
  24564. schema:
  24565. $ref: '#/definitions/app.Response'
  24566. security:
  24567. - ApiKeyAuth: []
  24568. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24569. tags:
  24570. - 企业风险管理v3(app)
  24571. /Ermcp3/QueryDGFactoryItem:
  24572. get:
  24573. parameters:
  24574. - description: 用户id
  24575. in: query
  24576. name: userid
  24577. type: integer
  24578. - description: 用户类型 2-机构 7-企业成员
  24579. in: query
  24580. name: usertype
  24581. type: integer
  24582. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24583. in: query
  24584. name: dgfactoryitemid
  24585. type: integer
  24586. - description: 现货品种ID
  24587. in: query
  24588. name: deliverygoodsid
  24589. type: integer
  24590. - description: 要素项类型
  24591. in: query
  24592. name: dgfactoryitemtypeid
  24593. type: integer
  24594. - description: 顺序
  24595. in: query
  24596. name: orderindex
  24597. type: integer
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询品种要素定义项
  24614. tags:
  24615. - 企业风险管理v3(app)
  24616. /Ermcp3/QueryDeliveryGoods:
  24617. get:
  24618. parameters:
  24619. - description: 用户id
  24620. in: query
  24621. name: userid
  24622. required: true
  24623. type: integer
  24624. - description: 用户类型 2-机构 7-企业成员
  24625. in: query
  24626. name: usertype
  24627. type: integer
  24628. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24629. in: query
  24630. name: excludecfg
  24631. type: integer
  24632. produces:
  24633. - application/json
  24634. responses:
  24635. "200":
  24636. description: OK
  24637. schema:
  24638. items:
  24639. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24640. type: array
  24641. "500":
  24642. description: Internal Server Error
  24643. schema:
  24644. $ref: '#/definitions/app.Response'
  24645. security:
  24646. - ApiKeyAuth: []
  24647. summary: 查询现货商品
  24648. tags:
  24649. - 企业风险管理v3(app)
  24650. /Ermcp3/QueryDeliveryGoodsDetail:
  24651. get:
  24652. parameters:
  24653. - description: 用户id
  24654. in: query
  24655. name: userid
  24656. required: true
  24657. type: integer
  24658. - description: 用户类型 2-机构 7-企业成员
  24659. in: query
  24660. name: usertype
  24661. type: integer
  24662. - description: 现货商品id
  24663. in: query
  24664. name: deliverygoodsid
  24665. type: integer
  24666. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24667. in: query
  24668. name: filtersubempty
  24669. type: integer
  24670. produces:
  24671. - application/json
  24672. responses:
  24673. "200":
  24674. description: OK
  24675. schema:
  24676. items:
  24677. $ref: '#/definitions/models.XHDeliveryGoods'
  24678. type: array
  24679. "500":
  24680. description: Internal Server Error
  24681. schema:
  24682. $ref: '#/definitions/app.Response'
  24683. security:
  24684. - ApiKeyAuth: []
  24685. summary: 查询现货商品详情
  24686. tags:
  24687. - 企业风险管理v3(app)
  24688. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24689. get:
  24690. parameters:
  24691. - description: 合同id
  24692. in: query
  24693. name: spotcontractid
  24694. required: true
  24695. type: string
  24696. produces:
  24697. - application/json
  24698. responses:
  24699. "200":
  24700. description: OK
  24701. schema:
  24702. items:
  24703. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24704. type: array
  24705. "500":
  24706. description: Internal Server Error
  24707. schema:
  24708. $ref: '#/definitions/app.Response'
  24709. security:
  24710. - ApiKeyAuth: []
  24711. summary: 查询现货合同期现配置信息
  24712. tags:
  24713. - 企业风险管理v3(app)
  24714. /Ermcp3/QueryExposureDetail:
  24715. get:
  24716. parameters:
  24717. - description: 用户id
  24718. in: query
  24719. name: userid
  24720. required: true
  24721. type: integer
  24722. - description: 用户类型 2-机构 7-企业成员
  24723. in: query
  24724. name: usertype
  24725. type: integer
  24726. - description: 套保商品
  24727. in: query
  24728. name: middlegoodsid
  24729. required: true
  24730. type: integer
  24731. produces:
  24732. - application/json
  24733. responses:
  24734. "200":
  24735. description: OK
  24736. schema:
  24737. items:
  24738. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24739. type: array
  24740. "500":
  24741. description: Internal Server Error
  24742. schema:
  24743. $ref: '#/definitions/app.Response'
  24744. security:
  24745. - ApiKeyAuth: []
  24746. summary: 查询敞口现货明细
  24747. tags:
  24748. - 企业风险管理v3(app)
  24749. /Ermcp3/QueryExposureSpot:
  24750. get:
  24751. parameters:
  24752. - description: 用户id
  24753. in: query
  24754. name: userid
  24755. required: true
  24756. type: integer
  24757. - description: 用户类型 2-机构 7-企业成员
  24758. in: query
  24759. name: usertype
  24760. type: integer
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. items:
  24768. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24769. type: array
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 查询敞口现货头寸(敞口/现货头寸)
  24777. tags:
  24778. - 企业风险管理v3(app)
  24779. /Ermcp3/QueryExposureSpotDetail:
  24780. get:
  24781. parameters:
  24782. - description: 用户id
  24783. in: query
  24784. name: userid
  24785. required: true
  24786. type: integer
  24787. - description: 用户类型 2-机构 7-企业成员
  24788. in: query
  24789. name: usertype
  24790. type: integer
  24791. - description: 现货商品ID
  24792. in: query
  24793. name: wrstandardid
  24794. required: true
  24795. type: integer
  24796. produces:
  24797. - application/json
  24798. responses:
  24799. "200":
  24800. description: OK
  24801. schema:
  24802. items:
  24803. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24804. type: array
  24805. "500":
  24806. description: Internal Server Error
  24807. schema:
  24808. $ref: '#/definitions/app.Response'
  24809. security:
  24810. - ApiKeyAuth: []
  24811. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24812. tags:
  24813. - 企业风险管理v3(app)
  24814. /Ermcp3/QueryGoodsGroup:
  24815. get:
  24816. parameters:
  24817. - description: 用户id
  24818. in: query
  24819. name: userid
  24820. required: true
  24821. type: integer
  24822. - description: 用户类型 2-机构 7-企业成员
  24823. in: query
  24824. name: usertype
  24825. type: integer
  24826. - description: 排除套保品中已关联的商品组 1-排除
  24827. in: query
  24828. name: excludecfg
  24829. type: integer
  24830. produces:
  24831. - application/json
  24832. responses:
  24833. "200":
  24834. description: OK
  24835. schema:
  24836. items:
  24837. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24838. type: array
  24839. "500":
  24840. description: Internal Server Error
  24841. schema:
  24842. $ref: '#/definitions/app.Response'
  24843. security:
  24844. - ApiKeyAuth: []
  24845. summary: 查询期货商品组
  24846. tags:
  24847. - 企业风险管理v3(app)
  24848. /Ermcp3/QueryGoodsWrstandard:
  24849. get:
  24850. parameters:
  24851. - description: 用户id
  24852. in: query
  24853. name: userid
  24854. required: true
  24855. type: integer
  24856. - description: 用户类型 2-机构 7-企业成员
  24857. in: query
  24858. name: usertype
  24859. type: integer
  24860. - description: 现货商品id
  24861. in: query
  24862. name: deliverygoodsid
  24863. type: integer
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. items:
  24871. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24872. type: array
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. summary: 查询商品品类
  24880. tags:
  24881. - 企业风险管理v3(app)
  24882. /Ermcp3/QueryGoodsbrand:
  24883. get:
  24884. parameters:
  24885. - description: 用户id
  24886. in: query
  24887. name: userid
  24888. required: true
  24889. type: integer
  24890. - description: 用户类型 2-机构 7-企业成员
  24891. in: query
  24892. name: usertype
  24893. type: integer
  24894. produces:
  24895. - application/json
  24896. responses:
  24897. "200":
  24898. description: OK
  24899. schema:
  24900. items:
  24901. $ref: '#/definitions/models.Ermcp3Brand'
  24902. type: array
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 查询商品品牌
  24910. tags:
  24911. - 企业风险管理v3(app)
  24912. /Ermcp3/QueryHPMiddleGoods:
  24913. get:
  24914. parameters:
  24915. - description: 用户ID(填登录用户的userid)
  24916. in: query
  24917. name: userid
  24918. required: true
  24919. type: integer
  24920. - description: 买卖方向 0-买 1-卖
  24921. in: query
  24922. name: buyorsell
  24923. required: true
  24924. type: integer
  24925. - description: 商品组id
  24926. in: query
  24927. name: goodsgroupid
  24928. required: true
  24929. type: integer
  24930. - description: 套保计划编号(模糊匹配)
  24931. in: query
  24932. name: hedgeplanno
  24933. type: string
  24934. - description: 现货商品名称(模糊匹配)
  24935. in: query
  24936. name: wrstandardname
  24937. type: string
  24938. produces:
  24939. - application/json
  24940. responses:
  24941. "200":
  24942. description: OK
  24943. schema:
  24944. items:
  24945. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24946. type: array
  24947. "500":
  24948. description: Internal Server Error
  24949. schema:
  24950. $ref: '#/definitions/app.Response'
  24951. security:
  24952. - ApiKeyAuth: []
  24953. summary: 查询可关联套保计划
  24954. tags:
  24955. - 企业风险管理v3(app)
  24956. /Ermcp3/QueryHedgePlan:
  24957. get:
  24958. parameters:
  24959. - description: 用户ID
  24960. in: query
  24961. name: userid
  24962. required: true
  24963. type: integer
  24964. - description: 用户类型 2-机构 7-企业成员
  24965. in: query
  24966. name: usertype
  24967. type: integer
  24968. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24969. in: query
  24970. name: hedgeplanstatus
  24971. required: true
  24972. type: string
  24973. produces:
  24974. - application/json
  24975. responses:
  24976. "200":
  24977. description: OK
  24978. schema:
  24979. items:
  24980. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24981. type: array
  24982. "500":
  24983. description: Internal Server Error
  24984. schema:
  24985. $ref: '#/definitions/app.Response'
  24986. security:
  24987. - ApiKeyAuth: []
  24988. summary: 查询套保计划
  24989. tags:
  24990. - 企业风险管理v3(app)
  24991. /Ermcp3/QueryInnerTradeLink:
  24992. get:
  24993. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24994. parameters:
  24995. - description: 外部成交单号
  24996. in: query
  24997. name: outtradeid
  24998. required: true
  24999. type: integer
  25000. produces:
  25001. - application/json
  25002. responses:
  25003. "200":
  25004. description: OK
  25005. schema:
  25006. items:
  25007. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25008. type: array
  25009. "500":
  25010. description: Internal Server Error
  25011. schema:
  25012. $ref: '#/definitions/app.Response'
  25013. security:
  25014. - ApiKeyAuth: []
  25015. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25016. tags:
  25017. - 企业风险管理v3(app)
  25018. /Ermcp3/QueryMiddleGoodsDetail:
  25019. get:
  25020. parameters:
  25021. - description: 用户id
  25022. in: query
  25023. name: userid
  25024. required: true
  25025. type: integer
  25026. - description: 用户类型 2-机构 7-企业成员
  25027. in: query
  25028. name: usertype
  25029. type: integer
  25030. - description: 套保品种id
  25031. in: query
  25032. name: middlegoodsid
  25033. type: integer
  25034. produces:
  25035. - application/json
  25036. responses:
  25037. "200":
  25038. description: OK
  25039. schema:
  25040. items:
  25041. $ref: '#/definitions/models.TBMiddleGoods'
  25042. type: array
  25043. "500":
  25044. description: Internal Server Error
  25045. schema:
  25046. $ref: '#/definitions/app.Response'
  25047. security:
  25048. - ApiKeyAuth: []
  25049. summary: 查询套保品种详情(套保品种/商品详情)
  25050. tags:
  25051. - 企业风险管理v3(app)
  25052. /Ermcp3/QueryOutTradeLink:
  25053. get:
  25054. description: 页面 app 现货->期现关联->外部成交单关联
  25055. parameters:
  25056. - description: 用户ID(填登录用户的userid)
  25057. in: query
  25058. name: userid
  25059. required: true
  25060. type: integer
  25061. - description: 外部订单号(模糊匹配)
  25062. in: query
  25063. name: outtradeid
  25064. type: string
  25065. - description: 合约名称/代码(模糊匹配)
  25066. in: query
  25067. name: goodsname
  25068. type: string
  25069. - description: 关联状态 0-未关联 1-已关联
  25070. in: query
  25071. name: hasinnerorder
  25072. type: integer
  25073. produces:
  25074. - application/json
  25075. responses:
  25076. "200":
  25077. description: OK
  25078. schema:
  25079. items:
  25080. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25081. type: array
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 查询外部成交单关联
  25089. tags:
  25090. - 企业风险管理v3(app)
  25091. /Ermcp3/QueryPaAreaAuditCfg:
  25092. get:
  25093. parameters:
  25094. - description: 用户id
  25095. in: query
  25096. name: userid
  25097. required: true
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询审核设置
  25115. tags:
  25116. - 企业风险管理v3(app)
  25117. /Ermcp3/QueryPaAreaSubject:
  25118. get:
  25119. parameters:
  25120. - description: 用户id
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25126. in: query
  25127. name: subjectid
  25128. type: integer
  25129. - description: 主体类型 - 1:交易主体 2:业务部门
  25130. in: query
  25131. name: subjecttype
  25132. type: integer
  25133. - description: '主体状态 - 1:正常 2: 停用'
  25134. in: query
  25135. name: subjectstatus
  25136. type: integer
  25137. produces:
  25138. - application/json
  25139. responses:
  25140. "200":
  25141. description: OK
  25142. schema:
  25143. items:
  25144. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25145. type: array
  25146. "500":
  25147. description: Internal Server Error
  25148. schema:
  25149. $ref: '#/definitions/app.Response'
  25150. security:
  25151. - ApiKeyAuth: []
  25152. summary: 查询交易主体
  25153. tags:
  25154. - 企业风险管理v3(app)
  25155. /Ermcp3/QueryPaTradeLink:
  25156. get:
  25157. description: 页面 app 现货->期现关联->期现单据关联
  25158. parameters:
  25159. - description: 用户ID
  25160. in: query
  25161. name: userid
  25162. required: true
  25163. type: integer
  25164. produces:
  25165. - application/json
  25166. responses:
  25167. "200":
  25168. description: OK
  25169. schema:
  25170. items:
  25171. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25172. type: array
  25173. "500":
  25174. description: Internal Server Error
  25175. schema:
  25176. $ref: '#/definitions/app.Response'
  25177. security:
  25178. - ApiKeyAuth: []
  25179. summary: 查询期现单据关联
  25180. tags:
  25181. - 企业风险管理v3(app)
  25182. /Ermcp3/QueryPaTradeLinkDetail:
  25183. get:
  25184. description: 页面 app 现货->期现关联->关联记录
  25185. parameters:
  25186. - description: 用户ID(填登录用户的userid)
  25187. in: query
  25188. name: userid
  25189. required: true
  25190. type: integer
  25191. - description: 关联状态 1:成功 2:失败 3:解绑
  25192. in: query
  25193. name: linkstatus
  25194. type: integer
  25195. - description: 期货订单号(模糊匹配)
  25196. in: query
  25197. name: tradeid
  25198. type: string
  25199. - description: 现货编号(模糊匹配)
  25200. in: query
  25201. name: contractno
  25202. type: string
  25203. - description: 期货账户(模糊匹配)
  25204. in: query
  25205. name: taname
  25206. type: string
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. items:
  25214. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25215. type: array
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 查询期现关联记录
  25223. tags:
  25224. - 企业风险管理v3(app)
  25225. /Ermcp3/QueryParamChangeApp:
  25226. get:
  25227. description: |-
  25228. 原型页面:
  25229. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25230. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25231. parameters:
  25232. - description: 用户ID
  25233. in: query
  25234. name: userid
  25235. required: true
  25236. type: integer
  25237. - description: 现货品种id
  25238. in: query
  25239. name: deliverygoodsid
  25240. type: integer
  25241. - description: 现货商品id
  25242. in: query
  25243. name: wrstandardid
  25244. type: integer
  25245. - description: 套保商品id
  25246. in: query
  25247. name: middlegoodsid
  25248. type: integer
  25249. - description: 操作类型 1:新增 2:修改
  25250. in: query
  25251. name: operatetype
  25252. type: integer
  25253. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25254. in: query
  25255. name: paramchangetype
  25256. type: integer
  25257. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25258. in: query
  25259. name: ftstatus
  25260. type: string
  25261. produces:
  25262. - application/json
  25263. responses:
  25264. "200":
  25265. description: OK
  25266. schema:
  25267. items:
  25268. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25269. type: array
  25270. "500":
  25271. description: Internal Server Error
  25272. schema:
  25273. $ref: '#/definitions/app.Response'
  25274. security:
  25275. - ApiKeyAuth: []
  25276. summary: 查询现货商品参数变更申请(流水)
  25277. tags:
  25278. - 企业风险管理v3(app)
  25279. /Ermcp3/QueryRootUserAccount:
  25280. get:
  25281. parameters:
  25282. - description: 用户ID
  25283. in: query
  25284. name: userid
  25285. required: true
  25286. type: integer
  25287. produces:
  25288. - application/json
  25289. responses:
  25290. "200":
  25291. description: OK
  25292. schema:
  25293. items:
  25294. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25295. type: array
  25296. "500":
  25297. description: Internal Server Error
  25298. schema:
  25299. $ref: '#/definitions/app.Response'
  25300. security:
  25301. - ApiKeyAuth: []
  25302. summary: 查询顶级用户信息
  25303. tags:
  25304. - 企业风险管理v3(app)
  25305. /Ermcp3/QuerySCMiddleGoods:
  25306. get:
  25307. description: |-
  25308. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25309. 现货编号 即 合同编号
  25310. parameters:
  25311. - description: 用户ID(填登录用户的userid)
  25312. in: query
  25313. name: userid
  25314. required: true
  25315. type: integer
  25316. - description: 买卖方向 0-买 1-卖
  25317. in: query
  25318. name: buyorsell
  25319. required: true
  25320. type: integer
  25321. - description: 商品组id
  25322. in: query
  25323. name: goodsgroupid
  25324. required: true
  25325. type: integer
  25326. - description: 业务类型 1:套保 2:套利
  25327. in: query
  25328. name: biztype
  25329. type: integer
  25330. - description: 现货编号(模糊匹配)
  25331. in: query
  25332. name: contractno
  25333. type: string
  25334. - description: 对手方(模糊匹配)
  25335. in: query
  25336. name: customername
  25337. type: string
  25338. - description: 现货商品名称(模糊匹配)
  25339. in: query
  25340. name: wrstandardname
  25341. type: string
  25342. produces:
  25343. - application/json
  25344. responses:
  25345. "200":
  25346. description: OK
  25347. schema:
  25348. items:
  25349. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25350. type: array
  25351. "500":
  25352. description: Internal Server Error
  25353. schema:
  25354. $ref: '#/definitions/app.Response'
  25355. security:
  25356. - ApiKeyAuth: []
  25357. summary: 查询现货订单
  25358. tags:
  25359. - 企业风险管理v3(app)
  25360. /Ermcp3/QuerySpotContract:
  25361. get:
  25362. parameters:
  25363. - description: 用户id(当指定contractid, userid可不填)
  25364. in: query
  25365. name: userid
  25366. required: true
  25367. type: integer
  25368. - description: 用户类型 2-机构 7-企业成员
  25369. in: query
  25370. name: usertype
  25371. type: integer
  25372. - description: 合同类型 1-采购, -1-销售
  25373. in: query
  25374. name: contracttype
  25375. type: integer
  25376. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25377. in: query
  25378. name: querytype
  25379. type: string
  25380. - description: 合同ID(SpotContractId)
  25381. in: query
  25382. name: contractid
  25383. type: string
  25384. - description: 合同编号(模糊匹配)
  25385. in: query
  25386. name: contractno
  25387. type: string
  25388. - description: 商品名称(模糊匹配)
  25389. in: query
  25390. name: wrstandardname
  25391. type: string
  25392. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25393. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25394. in: query
  25395. name: status
  25396. type: string
  25397. - description: 是否只查今日的合同 1-查今日合同
  25398. in: query
  25399. name: istoday
  25400. type: integer
  25401. produces:
  25402. - application/json
  25403. responses:
  25404. "200":
  25405. description: OK
  25406. schema:
  25407. items:
  25408. $ref: '#/definitions/models.Ermcp3Contract'
  25409. type: array
  25410. "500":
  25411. description: Internal Server Error
  25412. schema:
  25413. $ref: '#/definitions/app.Response'
  25414. security:
  25415. - ApiKeyAuth: []
  25416. summary: 查询现货合同
  25417. tags:
  25418. - 企业风险管理v3(app)
  25419. /Ermcp3/QuerySpotContractBS:
  25420. get:
  25421. parameters:
  25422. - description: 用户id
  25423. in: query
  25424. name: userid
  25425. required: true
  25426. type: integer
  25427. - description: 用户类型 2-机构 7-企业成员
  25428. in: query
  25429. name: usertype
  25430. type: integer
  25431. - description: 合同类型 1-采购, -1-销售
  25432. in: query
  25433. name: contracttype
  25434. required: true
  25435. type: integer
  25436. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25437. in: query
  25438. name: querytype
  25439. type: integer
  25440. - description: 合同ID(SpotContractId)
  25441. in: query
  25442. name: contractid
  25443. type: string
  25444. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25445. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25446. in: query
  25447. name: status
  25448. type: string
  25449. - description: 是否只查今日的合同 1-查今日合同
  25450. in: query
  25451. name: istoday
  25452. type: integer
  25453. produces:
  25454. - application/json
  25455. responses:
  25456. "200":
  25457. description: OK
  25458. schema:
  25459. items:
  25460. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25461. type: array
  25462. "500":
  25463. description: Internal Server Error
  25464. schema:
  25465. $ref: '#/definitions/app.Response'
  25466. security:
  25467. - ApiKeyAuth: []
  25468. summary: 查询合同(采购/销售)
  25469. tags:
  25470. - 企业风险管理v3(app)
  25471. /Ermcp3/QuerySpotGoodsPrice:
  25472. get:
  25473. parameters:
  25474. - description: 用户ID
  25475. in: query
  25476. name: userid
  25477. required: true
  25478. type: integer
  25479. produces:
  25480. - application/json
  25481. responses:
  25482. "200":
  25483. description: OK
  25484. schema:
  25485. items:
  25486. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25487. type: array
  25488. "500":
  25489. description: Internal Server Error
  25490. schema:
  25491. $ref: '#/definitions/app.Response'
  25492. security:
  25493. - ApiKeyAuth: []
  25494. summary: 查询现货市价(现货市价)
  25495. tags:
  25496. - 企业风险管理v3(app)
  25497. /Ermcp3/QuerySpotGoodsPriceLog:
  25498. get:
  25499. parameters:
  25500. - description: 用户ID
  25501. in: query
  25502. name: userid
  25503. required: true
  25504. type: integer
  25505. - description: 现货商品ID
  25506. in: query
  25507. name: deliverygoodsid
  25508. required: true
  25509. type: integer
  25510. - description: 品牌ID
  25511. in: query
  25512. name: brandid
  25513. type: integer
  25514. - description: 品类ID
  25515. in: query
  25516. name: wrstandardid
  25517. type: integer
  25518. produces:
  25519. - application/json
  25520. responses:
  25521. "200":
  25522. description: OK
  25523. schema:
  25524. items:
  25525. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25526. type: array
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 查询现货市价详情(现货市价/详情)
  25534. tags:
  25535. - 企业风险管理v3(app)
  25536. /Ermcp3/QuerySubTaaccount:
  25537. get:
  25538. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25539. parameters:
  25540. - description: 母账号id
  25541. in: query
  25542. name: parentaccountid
  25543. type: integer
  25544. - description: 母账号代码
  25545. in: query
  25546. name: parentaccountcode
  25547. type: string
  25548. produces:
  25549. - application/json
  25550. responses:
  25551. "200":
  25552. description: OK
  25553. schema:
  25554. items:
  25555. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25556. type: array
  25557. "500":
  25558. description: Internal Server Error
  25559. schema:
  25560. $ref: '#/definitions/app.Response'
  25561. security:
  25562. - ApiKeyAuth: []
  25563. summary: 查询期货子账户
  25564. tags:
  25565. - 企业风险管理v3(app)
  25566. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25567. get:
  25568. parameters:
  25569. - description: 套期项目ID
  25570. in: query
  25571. name: hedgeditemid
  25572. required: true
  25573. type: integer
  25574. produces:
  25575. - application/json
  25576. responses:
  25577. "200":
  25578. description: OK
  25579. schema:
  25580. items:
  25581. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25582. type: array
  25583. "500":
  25584. description: Internal Server Error
  25585. schema:
  25586. $ref: '#/definitions/app.Response'
  25587. security:
  25588. - ApiKeyAuth: []
  25589. summary: 现货成交明细查询
  25590. tags:
  25591. - 企业风险管理v8
  25592. /Ermcp8/QueryERMCP2HedgedItemspot:
  25593. get:
  25594. parameters:
  25595. - description: 套期项目ID
  25596. in: query
  25597. name: hedgeditemid
  25598. required: true
  25599. type: integer
  25600. produces:
  25601. - application/json
  25602. responses:
  25603. "200":
  25604. description: OK
  25605. schema:
  25606. items:
  25607. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25608. type: array
  25609. "500":
  25610. description: Internal Server Error
  25611. schema:
  25612. $ref: '#/definitions/app.Response'
  25613. security:
  25614. - ApiKeyAuth: []
  25615. summary: 套期计划明细查询
  25616. tags:
  25617. - 企业风险管理v8
  25618. /Ermcp8/QueryERMCPJRLinkPos:
  25619. get:
  25620. parameters:
  25621. - description: 套期项目ID
  25622. in: query
  25623. name: hedgeditemid
  25624. required: true
  25625. type: integer
  25626. produces:
  25627. - application/json
  25628. responses:
  25629. "200":
  25630. description: OK
  25631. schema:
  25632. items:
  25633. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25634. type: array
  25635. "500":
  25636. description: Internal Server Error
  25637. schema:
  25638. $ref: '#/definitions/app.Response'
  25639. security:
  25640. - ApiKeyAuth: []
  25641. summary: 期货持仓明细查询
  25642. tags:
  25643. - 企业风险管理v8
  25644. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25645. get:
  25646. parameters:
  25647. - description: 套期项目ID
  25648. in: query
  25649. name: hedgeditemid
  25650. required: true
  25651. type: integer
  25652. produces:
  25653. - application/json
  25654. responses:
  25655. "200":
  25656. description: OK
  25657. schema:
  25658. items:
  25659. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25660. type: array
  25661. "500":
  25662. description: Internal Server Error
  25663. schema:
  25664. $ref: '#/definitions/app.Response'
  25665. security:
  25666. - ApiKeyAuth: []
  25667. summary: 期货成交单明细查询
  25668. tags:
  25669. - 企业风险管理v8
  25670. /Ermcp8/QueryErmcp2AreaExposure:
  25671. get:
  25672. parameters:
  25673. - description: 用户ID
  25674. in: query
  25675. name: userid
  25676. required: true
  25677. type: string
  25678. produces:
  25679. - application/json
  25680. responses:
  25681. "200":
  25682. description: OK
  25683. schema:
  25684. items:
  25685. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25686. type: array
  25687. "500":
  25688. description: Internal Server Error
  25689. schema:
  25690. $ref: '#/definitions/app.Response'
  25691. security:
  25692. - ApiKeyAuth: []
  25693. summary: 企业敞口查询
  25694. tags:
  25695. - 企业风险管理v8
  25696. /Ermcp8/QueryErmcp2HedgedItem:
  25697. get:
  25698. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25699. parameters:
  25700. - description: 用户ID
  25701. in: query
  25702. name: userid
  25703. required: true
  25704. type: string
  25705. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25706. in: query
  25707. name: hedgedtype
  25708. type: integer
  25709. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25710. in: query
  25711. name: hedgeditemstatus
  25712. type: integer
  25713. produces:
  25714. - application/json
  25715. responses:
  25716. "200":
  25717. description: OK
  25718. schema:
  25719. items:
  25720. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25721. type: array
  25722. "500":
  25723. description: Internal Server Error
  25724. schema:
  25725. $ref: '#/definitions/app.Response'
  25726. security:
  25727. - ApiKeyAuth: []
  25728. summary: 查询被套期项目信息
  25729. tags:
  25730. - 企业风险管理v8
  25731. /Ermcp8/QueryErmcp2HedgedItemLink:
  25732. get:
  25733. parameters:
  25734. - description: 现货合同ID
  25735. in: query
  25736. name: spotcontractid
  25737. required: true
  25738. type: integer
  25739. produces:
  25740. - application/json
  25741. responses:
  25742. "200":
  25743. description: OK
  25744. schema:
  25745. items:
  25746. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25747. type: array
  25748. "500":
  25749. description: Internal Server Error
  25750. schema:
  25751. $ref: '#/definitions/app.Response'
  25752. security:
  25753. - ApiKeyAuth: []
  25754. summary: 现货合同关联被套期项目查询
  25755. tags:
  25756. - 企业风险管理v8
  25757. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25758. get:
  25759. parameters:
  25760. - description: 用户ID
  25761. in: query
  25762. name: userid
  25763. required: true
  25764. type: integer
  25765. - description: 套保品种ID
  25766. in: query
  25767. name: middlegoodsid
  25768. required: true
  25769. type: integer
  25770. produces:
  25771. - application/json
  25772. responses:
  25773. "200":
  25774. description: OK
  25775. schema:
  25776. items:
  25777. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25778. type: array
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 敞口明细 - 计划变动明细
  25786. tags:
  25787. - 企业风险管理v8
  25788. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25789. get:
  25790. parameters:
  25791. - description: 用户ID
  25792. in: query
  25793. name: userid
  25794. required: true
  25795. type: integer
  25796. - description: 套保品种ID
  25797. in: query
  25798. name: middlegoodsid
  25799. required: true
  25800. type: integer
  25801. produces:
  25802. - application/json
  25803. responses:
  25804. "200":
  25805. description: OK
  25806. schema:
  25807. items:
  25808. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25809. type: array
  25810. "500":
  25811. description: Internal Server Error
  25812. schema:
  25813. $ref: '#/definitions/app.Response'
  25814. security:
  25815. - ApiKeyAuth: []
  25816. summary: 敞口明细 - 现货变动明细查询
  25817. tags:
  25818. - 企业风险管理v8
  25819. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25820. get:
  25821. parameters:
  25822. - description: 用户ID
  25823. in: query
  25824. name: userid
  25825. required: true
  25826. type: integer
  25827. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25828. in: query
  25829. name: spottype
  25830. required: true
  25831. type: integer
  25832. - description: 现货商品ID
  25833. in: query
  25834. name: wrstandardid
  25835. type: integer
  25836. produces:
  25837. - application/json
  25838. responses:
  25839. "200":
  25840. description: OK
  25841. schema:
  25842. items:
  25843. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25844. type: array
  25845. "500":
  25846. description: Internal Server Error
  25847. schema:
  25848. $ref: '#/definitions/app.Response'
  25849. security:
  25850. - ApiKeyAuth: []
  25851. summary: 可关联项目查询
  25852. tags:
  25853. - 企业风险管理v8
  25854. /Ermcp8/QueryErmcp8HedgeditemReport:
  25855. get:
  25856. parameters:
  25857. - description: 用户ID
  25858. in: query
  25859. name: userid
  25860. required: true
  25861. type: integer
  25862. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25863. in: query
  25864. name: cycletype
  25865. type: integer
  25866. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25867. 全(0)【原值】
  25868. in: query
  25869. name: cycletime
  25870. required: true
  25871. type: string
  25872. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25873. in: query
  25874. name: hedgedtype
  25875. type: integer
  25876. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25877. in: query
  25878. name: hedgeditemstatus
  25879. type: integer
  25880. - description: 项目编号,模糊查询
  25881. in: query
  25882. name: hedgeditemnum
  25883. type: string
  25884. - description: 现货商品ID
  25885. in: query
  25886. name: wrstandardid
  25887. type: integer
  25888. produces:
  25889. - application/json
  25890. responses:
  25891. "200":
  25892. description: OK
  25893. schema:
  25894. items:
  25895. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25896. type: array
  25897. "500":
  25898. description: Internal Server Error
  25899. schema:
  25900. $ref: '#/definitions/app.Response'
  25901. security:
  25902. - ApiKeyAuth: []
  25903. summary: 套期项目报表查询
  25904. tags:
  25905. - 企业风险管理v8
  25906. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25907. get:
  25908. parameters:
  25909. - description: 用户ID
  25910. in: query
  25911. name: userid
  25912. required: true
  25913. type: string
  25914. produces:
  25915. - application/json
  25916. responses:
  25917. "200":
  25918. description: OK
  25919. schema:
  25920. items:
  25921. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25922. type: array
  25923. "500":
  25924. description: Internal Server Error
  25925. schema:
  25926. $ref: '#/definitions/app.Response'
  25927. security:
  25928. - ApiKeyAuth: []
  25929. summary: 查询执行中项目查询信息
  25930. tags:
  25931. - 企业风险管理v8
  25932. /Ermcp8/QueryInternalEnableTradeDetail:
  25933. get:
  25934. parameters:
  25935. - description: 企业ID
  25936. in: query
  25937. name: areauserid
  25938. required: true
  25939. type: integer
  25940. - description: 期货合约ID
  25941. in: query
  25942. name: goodsid
  25943. required: true
  25944. type: integer
  25945. - description: 交易用户ID
  25946. in: query
  25947. name: tradeuserid
  25948. required: true
  25949. type: integer
  25950. produces:
  25951. - application/json
  25952. responses:
  25953. "200":
  25954. description: OK
  25955. schema:
  25956. items:
  25957. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25958. type: array
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 内部成交单可关联项目查询
  25966. tags:
  25967. - 企业风险管理v8
  25968. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25969. get:
  25970. parameters:
  25971. - description: 用户编号
  25972. in: query
  25973. name: userid
  25974. required: true
  25975. type: integer
  25976. - description: 起始日期(格式yyyymmdd)
  25977. in: query
  25978. name: begindate
  25979. type: string
  25980. - description: 终止日期(格式yyyymmdd)
  25981. in: query
  25982. name: enddate
  25983. type: string
  25984. - description: 合约代码
  25985. in: query
  25986. name: goodscode
  25987. type: string
  25988. - description: 合约名称
  25989. in: query
  25990. name: goodsname
  25991. type: string
  25992. - description: 成交单号
  25993. in: query
  25994. name: tradeid
  25995. type: integer
  25996. - description: 方向 - 0:买 1:卖
  25997. in: query
  25998. name: buyorsell
  25999. type: integer
  26000. - description: 套期主体
  26001. in: query
  26002. name: accountname
  26003. type: string
  26004. produces:
  26005. - application/json
  26006. responses:
  26007. "200":
  26008. description: OK
  26009. schema:
  26010. items:
  26011. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26012. type: array
  26013. "500":
  26014. description: Internal Server Error
  26015. schema:
  26016. $ref: '#/definitions/app.Response'
  26017. security:
  26018. - ApiKeyAuth: []
  26019. summary: 内部未关联成交单查询
  26020. tags:
  26021. - 企业风险管理v8
  26022. /Ermcp8/QueryMarketCalendar:
  26023. get:
  26024. parameters:
  26025. - description: 市场ID
  26026. in: query
  26027. name: marketid
  26028. type: integer
  26029. produces:
  26030. - application/json
  26031. responses:
  26032. "200":
  26033. description: OK
  26034. schema:
  26035. items:
  26036. $ref: '#/definitions/models.Marketcalendar'
  26037. type: array
  26038. "500":
  26039. description: Internal Server Error
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. security:
  26043. - ApiKeyAuth: []
  26044. summary: 市场节假日查询
  26045. tags:
  26046. - 企业风险管理v8
  26047. /Ermcp8/QueryPatradeLinkDetail:
  26048. get:
  26049. parameters:
  26050. - description: 用户ID
  26051. in: query
  26052. name: userid
  26053. required: true
  26054. type: integer
  26055. - description: 套保品种ID
  26056. in: query
  26057. name: middlegoodsid
  26058. required: true
  26059. type: integer
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. items:
  26067. $ref: '#/definitions/models.Patradelinkdetail'
  26068. type: array
  26069. "500":
  26070. description: Internal Server Error
  26071. schema:
  26072. $ref: '#/definitions/app.Response'
  26073. security:
  26074. - ApiKeyAuth: []
  26075. summary: 敞口明细 - 期货变动明细
  26076. tags:
  26077. - 企业风险管理v8
  26078. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26079. get:
  26080. parameters:
  26081. - description: 企业ID
  26082. in: query
  26083. name: areauserid
  26084. required: true
  26085. type: integer
  26086. - description: 计划类型 - 1:采购 -1:销售
  26087. in: query
  26088. name: contracttype
  26089. type: integer
  26090. - description: 计划编号,模糊查询
  26091. in: query
  26092. name: hedgeplanno
  26093. type: string
  26094. - description: 现货商品,模糊查询
  26095. in: query
  26096. name: wrstandardname
  26097. type: string
  26098. produces:
  26099. - application/json
  26100. responses:
  26101. "200":
  26102. description: OK
  26103. schema:
  26104. items:
  26105. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26106. type: array
  26107. "500":
  26108. description: Internal Server Error
  26109. schema:
  26110. $ref: '#/definitions/app.Response'
  26111. security:
  26112. - ApiKeyAuth: []
  26113. summary: 未关联购销计划
  26114. tags:
  26115. - 企业风险管理v8
  26116. /Ermcp8/QueryUnLinkSpotContract:
  26117. get:
  26118. parameters:
  26119. - description: 用户ID
  26120. in: query
  26121. name: userid
  26122. required: true
  26123. type: integer
  26124. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26125. in: query
  26126. name: pricetype
  26127. type: integer
  26128. - description: 合同编号, 模拟查询
  26129. in: query
  26130. name: contractno
  26131. type: string
  26132. - description: 对手方, 模拟查询
  26133. in: query
  26134. name: customername
  26135. type: string
  26136. - description: 项合同类型 - 1:采购 -1:销售
  26137. in: query
  26138. name: contracttype
  26139. type: integer
  26140. produces:
  26141. - application/json
  26142. responses:
  26143. "200":
  26144. description: OK
  26145. schema:
  26146. items:
  26147. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26148. type: array
  26149. "500":
  26150. description: Internal Server Error
  26151. schema:
  26152. $ref: '#/definitions/app.Response'
  26153. security:
  26154. - ApiKeyAuth: []
  26155. summary: 未关联合同查询
  26156. tags:
  26157. - 企业风险管理v8
  26158. /Erms2/QueryArbitrageStrategy:
  26159. get:
  26160. parameters:
  26161. - description: 账户ID
  26162. in: query
  26163. name: userid
  26164. required: true
  26165. type: integer
  26166. - description: 商品组ID(品种ID)
  26167. in: query
  26168. name: goodsgroupid
  26169. type: string
  26170. produces:
  26171. - application/json
  26172. responses:
  26173. "200":
  26174. description: OK
  26175. schema:
  26176. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26177. "500":
  26178. description: Internal Server Error
  26179. schema:
  26180. $ref: '#/definitions/app.Response'
  26181. security:
  26182. - ApiKeyAuth: []
  26183. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26184. tags:
  26185. - 风险管理
  26186. /Erms2/QueryInnerTradeDetail:
  26187. get:
  26188. parameters:
  26189. - description: 资金账户
  26190. in: query
  26191. name: accountid
  26192. required: true
  26193. type: integer
  26194. produces:
  26195. - application/json
  26196. responses:
  26197. "200":
  26198. description: OK
  26199. schema:
  26200. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 查询内部成交单信息
  26208. tags:
  26209. - 风险管理
  26210. /Erms2/QuerySpotContract:
  26211. get:
  26212. parameters:
  26213. - description: 策略申请ID
  26214. in: query
  26215. name: asapplyid
  26216. required: true
  26217. type: integer
  26218. - description: 现货合同ID
  26219. in: query
  26220. name: spotcontractid
  26221. type: integer
  26222. produces:
  26223. - application/json
  26224. responses:
  26225. "200":
  26226. description: OK
  26227. schema:
  26228. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26229. "500":
  26230. description: Internal Server Error
  26231. schema:
  26232. $ref: '#/definitions/app.Response'
  26233. security:
  26234. - ApiKeyAuth: []
  26235. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26236. tags:
  26237. - 风险管理
  26238. /Erms3/AddErms2ASApply:
  26239. post:
  26240. parameters:
  26241. - description: 申请参数
  26242. in: body
  26243. name: jsonBody
  26244. required: true
  26245. schema:
  26246. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26247. produces:
  26248. - application/json
  26249. responses:
  26250. "200":
  26251. description: OK
  26252. schema:
  26253. $ref: '#/definitions/app.Response'
  26254. "500":
  26255. description: Internal Server Error
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. security:
  26259. - ApiKeyAuth: []
  26260. summary: 新增期现套利业务申请
  26261. tags:
  26262. - 风险管理v3
  26263. /Erms3/AddErms2SpotTradeApply:
  26264. post:
  26265. parameters:
  26266. - description: 申请参数
  26267. in: body
  26268. name: jsonBody
  26269. required: true
  26270. schema:
  26271. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26272. produces:
  26273. - application/json
  26274. responses:
  26275. "200":
  26276. description: OK
  26277. schema:
  26278. $ref: '#/definitions/app.Response'
  26279. "500":
  26280. description: Internal Server Error
  26281. schema:
  26282. $ref: '#/definitions/app.Response'
  26283. security:
  26284. - ApiKeyAuth: []
  26285. summary: 新增现货贸易业务申请
  26286. tags:
  26287. - 风险管理v3
  26288. /Erms3/AddSpotContractApply:
  26289. post:
  26290. parameters:
  26291. - description: 申请参数
  26292. in: body
  26293. name: jsonBody
  26294. required: true
  26295. schema:
  26296. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26297. produces:
  26298. - application/json
  26299. responses:
  26300. "200":
  26301. description: OK
  26302. schema:
  26303. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26304. "500":
  26305. description: Internal Server Error
  26306. schema:
  26307. $ref: '#/definitions/app.Response'
  26308. security:
  26309. - ApiKeyAuth: []
  26310. summary: 新增现货合同申请
  26311. tags:
  26312. - 风险管理v3
  26313. /Erms3/AddUserInfoApply:
  26314. post:
  26315. parameters:
  26316. - description: 用户信息
  26317. in: body
  26318. name: jsonBody
  26319. required: true
  26320. schema:
  26321. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26322. produces:
  26323. - application/json
  26324. responses:
  26325. "200":
  26326. description: OK
  26327. schema:
  26328. $ref: '#/definitions/app.Response'
  26329. "500":
  26330. description: Internal Server Error
  26331. schema:
  26332. $ref: '#/definitions/app.Response'
  26333. security:
  26334. - ApiKeyAuth: []
  26335. summary: 新增客户申请
  26336. tags:
  26337. - 风险管理v3
  26338. /Erms3/DeleteUserInfoApply:
  26339. get:
  26340. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26341. parameters:
  26342. - description: 用户ID
  26343. in: query
  26344. name: userID
  26345. required: true
  26346. type: integer
  26347. produces:
  26348. - application/json
  26349. responses:
  26350. "200":
  26351. description: OK
  26352. schema:
  26353. $ref: '#/definitions/app.Response'
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. security:
  26359. - ApiKeyAuth: []
  26360. summary: 删除客户申请
  26361. tags:
  26362. - 风险管理v3
  26363. /Erms3/ModifyUserInfoApply:
  26364. post:
  26365. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26366. int, "userstate": 2 }'
  26367. parameters:
  26368. - description: 用户信息
  26369. in: body
  26370. name: jsonBody
  26371. required: true
  26372. schema:
  26373. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. $ref: '#/definitions/app.Response'
  26381. "500":
  26382. description: Internal Server Error
  26383. schema:
  26384. $ref: '#/definitions/app.Response'
  26385. security:
  26386. - ApiKeyAuth: []
  26387. summary: 修改客户申请
  26388. tags:
  26389. - 风险管理v3
  26390. /Erms3/QueryBusinessInfo:
  26391. get:
  26392. parameters:
  26393. - description: 资金账号ID列表,用逗号分隔
  26394. in: query
  26395. name: accountids
  26396. required: true
  26397. type: string
  26398. - description: 状态,0为未结束 1为已结束
  26399. in: query
  26400. name: status
  26401. required: true
  26402. type: integer
  26403. produces:
  26404. - application/json
  26405. responses:
  26406. "200":
  26407. description: OK
  26408. schema:
  26409. items:
  26410. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26411. type: array
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. security:
  26417. - ApiKeyAuth: []
  26418. summary: 查询业务表单数据
  26419. tags:
  26420. - 风险管理v3
  26421. /Erms3/QueryPendingAuditContract:
  26422. get:
  26423. parameters:
  26424. - description: 资金账号ID列表,逗号隔开
  26425. in: query
  26426. name: accountids
  26427. required: true
  26428. type: string
  26429. - description: 合同类型 1-采购 -1-销售
  26430. in: query
  26431. name: contracttype
  26432. required: true
  26433. type: integer
  26434. - description: 合同模式 1-普通 2-回购
  26435. in: query
  26436. name: contractmode
  26437. required: true
  26438. type: integer
  26439. produces:
  26440. - application/json
  26441. responses:
  26442. "200":
  26443. description: OK
  26444. schema:
  26445. items:
  26446. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26447. type: array
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 查询待审核合同
  26455. tags:
  26456. - 风险管理v3
  26457. /Erms3/QueryPendingBusiness:
  26458. get:
  26459. parameters:
  26460. - description: 资金账号ID列表,逗号隔开
  26461. in: query
  26462. name: accountids
  26463. required: true
  26464. type: string
  26465. produces:
  26466. - application/json
  26467. responses:
  26468. "200":
  26469. description: OK
  26470. schema:
  26471. items:
  26472. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26473. type: array
  26474. "500":
  26475. description: Internal Server Error
  26476. schema:
  26477. $ref: '#/definitions/app.Response'
  26478. security:
  26479. - ApiKeyAuth: []
  26480. summary: 查询待审核基差贸易业务
  26481. tags:
  26482. - 风险管理v3
  26483. /Erms3/QuerySpotContractAppleForm:
  26484. get:
  26485. parameters:
  26486. - description: 登录账号
  26487. in: query
  26488. name: loginID
  26489. required: true
  26490. type: integer
  26491. produces:
  26492. - application/json
  26493. responses:
  26494. "200":
  26495. description: OK
  26496. schema:
  26497. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 查询合同申请表单数据
  26505. tags:
  26506. - 风险管理v3
  26507. /Erms3/QuerySpotContractDetail:
  26508. get:
  26509. parameters:
  26510. - description: 资金账号ID列表,用逗号分隔
  26511. in: query
  26512. name: accountids
  26513. required: true
  26514. type: string
  26515. - description: 合同类型,1为采购合同 -1为销售合同
  26516. in: query
  26517. name: contracttype
  26518. required: true
  26519. type: integer
  26520. - description: 合同模式,1为普通合同 2为回购销售合同
  26521. in: query
  26522. name: contractmode
  26523. required: true
  26524. type: integer
  26525. - description: 状态,0为履约中 1为已完成
  26526. in: query
  26527. name: status
  26528. required: true
  26529. type: integer
  26530. produces:
  26531. - application/json
  26532. responses:
  26533. "200":
  26534. description: OK
  26535. schema:
  26536. items:
  26537. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26538. type: array
  26539. "500":
  26540. description: Internal Server Error
  26541. schema:
  26542. $ref: '#/definitions/app.Response'
  26543. security:
  26544. - ApiKeyAuth: []
  26545. summary: 查询合同详细信息
  26546. tags:
  26547. - 风险管理v3
  26548. /Erms3/QueryUserInfoApplies:
  26549. get:
  26550. parameters:
  26551. - description: 页码
  26552. in: query
  26553. name: page
  26554. type: integer
  26555. - description: 每页条数
  26556. in: query
  26557. name: pagesize
  26558. type: integer
  26559. - description: 客户名称,支持模糊查询
  26560. in: query
  26561. name: userName
  26562. type: string
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26570. "500":
  26571. description: Internal Server Error
  26572. schema:
  26573. $ref: '#/definitions/app.Response'
  26574. security:
  26575. - ApiKeyAuth: []
  26576. summary: 客户申请信息查询
  26577. tags:
  26578. - 风险管理v3
  26579. /Erms3/QueryUserInfos:
  26580. get:
  26581. parameters:
  26582. - description: 页码
  26583. in: query
  26584. name: page
  26585. type: integer
  26586. - description: 每页条数
  26587. in: query
  26588. name: pagesize
  26589. type: integer
  26590. - description: 客户名称,支持模糊查询
  26591. in: query
  26592. name: userName
  26593. type: string
  26594. produces:
  26595. - application/json
  26596. responses:
  26597. "200":
  26598. description: OK
  26599. schema:
  26600. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. summary: 客户信息查询
  26608. tags:
  26609. - 风险管理v3
  26610. /HSBY/GetHsbyMyCount:
  26611. get:
  26612. description: 说明: 不包括已完成的数量。
  26613. parameters:
  26614. - description: 资金账户列表,格式:1,2,3
  26615. in: query
  26616. name: accountIDs
  26617. required: true
  26618. type: string
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26626. "500":
  26627. description: Internal Server Error
  26628. schema:
  26629. $ref: '#/definitions/app.Response'
  26630. security:
  26631. - ApiKeyAuth: []
  26632. summary: 获取我的订单与包裹数量
  26633. tags:
  26634. - 定制【海商报业】
  26635. /HSBY/QueryClientFixedADConfigs:
  26636. get:
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. $ref: '#/definitions/models.Clientfixedadconfig'
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 获取终端固定广告配置
  26651. tags:
  26652. - 定制【海商报业】
  26653. /HSBY/QueryHsbyBuyMyTradeDetail:
  26654. get:
  26655. parameters:
  26656. - description: 页码
  26657. in: query
  26658. name: page
  26659. type: integer
  26660. - description: 每页条数
  26661. in: query
  26662. name: pagesize
  26663. type: integer
  26664. - description: 资金账户列表,格式:1,2,3
  26665. in: query
  26666. name: accountIDs
  26667. required: true
  26668. type: string
  26669. produces:
  26670. - application/json
  26671. responses:
  26672. "200":
  26673. description: OK
  26674. schema:
  26675. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询"我的订单 - 已完成"单据信息
  26683. tags:
  26684. - 定制【海商报业】
  26685. /HSBY/QueryHsbyGoodsOrderDetails:
  26686. get:
  26687. description: 说明:查询结果已按委托价格和委托时间排序
  26688. parameters:
  26689. - description: 商品ID
  26690. in: query
  26691. name: goodsID
  26692. required: true
  26693. type: integer
  26694. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26695. in: query
  26696. name: accountIDs
  26697. type: string
  26698. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26699. in: query
  26700. name: buyOrSell
  26701. type: integer
  26702. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26703. in: query
  26704. name: price
  26705. type: number
  26706. - description: 档位,不传则默认为3档
  26707. in: query
  26708. name: speed
  26709. type: integer
  26710. produces:
  26711. - application/json
  26712. responses:
  26713. "200":
  26714. description: OK
  26715. schema:
  26716. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26717. "500":
  26718. description: Internal Server Error
  26719. schema:
  26720. $ref: '#/definitions/app.Response'
  26721. security:
  26722. - ApiKeyAuth: []
  26723. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26724. tags:
  26725. - 定制【海商报业】
  26726. /HSBY/QueryHsbyListingGoodsDetail:
  26727. get:
  26728. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26729. parameters:
  26730. - description: 商品ID
  26731. in: query
  26732. name: goodsID
  26733. required: true
  26734. type: integer
  26735. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26736. in: query
  26737. name: accountID
  26738. type: integer
  26739. produces:
  26740. - application/json
  26741. responses:
  26742. "200":
  26743. description: OK
  26744. schema:
  26745. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26746. "500":
  26747. description: Internal Server Error
  26748. schema:
  26749. $ref: '#/definitions/app.Response'
  26750. security:
  26751. - ApiKeyAuth: []
  26752. summary: 查询二级市场(挂牌点选)商品信息详情
  26753. tags:
  26754. - 定制【海商报业】
  26755. /HSBY/QueryHsbyMarketGoodsDetail:
  26756. get:
  26757. parameters:
  26758. - description: 委托单号
  26759. in: query
  26760. name: orderID
  26761. required: true
  26762. type: integer
  26763. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26764. in: query
  26765. name: accountID
  26766. type: integer
  26767. produces:
  26768. - application/json
  26769. responses:
  26770. "200":
  26771. description: OK
  26772. schema:
  26773. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26774. "500":
  26775. description: Internal Server Error
  26776. schema:
  26777. $ref: '#/definitions/app.Response'
  26778. security:
  26779. - ApiKeyAuth: []
  26780. summary: 查询三级市场(商城)商品信息详情
  26781. tags:
  26782. - 定制【海商报业】
  26783. /HSBY/QueryHsbyMarketGoodses:
  26784. get:
  26785. parameters:
  26786. - description: 页码
  26787. in: query
  26788. name: page
  26789. type: integer
  26790. - description: 每页条数
  26791. in: query
  26792. name: pagesize
  26793. type: integer
  26794. - description: 市场ID列表,格式:1,2,3
  26795. in: query
  26796. name: marketIDs
  26797. required: true
  26798. type: string
  26799. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26800. in: query
  26801. name: accountID
  26802. required: true
  26803. type: integer
  26804. - description: 类别ID
  26805. in: query
  26806. name: categoryID
  26807. type: integer
  26808. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26809. in: query
  26810. name: goodsIDs
  26811. type: string
  26812. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26813. in: query
  26814. name: couponTypeID
  26815. type: integer
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. $ref: '#/definitions/models.HsbyMarketGoods'
  26823. "500":
  26824. description: Internal Server Error
  26825. schema:
  26826. $ref: '#/definitions/app.Response'
  26827. security:
  26828. - ApiKeyAuth: []
  26829. summary: 查询特卖商品列表(三级商城)
  26830. tags:
  26831. - 定制【海商报业】
  26832. /HSBY/QueryHsbyMarkets:
  26833. get:
  26834. produces:
  26835. - application/json
  26836. responses:
  26837. "200":
  26838. description: OK
  26839. schema:
  26840. $ref: '#/definitions/models.HsbyMarketInfo'
  26841. "500":
  26842. description: Internal Server Error
  26843. schema:
  26844. $ref: '#/definitions/app.Response'
  26845. security:
  26846. - ApiKeyAuth: []
  26847. summary: 查询海商报业相关市场信息
  26848. tags:
  26849. - 定制【海商报业】
  26850. /HSBY/QueryHsbyMyBuyOrderDetails:
  26851. get:
  26852. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26853. parameters:
  26854. - description: 资金账户列表,格式:1,2,3
  26855. in: query
  26856. name: accountIDs
  26857. required: true
  26858. type: string
  26859. produces:
  26860. - application/json
  26861. responses:
  26862. "200":
  26863. description: OK
  26864. schema:
  26865. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26866. "500":
  26867. description: Internal Server Error
  26868. schema:
  26869. $ref: '#/definitions/app.Response'
  26870. security:
  26871. - ApiKeyAuth: []
  26872. summary: 查询“我的订单”信息
  26873. tags:
  26874. - 定制【海商报业】
  26875. /HSBY/QueryHsbyMyGoods:
  26876. get:
  26877. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26878. parameters:
  26879. - description: 资金账户列表,格式:1,2,3
  26880. in: query
  26881. name: accountIDs
  26882. required: true
  26883. type: string
  26884. produces:
  26885. - application/json
  26886. responses:
  26887. "200":
  26888. description: OK
  26889. schema:
  26890. $ref: '#/definitions/models.HsbyMyGoods'
  26891. "500":
  26892. description: Internal Server Error
  26893. schema:
  26894. $ref: '#/definitions/app.Response'
  26895. security:
  26896. - ApiKeyAuth: []
  26897. summary: 查询“我的商品”信息
  26898. tags:
  26899. - 定制【海商报业】
  26900. /HSBY/QueryHsbyMyPackages:
  26901. get:
  26902. parameters:
  26903. - description: 资金账户列表,格式:1,2,3
  26904. in: query
  26905. name: accountIDs
  26906. required: true
  26907. type: string
  26908. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26909. in: query
  26910. name: takeOrderStatus
  26911. type: integer
  26912. produces:
  26913. - application/json
  26914. responses:
  26915. "200":
  26916. description: OK
  26917. schema:
  26918. $ref: '#/definitions/models.HsbyMyPackage'
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 查询我的包裹信息
  26926. tags:
  26927. - 定制【海商报业】
  26928. /HSBY/QueryHsbyPreGoodsDetail:
  26929. get:
  26930. parameters:
  26931. - description: 商品ID
  26932. in: query
  26933. name: goodsID
  26934. required: true
  26935. type: integer
  26936. - description: 资金账户,主要用于获取预售商品购买上限
  26937. in: query
  26938. name: accountID
  26939. type: integer
  26940. produces:
  26941. - application/json
  26942. responses:
  26943. "200":
  26944. description: OK
  26945. schema:
  26946. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26947. "500":
  26948. description: Internal Server Error
  26949. schema:
  26950. $ref: '#/definitions/app.Response'
  26951. security:
  26952. - ApiKeyAuth: []
  26953. summary: 查询一级市场(预售)商品信息详情
  26954. tags:
  26955. - 定制【海商报业】
  26956. /HSBY/QueryHsbyPreGoodses:
  26957. get:
  26958. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26959. parameters:
  26960. - description: 页码
  26961. in: query
  26962. name: page
  26963. type: integer
  26964. - description: 每页条数
  26965. in: query
  26966. name: pagesize
  26967. type: integer
  26968. - description: 市场ID列表,格式:1,2,3
  26969. in: query
  26970. name: marketIDs
  26971. required: true
  26972. type: string
  26973. - description: 目的地(省)ID
  26974. in: query
  26975. name: descProvinceID
  26976. type: integer
  26977. - description: 目的地(市)ID
  26978. in: query
  26979. name: descCityID
  26980. type: integer
  26981. produces:
  26982. - application/json
  26983. responses:
  26984. "200":
  26985. description: OK
  26986. schema:
  26987. $ref: '#/definitions/models.HsbyPreGoods'
  26988. "500":
  26989. description: Internal Server Error
  26990. schema:
  26991. $ref: '#/definitions/app.Response'
  26992. security:
  26993. - ApiKeyAuth: []
  26994. summary: 查询新品上市商品列表(一级市场预售)
  26995. tags:
  26996. - 定制【海商报业】
  26997. /HSBY/QueryHsbySellMyDetails:
  26998. get:
  26999. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  27000. parameters:
  27001. - description: 页码
  27002. in: query
  27003. name: page
  27004. type: integer
  27005. - description: 每页条数
  27006. in: query
  27007. name: pagesize
  27008. type: integer
  27009. - description: 资金账户列表,格式:1,2,3
  27010. in: query
  27011. name: accountIDs
  27012. required: true
  27013. type: string
  27014. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  27015. in: query
  27016. name: orderType
  27017. type: integer
  27018. produces:
  27019. - application/json
  27020. responses:
  27021. "200":
  27022. description: OK
  27023. schema:
  27024. $ref: '#/definitions/models.HsbySellMyDetail'
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 查询"我的闲置"单据信息
  27032. tags:
  27033. - 定制【海商报业】
  27034. /HSBY/QueryHsbyTopGoodses:
  27035. get:
  27036. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  27037. parameters:
  27038. - description: 页码
  27039. in: query
  27040. name: page
  27041. type: integer
  27042. - description: 每页条数
  27043. in: query
  27044. name: pagesize
  27045. type: integer
  27046. - description: 市场ID列表,格式:1,2,3
  27047. in: query
  27048. name: marketIDs
  27049. required: true
  27050. type: string
  27051. - description: 目的地(省)ID
  27052. in: query
  27053. name: descProvinceID
  27054. type: integer
  27055. - description: 目的地(市)ID
  27056. in: query
  27057. name: descCityID
  27058. type: integer
  27059. produces:
  27060. - application/json
  27061. responses:
  27062. "200":
  27063. description: OK
  27064. schema:
  27065. $ref: '#/definitions/models.HsbyTopGoods'
  27066. "500":
  27067. description: Internal Server Error
  27068. schema:
  27069. $ref: '#/definitions/app.Response'
  27070. security:
  27071. - ApiKeyAuth: []
  27072. summary: 查询热卖商品列表(二级市场挂牌点选)
  27073. tags:
  27074. - 定制【海商报业】
  27075. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  27076. get:
  27077. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  27078. parameters:
  27079. - description: 商品ID
  27080. in: query
  27081. name: goodsID
  27082. required: true
  27083. type: integer
  27084. produces:
  27085. - application/json
  27086. responses:
  27087. "200":
  27088. description: OK
  27089. schema:
  27090. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 查询游客三级市场(商城)商品信息详情
  27098. tags:
  27099. - 定制【海商报业】
  27100. /HSBY/QueryHsbyVisitorMarketGoodses:
  27101. get:
  27102. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  27103. parameters:
  27104. - description: 页码
  27105. in: query
  27106. name: page
  27107. type: integer
  27108. - description: 每页条数
  27109. in: query
  27110. name: pagesize
  27111. type: integer
  27112. - description: 市场ID列表,格式:1,2,3
  27113. in: query
  27114. name: marketIDs
  27115. required: true
  27116. type: string
  27117. - description: 类别ID
  27118. in: query
  27119. name: categoryID
  27120. type: integer
  27121. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27122. in: query
  27123. name: goodsIDs
  27124. type: string
  27125. produces:
  27126. - application/json
  27127. responses:
  27128. "200":
  27129. description: OK
  27130. schema:
  27131. $ref: '#/definitions/models.HsbyMarketGoods'
  27132. "500":
  27133. description: Internal Server Error
  27134. schema:
  27135. $ref: '#/definitions/app.Response'
  27136. security:
  27137. - ApiKeyAuth: []
  27138. summary: 查询游客特卖商品列表(三级商城)
  27139. tags:
  27140. - 定制【海商报业】
  27141. /HSBY/QueryMyCollectionOrders:
  27142. get:
  27143. parameters:
  27144. - description: 页码
  27145. in: query
  27146. name: page
  27147. type: integer
  27148. - description: 每页条数
  27149. in: query
  27150. name: pagesize
  27151. type: integer
  27152. - description: 资金账户,格式:1,2,3
  27153. in: query
  27154. name: accountIDs
  27155. required: true
  27156. type: string
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. $ref: '#/definitions/models.HsbySellCollectionOrder'
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 我的闲置中收款信息查询
  27171. tags:
  27172. - 定制【海商报业】
  27173. /HSBY/QueryMyCouponHolds:
  27174. get:
  27175. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  27176. parameters:
  27177. - description: 资金账户列表,格式:1,2,3
  27178. in: query
  27179. name: accountIDs
  27180. required: true
  27181. type: string
  27182. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  27183. in: query
  27184. name: holdStatus
  27185. type: string
  27186. produces:
  27187. - application/json
  27188. responses:
  27189. "200":
  27190. description: OK
  27191. schema:
  27192. $ref: '#/definitions/models.MyCouponHold'
  27193. "500":
  27194. description: Internal Server Error
  27195. schema:
  27196. $ref: '#/definitions/app.Response'
  27197. security:
  27198. - ApiKeyAuth: []
  27199. summary: 我的优惠卷持仓查询
  27200. tags:
  27201. - 定制【海商报业】
  27202. /HSBY/QueryMyCoupons:
  27203. get:
  27204. parameters:
  27205. - description: 资金账户列表,格式:1,2,3
  27206. in: query
  27207. name: accountIDs
  27208. required: true
  27209. type: string
  27210. - description: 商品ID, 一般与sellUserID配套传入
  27211. in: query
  27212. name: goodsID
  27213. type: integer
  27214. - description: 卖方UserID
  27215. in: query
  27216. name: sellUserID
  27217. type: integer
  27218. produces:
  27219. - application/json
  27220. responses:
  27221. "200":
  27222. description: OK
  27223. schema:
  27224. $ref: '#/definitions/models.MyCoupon'
  27225. "500":
  27226. description: Internal Server Error
  27227. schema:
  27228. $ref: '#/definitions/app.Response'
  27229. security:
  27230. - ApiKeyAuth: []
  27231. summary: 我的优惠卷查询
  27232. tags:
  27233. - 定制【海商报业】
  27234. /HSBY/QueryMyPayOrders:
  27235. get:
  27236. parameters:
  27237. - description: 页码
  27238. in: query
  27239. name: page
  27240. type: integer
  27241. - description: 每页条数
  27242. in: query
  27243. name: pagesize
  27244. type: integer
  27245. - description: 资金账户列表,格式:1,2,3
  27246. in: query
  27247. name: accountIDs
  27248. required: true
  27249. type: string
  27250. - description: 买方委托单号
  27251. in: query
  27252. name: buyOrderID
  27253. type: integer
  27254. - description: 卖方委托单号
  27255. in: query
  27256. name: sellOrderID
  27257. type: integer
  27258. produces:
  27259. - application/json
  27260. responses:
  27261. "200":
  27262. description: OK
  27263. schema:
  27264. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27265. "500":
  27266. description: Internal Server Error
  27267. schema:
  27268. $ref: '#/definitions/app.Response'
  27269. security:
  27270. - ApiKeyAuth: []
  27271. summary: 获取我的订单中待付款信息
  27272. tags:
  27273. - 定制【海商报业】
  27274. /HSBY/QueryMyUsedCoupon:
  27275. get:
  27276. parameters:
  27277. - description: 资金账户列表,格式:1,2,3
  27278. in: query
  27279. name: accountIDs
  27280. required: true
  27281. type: string
  27282. produces:
  27283. - application/json
  27284. responses:
  27285. "200":
  27286. description: OK
  27287. schema:
  27288. $ref: '#/definitions/models.MyUsedCoupon'
  27289. "500":
  27290. description: Internal Server Error
  27291. schema:
  27292. $ref: '#/definitions/app.Response'
  27293. security:
  27294. - ApiKeyAuth: []
  27295. summary: 已使用优惠卷查询
  27296. tags:
  27297. - 定制【海商报业】
  27298. /HSBY/QueryProvincesAndCities:
  27299. get:
  27300. description: 查询结果只包括二级市场商品已关连的省市信息。
  27301. parameters:
  27302. - description: 省ID
  27303. in: query
  27304. name: provinceID
  27305. type: integer
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27313. "500":
  27314. description: Internal Server Error
  27315. schema:
  27316. $ref: '#/definitions/app.Response'
  27317. security:
  27318. - ApiKeyAuth: []
  27319. summary: 查询省市信息(不包括区)
  27320. tags:
  27321. - 定制【海商报业】
  27322. /HSBY/SetHsbyMyPackagesStatus:
  27323. post:
  27324. parameters:
  27325. - description: 提货单号
  27326. in: query
  27327. name: takeOrderID
  27328. required: true
  27329. type: string
  27330. - description: 资金账号
  27331. in: query
  27332. name: accountID
  27333. required: true
  27334. type: integer
  27335. produces:
  27336. - application/json
  27337. responses:
  27338. "200":
  27339. description: OK
  27340. schema:
  27341. $ref: '#/definitions/app.Response'
  27342. "500":
  27343. description: Internal Server Error
  27344. schema:
  27345. $ref: '#/definitions/app.Response'
  27346. security:
  27347. - ApiKeyAuth: []
  27348. summary: 设置我的包裹已收货状态
  27349. tags:
  27350. - 定制【海商报业】
  27351. /Market/GetAllExExchanges:
  27352. get:
  27353. produces:
  27354. - application/json
  27355. responses:
  27356. "200":
  27357. description: OK
  27358. schema:
  27359. $ref: '#/definitions/models.Goods'
  27360. "500":
  27361. description: Internal Server Error
  27362. schema:
  27363. $ref: '#/definitions/app.Response'
  27364. security:
  27365. - ApiKeyAuth: []
  27366. summary: 获取所有外部交易所信息
  27367. tags:
  27368. - 通用市场
  27369. /Market/QueryGoodsesByLoginID:
  27370. get:
  27371. parameters:
  27372. - description: 登录账号
  27373. in: query
  27374. name: loginID
  27375. required: true
  27376. type: integer
  27377. - description: 市场ID列表,格式:1,2,3
  27378. in: query
  27379. name: marketIDs
  27380. type: string
  27381. produces:
  27382. - application/json
  27383. responses:
  27384. "200":
  27385. description: OK
  27386. schema:
  27387. $ref: '#/definitions/models.Goods'
  27388. "500":
  27389. description: Internal Server Error
  27390. schema:
  27391. $ref: '#/definitions/app.Response'
  27392. security:
  27393. - ApiKeyAuth: []
  27394. summary: 获取登录账号有权限的商品信息
  27395. tags:
  27396. - 通用市场
  27397. /Market/QueryMarketRun:
  27398. get:
  27399. parameters:
  27400. - description: 市场ID,不传返回所有
  27401. in: query
  27402. name: marketID
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. $ref: '#/definitions/models.Marketrun'
  27411. "500":
  27412. description: Internal Server Error
  27413. schema:
  27414. $ref: '#/definitions/app.Response'
  27415. security:
  27416. - ApiKeyAuth: []
  27417. summary: 查询市场运行信息
  27418. tags:
  27419. - 通用市场
  27420. /Market/QueryMarketsByLoginID:
  27421. get:
  27422. parameters:
  27423. - description: 登录账号
  27424. in: query
  27425. name: loginID
  27426. required: true
  27427. type: integer
  27428. produces:
  27429. - application/json
  27430. responses:
  27431. "200":
  27432. description: OK
  27433. schema:
  27434. $ref: '#/definitions/models.Market'
  27435. "500":
  27436. description: Internal Server Error
  27437. schema:
  27438. $ref: '#/definitions/app.Response'
  27439. security:
  27440. - ApiKeyAuth: []
  27441. summary: 获取登录账号有权限的市场信息
  27442. tags:
  27443. - 通用市场
  27444. /Order/QueryHisTradeDetail:
  27445. get:
  27446. parameters:
  27447. - description: 资金账户 - 格式:1,2,3
  27448. in: query
  27449. name: accountID
  27450. required: true
  27451. type: string
  27452. - description: 成交单号
  27453. in: query
  27454. name: tradeID
  27455. type: integer
  27456. - description: 委托单号
  27457. in: query
  27458. name: orderID
  27459. type: integer
  27460. - description: 商品ID
  27461. in: query
  27462. name: goodsID
  27463. type: integer
  27464. - description: 交易模式 - 格式:1,2,3
  27465. in: query
  27466. name: tradeMode
  27467. type: string
  27468. - description: 委托单据类型
  27469. in: query
  27470. name: buildType
  27471. type: integer
  27472. - description: 成交类别 - 格式:1,2,3
  27473. in: query
  27474. name: tradeType
  27475. type: string
  27476. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27477. in: query
  27478. name: startDate
  27479. type: string
  27480. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27481. in: query
  27482. name: endDate
  27483. type: string
  27484. produces:
  27485. - application/json
  27486. responses:
  27487. "200":
  27488. description: OK
  27489. schema:
  27490. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. summary: 历史成交单查询(合约市场)
  27498. tags:
  27499. - 通用单据
  27500. /Order/QueryHisTradeOrderDetail:
  27501. get:
  27502. parameters:
  27503. - description: 资金账户 - 格式:1,2,3
  27504. in: query
  27505. name: accountID
  27506. required: true
  27507. type: string
  27508. - description: 交易模式 - 格式:1,2,3
  27509. in: query
  27510. name: tradeMode
  27511. type: string
  27512. - description: 委托状态 - 格式:1,2,3
  27513. in: query
  27514. name: orderStatus
  27515. type: string
  27516. - description: 委托单号
  27517. in: query
  27518. name: orderID
  27519. type: integer
  27520. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27521. in: query
  27522. name: startDate
  27523. type: string
  27524. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27525. in: query
  27526. name: endDate
  27527. type: string
  27528. produces:
  27529. - application/json
  27530. responses:
  27531. "200":
  27532. description: OK
  27533. schema:
  27534. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27535. "500":
  27536. description: Internal Server Error
  27537. schema:
  27538. $ref: '#/definitions/app.Response'
  27539. security:
  27540. - ApiKeyAuth: []
  27541. summary: 历史委托单查询请求(合约市场)
  27542. tags:
  27543. - 通用单据
  27544. /Order/QueryTradeDetail:
  27545. get:
  27546. parameters:
  27547. - description: 资金账户 - 格式:1,2,3
  27548. in: query
  27549. name: accountID
  27550. required: true
  27551. type: string
  27552. - description: 成交单号
  27553. in: query
  27554. name: tradeID
  27555. type: integer
  27556. - description: 委托单号
  27557. in: query
  27558. name: orderID
  27559. type: integer
  27560. - description: 交易模式 - 格式:1,2,3
  27561. in: query
  27562. name: tradeMode
  27563. type: string
  27564. - description: 委托单据类型
  27565. in: query
  27566. name: buildType
  27567. type: integer
  27568. - description: 成交类别 - 格式:1,2,3
  27569. in: query
  27570. name: tradeType
  27571. type: string
  27572. - description: 商品ID
  27573. in: query
  27574. name: goodsID
  27575. type: integer
  27576. produces:
  27577. - application/json
  27578. responses:
  27579. "200":
  27580. description: OK
  27581. schema:
  27582. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27583. "500":
  27584. description: Internal Server Error
  27585. schema:
  27586. $ref: '#/definitions/app.Response'
  27587. security:
  27588. - ApiKeyAuth: []
  27589. summary: 成交单查询(合约市场)
  27590. tags:
  27591. - 通用单据
  27592. /Order/QueryTradeHolderDetail:
  27593. get:
  27594. parameters:
  27595. - description: 用户id
  27596. in: query
  27597. name: userid
  27598. type: integer
  27599. - description: 资金账号, 格式 1,2,3
  27600. in: query
  27601. name: accids
  27602. type: string
  27603. - description: 交易模式, 格式 1,2,3
  27604. in: query
  27605. name: trademodes
  27606. type: string
  27607. - description: 市场id, 格式 1,2,3
  27608. in: query
  27609. name: marketids
  27610. type: string
  27611. - description: 商品id
  27612. in: query
  27613. name: goodsid
  27614. type: integer
  27615. - description: 买卖方向 0-买 1-卖
  27616. in: query
  27617. name: buyorsell
  27618. type: integer
  27619. produces:
  27620. - application/json
  27621. responses:
  27622. "200":
  27623. description: OK
  27624. schema:
  27625. items:
  27626. $ref: '#/definitions/models.TradeHolderDetail'
  27627. type: array
  27628. "500":
  27629. description: Internal Server Error
  27630. schema:
  27631. $ref: '#/definitions/app.Response'
  27632. security:
  27633. - ApiKeyAuth: []
  27634. summary: 查询持仓明细
  27635. tags:
  27636. - 通用单据
  27637. /Order/QueryTradeOrderDetail:
  27638. get:
  27639. parameters:
  27640. - description: 资金账户 - 格式:1,2,3
  27641. in: query
  27642. name: accountID
  27643. required: true
  27644. type: string
  27645. - description: 交易模式 - 格式:1,2,3
  27646. in: query
  27647. name: tradeMode
  27648. type: string
  27649. - description: 委托状态 - 格式:1,2,3
  27650. in: query
  27651. name: orderStatus
  27652. type: string
  27653. - description: 委托单号
  27654. in: query
  27655. name: orderID
  27656. type: integer
  27657. produces:
  27658. - application/json
  27659. responses:
  27660. "200":
  27661. description: OK
  27662. schema:
  27663. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27664. "500":
  27665. description: Internal Server Error
  27666. schema:
  27667. $ref: '#/definitions/app.Response'
  27668. security:
  27669. - ApiKeyAuth: []
  27670. summary: 委托单查询请求(合约市场)
  27671. tags:
  27672. - 通用单据
  27673. /Order/QueryTradePosition:
  27674. get:
  27675. parameters:
  27676. - description: 资金账户 - 格式:1,2,3
  27677. in: query
  27678. name: accountID
  27679. required: true
  27680. type: string
  27681. - description: 交易模式 - 格式:1,2,3
  27682. in: query
  27683. name: tradeMode
  27684. type: string
  27685. produces:
  27686. - application/json
  27687. responses:
  27688. "200":
  27689. description: OK
  27690. schema:
  27691. $ref: '#/definitions/order.QueryTradePositionRsp'
  27692. "500":
  27693. description: Internal Server Error
  27694. schema:
  27695. $ref: '#/definitions/app.Response'
  27696. security:
  27697. - ApiKeyAuth: []
  27698. summary: 持仓汇总查询(合约市场)
  27699. tags:
  27700. - 通用单据
  27701. /Qhj/QueryAccountInOutApply:
  27702. get:
  27703. parameters:
  27704. - description: 用户ID
  27705. in: query
  27706. name: userid
  27707. required: true
  27708. type: integer
  27709. - description: 申请起始日期(格式yyyymmdd)
  27710. in: query
  27711. name: begindate
  27712. type: string
  27713. - description: 申请截止日期(格式yyyymmdd)
  27714. in: query
  27715. name: enddate
  27716. type: string
  27717. - description: 模糊搜索名称
  27718. in: query
  27719. name: likename
  27720. type: string
  27721. produces:
  27722. - application/json
  27723. responses:
  27724. "200":
  27725. description: OK
  27726. schema:
  27727. items:
  27728. $ref: '#/definitions/models.QhjAccountOutInApply'
  27729. type: array
  27730. "500":
  27731. description: Internal Server Error
  27732. schema:
  27733. $ref: '#/definitions/app.Response'
  27734. security:
  27735. - ApiKeyAuth: []
  27736. summary: 查询充值提现
  27737. tags:
  27738. - 大连千海金
  27739. /Qhj/QueryAreaFinanceConfig:
  27740. get:
  27741. parameters:
  27742. - description: 机构用户ID 其他做市关系,都设置为 1
  27743. in: query
  27744. name: userid
  27745. type: integer
  27746. produces:
  27747. - application/json
  27748. responses:
  27749. "200":
  27750. description: OK
  27751. schema:
  27752. items:
  27753. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27754. type: array
  27755. "500":
  27756. description: Internal Server Error
  27757. schema:
  27758. $ref: '#/definitions/app.Response'
  27759. security:
  27760. - ApiKeyAuth: []
  27761. summary: 查询企业配置表
  27762. tags:
  27763. - 大连千海金
  27764. /Qhj/QueryBankAccountSign:
  27765. get:
  27766. parameters:
  27767. - description: 用户ID
  27768. in: query
  27769. name: userid
  27770. required: true
  27771. type: integer
  27772. produces:
  27773. - application/json
  27774. responses:
  27775. "200":
  27776. description: OK
  27777. schema:
  27778. items:
  27779. $ref: '#/definitions/models.QhjBankAccountSign'
  27780. type: array
  27781. "500":
  27782. description: Internal Server Error
  27783. schema:
  27784. $ref: '#/definitions/app.Response'
  27785. security:
  27786. - ApiKeyAuth: []
  27787. summary: 查询签约银行信息(提现账户管理)
  27788. tags:
  27789. - 大连千海金
  27790. /Qhj/QueryBankInfo:
  27791. get:
  27792. produces:
  27793. - application/json
  27794. responses:
  27795. "200":
  27796. description: OK
  27797. schema:
  27798. items:
  27799. $ref: '#/definitions/models.QhjBankInfo'
  27800. type: array
  27801. "500":
  27802. description: Internal Server Error
  27803. schema:
  27804. $ref: '#/definitions/app.Response'
  27805. security:
  27806. - ApiKeyAuth: []
  27807. summary: 查询开户行
  27808. tags:
  27809. - 大连千海金
  27810. /Qhj/QueryBrokerApply:
  27811. get:
  27812. parameters:
  27813. - description: 所属机构ID
  27814. in: query
  27815. name: userid
  27816. type: integer
  27817. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27818. in: query
  27819. name: filterstatus
  27820. type: string
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. items:
  27828. $ref: '#/definitions/models.QhjBrokerApply'
  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. - 大连千海金
  27839. /Qhj/QueryBrokerApplyEx:
  27840. get:
  27841. parameters:
  27842. - description: 所属机构ID
  27843. in: query
  27844. name: userid
  27845. type: integer
  27846. produces:
  27847. - application/json
  27848. responses:
  27849. "200":
  27850. description: OK
  27851. schema:
  27852. items:
  27853. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27854. type: array
  27855. "500":
  27856. description: Internal Server Error
  27857. schema:
  27858. $ref: '#/definitions/app.Response'
  27859. security:
  27860. - ApiKeyAuth: []
  27861. summary: 查询经纪人信息和申请记录
  27862. tags:
  27863. - 大连千海金
  27864. /Qhj/QueryBrokerRewardLog:
  27865. get:
  27866. parameters:
  27867. - description: 用户ID
  27868. in: query
  27869. name: userid
  27870. required: true
  27871. type: integer
  27872. - description: 开始交易日(yyyymmdd)
  27873. in: query
  27874. name: begindate
  27875. type: string
  27876. - description: 结束交易日(yyyymmdd)
  27877. in: query
  27878. name: enddate
  27879. type: string
  27880. produces:
  27881. - application/json
  27882. responses:
  27883. "200":
  27884. description: OK
  27885. schema:
  27886. items:
  27887. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27888. type: array
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 查询奖励流水(我的奖励)
  27896. tags:
  27897. - 大连千海金
  27898. /Qhj/QueryContract:
  27899. get:
  27900. parameters:
  27901. - description: 用户ID
  27902. in: query
  27903. name: userid
  27904. type: integer
  27905. - description: scf合同id
  27906. in: query
  27907. name: scfcontractid
  27908. type: integer
  27909. produces:
  27910. - application/json
  27911. responses:
  27912. "200":
  27913. description: OK
  27914. schema:
  27915. items:
  27916. $ref: '#/definitions/models.QhjContract'
  27917. type: array
  27918. "500":
  27919. description: Internal Server Error
  27920. schema:
  27921. $ref: '#/definitions/app.Response'
  27922. security:
  27923. - ApiKeyAuth: []
  27924. summary: 查询融资明细(合同)
  27925. tags:
  27926. - 大连千海金
  27927. /Qhj/QueryContractLog:
  27928. get:
  27929. parameters:
  27930. - description: scf合同id
  27931. in: query
  27932. name: scfcontractid
  27933. required: true
  27934. type: integer
  27935. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27936. in: query
  27937. name: amounttype
  27938. type: string
  27939. produces:
  27940. - application/json
  27941. responses:
  27942. "200":
  27943. description: OK
  27944. schema:
  27945. items:
  27946. $ref: '#/definitions/models.QhjContractLog'
  27947. type: array
  27948. "500":
  27949. description: Internal Server Error
  27950. schema:
  27951. $ref: '#/definitions/app.Response'
  27952. security:
  27953. - ApiKeyAuth: []
  27954. summary: 查询融资明细流水(融资明细详情页中的流水)
  27955. tags:
  27956. - 大连千海金
  27957. /Qhj/QueryCusBankSignBank:
  27958. get:
  27959. produces:
  27960. - application/json
  27961. responses:
  27962. "200":
  27963. description: OK
  27964. schema:
  27965. items:
  27966. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27967. type: array
  27968. "500":
  27969. description: Internal Server Error
  27970. schema:
  27971. $ref: '#/definitions/app.Response'
  27972. security:
  27973. - ApiKeyAuth: []
  27974. summary: 查询托管银行
  27975. tags:
  27976. - 大连千海金
  27977. /Qhj/QueryCustomerInfo:
  27978. get:
  27979. parameters:
  27980. - description: 用户ID
  27981. in: query
  27982. name: userid
  27983. required: true
  27984. type: integer
  27985. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27986. in: query
  27987. name: querytype
  27988. required: true
  27989. type: integer
  27990. - description: 客户类型 1-个人 2-企业
  27991. in: query
  27992. name: userinfotype
  27993. type: integer
  27994. - description: 客户名称(模糊匹配)
  27995. in: query
  27996. name: customername
  27997. type: string
  27998. - description: 昵称(模糊匹配)
  27999. in: query
  28000. name: nickname
  28001. type: string
  28002. - description: 是否包含子级 1-包含
  28003. in: query
  28004. name: includesub
  28005. type: integer
  28006. produces:
  28007. - application/json
  28008. responses:
  28009. "200":
  28010. description: OK
  28011. schema:
  28012. items:
  28013. $ref: '#/definitions/models.QhjCustomer'
  28014. type: array
  28015. "500":
  28016. description: Internal Server Error
  28017. schema:
  28018. $ref: '#/definitions/app.Response'
  28019. security:
  28020. - ApiKeyAuth: []
  28021. summary: 查询客户资料
  28022. tags:
  28023. - 大连千海金
  28024. /Qhj/QueryGoodsEx:
  28025. get:
  28026. parameters:
  28027. - description: 商品id
  28028. in: query
  28029. name: goodsid
  28030. type: integer
  28031. produces:
  28032. - application/json
  28033. responses:
  28034. "200":
  28035. description: OK
  28036. schema:
  28037. items:
  28038. $ref: '#/definitions/models.Qhjgoodsex'
  28039. type: array
  28040. "500":
  28041. description: Internal Server Error
  28042. schema:
  28043. $ref: '#/definitions/app.Response'
  28044. security:
  28045. - ApiKeyAuth: []
  28046. summary: 交易商品扩展表
  28047. tags:
  28048. - 大连千海金
  28049. /Qhj/QueryMyTeam:
  28050. get:
  28051. parameters:
  28052. - description: 用户ID
  28053. in: query
  28054. name: userid
  28055. required: true
  28056. type: integer
  28057. produces:
  28058. - application/json
  28059. responses:
  28060. "200":
  28061. description: OK
  28062. schema:
  28063. items:
  28064. $ref: '#/definitions/models.QhjMyTeamEx'
  28065. type: array
  28066. "500":
  28067. description: Internal Server Error
  28068. schema:
  28069. $ref: '#/definitions/app.Response'
  28070. security:
  28071. - ApiKeyAuth: []
  28072. summary: 查询我的团队
  28073. tags:
  28074. - 大连千海金
  28075. /Qhj/QueryMyTeamOrder:
  28076. get:
  28077. parameters:
  28078. - description: 页码
  28079. in: query
  28080. name: page
  28081. type: integer
  28082. - description: 每页条数
  28083. in: query
  28084. name: pagesize
  28085. type: integer
  28086. - description: 用户ID
  28087. in: query
  28088. name: userid
  28089. required: true
  28090. type: integer
  28091. - description: 交易模式
  28092. in: query
  28093. name: trademode
  28094. type: integer
  28095. - description: 名称(模糊搜索账户)
  28096. in: query
  28097. name: filtername
  28098. type: string
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. items:
  28106. $ref: '#/definitions/models.QhjTeamOrder'
  28107. type: array
  28108. "500":
  28109. description: Internal Server Error
  28110. schema:
  28111. $ref: '#/definitions/app.Response'
  28112. security:
  28113. - ApiKeyAuth: []
  28114. summary: 查询团队订单(我的团队/团队订单)
  28115. tags:
  28116. - 大连千海金
  28117. /Qhj/QueryParentAreaList:
  28118. get:
  28119. parameters:
  28120. - description: 用户ID
  28121. in: query
  28122. name: userid
  28123. required: true
  28124. type: integer
  28125. produces:
  28126. - application/json
  28127. responses:
  28128. "200":
  28129. description: OK
  28130. schema:
  28131. items:
  28132. $ref: '#/definitions/models.QhjParentAreaList'
  28133. type: array
  28134. "500":
  28135. description: Internal Server Error
  28136. schema:
  28137. $ref: '#/definitions/app.Response'
  28138. security:
  28139. - ApiKeyAuth: []
  28140. summary: 查询所属机构列表
  28141. tags:
  28142. - 大连千海金
  28143. /Qhj/QueryPayOrder:
  28144. get:
  28145. parameters:
  28146. - description: 资金账号id
  28147. in: query
  28148. name: accountid
  28149. required: true
  28150. type: integer
  28151. - description: 成交单号
  28152. in: query
  28153. name: tradeid
  28154. type: integer
  28155. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28156. in: query
  28157. name: payflag
  28158. type: string
  28159. produces:
  28160. - application/json
  28161. responses:
  28162. "200":
  28163. description: OK
  28164. schema:
  28165. items:
  28166. $ref: '#/definitions/models.QhjPayOrder'
  28167. type: array
  28168. "500":
  28169. description: Internal Server Error
  28170. schema:
  28171. $ref: '#/definitions/app.Response'
  28172. security:
  28173. - ApiKeyAuth: []
  28174. summary: 查询待付款单据
  28175. tags:
  28176. - 大连千海金
  28177. /Qhj/QueryPickArea:
  28178. get:
  28179. parameters:
  28180. - description: 用户ID
  28181. in: query
  28182. name: userid
  28183. type: integer
  28184. produces:
  28185. - application/json
  28186. responses:
  28187. "200":
  28188. description: OK
  28189. schema:
  28190. items:
  28191. $ref: '#/definitions/models.QhjPickArea'
  28192. type: array
  28193. "500":
  28194. description: Internal Server Error
  28195. schema:
  28196. $ref: '#/definitions/app.Response'
  28197. security:
  28198. - ApiKeyAuth: []
  28199. summary: 查询提货门店
  28200. tags:
  28201. - 大连千海金
  28202. /Qhj/QueryPickGoods:
  28203. get:
  28204. parameters:
  28205. - description: 交易商品id
  28206. in: query
  28207. name: goodsid
  28208. required: true
  28209. type: integer
  28210. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28211. in: query
  28212. name: status
  28213. type: string
  28214. produces:
  28215. - application/json
  28216. responses:
  28217. "200":
  28218. description: OK
  28219. schema:
  28220. items:
  28221. $ref: '#/definitions/models.QhjPickGoods'
  28222. type: array
  28223. "500":
  28224. description: Internal Server Error
  28225. schema:
  28226. $ref: '#/definitions/app.Response'
  28227. security:
  28228. - ApiKeyAuth: []
  28229. summary: 查询提货商品
  28230. tags:
  28231. - 大连千海金
  28232. /Qhj/QueryRSTriggerLog:
  28233. get:
  28234. parameters:
  28235. - description: 用户ID
  28236. in: query
  28237. name: userid
  28238. type: integer
  28239. - description: 定投策略id
  28240. in: query
  28241. name: regularlystrategyid
  28242. type: integer
  28243. - description: 商品id
  28244. in: query
  28245. name: goodsid
  28246. type: integer
  28247. - description: 开始交易日(yyyymmdd)
  28248. in: query
  28249. name: begindate
  28250. type: string
  28251. - description: 结束交易日(yyyymmdd)
  28252. in: query
  28253. name: enddate
  28254. type: string
  28255. - description: 名称(模糊搜索账户)
  28256. in: query
  28257. name: filtername
  28258. type: string
  28259. produces:
  28260. - application/json
  28261. responses:
  28262. "200":
  28263. description: OK
  28264. schema:
  28265. items:
  28266. $ref: '#/definitions/models.QhjRSTriggerLog'
  28267. type: array
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. summary: 查询定投记录(定投管理/详情/定投记录)
  28275. tags:
  28276. - 大连千海金
  28277. /Qhj/QueryRStrategy:
  28278. get:
  28279. parameters:
  28280. - description: 用户ID
  28281. in: query
  28282. name: userid
  28283. type: integer
  28284. - description: 商品id
  28285. in: query
  28286. name: goodsid
  28287. type: integer
  28288. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28289. in: query
  28290. name: status
  28291. type: string
  28292. - description: 名称(模糊搜索账户)
  28293. in: query
  28294. name: filtername
  28295. type: string
  28296. produces:
  28297. - application/json
  28298. responses:
  28299. "200":
  28300. description: OK
  28301. schema:
  28302. items:
  28303. $ref: '#/definitions/models.QhjRStrategy'
  28304. type: array
  28305. "500":
  28306. description: Internal Server Error
  28307. schema:
  28308. $ref: '#/definitions/app.Response'
  28309. security:
  28310. - ApiKeyAuth: []
  28311. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28312. tags:
  28313. - 大连千海金
  28314. /Qhj/QueryReckonPriceLog:
  28315. get:
  28316. parameters:
  28317. - description: 商品ID
  28318. in: query
  28319. name: goodsid
  28320. type: integer
  28321. - description: 交易日 格式(yyyymmdd)
  28322. in: query
  28323. name: tradedate
  28324. type: string
  28325. produces:
  28326. - application/json
  28327. responses:
  28328. "200":
  28329. description: OK
  28330. schema:
  28331. items:
  28332. $ref: '#/definitions/models.QhjReckonPriceLog'
  28333. type: array
  28334. "500":
  28335. description: Internal Server Error
  28336. schema:
  28337. $ref: '#/definitions/app.Response'
  28338. security:
  28339. - ApiKeyAuth: []
  28340. summary: 查询定投价(结算价)
  28341. tags:
  28342. - 大连千海金
  28343. /Qhj/QueryScoreLog:
  28344. get:
  28345. parameters:
  28346. - description: 用户ID
  28347. in: query
  28348. name: userid
  28349. required: true
  28350. type: integer
  28351. - description: 开始交易日(yyyymmdd)
  28352. in: query
  28353. name: begindate
  28354. type: string
  28355. - description: 结束交易日(yyyymmdd)
  28356. in: query
  28357. name: enddate
  28358. type: string
  28359. - description: 最近多少条
  28360. in: query
  28361. name: lastnum
  28362. type: integer
  28363. produces:
  28364. - application/json
  28365. responses:
  28366. "200":
  28367. description: OK
  28368. schema:
  28369. items:
  28370. $ref: '#/definitions/models.QhjScoreLog'
  28371. type: array
  28372. "500":
  28373. description: Internal Server Error
  28374. schema:
  28375. $ref: '#/definitions/app.Response'
  28376. security:
  28377. - ApiKeyAuth: []
  28378. summary: 查询积分流水(我的积分)
  28379. tags:
  28380. - 大连千海金
  28381. /Qhj/QuerySiteColumnDetail:
  28382. get:
  28383. parameters:
  28384. - description: 用户ID
  28385. in: query
  28386. name: userid
  28387. required: true
  28388. type: integer
  28389. produces:
  28390. - application/json
  28391. responses:
  28392. "200":
  28393. description: OK
  28394. schema:
  28395. items:
  28396. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28397. type: array
  28398. "500":
  28399. description: Internal Server Error
  28400. schema:
  28401. $ref: '#/definitions/app.Response'
  28402. security:
  28403. - ApiKeyAuth: []
  28404. summary: 查询资讯
  28405. tags:
  28406. - 大连千海金
  28407. /Qhj/QueryTradeGoodsPickup:
  28408. get:
  28409. parameters:
  28410. - description: 用户ID
  28411. in: query
  28412. name: userid
  28413. required: true
  28414. type: integer
  28415. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28416. 7:已拒绝 8:已撤销
  28417. in: query
  28418. name: takeorderstatus
  28419. type: integer
  28420. produces:
  28421. - application/json
  28422. responses:
  28423. "200":
  28424. description: OK
  28425. schema:
  28426. items:
  28427. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28428. type: array
  28429. "500":
  28430. description: Internal Server Error
  28431. schema:
  28432. $ref: '#/definitions/app.Response'
  28433. security:
  28434. - ApiKeyAuth: []
  28435. summary: 查询提货
  28436. tags:
  28437. - 大连千海金
  28438. /Qhj/QueryUserCollectConfig:
  28439. get:
  28440. parameters:
  28441. - description: 用户ID
  28442. in: query
  28443. name: userid
  28444. required: true
  28445. type: integer
  28446. produces:
  28447. - application/json
  28448. responses:
  28449. "200":
  28450. description: OK
  28451. schema:
  28452. items:
  28453. $ref: '#/definitions/models.UserCollectConfig'
  28454. type: array
  28455. "500":
  28456. description: Internal Server Error
  28457. schema:
  28458. $ref: '#/definitions/app.Response'
  28459. security:
  28460. - ApiKeyAuth: []
  28461. summary: 查询提现账户设置
  28462. tags:
  28463. - 大连千海金
  28464. /Qhj/QueryUserReceiveInfo:
  28465. get:
  28466. parameters:
  28467. - description: 用户ID
  28468. in: query
  28469. name: userid
  28470. required: true
  28471. type: integer
  28472. produces:
  28473. - application/json
  28474. responses:
  28475. "200":
  28476. description: OK
  28477. schema:
  28478. items:
  28479. $ref: '#/definitions/models.UserReceiveInfo'
  28480. type: array
  28481. "500":
  28482. description: Internal Server Error
  28483. schema:
  28484. $ref: '#/definitions/app.Response'
  28485. security:
  28486. - ApiKeyAuth: []
  28487. summary: 查询收货地址信息
  28488. tags:
  28489. - 大连千海金
  28490. /QhjMgr/QueryAccountInOutApply:
  28491. get:
  28492. parameters:
  28493. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28494. in: query
  28495. name: querytype
  28496. required: true
  28497. type: integer
  28498. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28499. in: query
  28500. name: applystatus
  28501. type: integer
  28502. - description: 申请起始日期(格式yyyymmdd)
  28503. in: query
  28504. name: begindate
  28505. type: string
  28506. - description: 申请截止日期(格式yyyymmdd)
  28507. in: query
  28508. name: enddate
  28509. type: string
  28510. - description: 模糊搜索名称
  28511. in: query
  28512. name: likename
  28513. type: string
  28514. produces:
  28515. - application/json
  28516. responses:
  28517. "200":
  28518. description: OK
  28519. schema:
  28520. items:
  28521. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28522. type: array
  28523. "500":
  28524. description: Internal Server Error
  28525. schema:
  28526. $ref: '#/definitions/app.Response'
  28527. security:
  28528. - ApiKeyAuth: []
  28529. summary: 查询充值提现
  28530. tags:
  28531. - 大连千海金(PCWeb)
  28532. /QhjMgr/QueryBrokerApply:
  28533. get:
  28534. parameters:
  28535. - description: 所属机构ID
  28536. in: query
  28537. name: userid
  28538. type: integer
  28539. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28540. in: query
  28541. name: filterstatus
  28542. type: string
  28543. - description: 名称(模糊匹配)
  28544. in: query
  28545. name: filtername
  28546. type: string
  28547. - description: 是否包含子级 1-包含
  28548. in: query
  28549. name: includesub
  28550. type: integer
  28551. produces:
  28552. - application/json
  28553. responses:
  28554. "200":
  28555. description: OK
  28556. schema:
  28557. items:
  28558. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28559. type: array
  28560. "500":
  28561. description: Internal Server Error
  28562. schema:
  28563. $ref: '#/definitions/app.Response'
  28564. security:
  28565. - ApiKeyAuth: []
  28566. summary: 查询经纪人申请
  28567. tags:
  28568. - 大连千海金(PCWeb)
  28569. /QhjMgr/QueryBrokerRewardReport:
  28570. get:
  28571. parameters:
  28572. - description: 所属机构ID
  28573. in: query
  28574. name: userid
  28575. required: true
  28576. type: integer
  28577. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28578. in: query
  28579. name: cycletype
  28580. required: true
  28581. type: integer
  28582. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28583. in: query
  28584. name: cycletime
  28585. required: true
  28586. type: string
  28587. - description: 名称(模糊匹配)
  28588. in: query
  28589. name: filtername
  28590. type: string
  28591. - description: 是否包含子级 1-包含
  28592. in: query
  28593. name: includesub
  28594. type: integer
  28595. produces:
  28596. - application/json
  28597. responses:
  28598. "200":
  28599. description: OK
  28600. schema:
  28601. items:
  28602. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28603. type: array
  28604. "500":
  28605. description: Internal Server Error
  28606. schema:
  28607. $ref: '#/definitions/app.Response'
  28608. security:
  28609. - ApiKeyAuth: []
  28610. summary: 查询经纪人奖励报表(废弃)
  28611. tags:
  28612. - 大连千海金(PCWeb)
  28613. /QhjMgr/QueryContract:
  28614. get:
  28615. parameters:
  28616. - description: 用户ID
  28617. in: query
  28618. name: userid
  28619. type: integer
  28620. - description: 商品id
  28621. in: query
  28622. name: goodsid
  28623. type: integer
  28624. - description: 名称(模糊搜索账户)
  28625. in: query
  28626. name: filtername
  28627. type: string
  28628. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28629. in: query
  28630. name: risklevel
  28631. type: string
  28632. - description: 开始交易日(yyyymmdd)
  28633. in: query
  28634. name: begindate
  28635. type: string
  28636. - description: 结束交易日(yyyymmdd)
  28637. in: query
  28638. name: enddate
  28639. type: string
  28640. produces:
  28641. - application/json
  28642. responses:
  28643. "200":
  28644. description: OK
  28645. schema:
  28646. items:
  28647. $ref: '#/definitions/models.QhjMgrContract'
  28648. type: array
  28649. "500":
  28650. description: Internal Server Error
  28651. schema:
  28652. $ref: '#/definitions/app.Response'
  28653. security:
  28654. - ApiKeyAuth: []
  28655. summary: 查询融资信息(合同)
  28656. tags:
  28657. - 大连千海金(PCWeb)
  28658. /QhjMgr/QueryCustomerInfo:
  28659. get:
  28660. parameters:
  28661. - description: 用户ID
  28662. in: query
  28663. name: userid
  28664. required: true
  28665. type: integer
  28666. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28667. in: query
  28668. name: querytype
  28669. required: true
  28670. type: integer
  28671. - description: 客户类型 1-个人 2-企业
  28672. in: query
  28673. name: userinfotype
  28674. type: integer
  28675. - description: 客户名称(模糊匹配)
  28676. in: query
  28677. name: customername
  28678. type: string
  28679. - description: 昵称(模糊匹配)
  28680. in: query
  28681. name: nickname
  28682. type: string
  28683. - description: 所属客户经理(模糊匹配)
  28684. in: query
  28685. name: brokername
  28686. type: string
  28687. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28688. 如0503 -5月3日)
  28689. in: query
  28690. name: birthday
  28691. type: string
  28692. - description: 是否包含子级 1-包含
  28693. in: query
  28694. name: includesub
  28695. type: integer
  28696. produces:
  28697. - application/json
  28698. responses:
  28699. "200":
  28700. description: OK
  28701. schema:
  28702. items:
  28703. $ref: '#/definitions/models.QhjMgrCustomer'
  28704. type: array
  28705. "500":
  28706. description: Internal Server Error
  28707. schema:
  28708. $ref: '#/definitions/app.Response'
  28709. security:
  28710. - ApiKeyAuth: []
  28711. summary: 查询客户资料
  28712. tags:
  28713. - 大连千海金(PCWeb)
  28714. /QhjMgr/QueryPickGoods:
  28715. get:
  28716. parameters:
  28717. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28718. in: query
  28719. name: status
  28720. type: string
  28721. produces:
  28722. - application/json
  28723. responses:
  28724. "200":
  28725. description: OK
  28726. schema:
  28727. items:
  28728. $ref: '#/definitions/models.QhjMgrPickGoods'
  28729. type: array
  28730. "500":
  28731. description: Internal Server Error
  28732. schema:
  28733. $ref: '#/definitions/app.Response'
  28734. security:
  28735. - ApiKeyAuth: []
  28736. summary: 查询提货商品
  28737. tags:
  28738. - 大连千海金(PCWeb)
  28739. /QhjMgr/QuerySubArea:
  28740. get:
  28741. parameters:
  28742. - description: 用户ID
  28743. in: query
  28744. name: userid
  28745. required: true
  28746. type: integer
  28747. produces:
  28748. - application/json
  28749. responses:
  28750. "200":
  28751. description: OK
  28752. schema:
  28753. items:
  28754. $ref: '#/definitions/models.QhjMgrSubArea'
  28755. type: array
  28756. "500":
  28757. description: Internal Server Error
  28758. schema:
  28759. $ref: '#/definitions/app.Response'
  28760. security:
  28761. - ApiKeyAuth: []
  28762. summary: 查询子机构列表
  28763. tags:
  28764. - 大连千海金(PCWeb)
  28765. /QhjMgr/QueryTradeDetail:
  28766. get:
  28767. parameters:
  28768. - description: 用户ID
  28769. in: query
  28770. name: userid
  28771. required: true
  28772. type: integer
  28773. - description: 用户类型 1-个人 2-企业
  28774. in: query
  28775. name: userinfotype
  28776. type: integer
  28777. - description: 交易模式
  28778. in: query
  28779. name: trademode
  28780. type: integer
  28781. - description: 商品id
  28782. in: query
  28783. name: goodsid
  28784. type: integer
  28785. - description: 名称(模糊搜索账户)
  28786. in: query
  28787. name: filtername
  28788. type: string
  28789. - description: 开始交易日(yyyymmdd)
  28790. in: query
  28791. name: begindate
  28792. type: string
  28793. - description: 结束交易日(yyyymmdd)
  28794. in: query
  28795. name: enddate
  28796. type: string
  28797. - description: 是否包含子级 1-包含
  28798. in: query
  28799. name: includesub
  28800. type: integer
  28801. produces:
  28802. - application/json
  28803. responses:
  28804. "200":
  28805. description: OK
  28806. schema:
  28807. items:
  28808. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28809. type: array
  28810. "500":
  28811. description: Internal Server Error
  28812. schema:
  28813. $ref: '#/definitions/app.Response'
  28814. security:
  28815. - ApiKeyAuth: []
  28816. summary: 查询成交明细
  28817. tags:
  28818. - 大连千海金(PCWeb)
  28819. /QhjMgr/QueryTradeOrderDetail:
  28820. get:
  28821. parameters:
  28822. - description: 用户ID
  28823. in: query
  28824. name: userid
  28825. required: true
  28826. type: integer
  28827. - description: 用户类型 1-个人 2-企业
  28828. in: query
  28829. name: userinfotype
  28830. type: integer
  28831. - description: 交易模式
  28832. in: query
  28833. name: trademode
  28834. type: integer
  28835. - description: 商品id
  28836. in: query
  28837. name: goodsid
  28838. type: integer
  28839. - description: 名称(模糊搜索账户)
  28840. in: query
  28841. name: filtername
  28842. type: string
  28843. - description: 开始交易日(yyyymmdd)
  28844. in: query
  28845. name: begindate
  28846. type: string
  28847. - description: 结束交易日(yyyymmdd)
  28848. in: query
  28849. name: enddate
  28850. type: string
  28851. - description: 是否包含子级 1-包含
  28852. in: query
  28853. name: includesub
  28854. type: integer
  28855. produces:
  28856. - application/json
  28857. responses:
  28858. "200":
  28859. description: OK
  28860. schema:
  28861. items:
  28862. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28863. type: array
  28864. "500":
  28865. description: Internal Server Error
  28866. schema:
  28867. $ref: '#/definitions/app.Response'
  28868. security:
  28869. - ApiKeyAuth: []
  28870. summary: 查询委托明细
  28871. tags:
  28872. - 大连千海金(PCWeb)
  28873. /QhjMgr/QueryTradePayOrder:
  28874. get:
  28875. parameters:
  28876. - description: 用户ID
  28877. in: query
  28878. name: userid
  28879. required: true
  28880. type: integer
  28881. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28882. in: query
  28883. name: payflag
  28884. type: string
  28885. - description: 用户类型 1-个人 2-企业
  28886. in: query
  28887. name: userinfotype
  28888. type: integer
  28889. - description: 交易模式
  28890. in: query
  28891. name: trademode
  28892. type: integer
  28893. - description: 商品id
  28894. in: query
  28895. name: goodsid
  28896. type: integer
  28897. - description: 名称(模糊搜索账户)
  28898. in: query
  28899. name: filtername
  28900. type: string
  28901. - description: 开始交易日(yyyymmdd)
  28902. in: query
  28903. name: begindate
  28904. type: string
  28905. - description: 结束交易日(yyyymmdd)
  28906. in: query
  28907. name: enddate
  28908. type: string
  28909. - description: 是否包含子级 1-包含
  28910. in: query
  28911. name: includesub
  28912. type: integer
  28913. produces:
  28914. - application/json
  28915. responses:
  28916. "200":
  28917. description: OK
  28918. schema:
  28919. items:
  28920. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28921. type: array
  28922. "500":
  28923. description: Internal Server Error
  28924. schema:
  28925. $ref: '#/definitions/app.Response'
  28926. security:
  28927. - ApiKeyAuth: []
  28928. summary: 查询待付款单
  28929. tags:
  28930. - 大连千海金(PCWeb)
  28931. /QhjMgr/QueryTradePosition:
  28932. get:
  28933. parameters:
  28934. - description: 用户ID
  28935. in: query
  28936. name: userid
  28937. required: true
  28938. type: integer
  28939. - description: 用户类型 1-个人 2-企业
  28940. in: query
  28941. name: userinfotype
  28942. type: integer
  28943. - description: 交易模式
  28944. in: query
  28945. name: trademode
  28946. type: integer
  28947. - description: 商品id
  28948. in: query
  28949. name: goodsid
  28950. type: integer
  28951. - description: 名称(模糊搜索账户)
  28952. in: query
  28953. name: filtername
  28954. type: string
  28955. - description: 是否包含子级 1-包含
  28956. in: query
  28957. name: includesub
  28958. type: integer
  28959. produces:
  28960. - application/json
  28961. responses:
  28962. "200":
  28963. description: OK
  28964. schema:
  28965. items:
  28966. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28967. type: array
  28968. "500":
  28969. description: Internal Server Error
  28970. schema:
  28971. $ref: '#/definitions/app.Response'
  28972. security:
  28973. - ApiKeyAuth: []
  28974. summary: 查询持仓汇总
  28975. tags:
  28976. - 大连千海金(PCWeb)
  28977. /QhjSys/QueryAgreementChangeLog:
  28978. get:
  28979. parameters:
  28980. - description: 协议ID
  28981. in: query
  28982. name: agreementid
  28983. type: integer
  28984. - description: 协议版本号
  28985. in: query
  28986. name: agreementversion
  28987. type: integer
  28988. - description: 协议类型 - 1:注册 2:登录 3:交易
  28989. in: query
  28990. name: agreementtype
  28991. type: integer
  28992. - description: 协议编号(模糊匹配)
  28993. in: query
  28994. name: agreementno
  28995. type: string
  28996. - description: 协议名称(模糊匹配)
  28997. in: query
  28998. name: agreementname
  28999. type: string
  29000. produces:
  29001. - application/json
  29002. responses:
  29003. "200":
  29004. description: OK
  29005. schema:
  29006. items:
  29007. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29008. type: array
  29009. "500":
  29010. description: Internal Server Error
  29011. schema:
  29012. $ref: '#/definitions/app.Response'
  29013. security:
  29014. - ApiKeyAuth: []
  29015. summary: 查询协议配置变更流水
  29016. tags:
  29017. - 大连千海金(协议和签约信息)
  29018. /QhjSys/QueryAgreementConfig:
  29019. get:
  29020. parameters:
  29021. - description: 协议ID
  29022. in: query
  29023. name: agreementid
  29024. type: integer
  29025. - description: 协议版本号
  29026. in: query
  29027. name: agreementversion
  29028. type: integer
  29029. - description: 协议类型 - 1:注册 2:登录 3:交易
  29030. in: query
  29031. name: agreementtype
  29032. type: integer
  29033. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29034. in: query
  29035. name: isvalid
  29036. type: integer
  29037. - description: 协议编号(模糊匹配)
  29038. in: query
  29039. name: agreementno
  29040. type: string
  29041. - description: 协议名称(模糊匹配)
  29042. in: query
  29043. name: agreementname
  29044. type: string
  29045. produces:
  29046. - application/json
  29047. responses:
  29048. "200":
  29049. description: OK
  29050. schema:
  29051. items:
  29052. $ref: '#/definitions/models.QhjAgreementConfig'
  29053. type: array
  29054. "500":
  29055. description: Internal Server Error
  29056. schema:
  29057. $ref: '#/definitions/app.Response'
  29058. security:
  29059. - ApiKeyAuth: []
  29060. summary: 查询协议配置
  29061. tags:
  29062. - 大连千海金(协议和签约信息)
  29063. /QhjSys/QueryCustomerSignStatus:
  29064. get:
  29065. parameters:
  29066. - description: 客户ID
  29067. in: query
  29068. name: userid
  29069. type: integer
  29070. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29071. in: query
  29072. name: nodetype
  29073. type: integer
  29074. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29075. in: query
  29076. name: goodsid
  29077. type: integer
  29078. - description: 创建交易日(yyyyMMdd)
  29079. in: query
  29080. name: tradedate
  29081. type: string
  29082. - description: 用户名称(模糊匹配)
  29083. in: query
  29084. name: username
  29085. type: string
  29086. produces:
  29087. - application/json
  29088. responses:
  29089. "200":
  29090. description: OK
  29091. schema:
  29092. items:
  29093. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29094. type: array
  29095. "500":
  29096. description: Internal Server Error
  29097. schema:
  29098. $ref: '#/definitions/app.Response'
  29099. security:
  29100. - ApiKeyAuth: []
  29101. summary: 查询客户协议签约状态
  29102. tags:
  29103. - 大连千海金(协议和签约信息)
  29104. /QhjSys/QueryNodeAgreementConfig:
  29105. get:
  29106. parameters:
  29107. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29108. in: query
  29109. name: configid
  29110. type: integer
  29111. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29112. in: query
  29113. name: nodetype
  29114. type: integer
  29115. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29116. in: query
  29117. name: goodsid
  29118. type: integer
  29119. - description: 协议ID
  29120. in: query
  29121. name: agreementid
  29122. type: integer
  29123. - description: 协议类型 - 1:注册 2:登录 3:交易
  29124. in: query
  29125. name: agreementtype
  29126. type: integer
  29127. - description: 协议版本号
  29128. in: query
  29129. name: agreementversion
  29130. type: integer
  29131. - description: 协议编号(模糊匹配)
  29132. in: query
  29133. name: agreementno
  29134. type: string
  29135. - description: 协议名称(模糊匹配)
  29136. in: query
  29137. name: agreementname
  29138. type: string
  29139. produces:
  29140. - application/json
  29141. responses:
  29142. "200":
  29143. description: OK
  29144. schema:
  29145. items:
  29146. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29147. type: array
  29148. "500":
  29149. description: Internal Server Error
  29150. schema:
  29151. $ref: '#/definitions/app.Response'
  29152. security:
  29153. - ApiKeyAuth: []
  29154. summary: 查询协议节点配置
  29155. tags:
  29156. - 大连千海金(协议和签约信息)
  29157. /QhjSys/QueryQhjCustomerSignLog:
  29158. get:
  29159. parameters:
  29160. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29161. in: query
  29162. name: logid
  29163. type: integer
  29164. - description: 客户ID
  29165. in: query
  29166. name: userid
  29167. type: integer
  29168. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29169. in: query
  29170. name: nodetype
  29171. type: integer
  29172. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29173. in: query
  29174. name: goodsid
  29175. type: integer
  29176. - description: 协议ID
  29177. in: query
  29178. name: agreementid
  29179. type: integer
  29180. - description: 用户名称(模糊匹配)
  29181. in: query
  29182. name: username
  29183. type: string
  29184. - description: 协议编号(模糊匹配)
  29185. in: query
  29186. name: agreementno
  29187. type: string
  29188. - description: 协议名称(模糊匹配)
  29189. in: query
  29190. name: agreementname
  29191. type: string
  29192. produces:
  29193. - application/json
  29194. responses:
  29195. "200":
  29196. description: OK
  29197. schema:
  29198. items:
  29199. $ref: '#/definitions/models.QhjCustomerSignLog'
  29200. type: array
  29201. "500":
  29202. description: Internal Server Error
  29203. schema:
  29204. $ref: '#/definitions/app.Response'
  29205. security:
  29206. - ApiKeyAuth: []
  29207. summary: 查询客户协议签约流水
  29208. tags:
  29209. - 大连千海金(协议和签约信息)
  29210. /QhjSys/QueryUserNodeCfgAndStatus:
  29211. get:
  29212. parameters:
  29213. - description: 客户ID
  29214. in: query
  29215. name: userid
  29216. type: integer
  29217. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29218. in: query
  29219. name: configid
  29220. type: integer
  29221. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29222. in: query
  29223. name: nodetype
  29224. type: string
  29225. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29226. in: query
  29227. name: goodsid
  29228. type: integer
  29229. - description: 协议ID
  29230. in: query
  29231. name: agreementid
  29232. type: integer
  29233. - description: 协议类型 - 1:注册 2:登录 3:交易
  29234. in: query
  29235. name: agreementtype
  29236. type: integer
  29237. - description: 协议版本号
  29238. in: query
  29239. name: agreementversion
  29240. type: integer
  29241. - description: 协议编号(模糊匹配)
  29242. in: query
  29243. name: agreementno
  29244. type: string
  29245. - description: 协议名称(模糊匹配)
  29246. in: query
  29247. name: agreementname
  29248. type: string
  29249. produces:
  29250. - application/json
  29251. responses:
  29252. "200":
  29253. description: OK
  29254. schema:
  29255. items:
  29256. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29257. type: array
  29258. "500":
  29259. description: Internal Server Error
  29260. schema:
  29261. $ref: '#/definitions/app.Response'
  29262. security:
  29263. - ApiKeyAuth: []
  29264. summary: 查询用户协议节点配置和状态
  29265. tags:
  29266. - 大连千海金(协议和签约信息)
  29267. /Quote/QueryHistoryDatas:
  29268. get:
  29269. parameters:
  29270. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29271. 日线 12:周线 13:月线 14:年线'
  29272. in: query
  29273. name: cycleType
  29274. required: true
  29275. type: integer
  29276. - description: 商品代码
  29277. in: query
  29278. name: goodsCode
  29279. required: true
  29280. type: string
  29281. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29282. in: query
  29283. name: startTime
  29284. type: string
  29285. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29286. in: query
  29287. name: endTime
  29288. type: string
  29289. - description: 条数
  29290. in: query
  29291. name: count
  29292. type: integer
  29293. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29294. in: query
  29295. name: isAsc
  29296. type: boolean
  29297. produces:
  29298. - application/json
  29299. responses:
  29300. "200":
  29301. description: OK
  29302. schema:
  29303. $ref: '#/definitions/quote.HistoryData'
  29304. "500":
  29305. description: Internal Server Error
  29306. schema:
  29307. $ref: '#/definitions/app.Response'
  29308. security:
  29309. - ApiKeyAuth: []
  29310. summary: 查询行情历史数据
  29311. tags:
  29312. - 行情服务
  29313. /Quote/QueryHistoryTikDatas:
  29314. get:
  29315. parameters:
  29316. - description: 商品代码
  29317. in: query
  29318. name: goodsCode
  29319. required: true
  29320. type: string
  29321. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29322. in: query
  29323. name: startTime
  29324. type: string
  29325. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29326. in: query
  29327. name: endTime
  29328. type: string
  29329. - description: 条数
  29330. in: query
  29331. name: count
  29332. type: integer
  29333. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29334. in: query
  29335. name: isAsc
  29336. type: boolean
  29337. produces:
  29338. - application/json
  29339. responses:
  29340. "200":
  29341. description: OK
  29342. schema:
  29343. $ref: '#/definitions/quote.HistoryTikData'
  29344. "500":
  29345. description: Internal Server Error
  29346. schema:
  29347. $ref: '#/definitions/app.Response'
  29348. security:
  29349. - ApiKeyAuth: []
  29350. summary: 查询行情Tik数据
  29351. tags:
  29352. - 行情服务
  29353. /Quote/QueryQuoteDay:
  29354. get:
  29355. parameters:
  29356. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29357. in: query
  29358. name: goodsCodes
  29359. type: string
  29360. produces:
  29361. - application/json
  29362. responses:
  29363. "200":
  29364. description: OK
  29365. schema:
  29366. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 获取商品盘面信息
  29374. tags:
  29375. - 行情服务
  29376. /Quote/QueryTSData:
  29377. get:
  29378. parameters:
  29379. - description: 商品代码
  29380. in: query
  29381. name: goodsCode
  29382. required: true
  29383. type: string
  29384. produces:
  29385. - application/json
  29386. responses:
  29387. "200":
  29388. description: OK
  29389. schema:
  29390. $ref: '#/definitions/quote.QueryTSDataRsp'
  29391. "500":
  29392. description: Internal Server Error
  29393. schema:
  29394. $ref: '#/definitions/app.Response'
  29395. security:
  29396. - ApiKeyAuth: []
  29397. summary: 分时图数据查询
  29398. tags:
  29399. - 行情服务
  29400. /SZDZ/QueryConvertConfig:
  29401. get:
  29402. parameters:
  29403. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29404. 6:交易转花生米(不设置)
  29405. in: query
  29406. name: convertType
  29407. type: integer
  29408. - description: 外部商品代码[JD\PD]
  29409. in: query
  29410. name: outerGoodsCode
  29411. type: string
  29412. - description: 内部商品ID列表[交易],格式:1,2,3
  29413. in: query
  29414. name: innerGoodsIDs
  29415. type: string
  29416. produces:
  29417. - application/json
  29418. responses:
  29419. "200":
  29420. description: OK
  29421. schema:
  29422. $ref: '#/definitions/models.Szdz3convertconfig'
  29423. "500":
  29424. description: Internal Server Error
  29425. schema:
  29426. $ref: '#/definitions/app.Response'
  29427. security:
  29428. - ApiKeyAuth: []
  29429. summary: 查询交易系统转换设置
  29430. tags:
  29431. - 定制【尚志大宗】
  29432. /SZDZ/QueryConvertLog:
  29433. get:
  29434. parameters:
  29435. - description: 资金账户 - 格式:1,2,3
  29436. in: query
  29437. name: accountID
  29438. required: true
  29439. type: string
  29440. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29441. in: query
  29442. name: startDate
  29443. type: string
  29444. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29445. in: query
  29446. name: endDate
  29447. type: string
  29448. produces:
  29449. - application/json
  29450. responses:
  29451. "200":
  29452. description: OK
  29453. schema:
  29454. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29455. "500":
  29456. description: Internal Server Error
  29457. schema:
  29458. $ref: '#/definitions/app.Response'
  29459. security:
  29460. - ApiKeyAuth: []
  29461. summary: 交易系统转换流水查询
  29462. tags:
  29463. - 定制【尚志大宗】
  29464. /SZDZ/QueryGoodsPickup:
  29465. get:
  29466. parameters:
  29467. - description: 资金账户 - 格式:1,2,3
  29468. in: query
  29469. name: accountID
  29470. required: true
  29471. type: string
  29472. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29473. in: query
  29474. name: takeOrderStatus
  29475. type: integer
  29476. produces:
  29477. - application/json
  29478. responses:
  29479. "200":
  29480. description: OK
  29481. schema:
  29482. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29483. "500":
  29484. description: Internal Server Error
  29485. schema:
  29486. $ref: '#/definitions/app.Response'
  29487. security:
  29488. - ApiKeyAuth: []
  29489. summary: 商品提货单查询
  29490. tags:
  29491. - 定制【尚志大宗】
  29492. /SZDZ/QueryRecieptOrder:
  29493. get:
  29494. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29495. parameters:
  29496. - description: 页码
  29497. in: query
  29498. name: page
  29499. type: integer
  29500. - description: 每页条数
  29501. in: query
  29502. name: pagesize
  29503. type: integer
  29504. - description: 商品ID
  29505. in: query
  29506. name: goodsID
  29507. required: true
  29508. type: integer
  29509. - description: 所属账户名称
  29510. in: query
  29511. name: accountName
  29512. type: string
  29513. - description: 市场ID
  29514. in: query
  29515. name: marketID
  29516. type: integer
  29517. - description: 方向 - 0:买 1:卖
  29518. in: query
  29519. name: buyorsell
  29520. required: true
  29521. type: integer
  29522. produces:
  29523. - application/json
  29524. responses:
  29525. "200":
  29526. description: OK
  29527. schema:
  29528. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29529. "500":
  29530. description: Internal Server Error
  29531. schema:
  29532. $ref: '#/definitions/app.Response'
  29533. security:
  29534. - ApiKeyAuth: []
  29535. summary: 点选挂牌委托单据查询(摘牌大厅)
  29536. tags:
  29537. - 定制【尚志大宗】
  29538. /SZDZ/QuerySZDZTradePosition:
  29539. get:
  29540. parameters:
  29541. - description: 资金账户
  29542. in: query
  29543. name: accountID
  29544. required: true
  29545. type: integer
  29546. produces:
  29547. - application/json
  29548. responses:
  29549. "200":
  29550. description: OK
  29551. schema:
  29552. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29553. "500":
  29554. description: Internal Server Error
  29555. schema:
  29556. $ref: '#/definitions/app.Response'
  29557. security:
  29558. - ApiKeyAuth: []
  29559. summary: 持仓汇总查询(尚志大宗)
  29560. tags:
  29561. - 定制【尚志大宗】
  29562. /SZDZ/SearchWhite:
  29563. get:
  29564. parameters:
  29565. - description: 用户ID
  29566. in: query
  29567. name: userID
  29568. required: true
  29569. type: integer
  29570. produces:
  29571. - application/json
  29572. responses:
  29573. "200":
  29574. description: OK
  29575. schema:
  29576. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29577. "500":
  29578. description: Internal Server Error
  29579. schema:
  29580. $ref: '#/definitions/app.Response'
  29581. security:
  29582. - ApiKeyAuth: []
  29583. summary: 搜索白名单
  29584. tags:
  29585. - 定制【尚志大宗】
  29586. /Search/SearchGoodses:
  29587. get:
  29588. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29589. parameters:
  29590. - description: 检索内容
  29591. in: query
  29592. name: content
  29593. required: true
  29594. type: string
  29595. - description: 交易模式,格式:1,2,3
  29596. in: query
  29597. name: tradeModes
  29598. type: string
  29599. produces:
  29600. - application/json
  29601. responses:
  29602. "200":
  29603. description: OK
  29604. schema:
  29605. $ref: '#/definitions/models.SearchGoods'
  29606. "500":
  29607. description: Internal Server Error
  29608. schema:
  29609. $ref: '#/definitions/app.Response'
  29610. summary: 检索商品信息
  29611. tags:
  29612. - 检索服务
  29613. /TaAccount/GetTaAccounts:
  29614. get:
  29615. parameters:
  29616. - description: 登录账户
  29617. in: query
  29618. name: loginID
  29619. required: true
  29620. type: integer
  29621. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29622. in: query
  29623. name: taAccountType
  29624. type: integer
  29625. produces:
  29626. - application/json
  29627. responses:
  29628. "200":
  29629. description: OK
  29630. schema:
  29631. $ref: '#/definitions/models.Taaccount'
  29632. "500":
  29633. description: Internal Server Error
  29634. schema:
  29635. $ref: '#/definitions/app.Response'
  29636. security:
  29637. - ApiKeyAuth: []
  29638. summary: 获取资金账户信息
  29639. tags:
  29640. - 资金账户
  29641. /TaAccount/QueryAmountLog:
  29642. get:
  29643. parameters:
  29644. - description: 页码
  29645. in: query
  29646. name: page
  29647. type: integer
  29648. - description: 每页条数
  29649. in: query
  29650. name: pagesize
  29651. type: integer
  29652. - description: 资金账户 - 格式:1,2,3
  29653. in: query
  29654. name: accountID
  29655. required: true
  29656. type: string
  29657. - description: 资金操作类型 - 格式:1,2,3
  29658. in: query
  29659. name: OperateType
  29660. type: string
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29668. "500":
  29669. description: Internal Server Error
  29670. schema:
  29671. $ref: '#/definitions/app.Response'
  29672. security:
  29673. - ApiKeyAuth: []
  29674. summary: 资金流水查询(当前)
  29675. tags:
  29676. - 资金账户
  29677. /TaAccount/QueryHisAmountLog:
  29678. get:
  29679. parameters:
  29680. - description: 页码
  29681. in: query
  29682. name: page
  29683. type: integer
  29684. - description: 每页条数
  29685. in: query
  29686. name: pagesize
  29687. type: integer
  29688. - description: 资金账户 - 格式:1,2,3
  29689. in: query
  29690. name: accountID
  29691. required: true
  29692. type: string
  29693. - description: 资金操作类型 - 格式:1,2,3
  29694. in: query
  29695. name: OperateType
  29696. type: string
  29697. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29698. in: query
  29699. name: startDate
  29700. type: string
  29701. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29702. in: query
  29703. name: endDate
  29704. type: string
  29705. produces:
  29706. - application/json
  29707. responses:
  29708. "200":
  29709. description: OK
  29710. schema:
  29711. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29712. "500":
  29713. description: Internal Server Error
  29714. schema:
  29715. $ref: '#/definitions/app.Response'
  29716. security:
  29717. - ApiKeyAuth: []
  29718. summary: 资金流水查询(历史)
  29719. tags:
  29720. - 资金账户
  29721. /TaAccount/QueryRelatedTaAccount:
  29722. get:
  29723. parameters:
  29724. - description: 关联UserID
  29725. in: query
  29726. name: relateduserid
  29727. required: true
  29728. type: integer
  29729. produces:
  29730. - application/json
  29731. responses:
  29732. "200":
  29733. description: OK
  29734. schema:
  29735. items:
  29736. $ref: '#/definitions/models.RelatedTaAccount'
  29737. type: array
  29738. "500":
  29739. description: Internal Server Error
  29740. schema:
  29741. $ref: '#/definitions/app.Response'
  29742. security:
  29743. - ApiKeyAuth: []
  29744. summary: 查询关联资金账户信息
  29745. tags:
  29746. - 资金账户
  29747. /Tjmd/QueryQuoteGoodsList:
  29748. get:
  29749. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29750. parameters:
  29751. - description: 用户类型
  29752. in: query
  29753. name: usertype
  29754. required: true
  29755. type: integer
  29756. - description: 市场id, 格式 1,2,3
  29757. in: query
  29758. name: marketids
  29759. type: string
  29760. - description: 商品组id
  29761. in: query
  29762. name: goodsgroupid
  29763. type: integer
  29764. - description: 商品id
  29765. in: query
  29766. name: goodsid
  29767. type: integer
  29768. produces:
  29769. - application/json
  29770. responses:
  29771. "200":
  29772. description: OK
  29773. schema:
  29774. items:
  29775. $ref: '#/definitions/models.TjmdQuoteGoods'
  29776. type: array
  29777. "500":
  29778. description: Internal Server Error
  29779. schema:
  29780. $ref: '#/definitions/app.Response'
  29781. security:
  29782. - ApiKeyAuth: []
  29783. summary: 查询掉期报价列表
  29784. tags:
  29785. - 天津麦顿
  29786. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29787. get:
  29788. parameters:
  29789. - description: 成交单号
  29790. in: query
  29791. name: tradeid
  29792. required: true
  29793. type: string
  29794. produces:
  29795. - application/json
  29796. responses:
  29797. "200":
  29798. description: OK
  29799. schema:
  29800. items:
  29801. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29802. type: array
  29803. "500":
  29804. description: Internal Server Error
  29805. schema:
  29806. $ref: '#/definitions/app.Response'
  29807. security:
  29808. - ApiKeyAuth: []
  29809. summary: 掉期商品订单详情(交易确认书)
  29810. tags:
  29811. - 天津麦顿
  29812. /Tjmd/QueryTjmdMarketSection:
  29813. get:
  29814. produces:
  29815. - application/json
  29816. responses:
  29817. "200":
  29818. description: OK
  29819. schema:
  29820. items:
  29821. $ref: '#/definitions/models.TjmdMarketSection'
  29822. type: array
  29823. "500":
  29824. description: Internal Server Error
  29825. schema:
  29826. $ref: '#/definitions/app.Response'
  29827. security:
  29828. - ApiKeyAuth: []
  29829. summary: 查询市场板块
  29830. tags:
  29831. - 天津麦顿
  29832. /Tjmd/QueryTjmdTodayAccountMargin:
  29833. get:
  29834. parameters:
  29835. - description: 市场id
  29836. in: query
  29837. name: marketid
  29838. type: string
  29839. - description: 商品id
  29840. in: query
  29841. name: goodsid
  29842. type: string
  29843. - description: 资金账号
  29844. in: query
  29845. name: accountid
  29846. type: string
  29847. produces:
  29848. - application/json
  29849. responses:
  29850. "200":
  29851. description: OK
  29852. schema:
  29853. items:
  29854. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29855. type: array
  29856. "500":
  29857. description: Internal Server Error
  29858. schema:
  29859. $ref: '#/definitions/app.Response'
  29860. security:
  29861. - ApiKeyAuth: []
  29862. summary: 查询今日账户保证金配置
  29863. tags:
  29864. - 天津麦顿
  29865. /Tjmd/QueryTjmdTradeOrderDetail:
  29866. get:
  29867. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29868. parameters:
  29869. - description: 页码
  29870. in: query
  29871. name: page
  29872. type: integer
  29873. - description: 每页条数
  29874. in: query
  29875. name: pagesize
  29876. type: integer
  29877. - description: 用户id
  29878. in: query
  29879. name: userid
  29880. required: true
  29881. type: integer
  29882. - description: 用户类型
  29883. in: query
  29884. name: usertype
  29885. required: true
  29886. type: integer
  29887. - description: 市场id, 格式 1,2,3
  29888. in: query
  29889. name: marketids
  29890. type: string
  29891. - description: 商品id
  29892. in: query
  29893. name: goodsid
  29894. required: true
  29895. type: integer
  29896. - description: 买卖方向 0-买 1-卖
  29897. in: query
  29898. name: buyorsell
  29899. required: true
  29900. type: integer
  29901. produces:
  29902. - application/json
  29903. responses:
  29904. "200":
  29905. description: OK
  29906. schema:
  29907. items:
  29908. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29909. type: array
  29910. "500":
  29911. description: Internal Server Error
  29912. schema:
  29913. $ref: '#/definitions/app.Response'
  29914. security:
  29915. - ApiKeyAuth: []
  29916. summary: 查询掉期买卖大厅
  29917. tags:
  29918. - 天津麦顿
  29919. /Tjmd/QueryTjmdTransferApply:
  29920. get:
  29921. parameters:
  29922. - description: 类型 1-我的申请 2-对方申请
  29923. in: query
  29924. name: applytype
  29925. required: true
  29926. type: integer
  29927. - description: 市场id, 格式 1,2,3
  29928. in: query
  29929. name: marketids
  29930. type: string
  29931. - description: 资金账号, 格式 25000000001,25000000003
  29932. in: query
  29933. name: accountids
  29934. type: string
  29935. - description: 开始交易日(yyyymmdd)
  29936. in: query
  29937. name: begindate
  29938. type: string
  29939. - description: 结束交易日(yyyymmdd)
  29940. in: query
  29941. name: enddate
  29942. type: string
  29943. produces:
  29944. - application/json
  29945. responses:
  29946. "200":
  29947. description: OK
  29948. schema:
  29949. items:
  29950. $ref: '#/definitions/models.TjmdTransferApply'
  29951. type: array
  29952. "500":
  29953. description: Internal Server Error
  29954. schema:
  29955. $ref: '#/definitions/app.Response'
  29956. security:
  29957. - ApiKeyAuth: []
  29958. summary: 查询掉期协议单
  29959. tags:
  29960. - 天津麦顿
  29961. /Trade/QueryRecieptOrder:
  29962. get:
  29963. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29964. parameters:
  29965. - description: 页码
  29966. in: query
  29967. name: page
  29968. type: integer
  29969. - description: 每页条数
  29970. in: query
  29971. name: pagesize
  29972. type: integer
  29973. - description: 商品ID
  29974. in: query
  29975. name: goodsID
  29976. required: true
  29977. type: integer
  29978. - description: 所属账户名称
  29979. in: query
  29980. name: accountName
  29981. type: string
  29982. - description: 市场ID
  29983. in: query
  29984. name: marketID
  29985. type: integer
  29986. - description: 方向 - 0:买 1:卖
  29987. in: query
  29988. name: buyorsell
  29989. required: true
  29990. type: integer
  29991. produces:
  29992. - application/json
  29993. responses:
  29994. "200":
  29995. description: OK
  29996. schema:
  29997. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29998. "500":
  29999. description: Internal Server Error
  30000. schema:
  30001. $ref: '#/definitions/app.Response'
  30002. security:
  30003. - ApiKeyAuth: []
  30004. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30005. tags:
  30006. - 通用交易
  30007. /User/AddMessageBoard:
  30008. post:
  30009. parameters:
  30010. - description: 用户ID
  30011. in: query
  30012. name: userID
  30013. required: true
  30014. type: integer
  30015. - description: 留言信息
  30016. in: query
  30017. name: message
  30018. required: true
  30019. type: string
  30020. - description: 联系电话
  30021. in: query
  30022. name: contactNum
  30023. required: true
  30024. type: string
  30025. produces:
  30026. - application/json
  30027. responses:
  30028. "200":
  30029. description: OK
  30030. schema:
  30031. $ref: '#/definitions/app.Response'
  30032. "500":
  30033. description: Internal Server Error
  30034. schema:
  30035. $ref: '#/definitions/app.Response'
  30036. security:
  30037. - ApiKeyAuth: []
  30038. summary: 添加用户留言板信息
  30039. tags:
  30040. - 用户信息
  30041. /User/AddUserFavoriteGoods:
  30042. post:
  30043. parameters:
  30044. - description: 用户ID
  30045. in: query
  30046. name: userID
  30047. required: true
  30048. type: integer
  30049. - description: 商品ID
  30050. in: query
  30051. name: goodsID
  30052. required: true
  30053. type: integer
  30054. produces:
  30055. - application/json
  30056. responses:
  30057. "200":
  30058. description: OK
  30059. schema:
  30060. $ref: '#/definitions/app.Response'
  30061. "500":
  30062. description: Internal Server Error
  30063. schema:
  30064. $ref: '#/definitions/app.Response'
  30065. security:
  30066. - ApiKeyAuth: []
  30067. summary: 添加用户商品收藏信息
  30068. tags:
  30069. - 用户信息
  30070. /User/GetLoginID:
  30071. get:
  30072. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30073. parameters:
  30074. - description: 登录代码
  30075. in: query
  30076. name: username
  30077. required: true
  30078. type: string
  30079. produces:
  30080. - application/json
  30081. responses:
  30082. "200":
  30083. description: OK
  30084. schema:
  30085. $ref: '#/definitions/app.Response'
  30086. "500":
  30087. description: Internal Server Error
  30088. schema:
  30089. $ref: '#/definitions/app.Response'
  30090. summary: 获取登录ID
  30091. tags:
  30092. - 用户信息
  30093. /User/GetUserAccount:
  30094. get:
  30095. parameters:
  30096. - description: 用户ID
  30097. in: query
  30098. name: userID
  30099. required: true
  30100. type: integer
  30101. produces:
  30102. - application/json
  30103. responses:
  30104. "200":
  30105. description: OK
  30106. schema:
  30107. $ref: '#/definitions/models.Useraccount'
  30108. "500":
  30109. description: Internal Server Error
  30110. schema:
  30111. $ref: '#/definitions/app.Response'
  30112. security:
  30113. - ApiKeyAuth: []
  30114. summary: 获取用户账号信息
  30115. tags:
  30116. - 用户信息
  30117. /User/GetUserAuthStatus:
  30118. get:
  30119. parameters:
  30120. - description: 用户ID
  30121. in: query
  30122. name: userID
  30123. required: true
  30124. type: integer
  30125. produces:
  30126. - application/json
  30127. responses:
  30128. "200":
  30129. description: OK
  30130. schema:
  30131. $ref: '#/definitions/app.Response'
  30132. "500":
  30133. description: Internal Server Error
  30134. schema:
  30135. $ref: '#/definitions/app.Response'
  30136. security:
  30137. - ApiKeyAuth: []
  30138. summary: 获取用户实名认证状态
  30139. tags:
  30140. - 用户信息
  30141. /User/LoginQuery:
  30142. get:
  30143. parameters:
  30144. - description: 登录账号
  30145. in: query
  30146. name: loginID
  30147. required: true
  30148. type: integer
  30149. produces:
  30150. - application/json
  30151. responses:
  30152. "200":
  30153. description: OK
  30154. schema:
  30155. $ref: '#/definitions/user.LoginQueryRsp'
  30156. "500":
  30157. description: Internal Server Error
  30158. schema:
  30159. $ref: '#/definitions/app.Response'
  30160. security:
  30161. - ApiKeyAuth: []
  30162. summary: 账户登录后信息查询
  30163. tags:
  30164. - 用户信息
  30165. /User/QueryMessageBoard:
  30166. get:
  30167. parameters:
  30168. - description: 用户ID
  30169. in: query
  30170. name: userID
  30171. required: true
  30172. type: integer
  30173. produces:
  30174. - application/json
  30175. responses:
  30176. "200":
  30177. description: OK
  30178. schema:
  30179. $ref: '#/definitions/models.Messageboard'
  30180. "500":
  30181. description: Internal Server Error
  30182. schema:
  30183. $ref: '#/definitions/app.Response'
  30184. security:
  30185. - ApiKeyAuth: []
  30186. summary: 获取用户留言板信息
  30187. tags:
  30188. - 用户信息
  30189. /User/QueryUserFavoriteGoodses:
  30190. get:
  30191. parameters:
  30192. - description: 用户ID
  30193. in: query
  30194. name: userID
  30195. required: true
  30196. type: integer
  30197. produces:
  30198. - application/json
  30199. responses:
  30200. "200":
  30201. description: OK
  30202. schema:
  30203. $ref: '#/definitions/models.Userfavoritegoods'
  30204. "500":
  30205. description: Internal Server Error
  30206. schema:
  30207. $ref: '#/definitions/app.Response'
  30208. security:
  30209. - ApiKeyAuth: []
  30210. summary: 获取用户商品收藏信息
  30211. tags:
  30212. - 用户信息
  30213. /User/QueryUserInfo:
  30214. get:
  30215. parameters:
  30216. - description: 用户ID
  30217. in: query
  30218. name: userID
  30219. required: true
  30220. type: integer
  30221. - description: 是否解密
  30222. in: query
  30223. name: isDecrypt
  30224. type: boolean
  30225. produces:
  30226. - application/json
  30227. responses:
  30228. "200":
  30229. description: OK
  30230. schema:
  30231. $ref: '#/definitions/models.Userinfo'
  30232. "500":
  30233. description: Internal Server Error
  30234. schema:
  30235. $ref: '#/definitions/app.Response'
  30236. security:
  30237. - ApiKeyAuth: []
  30238. summary: 获取用户信息
  30239. tags:
  30240. - 用户信息
  30241. /User/QueryUserReferNum:
  30242. get:
  30243. parameters:
  30244. - description: 用户ID
  30245. in: query
  30246. name: userID
  30247. required: true
  30248. type: integer
  30249. produces:
  30250. - application/json
  30251. responses:
  30252. "200":
  30253. description: OK
  30254. schema:
  30255. $ref: '#/definitions/app.Response'
  30256. "500":
  30257. description: Internal Server Error
  30258. schema:
  30259. $ref: '#/definitions/app.Response'
  30260. summary: 获取用户邀请码
  30261. tags:
  30262. - 用户信息
  30263. /User/RemoveUserFavoriteGoods:
  30264. post:
  30265. parameters:
  30266. - description: 用户ID
  30267. in: query
  30268. name: userID
  30269. required: true
  30270. type: integer
  30271. - description: 商品ID
  30272. in: query
  30273. name: goodsID
  30274. required: true
  30275. type: integer
  30276. produces:
  30277. - application/json
  30278. responses:
  30279. "200":
  30280. description: OK
  30281. schema:
  30282. $ref: '#/definitions/app.Response'
  30283. "500":
  30284. description: Internal Server Error
  30285. schema:
  30286. $ref: '#/definitions/app.Response'
  30287. security:
  30288. - ApiKeyAuth: []
  30289. summary: 移除用户商品收藏信息
  30290. tags:
  30291. - 用户信息
  30292. /User/UpdateUserAccountStatus:
  30293. post:
  30294. parameters:
  30295. - description: 用户ID
  30296. in: query
  30297. name: userID
  30298. required: true
  30299. type: integer
  30300. - description: 账户状态 - 4:正常 6:注销(停用)
  30301. in: query
  30302. name: accountStatus
  30303. required: true
  30304. type: integer
  30305. produces:
  30306. - application/json
  30307. responses:
  30308. "200":
  30309. description: OK
  30310. schema:
  30311. $ref: '#/definitions/app.Response'
  30312. "500":
  30313. description: Internal Server Error
  30314. schema:
  30315. $ref: '#/definitions/app.Response'
  30316. security:
  30317. - ApiKeyAuth: []
  30318. summary: 更新用户状态
  30319. tags:
  30320. - 用户信息
  30321. /WRTrade/GetAllDeliveryGoods:
  30322. get:
  30323. produces:
  30324. - application/json
  30325. responses:
  30326. "200":
  30327. description: OK
  30328. schema:
  30329. $ref: '#/definitions/app.Response'
  30330. "500":
  30331. description: Internal Server Error
  30332. schema:
  30333. $ref: '#/definitions/app.Response'
  30334. security:
  30335. - ApiKeyAuth: []
  30336. summary: 获取带仓单分类的种类信息
  30337. tags:
  30338. - 仓单贸易
  30339. - 仓单贸易
  30340. /WrTrade2/InsertXhcpSellBackApply:
  30341. post:
  30342. parameters:
  30343. - description: 回收申请
  30344. in: body
  30345. name: jsonBody
  30346. required: true
  30347. schema:
  30348. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30349. produces:
  30350. - application/json
  30351. responses:
  30352. "200":
  30353. description: OK
  30354. schema:
  30355. $ref: '#/definitions/app.Response'
  30356. "500":
  30357. description: Internal Server Error
  30358. schema:
  30359. $ref: '#/definitions/app.Response'
  30360. security:
  30361. - ApiKeyAuth: []
  30362. summary: 新增回收申请(新会陈皮)
  30363. tags:
  30364. - 仓单贸易v2
  30365. /WrTrade2/QueryDeliveryGoodsSection:
  30366. get:
  30367. produces:
  30368. - application/json
  30369. responses:
  30370. "200":
  30371. description: OK
  30372. schema:
  30373. items:
  30374. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30375. type: array
  30376. "500":
  30377. description: Internal Server Error
  30378. schema:
  30379. $ref: '#/definitions/app.Response'
  30380. security:
  30381. - ApiKeyAuth: []
  30382. summary: 查询板块(分类)
  30383. tags:
  30384. - 仓单贸易v2
  30385. /WrTrade2/QueryFaProductDetail:
  30386. get:
  30387. description: 页面 买卖大厅 -> 选择融资方案
  30388. parameters:
  30389. - description: 仓单要素id
  30390. in: query
  30391. name: wrfactortypeid
  30392. required: true
  30393. type: integer
  30394. produces:
  30395. - application/json
  30396. responses:
  30397. "200":
  30398. description: OK
  30399. schema:
  30400. items:
  30401. $ref: '#/definitions/models.WrFAProductDetail'
  30402. type: array
  30403. "500":
  30404. description: Internal Server Error
  30405. schema:
  30406. $ref: '#/definitions/app.Response'
  30407. security:
  30408. - ApiKeyAuth: []
  30409. summary: 查询融资产品列表
  30410. tags:
  30411. - 仓单贸易v2
  30412. /WrTrade2/QueryFilterItem:
  30413. get:
  30414. parameters:
  30415. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30416. in: query
  30417. name: itype
  30418. required: true
  30419. type: string
  30420. produces:
  30421. - application/json
  30422. responses:
  30423. "200":
  30424. description: OK
  30425. schema:
  30426. items:
  30427. $ref: '#/definitions/models.WrFilterItem'
  30428. type: array
  30429. "500":
  30430. description: Internal Server Error
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. security:
  30434. - ApiKeyAuth: []
  30435. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30436. tags:
  30437. - 仓单贸易v2
  30438. /WrTrade2/QueryFtDeliveryGoods:
  30439. get:
  30440. produces:
  30441. - application/json
  30442. responses:
  30443. "200":
  30444. description: OK
  30445. schema:
  30446. items:
  30447. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30448. type: array
  30449. "500":
  30450. description: Internal Server Error
  30451. schema:
  30452. $ref: '#/definitions/app.Response'
  30453. security:
  30454. - ApiKeyAuth: []
  30455. summary: 查询品种品类筛选框列表
  30456. tags:
  30457. - 仓单贸易v2
  30458. /WrTrade2/QueryHoldLB:
  30459. get:
  30460. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30461. parameters:
  30462. - description: 资金账号
  30463. in: query
  30464. name: accountid
  30465. required: true
  30466. type: integer
  30467. - description: 仓库id
  30468. in: query
  30469. name: warehouseid
  30470. type: integer
  30471. - description: 品种id
  30472. in: query
  30473. name: deliverygoodsid
  30474. type: integer
  30475. - description: 品类id
  30476. in: query
  30477. name: wrstandardid
  30478. type: integer
  30479. - description: 仓单要素id
  30480. in: query
  30481. name: wrfactortypeid
  30482. type: integer
  30483. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30484. in: query
  30485. name: dgitemname
  30486. type: string
  30487. produces:
  30488. - application/json
  30489. responses:
  30490. "200":
  30491. description: OK
  30492. schema:
  30493. items:
  30494. $ref: '#/definitions/models.WrHoldLB'
  30495. type: array
  30496. "500":
  30497. description: Internal Server Error
  30498. schema:
  30499. $ref: '#/definitions/app.Response'
  30500. security:
  30501. - ApiKeyAuth: []
  30502. summary: 查询仓单持有记录
  30503. tags:
  30504. - 仓单贸易v2
  30505. /WrTrade2/QueryOrderQuote:
  30506. get:
  30507. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30508. 唯一确定1条记录
  30509. parameters:
  30510. - description: 页码
  30511. in: query
  30512. name: page
  30513. type: integer
  30514. - description: 每页条数
  30515. in: query
  30516. name: pagesize
  30517. type: integer
  30518. - description: 仓单贸易市场id
  30519. in: query
  30520. name: marketid
  30521. type: integer
  30522. - description: 价格方式 - 1:固定价 2-浮动价
  30523. in: query
  30524. name: wrpricetype
  30525. required: true
  30526. type: integer
  30527. - description: 0:仓单预售 1:仓单贸易
  30528. in: query
  30529. name: haswr
  30530. type: integer
  30531. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30532. in: query
  30533. name: dgitemname
  30534. type: string
  30535. - description: 仓库id(筛选条件)
  30536. in: query
  30537. name: warehouseid
  30538. type: integer
  30539. - description: 品种id
  30540. in: query
  30541. name: deliverygoodsid
  30542. type: integer
  30543. - description: 品类id
  30544. in: query
  30545. name: wrstandardid
  30546. type: integer
  30547. - description: 品牌id(dgfactoryitemid)
  30548. in: query
  30549. name: brandid
  30550. type: integer
  30551. - description: 年份id(dgfactoryitemid)
  30552. in: query
  30553. name: yearsid
  30554. type: integer
  30555. - description: 仓单要素id
  30556. in: query
  30557. name: wrfactortypeid
  30558. type: integer
  30559. - description: 交收月(yyyy-mm) 仓单预售填写
  30560. in: query
  30561. name: deliverymonth
  30562. type: string
  30563. produces:
  30564. - application/json
  30565. responses:
  30566. "200":
  30567. description: OK
  30568. schema:
  30569. items:
  30570. $ref: '#/definitions/models.WrOrderQuote'
  30571. type: array
  30572. "500":
  30573. description: Internal Server Error
  30574. schema:
  30575. $ref: '#/definitions/app.Response'
  30576. security:
  30577. - ApiKeyAuth: []
  30578. summary: 查询大厅行情列表
  30579. tags:
  30580. - 仓单贸易v2
  30581. /WrTrade2/QueryOrderQuoteDetail:
  30582. get:
  30583. parameters:
  30584. - description: 页码
  30585. in: query
  30586. name: page
  30587. type: integer
  30588. - description: 每页条数
  30589. in: query
  30590. name: pagesize
  30591. type: integer
  30592. - description: 仓单贸易市场id
  30593. in: query
  30594. name: marketid
  30595. type: integer
  30596. - description: 价格方式 - 1:固定价 2-浮动价
  30597. in: query
  30598. name: wrpricetype
  30599. required: true
  30600. type: integer
  30601. - description: 0:仓单预售 1:仓单贸易
  30602. in: query
  30603. name: haswr
  30604. type: integer
  30605. - description: 仓单要素id
  30606. in: query
  30607. name: wrfactortypeid
  30608. required: true
  30609. type: integer
  30610. - description: 期货商品id(浮动价方式时填)
  30611. in: query
  30612. name: goodsid
  30613. type: integer
  30614. - description: 买卖方向 0-买 1-卖
  30615. in: query
  30616. name: buyorsell
  30617. required: true
  30618. type: integer
  30619. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30620. in: query
  30621. name: deliverymonth
  30622. type: string
  30623. produces:
  30624. - application/json
  30625. responses:
  30626. "200":
  30627. description: OK
  30628. schema:
  30629. items:
  30630. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30631. type: array
  30632. "500":
  30633. description: Internal Server Error
  30634. schema:
  30635. $ref: '#/definitions/app.Response'
  30636. security:
  30637. - ApiKeyAuth: []
  30638. summary: 查询买卖大厅
  30639. tags:
  30640. - 仓单贸易v2
  30641. /WrTrade2/QueryOrderQuoteMyq:
  30642. get:
  30643. parameters:
  30644. - description: 页码
  30645. in: query
  30646. name: page
  30647. type: integer
  30648. - description: 每页条数
  30649. in: query
  30650. name: pagesize
  30651. type: integer
  30652. - description: 用户id
  30653. in: query
  30654. name: userid
  30655. required: true
  30656. type: integer
  30657. - description: 仓单贸易市场id
  30658. in: query
  30659. name: marketid
  30660. type: integer
  30661. - description: 0:仓单预售 1:仓单贸易
  30662. in: query
  30663. name: haswr
  30664. type: integer
  30665. - description: 买卖方向 0-买 1-卖
  30666. in: query
  30667. name: buyorsell
  30668. required: true
  30669. type: integer
  30670. - description: 品种id
  30671. in: query
  30672. name: deliverygoodsid
  30673. type: integer
  30674. - description: 品类id
  30675. in: query
  30676. name: wrstandardid
  30677. type: integer
  30678. - description: 交收月(yyyy-mm) 仓单预售填写
  30679. in: query
  30680. name: deliverymonth
  30681. type: string
  30682. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30683. in: query
  30684. name: dgitemname
  30685. type: string
  30686. produces:
  30687. - application/json
  30688. responses:
  30689. "200":
  30690. description: OK
  30691. schema:
  30692. items:
  30693. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30694. type: array
  30695. "500":
  30696. description: Internal Server Error
  30697. schema:
  30698. $ref: '#/definitions/app.Response'
  30699. security:
  30700. - ApiKeyAuth: []
  30701. summary: 查询贸易圈挂牌大厅
  30702. tags:
  30703. - 仓单贸易v2
  30704. /WrTrade2/QueryPerformancePlan:
  30705. get:
  30706. parameters:
  30707. - description: 用户id
  30708. in: query
  30709. name: userid
  30710. required: true
  30711. type: integer
  30712. - description: 买卖方向 0-买 1-卖
  30713. in: query
  30714. name: buyorsell
  30715. required: true
  30716. type: integer
  30717. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30718. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30719. in: query
  30720. name: status
  30721. type: string
  30722. - description: 开始交易日(yyyymmdd)
  30723. in: query
  30724. name: begindate
  30725. type: string
  30726. - description: 结束交易日(yyyymmdd)
  30727. in: query
  30728. name: enddate
  30729. type: string
  30730. produces:
  30731. - application/json
  30732. responses:
  30733. "200":
  30734. description: OK
  30735. schema:
  30736. items:
  30737. $ref: '#/definitions/models.WrPerformancePlan'
  30738. type: array
  30739. "500":
  30740. description: Internal Server Error
  30741. schema:
  30742. $ref: '#/definitions/app.Response'
  30743. security:
  30744. - ApiKeyAuth: []
  30745. summary: 查询履约信息
  30746. tags:
  30747. - 仓单贸易v2
  30748. /WrTrade2/QueryPermancePlanTmp:
  30749. get:
  30750. description: |-
  30751. 返回指定用户的模板和公共模板(用户id为空)
  30752. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30753. parameters:
  30754. - description: 用户id
  30755. in: query
  30756. name: userid
  30757. type: integer
  30758. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30759. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30760. in: query
  30761. name: tmptype
  30762. type: string
  30763. - description: 是否包含公共模板(用户id为空的) 1-包含
  30764. in: query
  30765. name: includepub
  30766. type: integer
  30767. - description: 市场id(天津麦顿指定此参数,其它不用)
  30768. in: query
  30769. name: marketid
  30770. type: integer
  30771. produces:
  30772. - application/json
  30773. responses:
  30774. "200":
  30775. description: OK
  30776. schema:
  30777. items:
  30778. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30779. type: array
  30780. "500":
  30781. description: Internal Server Error
  30782. schema:
  30783. $ref: '#/definitions/app.Response'
  30784. security:
  30785. - ApiKeyAuth: []
  30786. summary: 查询履约模板
  30787. tags:
  30788. - 仓单贸易v2
  30789. /WrTrade2/QuerySiteColumnDetail:
  30790. get:
  30791. parameters:
  30792. - description: 页码
  30793. in: query
  30794. name: page
  30795. type: integer
  30796. - description: 每页条数
  30797. in: query
  30798. name: pagesize
  30799. type: integer
  30800. - description: 所属栏目id
  30801. in: query
  30802. name: columnid
  30803. type: integer
  30804. produces:
  30805. - application/json
  30806. responses:
  30807. "200":
  30808. description: OK
  30809. schema:
  30810. items:
  30811. $ref: '#/definitions/models.WrSiteColumnDetail'
  30812. type: array
  30813. "500":
  30814. description: Internal Server Error
  30815. schema:
  30816. $ref: '#/definitions/app.Response'
  30817. security:
  30818. - ApiKeyAuth: []
  30819. summary: 查询资讯
  30820. tags:
  30821. - 仓单贸易v2
  30822. /WrTrade2/QuerySpotGroupTradeSum:
  30823. get:
  30824. produces:
  30825. - application/json
  30826. responses:
  30827. "200":
  30828. description: OK
  30829. schema:
  30830. items:
  30831. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30832. type: array
  30833. "500":
  30834. description: Internal Server Error
  30835. schema:
  30836. $ref: '#/definitions/app.Response'
  30837. security:
  30838. - ApiKeyAuth: []
  30839. summary: 查询指数
  30840. tags:
  30841. - 仓单贸易v2
  30842. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30843. get:
  30844. description: 查询的结果将会按日期 从小到大 排序
  30845. parameters:
  30846. - description: 现货商品id
  30847. in: query
  30848. name: deliverygoodsid
  30849. required: true
  30850. type: integer
  30851. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30852. in: query
  30853. name: lastnum
  30854. type: integer
  30855. produces:
  30856. - application/json
  30857. responses:
  30858. "200":
  30859. description: OK
  30860. schema:
  30861. items:
  30862. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30863. type: array
  30864. "500":
  30865. description: Internal Server Error
  30866. schema:
  30867. $ref: '#/definitions/app.Response'
  30868. security:
  30869. - ApiKeyAuth: []
  30870. summary: 查询指数详细(价格走势图)
  30871. tags:
  30872. - 仓单贸易v2
  30873. /WrTrade2/QueryWrAverageTradePrice:
  30874. get:
  30875. parameters:
  30876. - description: 页码
  30877. in: query
  30878. name: page
  30879. type: integer
  30880. - description: 每页条数
  30881. in: query
  30882. name: pagesize
  30883. type: integer
  30884. - description: 0:仓单预售 1:仓单贸易
  30885. in: query
  30886. name: haswr
  30887. required: true
  30888. type: integer
  30889. - description: 仓单要素id
  30890. in: query
  30891. name: wrfactortypeid
  30892. required: true
  30893. type: integer
  30894. produces:
  30895. - application/json
  30896. responses:
  30897. "200":
  30898. description: OK
  30899. schema:
  30900. items:
  30901. $ref: '#/definitions/models.WrAverageTradePrice'
  30902. type: array
  30903. "500":
  30904. description: Internal Server Error
  30905. schema:
  30906. $ref: '#/definitions/app.Response'
  30907. security:
  30908. - ApiKeyAuth: []
  30909. summary: 查询成交价(历史走势)
  30910. tags:
  30911. - 仓单贸易v2
  30912. /WrTrade2/QueryWrBrandAndYears:
  30913. get:
  30914. produces:
  30915. - application/json
  30916. responses:
  30917. "200":
  30918. description: OK
  30919. schema:
  30920. items:
  30921. $ref: '#/definitions/models.WrBrandAndYears'
  30922. type: array
  30923. "500":
  30924. description: Internal Server Error
  30925. schema:
  30926. $ref: '#/definitions/app.Response'
  30927. security:
  30928. - ApiKeyAuth: []
  30929. summary: 查询品牌和年份
  30930. tags:
  30931. - 仓单贸易v2
  30932. /WrTrade2/QueryWrBsGoodsInfo:
  30933. get:
  30934. description: 合约交易/买卖大厅/详情
  30935. parameters:
  30936. - description: 商品id
  30937. in: query
  30938. name: goodsid
  30939. required: true
  30940. type: integer
  30941. produces:
  30942. - application/json
  30943. responses:
  30944. "200":
  30945. description: OK
  30946. schema:
  30947. items:
  30948. $ref: '#/definitions/models.WrBsGoodsInfo'
  30949. type: array
  30950. "500":
  30951. description: Internal Server Error
  30952. schema:
  30953. $ref: '#/definitions/app.Response'
  30954. security:
  30955. - ApiKeyAuth: []
  30956. summary: 查询合约交易买卖大厅详情
  30957. tags:
  30958. - 仓单贸易v2
  30959. /WrTrade2/QueryWrBuybackDetail:
  30960. get:
  30961. parameters:
  30962. - description: 融资合同id
  30963. in: query
  30964. name: scfcontractid
  30965. type: integer
  30966. produces:
  30967. - application/json
  30968. responses:
  30969. "200":
  30970. description: OK
  30971. schema:
  30972. items:
  30973. $ref: '#/definitions/models.WrBuybackDetail'
  30974. type: array
  30975. "500":
  30976. description: Internal Server Error
  30977. schema:
  30978. $ref: '#/definitions/app.Response'
  30979. security:
  30980. - ApiKeyAuth: []
  30981. summary: 查询仓单回购明细
  30982. tags:
  30983. - 仓单贸易v2
  30984. /WrTrade2/QueryWrClientAdSpaceConfig:
  30985. get:
  30986. produces:
  30987. - application/json
  30988. responses:
  30989. "200":
  30990. description: OK
  30991. schema:
  30992. items:
  30993. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30994. type: array
  30995. "500":
  30996. description: Internal Server Error
  30997. schema:
  30998. $ref: '#/definitions/app.Response'
  30999. security:
  31000. - ApiKeyAuth: []
  31001. summary: 查询固定广告配置
  31002. tags:
  31003. - 仓单贸易v2
  31004. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31005. get:
  31006. parameters:
  31007. - description: 资金账号
  31008. in: query
  31009. name: accountid
  31010. required: true
  31011. type: integer
  31012. - description: 商品id
  31013. in: query
  31014. name: goodsid
  31015. required: true
  31016. type: integer
  31017. produces:
  31018. - application/json
  31019. responses:
  31020. "200":
  31021. description: OK
  31022. schema:
  31023. items:
  31024. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31025. type: array
  31026. "500":
  31027. description: Internal Server Error
  31028. schema:
  31029. $ref: '#/definitions/app.Response'
  31030. security:
  31031. - ApiKeyAuth: []
  31032. summary: 查询合约交收可点选仓单
  31033. tags:
  31034. - 仓单贸易v2
  31035. /WrTrade2/QueryWrDeliveryDetail:
  31036. get:
  31037. parameters:
  31038. - description: 用户id
  31039. in: query
  31040. name: userid
  31041. required: true
  31042. type: integer
  31043. - description: 资金账号id
  31044. in: query
  31045. name: accountid
  31046. type: integer
  31047. - description: 开始交易日(yyyymmdd)
  31048. in: query
  31049. name: begindate
  31050. type: string
  31051. - description: 结束交易日(yyyymmdd)
  31052. in: query
  31053. name: enddate
  31054. type: string
  31055. produces:
  31056. - application/json
  31057. responses:
  31058. "200":
  31059. description: OK
  31060. schema:
  31061. items:
  31062. $ref: '#/definitions/models.WrDeliveryDetail'
  31063. type: array
  31064. "500":
  31065. description: Internal Server Error
  31066. schema:
  31067. $ref: '#/definitions/app.Response'
  31068. security:
  31069. - ApiKeyAuth: []
  31070. summary: 查询交收
  31071. tags:
  31072. - 仓单贸易v2
  31073. /WrTrade2/QueryWrDraftUserInfo:
  31074. get:
  31075. parameters:
  31076. - description: 用户ID
  31077. in: query
  31078. name: userid
  31079. required: true
  31080. type: integer
  31081. - description: 用户状态 1:正常 2:注销
  31082. in: query
  31083. name: userstatus
  31084. type: integer
  31085. produces:
  31086. - application/json
  31087. responses:
  31088. "200":
  31089. description: OK
  31090. schema:
  31091. items:
  31092. $ref: '#/definitions/models.WrDraftUserInfo'
  31093. type: array
  31094. "500":
  31095. description: Internal Server Error
  31096. schema:
  31097. $ref: '#/definitions/app.Response'
  31098. security:
  31099. - ApiKeyAuth: []
  31100. summary: 查询实名认证信息
  31101. tags:
  31102. - 仓单贸易v2
  31103. /WrTrade2/QueryWrFactorTypeInfo:
  31104. get:
  31105. parameters:
  31106. - description: 仓单要素id
  31107. in: query
  31108. name: wrfactortypeid
  31109. required: true
  31110. type: integer
  31111. produces:
  31112. - application/json
  31113. responses:
  31114. "200":
  31115. description: OK
  31116. schema:
  31117. items:
  31118. $ref: '#/definitions/models.WrFactorTypeInfo'
  31119. type: array
  31120. "500":
  31121. description: Internal Server Error
  31122. schema:
  31123. $ref: '#/definitions/app.Response'
  31124. security:
  31125. - ApiKeyAuth: []
  31126. summary: 查询仓单要素详细信息
  31127. tags:
  31128. - 仓单贸易v2
  31129. /WrTrade2/QueryWrFactorTypeInfoEx:
  31130. get:
  31131. parameters:
  31132. - description: 仓单要素id
  31133. in: query
  31134. name: wrfactortypeid
  31135. required: true
  31136. type: integer
  31137. produces:
  31138. - application/json
  31139. responses:
  31140. "200":
  31141. description: OK
  31142. schema:
  31143. items:
  31144. $ref: '#/definitions/models.WrTypeItem'
  31145. type: array
  31146. "500":
  31147. description: Internal Server Error
  31148. schema:
  31149. $ref: '#/definitions/app.Response'
  31150. security:
  31151. - ApiKeyAuth: []
  31152. summary: 查询仓单要素详细信息列表项
  31153. tags:
  31154. - 仓单贸易v2
  31155. /WrTrade2/QueryWrFinanceBuyApply:
  31156. get:
  31157. description: 页面 融资信息+ / 申请单
  31158. parameters:
  31159. - description: 用户id
  31160. in: query
  31161. name: userid
  31162. required: true
  31163. type: integer
  31164. produces:
  31165. - application/json
  31166. responses:
  31167. "200":
  31168. description: OK
  31169. schema:
  31170. items:
  31171. $ref: '#/definitions/models.WrFinanceBuyApply'
  31172. type: array
  31173. "500":
  31174. description: Internal Server Error
  31175. schema:
  31176. $ref: '#/definitions/app.Response'
  31177. security:
  31178. - ApiKeyAuth: []
  31179. summary: 查询融资购买申请
  31180. tags:
  31181. - 仓单贸易v2
  31182. /WrTrade2/QueryWrFriendApply:
  31183. get:
  31184. parameters:
  31185. - description: 用户id
  31186. in: query
  31187. name: userid
  31188. required: true
  31189. type: integer
  31190. produces:
  31191. - application/json
  31192. responses:
  31193. "200":
  31194. description: OK
  31195. schema:
  31196. items:
  31197. $ref: '#/definitions/models.WrFriendApply'
  31198. type: array
  31199. "500":
  31200. description: Internal Server Error
  31201. schema:
  31202. $ref: '#/definitions/app.Response'
  31203. security:
  31204. - ApiKeyAuth: []
  31205. summary: 查询好友申请记录
  31206. tags:
  31207. - 仓单贸易v2
  31208. /WrTrade2/QueryWrGoodsInfo:
  31209. get:
  31210. parameters:
  31211. - description: 仓单贸易市场id
  31212. in: query
  31213. name: marketid
  31214. type: integer
  31215. - description: 0:仓单预售 1:仓单贸易
  31216. in: query
  31217. name: haswr
  31218. required: true
  31219. type: integer
  31220. - description: 仓单要素id
  31221. in: query
  31222. name: wrfactortypeid
  31223. required: true
  31224. type: integer
  31225. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31226. in: query
  31227. name: tmplateid
  31228. type: integer
  31229. produces:
  31230. - application/json
  31231. responses:
  31232. "200":
  31233. description: OK
  31234. schema:
  31235. items:
  31236. $ref: '#/definitions/models.WrGoodsInfo'
  31237. type: array
  31238. "500":
  31239. description: Internal Server Error
  31240. schema:
  31241. $ref: '#/definitions/app.Response'
  31242. security:
  31243. - ApiKeyAuth: []
  31244. summary: 查询仓单商品信息
  31245. tags:
  31246. - 仓单贸易v2
  31247. /WrTrade2/QueryWrMarketTradeConfig:
  31248. get:
  31249. parameters:
  31250. - description: 市场id
  31251. in: query
  31252. name: marketid
  31253. type: integer
  31254. produces:
  31255. - application/json
  31256. responses:
  31257. "200":
  31258. description: OK
  31259. schema:
  31260. items:
  31261. $ref: '#/definitions/models.WrMarketTradeConfig'
  31262. type: array
  31263. "500":
  31264. description: Internal Server Error
  31265. schema:
  31266. $ref: '#/definitions/app.Response'
  31267. security:
  31268. - ApiKeyAuth: []
  31269. summary: 查询市场交易参数配置
  31270. tags:
  31271. - 仓单贸易v2
  31272. /WrTrade2/QueryWrOrderDetail:
  31273. get:
  31274. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31275. parameters:
  31276. - description: 页码
  31277. in: query
  31278. name: page
  31279. type: integer
  31280. - description: 每页条数
  31281. in: query
  31282. name: pagesize
  31283. type: integer
  31284. - description: 用户id
  31285. in: query
  31286. name: userid
  31287. required: true
  31288. type: integer
  31289. - description: 仓单贸易市场id
  31290. in: query
  31291. name: marketid
  31292. type: integer
  31293. - description: 0:仓单预售 1:仓单贸易
  31294. in: query
  31295. name: haswr
  31296. required: true
  31297. type: integer
  31298. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31299. in: query
  31300. name: bcancel
  31301. type: integer
  31302. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31303. in: query
  31304. name: wrtradetype
  31305. type: integer
  31306. - description: 开始交易日(yyyymmdd)
  31307. in: query
  31308. name: begindate
  31309. type: string
  31310. - description: 结束交易日(yyyymmdd)
  31311. in: query
  31312. name: enddate
  31313. type: string
  31314. produces:
  31315. - application/json
  31316. responses:
  31317. "200":
  31318. description: OK
  31319. schema:
  31320. items:
  31321. $ref: '#/definitions/models.WrOrderDetail'
  31322. type: array
  31323. "500":
  31324. description: Internal Server Error
  31325. schema:
  31326. $ref: '#/definitions/app.Response'
  31327. security:
  31328. - ApiKeyAuth: []
  31329. summary: 查询仓单委托单
  31330. tags:
  31331. - 仓单贸易v2
  31332. /WrTrade2/QueryWrOutInApply:
  31333. get:
  31334. parameters:
  31335. - description: 用户id
  31336. in: query
  31337. name: userid
  31338. required: true
  31339. type: integer
  31340. - description: 开始交易日(yyyymmdd)
  31341. in: query
  31342. name: begindate
  31343. type: string
  31344. - description: 结束交易日(yyyymmdd)
  31345. in: query
  31346. name: enddate
  31347. type: string
  31348. produces:
  31349. - application/json
  31350. responses:
  31351. "200":
  31352. description: OK
  31353. schema:
  31354. items:
  31355. $ref: '#/definitions/models.WrOutInApply'
  31356. type: array
  31357. "500":
  31358. description: Internal Server Error
  31359. schema:
  31360. $ref: '#/definitions/app.Response'
  31361. security:
  31362. - ApiKeyAuth: []
  31363. summary: 查询提货申请
  31364. tags:
  31365. - 仓单贸易v2
  31366. /WrTrade2/QueryWrPerformancePlanStep:
  31367. get:
  31368. parameters:
  31369. - description: 履约计划id(performanceplanid)
  31370. in: query
  31371. name: planid
  31372. required: true
  31373. type: integer
  31374. - description: 当前步骤id
  31375. in: query
  31376. name: curstepid
  31377. type: integer
  31378. produces:
  31379. - application/json
  31380. responses:
  31381. "200":
  31382. description: OK
  31383. schema:
  31384. items:
  31385. $ref: '#/definitions/models.WrPerformancePlanStep'
  31386. type: array
  31387. "500":
  31388. description: Internal Server Error
  31389. schema:
  31390. $ref: '#/definitions/app.Response'
  31391. security:
  31392. - ApiKeyAuth: []
  31393. summary: 查询履约信息详情
  31394. tags:
  31395. - 仓单贸易v2
  31396. /WrTrade2/QueryWrPerformanceStepType:
  31397. get:
  31398. produces:
  31399. - application/json
  31400. responses:
  31401. "200":
  31402. description: OK
  31403. schema:
  31404. items:
  31405. $ref: '#/definitions/models.WrPerformanceStepType'
  31406. type: array
  31407. "500":
  31408. description: Internal Server Error
  31409. schema:
  31410. $ref: '#/definitions/app.Response'
  31411. security:
  31412. - ApiKeyAuth: []
  31413. summary: 查询履约步骤枚举
  31414. tags:
  31415. - 仓单贸易v2
  31416. /WrTrade2/QueryWrPosition:
  31417. get:
  31418. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31419. parameters:
  31420. - description: 用户id
  31421. in: query
  31422. name: userid
  31423. required: true
  31424. type: integer
  31425. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31426. in: query
  31427. name: querytype
  31428. required: true
  31429. type: integer
  31430. - description: 0:仓单预售 1:仓单贸易
  31431. in: query
  31432. name: haswr
  31433. required: true
  31434. type: integer
  31435. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31436. in: query
  31437. name: dgitemname
  31438. type: string
  31439. - description: 仓库id(筛选条件)
  31440. in: query
  31441. name: warehouseid
  31442. type: integer
  31443. - description: 品种id
  31444. in: query
  31445. name: deliverygoodsid
  31446. type: integer
  31447. - description: 品类id
  31448. in: query
  31449. name: wrstandardid
  31450. type: integer
  31451. produces:
  31452. - application/json
  31453. responses:
  31454. "200":
  31455. description: OK
  31456. schema:
  31457. items:
  31458. $ref: '#/definitions/models.WrPosition'
  31459. type: array
  31460. "500":
  31461. description: Internal Server Error
  31462. schema:
  31463. $ref: '#/definitions/app.Response'
  31464. security:
  31465. - ApiKeyAuth: []
  31466. summary: 查询现货(预售)仓单持仓
  31467. tags:
  31468. - 仓单贸易v2
  31469. /WrTrade2/QueryWrPreSaleInfo:
  31470. get:
  31471. parameters:
  31472. - description: 市场id
  31473. in: query
  31474. name: marketid
  31475. type: integer
  31476. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31477. in: query
  31478. name: presalestatus
  31479. type: string
  31480. - description: 摇号标识 - 0:未摇号 1:已摇号
  31481. in: query
  31482. name: lotteryflag
  31483. type: integer
  31484. - description: 最近多少条记录(按创建时间倒序)
  31485. in: query
  31486. name: lastnum
  31487. type: integer
  31488. produces:
  31489. - application/json
  31490. responses:
  31491. "200":
  31492. description: OK
  31493. schema:
  31494. items:
  31495. $ref: '#/definitions/models.WrPreSaleInfo'
  31496. type: array
  31497. "500":
  31498. description: Internal Server Error
  31499. schema:
  31500. $ref: '#/definitions/app.Response'
  31501. security:
  31502. - ApiKeyAuth: []
  31503. summary: 查询新品发布
  31504. tags:
  31505. - 仓单贸易v2
  31506. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31507. get:
  31508. parameters:
  31509. - description: 市场id
  31510. in: query
  31511. name: marketid
  31512. required: true
  31513. type: integer
  31514. - description: 现货商品id
  31515. in: query
  31516. name: wrstandardid
  31517. required: true
  31518. type: integer
  31519. - description: 开始交易日(yyyymmdd)
  31520. in: query
  31521. name: begindate
  31522. type: string
  31523. - description: 结束交易日(yyyymmdd)
  31524. in: query
  31525. name: enddate
  31526. type: string
  31527. - description: 最近多少条记录(按交易日倒序)
  31528. in: query
  31529. name: lastnum
  31530. type: integer
  31531. - description: 是否今日
  31532. in: query
  31533. name: istoday
  31534. type: boolean
  31535. produces:
  31536. - application/json
  31537. responses:
  31538. "200":
  31539. description: OK
  31540. schema:
  31541. items:
  31542. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31543. type: array
  31544. "500":
  31545. description: Internal Server Error
  31546. schema:
  31547. $ref: '#/definitions/app.Response'
  31548. security:
  31549. - ApiKeyAuth: []
  31550. summary: 查询价格走势
  31551. tags:
  31552. - 仓单贸易v2
  31553. /WrTrade2/QueryWrScfContract:
  31554. get:
  31555. parameters:
  31556. - description: 用户id
  31557. in: query
  31558. name: userid
  31559. required: true
  31560. type: integer
  31561. - description: 融资合同id
  31562. in: query
  31563. name: scfcontractid
  31564. type: integer
  31565. produces:
  31566. - application/json
  31567. responses:
  31568. "200":
  31569. description: OK
  31570. schema:
  31571. items:
  31572. $ref: '#/definitions/models.WrScfContract'
  31573. type: array
  31574. "500":
  31575. description: Internal Server Error
  31576. schema:
  31577. $ref: '#/definitions/app.Response'
  31578. security:
  31579. - ApiKeyAuth: []
  31580. summary: 查询仓单贸易融资合同
  31581. tags:
  31582. - 仓单贸易v2
  31583. /WrTrade2/QueryWrScfContractInterest:
  31584. get:
  31585. parameters:
  31586. - description: 融资合同id
  31587. in: query
  31588. name: scfcontractid
  31589. type: integer
  31590. produces:
  31591. - application/json
  31592. responses:
  31593. "200":
  31594. description: OK
  31595. schema:
  31596. items:
  31597. $ref: '#/definitions/models.WrScfContractInterest'
  31598. type: array
  31599. "500":
  31600. description: Internal Server Error
  31601. schema:
  31602. $ref: '#/definitions/app.Response'
  31603. security:
  31604. - ApiKeyAuth: []
  31605. summary: 查询融资合同费用明细
  31606. tags:
  31607. - 仓单贸易v2
  31608. /WrTrade2/QueryWrSearchUser:
  31609. get:
  31610. parameters:
  31611. - description: 用户名称(模糊匹配)
  31612. in: query
  31613. name: username
  31614. required: true
  31615. type: string
  31616. produces:
  31617. - application/json
  31618. responses:
  31619. "200":
  31620. description: OK
  31621. schema:
  31622. items:
  31623. $ref: '#/definitions/models.WrSearchUser'
  31624. type: array
  31625. "500":
  31626. description: Internal Server Error
  31627. schema:
  31628. $ref: '#/definitions/app.Response'
  31629. security:
  31630. - ApiKeyAuth: []
  31631. summary: 查询用户
  31632. tags:
  31633. - 仓单贸易v2
  31634. /WrTrade2/QueryWrSpecialMatchOrder:
  31635. get:
  31636. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31637. parameters:
  31638. - description: 页码
  31639. in: query
  31640. name: page
  31641. type: integer
  31642. - description: 每页条数
  31643. in: query
  31644. name: pagesize
  31645. type: integer
  31646. - description: 用户id
  31647. in: query
  31648. name: userid
  31649. required: true
  31650. type: integer
  31651. - description: 仓单贸易市场id
  31652. in: query
  31653. name: marketid
  31654. type: integer
  31655. - description: 0:仓单预售 1:仓单贸易
  31656. in: query
  31657. name: haswr
  31658. required: true
  31659. type: integer
  31660. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31661. in: query
  31662. name: isspecified
  31663. type: integer
  31664. produces:
  31665. - application/json
  31666. responses:
  31667. "200":
  31668. description: OK
  31669. schema:
  31670. items:
  31671. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31672. type: array
  31673. "500":
  31674. description: Internal Server Error
  31675. schema:
  31676. $ref: '#/definitions/app.Response'
  31677. security:
  31678. - ApiKeyAuth: []
  31679. summary: 查询指定成交
  31680. tags:
  31681. - 仓单贸易v2
  31682. /WrTrade2/QueryWrStandardFactoryItem:
  31683. get:
  31684. parameters:
  31685. - description: 品类id
  31686. in: query
  31687. name: wrstandardid
  31688. required: true
  31689. type: integer
  31690. produces:
  31691. - application/json
  31692. responses:
  31693. "200":
  31694. description: OK
  31695. schema:
  31696. items:
  31697. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31698. type: array
  31699. "500":
  31700. description: Internal Server Error
  31701. schema:
  31702. $ref: '#/definitions/app.Response'
  31703. security:
  31704. - ApiKeyAuth: []
  31705. summary: 查询品类要素定义项
  31706. tags:
  31707. - 仓单贸易v2
  31708. /WrTrade2/QueryWrTradeBargainApply:
  31709. get:
  31710. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31711. 议价->对方议价 填写matchuserid=登录用户id
  31712. parameters:
  31713. - description: 议价人id(摘牌方)
  31714. in: query
  31715. name: userid
  31716. type: integer
  31717. - description: 挂牌方id(查对方议价时,填写此项)
  31718. in: query
  31719. name: matchuserid
  31720. type: integer
  31721. - description: 关联委托单id
  31722. in: query
  31723. name: wrtradeorderid
  31724. type: integer
  31725. - description: 0:仓单预售 1:仓单贸易
  31726. in: query
  31727. name: haswr
  31728. required: true
  31729. type: integer
  31730. - description: 开始交易日(yyyymmdd)
  31731. in: query
  31732. name: begindate
  31733. type: string
  31734. - description: 结束交易日(yyyymmdd)
  31735. in: query
  31736. name: enddate
  31737. type: string
  31738. produces:
  31739. - application/json
  31740. responses:
  31741. "200":
  31742. description: OK
  31743. schema:
  31744. items:
  31745. $ref: '#/definitions/models.WRTradeBargainApply'
  31746. type: array
  31747. "500":
  31748. description: Internal Server Error
  31749. schema:
  31750. $ref: '#/definitions/app.Response'
  31751. security:
  31752. - ApiKeyAuth: []
  31753. summary: 查询议价单
  31754. tags:
  31755. - 仓单贸易v2
  31756. /WrTrade2/QueryWrTradeDetail:
  31757. get:
  31758. parameters:
  31759. - description: 页码
  31760. in: query
  31761. name: page
  31762. type: integer
  31763. - description: 每页条数
  31764. in: query
  31765. name: pagesize
  31766. type: integer
  31767. - description: 用户id
  31768. in: query
  31769. name: userid
  31770. required: true
  31771. type: integer
  31772. - description: 仓单贸易市场id
  31773. in: query
  31774. name: marketid
  31775. type: integer
  31776. - description: 0:仓单预售 1:仓单贸易
  31777. in: query
  31778. name: haswr
  31779. required: true
  31780. type: integer
  31781. - description: 开始交易日(yyyymmdd)
  31782. in: query
  31783. name: begindate
  31784. type: string
  31785. - description: 结束交易日(yyyymmdd)
  31786. in: query
  31787. name: enddate
  31788. type: string
  31789. produces:
  31790. - application/json
  31791. responses:
  31792. "200":
  31793. description: OK
  31794. schema:
  31795. items:
  31796. $ref: '#/definitions/models.WrTradeDetail'
  31797. type: array
  31798. "500":
  31799. description: Internal Server Error
  31800. schema:
  31801. $ref: '#/definitions/app.Response'
  31802. security:
  31803. - ApiKeyAuth: []
  31804. summary: 查询仓单成交明细
  31805. tags:
  31806. - 仓单贸易v2
  31807. /WrTrade2/QueryWrTradeOrderDetail:
  31808. get:
  31809. parameters:
  31810. - description: 页码
  31811. in: query
  31812. name: page
  31813. type: integer
  31814. - description: 每页条数
  31815. in: query
  31816. name: pagesize
  31817. type: integer
  31818. - description: 商品id
  31819. in: query
  31820. name: goodsid
  31821. required: true
  31822. type: integer
  31823. - description: 买卖方向 0-买 1-卖
  31824. in: query
  31825. name: buyorsell
  31826. required: true
  31827. type: integer
  31828. produces:
  31829. - application/json
  31830. responses:
  31831. "200":
  31832. description: OK
  31833. schema:
  31834. items:
  31835. $ref: '#/definitions/models.WrTradeOrderDetail'
  31836. type: array
  31837. "500":
  31838. description: Internal Server Error
  31839. schema:
  31840. $ref: '#/definitions/app.Response'
  31841. security:
  31842. - ApiKeyAuth: []
  31843. summary: 查询合约交易买卖大厅
  31844. tags:
  31845. - 仓单贸易v2
  31846. /WrTrade2/QueryWrTradeQuote:
  31847. get:
  31848. parameters:
  31849. - description: 现货商品id
  31850. in: query
  31851. name: wrstandardid
  31852. required: true
  31853. type: integer
  31854. - description: 开始日期(yyyymmdd)
  31855. in: query
  31856. name: begindate
  31857. required: true
  31858. type: string
  31859. - description: 结束日期(yyyymmdd)
  31860. in: query
  31861. name: enddate
  31862. required: true
  31863. type: string
  31864. - description: 市场id
  31865. in: query
  31866. name: marketid
  31867. type: integer
  31868. produces:
  31869. - application/json
  31870. responses:
  31871. "200":
  31872. description: OK
  31873. schema:
  31874. items:
  31875. $ref: '#/definitions/models.Wrtradetradequote'
  31876. type: array
  31877. "500":
  31878. description: Internal Server Error
  31879. schema:
  31880. $ref: '#/definitions/app.Response'
  31881. security:
  31882. - ApiKeyAuth: []
  31883. summary: 查询仓单贸易成交行情
  31884. tags:
  31885. - 仓单贸易v2
  31886. /WrTrade2/QueryWrUserFriend:
  31887. get:
  31888. parameters:
  31889. - description: 用户id
  31890. in: query
  31891. name: userid
  31892. required: true
  31893. type: integer
  31894. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31895. in: query
  31896. name: newuserid
  31897. type: integer
  31898. produces:
  31899. - application/json
  31900. responses:
  31901. "200":
  31902. description: OK
  31903. schema:
  31904. items:
  31905. $ref: '#/definitions/models.WrUserFriend'
  31906. type: array
  31907. "500":
  31908. description: Internal Server Error
  31909. schema:
  31910. $ref: '#/definitions/app.Response'
  31911. security:
  31912. - ApiKeyAuth: []
  31913. summary: 查询我的朋友
  31914. tags:
  31915. - 仓单贸易v2
  31916. /WrTrade2/QueryWrUserReceiptInfo:
  31917. get:
  31918. parameters:
  31919. - description: 用户id
  31920. in: query
  31921. name: userid
  31922. type: integer
  31923. - description: 发票类型 - 1:个人 2:企业
  31924. in: query
  31925. name: receipttype
  31926. type: integer
  31927. produces:
  31928. - application/json
  31929. responses:
  31930. "200":
  31931. description: OK
  31932. schema:
  31933. items:
  31934. $ref: '#/definitions/models.WrUserReceiptInfo'
  31935. type: array
  31936. "500":
  31937. description: Internal Server Error
  31938. schema:
  31939. $ref: '#/definitions/app.Response'
  31940. security:
  31941. - ApiKeyAuth: []
  31942. summary: 查询发票信息
  31943. tags:
  31944. - 仓单贸易v2
  31945. /WrTrade2/QueryXhcpSellBackApply:
  31946. get:
  31947. parameters:
  31948. - description: 用户ID
  31949. in: query
  31950. name: userid
  31951. required: true
  31952. type: integer
  31953. produces:
  31954. - application/json
  31955. responses:
  31956. "200":
  31957. description: OK
  31958. schema:
  31959. items:
  31960. $ref: '#/definitions/models.Xhcpsellbackapply'
  31961. type: array
  31962. "500":
  31963. description: Internal Server Error
  31964. schema:
  31965. $ref: '#/definitions/app.Response'
  31966. security:
  31967. - ApiKeyAuth: []
  31968. summary: 查询我的回收申请(新会陈皮)
  31969. tags:
  31970. - 仓单贸易v2
  31971. /ZJ/GetBankTip:
  31972. get:
  31973. produces:
  31974. - application/json
  31975. responses:
  31976. "200":
  31977. description: OK
  31978. schema:
  31979. type: string
  31980. "500":
  31981. description: Internal Server Error
  31982. schema:
  31983. $ref: '#/definitions/app.Response'
  31984. summary: 获取中江网银端出入金提示信息
  31985. tags:
  31986. - 中江
  31987. /ZJ/GetCusBankChannels:
  31988. get:
  31989. produces:
  31990. - application/json
  31991. responses:
  31992. "200":
  31993. description: OK
  31994. schema:
  31995. items:
  31996. type: string
  31997. type: array
  31998. "500":
  31999. description: Internal Server Error
  32000. schema:
  32001. $ref: '#/definitions/app.Response'
  32002. summary: 获取中江出入金渠道显示列表
  32003. tags:
  32004. - 中江
  32005. securityDefinitions:
  32006. ApiKeyAuth:
  32007. in: header
  32008. name: Authorization
  32009. type: apiKey
  32010. swagger: "2.0"