swagger.yaml 924 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. origin:
  3848. description: 原产地
  3849. type: string
  3850. remark:
  3851. description: 备注
  3852. type: string
  3853. userid:
  3854. description: 用户ID
  3855. type: integer
  3856. warehouseids:
  3857. description: 仓库ID - 多个, 逗号分隔
  3858. type: string
  3859. warehouseinfosdisplay:
  3860. type: string
  3861. wrtradeorderid:
  3862. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3863. type: integer
  3864. zscategory:
  3865. description: 钻石分类 - 枚举”ZSCategory“
  3866. type: integer
  3867. zscategorydisplay:
  3868. type: string
  3869. zsclaritytype:
  3870. description: 净度 - 两个, 逗号分隔
  3871. type: string
  3872. zsclaritytypedisplay:
  3873. type: string
  3874. zscolortype:
  3875. description: 颜色 - 两个, 逗号分隔
  3876. type: string
  3877. zscolortypedisplay:
  3878. type: string
  3879. zscrystaltype:
  3880. description: 晶型 - 多个,逗号分隔
  3881. type: string
  3882. zscrystaltypedisplay:
  3883. type: string
  3884. zscurrencytype:
  3885. description: 货币类型 - 多个, 逗号分隔
  3886. type: string
  3887. zscurrencytypedisplay:
  3888. type: string
  3889. zscuttype:
  3890. description: 切工 - 两个, 逗号分隔
  3891. type: string
  3892. zscuttypedisplay:
  3893. type: string
  3894. zsczcolor1type:
  3895. description: 彩钻颜色1, 逗号分隔
  3896. type: string
  3897. zsczcolor1typedisplay:
  3898. type: string
  3899. zsczcolor2type:
  3900. description: 彩钻颜色2, 逗号分隔
  3901. type: string
  3902. zsczcolor2typedisplay:
  3903. type: string
  3904. zsczcolor3type:
  3905. description: 彩钻颜色3, 逗号分隔
  3906. type: string
  3907. zsczcolor3typedisplay:
  3908. type: string
  3909. zsfluorescencetype:
  3910. description: 荧光 - 多个, 逗号分隔
  3911. type: string
  3912. zsfluorescencetypedisplay:
  3913. type: string
  3914. zspolishtype:
  3915. description: 抛光度 - 两个, 逗号分隔
  3916. type: string
  3917. zspolishtypedisplay:
  3918. type: string
  3919. zsshapetype:
  3920. description: 形状 - 多个, 逗号分隔
  3921. type: string
  3922. zsshapetypedisplay:
  3923. type: string
  3924. zssize:
  3925. description: 尺寸 - 两个小数, 逗号分隔
  3926. type: string
  3927. zsstyletype:
  3928. description: 款式 - 多个, 逗号分隔
  3929. type: string
  3930. zsstyletypedisplay:
  3931. type: string
  3932. zssymmetrytype:
  3933. description: 对称度 - 两个, 逗号分隔
  3934. type: string
  3935. zssymmetrytypedisplay:
  3936. type: string
  3937. zstabledisplay:
  3938. description: 求购信息
  3939. type: string
  3940. type: object
  3941. models.Clientfixedadconfig:
  3942. properties:
  3943. adsort:
  3944. description: 排序
  3945. type: integer
  3946. adtype:
  3947. description: 广告位类型 - 1:新品抢购(HSBY)
  3948. type: integer
  3949. areauserid:
  3950. description: 所属机构ID
  3951. type: integer
  3952. createdate:
  3953. description: 创建时间
  3954. type: string
  3955. creatorid:
  3956. description: 创建人
  3957. type: integer
  3958. imagepath:
  3959. description: 图片
  3960. type: string
  3961. isshow:
  3962. description: 是否展示 - 0:不展示 1:展示
  3963. type: integer
  3964. modifierid:
  3965. description: 操作人
  3966. type: integer
  3967. recsize:
  3968. description: 推荐尺寸
  3969. type: string
  3970. title:
  3971. description: 标题
  3972. type: string
  3973. updatedate:
  3974. description: 更新时间
  3975. type: string
  3976. urlcontent:
  3977. description: 链接(地址或商品ID)
  3978. type: string
  3979. urltype:
  3980. description: 链接类型 - 1:直接地址 2:商品ID
  3981. type: integer
  3982. required:
  3983. - adsort
  3984. - adtype
  3985. type: object
  3986. models.DgFactoryItem:
  3987. properties:
  3988. dgfactoryitemid:
  3989. description: 选择项ID(SEQ_DGFACTORYITEM)
  3990. type: integer
  3991. dgfactoryitemtypeid:
  3992. description: 要素项类型
  3993. type: integer
  3994. dgfactoryitemvalue:
  3995. description: 要素项值(类型为仓库时填写仓库名称)
  3996. type: string
  3997. orderindex:
  3998. description: 顺序
  3999. type: integer
  4000. type: object
  4001. models.Division:
  4002. properties:
  4003. autoid:
  4004. description: 自增ID
  4005. type: integer
  4006. divisioncode:
  4007. description: 行政代码
  4008. type: string
  4009. divisionlevel:
  4010. description: 行政级别
  4011. type: string
  4012. divisionname:
  4013. description: 行政名称
  4014. type: string
  4015. modifierid:
  4016. description: 修改人
  4017. type: integer
  4018. modifytime:
  4019. description: 修改时间
  4020. type: string
  4021. parentcode:
  4022. description: 上级行政代码
  4023. type: string
  4024. pathname:
  4025. description: 路径名称
  4026. type: string
  4027. postcode:
  4028. description: 邮政编码
  4029. type: string
  4030. separablename:
  4031. description: 可拆分的全称
  4032. type: string
  4033. shortcode:
  4034. description: 地区简码
  4035. type: string
  4036. required:
  4037. - autoid
  4038. - divisioncode
  4039. type: object
  4040. models.Enumdicitem:
  4041. properties:
  4042. autoid:
  4043. description: 自增ID
  4044. type: integer
  4045. bankmappedvalue:
  4046. description: 银行服务对应值
  4047. type: string
  4048. enumdiccode:
  4049. description: 所属枚举代码
  4050. type: string
  4051. enumdicid:
  4052. description: 所属枚举ID
  4053. type: integer
  4054. enumdicname:
  4055. description: 枚举项名称
  4056. type: string
  4057. enumitemname:
  4058. description: 枚举项值
  4059. type: integer
  4060. enumitemstatus:
  4061. description: 枚举项状态 - 1.启用 2.不启用
  4062. type: integer
  4063. enumitemvalue:
  4064. description: 通用值 - [币种通用简写]
  4065. type: string
  4066. param1:
  4067. description: 参数1[币种:币种小数位]
  4068. type: string
  4069. param2:
  4070. description: 参数1[币种:币种显示单位]
  4071. type: string
  4072. remark:
  4073. description: 备注
  4074. type: string
  4075. required:
  4076. - autoid
  4077. - enumdiccode
  4078. - enumdicid
  4079. - enumitemname
  4080. type: object
  4081. models.Ermcp2AreaExposure:
  4082. properties:
  4083. areauserid:
  4084. description: 所属机构
  4085. type: integer
  4086. enumdicname:
  4087. description: 单位
  4088. type: string
  4089. futureqty:
  4090. description: 期货套期量
  4091. type: number
  4092. futureqtychange:
  4093. description: 期货变动量 = FutureQty - OriFutureQty
  4094. type: number
  4095. goodsunitid:
  4096. description: 单位ID
  4097. type: integer
  4098. hedgedspotexposure:
  4099. description: 被套期现货敞口量
  4100. type: number
  4101. hedgedspratio:
  4102. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4103. type: number
  4104. hedgedtotalexposourechange:
  4105. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4106. type: number
  4107. hedgedtotalexposure:
  4108. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4109. type: number
  4110. hedgeplanqty:
  4111. description: 套期计划量
  4112. type: number
  4113. hedgeplanqtychange:
  4114. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4115. type: number
  4116. hedgespotqty:
  4117. description: 被套期现货量
  4118. type: number
  4119. middlegoodsid:
  4120. description: 套保品种
  4121. type: integer
  4122. middlegoodsname:
  4123. description: 套保品种名称
  4124. type: string
  4125. orifutureqty:
  4126. description: 期初期货套期量
  4127. type: number
  4128. orihedgedspotexposure:
  4129. description: 期初被套期现货敞口量
  4130. type: number
  4131. orihedgedtotalexposure:
  4132. description: 期初套期敞口量
  4133. type: number
  4134. orihedgeplanqty:
  4135. description: 期初套期计划量
  4136. type: number
  4137. orihedgespotqty:
  4138. description: 期初被套期现货量
  4139. type: number
  4140. orispotexposure:
  4141. description: 期初现货敞口量
  4142. type: number
  4143. orispotqty:
  4144. description: 期初现货总量
  4145. type: number
  4146. oritotalexposure:
  4147. description: 期初总敞口量
  4148. type: number
  4149. spotexposure:
  4150. description: 现货敞口量
  4151. type: number
  4152. spotqty:
  4153. description: 现货总量
  4154. type: number
  4155. spotqtychange:
  4156. description: 现货变动量 = SpotQty - OriSpotQty
  4157. type: number
  4158. spratio:
  4159. description: 总期现比例 = 期货套期量/现货敞口量
  4160. type: number
  4161. totalexposure:
  4162. description: 总敞口量 = 现货敞口量 + 期货套期量
  4163. type: number
  4164. totalexposurechange:
  4165. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4166. type: number
  4167. updatetime:
  4168. description: 更新时间 --DATE
  4169. type: string
  4170. type: object
  4171. models.Ermcp2hedgeditem:
  4172. properties:
  4173. accountname:
  4174. description: 套期主体
  4175. type: string
  4176. applyid:
  4177. description: 申请人
  4178. type: integer
  4179. applysrc:
  4180. description: 申请来源 - 1:管理端 2:终端
  4181. type: integer
  4182. areauserid:
  4183. description: 企业ID
  4184. type: integer
  4185. auditid:
  4186. description: 审核人
  4187. type: integer
  4188. auditremark:
  4189. description: 审核备注
  4190. type: string
  4191. auditsrc:
  4192. description: 审核来源 - 1:管理端 2:终端
  4193. type: integer
  4194. audittime:
  4195. description: 审核时间
  4196. type: string
  4197. audittradedate:
  4198. description: 审核交易日(yyyyMMdd)
  4199. type: string
  4200. createtime:
  4201. description: 申请时间
  4202. type: string
  4203. curprice:
  4204. description: 当前市场价
  4205. type: number
  4206. curstock:
  4207. description: 期末库存量 = 采购总量 - 销售总量
  4208. type: number
  4209. deliverygoodsid:
  4210. description: 现货品种ID
  4211. type: integer
  4212. enddate:
  4213. description: 完成日期
  4214. type: string
  4215. endtradedate:
  4216. description: 完成交易日
  4217. type: string
  4218. enumdicname:
  4219. description: 单位
  4220. type: string
  4221. exeamount:
  4222. description: 执行市价总额
  4223. type: number
  4224. exeavgprice:
  4225. description: 执行市场均价= 执行市价总额 / 执行现货量
  4226. type: number
  4227. execontractamount:
  4228. description: 执行定价总额
  4229. type: number
  4230. exeqty:
  4231. description: 执行现货量
  4232. type: number
  4233. exerestamount:
  4234. description: 执行剩余市价总额【现货贸易】
  4235. type: number
  4236. futurefloatpl:
  4237. description: 期货浮动损益
  4238. type: number
  4239. futurehedgepl:
  4240. description: 期货实际损益
  4241. type: number
  4242. futurehedgeplchange:
  4243. description: 期货实际损益变动
  4244. type: number
  4245. futurepl:
  4246. description: 期货套期损益
  4247. type: number
  4248. futureplchange:
  4249. description: 期货套期损益变动
  4250. type: number
  4251. hedgeamount:
  4252. description: 套期市价总额
  4253. type: number
  4254. hedgecontractamount:
  4255. description: 套期定价总额 【定价采购合同】【现货贸易】
  4256. type: number
  4257. hedgeditemid:
  4258. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4259. type: string
  4260. hedgeditemname:
  4261. description: 项目名称
  4262. type: string
  4263. hedgeditemnum:
  4264. description: 项目编号
  4265. type: string
  4266. hedgeditemstatus:
  4267. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4268. type: integer
  4269. hedgedtype:
  4270. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4271. type: integer
  4272. hedgeqty:
  4273. description: 套期现货量
  4274. type: number
  4275. hedgerate:
  4276. description: 套保比率
  4277. type: number
  4278. hedgerestamount:
  4279. description: 套期剩余市价总额【现货贸易】
  4280. type: number
  4281. hedgesumpl:
  4282. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4283. type: number
  4284. middlegoodslist:
  4285. description: 套期商品列表
  4286. items:
  4287. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4288. type: array
  4289. oriavgprice:
  4290. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4291. type: number
  4292. orifuturehedgepl:
  4293. description: 期初期货实际损益
  4294. type: number
  4295. orifuturepl:
  4296. description: 期初期货套期损益
  4297. type: number
  4298. orispothedgepl:
  4299. description: 期初现货实际损益
  4300. type: number
  4301. orispotpl:
  4302. description: 期初现货套期损益
  4303. type: number
  4304. planenddate:
  4305. description: 计划结束日期
  4306. type: string
  4307. planstartdate:
  4308. description: 计划开始日期
  4309. type: string
  4310. remark:
  4311. description: 备注
  4312. type: string
  4313. spotbookamount:
  4314. description: 现货账面总额
  4315. type: number
  4316. spotfloatpl:
  4317. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4318. type: number
  4319. spothedgepl:
  4320. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4321. type: number
  4322. spothedgeplchange:
  4323. description: 现货实际损益变动
  4324. type: number
  4325. spotpl:
  4326. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4327. type: number
  4328. spotplchange:
  4329. description: 现货套期损益变动
  4330. type: number
  4331. spottradepl:
  4332. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4333. type: number
  4334. sumobspl:
  4335. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4336. type: number
  4337. tradeuserid:
  4338. description: 交易用户ID
  4339. type: integer
  4340. unexeqty:
  4341. description: 未执行现货量 = 套期现货量 - 执行现货量
  4342. type: number
  4343. updatetime:
  4344. description: 更新时间
  4345. type: string
  4346. vatpl:
  4347. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4348. type: number
  4349. vatrate:
  4350. description: 增值税
  4351. type: number
  4352. wrstandardid:
  4353. description: 现货商品ID
  4354. type: integer
  4355. wrstandardname:
  4356. description: 商品名称
  4357. type: string
  4358. type: object
  4359. models.Ermcp2hedgeditemlink:
  4360. properties:
  4361. areauserid:
  4362. description: 企业ID
  4363. type: integer
  4364. createtime:
  4365. description: '[关联时间]创建时间'
  4366. type: string
  4367. customeruserid:
  4368. description: 对手方 【3:采购合同 4:销售合同】
  4369. type: integer
  4370. deliverygoodsid:
  4371. description: 现货品种ID
  4372. type: integer
  4373. enumdicname:
  4374. description: 单位
  4375. type: string
  4376. hedgeditemid:
  4377. description: 被套期项目ID
  4378. type: integer
  4379. hedgeditemlinkid:
  4380. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4381. type: integer
  4382. hedgeditemnum:
  4383. description: 项目编号
  4384. type: string
  4385. hedgedtype:
  4386. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4387. type: integer
  4388. relatedamount:
  4389. description: 市价总额 = 关联数量 * 期初市场价
  4390. type: number
  4391. relatedhedgeplanid:
  4392. description: 关联计划ID 【1:采购计划 2:销售计划】
  4393. type: integer
  4394. relatedqty:
  4395. description: 关联数量
  4396. type: number
  4397. relatedspotcontractid:
  4398. description: 关联合同ID 【3:采购合同 4:销售合同】
  4399. type: integer
  4400. relatedtype:
  4401. description: 关联类型 - 1:套期关联 2:执行关联
  4402. type: integer
  4403. spotgoodsbrandid:
  4404. description: 现货品牌ID
  4405. type: integer
  4406. spotpricedamount:
  4407. description: '[关联定价总额]定价总额'
  4408. type: number
  4409. spotpricedavgprice:
  4410. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4411. type: number
  4412. spottype:
  4413. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4414. type: integer
  4415. tradeuserid:
  4416. description: 交易用户ID
  4417. type: integer
  4418. unexeqty:
  4419. description: 未执行现货量【项目关联时值】
  4420. type: number
  4421. wrstandardid:
  4422. description: 现货商品ID
  4423. type: integer
  4424. wrstandardname:
  4425. description: 现货商品
  4426. type: string
  4427. required:
  4428. - relatedspotcontractid
  4429. type: object
  4430. models.Ermcp2hedgeditemsDetail:
  4431. properties:
  4432. accountname:
  4433. description: 套期主体
  4434. type: string
  4435. areauserid:
  4436. description: 企业ID
  4437. type: integer
  4438. createtime:
  4439. description: '[日期时间]创建时间'
  4440. type: string
  4441. customeruserid:
  4442. description: 对手方 【3:采购合同 4:销售合同】
  4443. type: integer
  4444. deliverygoodsid:
  4445. description: 现货品种ID
  4446. type: integer
  4447. enumdicname:
  4448. description: 单位
  4449. type: string
  4450. hedgeditemid:
  4451. description: 被套期项目ID
  4452. type: string
  4453. hedgeditemspotid:
  4454. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4455. type: string
  4456. hedgedtype:
  4457. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4458. type: integer
  4459. hedgeplanno:
  4460. description: 计划编号
  4461. type: string
  4462. middlegoodschange:
  4463. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4464. type: number
  4465. oriavgprice:
  4466. description: 期初市场价[当初市场价]
  4467. type: number
  4468. relatedamount:
  4469. description: 市价总额 = 关联数量 * 期初市场价
  4470. type: number
  4471. relatedhedgeplanid:
  4472. description: 关联计划ID 【1:采购计划 2:销售计划】
  4473. type: integer
  4474. relatedqty:
  4475. description: '[期间变化量]关联数量'
  4476. type: number
  4477. relatedspotcontractid:
  4478. description: 关联合同ID 【3:采购合同 4:销售合同】
  4479. type: integer
  4480. relatedtype:
  4481. description: 关联类型 - 1:套期关联 2:执行关联
  4482. type: integer
  4483. spotgoodsbrandid:
  4484. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4485. type: integer
  4486. spotpricedamount:
  4487. description: 定价总额
  4488. type: number
  4489. spotpricedavgprice:
  4490. description: 现货均价 = 定价总额 / 关联数量
  4491. type: number
  4492. spottype:
  4493. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4494. type: integer
  4495. tradeuserid:
  4496. description: 交易用户ID
  4497. type: integer
  4498. unexeqty:
  4499. description: 未执行现货量 = 套期现货量 - 执行现货量
  4500. type: number
  4501. wrstandardid:
  4502. description: 现货商品ID
  4503. type: integer
  4504. wrstandardname:
  4505. description: 现货商品
  4506. type: string
  4507. type: object
  4508. models.Ermcp2hedgeditemspot:
  4509. properties:
  4510. areauserid:
  4511. description: 企业ID
  4512. type: integer
  4513. createtime:
  4514. description: 创建时间
  4515. type: string
  4516. customeruserid:
  4517. description: 对手方 【3:采购合同 4:销售合同】
  4518. type: integer
  4519. deliverygoodsid:
  4520. description: 现货品种ID
  4521. type: integer
  4522. enumdicname:
  4523. description: 单位
  4524. type: string
  4525. hedgeditemid:
  4526. description: 被套期项目ID
  4527. type: string
  4528. hedgeditemspotid:
  4529. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4530. type: string
  4531. hedgedtype:
  4532. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4533. type: integer
  4534. hedgeplanno:
  4535. description: 计划编号
  4536. type: string
  4537. oriavgprice:
  4538. description: 期初市场价[当初市场价]
  4539. type: number
  4540. relatedamount:
  4541. description: 市价总额 = 关联数量 * 期初市场价
  4542. type: number
  4543. relatedhedgeplanid:
  4544. description: 关联计划ID 【1:采购计划 2:销售计划】
  4545. type: integer
  4546. relatedqty:
  4547. description: 关联数量[数量]
  4548. type: number
  4549. relatedspotcontractid:
  4550. description: 关联合同ID 【3:采购合同 4:销售合同】
  4551. type: integer
  4552. relatedtype:
  4553. description: 关联类型 - 1:套期关联 2:执行关联
  4554. type: integer
  4555. spotgoodsbrandid:
  4556. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4557. type: integer
  4558. spotpricedamount:
  4559. description: 定价总额
  4560. type: number
  4561. spotpricedavgprice:
  4562. description: 现货均价 = 定价总额 / 关联数量
  4563. type: number
  4564. spottype:
  4565. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4566. type: integer
  4567. tradeuserid:
  4568. description: 交易用户ID
  4569. type: integer
  4570. wrstandardid:
  4571. description: 现货商品ID
  4572. type: integer
  4573. wrstandardname:
  4574. description: 现货商品
  4575. type: string
  4576. required:
  4577. - hedgeditemid
  4578. type: object
  4579. models.Ermcp2hedgeditemspotDetail:
  4580. properties:
  4581. accountname:
  4582. description: 对手方
  4583. type: string
  4584. areauserid:
  4585. description: 企业ID
  4586. type: integer
  4587. brandname:
  4588. description: 品牌
  4589. type: string
  4590. contractno:
  4591. description: 合同编号
  4592. type: string
  4593. createtime:
  4594. description: 创建时间
  4595. type: string
  4596. customeruserid:
  4597. description: 对手方 【3:采购合同 4:销售合同】
  4598. type: integer
  4599. deliverygoodsid:
  4600. description: 现货品种ID
  4601. type: integer
  4602. enumdicname:
  4603. description: 单位
  4604. type: string
  4605. hedgeditemid:
  4606. description: 被套期项目ID
  4607. type: string
  4608. hedgeditemspotid:
  4609. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4610. type: string
  4611. hedgedtype:
  4612. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4613. type: integer
  4614. oriavgprice:
  4615. description: 期初市场价[当初市场价]
  4616. type: number
  4617. relatedamount:
  4618. description: 市价总额 = 关联数量 * 期初市场价
  4619. type: number
  4620. relatedhedgeplanid:
  4621. description: 关联计划ID 【1:采购计划 2:销售计划】
  4622. type: integer
  4623. relatedqty:
  4624. description: 关联数量[数量]
  4625. type: number
  4626. relatedspotcontractid:
  4627. description: 关联合同ID 【3:采购合同 4:销售合同】
  4628. type: integer
  4629. relatedtype:
  4630. description: 关联类型 - 1:套期关联 2:执行关联
  4631. type: integer
  4632. spotgoodsbrandid:
  4633. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4634. type: integer
  4635. spotpricedamount:
  4636. description: 定价总额[金额]
  4637. type: number
  4638. spotpricedavgprice:
  4639. description: 现货均价 = 定价总额 / 关联数量
  4640. type: number
  4641. spottype:
  4642. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4643. type: integer
  4644. tradeuserid:
  4645. description: 交易用户ID
  4646. type: integer
  4647. wrstandardid:
  4648. description: 现货商品ID
  4649. type: integer
  4650. wrstandardname:
  4651. description: 现货商品
  4652. type: string
  4653. required:
  4654. - hedgeditemid
  4655. type: object
  4656. models.Ermcp2himiddlegoods:
  4657. properties:
  4658. futurehedgeqty:
  4659. description: 期货持仓套期量
  4660. type: number
  4661. hedgeditemid:
  4662. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4663. type: integer
  4664. hiexpsoure:
  4665. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4666. type: number
  4667. middlegoodscode:
  4668. description: 套保商品代码
  4669. type: string
  4670. middlegoodsid:
  4671. description: 套保品种ID
  4672. type: integer
  4673. middlegoodsname:
  4674. description: 套保商品名称
  4675. type: string
  4676. unexehedgeqty:
  4677. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4678. type: number
  4679. required:
  4680. - hedgeditemid
  4681. - middlegoodsid
  4682. type: object
  4683. models.Ermcp2stockspotchangelog:
  4684. properties:
  4685. accountname:
  4686. description: 套期主体
  4687. type: string
  4688. aftervalue:
  4689. description: 现货量
  4690. type: number
  4691. beforevalue:
  4692. description: 变更前现货量
  4693. type: number
  4694. contractno:
  4695. description: '[编号]现货合同编号'
  4696. type: string
  4697. contracttype:
  4698. description: 现货合同类型 - 1:采购 -1:销售
  4699. type: integer
  4700. createtime:
  4701. description: 创建时间
  4702. type: string
  4703. customerusername:
  4704. description: 对手方
  4705. type: string
  4706. deliverygoodsid:
  4707. description: 现货品种ID
  4708. type: integer
  4709. exetype:
  4710. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4711. type: integer
  4712. logid:
  4713. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4714. type: string
  4715. logvalue:
  4716. description: '[期间变化量]现货量变更值'
  4717. type: number
  4718. middlegoodschange:
  4719. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4720. type: number
  4721. operatelogtype:
  4722. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4723. 27:生产出库
  4724. type: integer
  4725. relatedid:
  4726. description: 现货合同ID
  4727. type: integer
  4728. spotgoodsbrandid:
  4729. description: 现货品牌ID
  4730. type: integer
  4731. tradedate:
  4732. description: 交易日(yyyyMMdd)
  4733. type: string
  4734. userid:
  4735. description: 机构ID
  4736. type: integer
  4737. warehouseinfoid:
  4738. description: 仓库ID
  4739. type: integer
  4740. wrfactortypeid:
  4741. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4742. type: integer
  4743. wrstandardid:
  4744. description: 现货商品ID
  4745. type: integer
  4746. wrstandardname:
  4747. description: 商品名称
  4748. type: string
  4749. type: object
  4750. models.Ermcp3AreaSpot:
  4751. properties:
  4752. areauserid:
  4753. description: 所属机构
  4754. type: integer
  4755. convertratio:
  4756. description: 套保系数
  4757. type: number
  4758. decreaseqty:
  4759. description: 减少数量=-(销售已定价数量+采购计划数量)
  4760. type: number
  4761. enumdicname:
  4762. description: 单位名称
  4763. type: string
  4764. increaseqty:
  4765. description: 增加数量=销售计划数量+采购已定价数量
  4766. type: number
  4767. oritoalspotqty:
  4768. description: 昨日数量
  4769. type: number
  4770. totalspotqty:
  4771. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4772. type: number
  4773. unitid:
  4774. description: 现货商品单位id
  4775. type: integer
  4776. updatetime:
  4777. description: 更新时间
  4778. type: string
  4779. wrstandardcode:
  4780. description: 现货商品代码
  4781. type: string
  4782. wrstandardid:
  4783. description: 现货商品ID(SEQ_WRSTANDARD)
  4784. type: integer
  4785. wrstandardname:
  4786. description: 现货商品名称
  4787. type: string
  4788. type: object
  4789. models.Ermcp3AreaSpotDetail:
  4790. properties:
  4791. contracttype:
  4792. description: 合同类型 1-采购 -1-销售
  4793. type: integer
  4794. createtime:
  4795. description: 创建时间
  4796. type: string
  4797. enumdicname:
  4798. description: 现货商品单位名称
  4799. type: string
  4800. logtype:
  4801. description: 记录类型 1-套保 2-现货合同
  4802. type: integer
  4803. qty:
  4804. description: 数量
  4805. type: number
  4806. recordname:
  4807. description: 类型名称
  4808. type: string
  4809. relatedid:
  4810. description: 套保计划ID/现货合同ID
  4811. type: string
  4812. relatedno:
  4813. description: 编号
  4814. type: string
  4815. strtime:
  4816. description: 时间
  4817. type: string
  4818. wrstandardcode:
  4819. description: 现货商品代码
  4820. type: string
  4821. wrstandardid:
  4822. description: 现货商品ID(SEQ_WRSTANDARD)
  4823. type: integer
  4824. wrstandardname:
  4825. description: 现货商品名称
  4826. type: string
  4827. type: object
  4828. models.Ermcp3AreaSpotPLReport:
  4829. properties:
  4830. accountid:
  4831. description: 期货账户ID (作废, 默认为0)
  4832. type: integer
  4833. accountname:
  4834. description: 机构名称
  4835. type: string
  4836. actualpl:
  4837. description: 现货损益
  4838. type: number
  4839. areauserid:
  4840. description: 所属机构\交易用户ID
  4841. type: integer
  4842. begindate:
  4843. description: 开始交易日
  4844. type: string
  4845. biztype:
  4846. description: 业务类型 - 1:套保 2:套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. curamount:
  4852. description: 期末额
  4853. type: number
  4854. curaverageprice:
  4855. description: 期初均价
  4856. type: number
  4857. curbuyamount:
  4858. description: 期末采购总额
  4859. type: number
  4860. curbuyqty:
  4861. description: 期末采购总量
  4862. type: number
  4863. curmarketvalue:
  4864. description: 期初均价
  4865. type: number
  4866. curqty:
  4867. description: 期末量
  4868. type: number
  4869. currencyid:
  4870. description: 结算币种ID【原值】
  4871. type: integer
  4872. currencyname:
  4873. description: 币种名称
  4874. type: string
  4875. cursellamount:
  4876. description: 期末销售总额
  4877. type: number
  4878. cursellqty:
  4879. description: 期末销售总量
  4880. type: number
  4881. curspotprice:
  4882. description: 期初均价
  4883. type: number
  4884. cycletime:
  4885. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4886. type: string
  4887. cycletype:
  4888. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4889. type: integer
  4890. deliverygoodscode:
  4891. description: 现货品种代码
  4892. type: string
  4893. deliverygoodsid:
  4894. description: 现货品种ID
  4895. type: integer
  4896. deliverygoodsname:
  4897. description: 现货品种名称
  4898. type: string
  4899. enddate:
  4900. description: 结束交易日
  4901. type: string
  4902. enumdicname:
  4903. description: 现货品种单位名称(作废)
  4904. type: string
  4905. floatpl:
  4906. description: 期初均价
  4907. type: number
  4908. goodsunitid:
  4909. description: 现货品种单位id(作废)
  4910. type: integer
  4911. oriamount:
  4912. description: 期初额
  4913. type: number
  4914. oriaverageprice:
  4915. description: 期初均价
  4916. type: number
  4917. oribuyamount:
  4918. description: 期初采购总额
  4919. type: number
  4920. oribuyqty:
  4921. description: 期初采购总量
  4922. type: number
  4923. oriqty:
  4924. description: 期初量
  4925. type: number
  4926. orisellamount:
  4927. description: 期初销售总额
  4928. type: number
  4929. orisellqty:
  4930. description: 期初销售总量
  4931. type: number
  4932. reckondate:
  4933. description: 日照时期(yyyyMMdd)
  4934. type: string
  4935. spotgoodsbrandid:
  4936. description: 现货品牌ID
  4937. type: integer
  4938. todaybuyamount:
  4939. description: 今日采购额(今采购额)
  4940. type: number
  4941. todaybuyaverageprice:
  4942. description: 期初均价
  4943. type: number
  4944. todaybuyqty:
  4945. description: 今日采购量(今采购量)
  4946. type: number
  4947. todayinqty:
  4948. description: 今日入库量(今入库量)
  4949. type: number
  4950. todayoutqty:
  4951. description: 今日出库量(今出库量)
  4952. type: number
  4953. todaysellamount:
  4954. description: 今日销售额(今销售额)
  4955. type: number
  4956. todaysellaverageprice:
  4957. description: 期初均价
  4958. type: number
  4959. todaysellqty:
  4960. description: 今日销售量(今销售量)
  4961. type: number
  4962. unitid:
  4963. description: 品类单位id
  4964. type: integer
  4965. unitidname:
  4966. description: 品类单位名称
  4967. type: string
  4968. updatetime:
  4969. description: 更新时间
  4970. type: string
  4971. wrfactortypeid:
  4972. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4973. type: integer
  4974. wrstandardcode:
  4975. description: 现货商品(品类)代码
  4976. type: string
  4977. wrstandardid:
  4978. description: 现货品类ID
  4979. type: integer
  4980. wrstandardname:
  4981. description: 现货商品(品类)名称
  4982. type: string
  4983. type: object
  4984. models.Ermcp3AreaStock:
  4985. properties:
  4986. brandname:
  4987. description: 品牌名称
  4988. type: string
  4989. curstock:
  4990. description: 期末库存量(今日量)
  4991. type: number
  4992. deliverygoodscode:
  4993. description: 现货品种代码
  4994. type: string
  4995. deliverygoodsid:
  4996. description: 现货品种id
  4997. type: integer
  4998. deliverygoodsname:
  4999. description: 现货品种名称
  5000. type: string
  5001. enumdicname:
  5002. description: 单位名称
  5003. type: string
  5004. goodsunitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. oristock:
  5008. description: 期初库存量(昨日量)
  5009. type: number
  5010. spotgoodsbrandid:
  5011. description: 现货品牌ID
  5012. type: integer
  5013. todaybuyinqty:
  5014. description: 今日采购入库量
  5015. type: number
  5016. todayproduceinqty:
  5017. description: 今日生产入库量
  5018. type: number
  5019. todayproduceoutqty:
  5020. description: 今日生产出库量
  5021. type: number
  5022. todayselloutqty:
  5023. description: 今日销售出库量
  5024. type: number
  5025. unitid:
  5026. description: 单位id
  5027. type: integer
  5028. updatetime:
  5029. description: 更新时间
  5030. type: string
  5031. userid:
  5032. description: 机构ID
  5033. type: integer
  5034. username:
  5035. description: 机构名称
  5036. type: string
  5037. warehousecode:
  5038. description: 仓库代码
  5039. type: string
  5040. warehouseinfoid:
  5041. description: 仓库ID
  5042. type: string
  5043. warehousename:
  5044. description: 仓库名称
  5045. type: string
  5046. warehousetype:
  5047. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5048. type: integer
  5049. wrstandardcode:
  5050. description: 品类代码
  5051. type: string
  5052. wrstandardid:
  5053. description: 品类ID
  5054. type: string
  5055. wrstandardname:
  5056. description: 品类名称
  5057. type: string
  5058. required:
  5059. - userid
  5060. type: object
  5061. models.Ermcp3AreaStockApply:
  5062. properties:
  5063. applyid:
  5064. description: 申请人
  5065. type: integer
  5066. applyname:
  5067. description: 申请人名称
  5068. type: string
  5069. applyremark:
  5070. description: 申请备注
  5071. type: string
  5072. applysrc:
  5073. description: 申请来源 - 1:管理端 2:终端
  5074. type: integer
  5075. applystatus:
  5076. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5077. type: integer
  5078. applytime:
  5079. description: 申请时间
  5080. type: string
  5081. auditid:
  5082. description: 审核人
  5083. type: integer
  5084. auditname:
  5085. description: 审核人名称
  5086. type: string
  5087. auditremark:
  5088. description: 审核备注
  5089. type: string
  5090. auditsrc:
  5091. description: 审核来源 - 1:管理端 2:终端
  5092. type: integer
  5093. audittime:
  5094. description: 审核时间
  5095. type: string
  5096. audittradedate:
  5097. description: 审核交易日(yyyyMMdd)
  5098. type: string
  5099. brandname:
  5100. description: 品牌名称
  5101. type: string
  5102. buynickname:
  5103. description: 采购方昵称
  5104. type: string
  5105. buyuserid:
  5106. description: 采购方userid
  5107. type: integer
  5108. buyusername:
  5109. description: 采购方名称
  5110. type: string
  5111. contractno:
  5112. description: 合同编号
  5113. type: string
  5114. contractqty:
  5115. description: 合同量
  5116. type: number
  5117. contracttype:
  5118. description: 现货合同类型 - 1:采购 -1:销售
  5119. type: integer
  5120. deliverygoodscode:
  5121. description: 现货品种代码
  5122. type: string
  5123. deliverygoodsid:
  5124. description: 现货品种id
  5125. type: integer
  5126. deliverygoodsname:
  5127. description: 现货品种名称
  5128. type: string
  5129. detailjson:
  5130. description: 明细数据
  5131. type: string
  5132. enumdicname:
  5133. description: 现货商品单位名称
  5134. type: string
  5135. inoutapplyid:
  5136. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5137. type: string
  5138. inouttype:
  5139. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5140. type: integer
  5141. pricetype:
  5142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5143. type: integer
  5144. qty:
  5145. description: 数量
  5146. type: number
  5147. sellnickname:
  5148. description: 销售方昵称
  5149. type: string
  5150. selluserid:
  5151. description: 销售方userid
  5152. type: integer
  5153. sellusername:
  5154. description: 销售方名称
  5155. type: string
  5156. spotcontractid:
  5157. description: 关联现货合同ID
  5158. type: string
  5159. spotgoodsbrandid:
  5160. description: 现货品牌ID
  5161. type: integer
  5162. unitid:
  5163. description: 单位id
  5164. type: integer
  5165. userid:
  5166. description: 机构ID
  5167. type: integer
  5168. warehousecode:
  5169. description: 仓库代码
  5170. type: string
  5171. warehouseinfoid:
  5172. description: 现货仓库ID
  5173. type: string
  5174. warehousename:
  5175. description: 仓库名称
  5176. type: string
  5177. warehousetype:
  5178. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5179. type: integer
  5180. wrstandardcode:
  5181. description: 品类代码
  5182. type: string
  5183. wrstandardid:
  5184. description: 品类ID
  5185. type: integer
  5186. wrstandardname:
  5187. description: 品类名称
  5188. type: string
  5189. type: object
  5190. models.Ermcp3AreaStockApplySum:
  5191. properties:
  5192. brandname:
  5193. description: 品牌名称
  5194. type: string
  5195. inouttype:
  5196. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5197. type: integer
  5198. spotcontractid:
  5199. description: 关联现货合同ID
  5200. type: string
  5201. spotgoodsbrandid:
  5202. description: 品牌id
  5203. type: integer
  5204. totalqty:
  5205. description: 总数量
  5206. type: number
  5207. wrstandardid:
  5208. description: 品类id
  5209. type: integer
  5210. wrstandardname:
  5211. description: 品类名称
  5212. type: string
  5213. type: object
  5214. models.Ermcp3AreaStockReportEx:
  5215. properties:
  5216. begindate:
  5217. description: 开始交易日
  5218. type: string
  5219. brandname:
  5220. description: 品牌名称
  5221. type: string
  5222. curstock:
  5223. description: 期末库存量
  5224. type: number
  5225. cycletime:
  5226. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5227. type: string
  5228. cycletype:
  5229. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5230. type: integer
  5231. deliverygoodscode:
  5232. description: 现货品种代码
  5233. type: string
  5234. deliverygoodsid:
  5235. description: 现货品种id
  5236. type: integer
  5237. deliverygoodsname:
  5238. description: 现货品种名称
  5239. type: string
  5240. diffqty:
  5241. description: 库存变化量 = 期末 - 期初
  5242. type: number
  5243. enddate:
  5244. description: 结束交易日
  5245. type: string
  5246. enumdicname:
  5247. description: 单位名称
  5248. type: string
  5249. goodsunitid:
  5250. description: 现货单位id
  5251. type: integer
  5252. oristock:
  5253. description: 期初库存量
  5254. type: number
  5255. reckondate:
  5256. description: 日照时期(yyyyMMdd)
  5257. type: string
  5258. spotgoodsbrandid:
  5259. description: 现货品牌ID
  5260. type: integer
  5261. todaybuyinqty:
  5262. description: 今采购入库量
  5263. type: number
  5264. todayproduceinqty:
  5265. description: 今内部入库量
  5266. type: number
  5267. todayproduceoutqty:
  5268. description: 今内部出库量
  5269. type: number
  5270. todayselloutqty:
  5271. description: 今销售出库量
  5272. type: number
  5273. unbuyinqty:
  5274. description: 采购未入库量(数据库未找到相关字段?)
  5275. type: number
  5276. unitid:
  5277. description: 品类单位id
  5278. type: integer
  5279. unselloutqty:
  5280. description: 销售未出库量(数据库未找到相关字段?)
  5281. type: number
  5282. updatetime:
  5283. description: 更新时间
  5284. type: string
  5285. userid:
  5286. description: 机构ID
  5287. type: integer
  5288. username:
  5289. description: 机构名称
  5290. type: string
  5291. warehousecode:
  5292. description: 仓库代码
  5293. type: string
  5294. warehouseinfoid:
  5295. description: 仓库ID
  5296. type: string
  5297. warehousename:
  5298. description: 仓库名称
  5299. type: string
  5300. warehousetype:
  5301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5302. type: integer
  5303. wrstandardcode:
  5304. description: 品类代码
  5305. type: string
  5306. wrstandardid:
  5307. description: 品类ID
  5308. type: integer
  5309. wrstandardname:
  5310. description: 品类名称
  5311. type: string
  5312. type: object
  5313. models.Ermcp3ArealSumPL:
  5314. properties:
  5315. accountname:
  5316. description: 机构名称
  5317. type: string
  5318. areauserid:
  5319. description: 所属机构\交易用户ID
  5320. type: integer
  5321. begindate:
  5322. description: 开始交易日
  5323. type: string
  5324. currencyid:
  5325. description: 结算币种ID
  5326. type: integer
  5327. currencyname:
  5328. description: 币种名称
  5329. type: string
  5330. cycletime:
  5331. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5332. type: string
  5333. cycletype:
  5334. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5335. type: integer
  5336. enddate:
  5337. description: 结束交易日
  5338. type: string
  5339. enumdicname:
  5340. description: 单位名称(套保品种)
  5341. type: string
  5342. futureactualpl:
  5343. description: 期货损益
  5344. type: number
  5345. futurefloatpl:
  5346. description: 期货浮动损益
  5347. type: number
  5348. futurespotratio:
  5349. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5350. type: number
  5351. goodsunitid:
  5352. description: 套保品种单位id
  5353. type: integer
  5354. hedgeexposurepl:
  5355. description: 套保敞口损益
  5356. type: number
  5357. middlegoodscode:
  5358. description: 套保品种代码
  5359. type: string
  5360. middlegoodsid:
  5361. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5362. type: integer
  5363. middlegoodsname:
  5364. description: 套保品种名称
  5365. type: string
  5366. reckondate:
  5367. description: 日照时期(yyyyMMdd)
  5368. type: string
  5369. spotactualpl:
  5370. description: 现货损益
  5371. type: number
  5372. spotfloatpl:
  5373. description: 现货浮动损益
  5374. type: number
  5375. sumactualpl:
  5376. description: 实际损益 = (ActualPL + FutureActualPL)
  5377. type: number
  5378. sumpl:
  5379. description: 总敞口损益 | 汇总损益
  5380. type: number
  5381. totalfutureqty:
  5382. description: 期货头寸总量
  5383. type: number
  5384. totalneedhedgeqty:
  5385. description: 应套保总量
  5386. type: number
  5387. totalspotqty:
  5388. description: 现货头寸总量
  5389. type: number
  5390. updatetime:
  5391. description: 更新时间
  5392. type: string
  5393. type: object
  5394. models.Ermcp3Brand:
  5395. properties:
  5396. areauserid:
  5397. description: 用户id
  5398. type: integer
  5399. brandid:
  5400. description: 品牌id
  5401. type: integer
  5402. brandname:
  5403. description: 品牌名称
  5404. type: string
  5405. deliverygoodsid:
  5406. description: 品种ID
  5407. type: integer
  5408. isvalid:
  5409. description: 是否有效
  5410. type: integer
  5411. type: object
  5412. models.Ermcp3Contract:
  5413. properties:
  5414. accountid:
  5415. description: 期货账户id
  5416. type: string
  5417. amount:
  5418. description: 金额 [1:一口价、3:暂定价]
  5419. type: number
  5420. attachment:
  5421. description: 附件
  5422. type: string
  5423. auditremark:
  5424. description: 审核意见
  5425. type: string
  5426. audittime:
  5427. description: 审核时间
  5428. type: string
  5429. biztype:
  5430. description: 业务类型 1-套保 2-套利
  5431. type: integer
  5432. brandname:
  5433. description: 品牌名称
  5434. type: string
  5435. buynickname:
  5436. description: 销售方昵称
  5437. type: string
  5438. buyuserid:
  5439. description: 采购方ID
  5440. type: integer
  5441. buyusername:
  5442. description: 采购方名称
  5443. type: string
  5444. contracctstatus:
  5445. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5446. type: integer
  5447. contractmargin:
  5448. description: 合同保证金
  5449. type: number
  5450. contractno:
  5451. description: 现货合同编号
  5452. type: string
  5453. contracttype:
  5454. description: 现货合同类型 - 1:采购 -1:销售
  5455. type: integer
  5456. convertfactor:
  5457. description: 标仓系数(品类)
  5458. type: number
  5459. createtime:
  5460. description: 创建时间
  5461. type: string
  5462. currencyid:
  5463. description: 币种id
  5464. type: integer
  5465. currencyname:
  5466. description: 币种名称
  5467. type: string
  5468. deliveryenddate:
  5469. description: 交收期(结束)
  5470. type: string
  5471. deliverygoodscode:
  5472. description: 现货品种代码
  5473. type: string
  5474. deliverygoodsid:
  5475. description: 现货品种ID
  5476. type: integer
  5477. deliverygoodsname:
  5478. description: 现货品种名称
  5479. type: string
  5480. deliverystartdate:
  5481. description: 交收期(开始)
  5482. type: string
  5483. enddate:
  5484. description: 点价结束日期 [2:点价 3:暂定价]
  5485. type: string
  5486. enumdicname:
  5487. description: 单位名称
  5488. type: string
  5489. goodscode:
  5490. description: 点价合约代码
  5491. type: string
  5492. goodsid:
  5493. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5494. type: integer
  5495. goodsname:
  5496. description: 点价商品名称
  5497. type: string
  5498. margin:
  5499. description: 当前保证金
  5500. type: number
  5501. meruserid:
  5502. description: 跟单员id
  5503. type: integer
  5504. meruserlogincode:
  5505. description: 跟单员登录代码
  5506. type: string
  5507. merusername:
  5508. description: 跟单员名称
  5509. type: string
  5510. pointdesc:
  5511. description: 点价备注
  5512. type: string
  5513. price:
  5514. description: 价格\暂定价 [1:一口价、3:暂定价]
  5515. type: number
  5516. pricemove:
  5517. description: 升贴水 [2:点价 3:暂定价]
  5518. type: number
  5519. pricetype:
  5520. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5521. type: integer
  5522. producttype:
  5523. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5524. type: integer
  5525. qty:
  5526. description: 数量
  5527. type: number
  5528. remark:
  5529. description: 备注
  5530. type: string
  5531. saleuserid:
  5532. description: 业务员id
  5533. type: integer
  5534. saleuserlogincode:
  5535. description: 业务员登录代码
  5536. type: string
  5537. saleusername:
  5538. description: 业务员名称
  5539. type: string
  5540. sellnickname:
  5541. description: 采购方昵称
  5542. type: string
  5543. selluserid:
  5544. description: 销售方ID
  5545. type: integer
  5546. sellusername:
  5547. description: 销售方名称
  5548. type: string
  5549. spotcontractid:
  5550. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5551. type: string
  5552. spotgoodsbrandid:
  5553. description: 现货品牌ID(DGFactoryItem表的ID)
  5554. type: integer
  5555. spotgoodsdesc:
  5556. description: 商品型号
  5557. type: string
  5558. startdate:
  5559. description: 点价开始日期 [2:点价 3:暂定价]
  5560. type: string
  5561. subjectid:
  5562. description: 交易主体ID
  5563. type: integer
  5564. subjectname:
  5565. description: 交易主体名称
  5566. type: string
  5567. tradeuserid:
  5568. description: 交易员id
  5569. type: integer
  5570. tradeuserlogincode:
  5571. description: 交易员登录代码
  5572. type: string
  5573. tradeusername:
  5574. description: 交易员名称
  5575. type: string
  5576. unitid:
  5577. description: 单位id(取品类上的单位id)
  5578. type: integer
  5579. updatetime:
  5580. description: 更新时间
  5581. type: string
  5582. userid:
  5583. description: 所属机构ID
  5584. type: integer
  5585. vatrate:
  5586. description: 增值税率
  5587. type: number
  5588. wrstandardcode:
  5589. description: 品类代码
  5590. type: string
  5591. wrstandardid:
  5592. description: 品类ID
  5593. type: integer
  5594. wrstandardname:
  5595. description: 品类名称
  5596. type: string
  5597. type: object
  5598. models.Ermcp3ContractMiddleGoodsCfg:
  5599. properties:
  5600. agreeunit:
  5601. description: 合约乘数
  5602. type: number
  5603. convertratio:
  5604. description: 期货品种系数
  5605. type: number
  5606. covertqty:
  5607. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5608. type: integer
  5609. middlegoodsid:
  5610. description: 套保品种ID
  5611. type: integer
  5612. middlegoodspricedqty3:
  5613. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5614. example: "0"
  5615. type: string
  5616. pendingpricedqty:
  5617. description: 待点价量
  5618. example: "0"
  5619. type: string
  5620. relatedmiddlegoodsqty:
  5621. description: 已关联量(套保品种-期货)
  5622. example: "0"
  5623. type: string
  5624. spotcontractid:
  5625. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5626. type: string
  5627. type: object
  5628. models.Ermcp3ExposureContractDetail:
  5629. properties:
  5630. biztype:
  5631. description: 业务类型 1-套保 2-套利
  5632. type: integer
  5633. brandname:
  5634. description: 品牌名称
  5635. type: string
  5636. buyuserid:
  5637. description: 采购方id
  5638. type: integer
  5639. buyusername:
  5640. description: 采购方名称
  5641. type: string
  5642. contractno:
  5643. description: 合同编号
  5644. type: string
  5645. contracttype:
  5646. description: 现货合同类型 - 1:采购 -1:销售
  5647. type: integer
  5648. convertfactor:
  5649. description: 标仓系数
  5650. type: number
  5651. convertratio:
  5652. description: 折算系数(套保品种)
  5653. type: number
  5654. curqty:
  5655. description: 今定价量
  5656. type: number
  5657. deliverygoodscode:
  5658. description: 现货品种代码
  5659. type: string
  5660. deliverygoodsid:
  5661. description: 现货品种id
  5662. type: integer
  5663. deliverygoodsname:
  5664. description: 现货品种名称
  5665. type: string
  5666. diffhedgeqty:
  5667. description: 套保变动量
  5668. type: number
  5669. diffneedhedgeqty:
  5670. description: 应套保变动量
  5671. type: number
  5672. diffqty:
  5673. description: 套保品种今变动量
  5674. type: number
  5675. enumdicname:
  5676. description: 单位名称
  5677. type: string
  5678. mgunitname:
  5679. description: 套保品种单位名称
  5680. type: string
  5681. middlegoodscode:
  5682. description: 套保品种代码
  5683. type: string
  5684. middlegoodsid:
  5685. description: 套保品种id
  5686. type: integer
  5687. middlegoodsname:
  5688. description: 套保品种名称
  5689. type: string
  5690. needarbitrageratio:
  5691. description: 应套利比例
  5692. type: number
  5693. needhedgeratio:
  5694. description: 应套保比例
  5695. type: number
  5696. pricedqty:
  5697. description: 已定价量
  5698. type: number
  5699. qty:
  5700. description: 合同量
  5701. type: number
  5702. reckondate:
  5703. description: 交易日(reckondate)
  5704. type: string
  5705. selluserid:
  5706. description: 销售方id
  5707. type: integer
  5708. sellusername:
  5709. description: 销售方名称
  5710. type: string
  5711. spotcontractid:
  5712. description: 合同id
  5713. type: string
  5714. todaypricedqty:
  5715. description: 今定价量
  5716. type: number
  5717. tradedate:
  5718. description: 交易日
  5719. type: string
  5720. unitid:
  5721. description: 品类单位id
  5722. type: integer
  5723. userid:
  5724. description: 机构id
  5725. type: integer
  5726. username:
  5727. description: 交易用户
  5728. type: string
  5729. wrstandardcode:
  5730. description: 现货商品代码
  5731. type: string
  5732. wrstandardid:
  5733. description: 现货商品id
  5734. type: integer
  5735. wrstandardname:
  5736. description: 现货商品名称
  5737. type: string
  5738. type: object
  5739. models.Ermcp3ExposureDetail:
  5740. properties:
  5741. areauserid:
  5742. description: 机构ID
  5743. type: integer
  5744. changeQty:
  5745. description: 套保变动量
  5746. type: number
  5747. contracttype:
  5748. description: 现货合同类型 - 1:采购 -1:销售
  5749. type: integer
  5750. convertfactor:
  5751. description: 标仓系数
  5752. type: number
  5753. convertratio:
  5754. description: 折算系数
  5755. type: number
  5756. createtime:
  5757. description: 时间
  5758. type: string
  5759. enumdicname:
  5760. description: 现货商品单位名称
  5761. type: string
  5762. logtype:
  5763. description: 类型 - 1:套保计划 2:现货合同
  5764. type: integer
  5765. mgunitid:
  5766. description: 套保品种单位id
  5767. type: integer
  5768. mgunitidname:
  5769. description: 套保品种单位名称
  5770. type: string
  5771. middlegoodsId:
  5772. description: 套保商品id
  5773. type: integer
  5774. middlegoodscode:
  5775. description: 套保商品代码
  5776. type: string
  5777. middlegoodsname:
  5778. description: 套保商品名称
  5779. type: string
  5780. qty:
  5781. description: 数量
  5782. type: number
  5783. relateNo:
  5784. description: 现货合同/套保计划编号
  5785. type: string
  5786. unitid:
  5787. description: 现货商品单位id
  5788. type: integer
  5789. wrstandardcode:
  5790. description: 现货商品代码
  5791. type: string
  5792. wrstandardid:
  5793. description: 现货商品ID(SEQ_WRSTANDARD)
  5794. type: integer
  5795. wrstandardname:
  5796. description: 现货商品名称
  5797. type: string
  5798. type: object
  5799. models.Ermcp3ExposureFutuDetail:
  5800. properties:
  5801. accountid:
  5802. description: 交易账户id
  5803. type: integer
  5804. accountname:
  5805. description: 交易账户
  5806. type: string
  5807. begindate:
  5808. description: 开始交易日
  5809. type: string
  5810. buyorsell:
  5811. description: 方向 0-买 1-卖
  5812. type: integer
  5813. diffmgqty:
  5814. description: 套保品种今变化量
  5815. type: number
  5816. diffneedqty:
  5817. description: 应套保总量变化量
  5818. type: number
  5819. difftradeqty:
  5820. description: 交易品种今变化量
  5821. type: number
  5822. enddate:
  5823. description: 结束交易日
  5824. type: string
  5825. enumdicname:
  5826. description: 单位名称
  5827. type: string
  5828. goodscode:
  5829. description: 商品代码
  5830. type: string
  5831. goodsid:
  5832. description: 商品id
  5833. type: integer
  5834. goodsname:
  5835. description: 商品名称
  5836. type: string
  5837. holdqty:
  5838. description: 期末持仓量
  5839. type: number
  5840. middlegoodscode:
  5841. description: 套保商品代码
  5842. type: string
  5843. middlegoodsid:
  5844. description: 套保商品id
  5845. type: integer
  5846. middlegoodsname:
  5847. description: 套保商品名称
  5848. type: string
  5849. oriholdqty:
  5850. description: 期初持仓量
  5851. type: number
  5852. reckondate:
  5853. description: 交易日(RECKONDATE)
  5854. type: string
  5855. todaycloseqty:
  5856. description: 今平仓量
  5857. type: number
  5858. todayopenqty:
  5859. description: 今开仓量
  5860. type: number
  5861. tradedate:
  5862. description: 交易日(RECKONDATE)
  5863. type: string
  5864. username:
  5865. description: 用户名称(交易用户)
  5866. type: string
  5867. type: object
  5868. models.Ermcp3ExposureHedgeplanDetail:
  5869. properties:
  5870. biztype:
  5871. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5872. type: integer
  5873. changqty:
  5874. description: 应套保总量变化量
  5875. type: number
  5876. contracttype:
  5877. description: 计划类型 - 1:采购 -1:销售
  5878. type: integer
  5879. convertratio:
  5880. description: 折算系数(套保品种)
  5881. type: number
  5882. deliverygoodscode:
  5883. description: 现货商品代码
  5884. type: string
  5885. deliverygoodsid:
  5886. description: 现货商品id
  5887. type: integer
  5888. deliverygoodsname:
  5889. description: 现货商吕名称
  5890. type: string
  5891. dgunitid:
  5892. description: 现货商品单位id
  5893. type: integer
  5894. dgunitidname:
  5895. description: 单位名称(现货商品)
  5896. type: string
  5897. diffqty:
  5898. description: 套保品种今变动量
  5899. type: number
  5900. enumdicname:
  5901. description: 单位名称(品类)
  5902. type: string
  5903. hedgeplanid:
  5904. description: 套保计划id
  5905. type: string
  5906. hedgeplanno:
  5907. description: 套保计划名称
  5908. type: string
  5909. hedgeplanstatus:
  5910. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5911. type: integer
  5912. mgunitidname:
  5913. description: 单位名称(套保商品)
  5914. type: string
  5915. middlegoodscode:
  5916. description: 套保品种代码
  5917. type: string
  5918. middlegoodsid:
  5919. description: 套保品种id
  5920. type: integer
  5921. middlegoodsname:
  5922. description: 套保品种名称
  5923. type: string
  5924. needarbitrageratio:
  5925. description: 应套利比例
  5926. type: number
  5927. needhedgeratio:
  5928. description: 应套保比例
  5929. type: number
  5930. pricedqty:
  5931. description: 已定价量
  5932. type: number
  5933. qty:
  5934. description: 合同量
  5935. type: number
  5936. reckondate:
  5937. description: 交易日(reckondate)
  5938. type: string
  5939. tradedate:
  5940. description: 交易日(登记日)
  5941. type: string
  5942. unitid:
  5943. description: 品类单位id
  5944. type: integer
  5945. userid:
  5946. description: 机构id
  5947. type: integer
  5948. wrstandardcode:
  5949. description: 品类代码
  5950. type: string
  5951. wrstandardid:
  5952. description: 品类id
  5953. type: integer
  5954. wrstandardname:
  5955. description: 品类名称
  5956. type: string
  5957. type: object
  5958. models.Ermcp3ExposureParamChLog:
  5959. properties:
  5960. accountid:
  5961. description: 期货账户ID (作废, 默认为0)
  5962. type: integer
  5963. aftervalue:
  5964. description: 应套保\套利量变更后(调整后应套保总量)
  5965. type: number
  5966. areauserid:
  5967. description: 所属机构\交易用户ID
  5968. type: integer
  5969. beforevalue:
  5970. description: 应套保\套利量变更前(调整前应套保总量)
  5971. type: number
  5972. begindate:
  5973. description: 开始交易日
  5974. type: string
  5975. changelogtype:
  5976. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5977. type: integer
  5978. curvalue:
  5979. description: 当前套保\套利量(套保总量|套利总量)
  5980. type: number
  5981. diffvalue:
  5982. description: 应套保总量变化量
  5983. type: number
  5984. enddate:
  5985. description: 结束交易日
  5986. type: string
  5987. logdatetime:
  5988. description: 流水日期
  5989. type: string
  5990. logid:
  5991. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5992. type: string
  5993. middlegoodscode:
  5994. description: 套保品种代码
  5995. type: string
  5996. middlegoodsid:
  5997. description: 套保品种
  5998. type: integer
  5999. middlegoodsname:
  6000. description: 套保品种名称
  6001. type: string
  6002. paramaftervalue:
  6003. description: 参数变更后(调整后参数值)
  6004. type: number
  6005. parambeforevalue:
  6006. description: 参数变更前(调整前参数值)
  6007. type: number
  6008. reckondate:
  6009. description: 交易日(reckondate)
  6010. type: string
  6011. tradedate:
  6012. description: 交易日(yyyyMMdd)
  6013. type: string
  6014. type: object
  6015. models.Ermcp3ExpourseReport:
  6016. properties:
  6017. accountid:
  6018. description: 期货账户ID (作废, 默认为0)
  6019. type: integer
  6020. accountname:
  6021. description: 机构名称
  6022. type: string
  6023. arbitrageqty:
  6024. description: 套利量
  6025. type: number
  6026. areauserid:
  6027. description: 所属机构\交易用户ID
  6028. type: integer
  6029. begindate:
  6030. description: 开始交易日
  6031. type: string
  6032. buyfutureqty:
  6033. description: 买入期货数量
  6034. type: number
  6035. buyplanqty:
  6036. description: 采购计划数量
  6037. type: number
  6038. buypricedqty:
  6039. description: 采购合同已定价数量
  6040. type: number
  6041. cycletime:
  6042. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6043. type: string
  6044. cycletype:
  6045. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6046. type: integer
  6047. diffexposure:
  6048. description: 变动量(套保敞口)
  6049. type: number
  6050. difffutuqty:
  6051. description: 变动量(期货)
  6052. type: number
  6053. diffhedgeqty:
  6054. description: 变动量(现货应套保总量)
  6055. type: number
  6056. diffmgqtya:
  6057. description: 套保变动量
  6058. type: number
  6059. diffmgqtyb:
  6060. description: 套利变动量
  6061. type: number
  6062. diffneedqty:
  6063. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6064. type: number
  6065. diffqty:
  6066. description: 变动量(总敞口)
  6067. type: number
  6068. diffspotqty:
  6069. description: 变动量(现货) | 除税变动量
  6070. type: number
  6071. enddate:
  6072. description: 结束交易日
  6073. type: string
  6074. enumdicname:
  6075. description: 单位名称
  6076. type: string
  6077. hedgeqty:
  6078. description: 套保量
  6079. type: number
  6080. mgneedhedgeratio:
  6081. description: 套保比例(套保品的)
  6082. type: number
  6083. middlegoodsid:
  6084. description: 套保品种ID
  6085. type: integer
  6086. middlegoodsname:
  6087. description: 套保商品名称
  6088. type: string
  6089. middlgoodscode:
  6090. description: 套保商品代码
  6091. type: string
  6092. needarbitrageqty:
  6093. description: 应套利量
  6094. type: number
  6095. needarbitrageratio:
  6096. description: 套利比例(套保品的)
  6097. type: number
  6098. needhedgeexposoure:
  6099. description: 应套保敞口(套保敞口)
  6100. type: number
  6101. needhedgeqty:
  6102. description: 应套保量
  6103. type: number
  6104. needhedgeratio:
  6105. description: 应套保敞口比例
  6106. type: number
  6107. needqty:
  6108. description: 应套总量 = 应套保量 + 应套利量
  6109. type: number
  6110. oriarbitrageqty:
  6111. description: 期初套利量
  6112. type: number
  6113. oribuyfutureqty:
  6114. description: 期初买入期货数量
  6115. type: number
  6116. oribuyplanqty:
  6117. description: 期初采购计划数量
  6118. type: number
  6119. oribuypricedqty:
  6120. description: 期初采购合同已定价数量
  6121. type: number
  6122. orihedgeqty:
  6123. description: 期初套保量
  6124. type: number
  6125. orineedarbitrageqty:
  6126. description: 期初应套利量
  6127. type: number
  6128. orineedhedgeexposoure:
  6129. description: 期初应套保敞口
  6130. type: number
  6131. orineedhedgeqty:
  6132. description: 期初应套保量
  6133. type: number
  6134. orisellfutureqty:
  6135. description: 期初卖出期货数量
  6136. type: number
  6137. orisellplanqty:
  6138. description: 期初销售计划数量
  6139. type: number
  6140. orisellpricedqty:
  6141. description: 期初销售合同已定价数量
  6142. type: number
  6143. oritotalexposure:
  6144. description: 期初实时总敞口
  6145. type: number
  6146. oritotalfutureqty:
  6147. description: 期初期货头寸总量
  6148. type: number
  6149. oritotalneedhedgeqty:
  6150. description: 期初应套保总量
  6151. type: number
  6152. oritotalspotqty:
  6153. description: 期初现货头寸总量
  6154. type: number
  6155. reckondate:
  6156. description: 日照时期(yyyyMMdd)
  6157. type: string
  6158. sellfutureqty:
  6159. description: 卖出期货数量
  6160. type: number
  6161. sellplanqty:
  6162. description: 销售计划数量
  6163. type: number
  6164. sellpricedqty:
  6165. description: 销售合同已定价数量
  6166. type: number
  6167. totalexposure:
  6168. description: 实时总敞口(总敞口)
  6169. type: number
  6170. totalfutureqty:
  6171. description: 期货头寸总量(期货总量)
  6172. type: number
  6173. totalhedgeratio:
  6174. description: 敞口比例
  6175. type: number
  6176. totalneedhedgeqty:
  6177. description: 应套保总量(现货应套保总量)
  6178. type: number
  6179. totalspotqty:
  6180. description: 现货头寸总量 | 除税总量
  6181. type: number
  6182. unitid:
  6183. description: 单位id
  6184. type: integer
  6185. updatetime:
  6186. description: 更新时间
  6187. type: string
  6188. type: object
  6189. models.Ermcp3FinanceReport:
  6190. properties:
  6191. accountname:
  6192. description: 机构名称
  6193. type: string
  6194. areauserid:
  6195. description: 所属机构\交易用户ID
  6196. type: integer
  6197. begindate:
  6198. description: 开始交易日
  6199. type: string
  6200. biztype:
  6201. description: 业务类型 - 1:套保 2:套利
  6202. type: integer
  6203. brandname:
  6204. description: 品牌名称
  6205. type: string
  6206. buypreinvoicedamount:
  6207. description: 采购预收票额(预收票额)
  6208. type: number
  6209. buyprepaidamount:
  6210. description: 采购预付款额(预付货款额)
  6211. type: number
  6212. buytodayinvoiceamount:
  6213. description: 采购今收票额(今收票额)
  6214. type: number
  6215. buytodayrefundamount:
  6216. description: 采购今收退款额(今收退款额)
  6217. type: number
  6218. buytodaysettleamount:
  6219. description: 采购今付款额(今付货款额)
  6220. type: number
  6221. buyuninvoicedamount:
  6222. description: 采购应收票额(应收票额)
  6223. type: number
  6224. buyunpaidamount:
  6225. description: 采购应付款额(应付货款额)
  6226. type: number
  6227. currencyid:
  6228. description: 结算币种ID
  6229. type: integer
  6230. currencyname:
  6231. description: 币种名称
  6232. type: string
  6233. cycletime:
  6234. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6235. type: string
  6236. cycletype:
  6237. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6238. type: integer
  6239. deliverygoodscode:
  6240. description: 现货品种代码
  6241. type: string
  6242. deliverygoodsid:
  6243. description: 现货品种ID
  6244. type: integer
  6245. deliverygoodsname:
  6246. description: 现货品种名称
  6247. type: string
  6248. enddate:
  6249. description: 结束交易日
  6250. type: string
  6251. reckondate:
  6252. description: 日照时期(yyyyMMdd)
  6253. type: string
  6254. sellpreinvoicedamount:
  6255. description: 销售预开票额(预开票额)
  6256. type: number
  6257. sellprepaidamount:
  6258. description: 销售预收款额(预收货款额)
  6259. type: number
  6260. selltodayinvoiceamount:
  6261. description: 销售今开票额(今开票额)
  6262. type: number
  6263. selltodayrefundamount:
  6264. description: 销售今付退款额(今付退款额)
  6265. type: number
  6266. selltodaysettleamount:
  6267. description: 销售今收款额(今收货款额)
  6268. type: number
  6269. selluninvoicedamount:
  6270. description: 销售应开票额(应开票额)
  6271. type: number
  6272. sellunpaidamount:
  6273. description: 销售应收款额(应收货款额)
  6274. type: number
  6275. spotgoodsbrandid:
  6276. description: 现货品牌ID
  6277. type: integer
  6278. todaypaysum:
  6279. description: 今付款合计
  6280. type: number
  6281. todayreceivesum:
  6282. description: 今收款合计
  6283. type: number
  6284. updatetime:
  6285. description: 更新时间
  6286. type: string
  6287. wrfactortypeid:
  6288. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6289. type: integer
  6290. wrstandardcode:
  6291. description: 品类代码
  6292. type: string
  6293. wrstandardid:
  6294. description: 现货商品ID
  6295. type: integer
  6296. wrstandardname:
  6297. description: 品类名称
  6298. type: string
  6299. type: object
  6300. models.Ermcp3GoodsGroup:
  6301. properties:
  6302. agreeunit:
  6303. description: 合约单位
  6304. type: number
  6305. areauserid:
  6306. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6307. type: integer
  6308. canshort:
  6309. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6310. type: integer
  6311. closepricemode:
  6312. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6313. type: integer
  6314. createtime:
  6315. description: 创建时间
  6316. type: string
  6317. creatorid:
  6318. description: 创建人
  6319. type: integer
  6320. currencyid:
  6321. description: 报价货币ID
  6322. type: integer
  6323. decimalplace:
  6324. description: 报价小数位
  6325. type: integer
  6326. enumdicname:
  6327. description: 单位名称
  6328. type: string
  6329. exchangefullname:
  6330. description: 交易所全称
  6331. type: string
  6332. excludecfg:
  6333. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6334. type: integer
  6335. exexchangecode:
  6336. description: 交易所代码
  6337. type: string
  6338. exexchangeid:
  6339. description: 外部交易所ID[通道交易]
  6340. type: integer
  6341. exexchangename:
  6342. description: 交易所名称
  6343. type: string
  6344. goodsgroupid:
  6345. description: 商品组ID(自增ID)
  6346. type: integer
  6347. goodsgroupname:
  6348. description: 商品组名称
  6349. type: string
  6350. goodsgroupstatus:
  6351. description: 商品组状态 - 1:正常 2:注销
  6352. type: integer
  6353. goodunitid:
  6354. description: 报价单位ID
  6355. type: integer
  6356. groupcategroyid:
  6357. description: 品种分类ID
  6358. type: integer
  6359. innerdealmode:
  6360. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6361. type: integer
  6362. marketid:
  6363. description: 所属市场ID
  6364. type: integer
  6365. modifierid:
  6366. description: 修改人
  6367. type: integer
  6368. modifytime:
  6369. description: 修改时间
  6370. type: string
  6371. outerdealmode:
  6372. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. outergroupcode:
  6375. description: 外部商品组代码[通道交易]
  6376. type: string
  6377. quoteminunit:
  6378. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6379. type: integer
  6380. quotesourcegroupid:
  6381. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6382. type: integer
  6383. syncgoodsqty:
  6384. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6385. type: integer
  6386. required:
  6387. - areauserid
  6388. type: object
  6389. models.Ermcp3HPMiddleGoods:
  6390. properties:
  6391. biztype:
  6392. description: 业务类型 1:套保 2:套利
  6393. type: integer
  6394. contracttype:
  6395. description: 合同类型 1:采购 -1:销售
  6396. type: integer
  6397. convertratio:
  6398. description: 折算系数
  6399. type: number
  6400. customername:
  6401. description: 对手手名称
  6402. type: string
  6403. customeruserid:
  6404. description: 对手id
  6405. type: integer
  6406. enumdicname:
  6407. description: 现货单位名称
  6408. type: string
  6409. hedgeplanid:
  6410. description: 计划id
  6411. type: string
  6412. hedgeplanno:
  6413. description: 计划编号
  6414. type: string
  6415. middlegoodsid:
  6416. description: 套保品种ID
  6417. type: integer
  6418. middlegoodsplanqty3:
  6419. description: 应套保计划量
  6420. type: number
  6421. needhedgeratio:
  6422. description: 套保比例
  6423. type: number
  6424. pricedqty:
  6425. description: 已定价量
  6426. type: number
  6427. relatedmiddlegoodsqty:
  6428. description: 已关联量(套保品种)(期货)
  6429. type: number
  6430. unitid:
  6431. description: 现货单位id
  6432. type: integer
  6433. userid:
  6434. description: 用户id
  6435. type: integer
  6436. vatrate:
  6437. description: 增值税率
  6438. type: number
  6439. wrstandardcode:
  6440. description: 现货商品代码
  6441. type: string
  6442. wrstandardid:
  6443. description: 现货商品id
  6444. type: integer
  6445. wrstandardname:
  6446. description: 现货商品名称
  6447. type: string
  6448. type: object
  6449. models.Ermcp3HedgePlan:
  6450. properties:
  6451. accountid:
  6452. description: 资金账号
  6453. type: integer
  6454. areauserid:
  6455. description: 用户ID
  6456. type: integer
  6457. auditid:
  6458. description: 审核id
  6459. type: integer
  6460. auditname:
  6461. description: 审核人名称
  6462. type: string
  6463. auditremark:
  6464. description: 审核备注
  6465. type: string
  6466. auditsrc:
  6467. description: 审核来源 1-管理端 2-终端
  6468. type: integer
  6469. audittime:
  6470. description: 审核时间
  6471. type: string
  6472. contracttype:
  6473. description: 计划类型 - 1:采购 -1:销售
  6474. type: integer
  6475. convertfactor:
  6476. description: 标仓系数
  6477. type: number
  6478. createtime:
  6479. description: 创建时间
  6480. type: string
  6481. currencyid:
  6482. description: 币种id
  6483. type: integer
  6484. currencyname:
  6485. description: 币种名称
  6486. type: string
  6487. deliverygoodscode:
  6488. description: 现货品种代码
  6489. type: string
  6490. deliverygoodsid:
  6491. description: 现货品种ID
  6492. type: integer
  6493. deliverygoodsname:
  6494. description: 现货品种名称
  6495. type: string
  6496. enumdicname:
  6497. description: 单位名称(现货商品)
  6498. type: string
  6499. hedgeplanid:
  6500. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6501. type: string
  6502. hedgeplanno:
  6503. description: 套保计划编号(名称)
  6504. type: string
  6505. hedgeplanstatus:
  6506. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6507. type: integer
  6508. planqty:
  6509. description: 计划数量
  6510. type: number
  6511. plantime:
  6512. description: 计划时间
  6513. type: string
  6514. producttype:
  6515. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6516. type: integer
  6517. remark:
  6518. description: 备注
  6519. type: string
  6520. spotgoodsdesc:
  6521. description: 商品型号
  6522. type: string
  6523. taaccountname:
  6524. description: 资金账号名称
  6525. type: string
  6526. tradeuserid:
  6527. description: 交易用户id
  6528. type: integer
  6529. tradeusername:
  6530. description: 交易用户名称
  6531. type: string
  6532. unitid:
  6533. description: 单位id(现货商品)
  6534. type: integer
  6535. updatetime:
  6536. description: 更新时间
  6537. type: string
  6538. vatrate:
  6539. description: 增值税率
  6540. type: number
  6541. wrstandardcode:
  6542. description: 品类代码
  6543. type: string
  6544. wrstandardid:
  6545. description: 品类id
  6546. type: integer
  6547. wrstandardname:
  6548. description: 品类名称
  6549. type: string
  6550. wrunitid:
  6551. description: 品类单位id
  6552. type: integer
  6553. wrunitidame:
  6554. description: 品类单位名称
  6555. type: string
  6556. type: object
  6557. models.Ermcp3InnerTradeLink:
  6558. properties:
  6559. accountid:
  6560. description: 期货账号代码 | 资金账号ID
  6561. type: integer
  6562. buyorsell:
  6563. description: 方向 - 0:买 1:卖
  6564. type: integer
  6565. channelbuildtype:
  6566. description: 委托单据类型 0:无 1:建仓 2:平仓
  6567. type: integer
  6568. currencyid:
  6569. description: 币种id
  6570. type: integer
  6571. currencyname:
  6572. description: 结算币种 名称
  6573. type: string
  6574. goodscode:
  6575. description: 商品代码
  6576. type: string
  6577. goodsid:
  6578. description: 商品ID
  6579. type: integer
  6580. goodsname:
  6581. description: 商品名称
  6582. type: string
  6583. outtradeid:
  6584. description: 外部成交单号
  6585. type: string
  6586. taname:
  6587. description: 期货账户名称
  6588. type: string
  6589. tradeid:
  6590. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6591. type: string
  6592. tradeprice:
  6593. description: 成交价格
  6594. type: number
  6595. tradeqty:
  6596. description: 期货成交数量
  6597. type: integer
  6598. tradetime:
  6599. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6600. type: string
  6601. username:
  6602. description: 用户名称
  6603. type: string
  6604. type: object
  6605. models.Ermcp3OutTradeLink:
  6606. properties:
  6607. buyorsell:
  6608. description: 买卖方向 - 0:买 1:卖
  6609. type: integer
  6610. channelbuildtype:
  6611. description: 开平标志- 0:无 1:建仓 2:平仓
  6612. type: integer
  6613. currencyname:
  6614. description: 币种名称
  6615. type: string
  6616. exexchangecode:
  6617. description: 交易所代码
  6618. type: string
  6619. exexchangename:
  6620. description: 交易所名称
  6621. type: string
  6622. goodscode:
  6623. description: 合约代码
  6624. type: string
  6625. goodsid:
  6626. description: 合约id
  6627. type: integer
  6628. goodsname:
  6629. description: 合约名称
  6630. type: string
  6631. hasinnerorder:
  6632. description: 是否有内部单关联 - 0:无 1:有
  6633. type: integer
  6634. hedgeaccountcode:
  6635. description: 外部账号 | 对冲账号
  6636. type: string
  6637. outtradeid:
  6638. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6639. type: string
  6640. tradeprice:
  6641. description: 成交价格
  6642. type: number
  6643. tradeqty:
  6644. description: 成交数量
  6645. type: integer
  6646. tradetime:
  6647. description: 成交时间
  6648. type: string
  6649. type: object
  6650. models.Ermcp3PaAreaAuditCfg:
  6651. properties:
  6652. areauserid:
  6653. description: 用户ID
  6654. type: integer
  6655. buyinauditflag:
  6656. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6657. type: integer
  6658. costratioauditflag:
  6659. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6660. type: integer
  6661. customerauditflag:
  6662. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6663. type: integer
  6664. deliveryauditflag:
  6665. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6666. type: integer
  6667. invoiceauditflag:
  6668. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. mgneedhedgeratioauditflag:
  6671. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. moneyauditflag:
  6674. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. operatorid:
  6677. description: 操作人
  6678. type: integer
  6679. operatorsrc:
  6680. description: 操作来源 - 1:管理端 2:终端
  6681. type: integer
  6682. pointpriceauditflag:
  6683. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. produceinauditflag:
  6686. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. produceoutauditflag:
  6689. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6690. type: integer
  6691. selloutauditflag:
  6692. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6693. type: integer
  6694. sgconvertratioauditflag:
  6695. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. sgvtaratioauditflag:
  6698. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. spotcontractauditflag:
  6701. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. updatetime:
  6704. description: 更新时间
  6705. type: string
  6706. type: object
  6707. models.Ermcp3PaAreaSubject:
  6708. properties:
  6709. areauserid:
  6710. description: 所属机构
  6711. type: integer
  6712. canmodify:
  6713. description: 是否可修改 - 0:否 1:是
  6714. type: integer
  6715. createtime:
  6716. description: 创建时间
  6717. type: string
  6718. creatorid:
  6719. description: 创建人ID
  6720. type: string
  6721. creatorsrc:
  6722. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6723. type: integer
  6724. modifierid:
  6725. description: 修改人
  6726. type: string
  6727. modifiersrc:
  6728. description: 修改人来源 - 1:管理端 2:终端
  6729. type: integer
  6730. modifytime:
  6731. description: 修改时间
  6732. type: string
  6733. parentsubjectid:
  6734. description: 上级主体ID
  6735. type: string
  6736. remark:
  6737. description: 备注
  6738. type: string
  6739. subjectid:
  6740. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6741. type: integer
  6742. subjectname:
  6743. description: 主体名称
  6744. type: string
  6745. subjectstatus:
  6746. description: '主体状态 - 1:正常 2: 停用'
  6747. type: integer
  6748. subjecttype:
  6749. description: 主体类型 - 1:交易主体 2:业务部门
  6750. type: integer
  6751. type: object
  6752. models.Ermcp3PaTradeLink:
  6753. properties:
  6754. accountid:
  6755. description: 期货账户代码 | 账号ID
  6756. type: integer
  6757. agreeunit:
  6758. description: 合约乘数
  6759. type: number
  6760. buyorsell:
  6761. description: 方向 - 0:买 1:卖
  6762. type: integer
  6763. channelbuildtype:
  6764. description: 委托单据类型 0:无 1:建仓 2:平仓
  6765. type: integer
  6766. charge:
  6767. description: 手续费
  6768. type: number
  6769. closepl:
  6770. description: 平仓盈亏
  6771. type: number
  6772. closetype:
  6773. description: 平仓方式 - 0:无 1:平今 2:平昨
  6774. type: integer
  6775. convertratio:
  6776. description: 折算系数
  6777. type: number
  6778. enumdicname:
  6779. description: 单位名称
  6780. type: string
  6781. executeprice:
  6782. description: 执行价 [期权]
  6783. type: integer
  6784. goodscode:
  6785. description: 合约代码
  6786. type: string
  6787. goodsgroupid:
  6788. description: 对冲品种ID[期货合约商品组ID]
  6789. type: integer
  6790. goodsid:
  6791. description: 商品ID
  6792. type: integer
  6793. goodsname:
  6794. description: 合约名称
  6795. type: string
  6796. goodunitid:
  6797. description: 单位id
  6798. type: integer
  6799. hedgeflag:
  6800. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6801. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6802. type: integer
  6803. marketid:
  6804. description: 市场ID
  6805. type: integer
  6806. middlegoodsid:
  6807. description: 套保品种ID
  6808. type: integer
  6809. middlegoodsqty:
  6810. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6811. type: number
  6812. optioncode:
  6813. description: 期权代码 [期权]
  6814. type: string
  6815. ordertype:
  6816. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6817. type: integer
  6818. ordertypename:
  6819. description: 订单类型
  6820. type: string
  6821. parentaccountid:
  6822. description: 所属母账户
  6823. type: integer
  6824. premium:
  6825. description: 权利金 [期权]
  6826. type: number
  6827. relatedlot:
  6828. description: 已关联数量(已关联数量手) | db:关联手数
  6829. type: number
  6830. relatedouttradeid:
  6831. description: 关联外部成交单ID
  6832. type: string
  6833. relatedqty:
  6834. description: 关联数量
  6835. type: number
  6836. spotcontractid:
  6837. description: 现货合同ID [4:套期保值\10\11]
  6838. type: string
  6839. taname:
  6840. description: 期货账户名称
  6841. type: string
  6842. tradeamount:
  6843. description: 成交金额(账户)
  6844. type: number
  6845. tradedate:
  6846. description: 交易日(yyyyMMdd)
  6847. type: string
  6848. tradeid:
  6849. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6850. type: string
  6851. tradelot:
  6852. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6853. type: integer
  6854. tradeprice:
  6855. description: 成交价格
  6856. type: number
  6857. tradetime:
  6858. description: 时间 | db:成交时间
  6859. type: string
  6860. tradetype:
  6861. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6862. type: integer
  6863. userid:
  6864. description: 所属机构 - 所属母账户的UserID
  6865. type: string
  6866. username:
  6867. description: 用户名称
  6868. type: string
  6869. type: object
  6870. models.Ermcp3ParamChangeApp:
  6871. properties:
  6872. aftervalue:
  6873. description: 变更后
  6874. type: number
  6875. applicationid:
  6876. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6877. type: string
  6878. applyid:
  6879. description: 申请人
  6880. type: string
  6881. applyname:
  6882. description: 申请人名称(代码)
  6883. type: string
  6884. applyremark:
  6885. description: 申请备注
  6886. type: string
  6887. applysrc:
  6888. description: 申请来源 - 1:管理端 2:终端
  6889. type: integer
  6890. applystatus:
  6891. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6892. type: integer
  6893. applytime:
  6894. description: 申请时间
  6895. type: string
  6896. areauserid:
  6897. description: 所属机构用户ID
  6898. type: integer
  6899. auditid:
  6900. description: 审核人
  6901. type: string
  6902. auditname:
  6903. description: 审核人名称(代码)
  6904. type: string
  6905. auditremark:
  6906. description: 审核备注
  6907. type: string
  6908. auditsrc:
  6909. description: 审核来源 - 1:管理端 2:终端
  6910. type: integer
  6911. audittime:
  6912. description: 审核时间
  6913. type: string
  6914. audittradedate:
  6915. description: 审核交易日(yyyyMMdd)
  6916. type: string
  6917. beforevalue:
  6918. description: 变更前
  6919. type: number
  6920. deliverygoodscode:
  6921. description: 品种代码
  6922. type: string
  6923. deliverygoodsid:
  6924. description: 品种id
  6925. type: integer
  6926. deliverygoodsname:
  6927. description: 品种名称
  6928. type: string
  6929. middlegoodscode:
  6930. description: 套保品种代码
  6931. type: string
  6932. middlegoodsid:
  6933. description: 套保品种ID [ParamChangeType = 2,3,4]
  6934. type: integer
  6935. middlegoodsname:
  6936. description: 套保品种名称
  6937. type: string
  6938. operatetype:
  6939. description: 操作类型 - 1:新增 2:修改
  6940. type: integer
  6941. paramchangetype:
  6942. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6943. type: integer
  6944. wrstandardcode:
  6945. description: 现货商品代码
  6946. type: string
  6947. wrstandardid:
  6948. description: 现货商品ID [ParamChangeType = 1,2,3]
  6949. type: integer
  6950. wrstandardname:
  6951. description: 现货商品名称
  6952. type: string
  6953. type: object
  6954. models.Ermcp3RootUserAccount:
  6955. properties:
  6956. accountname:
  6957. description: 账户名称(机构名称)
  6958. type: string
  6959. accountstatus:
  6960. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6961. type: integer
  6962. applysrc:
  6963. description: 申请来源 - 1:管理端 2:终端
  6964. type: integer
  6965. auditremark:
  6966. description: 审核备注
  6967. type: string
  6968. auditsrc:
  6969. description: 审核来源 - 1:管理端 2:终端
  6970. type: integer
  6971. audittime:
  6972. description: 审核时间
  6973. type: string
  6974. audituserid:
  6975. description: 审核人
  6976. type: integer
  6977. broker:
  6978. description: 所属经纪人ID
  6979. type: integer
  6980. canceltime:
  6981. description: 销户时间
  6982. type: string
  6983. canceluserid:
  6984. description: 销户人
  6985. type: integer
  6986. canrecommend:
  6987. description: 是否可推荐 - 0:不可 1;可
  6988. type: integer
  6989. createtime:
  6990. description: 创建时间
  6991. type: string
  6992. creatorid:
  6993. description: 创建人
  6994. type: integer
  6995. hasauth:
  6996. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6997. type: integer
  6998. isanonymous:
  6999. description: 是否匿名下单 - 0:否 1:是
  7000. type: integer
  7001. maxinvestornum:
  7002. description: 最大用户数(经纪会员下投资者个数)
  7003. type: integer
  7004. memberuserid:
  7005. description: 所属会员ID
  7006. type: integer
  7007. modifierid:
  7008. description: 修改人
  7009. type: integer
  7010. modifyremark:
  7011. description: 变更备注
  7012. type: string
  7013. modifystatus:
  7014. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7015. type: integer
  7016. modifytime:
  7017. description: 修改时间
  7018. type: string
  7019. nickname:
  7020. description: 昵称
  7021. type: string
  7022. parenttopuser:
  7023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7024. type: string
  7025. parentuserid:
  7026. description: 所属机构ID
  7027. type: integer
  7028. reckonaccountid:
  7029. description: 默认结算资金账号ID(机构分润使用) 作废
  7030. type: integer
  7031. refercount:
  7032. description: 推荐总人数
  7033. type: integer
  7034. refereeuserid:
  7035. description: 推荐人ID
  7036. type: integer
  7037. refernum:
  7038. description: 推荐码
  7039. type: string
  7040. rootuserid:
  7041. description: 根用户ID
  7042. type: integer
  7043. subaccountlevel:
  7044. description: 子账户层数
  7045. type: integer
  7046. subarealevelpath:
  7047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7048. type: string
  7049. userid:
  7050. description: 用户ID
  7051. type: integer
  7052. usertype:
  7053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7054. type: integer
  7055. type: object
  7056. models.Ermcp3SCMiddleGoods:
  7057. properties:
  7058. biztype:
  7059. description: 业务类型 1:套保 2:套利
  7060. type: integer
  7061. contractno:
  7062. description: 合同编号
  7063. type: string
  7064. contracttype:
  7065. description: 合同类型 1:采购 -1:销售
  7066. type: integer
  7067. convertratio:
  7068. description: 折算系数
  7069. type: number
  7070. customername:
  7071. description: 对手手名称
  7072. type: string
  7073. customeruserid:
  7074. description: 对手id
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货品种代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货品种ID
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货品种名称
  7084. type: string
  7085. enumdicname:
  7086. description: 现货单位名称
  7087. type: string
  7088. middlegoodsid:
  7089. description: 套保品种ID
  7090. type: integer
  7091. middlegoodspricedqty3:
  7092. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7093. type: number
  7094. needhedgeratio:
  7095. description: 套保比例
  7096. type: number
  7097. pricedqty:
  7098. description: 已定价量
  7099. type: number
  7100. relatedmiddlegoodsqty:
  7101. description: 已关联量(套保品种)(期货)
  7102. type: number
  7103. spotcontractid:
  7104. description: 合同编号
  7105. type: string
  7106. unitid:
  7107. description: 现货单位id
  7108. type: integer
  7109. userid:
  7110. description: 用户id
  7111. type: integer
  7112. vatrate:
  7113. description: 增值税率
  7114. type: number
  7115. wrstandardcode:
  7116. description: 现货商品代码
  7117. type: string
  7118. wrstandardid:
  7119. description: 现货商品id
  7120. type: integer
  7121. wrstandardname:
  7122. description: 现货商品名称
  7123. type: string
  7124. type: object
  7125. models.Ermcp3SCMiddleGoodsReport:
  7126. properties:
  7127. begindate:
  7128. description: 开始交易日
  7129. type: string
  7130. contractno:
  7131. description: 合同编号
  7132. type: string
  7133. contracttype:
  7134. description: 合同类型 1:采购 -1:销售
  7135. type: integer
  7136. convertratio:
  7137. description: 期初均价
  7138. type: number
  7139. cycletime:
  7140. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7141. type: string
  7142. cycletype:
  7143. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7144. type: integer
  7145. deliverygoodscode:
  7146. description: 品种代码
  7147. type: string
  7148. deliverygoodsid:
  7149. description: 现货品种ID
  7150. type: integer
  7151. deliverygoodsname:
  7152. description: 品种名称
  7153. type: string
  7154. diffprice:
  7155. description: 期初均价
  7156. type: number
  7157. diffqty:
  7158. description: 期初均价
  7159. type: number
  7160. enddate:
  7161. description: 结束交易日
  7162. type: string
  7163. hedgeplanqty:
  7164. description: 期初均价
  7165. type: number
  7166. matchname:
  7167. description: 交易对手方(个人:用户名称 企业:简称)
  7168. type: string
  7169. matchnickname:
  7170. description: 交易对手方昵称
  7171. type: string
  7172. middlegoodscode:
  7173. description: 套保品种代码
  7174. type: string
  7175. middlegoodsid:
  7176. description: 套保品种ID
  7177. type: integer
  7178. middlegoodsname:
  7179. description: 套保品种名称
  7180. type: string
  7181. middlegoodspricedqty:
  7182. description: 期初均价
  7183. type: number
  7184. middlegoodspricedqty2:
  7185. description: 期初均价
  7186. type: number
  7187. middlegoodspricedqty3:
  7188. description: 期初均价
  7189. type: number
  7190. needhedgeratio:
  7191. description: 期初均价
  7192. type: number
  7193. pricedamount:
  7194. description: 期初均价
  7195. type: number
  7196. pricedamount2:
  7197. description: 期初均价
  7198. type: number
  7199. pricedqty:
  7200. description: 期初均价
  7201. type: number
  7202. reckondate:
  7203. description: 日照时期(yyyyMMdd)
  7204. type: string
  7205. relatedmiddlegoodsamount:
  7206. description: 期初均价
  7207. type: number
  7208. relatedmiddlegoodsqty:
  7209. description: 期初均价
  7210. type: number
  7211. spotcontractid:
  7212. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7213. type: string
  7214. todayavgfutuprice:
  7215. description: 期初均价
  7216. type: number
  7217. todayavgprice:
  7218. description: 期初均价
  7219. type: number
  7220. todayavgprice2:
  7221. description: 期初均价
  7222. type: number
  7223. todaypricedamount:
  7224. description: 期初均价
  7225. type: number
  7226. todaypricedamount2:
  7227. description: 期初均价
  7228. type: number
  7229. todaypricedqty:
  7230. description: 期初均价
  7231. type: number
  7232. todayrelatedfutureqty:
  7233. description: 期初均价
  7234. type: number
  7235. todayrelatedmiddlegoodsamount:
  7236. description: 期初均价
  7237. type: number
  7238. todayrelatedmiddlegoodsqty:
  7239. description: 期初均价
  7240. type: number
  7241. updatetime:
  7242. description: 更新时间
  7243. type: string
  7244. userid:
  7245. description: 合同所属用户id
  7246. type: integer
  7247. vatrate:
  7248. description: 期初均价
  7249. type: number
  7250. wrstandardcode:
  7251. description: 商品(品类) 代码
  7252. type: string
  7253. wrstandardid:
  7254. description: 现货商品ID
  7255. type: integer
  7256. wrstandardname:
  7257. description: 商品(品类) 名称
  7258. type: string
  7259. type: object
  7260. models.Ermcp3SellBuyContract:
  7261. properties:
  7262. accountid:
  7263. description: 期货账户id
  7264. type: string
  7265. accountname:
  7266. description: 账户名称
  7267. type: string
  7268. attachment:
  7269. description: 附件
  7270. type: string
  7271. audittime:
  7272. description: 审核时间
  7273. type: string
  7274. bizsubjectid:
  7275. description: 归属业务部门ID - SubjectID
  7276. type: integer
  7277. biztype:
  7278. description: 业务类型 1-套保 2-套利
  7279. type: integer
  7280. brandname:
  7281. description: 品牌名称
  7282. type: string
  7283. contracctstatus:
  7284. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7285. type: integer
  7286. contractmargin:
  7287. description: 合同保证金
  7288. type: number
  7289. contractno:
  7290. description: 合同编号
  7291. type: string
  7292. contracttype:
  7293. description: 合同类型 1-采购, -1-销售
  7294. type: integer
  7295. convertfactor:
  7296. description: 标仓系数(品类)
  7297. type: number
  7298. createtime:
  7299. description: 创建时间
  7300. type: string
  7301. currencyid:
  7302. description: 币种id
  7303. type: integer
  7304. currencyname:
  7305. description: 币种名称
  7306. type: string
  7307. daikaiamount:
  7308. description: 应收(开)票额 | 未收票额
  7309. type: number
  7310. deliveryenddate:
  7311. description: 交割结束日
  7312. type: string
  7313. deliverygoodscode:
  7314. description: 现货品种代码
  7315. type: string
  7316. deliverygoodsid:
  7317. description: 现货商品ID
  7318. type: integer
  7319. deliverygoodsname:
  7320. description: 现货品种名称
  7321. type: string
  7322. deliverystartdate:
  7323. description: 交割开始日
  7324. type: string
  7325. enddate:
  7326. description: 点价结束日
  7327. type: string
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. goodscode:
  7332. description: 点价商品代码
  7333. type: string
  7334. goodsgroupid:
  7335. description: 点价商品组id
  7336. type: integer
  7337. goodsid:
  7338. description: 点价商品ID
  7339. type: integer
  7340. goodsname:
  7341. description: 点价商品名称
  7342. type: string
  7343. invoiceamount:
  7344. description: 已开票额
  7345. type: number
  7346. loanamount:
  7347. description: 贷款总额=已定价额+调整金额
  7348. type: number
  7349. margin:
  7350. description: 保证金
  7351. type: number
  7352. meruserid:
  7353. description: 跟单员id
  7354. type: integer
  7355. meruserlogincode:
  7356. description: 跟单员登录代码
  7357. type: string
  7358. merusername:
  7359. description: 跟单员名称
  7360. type: string
  7361. nickname:
  7362. description: 账户昵称
  7363. type: string
  7364. orireckonrealqty:
  7365. description: 应交收量
  7366. type: number
  7367. payamount:
  7368. description: 已收付额(收款或付款)
  7369. type: number
  7370. preinvoiceamount:
  7371. description: 预收(开)票额
  7372. type: number
  7373. prepayamount:
  7374. description: 预收付额
  7375. type: number
  7376. price:
  7377. description: 价格
  7378. type: number
  7379. pricedamount:
  7380. description: 已定价额
  7381. type: number
  7382. pricedavg:
  7383. description: 已点均价
  7384. type: number
  7385. pricedqty:
  7386. description: 已定价量
  7387. type: number
  7388. pricemove:
  7389. description: 升贴水
  7390. type: number
  7391. pricetype:
  7392. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7393. type: integer
  7394. producttype:
  7395. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7396. type: integer
  7397. qty:
  7398. description: 合同量
  7399. type: number
  7400. reckonadjustamount:
  7401. description: 调整金额
  7402. type: number
  7403. reckonedamount:
  7404. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7405. type: number
  7406. reckonotheramount:
  7407. description: 其它费用
  7408. type: number
  7409. reckonrealqty:
  7410. description: 已交收量
  7411. type: number
  7412. remark:
  7413. description: 备注
  7414. type: string
  7415. saleuserid:
  7416. description: 业务员id
  7417. type: integer
  7418. saleuserlogincode:
  7419. description: 业务员登录代码
  7420. type: string
  7421. saleusername:
  7422. description: 业务员名称
  7423. type: string
  7424. spotcontractid:
  7425. description: 合同ID
  7426. type: string
  7427. spotgoodsbrandid:
  7428. description: 现货品牌ID(DGFactoryItem表的ID)
  7429. type: integer
  7430. spotgoodsdesc:
  7431. description: 商品型号(商品规格)
  7432. type: string
  7433. startdate:
  7434. description: 点价开始日
  7435. type: string
  7436. subjectid:
  7437. description: 交易主体ID
  7438. type: integer
  7439. subjectname:
  7440. description: 交易主体名称
  7441. type: string
  7442. totalamount:
  7443. description: 合计总额
  7444. type: number
  7445. tradeuserid:
  7446. description: 交易员id
  7447. type: integer
  7448. tradeuserlogincode:
  7449. description: 交易员登录代码
  7450. type: string
  7451. tradeusername:
  7452. description: 交易员名称
  7453. type: string
  7454. unpayamount:
  7455. description: 应收付款额(应支付或应收款) | 未付款额
  7456. type: number
  7457. unpricedqty:
  7458. description: 未定价量
  7459. type: number
  7460. unsureqty:
  7461. description: 未确定量 | 未交收量
  7462. type: number
  7463. userid:
  7464. description: 机构ID
  7465. type: integer
  7466. vatrate:
  7467. description: 增值税率
  7468. type: number
  7469. wrstandardcode:
  7470. description: 品类代码
  7471. type: string
  7472. wrstandardid:
  7473. description: 品类ID
  7474. type: integer
  7475. wrstandardname:
  7476. description: 品类名称
  7477. type: string
  7478. type: object
  7479. models.Ermcp3SpotGoodsPrice:
  7480. properties:
  7481. areauserid:
  7482. description: 所属机构id
  7483. type: integer
  7484. brandname:
  7485. description: 品牌名称
  7486. type: string
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. currencyname:
  7491. description: 币种名称
  7492. type: string
  7493. deliverygoodscode:
  7494. description: 现货商品代码
  7495. type: string
  7496. deliverygoodsid:
  7497. description: 现货商品id
  7498. type: integer
  7499. deliverygoodsname:
  7500. description: 现货商品名称
  7501. type: string
  7502. enumdicname:
  7503. description: 现货商品单位名称
  7504. type: string
  7505. gbenumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. gmunitid:
  7509. description: 品类单位id
  7510. type: integer
  7511. isvalid:
  7512. description: 是否有效 - 0:无效 1:有效
  7513. type: integer
  7514. operateid:
  7515. description: 最后操作人
  7516. type: integer
  7517. operatesrc:
  7518. description: 最后操作来源 - 1:管理端 2:终端
  7519. type: integer
  7520. operatetime:
  7521. description: 最后操作时间
  7522. type: string
  7523. operatorname:
  7524. description: 操作人名称
  7525. type: string
  7526. spotgoodsbrandid:
  7527. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7528. type: integer
  7529. spotgoodsprice:
  7530. description: 现货价格
  7531. type: number
  7532. tradedate:
  7533. description: 交易日(yyyyMMdd)
  7534. type: string
  7535. unitid:
  7536. description: 现货商品单位id
  7537. type: integer
  7538. wrstandardcode:
  7539. description: 品类代码
  7540. type: string
  7541. wrstandardid:
  7542. description: 现货品类ID(通用则为0)
  7543. type: integer
  7544. wrstandardname:
  7545. description: 品类名称
  7546. type: string
  7547. type: object
  7548. models.Ermcp3SpotGoodsPriceLog:
  7549. properties:
  7550. areauserid:
  7551. description: 所属机构id
  7552. type: integer
  7553. brandname:
  7554. description: 品牌名称
  7555. type: string
  7556. currencyid:
  7557. description: 报价货币ID
  7558. type: integer
  7559. deliverygoodscode:
  7560. description: 现货商品代码
  7561. type: string
  7562. deliverygoodsid:
  7563. description: 现货商品id
  7564. type: integer
  7565. deliverygoodsname:
  7566. description: 现货商品名称
  7567. type: string
  7568. enumdicname:
  7569. description: 现货商品单位名称
  7570. type: string
  7571. gbenumdicname:
  7572. description: 品类单位名称
  7573. type: string
  7574. gmunitid:
  7575. description: 品类单位id
  7576. type: integer
  7577. logid:
  7578. description: 日志id
  7579. type: integer
  7580. operateid:
  7581. description: 最后操作人
  7582. type: integer
  7583. operatesrc:
  7584. description: 最后操作来源 - 1:管理端 2:终端
  7585. type: integer
  7586. operatetime:
  7587. description: 最后操作时间
  7588. type: string
  7589. operatorname:
  7590. description: 操作人名称
  7591. type: string
  7592. spotgoodsbrandid:
  7593. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7594. type: integer
  7595. spotgoodsprice:
  7596. description: 现货价格
  7597. type: number
  7598. tradedate:
  7599. description: 交易日(yyyyMMdd)
  7600. type: string
  7601. unitid:
  7602. description: 现货商品单位id
  7603. type: integer
  7604. wrstandardcode:
  7605. description: 品类代码
  7606. type: string
  7607. wrstandardid:
  7608. description: 现货品类ID(通用则为0)
  7609. type: integer
  7610. wrstandardname:
  7611. description: 品类名称
  7612. type: string
  7613. type: object
  7614. models.Ermcp3SubTaaccount:
  7615. properties:
  7616. accountid:
  7617. description: 资金账户ID
  7618. type: integer
  7619. parentaccountcode:
  7620. description: 所属根账号代码(母账号代码)
  7621. type: string
  7622. parentaccountid:
  7623. description: 所属根账号(母账号)
  7624. type: integer
  7625. taname:
  7626. description: 资金账号名称
  7627. type: string
  7628. tradestatus:
  7629. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7630. type: integer
  7631. username:
  7632. description: 交易用户
  7633. type: string
  7634. type: object
  7635. models.Ermcp3TaFutuReDataReport:
  7636. properties:
  7637. accountid:
  7638. description: 交易账户
  7639. type: integer
  7640. accountname:
  7641. description: 交易账号名称
  7642. type: string
  7643. agreeunit:
  7644. description: 商品合约单位
  7645. type: number
  7646. begindate:
  7647. description: 开始交易日
  7648. type: string
  7649. buyorsell:
  7650. description: 持仓方向
  7651. type: integer
  7652. charge:
  7653. description: 手续费
  7654. type: number
  7655. closeavgprice:
  7656. description: 期初均价
  7657. type: number
  7658. closepl:
  7659. description: 平仓损益
  7660. type: number
  7661. currencyid:
  7662. description: 结算币种ID
  7663. type: integer
  7664. currencyname:
  7665. description: 币种名称
  7666. type: string
  7667. cycletime:
  7668. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7669. type: string
  7670. cycletype:
  7671. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7672. type: integer
  7673. enddate:
  7674. description: 结束交易日
  7675. type: string
  7676. enumdicname:
  7677. description: 单位名称
  7678. type: string
  7679. floatpl:
  7680. description: 浮动损益
  7681. type: number
  7682. goodscode:
  7683. description: 交易合约代码
  7684. type: string
  7685. goodsgroupid:
  7686. description: 交易品种
  7687. type: integer
  7688. goodsgroupname:
  7689. description: 交易品种名称
  7690. type: string
  7691. goodsgroupspotqty:
  7692. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7693. type: number
  7694. goodsid:
  7695. description: 交易合约
  7696. type: integer
  7697. goodsname:
  7698. description: 交易合约名称
  7699. type: string
  7700. goodunitid:
  7701. description: 交易合约单位id
  7702. type: integer
  7703. holdamount:
  7704. description: 期末持仓额
  7705. type: number
  7706. holdqty:
  7707. description: 期初均价
  7708. type: number
  7709. lastholdamount:
  7710. description: 当前持仓额
  7711. type: number
  7712. lastprice:
  7713. description: 最新价
  7714. type: number
  7715. middlegoodsid:
  7716. description: 套保品种id
  7717. type: integer
  7718. middlegoodsname:
  7719. description: 套保商品名称
  7720. type: string
  7721. middlegoodsqty:
  7722. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7723. type: number
  7724. middlgoodscode:
  7725. description: 套保商品代码
  7726. type: string
  7727. openamount:
  7728. description: 期末开仓额
  7729. type: number
  7730. openavgprice:
  7731. description: 期初均价
  7732. type: number
  7733. oriholdamount:
  7734. description: 期初持仓额
  7735. type: number
  7736. oriholdqty:
  7737. description: 期初均价
  7738. type: number
  7739. oriopenamount:
  7740. description: 期初开仓额
  7741. type: number
  7742. outergroupcode:
  7743. description: 交易品种代码
  7744. type: string
  7745. qtydecimalplace:
  7746. description: 成交量小数位
  7747. type: integer
  7748. reckondate:
  7749. description: 日照时期(yyyyMMdd)
  7750. type: string
  7751. reckonholdamount:
  7752. description: 结算持仓额
  7753. type: number
  7754. reckonpl:
  7755. description: 结算损益
  7756. type: number
  7757. reckonpl2:
  7758. description: 结算逐笔盈亏
  7759. type: number
  7760. reckonprice:
  7761. description: 结算价
  7762. type: number
  7763. relateduserid:
  7764. description: 账户关联用户ID
  7765. type: integer
  7766. todaycloseamount:
  7767. description: 今平仓额
  7768. type: number
  7769. todaycloseqty:
  7770. description: 期初均价
  7771. type: number
  7772. todaygoodsgroupspotqty:
  7773. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7774. type: number
  7775. todaymiddlegoodsqty:
  7776. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7777. type: number
  7778. todayopenamount:
  7779. description: 今开仓额
  7780. type: number
  7781. todayopenqty:
  7782. description: 期初均价
  7783. type: number
  7784. userid:
  7785. description: 账户所属用户ID
  7786. type: integer
  7787. type: object
  7788. models.Ermcp3TradeLinkDetail:
  7789. properties:
  7790. accountid:
  7791. description: 资金账号
  7792. type: integer
  7793. agreeunit:
  7794. description: 合约乘数
  7795. type: number
  7796. areauserid:
  7797. description: 所属机构
  7798. type: string
  7799. bizsubjectid:
  7800. description: 归属业务部门ID - SubjectID
  7801. type: string
  7802. buyorsell:
  7803. description: 方向 - 0:买 1:卖
  7804. type: integer
  7805. channelbuildtype:
  7806. description: 委托单据类型 0:无 1:建仓 2:平仓
  7807. type: integer
  7808. contractno:
  7809. description: 现货编号 (合同编号)
  7810. type: string
  7811. convertratio:
  7812. description: 折算系数
  7813. type: number
  7814. createtime:
  7815. description: 关联时间 | 创建时间
  7816. type: string
  7817. creatorid:
  7818. description: 创建人ID
  7819. type: string
  7820. creatorsrc:
  7821. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7822. type: integer
  7823. enumdicname:
  7824. description: 单位名称
  7825. type: string
  7826. goodscode:
  7827. description: 合约代码
  7828. type: string
  7829. goodsgroupid:
  7830. description: 对冲品种ID[期货合约商品组ID]
  7831. type: integer
  7832. goodsid:
  7833. description: 商品ID
  7834. type: integer
  7835. goodsname:
  7836. description: 合约名称
  7837. type: string
  7838. hedgeflag:
  7839. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7840. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7841. type: integer
  7842. linkdetailid:
  7843. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7844. type: string
  7845. linkstatus:
  7846. description: 关联状态 - 1:成功 2:失败 3:解绑
  7847. type: integer
  7848. middlegoodscode:
  7849. description: 套保品种代码
  7850. type: string
  7851. middlegoodsid:
  7852. description: 套保品种ID
  7853. type: integer
  7854. middlegoodsname:
  7855. description: 套保品种名称
  7856. type: string
  7857. relatedlot:
  7858. description: 关联手数
  7859. type: number
  7860. relatedmode:
  7861. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7862. type: integer
  7863. relatedqty:
  7864. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7865. type: number
  7866. retcode:
  7867. description: 返回码
  7868. type: integer
  7869. saleuserid:
  7870. description: 业务员ID
  7871. type: string
  7872. spotcontractid:
  7873. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7874. type: string
  7875. taname:
  7876. description: 期货账户
  7877. type: string
  7878. tradedate:
  7879. description: 关联交易日(yyyyMMdd)
  7880. type: string
  7881. tradeid:
  7882. description: 期货订单号 | 内部成交单ID
  7883. type: string
  7884. tradelot:
  7885. description: 成交数量 | 成交手数
  7886. type: integer
  7887. tradeprice:
  7888. description: 成交价格
  7889. type: number
  7890. tradetime:
  7891. description: 期货成交时间
  7892. type: string
  7893. tradetradedate:
  7894. description: 成交交易日(yyyyMMdd)
  7895. type: string
  7896. username:
  7897. description: 用户名称
  7898. type: string
  7899. type: object
  7900. models.Ermcp3Wrstandard:
  7901. properties:
  7902. areauserid:
  7903. description: 所属机构
  7904. type: integer
  7905. cantrade:
  7906. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7907. type: integer
  7908. convertfactor:
  7909. description: 标仓系数
  7910. type: number
  7911. createtime:
  7912. description: 创建时间
  7913. type: string
  7914. creatorid:
  7915. description: 创建人
  7916. type: integer
  7917. deliverygoodsid:
  7918. description: 现货品种ID
  7919. type: integer
  7920. enumdicname:
  7921. description: 品类单位名称
  7922. type: string
  7923. isvalid:
  7924. description: 是否有效 0-无效(停用) 1-有效(正常)
  7925. type: integer
  7926. minivalue:
  7927. description: 最小变动值
  7928. type: integer
  7929. minivaluedp:
  7930. description: 最小变动值小数位
  7931. type: integer
  7932. realminivalue:
  7933. description: 实际最小变动值
  7934. type: integer
  7935. realminivaluedp:
  7936. description: 实际最小变动值小数位
  7937. type: integer
  7938. remark:
  7939. description: 备注
  7940. type: string
  7941. unitid:
  7942. description: 品类单位ID
  7943. type: integer
  7944. updatetime:
  7945. description: 更新时间
  7946. type: string
  7947. wrstandardcode:
  7948. description: 品类代码
  7949. type: string
  7950. wrstandardid:
  7951. description: 品类ID(SEQ_WRSTANDARD)
  7952. type: integer
  7953. wrstandardname:
  7954. description: 品类名称
  7955. type: string
  7956. type: object
  7957. models.Ermcp8EnableHedgeditem:
  7958. properties:
  7959. accountname:
  7960. description: 套期主体
  7961. type: string
  7962. hedgeditemid:
  7963. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7964. type: string
  7965. hedgeditemname:
  7966. description: 项目名称
  7967. type: string
  7968. hedgeditemnum:
  7969. description: 项目编号
  7970. type: string
  7971. hedgedtype:
  7972. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7973. type: integer
  7974. planenddate:
  7975. description: 计划结束日期
  7976. type: string
  7977. planstartdate:
  7978. description: 计划开始日期
  7979. type: string
  7980. wrstandardid:
  7981. description: 现货商品ID
  7982. type: integer
  7983. wrstandardname:
  7984. description: 现货商品
  7985. type: string
  7986. type: object
  7987. models.Ermcp8HedgeditemReport:
  7988. properties:
  7989. accountname:
  7990. description: 套期主体
  7991. type: string
  7992. areauserid:
  7993. description: 企业ID
  7994. type: integer
  7995. curprice:
  7996. description: '[当日现货市场价]当前市场价'
  7997. type: number
  7998. enumdicname:
  7999. description: 单位
  8000. type: string
  8001. exeamount:
  8002. description: '[执行现货金额]执行市价总额'
  8003. type: number
  8004. exeavgprice:
  8005. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8006. type: number
  8007. exeqty:
  8008. description: '[执行数量]执行现货量'
  8009. type: number
  8010. futurehedgepl:
  8011. description: 期货实际损益
  8012. type: number
  8013. futurehedgeplchange:
  8014. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8015. type: number
  8016. futurepl:
  8017. description: 期货套期损益
  8018. type: number
  8019. futureplchange:
  8020. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8021. type: number
  8022. hedgeamount:
  8023. description: '[套期现货金额]套期市价总额'
  8024. type: number
  8025. hedgeditemnum:
  8026. description: 项目编号,模糊查询
  8027. type: string
  8028. hedgeditemstatus:
  8029. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8030. type: integer
  8031. hedgedtype:
  8032. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8033. type: integer
  8034. hedgeqty:
  8035. description: '[套期数量]套期现货量'
  8036. type: number
  8037. oriavgprice:
  8038. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8039. type: number
  8040. orifuturehedgepl:
  8041. description: 期初期货实际损益
  8042. type: number
  8043. orifuturepl:
  8044. description: 期初期货套期损益
  8045. type: number
  8046. orispothedgepl:
  8047. description: 期初现货实际损益
  8048. type: number
  8049. orispotpl:
  8050. description: 期初现货套期损益
  8051. type: number
  8052. planenddate:
  8053. description: 计划结束日期
  8054. type: string
  8055. planstartdate:
  8056. description: 计划开始日期
  8057. type: string
  8058. spothedgepl:
  8059. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8060. type: number
  8061. spothedgeplchange:
  8062. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8063. type: number
  8064. spotpl:
  8065. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8066. type: number
  8067. spotplchange:
  8068. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8069. type: number
  8070. tradeuserid:
  8071. description: 交易用户ID
  8072. type: integer
  8073. unexeqty:
  8074. description: 未执行现货量 = 套期现货量 - 执行现货量
  8075. type: number
  8076. wrstandardcode:
  8077. description: 现货品类代码
  8078. type: string
  8079. wrstandardid:
  8080. description: 现货商品ID
  8081. type: integer
  8082. wrstandardname:
  8083. description: '[现货商品]现货品类名称'
  8084. type: string
  8085. type: object
  8086. models.Ermcp8RunningHedgeditem:
  8087. properties:
  8088. accountname:
  8089. description: 套期主体
  8090. type: string
  8091. applyid:
  8092. description: 申请人
  8093. type: integer
  8094. applysrc:
  8095. description: 申请来源 - 1:管理端 2:终端
  8096. type: integer
  8097. areauserid:
  8098. description: 企业ID
  8099. type: integer
  8100. auditid:
  8101. description: 审核人
  8102. type: integer
  8103. auditremark:
  8104. description: 审核备注
  8105. type: string
  8106. auditsrc:
  8107. description: 审核来源 - 1:管理端 2:终端
  8108. type: integer
  8109. audittime:
  8110. description: 审核时间
  8111. type: string
  8112. audittradedate:
  8113. description: 审核交易日(yyyyMMdd)
  8114. type: string
  8115. createtime:
  8116. description: 申请时间
  8117. type: string
  8118. curprice:
  8119. description: 当前市场价
  8120. type: number
  8121. curstock:
  8122. description: 期末库存量 = 采购总量 - 销售总量
  8123. type: number
  8124. deliverygoodsid:
  8125. description: 现货品种ID
  8126. type: integer
  8127. enddate:
  8128. description: 完成日期
  8129. type: string
  8130. endtradedate:
  8131. description: 完成交易日
  8132. type: string
  8133. enumdicname:
  8134. description: 单位
  8135. type: string
  8136. exeamount:
  8137. description: 执行市价总额
  8138. type: number
  8139. exeavgprice:
  8140. description: 执行市场均价= 执行市价总额 / 执行现货量
  8141. type: number
  8142. execontractamount:
  8143. description: 执行定价总额
  8144. type: number
  8145. exeqty:
  8146. description: 执行现货量
  8147. type: number
  8148. exerestamount:
  8149. description: 执行剩余市价总额【现货贸易】
  8150. type: number
  8151. futurefloatpl:
  8152. description: 期货浮动损益
  8153. type: number
  8154. futurehedgepl:
  8155. description: 期货实际损益
  8156. type: number
  8157. futurehedgeplchange:
  8158. description: 期货实际损益变动
  8159. type: number
  8160. futurepl:
  8161. description: 期货套期损益
  8162. type: number
  8163. futureplchange:
  8164. description: 期货套期损益变动
  8165. type: number
  8166. hedgeamount:
  8167. description: 套期市价总额
  8168. type: number
  8169. hedgecontractamount:
  8170. description: 套期定价总额 【定价采购合同】【现货贸易】
  8171. type: number
  8172. hedgeditemid:
  8173. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8174. type: string
  8175. hedgeditemname:
  8176. description: 项目名称
  8177. type: string
  8178. hedgeditemnum:
  8179. description: 项目编号
  8180. type: string
  8181. hedgeditemstatus:
  8182. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8183. type: integer
  8184. hedgedtype:
  8185. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8186. type: integer
  8187. hedgeqty:
  8188. description: 套期现货量
  8189. type: number
  8190. hedgerate:
  8191. description: 套保比率
  8192. type: number
  8193. hedgerestamount:
  8194. description: 套期剩余市价总额【现货贸易】
  8195. type: number
  8196. hedgesumpl:
  8197. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8198. type: number
  8199. middlegoodslist:
  8200. description: 套期商品列表
  8201. items:
  8202. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8203. type: array
  8204. oriavgprice:
  8205. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8206. type: number
  8207. orifuturehedgepl:
  8208. description: 期初期货实际损益
  8209. type: number
  8210. orifuturepl:
  8211. description: 期初期货套期损益
  8212. type: number
  8213. orispothedgepl:
  8214. description: 期初现货实际损益
  8215. type: number
  8216. orispotpl:
  8217. description: 期初现货套期损益
  8218. type: number
  8219. planenddate:
  8220. description: 计划结束日期
  8221. type: string
  8222. planstartdate:
  8223. description: 计划开始日期
  8224. type: string
  8225. remark:
  8226. description: 备注
  8227. type: string
  8228. spotbookamount:
  8229. description: 现货账面总额
  8230. type: number
  8231. spotfloatpl:
  8232. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8233. type: number
  8234. spothedgepl:
  8235. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8236. type: number
  8237. spothedgeplchange:
  8238. description: 现货实际损益变动
  8239. type: number
  8240. spotpl:
  8241. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8242. type: number
  8243. spotplchange:
  8244. description: 现货套期损益变动
  8245. type: number
  8246. spottradepl:
  8247. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8248. type: number
  8249. sumobspl:
  8250. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8251. type: number
  8252. tradeuserid:
  8253. description: 交易用户ID
  8254. type: integer
  8255. unexeqty:
  8256. description: 未执行现货量 = 套期现货量 - 执行现货量
  8257. type: number
  8258. updatetime:
  8259. description: 更新时间
  8260. type: string
  8261. vatpl:
  8262. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8263. type: number
  8264. vatrate:
  8265. description: 增值税
  8266. type: number
  8267. wrstandardid:
  8268. description: 现货商品ID
  8269. type: integer
  8270. wrstandardname:
  8271. description: 商品名称
  8272. type: string
  8273. type: object
  8274. models.ErmcpBizGroupEx:
  8275. properties:
  8276. acclist:
  8277. description: 账号列表
  8278. items:
  8279. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8280. type: array
  8281. bizgroupid:
  8282. description: 业务分组id
  8283. type: integer
  8284. biztype:
  8285. description: 业务类型 1-套保 2-套利
  8286. type: integer
  8287. wrlist:
  8288. description: 现货商品表
  8289. items:
  8290. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8291. type: array
  8292. type: object
  8293. models.ErmcpBizGroupSpotGoods:
  8294. properties:
  8295. areauserid:
  8296. description: 所属机构id
  8297. type: integer
  8298. bizgroupid:
  8299. description: 分组id
  8300. type: integer
  8301. biztype:
  8302. description: 业务类型 1-套保 2-套利
  8303. type: integer
  8304. deliverygoodscode:
  8305. description: 现货商品代码
  8306. type: string
  8307. deliverygoodsid:
  8308. description: 现货商品id
  8309. type: integer
  8310. deliverygoodsname:
  8311. description: 现货商品名称
  8312. type: string
  8313. unitid:
  8314. description: 现货商品单位id
  8315. type: integer
  8316. type: object
  8317. models.ErmcpBizGroupTaAccount:
  8318. properties:
  8319. accountid:
  8320. description: 账号id
  8321. type: integer
  8322. accountname:
  8323. description: 账号名称
  8324. type: string
  8325. areauserid:
  8326. description: 所属机构id
  8327. type: integer
  8328. bizgroupid:
  8329. description: 业务分组id
  8330. type: integer
  8331. ismain:
  8332. description: 是否主账号 1-是 0-否
  8333. type: integer
  8334. type: object
  8335. models.ErmcpDGFactoryItem:
  8336. properties:
  8337. areauserid:
  8338. description: 用户id
  8339. type: integer
  8340. deliverygoodsid:
  8341. description: 现货品种ID
  8342. type: integer
  8343. dgfactoryitemid:
  8344. description: 选择项ID(SEQ_DGFACTORYITEM)
  8345. type: integer
  8346. dgfactoryitemtypeid:
  8347. description: 要素项类型
  8348. type: integer
  8349. dgfactoryitemvalue:
  8350. description: 要素项值(类型为仓库时填写仓库名称)
  8351. type: string
  8352. isvalid:
  8353. description: 是否有效 - 0:无效 1:有效
  8354. type: integer
  8355. orderindex:
  8356. description: 顺序
  8357. type: integer
  8358. warehouseid:
  8359. description: 仓库ID(类型为仓库时填写)
  8360. type: integer
  8361. type: object
  8362. models.ErmcpDeliveryGoods:
  8363. properties:
  8364. agreeunit:
  8365. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8366. type: integer
  8367. areauserid:
  8368. description: 所属机构
  8369. type: integer
  8370. auditflag:
  8371. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8372. type: integer
  8373. categoryid:
  8374. description: 类别ID(SEQ_WRCATEGORY)
  8375. type: integer
  8376. deliverygoodscode:
  8377. description: 现货品种代码
  8378. type: string
  8379. deliverygoodsid:
  8380. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8381. type: integer
  8382. deliverygoodsname:
  8383. description: 现货品种名称
  8384. type: string
  8385. deliverygoodstype:
  8386. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8387. type: integer
  8388. dgstatus:
  8389. description: 品种状态 - 作废 - 0:未激活 1:正常
  8390. type: integer
  8391. enumdicname:
  8392. description: 现货品种单位名称
  8393. type: string
  8394. goodsunitid:
  8395. description: 现货品种单位ID
  8396. type: integer
  8397. isvalid:
  8398. description: 是否有效 - 0:无效 1:有效
  8399. type: integer
  8400. qtydecimalplace:
  8401. description: 成交量小数位
  8402. type: integer
  8403. remark:
  8404. description: 备注
  8405. type: string
  8406. standardqty:
  8407. description: 标准数量(库位数量) [标准品特有]
  8408. type: integer
  8409. standardqtyrange:
  8410. description: 标准数量偏差范围 [标准品特有]
  8411. type: integer
  8412. type: object
  8413. models.ErmcpFuturesCompany:
  8414. properties:
  8415. brokerid:
  8416. description: 经纪公司代码
  8417. type: string
  8418. channeladdress:
  8419. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8420. type: string
  8421. channelid:
  8422. description: 对冲渠道ID
  8423. type: string
  8424. createtime:
  8425. description: 创建时间
  8426. type: string
  8427. creatorid:
  8428. description: 创建人
  8429. type: string
  8430. fcid:
  8431. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8432. type: integer
  8433. fcname:
  8434. description: 期货公司名称
  8435. type: string
  8436. isvalid:
  8437. description: 是否有效 - 0:无效 1:有效
  8438. type: integer
  8439. mhpaddress:
  8440. description: MHP服务地址(IP:Port)
  8441. type: string
  8442. riskrulegroupid:
  8443. description: 风控规则组ID
  8444. type: string
  8445. tradefeetmpid:
  8446. description: 手续费模板ID[TradeConfigTmpType为2]
  8447. type: string
  8448. trademargintmpid:
  8449. description: 保证金模板ID [TradeConfigTmpType为1]
  8450. type: string
  8451. traderatetmpid:
  8452. description: 汇率模板ID[TradeConfigTmpType为3]
  8453. type: string
  8454. updatetime:
  8455. description: 更新时间
  8456. type: string
  8457. updatorid:
  8458. description: 更新人
  8459. type: string
  8460. type: object
  8461. models.ErmcpGGConvertCfg:
  8462. properties:
  8463. convertratio:
  8464. description: 折算系数
  8465. type: number
  8466. destgoodsgroupid:
  8467. description: 目标品种ID
  8468. type: integer
  8469. dstcode:
  8470. description: 目录品种代码
  8471. type: string
  8472. dstexchangecode:
  8473. description: 目标期货交易所
  8474. type: string
  8475. dstname:
  8476. description: 目标品种名称
  8477. type: string
  8478. dstunitid:
  8479. description: 目标品种单位ID
  8480. type: integer
  8481. dstunitidname:
  8482. description: 目标品种单位名称
  8483. type: string
  8484. modifytime:
  8485. description: 修改时间
  8486. type: string
  8487. srccode:
  8488. description: 源品种代码
  8489. type: string
  8490. srcexchangecode:
  8491. description: 源期货交易所
  8492. type: string
  8493. srcgoodsgroupid:
  8494. description: 源品种ID
  8495. type: integer
  8496. srcname:
  8497. description: 源品种名称
  8498. type: string
  8499. srcunitid:
  8500. description: 源品种单位ID
  8501. type: integer
  8502. srcunitidname:
  8503. description: 源品种单位名称
  8504. type: string
  8505. type: object
  8506. models.ErmcpGoods:
  8507. properties:
  8508. agreeunit:
  8509. description: 合约单位
  8510. type: number
  8511. areauserid:
  8512. description: 所属机构
  8513. type: integer
  8514. auditaccountid:
  8515. description: 审核操作员账号
  8516. type: integer
  8517. audittime:
  8518. description: 审核时间
  8519. type: string
  8520. cancelaccountid:
  8521. description: 注销操作员账号
  8522. type: integer
  8523. canceltime:
  8524. description: 注销时间
  8525. type: string
  8526. closepricemode:
  8527. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8528. type: integer
  8529. closepriceparam:
  8530. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8531. type: number
  8532. createtime:
  8533. description: 创建时间
  8534. type: string
  8535. creatorid:
  8536. description: 创建人
  8537. type: integer
  8538. currencyid:
  8539. description: 报价货币ID
  8540. type: integer
  8541. cutmode:
  8542. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8543. type: integer
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. delistingdate:
  8548. description: 商品退市时间(状态:退市) -- 已作废
  8549. type: string
  8550. delistingmode:
  8551. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8552. type: integer
  8553. deliveryflag:
  8554. description: 交割标志 - 0:不可交割 1:可交割
  8555. type: integer
  8556. enumdicname:
  8557. description: 单位名称
  8558. type: string
  8559. forceclosemode:
  8560. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8561. type: integer
  8562. forceclosevalue:
  8563. description: 定期强平参数 [收益权]
  8564. type: integer
  8565. goodscode:
  8566. description: 商品代码(内部)
  8567. type: string
  8568. goodscurrencyid:
  8569. description: 合约货币ID
  8570. type: integer
  8571. goodsgroupid:
  8572. description: 所属商品组ID
  8573. type: integer
  8574. goodsid:
  8575. description: 商品ID(自增ID SEQ_GOODS)
  8576. type: integer
  8577. goodsname:
  8578. description: 商品名称
  8579. type: string
  8580. goodsquotetype:
  8581. description: '合约报价类型: 1-直接报价 2-间接报价'
  8582. type: integer
  8583. goodsstatus:
  8584. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8585. type: integer
  8586. goodstradetype:
  8587. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8588. type: integer
  8589. goodunitid:
  8590. description: 报价单位ID
  8591. type: integer
  8592. hasquoter:
  8593. description: 是否有报价商 - 0:无报价商 1:有报价商
  8594. type: integer
  8595. hqprotecttime:
  8596. description: 行情保护时间(秒)
  8597. type: integer
  8598. innerdealmode:
  8599. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8600. type: integer
  8601. isbuylimited:
  8602. description: 是否限制建仓量 - 0:不限制 1:限制
  8603. type: integer
  8604. isvisible:
  8605. description: 游客是否可见 - 0:不可见 1:可见
  8606. type: integer
  8607. lasttradedate:
  8608. description: 最后交易日期(状态:待退市)
  8609. type: string
  8610. listingdate:
  8611. description: 交易开始日期
  8612. type: string
  8613. marketid:
  8614. description: 所属市场ID
  8615. type: integer
  8616. modifierid:
  8617. description: 修改人
  8618. type: integer
  8619. modifystatus:
  8620. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8621. type: integer
  8622. modifytime:
  8623. description: 修改时间
  8624. type: string
  8625. outerdealmode:
  8626. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8627. type: integer
  8628. outgoodscode:
  8629. description: 商品代码(外部)
  8630. type: string
  8631. pictureurl:
  8632. description: 商品图片
  8633. type: string
  8634. qtydecimalplace:
  8635. description: 成交量小数位
  8636. type: integer
  8637. quotegear:
  8638. description: 行情档位(1-10)
  8639. type: integer
  8640. quoteminunit:
  8641. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8642. type: integer
  8643. quoteshowtype:
  8644. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8645. type: integer
  8646. quoteshowtypeinterval:
  8647. description: 行情报价间隔时间(秒)(成交价时为0)
  8648. type: integer
  8649. relatedgoodsid:
  8650. description: 关联参考商品ID
  8651. type: integer
  8652. remark:
  8653. description: 备注
  8654. type: string
  8655. trademode:
  8656. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8657. 21:竞拍-大宗式 22:受托竞价
  8658. type: integer
  8659. required:
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. type: object
  8665. models.ErmcpGoodsBrand:
  8666. properties:
  8667. areauserid:
  8668. description: 所属机构
  8669. type: integer
  8670. brandid:
  8671. description: BrandID(SEQ_SPOTGOODSBRAND)
  8672. type: integer
  8673. brandname:
  8674. description: 品牌名称
  8675. type: string
  8676. createtime:
  8677. description: 创建时间
  8678. type: string
  8679. creatorid:
  8680. description: 创建人
  8681. type: integer
  8682. creatorsrc:
  8683. description: 创建人来源 - 1:管理端 2:终端
  8684. type: integer
  8685. deliverygoodsid:
  8686. description: 现货品种ID
  8687. type: integer
  8688. isvalid:
  8689. description: 是否有效 - 0:无效 1:有效
  8690. type: integer
  8691. updatetime:
  8692. description: 更新时间
  8693. type: string
  8694. updatorid:
  8695. description: 更新人
  8696. type: integer
  8697. updatorsrc:
  8698. description: 更新人来源 - 1:管理端 2:终端
  8699. type: integer
  8700. wrstandardid:
  8701. description: 现货商品ID
  8702. type: integer
  8703. type: object
  8704. models.ErmcpGoodsModel:
  8705. properties:
  8706. areauserid:
  8707. description: 所属机构
  8708. type: integer
  8709. convertfactor:
  8710. description: 标仓系数
  8711. type: number
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. creatorid:
  8716. description: 创建人
  8717. type: integer
  8718. creatorsrc:
  8719. description: 创建人来源 - 1:管理端 2:终端
  8720. type: integer
  8721. deliverygoodsid:
  8722. description: 现货品种ID
  8723. type: integer
  8724. isvalid:
  8725. description: 是否有效 - 0:无效 1:有效
  8726. type: integer
  8727. modelid:
  8728. description: ModelID(SEQ_SPOTGOODSMODEL)
  8729. type: integer
  8730. modelname:
  8731. description: 型号名称
  8732. type: string
  8733. updatetime:
  8734. description: 更新时间
  8735. type: string
  8736. updatorid:
  8737. description: 更新人
  8738. type: integer
  8739. updatorsrc:
  8740. description: 更新人来源 - 1:管理端 2:终端
  8741. type: integer
  8742. wrstandardid:
  8743. description: 现货商品ID
  8744. type: integer
  8745. type: object
  8746. models.ErmcpHisExposure:
  8747. properties:
  8748. needhedgeexposoure:
  8749. description: 应套保敞口
  8750. type: number
  8751. reckondate:
  8752. description: 日照时期(yyyyMMdd)
  8753. type: string
  8754. totalexposure:
  8755. description: 总敞口
  8756. type: number
  8757. type: object
  8758. models.ErmcpLoginTaAccount:
  8759. properties:
  8760. accountid:
  8761. description: 账号id
  8762. type: integer
  8763. accountname:
  8764. description: 账号名称
  8765. type: string
  8766. type: object
  8767. models.ErmcpLoginUser:
  8768. properties:
  8769. acclist:
  8770. description: 关联资金账号
  8771. items:
  8772. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8773. type: array
  8774. accountname:
  8775. description: 用户名称
  8776. type: string
  8777. clientroleid:
  8778. description: 角色id(usertype=2)
  8779. type: integer
  8780. createtime:
  8781. description: 创建时间
  8782. type: string
  8783. logincode:
  8784. description: 登录代码
  8785. type: string
  8786. loginid:
  8787. description: 登录id(LOGINID)
  8788. type: integer
  8789. loginname:
  8790. description: 登录名称(loginaccount表中的accountname字段)
  8791. type: string
  8792. loginstatus:
  8793. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8794. type: integer
  8795. memberuserid:
  8796. description: 所属会员id
  8797. type: integer
  8798. mobile:
  8799. description: 手机号
  8800. type: string
  8801. modifytime:
  8802. description: 修改时间
  8803. type: string
  8804. password:
  8805. description: 密码(不可解密)
  8806. type: string
  8807. rolename:
  8808. description: 角色名称
  8809. type: string
  8810. rolestatus:
  8811. description: 角色状态 1-启用 2-停用
  8812. type: integer
  8813. roletype:
  8814. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8815. type: string
  8816. userid:
  8817. description: 用户id
  8818. type: integer
  8819. usertype:
  8820. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8821. type: integer
  8822. type: object
  8823. models.ErmcpLoginUserEx:
  8824. properties:
  8825. accountstatus:
  8826. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8827. type: integer
  8828. mobile:
  8829. description: 手机号
  8830. type: string
  8831. querytype:
  8832. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8833. type: integer
  8834. roleid:
  8835. description: 角色id(交易账户->用户id)
  8836. type: integer
  8837. rolename:
  8838. description: 角色名称(交易账户->用户名称)
  8839. type: string
  8840. userlist:
  8841. description: 用户列表
  8842. items:
  8843. $ref: '#/definitions/models.ErmcpLoginUser'
  8844. type: array
  8845. usertype:
  8846. description: 用户类型 2-机构 7-企业成员(云平台)
  8847. type: integer
  8848. type: object
  8849. models.ErmcpMiddleGoodsModel:
  8850. properties:
  8851. areauserid:
  8852. description: 机构用户ID
  8853. type: integer
  8854. createtime:
  8855. description: 修改时间
  8856. type: string
  8857. enumdicname:
  8858. description: 单位名称
  8859. type: string
  8860. evaluateratio:
  8861. description: 估价系数
  8862. type: number
  8863. goodsgroupid:
  8864. description: 关联期货品种ID
  8865. type: integer
  8866. goodsunitid:
  8867. description: 单位ID
  8868. type: integer
  8869. isvalid:
  8870. description: 状态 0-无效(停用) 1-有效(正常)
  8871. type: integer
  8872. middlegoodscode:
  8873. description: 套保品种代码
  8874. type: string
  8875. middlegoodsid:
  8876. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8877. type: integer
  8878. middlegoodsname:
  8879. description: 套保品种名称
  8880. type: string
  8881. modifytime:
  8882. description: 修改时间
  8883. type: string
  8884. needarbitrageratio:
  8885. description: 套利比例
  8886. type: number
  8887. needhedgeratio:
  8888. description: 套保比率
  8889. type: number
  8890. qtydecimalplace:
  8891. description: 数量小数位
  8892. type: integer
  8893. relatedgoodsid:
  8894. description: 关联交易商品ID
  8895. type: integer
  8896. relatedgoodstype:
  8897. description: 关联商品类型 - 1:期货合约 2:现货品种
  8898. type: integer
  8899. remark:
  8900. description: 备注
  8901. type: string
  8902. type: object
  8903. models.ErmcpMiddlegoodsRelateGoods:
  8904. properties:
  8905. agreeunit:
  8906. description: 合约乘数
  8907. type: number
  8908. convertratio:
  8909. description: 折算系数
  8910. type: number
  8911. enumdicname:
  8912. description: 单位名称(交易商品)
  8913. type: string
  8914. goodscode:
  8915. description: 交易商品代码
  8916. type: string
  8917. goodsgroupid:
  8918. description: 交易品种id
  8919. type: integer
  8920. goodsid:
  8921. description: 商品Id
  8922. type: integer
  8923. goodsname:
  8924. description: 交易商品名称
  8925. type: string
  8926. goodunitid:
  8927. description: 交易商品单位id
  8928. type: integer
  8929. middlegoodsid:
  8930. description: 套保商品id
  8931. type: integer
  8932. middlegoodsname:
  8933. description: 套保商品名称
  8934. type: string
  8935. middlegoodsswcode:
  8936. description: 套保商品代码
  8937. type: string
  8938. needarbitrageratio:
  8939. description: 应套利比例
  8940. type: number
  8941. needhedgeratio:
  8942. description: 应套保比例
  8943. type: number
  8944. type: object
  8945. models.ErmcpRole:
  8946. properties:
  8947. areauserid:
  8948. description: 所属机构
  8949. type: integer
  8950. autoid:
  8951. description: 角色ID(自增ID)
  8952. type: integer
  8953. modifierid:
  8954. description: 修改人(创建人)
  8955. type: integer
  8956. modifiername:
  8957. description: 修改人名称
  8958. type: string
  8959. modifytime:
  8960. description: 修改时间(创建时间)
  8961. type: string
  8962. rolename:
  8963. description: 角色名称
  8964. type: string
  8965. rolestatus:
  8966. description: 角色状态 - 1:启用 2:停用
  8967. type: integer
  8968. roletype:
  8969. description: 角色类型 - 1- 管理端 2- 交易端
  8970. type: integer
  8971. type: object
  8972. models.ErmcpRoleMenu:
  8973. properties:
  8974. iconame:
  8975. description: 菜单图标
  8976. type: string
  8977. ishadrole:
  8978. description: 是否有权限
  8979. type: boolean
  8980. menutype:
  8981. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8982. type: integer
  8983. parentcode:
  8984. description: 上级资源代码
  8985. type: string
  8986. remark:
  8987. description: 菜单备注
  8988. type: string
  8989. resourcecode:
  8990. description: 菜单代码
  8991. type: string
  8992. resourcelevel:
  8993. description: 级别
  8994. type: integer
  8995. resourcename:
  8996. description: 菜单名称
  8997. type: string
  8998. roleid:
  8999. description: 角色id
  9000. type: integer
  9001. sort:
  9002. description: 排序
  9003. type: integer
  9004. url:
  9005. description: URL
  9006. type: string
  9007. userid:
  9008. description: 用户id
  9009. type: integer
  9010. type: object
  9011. models.ErmcpRoleMenuEx:
  9012. properties:
  9013. menu:
  9014. $ref: '#/definitions/models.ErmcpRoleMenu'
  9015. description: 父级菜单
  9016. subMenu:
  9017. description: 子级菜单
  9018. items:
  9019. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9020. type: array
  9021. type: object
  9022. models.ErmcpSpotContractModelEx:
  9023. properties:
  9024. accountname:
  9025. description: 套期主体
  9026. type: string
  9027. amount:
  9028. description: 金额 [1:一口价、3:暂定价]
  9029. type: number
  9030. attachment:
  9031. description: 附件
  9032. type: string
  9033. auditremark:
  9034. description: 审核意见
  9035. type: string
  9036. audittime:
  9037. description: 审核时间
  9038. type: string
  9039. avgprice:
  9040. description: 定价均价 = 已定价金额 / 已定价量
  9041. type: number
  9042. brandname:
  9043. description: 品牌名称
  9044. type: string
  9045. buyuserid:
  9046. description: 采购方ID
  9047. type: integer
  9048. buyusername:
  9049. description: 采购方名称
  9050. type: string
  9051. contracctstatus:
  9052. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9053. type: integer
  9054. contractmargin:
  9055. description: 合同保证金
  9056. type: number
  9057. contractno:
  9058. description: '[合同编号]现货合同编号'
  9059. type: string
  9060. contracttype:
  9061. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9062. type: integer
  9063. convertfactor:
  9064. description: 标仓系数
  9065. type: number
  9066. createtime:
  9067. description: 创建时间
  9068. type: string
  9069. customername:
  9070. description: 对手方
  9071. type: string
  9072. customeruserid:
  9073. description: 客户ID
  9074. type: integer
  9075. deliveryenddate:
  9076. description: 交收期(结束)
  9077. type: string
  9078. deliverygoodscode:
  9079. description: 现货品种代码
  9080. type: string
  9081. deliverygoodsid:
  9082. description: 现货品种ID
  9083. type: integer
  9084. deliverygoodsname:
  9085. description: 现货品种名称
  9086. type: string
  9087. deliverystartdate:
  9088. description: 交收期(开始)
  9089. type: string
  9090. enddate:
  9091. description: 点价结束日期 [2:点价 3:暂定价]
  9092. type: string
  9093. enumdicname:
  9094. description: 单位名称
  9095. type: string
  9096. goodscode:
  9097. description: 点价合约代码
  9098. type: string
  9099. goodsid:
  9100. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9101. type: integer
  9102. goodsname:
  9103. description: 点价商品名称
  9104. type: string
  9105. isrelated:
  9106. description: 是否已关联计划项目 - 0:否 1:是
  9107. type: integer
  9108. isrelated2:
  9109. description: 是否已关联现货项目 - 0:否 1:是
  9110. type: integer
  9111. margin:
  9112. description: 当前保证金
  9113. type: number
  9114. modelname:
  9115. description: 型号名称
  9116. type: string
  9117. price:
  9118. description: 价格\暂定价 [1:一口价、3:暂定价]
  9119. type: number
  9120. pricedamount:
  9121. description: 已定价金额 = (点价价格+升贴水) * 数量
  9122. type: number
  9123. pricedqty:
  9124. description: 已定价量
  9125. type: number
  9126. pricemove:
  9127. description: 升贴水 [2:点价 3:暂定价]
  9128. type: number
  9129. pricetype:
  9130. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9131. type: integer
  9132. producttype:
  9133. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9134. type: integer
  9135. qty:
  9136. description: '[合同数量]数量'
  9137. type: number
  9138. remark:
  9139. description: 备注
  9140. type: string
  9141. selluserid:
  9142. description: 销售方ID
  9143. type: integer
  9144. sellusername:
  9145. description: 销售方名称
  9146. type: string
  9147. spotamount:
  9148. description: 合同现货金额 [不含升贴水]
  9149. type: number
  9150. spotavgprice:
  9151. description: 现货均价 = 合同现货金额 / 已定价量
  9152. type: number
  9153. spotcontractid:
  9154. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9155. type: string
  9156. spotgoodsbrandid:
  9157. description: 现货品牌ID
  9158. type: integer
  9159. spotgoodsdesc:
  9160. description: 商品型号
  9161. type: string
  9162. spotgoodsmodelid:
  9163. description: 现货型号ID
  9164. type: integer
  9165. startdate:
  9166. description: 点价开始日期 [2:点价 3:暂定价]
  9167. type: string
  9168. tradeuserid:
  9169. description: 交易用户ID
  9170. type: integer
  9171. unpricedqty:
  9172. description: 未定价量 = 合同数量 - 已定价量
  9173. type: number
  9174. updatetime:
  9175. description: 更新时间
  9176. type: string
  9177. userid:
  9178. description: 机构ID
  9179. type: integer
  9180. wrstandardcode:
  9181. description: 现货商品代码
  9182. type: string
  9183. wrstandardid:
  9184. description: 现货商品ID
  9185. type: integer
  9186. wrstandardname:
  9187. description: '[现货商品]现货商品名称'
  9188. type: string
  9189. type: object
  9190. models.ErmcpTaAccount:
  9191. properties:
  9192. accountid:
  9193. description: 账户id
  9194. type: integer
  9195. accountname:
  9196. description: 账户名称
  9197. type: string
  9198. currencyid:
  9199. description: 币种id
  9200. type: integer
  9201. hedgeaccountcode:
  9202. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9203. type: string
  9204. ismain:
  9205. description: 是否主账户 0-否 1-是
  9206. type: integer
  9207. parentaccountid:
  9208. description: 父账户id
  9209. type: integer
  9210. relateduserid:
  9211. description: 关联userid
  9212. type: integer
  9213. tradefeetmpid:
  9214. description: 手续费模板id
  9215. type: integer
  9216. tradefeetmpname:
  9217. description: 手续费模板名称
  9218. type: string
  9219. trademargintmpid:
  9220. description: 保证金模板id
  9221. type: integer
  9222. trademargintmpname:
  9223. description: 保证金模板名称
  9224. type: string
  9225. traderatetmpid:
  9226. description: 汇率模板id
  9227. type: integer
  9228. traderatetmpname:
  9229. description: 汇率模板名称
  9230. type: string
  9231. tradestatus:
  9232. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9233. type: integer
  9234. userid:
  9235. description: 用户id
  9236. type: integer
  9237. type: object
  9238. models.ErmcpTaAccountEx:
  9239. properties:
  9240. mainAcc:
  9241. $ref: '#/definitions/models.ErmcpTaAccountM'
  9242. description: 主账号
  9243. subacclist:
  9244. description: 子账号列表
  9245. items:
  9246. $ref: '#/definitions/models.ErmcpTaAccount'
  9247. type: array
  9248. type: object
  9249. models.ErmcpTaAccountInfo:
  9250. properties:
  9251. accountid:
  9252. description: 资金账户ID
  9253. type: integer
  9254. accountname:
  9255. description: 账户名称
  9256. type: string
  9257. balance:
  9258. description: 期初余额
  9259. type: number
  9260. capitalbalance:
  9261. description: 本金余额[外部子账户实际出入金余额]
  9262. type: number
  9263. closepl:
  9264. description: 今日平仓盈亏
  9265. type: number
  9266. creditdecrease:
  9267. description: 今日授信减少
  9268. type: number
  9269. creditincrease:
  9270. description: 今日授信增加
  9271. type: number
  9272. curdebt:
  9273. description: 期末欠款
  9274. type: number
  9275. currencyid:
  9276. description: 货币ID
  9277. type: integer
  9278. currentbalance:
  9279. description: 期末余额
  9280. type: number
  9281. freezecharge:
  9282. description: 手续费冻结
  9283. type: number
  9284. freezemargin:
  9285. description: 冻结保证金
  9286. type: number
  9287. fromaccountid:
  9288. description: 所属上级账户
  9289. type: integer
  9290. inamount:
  9291. description: 今日入金金额(包括三方入金)
  9292. type: number
  9293. ismain:
  9294. description: 是否母账号 0:不是母账户 1:是母账户
  9295. type: integer
  9296. mortgagecredit:
  9297. description: 授信金额
  9298. type: number
  9299. oridebt:
  9300. description: 期初欠款
  9301. type: number
  9302. orifreezecharge:
  9303. description: 期初手续费冻结
  9304. type: number
  9305. orifreezemargin:
  9306. description: 期初冻结保证金
  9307. type: number
  9308. orimortgagecredit:
  9309. description: 期初授信金额
  9310. type: number
  9311. oriothercredit:
  9312. description: 期初其它授信金额
  9313. type: number
  9314. oriotherfreezemargin:
  9315. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9316. type: number
  9317. orioutamountfreeze:
  9318. description: 期初出金冻结
  9319. type: number
  9320. oriusedmargin:
  9321. description: 期初占用保证金
  9322. type: number
  9323. othercredit:
  9324. description: 其它授信金额
  9325. type: number
  9326. othercreditdecrease:
  9327. description: 今日其它授信减少
  9328. type: number
  9329. othercreditincrease:
  9330. description: 今日其它授信增加
  9331. type: number
  9332. otherfreezemargin:
  9333. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9334. type: number
  9335. outamount:
  9336. description: 今日出金金额(包括三方出金)
  9337. type: number
  9338. outamountfreeze:
  9339. description: 出金冻结
  9340. type: number
  9341. outthreshold:
  9342. description: 出金阈值
  9343. type: number
  9344. parentaccountid:
  9345. description: 所属根账号
  9346. type: integer
  9347. paycharge:
  9348. description: 今日手续费支出
  9349. type: number
  9350. relateduserid:
  9351. description: 关联用户
  9352. type: integer
  9353. signstatus:
  9354. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9355. type: integer
  9356. sublevelpath:
  9357. description: 账号层级路径(逗号分隔,首尾加逗号)
  9358. type: string
  9359. taaccounttype:
  9360. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9361. type: integer
  9362. thirdinamount:
  9363. description: 今日三方入金
  9364. type: number
  9365. thirdoutamount:
  9366. description: 今日三方出金
  9367. type: number
  9368. tradestatus:
  9369. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9370. type: integer
  9371. transferamount:
  9372. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9373. type: number
  9374. usedmargin:
  9375. description: 占用保证金
  9376. type: number
  9377. userid:
  9378. description: 用户ID
  9379. type: integer
  9380. type: object
  9381. models.ErmcpTaAccountM:
  9382. properties:
  9383. accountid:
  9384. description: 账户id
  9385. type: integer
  9386. accountname:
  9387. description: 账户名称
  9388. type: string
  9389. currencyid:
  9390. description: 币种id
  9391. type: integer
  9392. fcid:
  9393. description: 期货公司id
  9394. type: integer
  9395. fcname:
  9396. description: 期货公司代码
  9397. type: string
  9398. hedgeaccountcode:
  9399. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9400. type: string
  9401. ismain:
  9402. description: 是否主账户 0-否 1-是
  9403. type: integer
  9404. parentaccountid:
  9405. description: 父账户id
  9406. type: integer
  9407. relateduserid:
  9408. description: 关联userid
  9409. type: integer
  9410. tradefeetmpid:
  9411. description: 手续费模板id
  9412. type: integer
  9413. tradefeetmpname:
  9414. description: 手续费模板名称
  9415. type: string
  9416. trademargintmpid:
  9417. description: 保证金模板id
  9418. type: integer
  9419. trademargintmpname:
  9420. description: 保证金模板名称
  9421. type: string
  9422. traderatetmpid:
  9423. description: 汇率模板id
  9424. type: integer
  9425. traderatetmpname:
  9426. description: 汇率模板名称
  9427. type: string
  9428. tradestatus:
  9429. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9430. type: integer
  9431. userid:
  9432. description: 用户id
  9433. type: integer
  9434. type: object
  9435. models.ErmcpTradeConfigTMP:
  9436. properties:
  9437. areauserid:
  9438. description: 所属机构
  9439. type: integer
  9440. basiccurrencyid:
  9441. description: 基本币种ID[汇率] - 目标币种
  9442. type: integer
  9443. mainaccountid:
  9444. description: 主账户ID
  9445. type: integer
  9446. modifierid:
  9447. description: 修改人
  9448. type: integer
  9449. remark:
  9450. description: 备注
  9451. type: string
  9452. tradeconfigtmpid:
  9453. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9454. type: integer
  9455. tradeconfigtmpname:
  9456. description: 交易配置模板名称
  9457. type: string
  9458. tradeconfigtmptype:
  9459. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9460. type: integer
  9461. updatetime:
  9462. description: 更新时间
  9463. type: string
  9464. type: object
  9465. models.Ermcpjrlinkpos:
  9466. properties:
  9467. areauserid:
  9468. description: 所属企业
  9469. type: integer
  9470. averageprice:
  9471. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9472. type: number
  9473. closepl:
  9474. description: 总平仓盈亏 [期货损益]
  9475. type: number
  9476. executeprice:
  9477. description: 执行价 - 1:期货单 为 0
  9478. type: integer
  9479. futurehedgeqty:
  9480. description: 期货套期量
  9481. type: number
  9482. goodsid:
  9483. description: 期货合约
  9484. type: integer
  9485. middlegoodscode:
  9486. description: 套保商品代码
  9487. type: string
  9488. middlegoodsname:
  9489. description: 套保商品名称
  9490. type: string
  9491. netqty:
  9492. description: 净头寸
  9493. type: number
  9494. optioncode:
  9495. description: 期权代码
  9496. type: string
  9497. ordertype:
  9498. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9499. type: integer
  9500. reckonpl:
  9501. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9502. type: number
  9503. spotcontractid:
  9504. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9505. type: string
  9506. todayfutureclosepl:
  9507. description: 今日平仓盈亏
  9508. type: number
  9509. totalbuyamount:
  9510. description: 买金额 [期货]
  9511. type: number
  9512. totalbuyholdamount:
  9513. description: 买持仓总金额[期货]
  9514. type: number
  9515. totalbuyqty:
  9516. description: 买数量
  9517. type: number
  9518. totalcharge:
  9519. description: 手续费
  9520. type: number
  9521. totalpremium:
  9522. description: 权利金 [期权]
  9523. type: number
  9524. totalsellamount:
  9525. description: 卖金额 [期货]
  9526. type: number
  9527. totalsellholdamount:
  9528. description: 卖持仓总金额[期货]
  9529. type: number
  9530. totalsellqty:
  9531. description: 卖数量
  9532. type: number
  9533. updatetime:
  9534. description: 更新时间
  9535. type: string
  9536. required:
  9537. - spotcontractid
  9538. type: object
  9539. models.Ermcppatradelinkdetail:
  9540. properties:
  9541. agreeunit:
  9542. description: 合约乘数
  9543. type: number
  9544. amount:
  9545. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9546. type: number
  9547. areauserid:
  9548. description: 所属机构
  9549. type: integer
  9550. bizsubjectid:
  9551. description: 归属业务部门ID - SubjectID
  9552. type: integer
  9553. buyorsell:
  9554. description: 方向 - 0:买 1:卖
  9555. type: integer
  9556. convertratio:
  9557. description: 品种系数
  9558. type: number
  9559. createtime:
  9560. description: 创建时间
  9561. type: string
  9562. creatorid:
  9563. description: 创建人ID
  9564. type: integer
  9565. creatorsrc:
  9566. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9567. type: integer
  9568. goodsgroupid:
  9569. description: 对冲品种ID[期货合约商品组ID]
  9570. type: integer
  9571. goodsid:
  9572. description: 商品ID
  9573. type: integer
  9574. hedgeditemid:
  9575. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9576. type: integer
  9577. hedgeflag:
  9578. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9579. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9580. type: integer
  9581. linkdetailid:
  9582. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9583. type: string
  9584. linkstatus:
  9585. description: 关联状态 - 1:成功 2:失败 3:解绑
  9586. type: integer
  9587. middlegoodsid:
  9588. description: 套保品种ID
  9589. type: integer
  9590. name:
  9591. description: 账户名/子账户
  9592. type: string
  9593. optioncode:
  9594. description: '[期货合约]期权代码 [期权]'
  9595. type: string
  9596. ordertype:
  9597. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9598. type: integer
  9599. relatedlot:
  9600. description: '[数量]关联手数'
  9601. type: number
  9602. relatedmode:
  9603. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9604. type: integer
  9605. relatedqty:
  9606. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9607. type: number
  9608. retcode:
  9609. description: 返回码
  9610. type: integer
  9611. saleuserid:
  9612. description: 业务员ID
  9613. type: integer
  9614. tradedate:
  9615. description: 关联交易日(yyyyMMdd)
  9616. type: string
  9617. tradeid:
  9618. description: '[成交单号]内部成交单ID'
  9619. type: string
  9620. tradelot:
  9621. description: 成交手数
  9622. type: integer
  9623. tradeprice:
  9624. description: '[价格]成交价格'
  9625. type: number
  9626. tradetime:
  9627. description: 日期时间
  9628. type: string
  9629. tradetradedate:
  9630. description: 成交交易日(yyyyMMdd)
  9631. type: string
  9632. required:
  9633. - hedgeditemid
  9634. type: object
  9635. models.Externalexchange:
  9636. properties:
  9637. autoid:
  9638. description: AutoID - SEQ_EXTERNALEXCHANGE
  9639. type: integer
  9640. exchangefullname:
  9641. description: 外部交易所全称
  9642. type: string
  9643. exexchangecode:
  9644. description: 外部交易所代码
  9645. type: string
  9646. exexchangename:
  9647. description: 外部交易所名称(简称)
  9648. type: string
  9649. ismarketprice:
  9650. description: 是否支持市价 - 0:不支持 1:支持
  9651. type: integer
  9652. quotegear:
  9653. description: 行情档位(1-10)
  9654. type: integer
  9655. showbrokerflag:
  9656. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9657. type: integer
  9658. updatetime:
  9659. description: 更新时间
  9660. type: string
  9661. required:
  9662. - autoid
  9663. type: object
  9664. models.Funcmenulist:
  9665. properties:
  9666. iconame:
  9667. description: 菜单图标
  9668. type: string
  9669. menutype:
  9670. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9671. type: integer
  9672. parentcode:
  9673. description: 上级资源代码
  9674. type: string
  9675. remark:
  9676. description: 备注
  9677. type: string
  9678. resourcecode:
  9679. description: 资源代码
  9680. type: string
  9681. resourcelevel:
  9682. description: 级别 1-一级 2-二级 3-三级 4-四级
  9683. type: integer
  9684. resourcename:
  9685. description: 资源名
  9686. type: string
  9687. sort:
  9688. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9689. type: integer
  9690. url:
  9691. description: URL
  9692. type: string
  9693. required:
  9694. - resourcecode
  9695. type: object
  9696. models.GZWarehouseinfo:
  9697. properties:
  9698. address:
  9699. description: 详细地址
  9700. type: string
  9701. areauserid:
  9702. description: 所属机构
  9703. type: integer
  9704. autoid:
  9705. description: 自增ID
  9706. type: integer
  9707. cityid:
  9708. description: 市
  9709. type: integer
  9710. contactname:
  9711. description: 联系人
  9712. type: string
  9713. contactnum:
  9714. description: 联系电话
  9715. type: string
  9716. countryid:
  9717. description: 国家
  9718. type: integer
  9719. createtime:
  9720. description: 创建时间
  9721. type: string
  9722. districtid:
  9723. description: 区
  9724. type: integer
  9725. hasvideo:
  9726. description: 是否有视频 - 0:无 1:有
  9727. type: integer
  9728. provinceid:
  9729. description: 省
  9730. type: integer
  9731. remark:
  9732. description: 审核备注
  9733. type: string
  9734. videourl:
  9735. description: 视频地址
  9736. type: string
  9737. warehousecode:
  9738. description: 仓库代码
  9739. type: string
  9740. warehousename:
  9741. description: 仓库名称
  9742. type: string
  9743. warehousestatus:
  9744. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9745. type: integer
  9746. warehousetype:
  9747. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9748. type: integer
  9749. type: object
  9750. models.Goods:
  9751. properties:
  9752. agreeunit:
  9753. description: 合约单位
  9754. type: number
  9755. areauserid:
  9756. description: 所属机构
  9757. type: integer
  9758. auditaccountid:
  9759. description: 审核操作员账号
  9760. type: integer
  9761. audittime:
  9762. description: 审核时间
  9763. type: string
  9764. cancelaccountid:
  9765. description: 注销操作员账号
  9766. type: integer
  9767. canceltime:
  9768. description: 注销时间
  9769. type: string
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  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. cutmode:
  9786. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9787. type: integer
  9788. decimalplace:
  9789. description: 报价小数位
  9790. type: integer
  9791. delistingdate:
  9792. description: 商品退市时间(状态:退市) -- 已作废
  9793. type: string
  9794. delistingmode:
  9795. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9796. type: integer
  9797. deliveryflag:
  9798. description: 交割标志 - 0:不可交割 1:可交割
  9799. type: integer
  9800. forceclosemode:
  9801. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9802. type: integer
  9803. forceclosevalue:
  9804. description: 定期强平参数 [收益权]
  9805. type: integer
  9806. goodscode:
  9807. description: 商品代码(内部)
  9808. type: string
  9809. goodscurrencyid:
  9810. description: 合约货币ID
  9811. type: integer
  9812. goodsgroupid:
  9813. description: 所属商品组ID
  9814. type: integer
  9815. goodsid:
  9816. description: 商品ID(自增ID SEQ_GOODS)
  9817. type: integer
  9818. goodsname:
  9819. description: 商品名称
  9820. type: string
  9821. goodsquotetype:
  9822. description: '合约报价类型: 1-直接报价 2-间接报价'
  9823. type: integer
  9824. goodsstatus:
  9825. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9826. type: integer
  9827. goodstradetype:
  9828. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9829. type: integer
  9830. goodunitid:
  9831. description: 报价单位ID
  9832. type: integer
  9833. hasquoter:
  9834. description: 是否有报价商 - 0:无报价商 1:有报价商
  9835. type: integer
  9836. hqprotecttime:
  9837. description: 行情保护时间(秒)
  9838. type: integer
  9839. innerdealmode:
  9840. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9841. type: integer
  9842. isbuylimited:
  9843. description: 是否限制建仓量 - 0:不限制 1:限制
  9844. type: integer
  9845. isvisible:
  9846. description: 游客是否可见 - 0:不可见 1:可见
  9847. type: integer
  9848. lasttradedate:
  9849. description: 最后交易日期(状态:待退市)
  9850. type: string
  9851. listingdate:
  9852. description: 交易开始日期
  9853. type: string
  9854. marketid:
  9855. description: 所属市场ID
  9856. type: integer
  9857. modifierid:
  9858. description: 修改人
  9859. type: integer
  9860. modifystatus:
  9861. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9862. type: integer
  9863. modifytime:
  9864. description: 修改时间
  9865. type: string
  9866. outerdealmode:
  9867. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9868. type: integer
  9869. outgoodscode:
  9870. description: 商品代码(外部)
  9871. type: string
  9872. pictureurl:
  9873. description: 商品图片
  9874. type: string
  9875. qtydecimalplace:
  9876. description: 成交量小数位
  9877. type: integer
  9878. quotegear:
  9879. description: 行情档位(1-10)
  9880. type: integer
  9881. quoteminunit:
  9882. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9883. type: integer
  9884. quoteshowtype:
  9885. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9886. type: integer
  9887. quoteshowtypeinterval:
  9888. description: 行情报价间隔时间(秒)(成交价时为0)
  9889. type: integer
  9890. remark:
  9891. description: 备注
  9892. type: string
  9893. required:
  9894. - goodscode
  9895. - goodsid
  9896. - goodsname
  9897. - marketid
  9898. type: object
  9899. models.GoodsIDAndName:
  9900. properties:
  9901. goodscode:
  9902. description: 商品代码(内部)
  9903. type: string
  9904. goodsid:
  9905. description: 商品ID(自增ID SEQ_GOODS)
  9906. type: integer
  9907. goodsname:
  9908. description: 商品名称
  9909. type: string
  9910. marketid:
  9911. description: 所属市场ID
  9912. type: integer
  9913. required:
  9914. - goodscode
  9915. - goodsid
  9916. - goodsname
  9917. - marketid
  9918. type: object
  9919. models.Goodsgroup:
  9920. properties:
  9921. agreeunit:
  9922. description: 合约单位
  9923. type: number
  9924. canshort:
  9925. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9926. type: integer
  9927. closepricemode:
  9928. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9929. type: integer
  9930. closepriceparam:
  9931. description: 强平最新价浮动比例 - 方式为2时使用
  9932. type: number
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. creatorid:
  9937. description: 创建人
  9938. type: integer
  9939. currencyid:
  9940. description: 报价货币ID
  9941. type: integer
  9942. decimalplace:
  9943. description: 报价小数位
  9944. type: integer
  9945. exercisetype:
  9946. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9947. type: integer
  9948. exexchangeid:
  9949. description: 外部交易所ID[通道交易]
  9950. type: integer
  9951. goodsgroupid:
  9952. description: 商品组ID(自增ID)
  9953. type: integer
  9954. goodsgroupname:
  9955. description: 商品组名称
  9956. type: string
  9957. goodsgroupstatus:
  9958. description: 商品组状态 - 1:正常 2:注销
  9959. type: integer
  9960. goodunitid:
  9961. description: 报价单位ID
  9962. type: integer
  9963. innerdealmode:
  9964. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9965. type: integer
  9966. isbuylimited:
  9967. description: 是否限制建仓量 - 0:不限制 1:限制
  9968. type: integer
  9969. marketid:
  9970. description: 所属市场ID
  9971. type: integer
  9972. modifierid:
  9973. description: 修改人
  9974. type: integer
  9975. modifytime:
  9976. description: 修改时间
  9977. type: string
  9978. outerdealmode:
  9979. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9980. type: integer
  9981. outergroupcode:
  9982. description: 外部商品组代码[通道交易]
  9983. type: string
  9984. premiumdecimalplace:
  9985. description: 权利金小数位[场外期权]
  9986. type: integer
  9987. premiumspreadalgorithm:
  9988. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9989. type: integer
  9990. premiumspreadvalue:
  9991. description: 权利金点差值[场外期权]
  9992. type: number
  9993. qtydecimalplace:
  9994. description: 成交量小数位
  9995. type: integer
  9996. quotegear:
  9997. description: 行情档位(1-10)
  9998. type: integer
  9999. quoteminunit:
  10000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10001. type: integer
  10002. quoterid:
  10003. description: 报价商ID[场外期权]
  10004. type: integer
  10005. quotesourcegroupid:
  10006. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10007. type: integer
  10008. syncgoodsqty:
  10009. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10010. type: integer
  10011. required:
  10012. - goodsgroupid
  10013. - goodsgroupname
  10014. - goodsgroupstatus
  10015. - marketid
  10016. type: object
  10017. models.Goodssortbypreposition:
  10018. properties:
  10019. goodscode:
  10020. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10021. type: string
  10022. goodsgroupcode:
  10023. description: 品种代码
  10024. type: string
  10025. prepositionqty:
  10026. description: 昨持仓量
  10027. type: integer
  10028. sortindex:
  10029. description: 排序
  10030. type: integer
  10031. tradedate:
  10032. description: 交易日
  10033. type: string
  10034. updatetime:
  10035. description: 更新时间
  10036. type: string
  10037. required:
  10038. - goodscode
  10039. - tradedate
  10040. type: object
  10041. models.Hedgeinnerholderdetail:
  10042. properties:
  10043. accountid:
  10044. description: 账号ID
  10045. type: integer
  10046. buyorsell:
  10047. description: 方向 - 0:买 1:卖
  10048. type: integer
  10049. freezeqty:
  10050. description: 冻结数量 - 按单平使用
  10051. type: integer
  10052. goodsid:
  10053. description: 商品ID
  10054. type: integer
  10055. holderamount:
  10056. description: 持仓金额 [商品币种]
  10057. type: number
  10058. holderdays:
  10059. description: 剩余冻结天数
  10060. type: integer
  10061. holderprice:
  10062. description: 持仓价格
  10063. type: number
  10064. holderqty:
  10065. description: 持仓数量
  10066. type: integer
  10067. marketid:
  10068. description: 市场ID
  10069. type: integer
  10070. openprice:
  10071. description: 建仓价格
  10072. type: number
  10073. openqty:
  10074. description: 建仓数量
  10075. type: integer
  10076. parentaccountid:
  10077. description: 所属母账户
  10078. type: integer
  10079. releaseamount:
  10080. description: 释放持仓金额[商品币种]
  10081. type: number
  10082. tradeamount:
  10083. description: 成交金额[账户]
  10084. type: number
  10085. tradedate:
  10086. description: 交易日(yyyyMMdd)
  10087. type: string
  10088. tradeid:
  10089. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10090. type: string
  10091. tradetime:
  10092. description: 交易时间
  10093. type: string
  10094. required:
  10095. - buyorsell
  10096. - tradeid
  10097. type: object
  10098. models.Hedgemarketopenlog:
  10099. properties:
  10100. accountid:
  10101. description: 资金账号[外部母账户]
  10102. type: integer
  10103. fcname:
  10104. description: 期货公司名称
  10105. type: string
  10106. handlestatus:
  10107. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10108. type: integer
  10109. marketid:
  10110. description: 市场ID
  10111. type: integer
  10112. status:
  10113. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10114. type: integer
  10115. tradedate:
  10116. description: 交易日(yyyyMMdd)
  10117. type: string
  10118. updatetime:
  10119. description: 更新时间
  10120. type: string
  10121. required:
  10122. - accountid
  10123. type: object
  10124. models.HsbyBuyMyPayOrder:
  10125. properties:
  10126. agreeunit:
  10127. description: 合约单位
  10128. type: number
  10129. buyaccountid:
  10130. description: 买方账号ID[报价币种]
  10131. type: integer
  10132. buyorderid:
  10133. description: 买方委托单号
  10134. type: string
  10135. createtime:
  10136. description: 创建时间
  10137. type: string
  10138. currencysign:
  10139. description: 货币符号
  10140. type: string
  10141. decimalplace:
  10142. description: 报价小数位
  10143. type: integer
  10144. goodscode:
  10145. description: 商品代码(内部)
  10146. type: string
  10147. goodsid:
  10148. description: 商品ID
  10149. type: integer
  10150. goodsname:
  10151. description: 商品名称
  10152. type: string
  10153. marketid:
  10154. description: 市场ID
  10155. type: integer
  10156. offamount:
  10157. description: 优惠金额
  10158. type: number
  10159. originalamount:
  10160. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10161. type: number
  10162. payamount:
  10163. description: 支付金额 = TradeAmount + TradeCharge
  10164. type: number
  10165. payflag:
  10166. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10167. type: integer
  10168. paylimitedtime:
  10169. description: 支付期限
  10170. type: string
  10171. paytime:
  10172. description: 付款时间
  10173. type: string
  10174. picurls1:
  10175. description: 预售商品介绍图片[多张用逗号分隔]
  10176. type: string
  10177. picurls2:
  10178. description: 挂牌商品介绍图片[多张用逗号分隔]
  10179. type: string
  10180. sellaccountid:
  10181. description: 卖方账号ID[报价币种]
  10182. type: integer
  10183. sellorderid:
  10184. description: 卖方委托单号
  10185. type: string
  10186. tradeamount:
  10187. description: 成交金额
  10188. type: number
  10189. tradecharge:
  10190. description: 成交手续费(买方)
  10191. type: number
  10192. tradedate:
  10193. description: 交易日(yyyyMMdd)
  10194. type: string
  10195. tradeid:
  10196. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10197. type: string
  10198. trademode:
  10199. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10200. 21:竞拍-大宗式 22:受托竞价
  10201. type: integer
  10202. tradeprice:
  10203. description: 成交价格
  10204. type: number
  10205. tradeqty:
  10206. description: 成交数量
  10207. type: integer
  10208. vendorname1:
  10209. description: 预售商品供应商名称
  10210. type: string
  10211. vendorname2:
  10212. description: 挂牌商品供应商名称
  10213. type: string
  10214. required:
  10215. - goodscode
  10216. - goodsname
  10217. - tradeid
  10218. - trademode
  10219. type: object
  10220. models.HsbyBuyMyTradeDetail:
  10221. properties:
  10222. accountid:
  10223. description: 账户ID[报价币种]
  10224. type: integer
  10225. agreeunit:
  10226. description: 合约单位
  10227. type: number
  10228. amount:
  10229. description: 金额 = 价格 * 数量 * 合约单位
  10230. type: number
  10231. buyorsell:
  10232. description: 买卖 - 0:买 1:卖
  10233. type: integer
  10234. currencysign:
  10235. description: 货币符号
  10236. type: string
  10237. decimalplace:
  10238. description: 报价小数位
  10239. type: integer
  10240. goodscode:
  10241. description: 商品代码(内部)
  10242. type: string
  10243. goodsid:
  10244. description: 商品ID
  10245. type: integer
  10246. goodsname:
  10247. description: 商品名称
  10248. type: string
  10249. marketid:
  10250. description: 市场ID
  10251. type: integer
  10252. orderamount:
  10253. description: 委托金额
  10254. type: number
  10255. orderid:
  10256. description: 单号(成交单号)
  10257. type: string
  10258. picurls1:
  10259. description: 预售商品介绍图片[多张用逗号分隔]
  10260. type: string
  10261. picurls2:
  10262. description: 挂牌商品介绍图片[多张用逗号分隔]
  10263. type: string
  10264. price:
  10265. description: 价格
  10266. type: number
  10267. qty:
  10268. description: 数量
  10269. type: integer
  10270. time:
  10271. description: 时间
  10272. type: string
  10273. trademode:
  10274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10275. 21:竞拍-大宗式 22:受托竞价
  10276. type: integer
  10277. vendorname1:
  10278. description: 预售商品供应商名称
  10279. type: string
  10280. vendorname2:
  10281. description: 挂牌商品供应商名称
  10282. type: string
  10283. required:
  10284. - accountid
  10285. - buyorsell
  10286. - goodscode
  10287. - goodsid
  10288. - goodsname
  10289. - marketid
  10290. - orderid
  10291. - qty
  10292. - time
  10293. - trademode
  10294. type: object
  10295. models.HsbyGoodsOrderDetail:
  10296. properties:
  10297. buyorsell:
  10298. description: 买卖 - 0:买 1:卖
  10299. type: integer
  10300. currencysign:
  10301. description: 货币符号
  10302. type: string
  10303. customername:
  10304. description: 客户名称(企业名称),已脱敏
  10305. type: string
  10306. enableqty:
  10307. description: 可用数量
  10308. type: integer
  10309. goodunit:
  10310. description: 报价单位
  10311. type: string
  10312. orderid:
  10313. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10314. type: string
  10315. orderprice:
  10316. description: 委托价格
  10317. type: number
  10318. ordertime:
  10319. description: 委托时间
  10320. type: string
  10321. required:
  10322. - buyorsell
  10323. - orderid
  10324. - ordertime
  10325. type: object
  10326. models.HsbyListingGoodsDetail:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. buymaxqty:
  10332. description: 购买上限 [71] - 0为不限
  10333. type: integer
  10334. currency:
  10335. description: 货币
  10336. type: string
  10337. currencysign:
  10338. description: 货币符号
  10339. type: string
  10340. decimalplace:
  10341. description: 报价小数位
  10342. type: integer
  10343. desccityid:
  10344. description: 目的地(市)ID
  10345. type: integer
  10346. descprovinceid:
  10347. description: 目的地(省)ID
  10348. type: integer
  10349. goodscode:
  10350. description: 商品代码(内部)
  10351. type: string
  10352. goodsdesc:
  10353. description: 商品详情
  10354. type: string
  10355. goodsid:
  10356. description: 商品ID(自增ID SEQ_GOODS)
  10357. type: integer
  10358. goodsname:
  10359. description: 商品名称
  10360. type: string
  10361. goodsprice:
  10362. description: 商品价格
  10363. type: number
  10364. hotindex:
  10365. description: 景点热度
  10366. type: integer
  10367. last:
  10368. description: 现价
  10369. type: number
  10370. limitdown:
  10371. description: 跌停价
  10372. type: number
  10373. limitup:
  10374. description: 涨停价
  10375. type: number
  10376. lotsize:
  10377. description: 手数最小变动单位
  10378. type: integer
  10379. marketid:
  10380. description: 所属市场ID
  10381. type: integer
  10382. picurls:
  10383. description: 介绍图片[多张用逗号分隔]
  10384. type: string
  10385. quoteminunit:
  10386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10387. type: integer
  10388. stepvalue:
  10389. description: 价格最小变动单位
  10390. type: number
  10391. trademode:
  10392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10393. 21:竞拍-大宗式 22:受托竞价
  10394. type: integer
  10395. vendorattr:
  10396. description: 供应商附件(多张,逗号分隔)
  10397. type: string
  10398. vendorname:
  10399. description: 供应商名称
  10400. type: string
  10401. vendorphone:
  10402. description: 供应商客服电话
  10403. type: string
  10404. videourls:
  10405. description: 介绍视频[多张用逗号分隔]
  10406. type: string
  10407. required:
  10408. - goodscode
  10409. - goodsid
  10410. - goodsname
  10411. - marketid
  10412. - trademode
  10413. type: object
  10414. models.HsbyMarketGoods:
  10415. properties:
  10416. accountid:
  10417. description: 账户ID[报价币种]
  10418. type: integer
  10419. agreeunit:
  10420. description: 合约单位
  10421. type: number
  10422. buyorsell:
  10423. description: 买卖 - 0:买 1:卖
  10424. type: integer
  10425. categoryid:
  10426. description: 类别ID(WRCATEGORY)
  10427. type: integer
  10428. currency:
  10429. description: 货币
  10430. type: string
  10431. currencysign:
  10432. description: 货币符号
  10433. type: string
  10434. customername:
  10435. description: 卖家名称
  10436. type: string
  10437. decimalplace:
  10438. description: 报价小数位
  10439. type: integer
  10440. goodscode:
  10441. description: 商品代码(内部)
  10442. type: string
  10443. goodsid:
  10444. description: 商品ID
  10445. type: integer
  10446. goodsname:
  10447. description: 商品名称
  10448. type: string
  10449. goodsprice:
  10450. description: 商品价格
  10451. type: number
  10452. hascoupon:
  10453. description: 是否可用优惠卷
  10454. type: boolean
  10455. hotindex:
  10456. description: 景点热度
  10457. type: integer
  10458. marketid:
  10459. description: 市场ID
  10460. type: integer
  10461. orderid:
  10462. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10463. type: string
  10464. orderprice:
  10465. description: 委托价格
  10466. type: number
  10467. orderstatus:
  10468. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10469. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10470. 16:成交失败违约(荷兰式竞拍专用)
  10471. type: integer
  10472. picurls:
  10473. description: 介绍图片[多张用逗号分隔]
  10474. type: string
  10475. quoteminunit:
  10476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10477. type: integer
  10478. sellUserID:
  10479. description: 卖方UserID
  10480. type: integer
  10481. trademode:
  10482. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10483. 21:竞拍-大宗式 22:受托竞价
  10484. type: integer
  10485. videourls:
  10486. description: 介绍视频[多张用逗号分隔]
  10487. type: string
  10488. required:
  10489. - accountid
  10490. - buyorsell
  10491. - goodscode
  10492. - goodsid
  10493. - goodsname
  10494. - marketid
  10495. - orderid
  10496. - trademode
  10497. type: object
  10498. models.HsbyMarketGoodsDetail:
  10499. properties:
  10500. accountid:
  10501. description: 账户ID[报价币种]
  10502. type: integer
  10503. agreeunit:
  10504. description: 合约单位
  10505. type: number
  10506. buymaxqty:
  10507. description: 购买上限 [71] - 0为不限
  10508. type: integer
  10509. buyorsell:
  10510. description: 买卖 - 0:买 1:卖
  10511. type: integer
  10512. cancelqty:
  10513. description: 撤单数量
  10514. type: integer
  10515. categoryid:
  10516. description: 类别ID(WRCATEGORY)
  10517. type: integer
  10518. currency:
  10519. description: 货币
  10520. type: string
  10521. currencysign:
  10522. description: 货币符号
  10523. type: string
  10524. customername:
  10525. description: 卖家名称
  10526. type: string
  10527. decimalplace:
  10528. description: 报价小数位
  10529. type: integer
  10530. goodscode:
  10531. description: 商品代码(内部)
  10532. type: string
  10533. goodsdesc:
  10534. description: 商品详情
  10535. type: string
  10536. goodsid:
  10537. description: 商品ID
  10538. type: integer
  10539. goodsname:
  10540. description: 商品名称
  10541. type: string
  10542. goodsprice:
  10543. description: 商品价格
  10544. type: number
  10545. hotindex:
  10546. description: 景点热度
  10547. type: integer
  10548. lotsize:
  10549. description: 手数最小变动单位
  10550. type: integer
  10551. marketid:
  10552. description: 市场ID
  10553. type: integer
  10554. orderid:
  10555. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10556. type: string
  10557. orderprice:
  10558. description: 委托价格
  10559. type: number
  10560. orderqty:
  10561. description: 委托数量
  10562. type: integer
  10563. orderstatus:
  10564. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10565. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10566. 16:成交失败违约(荷兰式竞拍专用)
  10567. type: integer
  10568. picurls:
  10569. description: 介绍图片[多张用逗号分隔]
  10570. type: string
  10571. quoteminunit:
  10572. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10573. type: integer
  10574. sellUserID:
  10575. description: 卖方UserID
  10576. type: integer
  10577. trademode:
  10578. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10579. 21:竞拍-大宗式 22:受托竞价
  10580. type: integer
  10581. tradeqty:
  10582. description: 成交数量
  10583. type: integer
  10584. vendorattr:
  10585. description: 供应商附件(多张,逗号分隔)
  10586. type: string
  10587. vendorname:
  10588. description: 供应商名称
  10589. type: string
  10590. vendorphone:
  10591. description: 供应商客服电话
  10592. type: string
  10593. videourls:
  10594. description: 介绍视频[多张用逗号分隔]
  10595. type: string
  10596. required:
  10597. - accountid
  10598. - buyorsell
  10599. - goodscode
  10600. - goodsid
  10601. - goodsname
  10602. - marketid
  10603. - orderid
  10604. - orderqty
  10605. - trademode
  10606. type: object
  10607. models.HsbyMarketInfo:
  10608. properties:
  10609. marketid:
  10610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10612. type: integer
  10613. marketname:
  10614. description: 市场名称
  10615. type: string
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. trademode:
  10620. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10621. 21:竞拍-大宗式 22:受托竞价
  10622. type: integer
  10623. required:
  10624. - marketid
  10625. - marketstatus
  10626. - trademode
  10627. type: object
  10628. models.HsbyMyGoods:
  10629. properties:
  10630. accountid:
  10631. description: 账号Id
  10632. type: integer
  10633. agreeunit:
  10634. description: 合约单位
  10635. type: number
  10636. buyaverageprice:
  10637. description: 持仓均价
  10638. type: number
  10639. buycurholderamount:
  10640. description: 买当前持仓总金额[商品币种]
  10641. type: number
  10642. buycurpositionqty:
  10643. description: 买当前持仓总数量
  10644. type: integer
  10645. buymaxqty:
  10646. description: 购买上限 [71] - 0为不限
  10647. type: integer
  10648. currencysign:
  10649. description: 货币符号
  10650. type: string
  10651. decimalplace:
  10652. description: 报价小数位
  10653. type: integer
  10654. enableqty:
  10655. description: 可用数量
  10656. type: integer
  10657. goodscode:
  10658. description: 商品代码(内部)
  10659. type: string
  10660. goodsid:
  10661. description: 商品Id
  10662. type: integer
  10663. goodsname:
  10664. description: 商品名称
  10665. type: string
  10666. goodsprice:
  10667. description: 商品价格
  10668. type: number
  10669. goodsstatus:
  10670. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10671. type: integer
  10672. last:
  10673. description: 现价(仅使用于挂牌点选)
  10674. type: number
  10675. limitdown:
  10676. description: 跌停价(仅使用于挂牌点选)
  10677. type: number
  10678. limitup:
  10679. description: 涨停价(仅使用于挂牌点选)
  10680. type: number
  10681. lotsize:
  10682. description: 手数最小变动单位
  10683. type: integer
  10684. marketid:
  10685. description: 所属市场ID
  10686. type: integer
  10687. picurls:
  10688. description: 介绍图片[多张用逗号分隔]
  10689. type: string
  10690. quoteminunit:
  10691. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10692. type: integer
  10693. stepvalue:
  10694. description: 价格最小变动单位
  10695. type: number
  10696. trademode:
  10697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10698. 21:竞拍-大宗式 22:受托竞价
  10699. type: integer
  10700. required:
  10701. - accountid
  10702. - goodscode
  10703. - goodsid
  10704. - goodsname
  10705. - marketid
  10706. - trademode
  10707. type: object
  10708. models.HsbyMyPackage:
  10709. properties:
  10710. accountid:
  10711. description: 账户ID
  10712. type: integer
  10713. address:
  10714. description: 提货人详细地址
  10715. type: string
  10716. agreeunit:
  10717. description: 合约单位
  10718. type: number
  10719. amount:
  10720. description: 提货金额
  10721. type: number
  10722. auditer:
  10723. description: 审核人
  10724. type: integer
  10725. audittime:
  10726. description: 审核时间
  10727. type: string
  10728. averageprice:
  10729. description: 均价
  10730. type: number
  10731. cardnum:
  10732. description: 提货人证件号码
  10733. type: string
  10734. cardtypeid:
  10735. description: 提货人证件类型
  10736. type: integer
  10737. checkremark:
  10738. description: 审核备注
  10739. type: string
  10740. currencysign:
  10741. description: 货币符号
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. goodscode:
  10747. description: 商品代码(内部)
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. handlestatus:
  10756. description: 处理状态
  10757. type: integer
  10758. marketid:
  10759. description: 市场ID
  10760. type: integer
  10761. phonenum:
  10762. description: 提货人联系方式
  10763. type: string
  10764. picurls:
  10765. description: 介绍图片[多张用逗号分隔]
  10766. type: string
  10767. qty:
  10768. description: 提货数量
  10769. type: number
  10770. recivername:
  10771. description: 提货人姓名
  10772. type: string
  10773. reqtime:
  10774. description: 更新时间
  10775. type: string
  10776. takemode:
  10777. description: 提货方式 - 2:自提 3:配送
  10778. type: integer
  10779. takeorderid:
  10780. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10781. type: string
  10782. takeorderstatus:
  10783. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10784. type: integer
  10785. takeremark:
  10786. description: 提货备注
  10787. type: string
  10788. tradedate:
  10789. description: 交易日(yyyyMMdd)
  10790. type: string
  10791. trademode:
  10792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10793. 21:竞拍-大宗式 22:受托竞价
  10794. type: integer
  10795. userid:
  10796. description: 用户ID
  10797. type: integer
  10798. vendorname:
  10799. description: 供应商名称
  10800. type: string
  10801. required:
  10802. - goodscode
  10803. - goodsname
  10804. - takeorderid
  10805. - trademode
  10806. type: object
  10807. models.HsbyPreGoods:
  10808. properties:
  10809. agreeunit:
  10810. description: 合约单位
  10811. type: number
  10812. currency:
  10813. description: 货币
  10814. type: string
  10815. currencysign:
  10816. description: 货币符号
  10817. type: string
  10818. decimalplace:
  10819. description: 报价小数位
  10820. type: integer
  10821. desccityid:
  10822. description: 目的地(市)
  10823. type: integer
  10824. descprovinceid:
  10825. description: 目的地(省)
  10826. type: integer
  10827. enableqty:
  10828. description: 剩余数量
  10829. type: integer
  10830. goodscode:
  10831. description: 商品代码(内部)
  10832. type: string
  10833. goodsid:
  10834. description: 商品ID(自增ID SEQ_GOODS)
  10835. type: integer
  10836. goodsname:
  10837. description: 商品名称
  10838. type: string
  10839. goodsstatus:
  10840. description: 商品状态- 2:未上市 3:上市
  10841. type: integer
  10842. lasttradedate:
  10843. description: 最后交易日期(状态:待退市)
  10844. type: string
  10845. listingdate:
  10846. description: 交易开始日期
  10847. type: string
  10848. marketid:
  10849. description: 所属市场ID
  10850. type: integer
  10851. picurls:
  10852. description: 介绍图片[多张用逗号分隔]
  10853. type: string
  10854. presaledqty:
  10855. description: 已预售量(预售结束时更新)
  10856. type: integer
  10857. presaleqty:
  10858. description: 预售数量
  10859. type: integer
  10860. quoteminunit:
  10861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10862. type: integer
  10863. refprice:
  10864. description: 参考价格[一口价]
  10865. type: number
  10866. relatedgoodsid:
  10867. description: 关联交易合约ID
  10868. type: integer
  10869. trademode:
  10870. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10871. 21:竞拍-大宗式 22:受托竞价
  10872. type: integer
  10873. videourls:
  10874. description: 介绍视频[多张用逗号分隔]
  10875. type: string
  10876. required:
  10877. - goodscode
  10878. - goodsid
  10879. - goodsname
  10880. - marketid
  10881. - trademode
  10882. type: object
  10883. models.HsbyPreGoodsDetail:
  10884. properties:
  10885. agreeunit:
  10886. description: 合约单位
  10887. type: number
  10888. buymaxqty:
  10889. description: 购买上限 [71] - 0为不限
  10890. type: integer
  10891. currency:
  10892. description: 货币
  10893. type: string
  10894. currencysign:
  10895. description: 货币符号
  10896. type: string
  10897. customername:
  10898. description: 发行单位
  10899. type: string
  10900. decimalplace:
  10901. description: 报价小数位
  10902. type: integer
  10903. desccityid:
  10904. description: 目的地(市)ID
  10905. type: integer
  10906. descprovinceid:
  10907. description: 目的地(省)ID
  10908. type: integer
  10909. enableqty:
  10910. description: 剩余数量
  10911. type: integer
  10912. goodscode:
  10913. description: 商品代码(内部)
  10914. type: string
  10915. goodsdesc:
  10916. description: 商品详情
  10917. type: string
  10918. goodsid:
  10919. description: 商品ID(自增ID SEQ_GOODS)
  10920. type: integer
  10921. goodsname:
  10922. description: 商品名称
  10923. type: string
  10924. goodsstatus:
  10925. description: 商品状态- 2:未上市 3:上市
  10926. type: integer
  10927. goodunit:
  10928. description: 报价单位
  10929. type: string
  10930. lasttradedate:
  10931. description: 最后交易日期(状态:待退市)
  10932. type: string
  10933. listingdate:
  10934. description: 交易开始日期
  10935. type: string
  10936. lotsize:
  10937. description: 手数最小变动单位
  10938. type: integer
  10939. marketid:
  10940. description: 所属市场ID
  10941. type: integer
  10942. picurls:
  10943. description: 介绍图片[多张用逗号分隔]
  10944. type: string
  10945. presaledqty:
  10946. description: 已预售量(预售结束时更新)
  10947. type: integer
  10948. presaleqty:
  10949. description: 预售数量
  10950. type: integer
  10951. quoteminunit:
  10952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10953. type: integer
  10954. refprice:
  10955. description: 参考价格[一口价]
  10956. type: number
  10957. relatedgoodsid:
  10958. description: 关联交易合约ID
  10959. type: integer
  10960. stepvalue:
  10961. description: 价格最小变动单位
  10962. type: number
  10963. trademode:
  10964. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10965. 21:竞拍-大宗式 22:受托竞价
  10966. type: integer
  10967. vendorattr:
  10968. description: 供应商附件(多张,逗号分隔)
  10969. type: string
  10970. vendorname:
  10971. description: 供应商名称
  10972. type: string
  10973. vendorphone:
  10974. description: 供应商客服电话
  10975. type: string
  10976. videourls:
  10977. description: 介绍视频[多张用逗号分隔]
  10978. type: string
  10979. required:
  10980. - goodscode
  10981. - goodsid
  10982. - goodsname
  10983. - marketid
  10984. - trademode
  10985. type: object
  10986. models.HsbySellCollectionOrder:
  10987. properties:
  10988. agreeunit:
  10989. description: 合约单位
  10990. type: number
  10991. buyaccountid:
  10992. description: 买方账号ID[报价币种]
  10993. type: integer
  10994. buyorderid:
  10995. description: 买方委托单号
  10996. type: string
  10997. createtime:
  10998. description: 创建时间
  10999. type: string
  11000. currencysign:
  11001. description: 货币符号
  11002. type: string
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. goodscode:
  11007. description: 商品代码(内部)
  11008. type: string
  11009. goodsid:
  11010. description: 商品ID
  11011. type: integer
  11012. goodsname:
  11013. description: 商品名称
  11014. type: string
  11015. marketid:
  11016. description: 市场ID
  11017. type: integer
  11018. offamount:
  11019. description: 优惠金额
  11020. type: number
  11021. payamount:
  11022. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11023. type: number
  11024. payflag:
  11025. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11026. type: integer
  11027. paylimitedtime:
  11028. description: 支付期限
  11029. type: string
  11030. paytime:
  11031. description: 付款时间
  11032. type: string
  11033. picurls:
  11034. description: 商品介绍图片[多张用逗号分隔]
  11035. type: string
  11036. sellaccountid:
  11037. description: 卖方账号ID[报价币种]
  11038. type: integer
  11039. sellorderid:
  11040. description: 卖方委托单号
  11041. type: string
  11042. tradeamount:
  11043. description: 成交金额
  11044. type: number
  11045. tradecharge:
  11046. description: 成交手续费(买方)
  11047. type: number
  11048. tradedate:
  11049. description: 交易日(yyyyMMdd)
  11050. type: string
  11051. tradeid:
  11052. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11053. type: string
  11054. trademode:
  11055. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11056. 21:竞拍-大宗式 22:受托竞价
  11057. type: integer
  11058. tradeprice:
  11059. description: 成交价格
  11060. type: number
  11061. tradeqty:
  11062. description: 成交数量
  11063. type: integer
  11064. required:
  11065. - goodscode
  11066. - goodsname
  11067. - tradeid
  11068. - trademode
  11069. type: object
  11070. models.HsbySellMyDetail:
  11071. properties:
  11072. accountid:
  11073. description: 账户ID[报价币种]
  11074. type: integer
  11075. agreeunit:
  11076. description: 合约单位
  11077. type: number
  11078. buyorsell:
  11079. description: 买卖 - 0:买 1:卖
  11080. type: integer
  11081. currencysign:
  11082. description: 货币符号
  11083. type: string
  11084. decimalplace:
  11085. description: 报价小数位
  11086. type: integer
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品ID
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. marketid:
  11097. description: 市场ID
  11098. type: integer
  11099. orderid:
  11100. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  11101. type: string
  11102. ordertype:
  11103. description: 单据类型:0 - 发布中, 1 - 已完成
  11104. type: integer
  11105. picurls:
  11106. description: 介绍图片[多张用逗号分隔]
  11107. type: string
  11108. price:
  11109. description: 价格
  11110. type: number
  11111. qty:
  11112. description: 数量
  11113. type: integer
  11114. time:
  11115. description: 时间
  11116. type: string
  11117. trademode:
  11118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11119. 21:竞拍-大宗式 22:受托竞价
  11120. type: integer
  11121. vendorname:
  11122. description: 供应商名称
  11123. type: string
  11124. required:
  11125. - accountid
  11126. - buyorsell
  11127. - goodscode
  11128. - goodsid
  11129. - goodsname
  11130. - marketid
  11131. - orderid
  11132. - time
  11133. - trademode
  11134. type: object
  11135. models.HsbyTopGoods:
  11136. properties:
  11137. agreeunit:
  11138. description: 合约单位
  11139. type: number
  11140. currency:
  11141. description: 货币
  11142. type: string
  11143. currencysign:
  11144. description: 货币符号
  11145. type: string
  11146. decimalplace:
  11147. description: 报价小数位
  11148. type: integer
  11149. desccityid:
  11150. description: 目的地(市)
  11151. type: integer
  11152. descprovinceid:
  11153. description: 目的地(省)
  11154. type: integer
  11155. goodscode:
  11156. description: 商品代码(内部)
  11157. type: string
  11158. goodsid:
  11159. description: 商品ID(自增ID SEQ_GOODS)
  11160. type: integer
  11161. goodsname:
  11162. description: 商品名称
  11163. type: string
  11164. hotindex:
  11165. description: 景点热度
  11166. type: integer
  11167. last:
  11168. description: 现价
  11169. type: number
  11170. marketid:
  11171. description: 所属市场ID
  11172. type: integer
  11173. picurls:
  11174. description: 介绍图片[多张用逗号分隔]
  11175. type: string
  11176. quoteminunit:
  11177. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11178. type: integer
  11179. trademode:
  11180. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11181. 21:竞拍-大宗式 22:受托竞价
  11182. type: integer
  11183. videourls:
  11184. description: 介绍视频[多张用逗号分隔]
  11185. type: string
  11186. required:
  11187. - goodscode
  11188. - goodsid
  11189. - goodsname
  11190. - marketid
  11191. - trademode
  11192. type: object
  11193. models.HybsMyBuyOrderDetail:
  11194. properties:
  11195. accountid:
  11196. description: 账户ID[报价币种]
  11197. type: integer
  11198. agreeunit:
  11199. description: 合约单位
  11200. type: number
  11201. buyorsell:
  11202. description: 买卖 - 0:买 1:卖
  11203. type: integer
  11204. cancelqty:
  11205. description: 撤单数量
  11206. type: integer
  11207. currencysign:
  11208. description: 货币符号
  11209. type: string
  11210. decimalplace:
  11211. description: 报价小数位
  11212. type: integer
  11213. goodscode:
  11214. description: 商品代码(内部)
  11215. type: string
  11216. goodsid:
  11217. description: 商品ID
  11218. type: integer
  11219. goodsname:
  11220. description: 商品名称
  11221. type: string
  11222. listingselecttype:
  11223. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11224. type: integer
  11225. marketid:
  11226. description: 市场ID
  11227. type: integer
  11228. mybuystatus:
  11229. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11230. type: integer
  11231. orderamount:
  11232. description: 委托金额
  11233. type: number
  11234. orderid:
  11235. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11236. type: string
  11237. orderprice:
  11238. description: 委托价格
  11239. type: number
  11240. orderqty:
  11241. description: 委托数量
  11242. type: integer
  11243. orderstatus:
  11244. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11245. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11246. 16:成交失败违约(荷兰式竞拍专用)
  11247. type: integer
  11248. ordertime:
  11249. description: 委托时间
  11250. type: string
  11251. picurls1:
  11252. description: 预售商品介绍图片[多张用逗号分隔]
  11253. type: string
  11254. picurls2:
  11255. description: 挂牌商品介绍图片[多张用逗号分隔]
  11256. type: string
  11257. trademode:
  11258. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11259. 21:竞拍-大宗式 22:受托竞价
  11260. type: integer
  11261. tradeqty:
  11262. description: 成交数量
  11263. type: integer
  11264. vendorname1:
  11265. description: 预售商品供应商名称
  11266. type: string
  11267. vendorname2:
  11268. description: 挂牌商品供应商名称
  11269. type: string
  11270. required:
  11271. - accountid
  11272. - buyorsell
  11273. - goodscode
  11274. - goodsid
  11275. - goodsname
  11276. - marketid
  11277. - orderid
  11278. - orderqty
  11279. - ordertime
  11280. - trademode
  11281. type: object
  11282. models.InternalEnableTradeDetail:
  11283. properties:
  11284. agreeunit:
  11285. description: 合约乘数
  11286. type: number
  11287. areauserid:
  11288. description: 企业ID
  11289. type: integer
  11290. convertratio:
  11291. description: 品种系数
  11292. type: number
  11293. deliverygoodscode:
  11294. description: 现货品种代码
  11295. type: string
  11296. deliverygoodsid:
  11297. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11298. type: integer
  11299. deliverygoodsname:
  11300. description: 现货品种名称
  11301. type: string
  11302. futurehedgeqty:
  11303. description: '[已关联数量]期货持仓套期量'
  11304. type: number
  11305. goodsid:
  11306. description: 期货合约ID
  11307. type: integer
  11308. hedgeditemid:
  11309. description: 被套期项目ID
  11310. type: string
  11311. hedgeditemnum:
  11312. description: 项目编号
  11313. type: string
  11314. tradeuserid:
  11315. description: 交易用户ID
  11316. type: integer
  11317. unexehedgeqty:
  11318. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11319. type: number
  11320. unexespotqty:
  11321. description: 未执行现货量
  11322. type: number
  11323. wrstandardcode:
  11324. description: 现货品类代码
  11325. type: string
  11326. wrstandardid:
  11327. description: 现货品类ID(SEQ_WRSTANDARD)
  11328. type: integer
  11329. wrstandardname:
  11330. description: 现货品类名称
  11331. type: string
  11332. required:
  11333. - areauserid
  11334. - goodsid
  11335. - tradeuserid
  11336. type: object
  11337. models.InternalUncorrelatedTradeDetail:
  11338. properties:
  11339. accountid:
  11340. description: 账号ID
  11341. type: integer
  11342. accountname:
  11343. description: 套期主体
  11344. type: string
  11345. agreeunit:
  11346. description: 合约乘数
  11347. type: number
  11348. areauserid:
  11349. description: 所属机构
  11350. type: integer
  11351. bizsubjectid:
  11352. description: 归属业务部门ID - SubjectID
  11353. type: integer
  11354. buyorsell:
  11355. description: 方向 - 0:买 1:卖
  11356. type: integer
  11357. channelbuildtype:
  11358. description: 委托单据类型 0:无 1:建仓 2:平仓
  11359. type: integer
  11360. convertratio:
  11361. description: 品种系数
  11362. type: number
  11363. createtime:
  11364. description: 创建时间
  11365. type: string
  11366. creatorid:
  11367. description: 创建人ID
  11368. type: integer
  11369. creatorsrc:
  11370. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11371. type: integer
  11372. enableqty:
  11373. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11374. type: number
  11375. enumdicname:
  11376. description: 单位
  11377. type: string
  11378. goodscode:
  11379. description: 合约代码
  11380. type: string
  11381. goodsgroupid:
  11382. description: 对冲品种ID[期货合约商品组ID]
  11383. type: integer
  11384. goodsid:
  11385. description: 商品ID
  11386. type: integer
  11387. goodsname:
  11388. description: 合约名称
  11389. type: string
  11390. hedgeditemid:
  11391. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11392. type: integer
  11393. hedgeflag:
  11394. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11395. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11396. type: integer
  11397. linkdetailid:
  11398. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11399. type: string
  11400. linkstatus:
  11401. description: 关联状态 - 1:成功 2:失败 3:解绑
  11402. type: integer
  11403. middlegoodsid:
  11404. description: 套保品种ID
  11405. type: integer
  11406. middlegoodsqty:
  11407. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11408. type: number
  11409. relatedlot:
  11410. description: '[数量]关联手数'
  11411. type: number
  11412. relatedmode:
  11413. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11414. type: integer
  11415. relatedqty:
  11416. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11417. type: number
  11418. retcode:
  11419. description: 返回码
  11420. type: integer
  11421. saleuserid:
  11422. description: 业务员ID
  11423. type: integer
  11424. tradedate:
  11425. description: 关联交易日(yyyyMMdd)
  11426. type: string
  11427. tradeid:
  11428. description: 成交单号
  11429. type: string
  11430. tradelot:
  11431. description: 成交手数
  11432. type: integer
  11433. tradeprice:
  11434. description: 成交价
  11435. type: number
  11436. tradetime:
  11437. description: 成交时间
  11438. type: string
  11439. tradetradedate:
  11440. description: 成交交易日(yyyyMMdd)
  11441. type: string
  11442. tradeuserid:
  11443. description: 交易用户ID
  11444. type: integer
  11445. type: object
  11446. models.Loginaccount:
  11447. properties:
  11448. accountname:
  11449. description: 账户名称
  11450. type: string
  11451. canoutin:
  11452. description: 是否可出入金 - 0:不可 1:可
  11453. type: integer
  11454. clientroleid:
  11455. description: 终端角色ID
  11456. type: integer
  11457. haslogined:
  11458. description: 是否已登录 - 0:未登录 1:已登录
  11459. type: integer
  11460. hasupdatedpwd:
  11461. description: 是否已更改密码 - 0:未修改 1:已修改
  11462. type: integer
  11463. lastloginip:
  11464. description: 最新登录地址
  11465. type: string
  11466. lastloginmode:
  11467. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11468. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11469. type: integer
  11470. lastloginremark:
  11471. description: 最新登录描述
  11472. type: string
  11473. lastlogintime:
  11474. description: 最新登录时间
  11475. type: string
  11476. logincode:
  11477. description: 登录代码
  11478. type: string
  11479. loginfailnum:
  11480. description: 连续登录失败次数(登录成功时清零)
  11481. type: integer
  11482. loginid:
  11483. description: 登陆账号
  11484. type: integer
  11485. loginport:
  11486. description: 最新登录端口
  11487. type: integer
  11488. loginstatus:
  11489. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11490. type: integer
  11491. loginusertype:
  11492. description: 登录账号类型 - 1:投资者 2:机构交易员
  11493. type: integer
  11494. mobile:
  11495. description: 手机号码(加密存储)
  11496. type: string
  11497. modifierid:
  11498. description: 修改人
  11499. type: integer
  11500. modifysrc:
  11501. description: 审核来源 - 1:管理端 2:终端
  11502. type: integer
  11503. modifytime:
  11504. description: 修改时间
  11505. type: string
  11506. password:
  11507. description: 登陆密码
  11508. type: string
  11509. pwdwrongcount:
  11510. description: 密码错误次数
  11511. type: integer
  11512. relateduserid:
  11513. description: 关联用户ID(机构)
  11514. type: integer
  11515. taaccountrighttype:
  11516. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11517. type: integer
  11518. unfreezetime:
  11519. description: 账户解冻时间
  11520. type: string
  11521. userid:
  11522. description: 用户ID
  11523. type: integer
  11524. required:
  11525. - loginid
  11526. type: object
  11527. models.MainAccountInfo:
  11528. properties:
  11529. accountid:
  11530. description: 账号id
  11531. type: integer
  11532. accountname:
  11533. description: 账号名称(taaccount表中的名称)
  11534. type: string
  11535. appid:
  11536. description: AppID
  11537. type: string
  11538. authcode:
  11539. description: 授权码
  11540. type: string
  11541. brokerid:
  11542. description: 经纪商id
  11543. type: string
  11544. fcid:
  11545. description: 期货公司id
  11546. type: integer
  11547. fcname:
  11548. description: 期货公司代码
  11549. type: string
  11550. hedgeaccountcode:
  11551. description: 外部账号代码(主账号登录代码)
  11552. type: string
  11553. hedgeaccountpwd:
  11554. description: 密码
  11555. type: string
  11556. ismain:
  11557. description: 是否主账号
  11558. type: integer
  11559. relateduserid:
  11560. description: 关联用户id
  11561. type: integer
  11562. userid:
  11563. description: 关联用户id
  11564. type: integer
  11565. type: object
  11566. models.Market:
  11567. properties:
  11568. auctionwrtype:
  11569. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11570. type: integer
  11571. canacceptquote:
  11572. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11573. type: integer
  11574. cangoodsexercise:
  11575. description: '[期权]是否可现货行权- 0:否 1:是'
  11576. type: integer
  11577. cangoodsexercisetype:
  11578. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11579. type: integer
  11580. canmanualquotestrike:
  11581. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11582. type: integer
  11583. canmutistage:
  11584. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11585. type: integer
  11586. canpreexercise:
  11587. description: '[期权]是否可预申报- 0:否 1:是'
  11588. type: integer
  11589. clearinterval:
  11590. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11591. type: integer
  11592. contracttmp:
  11593. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11594. type: string
  11595. exchareaid:
  11596. description: 所属交易所,可以没有
  11597. type: integer
  11598. goodstype:
  11599. description: 商品类型 - 1:交易商品 2:仓单商品
  11600. type: integer
  11601. hasrebate:
  11602. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11603. type: integer
  11604. hastradecredit:
  11605. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11606. type: integer
  11607. haswr:
  11608. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11609. type: integer
  11610. isdeductmargin:
  11611. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11612. type: integer
  11613. isrecordsource:
  11614. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11615. type: integer
  11616. isreleasemargin:
  11617. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11618. type: integer
  11619. marginformula:
  11620. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11621. type: integer
  11622. marginformula2:
  11623. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11624. type: integer
  11625. marketid:
  11626. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11627. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11628. type: integer
  11629. marketname:
  11630. description: 市场名称
  11631. type: string
  11632. marketserviceid:
  11633. description: 市场服务ID
  11634. type: integer
  11635. marketstatus:
  11636. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11637. type: integer
  11638. markettype:
  11639. description: 市场类型- 1:非交易服务 2:交易服务
  11640. type: integer
  11641. matchermode:
  11642. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11643. type: integer
  11644. openmethod:
  11645. description: 开盘模式 - 0 自动 1手动
  11646. type: integer
  11647. otcuserid:
  11648. description: 场外期权做市商[场外期权]
  11649. type: integer
  11650. outersynctime:
  11651. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11652. type: string
  11653. pendingflag:
  11654. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11655. type: integer
  11656. pendingtime:
  11657. description: 待开市时间[通道交易-对冲](HH:mm)
  11658. type: string
  11659. performancetempid:
  11660. description: 履约计划模板ID - 作废
  11661. type: integer
  11662. premiumquotemode:
  11663. description: 权利金报价方式 - 1:自动 2:手动
  11664. type: integer
  11665. rebateratio:
  11666. description: 返利比率[竞价式]
  11667. type: number
  11668. reckonorder:
  11669. description: 结算顺序
  11670. type: integer
  11671. reckonpricealgorithm:
  11672. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11673. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11674. type: integer
  11675. reckonpriceparam:
  11676. description: 结算价参数
  11677. type: integer
  11678. reckontime:
  11679. description: 结算时间[通道交易-对冲](HH:mm)
  11680. type: string
  11681. roleprioritytype:
  11682. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11683. type: integer
  11684. selllistingauditflag:
  11685. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11686. type: integer
  11687. trademarkettype:
  11688. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11689. type: integer
  11690. trademode:
  11691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11692. 21:竞拍-大宗式 22:受托竞价
  11693. type: integer
  11694. tradeproperty:
  11695. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11696. 8:场外期权
  11697. type: integer
  11698. tradetype:
  11699. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11700. type: integer
  11701. required:
  11702. - marketid
  11703. - marketstatus
  11704. - openmethod
  11705. - reckonpricealgorithm
  11706. - trademode
  11707. - tradeproperty
  11708. type: object
  11709. models.Marketcalendar:
  11710. properties:
  11711. holidaydate:
  11712. description: 节假日期(yyyy-MM-dd)
  11713. type: string
  11714. marketid:
  11715. description: 市场ID
  11716. type: integer
  11717. type: object
  11718. models.Marketrun:
  11719. properties:
  11720. afternexttradedate:
  11721. description: 下下交易日
  11722. type: string
  11723. clearquoteflag:
  11724. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11725. type: integer
  11726. lastreckondate:
  11727. description: 最新交易日(结算成功)
  11728. type: string
  11729. machinedate:
  11730. description: 机器时间
  11731. type: string
  11732. manualflag:
  11733. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11734. type: integer
  11735. marketid:
  11736. description: 市场ID
  11737. type: integer
  11738. nexttradedate:
  11739. description: 下一交易日
  11740. type: string
  11741. pretradedate:
  11742. description: 上一交易日
  11743. type: string
  11744. reckonflag:
  11745. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11746. type: integer
  11747. runstatus:
  11748. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11749. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11750. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11751. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11752. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11753. 62.今日免清算
  11754. type: integer
  11755. sectionid:
  11756. description: 时间段号[多时段时用]
  11757. type: integer
  11758. tradedate:
  11759. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11760. type: string
  11761. tradedate2:
  11762. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11763. type: string
  11764. updatetime:
  11765. description: 更新时间
  11766. type: string
  11767. required:
  11768. - marketid
  11769. - nexttradedate
  11770. - reckonflag
  11771. - runstatus
  11772. - tradedate
  11773. - tradedate2
  11774. type: object
  11775. models.Messageboard:
  11776. properties:
  11777. contactnum:
  11778. description: 联系电话
  11779. type: string
  11780. createtime:
  11781. description: 创建时间
  11782. type: string
  11783. message:
  11784. description: 留言信息
  11785. type: string
  11786. messageboardid:
  11787. description: 留言簿ID(SEQ_MessageBoard)
  11788. type: integer
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. required:
  11793. - messageboardid
  11794. type: object
  11795. models.MyBuyOrder:
  11796. properties:
  11797. accountid:
  11798. description: 资金账户ID
  11799. type: integer
  11800. marketid:
  11801. description: 市场ID
  11802. type: integer
  11803. origin:
  11804. description: 原产地
  11805. type: string
  11806. remark:
  11807. description: 备注
  11808. type: string
  11809. userid:
  11810. description: 用户ID
  11811. type: integer
  11812. warehouseids:
  11813. description: 仓库ID - 多个, 逗号分隔
  11814. type: string
  11815. warehouseinfosdisplay:
  11816. type: string
  11817. wrtradeorderid:
  11818. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11819. type: integer
  11820. zscategory:
  11821. description: 钻石分类 - 枚举”ZSCategory“
  11822. type: integer
  11823. zscategorydisplay:
  11824. type: string
  11825. zsclaritytype:
  11826. description: 净度 - 两个, 逗号分隔
  11827. type: string
  11828. zsclaritytypedisplay:
  11829. type: string
  11830. zscolortype:
  11831. description: 颜色 - 两个, 逗号分隔
  11832. type: string
  11833. zscolortypedisplay:
  11834. type: string
  11835. zscrystaltype:
  11836. description: 晶型 - 多个,逗号分隔
  11837. type: string
  11838. zscrystaltypedisplay:
  11839. type: string
  11840. zscurrencytype:
  11841. description: 货币类型 - 多个, 逗号分隔
  11842. type: string
  11843. zscurrencytypedisplay:
  11844. type: string
  11845. zscuttype:
  11846. description: 切工 - 两个, 逗号分隔
  11847. type: string
  11848. zscuttypedisplay:
  11849. type: string
  11850. zsczcolor1type:
  11851. description: 彩钻颜色1, 逗号分隔
  11852. type: string
  11853. zsczcolor1typedisplay:
  11854. type: string
  11855. zsczcolor2type:
  11856. description: 彩钻颜色2, 逗号分隔
  11857. type: string
  11858. zsczcolor2typedisplay:
  11859. type: string
  11860. zsczcolor3type:
  11861. description: 彩钻颜色3, 逗号分隔
  11862. type: string
  11863. zsczcolor3typedisplay:
  11864. type: string
  11865. zsfluorescencetype:
  11866. description: 荧光 - 多个, 逗号分隔
  11867. type: string
  11868. zsfluorescencetypedisplay:
  11869. type: string
  11870. zspolishtype:
  11871. description: 抛光度 - 两个, 逗号分隔
  11872. type: string
  11873. zspolishtypedisplay:
  11874. type: string
  11875. zsshapetype:
  11876. description: 形状 - 多个, 逗号分隔
  11877. type: string
  11878. zsshapetypedisplay:
  11879. type: string
  11880. zssize:
  11881. description: 尺寸 - 两个小数, 逗号分隔
  11882. type: string
  11883. zsstyletype:
  11884. description: 款式 - 多个, 逗号分隔
  11885. type: string
  11886. zsstyletypedisplay:
  11887. type: string
  11888. zssymmetrytype:
  11889. description: 对称度 - 两个, 逗号分隔
  11890. type: string
  11891. zssymmetrytypedisplay:
  11892. type: string
  11893. zstabledisplay:
  11894. description: 求购信息
  11895. type: string
  11896. required:
  11897. - userid
  11898. type: object
  11899. models.MyCoupon:
  11900. properties:
  11901. accountid:
  11902. description: 资金账户ID
  11903. type: integer
  11904. areauserid:
  11905. description: 所属机构
  11906. type: integer
  11907. conditionvalue:
  11908. description: 条件阈值(可为0)
  11909. type: number
  11910. couponcategroy:
  11911. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11912. type: integer
  11913. couponname:
  11914. description: 优惠券名称
  11915. type: string
  11916. coupontypeid:
  11917. description: 优惠券类型ID
  11918. type: string
  11919. couponvalue:
  11920. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11921. type: number
  11922. curfreezeqty:
  11923. description: 期末冻结数量
  11924. type: integer
  11925. curqty:
  11926. description: 期末数量
  11927. type: integer
  11928. isgeneral:
  11929. description: 是否通用券 - 0:否 1:是
  11930. type: integer
  11931. isunusable:
  11932. description: 是否不可用
  11933. type: boolean
  11934. limitedflag:
  11935. description: 是否指定商品 - 0:不限 1:限制
  11936. type: integer
  11937. limitedgoodsids:
  11938. description: 指定商品IDs[逗号分隔,前后加逗号]
  11939. type: string
  11940. orifreezeqty:
  11941. description: 期初冻结数量
  11942. type: integer
  11943. oriqty:
  11944. description: 期初数量
  11945. type: integer
  11946. reasontype:
  11947. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11948. type: integer
  11949. todaydecrease:
  11950. description: 今日减少
  11951. type: integer
  11952. todayincrease:
  11953. description: 今日增加
  11954. type: integer
  11955. userid:
  11956. description: 用户ID
  11957. type: integer
  11958. userscope:
  11959. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11960. type: string
  11961. required:
  11962. - accountid
  11963. - coupontypeid
  11964. type: object
  11965. models.MyCouponHold:
  11966. properties:
  11967. accountid:
  11968. description: 资金账户ID
  11969. type: integer
  11970. conditionvalue:
  11971. description: 条件阈值(可为0)
  11972. type: number
  11973. couponcategroy:
  11974. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11975. type: integer
  11976. couponholdid:
  11977. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11978. type: string
  11979. couponname:
  11980. description: 优惠券名称
  11981. type: string
  11982. coupontypeid:
  11983. description: 优惠券类型ID - SEQ_COUPONTYPE
  11984. type: string
  11985. couponvalue:
  11986. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11987. type: number
  11988. createtime:
  11989. description: 创建时间
  11990. type: string
  11991. enddate:
  11992. description: 结束日期
  11993. type: string
  11994. giveapplyid:
  11995. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11996. type: integer
  11997. holdstatus:
  11998. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11999. type: integer
  12000. isgeneral:
  12001. description: 是否通用券 - 0:否 1:是
  12002. type: integer
  12003. limitedflag:
  12004. description: 是否指定商品 - 0:不限 1:限制
  12005. type: integer
  12006. limitedgoodsids:
  12007. description: 指定商品IDs[逗号分隔]
  12008. type: string
  12009. qty:
  12010. description: 数量(按1平铺)
  12011. type: integer
  12012. startdate:
  12013. description: 开始日期
  12014. type: string
  12015. userid:
  12016. description: 用户ID
  12017. type: integer
  12018. userscope:
  12019. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  12020. type: string
  12021. required:
  12022. - couponholdid
  12023. type: object
  12024. models.MySellOrder:
  12025. properties:
  12026. accountid:
  12027. description: 资金账号
  12028. type: integer
  12029. applyid:
  12030. description: 申请单ID
  12031. type: integer
  12032. attachment1:
  12033. description: 附件1
  12034. type: string
  12035. attachment2:
  12036. description: 附件2
  12037. type: string
  12038. buyorsell:
  12039. description: 买卖 - 0:买 1:卖
  12040. type: integer
  12041. canbargain:
  12042. description: 是否可议价 - 0:不可 1:可
  12043. type: integer
  12044. cancelqty:
  12045. description: 撤销数量
  12046. type: integer
  12047. canceltime:
  12048. description: 撤销时间
  12049. type: string
  12050. chargealgorithm:
  12051. description: 手续费收取方式 1:比率 2:固定
  12052. type: integer
  12053. chargealgorithmvalue:
  12054. description: 手续费设置值(交易所部分)
  12055. type: number
  12056. chargealgorithmvalue2:
  12057. description: 手续费设置值(会员部分)
  12058. type: number
  12059. clientordertime:
  12060. description: 客户端委托时间
  12061. type: string
  12062. exchangerate:
  12063. description: 汇率[67]
  12064. type: number
  12065. firstratio:
  12066. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12067. type: number
  12068. fixedprice:
  12069. description: 固定价格 - [挂牌]
  12070. type: number
  12071. freezecharge:
  12072. description: 冻结手续费
  12073. type: number
  12074. freezefirstamount:
  12075. description: 冻结首付金额 - [摘牌]
  12076. type: number
  12077. freezemargin:
  12078. description: 冻结保证金
  12079. type: number
  12080. goodsno:
  12081. description: 商品编号
  12082. type: string
  12083. isspecified:
  12084. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12085. type: integer
  12086. marginalgorithm:
  12087. description: 保证金方式 - 1:比率 2:固定
  12088. type: integer
  12089. marginvalue:
  12090. description: 保证金设置值
  12091. type: number
  12092. marketid:
  12093. description: 市场ID
  12094. type: integer
  12095. orderamount:
  12096. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12097. type: number
  12098. orderqty:
  12099. description: 委托数量
  12100. type: integer
  12101. ordertime:
  12102. description: 委托时间
  12103. type: string
  12104. performancetemplateid:
  12105. description: 履约计划模板ID
  12106. type: integer
  12107. pricefactor:
  12108. description: 价格系数(浮动价时填写) - [挂牌]
  12109. type: number
  12110. pricemove:
  12111. description: 升贴水(浮动价时填写) - [挂牌]
  12112. type: number
  12113. relatedwrtradeorderid:
  12114. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12115. type: integer
  12116. retcode:
  12117. description: 错误代码
  12118. type: integer
  12119. tradedate:
  12120. description: 交易日(yyyyMMdd)
  12121. type: string
  12122. tradeprice:
  12123. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12124. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12125. type: number
  12126. tradeqty:
  12127. description: 成交数量
  12128. type: integer
  12129. unfreezecharge:
  12130. description: 解冻手续费
  12131. type: number
  12132. unfreezefirstamount:
  12133. description: 解冻首付金额 - [摘牌]
  12134. type: number
  12135. unfreezemargin:
  12136. description: 解冻保证金
  12137. type: number
  12138. userid:
  12139. description: 用户ID
  12140. type: integer
  12141. uuid:
  12142. description: 发起端唯一id
  12143. type: string
  12144. validtime:
  12145. description: 有效期限
  12146. type: string
  12147. validtype:
  12148. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12149. type: integer
  12150. wrbargainid:
  12151. description: 议价申请单ID
  12152. type: integer
  12153. wrfactortypeid:
  12154. description: 仓单要素类型ID/商品ID(77)
  12155. type: integer
  12156. wrpricetype:
  12157. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12158. type: integer
  12159. wrstandardid:
  12160. description: 现货商品ID
  12161. type: integer
  12162. wrtradeorderid:
  12163. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12164. type: integer
  12165. wrtradeorderstatus:
  12166. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败
  12167. type: integer
  12168. wrtradetype:
  12169. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12170. type: integer
  12171. wrtransferuserid:
  12172. description: 仓单受让用户 - [摘牌]
  12173. type: integer
  12174. zscategory:
  12175. description: 钻石分类 - 枚举”ZSCategory“
  12176. type: integer
  12177. zscurrencytype:
  12178. description: 货币类型 - 枚举“ZSCurrencyType”
  12179. type: integer
  12180. required:
  12181. - userid
  12182. type: object
  12183. models.MyUsedCoupon:
  12184. properties:
  12185. accountid:
  12186. description: 资金账户ID(买方)
  12187. type: integer
  12188. conditionvalue:
  12189. description: 条件阈值(可为0)
  12190. type: number
  12191. couponcategroy:
  12192. description: 种类 - 1:现金券 2:折扣券
  12193. type: integer
  12194. couponname:
  12195. description: 优惠券名称
  12196. type: string
  12197. coupontypeid:
  12198. description: 优惠券类型ID(买方)
  12199. type: string
  12200. couponvalue:
  12201. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  12202. type: number
  12203. createtime:
  12204. description: 创建时间
  12205. type: string
  12206. goodsid:
  12207. description: 商品ID
  12208. type: integer
  12209. handlestatus:
  12210. description: 处理状态
  12211. type: integer
  12212. marketid:
  12213. description: 市场ID
  12214. type: integer
  12215. offamount:
  12216. description: 优惠金额
  12217. type: number
  12218. orderid:
  12219. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12220. type: string
  12221. sellaccountid:
  12222. description: 资金账户ID(卖方)
  12223. type: integer
  12224. tradeamount:
  12225. description: 成交金额
  12226. type: number
  12227. tradeid:
  12228. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12229. type: string
  12230. usedqty:
  12231. description: 使用数量
  12232. type: integer
  12233. required:
  12234. - coupontypeid
  12235. - orderid
  12236. type: object
  12237. models.MyWRPosition:
  12238. properties:
  12239. cerno:
  12240. description: 证书编号 - 类型:2,4,5
  12241. type: string
  12242. cpcertno:
  12243. description: 金伯利证书编号 - 类型:3
  12244. type: string
  12245. ffreezeqty:
  12246. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12247. type: number
  12248. ftotalqty:
  12249. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12250. type: number
  12251. goodsno:
  12252. description: 商品编号
  12253. type: string
  12254. imagepath:
  12255. description: 商品照片(相对地址)
  12256. type: string
  12257. isvalid:
  12258. description: 是否有效 - 0:无效 1:有效
  12259. type: integer
  12260. kppath:
  12261. description: 金伯利证书图片(相对地址) - 类型:3
  12262. type: string
  12263. kpweight:
  12264. description: 金伯利证书重量 - 类型:3
  12265. type: string
  12266. marketprice:
  12267. description: 市场价
  12268. type: string
  12269. origin:
  12270. description: 原产地 - 类型:3
  12271. type: string
  12272. price:
  12273. description: 总价(价格) - 类型:1,2,3,4,5
  12274. type: number
  12275. priceper:
  12276. description: 克拉单价 - 类型:1,2,3,5
  12277. type: string
  12278. remark:
  12279. description: 备注
  12280. type: string
  12281. sellmobile:
  12282. description: 手机号码(加密存储)
  12283. type: string
  12284. sellusername:
  12285. description: 账户名称(机构名称)
  12286. type: string
  12287. settingmaterial:
  12288. description: 镶嵌材料 - 类型:4
  12289. type: string
  12290. size1:
  12291. description: 尺寸1 - 类型:2,4,5
  12292. type: string
  12293. size2:
  12294. description: 尺寸2 - 类型:2,4,5
  12295. type: string
  12296. size3:
  12297. description: 尺寸3 - 类型:2,4,5
  12298. type: string
  12299. stonedesc:
  12300. description: 配石描述 - 类型:4
  12301. type: string
  12302. userid:
  12303. description: 用户ID
  12304. type: integer
  12305. warehouseid:
  12306. description: 仓库ID
  12307. type: integer
  12308. warehousenamedisplay:
  12309. type: string
  12310. weight:
  12311. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12312. type: number
  12313. weightavg:
  12314. description: 平均单颗重量 - 类型:1,3
  12315. type: number
  12316. wrpath:
  12317. description: 仓单扫描件(相对地址)
  12318. type: string
  12319. wrstandardid:
  12320. description: 现货商品ID
  12321. type: integer
  12322. wruserid:
  12323. description: 登录用户ID
  12324. type: integer
  12325. zscategory:
  12326. description: 钻石分类 - 枚举”ZSCategory“
  12327. type: integer
  12328. zscategorydisplay:
  12329. type: string
  12330. zscerttype:
  12331. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12332. type: integer
  12333. zscerttypedisplay:
  12334. type: string
  12335. zsclaritytype1:
  12336. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12337. type: integer
  12338. zsclaritytype1display:
  12339. type: string
  12340. zsclaritytype2:
  12341. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12342. type: integer
  12343. zsclaritytype2display:
  12344. type: string
  12345. zscolortype1:
  12346. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12347. type: integer
  12348. zscolortype1display:
  12349. type: string
  12350. zscolortype2:
  12351. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12352. type: integer
  12353. zscolortype2display:
  12354. type: string
  12355. zscrystaltype:
  12356. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12357. type: string
  12358. zscrystaltypedisplay:
  12359. type: string
  12360. zscurrencytype:
  12361. description: 货币类型 - 枚举“ZSCurrencyType”
  12362. type: integer
  12363. zscurrencytypedisplay:
  12364. type: string
  12365. zscurrencytypedisplayunit:
  12366. type: string
  12367. zscuttype1:
  12368. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12369. type: integer
  12370. zscuttype1display:
  12371. type: string
  12372. zscuttype2:
  12373. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12374. type: integer
  12375. zscuttype2display:
  12376. type: string
  12377. zsczcolor1type:
  12378. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12379. type: integer
  12380. zsczcolor1typedisplay:
  12381. type: string
  12382. zsczcolor2type:
  12383. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12384. type: integer
  12385. zsczcolor2typedisplay:
  12386. type: string
  12387. zsczcolor3type:
  12388. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12389. type: integer
  12390. zsczcolor3typedisplay:
  12391. type: string
  12392. zsfluorescencetype1:
  12393. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12394. type: integer
  12395. zsfluorescencetype1display:
  12396. type: string
  12397. zsfluorescencetype2:
  12398. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12399. type: integer
  12400. zsfluorescencetype2display:
  12401. type: string
  12402. zspolishtype1:
  12403. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12404. type: integer
  12405. zspolishtype1display:
  12406. type: string
  12407. zspolishtype2:
  12408. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12409. type: integer
  12410. zspolishtype2display:
  12411. type: string
  12412. zsshapetype:
  12413. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12414. type: string
  12415. zsshapetypedisplay:
  12416. type: string
  12417. zsstyletype:
  12418. description: 款式 - 类型:4
  12419. type: integer
  12420. zsstyletypedisplay:
  12421. type: string
  12422. zssymmetrytype1:
  12423. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12424. type: integer
  12425. zssymmetrytype1display:
  12426. type: string
  12427. zssymmetrytype2:
  12428. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12429. type: integer
  12430. zssymmetrytype2display:
  12431. type: string
  12432. required:
  12433. - wruserid
  12434. type: object
  12435. models.NewFuncmenulist:
  12436. properties:
  12437. authtype:
  12438. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12439. type: integer
  12440. buttonname:
  12441. description: 按钮名称
  12442. type: string
  12443. buttontype:
  12444. description: 按钮类型 - 存按钮样式
  12445. type: string
  12446. component:
  12447. description: 组件名或组件地址
  12448. type: string
  12449. hidden:
  12450. description: 是否隐藏 - 0:显示 1:隐藏
  12451. type: integer
  12452. iconame:
  12453. description: 菜单图标
  12454. type: string
  12455. menutype:
  12456. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12457. type: integer
  12458. parentcode:
  12459. description: 上级资源代码
  12460. type: string
  12461. remark:
  12462. description: Remark
  12463. type: string
  12464. resourcecode:
  12465. description: 资源代码
  12466. type: string
  12467. resourcelevel:
  12468. description: 级别1-一级 2-二级 3-三级4-四级
  12469. type: integer
  12470. resourcename:
  12471. description: 资源名(Title)
  12472. type: string
  12473. sort:
  12474. description: 排序
  12475. type: integer
  12476. url:
  12477. description: Url
  12478. type: string
  12479. urltype:
  12480. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12481. type: integer
  12482. required:
  12483. - resourcecode
  12484. type: object
  12485. models.OperationPrimaryMenu:
  12486. properties:
  12487. Children:
  12488. description: 二级功能菜单
  12489. items:
  12490. $ref: '#/definitions/models.OperationSecondaryMenu'
  12491. type: array
  12492. Key:
  12493. description: 菜单KEY
  12494. type: string
  12495. Label:
  12496. description: 菜单标题
  12497. type: string
  12498. type: object
  12499. models.OperationSecondaryMenu:
  12500. properties:
  12501. Key:
  12502. description: 菜单KEY
  12503. type: string
  12504. Label:
  12505. description: 菜单标题
  12506. type: string
  12507. TabList:
  12508. description: 三级功能菜单
  12509. items:
  12510. $ref: '#/definitions/models.OperationTabMenu'
  12511. type: array
  12512. type: object
  12513. models.OperationTabMenu:
  12514. properties:
  12515. Key:
  12516. description: 菜单KEY
  12517. type: string
  12518. Label:
  12519. description: 菜单标题
  12520. type: string
  12521. type: object
  12522. models.Patradelinkdetail:
  12523. properties:
  12524. accountname:
  12525. description: 套期主体
  12526. type: string
  12527. agreeunit:
  12528. description: 合约乘数
  12529. type: number
  12530. amount:
  12531. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12532. type: number
  12533. areauserid:
  12534. description: 所属机构
  12535. type: integer
  12536. bizsubjectid:
  12537. description: 归属业务部门ID - SubjectID
  12538. type: integer
  12539. buyorsell:
  12540. description: 方向 - 0:买 1:卖
  12541. type: integer
  12542. convertratio:
  12543. description: 品种系数
  12544. type: number
  12545. convertratiochange:
  12546. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12547. type: number
  12548. createtime:
  12549. description: '[日期时间]创建时间'
  12550. type: string
  12551. creatorid:
  12552. description: 创建人ID
  12553. type: integer
  12554. creatorsrc:
  12555. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12556. type: integer
  12557. goodscode:
  12558. description: 商品代码(内部)
  12559. type: string
  12560. goodsgroupid:
  12561. description: 对冲品种ID[期货合约商品组ID]
  12562. type: integer
  12563. goodsid:
  12564. description: 商品ID
  12565. type: integer
  12566. hedgeditemid:
  12567. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12568. type: integer
  12569. hedgeflag:
  12570. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12571. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12572. type: integer
  12573. linkdetailid:
  12574. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12575. type: string
  12576. linkstatus:
  12577. description: 关联状态 - 1:成功 2:失败 3:解绑
  12578. type: integer
  12579. middlegoodsid:
  12580. description: 套保品种ID
  12581. type: integer
  12582. name:
  12583. description: 账户名/子账户
  12584. type: string
  12585. optioncode:
  12586. description: '[期货合约]期权代码 [期权]'
  12587. type: string
  12588. ordertype:
  12589. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12590. type: integer
  12591. relatedlot:
  12592. description: '[数量]关联手数'
  12593. type: number
  12594. relatedmode:
  12595. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12596. type: integer
  12597. relatedqty:
  12598. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12599. type: number
  12600. retcode:
  12601. description: 返回码
  12602. type: integer
  12603. saleuserid:
  12604. description: 业务员ID
  12605. type: integer
  12606. tradedate:
  12607. description: 关联交易日(yyyyMMdd)
  12608. type: string
  12609. tradeid:
  12610. description: '[成交单号]内部成交单ID'
  12611. type: string
  12612. tradelot:
  12613. description: 成交手数
  12614. type: integer
  12615. tradeprice:
  12616. description: '[价格]成交价格'
  12617. type: number
  12618. tradetradedate:
  12619. description: 成交交易日(yyyyMMdd)
  12620. type: string
  12621. type: object
  12622. models.QhjAccountOutInApply:
  12623. properties:
  12624. accountcode:
  12625. description: 资金账号
  12626. type: string
  12627. accountname:
  12628. description: 用户名称(名称)
  12629. type: string
  12630. accountpwd:
  12631. description: 资金密码
  12632. type: string
  12633. accountticket:
  12634. description: 最新账户服务流水号
  12635. type: string
  12636. amount:
  12637. description: 金额
  12638. type: number
  12639. applyremark:
  12640. description: 申请备注
  12641. type: string
  12642. applystatus:
  12643. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12644. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12645. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12646. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12647. type: integer
  12648. auditid:
  12649. description: 审核人
  12650. type: integer
  12651. audittime:
  12652. description: 审核时间
  12653. type: string
  12654. bank_apply_ticket:
  12655. description: 银行申请流水
  12656. type: string
  12657. bankaccountname:
  12658. description: 银行账户名
  12659. type: string
  12660. bankaccountno:
  12661. description: 银行卡号
  12662. type: string
  12663. bankid:
  12664. description: 银行编号
  12665. type: string
  12666. bankticket:
  12667. description: 银行流水
  12668. type: string
  12669. branchbankid:
  12670. description: 银行支行号
  12671. type: string
  12672. branchbankname:
  12673. description: 银行支行名称
  12674. type: string
  12675. capamountout:
  12676. description: 出金(劣后本金) - 外部子账户
  12677. type: number
  12678. certificatephotourl:
  12679. description: 凭证地址
  12680. type: string
  12681. charge:
  12682. description: 手续费
  12683. type: number
  12684. checkerrorflag:
  12685. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12686. type: integer
  12687. currency:
  12688. description: 币种
  12689. type: string
  12690. cusbankid:
  12691. description: 托管银行编号
  12692. type: string
  12693. exchticket:
  12694. description: 银行服务流水号
  12695. type: string
  12696. executetype:
  12697. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12698. 7:外部子账户:入金 8:外部子账户:出金'
  12699. type: integer
  12700. extendinfo:
  12701. description: 扩展信息
  12702. type: string
  12703. extoperateid:
  12704. description: 交易服务流水号
  12705. type: integer
  12706. infamount:
  12707. description: 劣后金额(自有)
  12708. type: number
  12709. logincode:
  12710. description: 登录账号(账号)
  12711. type: string
  12712. netaddr:
  12713. description: 调转网址
  12714. type: string
  12715. priamount:
  12716. description: 优先金额(授信)
  12717. type: number
  12718. reauditid:
  12719. description: 复审人
  12720. type: integer
  12721. reauditremark:
  12722. description: 复审备注
  12723. type: string
  12724. reaudittime:
  12725. description: 复审时间
  12726. type: string
  12727. relatedorderid:
  12728. description: 三方关联ID
  12729. type: string
  12730. remark:
  12731. description: 备注
  12732. type: string
  12733. remark2:
  12734. description: 备注(失败原因)
  12735. type: string
  12736. soucreamount:
  12737. description: 原始出入金金额
  12738. type: number
  12739. soucrecurrencyid:
  12740. description: 原始出入金币种
  12741. type: integer
  12742. tradedate:
  12743. description: 交易日(yyyyMMdd)
  12744. type: string
  12745. updatetime:
  12746. description: 更新时间(申请时间)
  12747. type: string
  12748. userid:
  12749. description: 用户id
  12750. type: integer
  12751. userinfotype:
  12752. description: 账户类型 1-个人 2-企业
  12753. type: integer
  12754. type: object
  12755. models.QhjAgreementChangeLog:
  12756. properties:
  12757. agreementcontent:
  12758. description: 协议内容
  12759. type: string
  12760. agreementfrequency:
  12761. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12762. type: integer
  12763. agreementid:
  12764. description: 协议ID
  12765. type: integer
  12766. agreementname:
  12767. description: 协议名称
  12768. type: string
  12769. agreementno:
  12770. description: 协议编号
  12771. type: string
  12772. agreementtype:
  12773. description: 协议类型 - 1:注册 2:登录 3:交易
  12774. type: integer
  12775. agreementversion:
  12776. description: 协议版本号
  12777. type: integer
  12778. logid:
  12779. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12780. type: integer
  12781. reviserid:
  12782. description: 修改人
  12783. type: integer
  12784. revisersrc:
  12785. description: 修改来源 - 1:管理端 2:终端
  12786. type: integer
  12787. updatetime:
  12788. description: 更新时间
  12789. type: string
  12790. type: object
  12791. models.QhjAgreementConfig:
  12792. properties:
  12793. agreementcontent:
  12794. description: 协议内容
  12795. type: string
  12796. agreementfrequency:
  12797. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12798. type: integer
  12799. agreementid:
  12800. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12801. type: integer
  12802. agreementname:
  12803. description: 协议名称
  12804. type: string
  12805. agreementno:
  12806. description: 协议编号
  12807. type: string
  12808. agreementtype:
  12809. description: 协议类型 - 1:注册 2:登录 3:交易
  12810. type: integer
  12811. agreementversion:
  12812. description: 协议版本号(从1开始每次修改加1)
  12813. type: integer
  12814. createtime:
  12815. description: 创建时间
  12816. type: string
  12817. creatorid:
  12818. description: 创建人
  12819. type: integer
  12820. creatorsrc:
  12821. description: 创建来源 - 1:管理端 2:终端
  12822. type: integer
  12823. isvalid:
  12824. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12825. type: integer
  12826. reviserid:
  12827. description: 修改人
  12828. type: integer
  12829. revisersrc:
  12830. description: 修改来源 - 1:管理端 2:终端
  12831. type: integer
  12832. updatetime:
  12833. description: 更新时间
  12834. type: string
  12835. type: object
  12836. models.QhjAreaFinanceConfig:
  12837. properties:
  12838. additionalratio:
  12839. description: 追加款比例
  12840. type: number
  12841. advanceratio:
  12842. description: 预付款比例
  12843. type: number
  12844. alarmratio:
  12845. description: 告警比例
  12846. type: number
  12847. consumptiondirectreward:
  12848. description: 消费直推奖励值
  12849. type: number
  12850. consumptionenabled:
  12851. description: 是否启用消费奖励 - 0:不启用 1:启用
  12852. type: integer
  12853. consumptionindirectreward:
  12854. description: 消费间推奖励值
  12855. type: number
  12856. consumptionmodel:
  12857. description: 消费奖励方式 - 1:比率 2:固定
  12858. type: integer
  12859. customerservicenum:
  12860. description: 客服电话
  12861. type: string
  12862. dayinterestrate:
  12863. description: 日利率
  12864. type: number
  12865. disableconsumptiontips:
  12866. description: 关闭消费奖励提示
  12867. type: string
  12868. modifierid:
  12869. description: 修改人ID
  12870. type: integer
  12871. modifysrc:
  12872. description: 审核来源 - 1:管理端 2:终端
  12873. type: integer
  12874. modifytime:
  12875. description: 修改时间
  12876. type: string
  12877. promotionvalue:
  12878. description: 推广奖励值(固定)
  12879. type: number
  12880. scoreconfigvalue1:
  12881. description: 提货积分配置1
  12882. type: integer
  12883. scoreconfigvalue2:
  12884. description: 提货积分配置2
  12885. type: integer
  12886. userid:
  12887. description: 机构用户ID其他做市关系,都设置为 1
  12888. type: integer
  12889. username:
  12890. description: 用户名称
  12891. type: string
  12892. type: object
  12893. models.QhjBankAccountSign:
  12894. properties:
  12895. accountcode:
  12896. description: 资金账号
  12897. type: string
  12898. accountname:
  12899. description: 资金账号对应的账号名(UserName)
  12900. type: string
  12901. accountname2:
  12902. description: 资金账号对应的账号名(UserName) - 密文
  12903. type: string
  12904. accounttype:
  12905. description: 账户类型(UserType)
  12906. type: integer
  12907. applicationtime:
  12908. description: 最后一次更新的时间
  12909. type: string
  12910. applyexchticket:
  12911. description: 申请流水
  12912. type: string
  12913. auditid:
  12914. description: 审核人
  12915. type: integer
  12916. audittime:
  12917. description: 审核时间
  12918. type: string
  12919. bankaccountname:
  12920. description: 签约银行卡账号名
  12921. type: string
  12922. bankaccountname2:
  12923. description: 签约银行卡账号名 - 密文
  12924. type: string
  12925. bankaccountno:
  12926. description: 银行卡号
  12927. type: string
  12928. bankaccountno2:
  12929. description: 银行卡号 - 密文
  12930. type: string
  12931. bankaccounttype:
  12932. description: 银行账户类型 - 1-对私; 2-对公
  12933. type: integer
  12934. bankcardtype:
  12935. description: 银行卡类型
  12936. type: integer
  12937. bankchildaccount:
  12938. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12939. type: string
  12940. bankcity:
  12941. description: 开户行城市
  12942. type: string
  12943. bankid:
  12944. description: 签约银行ID
  12945. type: string
  12946. bankname:
  12947. description: 签约银行名称
  12948. type: string
  12949. bankprovince:
  12950. description: 开户行省份
  12951. type: string
  12952. branchbankid:
  12953. description: 签约银行支行号
  12954. type: string
  12955. branchbankname:
  12956. description: 签约银行支行名称
  12957. type: string
  12958. cardno:
  12959. description: 证件号码
  12960. type: string
  12961. cardno2:
  12962. description: 证件号码 - 密文
  12963. type: string
  12964. cardtype:
  12965. description: 证件类型
  12966. type: string
  12967. currency:
  12968. description: 币种
  12969. type: string
  12970. cusbankid:
  12971. description: 托管银行编号
  12972. type: string
  12973. direct:
  12974. description: 方向(可以判断那方先发起的签约)
  12975. type: integer
  12976. exchticket:
  12977. description: 最后一次签约成功的流水号
  12978. type: string
  12979. extendinfo:
  12980. description: 扩展信息(JSON字符串)
  12981. type: string
  12982. mobilephone:
  12983. description: 手机号
  12984. type: string
  12985. mobilephone2:
  12986. description: 手机号 - 密文
  12987. type: string
  12988. netaddr:
  12989. description: 调转网址
  12990. type: string
  12991. relateduserid:
  12992. description: 关联使用者userid
  12993. type: integer
  12994. signstatus:
  12995. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12996. 10:审核拒绝 11:换签待审核
  12997. type: integer
  12998. updatetime:
  12999. description: 更新时间(签解约更新时间)
  13000. type: string
  13001. type: object
  13002. models.QhjBankInfo:
  13003. properties:
  13004. bankid:
  13005. description: 银行ID
  13006. type: string
  13007. bankname:
  13008. description: 银行名称
  13009. type: string
  13010. clearbankno:
  13011. description: 清算系统银行编号
  13012. type: string
  13013. orderindex:
  13014. description: 排序顺序
  13015. type: integer
  13016. status:
  13017. description: 状态 - 0:正常 1:注销
  13018. type: integer
  13019. type: object
  13020. models.QhjBrokerApply:
  13021. properties:
  13022. applicantid:
  13023. description: 申请人
  13024. type: integer
  13025. applysrc:
  13026. description: 申请来源 - 1:管理端 2:终端
  13027. type: integer
  13028. applystatus:
  13029. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13030. type: integer
  13031. applytime:
  13032. description: 申请时间
  13033. type: string
  13034. auditorid:
  13035. description: 审核人
  13036. type: integer
  13037. auditremark:
  13038. description: 审核备注
  13039. type: string
  13040. auditsrc:
  13041. description: 审核来源 - 1:管理端 2:终端
  13042. type: integer
  13043. audittime:
  13044. description: 审核时间
  13045. type: string
  13046. audittradedate:
  13047. description: 审核交易日(yyyyMMdd)
  13048. type: string
  13049. brokerapplyid:
  13050. description: 申请ID(SEQ_BROKERAPPLY)
  13051. type: integer
  13052. cardbackphotourl:
  13053. description: 证件背面图片地址
  13054. type: string
  13055. cardfrontphotourl:
  13056. description: 证件正面图片地址
  13057. type: string
  13058. cardnum:
  13059. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13060. type: string
  13061. customername:
  13062. description: 姓名
  13063. type: string
  13064. logincode:
  13065. description: 登录代码
  13066. type: string
  13067. mobile:
  13068. description: 手机号码
  13069. type: string
  13070. parentuserid:
  13071. description: 所属机构id
  13072. type: integer
  13073. parentusername:
  13074. description: 所属机构名称
  13075. type: string
  13076. refereeuserid:
  13077. description: 推荐人id(经纪人)
  13078. type: integer
  13079. refernum:
  13080. description: 推荐码
  13081. type: string
  13082. remark:
  13083. description: 备注
  13084. type: string
  13085. subarealevelpath:
  13086. description: 层级路径
  13087. type: string
  13088. tradedate:
  13089. description: 交易日(yyyyMMdd)
  13090. type: string
  13091. userid:
  13092. description: 申请人用户ID
  13093. type: integer
  13094. userinfotype:
  13095. description: 用户类型 1-个人 2-企业
  13096. type: integer
  13097. username:
  13098. description: 用户名称
  13099. type: string
  13100. type: object
  13101. models.QhjBrokerApplyEx:
  13102. properties:
  13103. applylist:
  13104. description: 经纪人申请记录(只返回最新一条)
  13105. items:
  13106. $ref: '#/definitions/models.QhjBrokerApply'
  13107. type: array
  13108. canrecommend:
  13109. description: 是否经纪人 0-不是 1-是
  13110. type: integer
  13111. refernum:
  13112. description: 推荐码
  13113. type: string
  13114. userid:
  13115. description: 用户id
  13116. type: integer
  13117. userinfotype:
  13118. description: 用户类型 1-个人 2-企业
  13119. type: integer
  13120. type: object
  13121. models.QhjBrokerRewardLog:
  13122. properties:
  13123. accountid:
  13124. description: 资金账号ID
  13125. type: integer
  13126. createtime:
  13127. description: 创建时间(时间)
  13128. type: string
  13129. handlestatus:
  13130. description: 处理状态
  13131. type: integer
  13132. logid:
  13133. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13134. type: string
  13135. marketid:
  13136. description: 市场ID
  13137. type: integer
  13138. mmaccountid:
  13139. description: 做市商资金账号ID
  13140. type: string
  13141. mmuserid:
  13142. description: 做市商用户ID
  13143. type: string
  13144. rewardamount:
  13145. description: 奖励金额
  13146. type: number
  13147. rewardmodel:
  13148. description: 消费奖励方式 - 1:比率 2:固定
  13149. type: integer
  13150. rewardtype:
  13151. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13152. type: integer
  13153. rewardvalue:
  13154. description: 配置奖励值
  13155. type: number
  13156. srcamount:
  13157. description: 成交金额 [消费奖励] (金额)
  13158. type: number
  13159. srcgoodsid:
  13160. description: 来源商品ID [消费奖励]
  13161. type: string
  13162. srctime:
  13163. description: 来源时间 (成交时间) [消费奖励]
  13164. type: string
  13165. srctradeid:
  13166. description: 来源成交单ID [消费奖励] - 排除提货成交
  13167. type: string
  13168. srcuserid:
  13169. description: 来源用户ID(推广账户)
  13170. type: string
  13171. srcusername:
  13172. description: 推广账户名称
  13173. type: string
  13174. tradedate:
  13175. description: 交易日(yyyyMMdd)
  13176. type: string
  13177. userid:
  13178. description: 经纪人用户ID
  13179. type: integer
  13180. type: object
  13181. models.QhjContract:
  13182. properties:
  13183. contractconfirmtime:
  13184. description: 合同确认时间(时间)
  13185. type: string
  13186. currisklevel:
  13187. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13188. type: integer
  13189. decimalplace:
  13190. description: 商品报价小数位
  13191. type: integer
  13192. enumdicname:
  13193. description: 单位名称
  13194. type: string
  13195. goodscode:
  13196. description: 商品代码
  13197. type: string
  13198. goodsid:
  13199. description: 商品ID [5:融资单]
  13200. type: integer
  13201. goodsname:
  13202. description: 商品名称
  13203. type: string
  13204. goodunitid:
  13205. description: 商品单位id
  13206. type: integer
  13207. initmargin:
  13208. description: 初始保证金(首付款)
  13209. type: number
  13210. lenderamount:
  13211. description: 贷款金额(总额|订单总额)
  13212. type: number
  13213. marginratio:
  13214. description: 保证金比率(首付比例)
  13215. type: number
  13216. payamount:
  13217. description: 已付(已付货款)
  13218. type: number
  13219. reckonrecovermargin:
  13220. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13221. type: number
  13222. recoveredmargin:
  13223. description: 已追缴保证金
  13224. type: number
  13225. remainamount:
  13226. description: 合同剩余金额(融资额)
  13227. type: number
  13228. scfcontractid:
  13229. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13230. type: string
  13231. scfcontractstatus:
  13232. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13233. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13234. type: integer
  13235. scfcontracttype:
  13236. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13237. type: integer
  13238. totalinterest:
  13239. description: 已计总利息(利息)
  13240. type: number
  13241. tradeprice:
  13242. description: 成交价格(成本价格)
  13243. type: number
  13244. userid:
  13245. description: 用户ID
  13246. type: integer
  13247. username:
  13248. description: 用户名称
  13249. type: string
  13250. wrqty:
  13251. description: 仓单数量(数量)
  13252. type: number
  13253. type: object
  13254. models.QhjContractLog:
  13255. properties:
  13256. amount:
  13257. description: 支付金额
  13258. type: number
  13259. amounttype:
  13260. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13261. type: integer
  13262. logid:
  13263. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13264. type: string
  13265. remainamount:
  13266. description: 剩余货款
  13267. type: number
  13268. scfcontractid:
  13269. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13270. type: integer
  13271. updatetime:
  13272. description: 更新时间
  13273. type: string
  13274. type: object
  13275. models.QhjCusBankSignBankEx:
  13276. properties:
  13277. banklst:
  13278. description: 银行列表
  13279. items:
  13280. $ref: '#/definitions/models.QhjBankInfo'
  13281. type: array
  13282. canallot:
  13283. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13284. type: integer
  13285. canallotquery:
  13286. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13287. type: integer
  13288. canbindcard:
  13289. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13290. type: integer
  13291. caninamount:
  13292. description: 是否可入金 - 0:不可 1:可以
  13293. type: integer
  13294. caninamount2:
  13295. description: 是否可入金(网银端) - 0:不可 1:可以
  13296. type: integer
  13297. canmodifybankcard:
  13298. description: 是否可修改银行卡号 - 0:不可 1:可以
  13299. type: integer
  13300. canmodifyphone:
  13301. description: 是否可修改手机号 - 0:不可 1:可以
  13302. type: integer
  13303. canmodifysigninfo:
  13304. description: 是否可修改签约信息 - 0:不可 1:可以
  13305. type: integer
  13306. canoutamount:
  13307. description: 是否可出金 - 0:不可 1:可以
  13308. type: integer
  13309. canoutamount2:
  13310. description: 是否可出金(网银端) - 0:不可 1:可以
  13311. type: integer
  13312. canrelease:
  13313. description: 是否可解约 - 0:不可 1:可以
  13314. type: integer
  13315. canrelease2:
  13316. description: 是否可解约(网银端) - 0:不可 1:可以
  13317. type: integer
  13318. cansign:
  13319. description: 是否可签约 - 0:不可 1:可以
  13320. type: integer
  13321. cansign2:
  13322. description: 是否可签约(网银端) - 0:不可 1:可以
  13323. type: integer
  13324. currency:
  13325. description: 币种
  13326. type: string
  13327. cusbankid:
  13328. description: 托管银行编号(对应清算中心TRAN_NO)
  13329. type: string
  13330. cusbankname:
  13331. description: 银行业务名称
  13332. type: string
  13333. cusbankshortname:
  13334. description: 银行业务简称
  13335. type: string
  13336. exchbankid:
  13337. description: 交易所开户银行ID
  13338. type: string
  13339. exchpaybankaccname:
  13340. description: 交易所支出结算账户户名
  13341. type: string
  13342. exchpaybankaccno:
  13343. description: 交易所支出结算账户
  13344. type: string
  13345. isneedcheck:
  13346. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13347. type: integer
  13348. isneedclear:
  13349. description: 是否需要清算 - 0:不需要 1:需要
  13350. type: integer
  13351. lastcheckstatus:
  13352. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13353. type: integer
  13354. lastchecktime:
  13355. description: 最后对账时间
  13356. type: string
  13357. lastclearstatus:
  13358. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13359. type: integer
  13360. lastcleartime:
  13361. description: 最后清算时间
  13362. type: string
  13363. lastsignintime:
  13364. description: 最后签到时间
  13365. type: string
  13366. lastsignouttime:
  13367. description: 最后签退时间
  13368. type: string
  13369. riskinfo:
  13370. description: 签约风险提示书
  13371. type: string
  13372. signstatus:
  13373. description: 当前签到/签退状态 - 1:签到 2:签退
  13374. type: integer
  13375. tradedate:
  13376. description: 交易日(yyyyMMdd)
  13377. type: string
  13378. updatetime:
  13379. description: 当前签到/签退更新时间
  13380. type: string
  13381. type: object
  13382. models.QhjCustomer:
  13383. properties:
  13384. address:
  13385. description: 通讯地址
  13386. type: string
  13387. attachment1:
  13388. description: 附件1
  13389. type: string
  13390. attachment2:
  13391. description: 附件2
  13392. type: string
  13393. audittime:
  13394. description: 审核时间
  13395. type: string
  13396. cardbackphotourl:
  13397. description: 证件反面图片地址
  13398. type: string
  13399. cardfrontphotourl:
  13400. description: 证件正面图片地址
  13401. type: string
  13402. cardnum:
  13403. description: 证件号码
  13404. type: string
  13405. cardtype:
  13406. description: 证件类型
  13407. type: integer
  13408. cardtypename:
  13409. description: 证件类型名称
  13410. type: string
  13411. cityid:
  13412. description: 市
  13413. type: integer
  13414. cityname:
  13415. description: 城市名称
  13416. type: string
  13417. contactname:
  13418. description: 联系人
  13419. type: string
  13420. countryid:
  13421. description: 国家
  13422. type: integer
  13423. countryname:
  13424. description: 国家名称
  13425. type: string
  13426. createtime:
  13427. description: 创建时间
  13428. type: string
  13429. customername:
  13430. description: 客户名称
  13431. type: string
  13432. districtid:
  13433. description: 区域
  13434. type: integer
  13435. districtname:
  13436. description: 地区名称
  13437. type: string
  13438. email:
  13439. description: 邮件
  13440. type: string
  13441. legalpersonname:
  13442. description: 法人姓名(企业)
  13443. type: string
  13444. logincode:
  13445. description: 登录账号(代码)
  13446. type: string
  13447. memberuserid:
  13448. description: 所属机构ID(所属会员)
  13449. type: integer
  13450. memberusername:
  13451. description: 所属会员名称
  13452. type: string
  13453. mobile:
  13454. description: 手机号码
  13455. type: string
  13456. modifytime:
  13457. description: 修改时间
  13458. type: string
  13459. nickname:
  13460. description: 昵称
  13461. type: string
  13462. parentuserid:
  13463. description: 上级机构(所属机构)
  13464. type: integer
  13465. parentusername:
  13466. description: 所属机构名称
  13467. type: string
  13468. provinceid:
  13469. description: 省
  13470. type: integer
  13471. provincename:
  13472. description: 省名称
  13473. type: string
  13474. proxystatementurl:
  13475. description: 授权委托书
  13476. type: string
  13477. remark:
  13478. description: 备注
  13479. type: string
  13480. status:
  13481. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13482. type: integer
  13483. statusdesc:
  13484. description: 账户状态中文描述
  13485. type: string
  13486. taxpayernum:
  13487. description: 纳税人识别号
  13488. type: string
  13489. telphone:
  13490. description: 联系电话
  13491. type: string
  13492. userid:
  13493. description: 用户ID
  13494. type: integer
  13495. userinfotype:
  13496. description: 客户类型 1-个人 2-企业
  13497. type: integer
  13498. username:
  13499. description: 用户名称
  13500. type: string
  13501. type: object
  13502. models.QhjCustomerSignLog:
  13503. properties:
  13504. agreementcontent:
  13505. description: 协议内容
  13506. type: string
  13507. agreementid:
  13508. description: 协议ID
  13509. type: integer
  13510. agreementname:
  13511. description: 协议名称
  13512. type: string
  13513. agreementno:
  13514. description: 协议编号
  13515. type: string
  13516. agreementtype:
  13517. description: 协议类型 - 1:注册 2:登录 3:交易
  13518. type: integer
  13519. agreementversion:
  13520. description: 协议版本号
  13521. type: integer
  13522. createtime:
  13523. description: 创建时间
  13524. type: string
  13525. goodscode:
  13526. description: 商品代码
  13527. type: string
  13528. goodsid:
  13529. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13530. type: integer
  13531. goodsname:
  13532. description: 商品名称
  13533. type: string
  13534. logid:
  13535. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13536. type: integer
  13537. nodetype:
  13538. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13539. type: integer
  13540. signadressurl:
  13541. description: 签约文件地址
  13542. type: string
  13543. signtimestamp:
  13544. description: 签约状态时间戳
  13545. type: string
  13546. userid:
  13547. description: 客户ID
  13548. type: integer
  13549. username:
  13550. description: 客户名称
  13551. type: string
  13552. type: object
  13553. models.QhjCustomerSignStatus:
  13554. properties:
  13555. createtime:
  13556. description: 创建时间
  13557. type: string
  13558. goodscode:
  13559. description: 商品代码
  13560. type: string
  13561. goodsid:
  13562. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13563. type: integer
  13564. goodsname:
  13565. description: 商品名称
  13566. type: string
  13567. nodetype:
  13568. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13569. type: integer
  13570. signtimestamp:
  13571. description: 签约状态时间戳
  13572. type: string
  13573. tradedate:
  13574. description: 创建交易日(yyyyMMdd)
  13575. type: string
  13576. updatetime:
  13577. description: 更新时间
  13578. type: string
  13579. userid:
  13580. description: 客户ID
  13581. type: integer
  13582. username:
  13583. description: 客户名称
  13584. type: string
  13585. type: object
  13586. models.QhjMgrAccountOutInApply:
  13587. properties:
  13588. accountcode:
  13589. description: 资金账号
  13590. type: string
  13591. accountname:
  13592. description: 用户名称(名称)
  13593. type: string
  13594. accountpwd:
  13595. description: 资金密码
  13596. type: string
  13597. accountticket:
  13598. description: 最新账户服务流水号
  13599. type: string
  13600. amount:
  13601. description: 金额
  13602. type: number
  13603. applyremark:
  13604. description: 申请备注
  13605. type: string
  13606. applystatus:
  13607. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13608. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13609. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13610. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13611. type: integer
  13612. auditid:
  13613. description: 审核人
  13614. type: integer
  13615. audittime:
  13616. description: 审核时间
  13617. type: string
  13618. bank_apply_ticket:
  13619. description: 银行申请流水
  13620. type: string
  13621. bankaccountname:
  13622. description: 银行账户名
  13623. type: string
  13624. bankaccountno:
  13625. description: 银行卡号
  13626. type: string
  13627. bankid:
  13628. description: 银行编号
  13629. type: string
  13630. bankname:
  13631. description: 银行名称
  13632. type: string
  13633. bankticket:
  13634. description: 银行流水
  13635. type: string
  13636. branchbankid:
  13637. description: 银行支行号
  13638. type: string
  13639. branchbankname:
  13640. description: 银行支行名称
  13641. type: string
  13642. capamountout:
  13643. description: 出金(劣后本金) - 外部子账户
  13644. type: number
  13645. certificatephotourl:
  13646. description: 凭证地址
  13647. type: string
  13648. charge:
  13649. description: 手续费
  13650. type: number
  13651. checkerrorflag:
  13652. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13653. type: integer
  13654. currency:
  13655. description: 币种
  13656. type: string
  13657. cusbankid:
  13658. description: 托管银行编号
  13659. type: string
  13660. exchticket:
  13661. description: 银行服务流水号
  13662. type: string
  13663. executetype:
  13664. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13665. 7:外部子账户:入金 8:外部子账户:出金'
  13666. type: integer
  13667. extendinfo:
  13668. description: 扩展信息
  13669. type: string
  13670. extoperateid:
  13671. description: 交易服务流水号
  13672. type: integer
  13673. infamount:
  13674. description: 劣后金额(自有)
  13675. type: number
  13676. logincode:
  13677. description: 登录账号(账号)
  13678. type: string
  13679. netaddr:
  13680. description: 调转网址
  13681. type: string
  13682. priamount:
  13683. description: 优先金额(授信)
  13684. type: number
  13685. reauditid:
  13686. description: 复审人
  13687. type: integer
  13688. reauditremark:
  13689. description: 复审备注
  13690. type: string
  13691. reaudittime:
  13692. description: 复审时间
  13693. type: string
  13694. relatedorderid:
  13695. description: 三方关联ID
  13696. type: string
  13697. remark:
  13698. description: 备注
  13699. type: string
  13700. remark2:
  13701. description: 备注(失败原因)
  13702. type: string
  13703. soucreamount:
  13704. description: 原始出入金金额
  13705. type: number
  13706. soucrecurrencyid:
  13707. description: 原始出入金币种
  13708. type: integer
  13709. tradedate:
  13710. description: 交易日(yyyyMMdd)
  13711. type: string
  13712. updatetime:
  13713. description: 更新时间(申请时间)
  13714. type: string
  13715. userid:
  13716. description: 用户id
  13717. type: integer
  13718. userinfotype:
  13719. description: 账户类型 1-个人 2-企业
  13720. type: integer
  13721. type: object
  13722. models.QhjMgrBrokerApply:
  13723. properties:
  13724. applicantid:
  13725. description: 申请人
  13726. type: integer
  13727. applysrc:
  13728. description: 申请来源 - 1:管理端 2:终端
  13729. type: integer
  13730. applystatus:
  13731. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13732. type: integer
  13733. applytime:
  13734. description: 申请时间
  13735. type: string
  13736. auditorid:
  13737. description: 审核人
  13738. type: integer
  13739. auditremark:
  13740. description: 审核备注
  13741. type: string
  13742. auditsrc:
  13743. description: 审核来源 - 1:管理端 2:终端
  13744. type: integer
  13745. audittime:
  13746. description: 审核时间
  13747. type: string
  13748. audittradedate:
  13749. description: 审核交易日(yyyyMMdd)
  13750. type: string
  13751. brokerapplyid:
  13752. description: 申请ID(SEQ_BROKERAPPLY)
  13753. type: integer
  13754. cardbackphotourl:
  13755. description: 证件背面图片地址
  13756. type: string
  13757. cardfrontphotourl:
  13758. description: 证件正面图片地址
  13759. type: string
  13760. cardnum:
  13761. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13762. type: string
  13763. customername:
  13764. description: 姓名
  13765. type: string
  13766. filterstatus:
  13767. description: 筛选条件
  13768. type: string
  13769. logincode:
  13770. description: 登录代码
  13771. type: string
  13772. mobile:
  13773. description: 手机号码
  13774. type: string
  13775. parentuserid:
  13776. description: 所属机构id
  13777. type: integer
  13778. parentusername:
  13779. description: 所属机构名称
  13780. type: string
  13781. refereeuserid:
  13782. description: 推荐人id(经纪人)
  13783. type: integer
  13784. refernum:
  13785. description: 推荐码
  13786. type: string
  13787. remark:
  13788. description: 备注
  13789. type: string
  13790. subarealevelpath:
  13791. description: 层级路径
  13792. type: string
  13793. tradedate:
  13794. description: 交易日(yyyyMMdd)
  13795. type: string
  13796. userid:
  13797. description: 申请人用户ID
  13798. type: integer
  13799. userinfotype:
  13800. description: 用户类型 1-个人 2-企业
  13801. type: integer
  13802. username:
  13803. description: 用户名称
  13804. type: string
  13805. type: object
  13806. models.QhjMgrBrokerRewardReport:
  13807. properties:
  13808. createtime:
  13809. description: 创建时间(注册时间)
  13810. type: string
  13811. cycletime:
  13812. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13813. type: string
  13814. cycletype:
  13815. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13816. type: integer
  13817. directtotalnum:
  13818. description: 直推总人数【期末】
  13819. type: integer
  13820. indirecttotalnum:
  13821. description: 间推总人数【期末】
  13822. type: integer
  13823. mobile:
  13824. description: 电话号码
  13825. type: string
  13826. refereeuserid:
  13827. description: 推荐人id(经纪人id)
  13828. type: integer
  13829. refereeusername:
  13830. description: 推荐人名称(经纪人) 上级经纪人名称
  13831. type: string
  13832. refernum:
  13833. description: 推荐码
  13834. type: string
  13835. subarealevelpath:
  13836. description: 用户层级路径
  13837. type: string
  13838. todayrewardamount:
  13839. description: 奖励总金额【汇总】
  13840. type: number
  13841. updatetime:
  13842. description: 更新时间
  13843. type: string
  13844. userid:
  13845. description: 经纪人用户ID
  13846. type: integer
  13847. userinfotype:
  13848. description: 用户类型 1-个人 2-企业
  13849. type: integer
  13850. username:
  13851. description: 用户名称
  13852. type: string
  13853. type: object
  13854. models.QhjMgrContract:
  13855. properties:
  13856. contractconfirmtime:
  13857. description: 合同确认时间(时间)
  13858. type: string
  13859. currisklevel:
  13860. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13861. type: integer
  13862. decimalplace:
  13863. description: 商品报价小数位
  13864. type: integer
  13865. enumdicname:
  13866. description: 单位名称
  13867. type: string
  13868. goodscode:
  13869. description: 商品代码
  13870. type: string
  13871. goodsid:
  13872. description: 商品ID [5:融资单]
  13873. type: integer
  13874. goodsname:
  13875. description: 商品名称
  13876. type: string
  13877. goodunitid:
  13878. description: 商品单位id
  13879. type: integer
  13880. initmargin:
  13881. description: 初始保证金(首付款)
  13882. type: number
  13883. lenderamount:
  13884. description: 贷款金额(总额|订单总额)
  13885. type: number
  13886. logincode:
  13887. description: 账号(登录代码)
  13888. type: string
  13889. marginratio:
  13890. description: 保证金比率(首付比例)
  13891. type: number
  13892. mobile:
  13893. description: 电话号码(用户资料里的电话)
  13894. type: string
  13895. payamount:
  13896. description: 已付(已付货款)
  13897. type: number
  13898. reckonrecovermargin:
  13899. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13900. type: number
  13901. recoveredmargin:
  13902. description: 已追缴保证金
  13903. type: number
  13904. remainamount:
  13905. description: 合同剩余金额(融资额)
  13906. type: number
  13907. scfcontractid:
  13908. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13909. type: string
  13910. scfcontractstatus:
  13911. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13912. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13913. type: integer
  13914. scfcontracttype:
  13915. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13916. type: integer
  13917. totalinterest:
  13918. description: 已计总利息(利息)
  13919. type: number
  13920. tradedate:
  13921. description: 交易日
  13922. type: string
  13923. tradeprice:
  13924. description: 成交价格(成本价格)
  13925. type: number
  13926. userid:
  13927. description: 用户ID
  13928. type: integer
  13929. userinfotype:
  13930. description: 用户类型 1-个人 2-企业
  13931. type: integer
  13932. username:
  13933. description: 用户名称
  13934. type: string
  13935. wrqty:
  13936. description: 仓单数量(数量)
  13937. type: number
  13938. type: object
  13939. models.QhjMgrCustomer:
  13940. properties:
  13941. address:
  13942. description: 通讯地址
  13943. type: string
  13944. attachment1:
  13945. description: 附件1
  13946. type: string
  13947. audittime:
  13948. description: 审核时间
  13949. type: string
  13950. birthday:
  13951. description: 生日
  13952. type: string
  13953. brokerid:
  13954. description: 所属客户经理id
  13955. type: integer
  13956. brokername:
  13957. description: 所属客户经理名称
  13958. type: string
  13959. cardbackphotourl:
  13960. description: 证件反面图片地址
  13961. type: string
  13962. cardfrontphotourl:
  13963. description: 证件正面图片地址
  13964. type: string
  13965. cardnum:
  13966. description: 证件号码
  13967. type: string
  13968. cardtype:
  13969. description: 证件类型
  13970. type: integer
  13971. cardtypename:
  13972. description: 证件类型名称
  13973. type: string
  13974. cityid:
  13975. description: 市
  13976. type: integer
  13977. cityname:
  13978. description: 城市名称
  13979. type: string
  13980. contactname:
  13981. description: 联系人
  13982. type: string
  13983. countryid:
  13984. description: 国家
  13985. type: integer
  13986. countryname:
  13987. description: 国家名称
  13988. type: string
  13989. createtime:
  13990. description: 创建时间
  13991. type: string
  13992. customername:
  13993. description: 客户名称
  13994. type: string
  13995. districtid:
  13996. description: 区域
  13997. type: integer
  13998. districtname:
  13999. description: 地区名称
  14000. type: string
  14001. email:
  14002. description: 邮件
  14003. type: string
  14004. legalpersonname:
  14005. description: 法人姓名(企业)
  14006. type: string
  14007. logincode:
  14008. description: 登录账号(代码)
  14009. type: string
  14010. memberuserid:
  14011. description: 所属机构ID(所属会员)
  14012. type: integer
  14013. memberusername:
  14014. description: 所属会员名称
  14015. type: string
  14016. mobile:
  14017. description: 手机号码
  14018. type: string
  14019. modifytime:
  14020. description: 修改时间
  14021. type: string
  14022. nickname:
  14023. description: 昵称
  14024. type: string
  14025. parentuserid:
  14026. description: 上级机构(所属机构)
  14027. type: integer
  14028. parentusername:
  14029. description: 所属机构名称
  14030. type: string
  14031. provinceid:
  14032. description: 省
  14033. type: integer
  14034. provincename:
  14035. description: 省名称
  14036. type: string
  14037. proxystatementurl:
  14038. description: 授权委托书
  14039. type: string
  14040. querytype:
  14041. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14042. type: integer
  14043. remark:
  14044. description: 备注
  14045. type: string
  14046. sex:
  14047. description: 性别 0-女 1-男
  14048. type: integer
  14049. status:
  14050. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14051. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14052. type: integer
  14053. statusdesc:
  14054. description: 账户状态中文描述
  14055. type: string
  14056. taxpayernum:
  14057. description: 纳税人识别号
  14058. type: string
  14059. telphone:
  14060. description: 联系电话
  14061. type: string
  14062. userid:
  14063. description: 用户ID
  14064. type: integer
  14065. userinfotype:
  14066. description: 客户类型 1-个人 2-企业
  14067. type: integer
  14068. username:
  14069. description: 用户名称
  14070. type: string
  14071. type: object
  14072. models.QhjMgrPickGoods:
  14073. properties:
  14074. enumdicname:
  14075. description: 单位名称(提货商品)
  14076. type: string
  14077. goodsid:
  14078. description: 商品id
  14079. type: integer
  14080. imageaddress:
  14081. description: 图片
  14082. type: string
  14083. modifierid:
  14084. description: 修改人
  14085. type: integer
  14086. modifiername:
  14087. description: 修改人名称
  14088. type: string
  14089. modifysrc:
  14090. description: 修改来源 - 1:管理端 2:终端
  14091. type: integer
  14092. pickupgoodsagreeunit:
  14093. description: 合约乘数
  14094. type: number
  14095. pickupgoodsdesc:
  14096. description: 描述
  14097. type: string
  14098. pickupgoodsid:
  14099. description: 提货商品ID
  14100. type: string
  14101. pickupgoodsname:
  14102. description: 提货商品名称
  14103. type: string
  14104. pickupgoodsstatus:
  14105. description: 状态 - 1:正常 2:停用 3:注销
  14106. type: integer
  14107. pickupgoodsunitid:
  14108. description: 单位ID
  14109. type: integer
  14110. pickupratio:
  14111. description: 提货系数
  14112. type: number
  14113. preparedays:
  14114. description: 备货期(天)
  14115. type: integer
  14116. remark:
  14117. description: 备注
  14118. type: string
  14119. updatetime:
  14120. description: 更新时间
  14121. type: string
  14122. type: object
  14123. models.QhjMgrPositionRsp:
  14124. properties:
  14125. accountid:
  14126. description: 账号Id
  14127. type: integer
  14128. accountname:
  14129. description: 用户名称
  14130. type: string
  14131. agreeunit:
  14132. description: 合约乘数
  14133. type: number
  14134. averageprice:
  14135. description: 均价
  14136. type: number
  14137. avialqty:
  14138. description: 可用数量
  14139. type: number
  14140. decimalplace:
  14141. description: 报价小数位
  14142. type: integer
  14143. enumdicname:
  14144. description: 单位名称(商品)
  14145. type: string
  14146. frozenqty:
  14147. description: 冻结数量
  14148. type: number
  14149. goodscode:
  14150. description: 商品代码(内部)
  14151. type: string
  14152. goodsid:
  14153. description: 商品Id
  14154. type: integer
  14155. goodsname:
  14156. description: 商品名称
  14157. type: string
  14158. goodunitid:
  14159. description: 报价单位ID
  14160. type: integer
  14161. holderamount:
  14162. description: 金额
  14163. type: number
  14164. holderqty:
  14165. description: 持有数量
  14166. type: number
  14167. holdertype:
  14168. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14169. type: integer
  14170. logincode:
  14171. description: 登录代码(账户)
  14172. type: string
  14173. marketid:
  14174. description: 市场id
  14175. type: integer
  14176. qtydecimalplace:
  14177. description: 成交量小数位
  14178. type: integer
  14179. trademode:
  14180. description: 交易模式
  14181. type: integer
  14182. userid:
  14183. description: 用户id
  14184. type: integer
  14185. userinfotype:
  14186. description: 账户类型 1-个人 2-企业
  14187. type: integer
  14188. type: object
  14189. models.QhjMgrSubArea:
  14190. properties:
  14191. accountname:
  14192. description: 账户名称(机构名称)
  14193. type: string
  14194. memberuserid:
  14195. description: 所属会员ID
  14196. type: integer
  14197. parenttopuser:
  14198. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14199. type: string
  14200. parentuserid:
  14201. description: 所属机构ID
  14202. type: integer
  14203. rootuserid:
  14204. description: 根用户ID
  14205. type: string
  14206. subaccountlevel:
  14207. description: 子账户层数
  14208. type: integer
  14209. subarealevelpath:
  14210. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14211. type: string
  14212. userid:
  14213. description: 用户ID
  14214. type: integer
  14215. usertype:
  14216. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14217. type: integer
  14218. type: object
  14219. models.QhjMgrTradeDetailRsp:
  14220. properties:
  14221. accountid:
  14222. description: 资金账号
  14223. type: integer
  14224. accountname:
  14225. description: 用户名称
  14226. type: string
  14227. agreeunit:
  14228. description: 合约乘数
  14229. type: number
  14230. buyorsell:
  14231. description: 成交类型(方向) 0:买 1:卖
  14232. type: integer
  14233. decimalplace:
  14234. description: 报价小数位
  14235. type: integer
  14236. enumdicname:
  14237. description: 单位名称(商品)
  14238. type: string
  14239. goodscode:
  14240. description: 商品代码(内部)
  14241. type: string
  14242. goodsid:
  14243. description: 商品id
  14244. type: integer
  14245. goodsname:
  14246. description: 商品名称
  14247. type: string
  14248. goodunitid:
  14249. description: 报价单位ID
  14250. type: integer
  14251. logincode:
  14252. description: 登录代码(账户)
  14253. type: string
  14254. marketid:
  14255. description: 市场id
  14256. type: integer
  14257. orderid:
  14258. description: 关联委托单号
  14259. type: string
  14260. qtydecimalplace:
  14261. description: 成交量小数位
  14262. type: integer
  14263. tradeamount:
  14264. description: 金额
  14265. type: number
  14266. tradedate:
  14267. description: 交易日
  14268. type: string
  14269. tradeid:
  14270. description: 成交单号
  14271. type: string
  14272. trademode:
  14273. description: 交易模式
  14274. type: integer
  14275. tradeprice:
  14276. description: 价格
  14277. type: number
  14278. tradeqty:
  14279. description: 数量
  14280. type: number
  14281. tradetime:
  14282. description: 成交时间
  14283. type: string
  14284. userid:
  14285. description: 用户id
  14286. type: integer
  14287. userinfotype:
  14288. description: 账户类型 1-个人 2-企业
  14289. type: integer
  14290. type: object
  14291. models.QhjMgrTradeOrderDetailRsp:
  14292. properties:
  14293. accountid:
  14294. description: 资金账号
  14295. type: integer
  14296. accountname:
  14297. description: 用户名称
  14298. type: string
  14299. agreeunit:
  14300. description: 合约乘数
  14301. type: number
  14302. amount:
  14303. description: 金额
  14304. type: number
  14305. decimalplace:
  14306. description: 报价小数位
  14307. type: integer
  14308. enumdicname:
  14309. description: 单位名称(商品)
  14310. type: string
  14311. goodscode:
  14312. description: 商品代码(内部)
  14313. type: string
  14314. goodsid:
  14315. description: 商品id
  14316. type: integer
  14317. goodsname:
  14318. description: 商品名称
  14319. type: string
  14320. goodunitid:
  14321. description: 报价单位ID
  14322. type: integer
  14323. logincode:
  14324. description: 登录代码(账户)
  14325. type: string
  14326. marketid:
  14327. description: 市场id
  14328. type: integer
  14329. orderid:
  14330. description: 关联委托单号
  14331. type: string
  14332. orderprice:
  14333. description: 价格
  14334. type: number
  14335. orderqty:
  14336. description: 数量
  14337. type: number
  14338. orderstatus:
  14339. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14340. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14341. 16:成交失败违约(荷兰式竞拍专用)
  14342. type: integer
  14343. ordertime:
  14344. description: 委托时间
  14345. type: string
  14346. qtydecimalplace:
  14347. description: 成交量小数位
  14348. type: integer
  14349. tradedate:
  14350. description: 交易日
  14351. type: string
  14352. trademode:
  14353. description: 交易模式
  14354. type: integer
  14355. userid:
  14356. description: 用户id
  14357. type: integer
  14358. userinfotype:
  14359. description: 账户类型 1-个人 2-企业
  14360. type: integer
  14361. type: object
  14362. models.QhjMgrTradePayOrder:
  14363. properties:
  14364. accountname:
  14365. description: 用户名称
  14366. type: string
  14367. advanceratio:
  14368. description: 首付比率
  14369. type: number
  14370. agreeunit:
  14371. description: 合约乘数
  14372. type: number
  14373. buyaccountid:
  14374. description: 买方账号ID[报价币种]
  14375. type: integer
  14376. buyorderid:
  14377. description: 买方委托单号(关联单号)
  14378. type: string
  14379. createtime:
  14380. description: 创建时间
  14381. type: string
  14382. decimalplace:
  14383. description: 报价小数位
  14384. type: integer
  14385. enumdicname:
  14386. description: 单位名称(商品)
  14387. type: string
  14388. goodscode:
  14389. description: 商品代码(内部)
  14390. type: string
  14391. goodsid:
  14392. description: 商品ID
  14393. type: integer
  14394. goodsname:
  14395. description: 商品名称
  14396. type: string
  14397. goodunitid:
  14398. description: 报价单位ID
  14399. type: integer
  14400. logincode:
  14401. description: 登录代码(账户)
  14402. type: string
  14403. marketid:
  14404. description: 市场id
  14405. type: integer
  14406. offamount:
  14407. description: 优惠金额
  14408. type: number
  14409. operatetype:
  14410. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14411. type: integer
  14412. payamount:
  14413. description: 支付金额(金额)
  14414. type: number
  14415. payflag:
  14416. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14417. type: integer
  14418. paylimitedtime:
  14419. description: 支付期限
  14420. type: string
  14421. paytime:
  14422. description: 付款时间
  14423. type: string
  14424. qtydecimalplace:
  14425. description: 成交量小数位
  14426. type: integer
  14427. sellaccountid:
  14428. description: 卖方账号ID[报价币种]
  14429. type: integer
  14430. sellorderid:
  14431. description: 卖方委托单号
  14432. type: string
  14433. tradeamount:
  14434. description: 成交金额(优惠后金额)
  14435. type: number
  14436. tradecharge:
  14437. description: 成交手续费(买方)
  14438. type: number
  14439. tradedate:
  14440. description: 交易日(yyyyMMdd)
  14441. type: string
  14442. tradeid:
  14443. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14444. type: string
  14445. trademode:
  14446. description: 交易模式
  14447. type: integer
  14448. tradeprice:
  14449. description: 成交价格(价格)
  14450. type: number
  14451. tradeqty:
  14452. description: 成交数量(数量)
  14453. type: number
  14454. tradetime:
  14455. description: 成交时间
  14456. type: string
  14457. userid:
  14458. description: 用户id
  14459. type: integer
  14460. userinfotype:
  14461. description: 账户类型 1-个人 2-企业
  14462. type: integer
  14463. type: object
  14464. models.QhjMyTeamEx:
  14465. properties:
  14466. accountname:
  14467. description: 用户名称
  14468. type: string
  14469. accountstatus:
  14470. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14471. type: integer
  14472. createtime:
  14473. description: 创建时间
  14474. type: string
  14475. mobile:
  14476. description: 手机号码
  14477. type: string
  14478. refereeuserid:
  14479. description: 推荐人id
  14480. type: integer
  14481. refernum:
  14482. description: 推荐码
  14483. type: string
  14484. subList:
  14485. items:
  14486. $ref: '#/definitions/models.QhjMyTeamEx'
  14487. type: array
  14488. userid:
  14489. description: 用户id
  14490. type: integer
  14491. userinfotype:
  14492. description: 用户类型 1-个人 2-企业
  14493. type: integer
  14494. type: object
  14495. models.QhjNodeAgreementConfig:
  14496. properties:
  14497. agreementcontent:
  14498. description: 协议内容
  14499. type: string
  14500. agreementid:
  14501. description: 协议ID
  14502. type: integer
  14503. agreementname:
  14504. description: 协议名称
  14505. type: string
  14506. agreementno:
  14507. description: 协议编号
  14508. type: string
  14509. agreementtype:
  14510. description: 协议类型 - 1:注册 2:登录 3:交易
  14511. type: integer
  14512. agreementversion:
  14513. description: 协议版本号
  14514. type: integer
  14515. configid:
  14516. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14517. type: integer
  14518. createtime:
  14519. description: 创建时间
  14520. type: string
  14521. goodsid:
  14522. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14523. type: integer
  14524. nodetype:
  14525. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14526. type: integer
  14527. type: object
  14528. models.QhjParentAreaList:
  14529. properties:
  14530. accountname:
  14531. description: 账户名称(机构名称)
  14532. type: string
  14533. userid:
  14534. description: 用户ID
  14535. type: integer
  14536. usertype:
  14537. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14538. type: integer
  14539. type: object
  14540. models.QhjPayOrder:
  14541. properties:
  14542. advanceratio:
  14543. description: 首付比率
  14544. type: number
  14545. buyaccountid:
  14546. description: 买方账号ID[报价币种]
  14547. type: integer
  14548. buyorderid:
  14549. description: 买方委托单号
  14550. type: string
  14551. createtime:
  14552. description: 创建时间
  14553. type: string
  14554. decimalplace:
  14555. description: 商品报价小数位
  14556. type: integer
  14557. enumdicname:
  14558. description: 单位名称
  14559. type: string
  14560. goodscode:
  14561. description: 商品代码
  14562. type: string
  14563. goodsid:
  14564. description: 商品ID
  14565. type: integer
  14566. goodsname:
  14567. description: 商品名称
  14568. type: string
  14569. goodunitid:
  14570. description: 商品单位id
  14571. type: integer
  14572. marketid:
  14573. description: 市场ID
  14574. type: integer
  14575. offamount:
  14576. description: 优惠金额
  14577. type: number
  14578. operatetype:
  14579. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14580. type: integer
  14581. payamount:
  14582. description: 支付金额
  14583. type: number
  14584. payflag:
  14585. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14586. type: integer
  14587. paylimitedtime:
  14588. description: 支付期限
  14589. type: string
  14590. paytime:
  14591. description: 付款时间
  14592. type: string
  14593. qtydecimalplace:
  14594. description: 成交量小数位
  14595. type: integer
  14596. sellaccountid:
  14597. description: 卖方账号ID[报价币种]
  14598. type: integer
  14599. sellorderid:
  14600. description: 卖方委托单号
  14601. type: string
  14602. tradeamount:
  14603. description: 成交金额(优惠后金额)
  14604. type: number
  14605. tradecharge:
  14606. description: 成交手续费(买方)
  14607. type: number
  14608. tradedate:
  14609. description: 交易日(yyyyMMdd)
  14610. type: string
  14611. tradeid:
  14612. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14613. type: string
  14614. tradeprice:
  14615. description: 成交价格
  14616. type: number
  14617. tradeqty:
  14618. description: 成交数量
  14619. type: number
  14620. type: object
  14621. models.QhjPickArea:
  14622. properties:
  14623. address:
  14624. description: 详细地址
  14625. type: string
  14626. cityid:
  14627. description: 市
  14628. type: integer
  14629. cityname:
  14630. description: 城市名称
  14631. type: string
  14632. countryid:
  14633. description: 国家
  14634. type: integer
  14635. countryname:
  14636. description: 国家名称
  14637. type: string
  14638. districtid:
  14639. description: 地区
  14640. type: integer
  14641. districtname:
  14642. description: 地区名称
  14643. type: string
  14644. fromuserid:
  14645. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14646. type: integer
  14647. fromusername:
  14648. description: 所属机构名称
  14649. type: string
  14650. provinceid:
  14651. description: 省
  14652. type: integer
  14653. provincename:
  14654. description: 省名称
  14655. type: string
  14656. suborgtype:
  14657. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14658. type: integer
  14659. userid:
  14660. description: 机构用户ID 其他做市关系,都设置为 1
  14661. type: integer
  14662. username:
  14663. description: 机构用户名称(门店门称)
  14664. type: string
  14665. type: object
  14666. models.QhjPickGoods:
  14667. properties:
  14668. enumdicname:
  14669. description: 单位名称(提货商品)
  14670. type: string
  14671. goodsid:
  14672. description: 商品id
  14673. type: integer
  14674. imageaddress:
  14675. description: 图片
  14676. type: string
  14677. modifierid:
  14678. description: 修改人
  14679. type: integer
  14680. modifiername:
  14681. description: 修改人名称
  14682. type: string
  14683. modifysrc:
  14684. description: 修改来源 - 1:管理端 2:终端
  14685. type: integer
  14686. pickupgoodsagreeunit:
  14687. description: 合约乘数
  14688. type: number
  14689. pickupgoodsdesc:
  14690. description: 描述
  14691. type: string
  14692. pickupgoodsid:
  14693. description: 提货商品ID
  14694. type: string
  14695. pickupgoodsname:
  14696. description: 提货商品名称
  14697. type: string
  14698. pickupgoodsstatus:
  14699. description: 状态 - 1:正常 2:停用 3:注销
  14700. type: integer
  14701. pickupgoodsunitid:
  14702. description: 单位ID
  14703. type: integer
  14704. pickupratio:
  14705. description: 提货系数
  14706. type: number
  14707. preparedays:
  14708. description: 备货期(天)
  14709. type: integer
  14710. remark:
  14711. description: 备注
  14712. type: string
  14713. updatetime:
  14714. description: 更新时间
  14715. type: string
  14716. type: object
  14717. models.QhjRSTriggerLog:
  14718. properties:
  14719. accountid:
  14720. description: 用户资金账户
  14721. type: integer
  14722. accountname:
  14723. description: 账号名称(ACCOUNTID对应的名称)
  14724. type: string
  14725. currencyid:
  14726. description: 币种id
  14727. type: integer
  14728. currencyname:
  14729. description: 币种名称
  14730. type: string
  14731. decimalplace:
  14732. description: 商品报价小数位
  14733. type: integer
  14734. enumdicname:
  14735. description: 单位名称
  14736. type: string
  14737. goodscode:
  14738. description: 定投商品代码
  14739. type: string
  14740. goodsid:
  14741. description: 定投商品ID
  14742. type: integer
  14743. goodsname:
  14744. description: 定投商品名称
  14745. type: string
  14746. goodunitid:
  14747. description: 定投商品单位id
  14748. type: integer
  14749. logid:
  14750. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14751. type: string
  14752. logincode:
  14753. description: 账号(登录代码)
  14754. type: string
  14755. qtydecimalplace:
  14756. description: 成交量小数位
  14757. type: integer
  14758. regularlycycle:
  14759. description: 定投频率 - 1:每周 2:每月
  14760. type: integer
  14761. regularlycyclevalue:
  14762. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14763. type: string
  14764. regularlymode:
  14765. description: 定投方式 - 1:按数量 2:按金额
  14766. type: integer
  14767. regularlymodevalue:
  14768. description: 定投方式值 - 数量或金额
  14769. type: number
  14770. regularlystrategyid:
  14771. description: 定投策略ID
  14772. type: integer
  14773. retcode:
  14774. description: 错误码
  14775. type: string
  14776. tradeid:
  14777. description: 成交单ID
  14778. type: string
  14779. triggeramount:
  14780. description: 触发金额
  14781. type: number
  14782. triggerqty:
  14783. description: 触发数量
  14784. type: number
  14785. triggerstatus:
  14786. description: 触发状态 - 1:成功 2:失败
  14787. type: integer
  14788. triggertime:
  14789. description: 触发时间
  14790. type: string
  14791. triggertradedate:
  14792. description: 触发交易日
  14793. type: string
  14794. userid:
  14795. description: 所属用户ID
  14796. type: integer
  14797. userinfotype:
  14798. description: 用户类型 1-个人 2-企业
  14799. type: integer
  14800. username:
  14801. description: 用户名称(userid对应的名称)
  14802. type: string
  14803. type: object
  14804. models.QhjRStrategy:
  14805. properties:
  14806. accountid:
  14807. description: 用户资金账户
  14808. type: integer
  14809. accountname:
  14810. description: 账号名称(ACCOUNTID对应的名称)
  14811. type: string
  14812. currencyid:
  14813. description: 币种id
  14814. type: integer
  14815. currencyname:
  14816. description: 币种名称
  14817. type: string
  14818. decimalplace:
  14819. description: 商品报价小数位
  14820. type: integer
  14821. enumdicname:
  14822. description: 单位名称
  14823. type: string
  14824. goodscode:
  14825. description: 定投商品代码
  14826. type: string
  14827. goodsid:
  14828. description: 定投商品ID
  14829. type: integer
  14830. goodsname:
  14831. description: 定投商品名称
  14832. type: string
  14833. goodunitid:
  14834. description: 定投商品单位id
  14835. type: integer
  14836. lasteffecttradedate:
  14837. description: 最新生效交易日
  14838. type: string
  14839. laststoptradedate:
  14840. description: 最新暂停交易日
  14841. type: string
  14842. lasttriggertradedate:
  14843. description: 最新触发交易日
  14844. type: string
  14845. logincode:
  14846. description: 账号(登录代码)
  14847. type: string
  14848. nexttriggeramount:
  14849. description: 下次触发金额
  14850. type: number
  14851. nexttriggerdate:
  14852. description: 下次触发日期
  14853. type: string
  14854. nexttriggerqty:
  14855. description: 下次触发数量 [按小数位放大值]
  14856. type: number
  14857. qtydecimalplace:
  14858. description: 成交量小数位
  14859. type: integer
  14860. regularlycycle:
  14861. description: 定投频率 - 1:每周 2:每月
  14862. type: integer
  14863. regularlycyclevalue:
  14864. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14865. type: string
  14866. regularlymode:
  14867. description: 定投方式 - 1:按数量 2:按金额
  14868. type: integer
  14869. regularlymodevalue:
  14870. description: 定投方式值 - 数量或金额
  14871. type: number
  14872. regularlystrategyid:
  14873. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14874. type: integer
  14875. regularlystrategystatus:
  14876. description: 策略状态 - 1:正常 2:暂停 3:终止
  14877. type: integer
  14878. remark:
  14879. description: 备注
  14880. type: string
  14881. triggersuccesstimes:
  14882. description: 累计定投成功次数
  14883. type: string
  14884. triggertotalamount:
  14885. description: 累计定投金额(成功)
  14886. type: number
  14887. triggertotalqty:
  14888. description: 累计定投数量(成功) [按小数位放大值]
  14889. type: number
  14890. triggertotaltimes:
  14891. description: 累计定投总次数
  14892. type: string
  14893. updatesrc:
  14894. description: 更新来源 - 1:管理端 2:终端
  14895. type: integer
  14896. updatetime:
  14897. description: 更新时间
  14898. type: string
  14899. updatorid:
  14900. description: 更新人
  14901. type: string
  14902. userid:
  14903. description: 所属用户ID
  14904. type: integer
  14905. userinfotype:
  14906. description: 用户类型 1-个人 2-企业
  14907. type: integer
  14908. username:
  14909. description: 用户名称(userid对应的名称)
  14910. type: string
  14911. type: object
  14912. models.QhjReckonPriceLog:
  14913. properties:
  14914. decimalplace:
  14915. description: 商品报价小数位
  14916. type: integer
  14917. goodscode:
  14918. description: 商品代码
  14919. type: string
  14920. goodsid:
  14921. description: 商品ID
  14922. type: integer
  14923. goodsname:
  14924. description: 商品名称
  14925. type: string
  14926. lastreckonprice:
  14927. description: 上日结算价
  14928. type: number
  14929. nextdnlimitprice:
  14930. description: 下个交易日跌停价
  14931. type: number
  14932. nexttrade:
  14933. description: 下个交易日
  14934. type: string
  14935. nextuplimitprice:
  14936. description: 下个交易日涨停价
  14937. type: number
  14938. reckonprice:
  14939. description: 今日结算价(定投价)
  14940. type: number
  14941. reckontime:
  14942. description: 结算时间
  14943. type: string
  14944. totalholderqty:
  14945. description: 总持仓数
  14946. type: integer
  14947. totalstock:
  14948. description: 总库存
  14949. type: integer
  14950. tradedate:
  14951. description: 交易日
  14952. type: string
  14953. updowncount:
  14954. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14955. type: integer
  14956. updownflag:
  14957. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14958. type: integer
  14959. updownrate:
  14960. description: 今日涨跌幅
  14961. type: number
  14962. updownrate_2d:
  14963. description: 连续两日涨跌幅
  14964. type: number
  14965. updownrate_3d:
  14966. description: 连续三日涨跌幅
  14967. type: number
  14968. type: object
  14969. models.QhjScoreLog:
  14970. properties:
  14971. accountid:
  14972. description: 账户ID
  14973. type: integer
  14974. createtime:
  14975. description: 创建时间(时间)
  14976. type: string
  14977. goodsid:
  14978. description: 商品ID
  14979. type: integer
  14980. hasuploaded:
  14981. description: 是否已同步(千海金) 0:未同步 1;已同步
  14982. type: integer
  14983. logid:
  14984. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14985. type: string
  14986. marketid:
  14987. description: 市场ID
  14988. type: integer
  14989. relatedamount:
  14990. description: 关联金额
  14991. type: number
  14992. relatedorderid:
  14993. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14994. type: string
  14995. scoreconfigvalue1:
  14996. description: 积分配置1
  14997. type: integer
  14998. scoreconfigvalue2:
  14999. description: 积分配置1
  15000. type: integer
  15001. scoretype:
  15002. description: 积分类型 - 1:提货积分
  15003. type: integer
  15004. scorevalue:
  15005. description: 积分
  15006. type: number
  15007. tradedate:
  15008. description: 交易日(yyyyMMdd)
  15009. type: string
  15010. uploadedtime:
  15011. description: 同步时间
  15012. type: string
  15013. userid:
  15014. description: 用户ID
  15015. type: integer
  15016. type: object
  15017. models.QhjSiteColumnDetail:
  15018. properties:
  15019. author:
  15020. description: 作者
  15021. type: string
  15022. brief:
  15023. description: 简介
  15024. type: string
  15025. columnid:
  15026. description: 所属栏目
  15027. type: integer
  15028. context:
  15029. description: 内容
  15030. type: string
  15031. coverimage:
  15032. description: 封面图片
  15033. type: string
  15034. creaedate:
  15035. description: 创建时间
  15036. type: string
  15037. creatorid:
  15038. description: 创建人
  15039. type: integer
  15040. hits:
  15041. description: 点击数
  15042. type: integer
  15043. id:
  15044. description: ID(SEQ_SITE_COLUMNDETAIL)
  15045. type: integer
  15046. isshow:
  15047. description: 是否展示 - 0:不展示 1:展示
  15048. type: integer
  15049. istop:
  15050. description: 是否置顶 - 0:不置 1:置顶
  15051. type: integer
  15052. modifierid:
  15053. description: 操作人
  15054. type: integer
  15055. publishdate:
  15056. description: 发布日期
  15057. type: string
  15058. status:
  15059. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15060. type: integer
  15061. title:
  15062. description: 标题
  15063. type: string
  15064. updatedate:
  15065. description: 修改时间
  15066. type: string
  15067. userid:
  15068. description: 用户ID(默认为0, 核心为为机构用户ID)
  15069. type: integer
  15070. username:
  15071. description: 用户名称
  15072. type: string
  15073. type: object
  15074. models.QhjTeamOrder:
  15075. properties:
  15076. accountid:
  15077. description: 账户ID[报价币种]
  15078. type: integer
  15079. accountname:
  15080. description: 账户名称
  15081. type: string
  15082. agreeunit:
  15083. description: 合约乘数
  15084. type: number
  15085. buyorsell:
  15086. description: 方向 - 0:买 1:卖
  15087. type: integer
  15088. decimalplace:
  15089. description: 报价小数位
  15090. type: integer
  15091. enumdicname:
  15092. description: 单位名称
  15093. type: string
  15094. goodscode:
  15095. description: 商品代码(内部)
  15096. type: string
  15097. goodsid:
  15098. description: 商品ID
  15099. type: integer
  15100. goodsname:
  15101. description: 商品名称
  15102. type: string
  15103. goodunitid:
  15104. description: 报价单位ID
  15105. type: integer
  15106. marketid:
  15107. description: 市场ID
  15108. type: integer
  15109. marketname:
  15110. description: 市场名称
  15111. type: string
  15112. qtydecimalplace:
  15113. description: 成交量小数位
  15114. type: integer
  15115. refereeuserid:
  15116. description: 推荐人ID
  15117. type: integer
  15118. tradeamount:
  15119. description: 成交金额[账户币种,用于所有权]
  15120. type: number
  15121. tradedate:
  15122. description: 交易日(yyyyMMdd)
  15123. type: string
  15124. trademode:
  15125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15126. 21:竞拍-大宗式 22:受托竞价
  15127. type: integer
  15128. tradeprice:
  15129. description: 成交价格
  15130. type: number
  15131. tradeqty:
  15132. description: 成交数量
  15133. type: number
  15134. tradetime:
  15135. description: 成交时间
  15136. type: string
  15137. userid:
  15138. description: 用户ID
  15139. type: integer
  15140. type: object
  15141. models.QhjTradeGoodsPickup:
  15142. properties:
  15143. accountid:
  15144. description: 账户ID
  15145. type: integer
  15146. address:
  15147. description: 提货人详细地址
  15148. type: string
  15149. amount:
  15150. description: 提货金额
  15151. type: number
  15152. artradedate:
  15153. description: 自动收货交易日(yyyyMMdd)
  15154. type: string
  15155. auditer:
  15156. description: 审核人
  15157. type: integer
  15158. auditsrc:
  15159. description: 更新来源 - 1:管理端 2:终端
  15160. type: integer
  15161. audittime:
  15162. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15163. type: string
  15164. audittradedate:
  15165. description: 审核交易日(yyyyMMdd)
  15166. type: string
  15167. cardnum:
  15168. description: 提货人证件号码
  15169. type: string
  15170. cardtypeid:
  15171. description: 提货人证件类型
  15172. type: integer
  15173. checkremark:
  15174. description: 审核备注
  15175. type: string
  15176. cityid:
  15177. description: 市
  15178. type: integer
  15179. cityname:
  15180. description: 城市名称
  15181. type: string
  15182. confirmtime:
  15183. description: 取货时间 或 收货时间
  15184. type: string
  15185. countryid:
  15186. description: 国家
  15187. type: integer
  15188. countryname:
  15189. description: 国家名称
  15190. type: string
  15191. decimalplace:
  15192. description: 商品报价小数位
  15193. type: integer
  15194. districtid:
  15195. description: 地区
  15196. type: integer
  15197. districtname:
  15198. description: 地区名称
  15199. type: string
  15200. enumdicname:
  15201. description: 单位名称(提货商品)
  15202. type: string
  15203. expresscompany:
  15204. description: 物流公司
  15205. type: string
  15206. expressnum:
  15207. description: 物流单号
  15208. type: string
  15209. goodsagreeunit:
  15210. description: 交易商品乘数
  15211. type: number
  15212. goodscode:
  15213. description: 商品代码
  15214. type: string
  15215. goodsid:
  15216. description: 商品ID
  15217. type: integer
  15218. goodsname:
  15219. description: 商品名称
  15220. type: string
  15221. goodsqty:
  15222. description: 交易商品手数(69模式按成交量小数位放大取整)
  15223. type: number
  15224. handlestatus:
  15225. description: 处理状态
  15226. type: integer
  15227. logincode:
  15228. description: 账号(登录代码, 有可能为空)
  15229. type: string
  15230. marketid:
  15231. description: 市场ID
  15232. type: integer
  15233. phonenum:
  15234. description: 提货人联系方式
  15235. type: string
  15236. pickupgoodsagreeunit:
  15237. description: 提货商品合约乘数
  15238. type: number
  15239. pickupgoodsid:
  15240. description: 提货商品ID
  15241. type: string
  15242. pickupgoodsname:
  15243. description: 提货商品名称
  15244. type: string
  15245. pickupgoodsqty:
  15246. description: 提货商品手数(数量)
  15247. type: number
  15248. pickupgoodsunitid:
  15249. description: 单位ID(提货商品)
  15250. type: integer
  15251. pickupratio:
  15252. description: 提货系数
  15253. type: number
  15254. preparedays:
  15255. description: 备货期(天)-提货单明细表
  15256. type: integer
  15257. provinceid:
  15258. description: 省
  15259. type: integer
  15260. provincename:
  15261. description: 省名称
  15262. type: string
  15263. qty:
  15264. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15265. type: number
  15266. qtydecimalplace:
  15267. description: 商品数量小数位
  15268. type: integer
  15269. recivername:
  15270. description: 提货人姓名
  15271. type: string
  15272. reqtime:
  15273. description: 提货申请时间
  15274. type: string
  15275. storeuserid:
  15276. description: 门店用户ID (千海金)
  15277. type: integer
  15278. storeusername:
  15279. description: 门店用户名称
  15280. type: string
  15281. takemode:
  15282. description: 提货方式 - 2:自提 3:配送(邮寄)
  15283. type: integer
  15284. takeorderid:
  15285. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15286. type: string
  15287. takeorderstatus:
  15288. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15289. 7:已拒绝 8:已撤销
  15290. type: integer
  15291. takeremark:
  15292. description: 提货备注
  15293. type: string
  15294. tradedate:
  15295. description: 交易日(yyyyMMdd)
  15296. type: string
  15297. updatetime:
  15298. description: 更新时间
  15299. type: string
  15300. userid:
  15301. description: 用户ID
  15302. type: integer
  15303. userinfotype:
  15304. description: 客户类型 1-个人 2-企业
  15305. type: integer
  15306. username:
  15307. description: 用户名称
  15308. type: string
  15309. type: object
  15310. models.QhjUserNodeCfgAndStatus:
  15311. properties:
  15312. agreementcontent:
  15313. description: 协议内容
  15314. type: string
  15315. agreementid:
  15316. description: 协议ID
  15317. type: integer
  15318. agreementname:
  15319. description: 协议名称
  15320. type: string
  15321. agreementno:
  15322. description: 协议编号
  15323. type: string
  15324. agreementtype:
  15325. description: 协议类型 - 1:注册 2:登录 3:交易
  15326. type: integer
  15327. agreementversion:
  15328. description: 协议版本号
  15329. type: integer
  15330. configid:
  15331. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15332. type: integer
  15333. createtime:
  15334. description: 创建时间
  15335. type: string
  15336. goodsid:
  15337. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15338. type: integer
  15339. nodetype:
  15340. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15341. type: integer
  15342. signtimestamp:
  15343. description: 签约状态时间戳(最近一次)
  15344. type: string
  15345. tradedate:
  15346. description: 签约交易日(yyyyMMdd)
  15347. type: string
  15348. userid:
  15349. description: 客户ID
  15350. type: integer
  15351. type: object
  15352. models.Qhjgoodsex:
  15353. properties:
  15354. canfinance:
  15355. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15356. type: integer
  15357. canregularlybuy:
  15358. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15359. type: integer
  15360. defaulttradeuserid:
  15361. description: 默认交易用户ID
  15362. type: integer
  15363. deliverygoodsid:
  15364. description: 现货品种ID
  15365. type: integer
  15366. goodsid:
  15367. description: 商品ID(自增ID SEQ_GOODS)
  15368. type: integer
  15369. minamount:
  15370. description: 最小购买金额
  15371. type: number
  15372. regularlybuyminamount:
  15373. description: 定投最小金额
  15374. type: number
  15375. regularlybuyminqty:
  15376. description: 定投最小数量
  15377. type: number
  15378. spotgoodsbrandid:
  15379. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15380. type: integer
  15381. visibilityforenterprise:
  15382. description: 企业客户是否可见 - 0:不可见 1:可见
  15383. type: integer
  15384. visibilityforpersonal:
  15385. description: 个人客户是否可见 - 0:不可见 1:可见
  15386. type: integer
  15387. wrstandardid:
  15388. description: 现货商品ID
  15389. type: integer
  15390. type: object
  15391. models.QueryErrorInfosRsp:
  15392. properties:
  15393. description:
  15394. description: 异常描述
  15395. type: string
  15396. errorcode:
  15397. description: 异常代码
  15398. type: string
  15399. errorid:
  15400. description: 异常ID
  15401. type: integer
  15402. modulecode:
  15403. description: 所属模块
  15404. type: string
  15405. operatecode:
  15406. description: 所属操作
  15407. type: string
  15408. rownumber:
  15409. description: 行号
  15410. type: string
  15411. required:
  15412. - errorid
  15413. type: object
  15414. models.QueryHedgeOrderDetailRsp:
  15415. properties:
  15416. accountid:
  15417. description: 账户ID
  15418. type: integer
  15419. buyorsell:
  15420. description: 买卖 - 0:买 1:卖
  15421. type: integer
  15422. cancellogincode:
  15423. description: 撤单人
  15424. type: string
  15425. channelbuildtype:
  15426. description: 开平标志 - 0:无 1:建仓 2:平仓
  15427. type: integer
  15428. channelinnerorderstatus:
  15429. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15430. 9:全部成交
  15431. type: integer
  15432. channeloperatetype:
  15433. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15434. type: integer
  15435. closetype:
  15436. description: 平仓方式 - 0:无 1:平今 2:平昨
  15437. type: integer
  15438. curexchangerate:
  15439. description: 当前汇率
  15440. type: number
  15441. decimalplace:
  15442. description: 商品报价小数位
  15443. type: integer
  15444. exchangefullname:
  15445. description: 外部交易所全称
  15446. type: string
  15447. goodscode:
  15448. description: 商品代码(内部)
  15449. type: string
  15450. goodsid:
  15451. description: 商品ID
  15452. type: integer
  15453. goodsname:
  15454. description: 商品名称
  15455. type: string
  15456. marketid:
  15457. description: 市场ID
  15458. type: integer
  15459. openfreezemargin:
  15460. description: 冻结保证金(冻结交易金额)
  15461. type: number
  15462. orderid:
  15463. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15464. type: string
  15465. orderlogincode:
  15466. description: 委托人
  15467. type: string
  15468. orderprice:
  15469. description: 委托价格(账户)
  15470. type: number
  15471. orderqty:
  15472. description: 委托数量
  15473. type: integer
  15474. ordertime:
  15475. description: 委托时间
  15476. type: string
  15477. pricemode:
  15478. description: '取价方式 - 1:市价 2: 限价'
  15479. type: integer
  15480. tradedate:
  15481. description: 交易日(yyyyMMdd)
  15482. type: string
  15483. tradeqty:
  15484. description: 成交数量
  15485. type: integer
  15486. type: object
  15487. models.QueryHedgeTradeDetailRsp:
  15488. properties:
  15489. accountid:
  15490. description: 账号ID
  15491. type: integer
  15492. buyorsell:
  15493. description: 方向 - 0:买 1:卖
  15494. type: integer
  15495. channelbuildtype:
  15496. description: 委托单据类型 0:无 1:建仓 2:平仓
  15497. type: integer
  15498. closecharge:
  15499. description: 平仓手续费(账户)
  15500. type: number
  15501. closecharge2:
  15502. description: 平仓手续费(商品)
  15503. type: number
  15504. closepl:
  15505. description: 平仓盈亏(账户)
  15506. type: number
  15507. closepl2:
  15508. description: 平仓盈亏(商品)
  15509. type: number
  15510. closepl3:
  15511. description: 平仓盈亏(账户)(逐笔)
  15512. type: number
  15513. closepl4:
  15514. description: 平仓盈亏(商品)(逐笔)
  15515. type: number
  15516. closetype:
  15517. description: 平仓方式 - 0:无 1:平今 2:平昨
  15518. type: integer
  15519. curexchangerate:
  15520. description: 当前汇率
  15521. type: number
  15522. decimalplace:
  15523. description: 商品报价小数位
  15524. type: integer
  15525. exchangefullname:
  15526. description: 外部交易所全称
  15527. type: string
  15528. goodscode:
  15529. description: 商品代码(内部)
  15530. type: string
  15531. goodsid:
  15532. description: 商品ID
  15533. type: integer
  15534. goodsname:
  15535. description: 商品名称
  15536. type: string
  15537. marketid:
  15538. description: 市场ID
  15539. type: integer
  15540. opencharge:
  15541. description: 建仓手续费(账户)
  15542. type: number
  15543. opencharge2:
  15544. description: 建仓手续费(商品)
  15545. type: number
  15546. orderid:
  15547. description: 委托单号
  15548. type: string
  15549. orderlogincode:
  15550. description: 委托人
  15551. type: string
  15552. tradeamount:
  15553. description: 成交金额(账户)
  15554. type: number
  15555. tradedate:
  15556. description: 交易日(yyyyMMdd)
  15557. type: string
  15558. tradeid:
  15559. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15560. type: string
  15561. tradeprice:
  15562. description: 成交价格
  15563. type: number
  15564. tradeqty:
  15565. description: 成交数量
  15566. type: integer
  15567. tradetime:
  15568. description: 成交时间
  15569. type: string
  15570. tradetype:
  15571. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15572. type: integer
  15573. type: object
  15574. models.QuotePrimaryMenu:
  15575. properties:
  15576. Index:
  15577. description: 序号
  15578. type: integer
  15579. Key:
  15580. description: 键名
  15581. type: string
  15582. Name:
  15583. description: 菜单名称
  15584. type: string
  15585. SubMenus:
  15586. description: 子菜单
  15587. items:
  15588. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15589. type: array
  15590. SubTitleType:
  15591. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15592. type: integer
  15593. TradeModes:
  15594. description: 包含市场交易类型
  15595. type: string
  15596. type: object
  15597. models.QuoteSecondaryMenu:
  15598. properties:
  15599. ExExchangeCode:
  15600. description: 外部交易所代码
  15601. type: string
  15602. ExExchangeID:
  15603. description: 外部交易所ID
  15604. type: integer
  15605. GoodsGroupIDs:
  15606. description: 商品组ID列表
  15607. items:
  15608. type: integer
  15609. type: array
  15610. Index:
  15611. description: 序号
  15612. type: integer
  15613. MarketID:
  15614. description: 市场ID
  15615. type: integer
  15616. MenuTitle:
  15617. description: 菜单标题(市场名称或外部交易所名称)
  15618. type: string
  15619. TradeMode:
  15620. description: 交易模式
  15621. type: integer
  15622. type: object
  15623. models.RelatedTaAccount:
  15624. properties:
  15625. accountid:
  15626. description: 资金账户ID
  15627. type: integer
  15628. type: object
  15629. models.RoleMenu:
  15630. properties:
  15631. hasright:
  15632. description: 是否有权限 0-没有权限 1-有权限
  15633. type: integer
  15634. iconame:
  15635. description: 菜单图标
  15636. type: string
  15637. menutype:
  15638. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15639. type: integer
  15640. parentcode:
  15641. description: 上级资源代码
  15642. type: string
  15643. remark:
  15644. description: 菜单备注
  15645. type: string
  15646. resourcecode:
  15647. description: 菜单代码
  15648. type: string
  15649. resourcelevel:
  15650. description: 级别
  15651. type: integer
  15652. resourcename:
  15653. description: 菜单名称
  15654. type: string
  15655. roleid:
  15656. description: 角色id
  15657. type: integer
  15658. sort:
  15659. description: 排序
  15660. type: integer
  15661. subMenu:
  15662. description: 子级菜单(结构同上层一样, swag解析不出来)
  15663. items:
  15664. $ref: '#/definitions/models.RoleMenu'
  15665. type: array
  15666. url:
  15667. description: URL
  15668. type: string
  15669. userid:
  15670. description: 用户id
  15671. type: integer
  15672. type: object
  15673. models.SearchGoods:
  15674. properties:
  15675. goodscode:
  15676. description: 商品代码(内部)
  15677. type: string
  15678. goodsid:
  15679. description: 商品ID(自增ID SEQ_GOODS)
  15680. type: integer
  15681. goodsname:
  15682. description: 商品名称
  15683. type: string
  15684. marketid:
  15685. description: 所属市场ID
  15686. type: integer
  15687. marketname:
  15688. description: 市场名称
  15689. type: string
  15690. trademode:
  15691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15692. 21:竞拍-大宗式 22:受托竞价
  15693. type: integer
  15694. required:
  15695. - goodscode
  15696. - goodsid
  15697. - goodsname
  15698. - marketid
  15699. - trademode
  15700. type: object
  15701. models.SellOrder:
  15702. properties:
  15703. accountid:
  15704. description: 资金账号
  15705. type: integer
  15706. applyid:
  15707. description: 申请单ID
  15708. type: integer
  15709. attachment1:
  15710. description: 附件1
  15711. type: string
  15712. attachment2:
  15713. description: 附件2
  15714. type: string
  15715. buyorsell:
  15716. description: 买卖 - 0:买 1:卖
  15717. type: integer
  15718. canbargain:
  15719. description: 是否可议价 - 0:不可 1:可
  15720. type: integer
  15721. cancelqty:
  15722. description: 撤销数量
  15723. type: integer
  15724. canceltime:
  15725. description: 撤销时间
  15726. type: string
  15727. chargealgorithm:
  15728. description: 手续费收取方式 1:比率 2:固定
  15729. type: integer
  15730. chargealgorithmvalue:
  15731. description: 手续费设置值(交易所部分)
  15732. type: number
  15733. chargealgorithmvalue2:
  15734. description: 手续费设置值(会员部分)
  15735. type: number
  15736. clientordertime:
  15737. description: 客户端委托时间
  15738. type: string
  15739. exchangerate:
  15740. description: 汇率[67]
  15741. type: number
  15742. firstratio:
  15743. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15744. type: number
  15745. fixedprice:
  15746. description: 固定价格 - [挂牌]
  15747. type: number
  15748. freezecharge:
  15749. description: 冻结手续费
  15750. type: number
  15751. freezefirstamount:
  15752. description: 冻结首付金额 - [摘牌]
  15753. type: number
  15754. freezemargin:
  15755. description: 冻结保证金
  15756. type: number
  15757. goodsno:
  15758. description: 商品编号
  15759. type: string
  15760. isQueryDiamond:
  15761. description: 是否钻石查询
  15762. type: boolean
  15763. isspecified:
  15764. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15765. type: integer
  15766. marginalgorithm:
  15767. description: 保证金方式 - 1:比率 2:固定
  15768. type: integer
  15769. marginvalue:
  15770. description: 保证金设置值
  15771. type: number
  15772. marketid:
  15773. description: 市场ID
  15774. type: integer
  15775. orderamount:
  15776. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15777. type: number
  15778. orderqty:
  15779. description: 委托数量
  15780. type: integer
  15781. ordertime:
  15782. description: 委托时间
  15783. type: string
  15784. performancetemplateid:
  15785. description: 履约计划模板ID
  15786. type: integer
  15787. pricefactor:
  15788. description: 价格系数(浮动价时填写) - [挂牌]
  15789. type: number
  15790. pricemove:
  15791. description: 升贴水(浮动价时填写) - [挂牌]
  15792. type: number
  15793. relatedwrtradeorderid:
  15794. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15795. type: integer
  15796. retcode:
  15797. description: 错误代码
  15798. type: integer
  15799. sellusername:
  15800. description: 卖方(查询字段-模糊查询)
  15801. type: string
  15802. tradedate:
  15803. description: 交易日(yyyyMMdd)
  15804. type: string
  15805. tradeprice:
  15806. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15807. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15808. type: number
  15809. tradeqty:
  15810. description: 成交数量
  15811. type: integer
  15812. unfreezecharge:
  15813. description: 解冻手续费
  15814. type: number
  15815. unfreezefirstamount:
  15816. description: 解冻首付金额 - [摘牌]
  15817. type: number
  15818. unfreezemargin:
  15819. description: 解冻保证金
  15820. type: number
  15821. userid:
  15822. description: 用户ID
  15823. type: integer
  15824. uuid:
  15825. description: 发起端唯一id
  15826. type: string
  15827. validtime:
  15828. description: 有效期限
  15829. type: string
  15830. validtype:
  15831. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15832. type: integer
  15833. wrbargainid:
  15834. description: 议价申请单ID
  15835. type: integer
  15836. wrfactortypeid:
  15837. description: 仓单要素类型ID/商品ID(77)
  15838. type: integer
  15839. wrpricetype:
  15840. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15841. type: integer
  15842. wrstandardid:
  15843. description: 现货商品ID
  15844. type: integer
  15845. wrtradeorderid:
  15846. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15847. type: integer
  15848. wrtradeorderstatus:
  15849. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败
  15850. type: integer
  15851. wrtradetype:
  15852. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15853. type: integer
  15854. wrtransferuserid:
  15855. description: 仓单受让用户 - [摘牌]
  15856. type: integer
  15857. zscategory:
  15858. description: 钻石分类 - 枚举”ZSCategory“
  15859. type: integer
  15860. zscurrencytype:
  15861. description: 货币类型 - 枚举“ZSCurrencyType”
  15862. type: integer
  15863. type: object
  15864. models.SellOrderQueryReq:
  15865. properties:
  15866. origin:
  15867. description: 原产地
  15868. type: string
  15869. page:
  15870. description: 页码
  15871. type: integer
  15872. pagesize:
  15873. description: 每页大小
  15874. type: integer
  15875. total:
  15876. description: 总条数
  15877. type: integer
  15878. warehouseid:
  15879. description: 仓库ID
  15880. type: integer
  15881. weight1:
  15882. description: 总重量(克拉重量)-从
  15883. type: number
  15884. weight2:
  15885. description: 总重量(克拉重量)-至
  15886. type: number
  15887. weightavg1:
  15888. description: 平均单颗重量-从
  15889. type: number
  15890. weightavg2:
  15891. description: 平均单颗重量-至
  15892. type: number
  15893. zscategory:
  15894. description: 钻石分类 - 枚举”ZSCategory“
  15895. type: integer
  15896. zscerttype:
  15897. description: 证书类型
  15898. items:
  15899. type: string
  15900. type: array
  15901. zsclaritytype:
  15902. description: 净度
  15903. items:
  15904. type: integer
  15905. type: array
  15906. zscolortype:
  15907. description: 颜色
  15908. items:
  15909. type: integer
  15910. type: array
  15911. zscurrencytype:
  15912. description: 货币类型 - 枚举“ZSCurrencyType”
  15913. items:
  15914. type: string
  15915. type: array
  15916. zscuttype:
  15917. description: 切工
  15918. items:
  15919. type: integer
  15920. type: array
  15921. zsczcolor1type:
  15922. description: 彩钻颜色1
  15923. items:
  15924. type: string
  15925. type: array
  15926. zsfluorescencetype:
  15927. description: 荧光
  15928. items:
  15929. type: integer
  15930. type: array
  15931. zspolishtype:
  15932. description: 抛光度
  15933. items:
  15934. type: integer
  15935. type: array
  15936. zsshapetype:
  15937. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15938. items:
  15939. type: string
  15940. type: array
  15941. zsstyletype:
  15942. description: 款式
  15943. items:
  15944. type: string
  15945. type: array
  15946. zssymmetrytype:
  15947. description: 对称度
  15948. items:
  15949. type: integer
  15950. type: array
  15951. required:
  15952. - zscategory
  15953. type: object
  15954. models.Systemparam:
  15955. properties:
  15956. loginid:
  15957. description: 更新用户账号,登录账号
  15958. type: string
  15959. modifyflag:
  15960. description: 修改标志0 不允许修改 1 允许修改
  15961. type: integer
  15962. paramcode:
  15963. description: 参数代码
  15964. type: string
  15965. paramname:
  15966. description: 参数名
  15967. type: string
  15968. paramtype:
  15969. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15970. type: integer
  15971. paramvalue:
  15972. description: 参数值
  15973. type: string
  15974. paramvalue2:
  15975. description: 参数值(CLOB)
  15976. type: string
  15977. regexpress:
  15978. description: 正则表达式
  15979. type: string
  15980. remark:
  15981. description: 备注
  15982. type: string
  15983. serverip:
  15984. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15985. type: string
  15986. showflag:
  15987. description: 是否显示0 不显示 1 显示
  15988. type: integer
  15989. updatetime:
  15990. description: 更新时间
  15991. type: string
  15992. userid:
  15993. description: 更新用户ID
  15994. type: integer
  15995. required:
  15996. - paramcode
  15997. type: object
  15998. models.Szdz3convertconfig:
  15999. properties:
  16000. canin:
  16001. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16002. type: integer
  16003. canout:
  16004. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16005. type: integer
  16006. converttype:
  16007. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16008. 6:交易转花生米(不设置)
  16009. type: integer
  16010. createtime:
  16011. description: 创建时间
  16012. type: string
  16013. creatorid:
  16014. description: 创建人
  16015. type: integer
  16016. daymaxvalue:
  16017. description: 当日最大转入限制
  16018. type: number
  16019. freezedays:
  16020. description: 冻结天数 [5:花生米转交易]
  16021. type: integer
  16022. innergoodsid:
  16023. description: 内部商品ID[交易]
  16024. type: integer
  16025. inratio:
  16026. description: 目标值
  16027. type: integer
  16028. modifierid:
  16029. description: 修改人
  16030. type: integer
  16031. modifytime:
  16032. description: 修改时间
  16033. type: string
  16034. outergoodscode:
  16035. description: 外部商品代码[JD\PD]
  16036. type: string
  16037. outratio:
  16038. description: 源值
  16039. type: integer
  16040. pddecimalplace:
  16041. description: PD小数位
  16042. type: integer
  16043. timemaxvalue:
  16044. description: 单次最大转入限制
  16045. type: number
  16046. timeminvalue:
  16047. description: 单次最小转入限制
  16048. type: number
  16049. required:
  16050. - converttype
  16051. - innergoodsid
  16052. - outergoodscode
  16053. type: object
  16054. models.Szdz3searchwhitelist:
  16055. properties:
  16056. createtime:
  16057. description: 创建时间
  16058. type: string
  16059. creatorid:
  16060. description: 创建人
  16061. type: integer
  16062. modifierid:
  16063. description: 修改人
  16064. type: integer
  16065. modifytime:
  16066. description: 修改时间
  16067. type: string
  16068. userid:
  16069. description: 用户ID
  16070. type: integer
  16071. required:
  16072. - userid
  16073. type: object
  16074. models.TBGoods:
  16075. properties:
  16076. agreeunit:
  16077. description: 合约乘数
  16078. type: number
  16079. enumdicname:
  16080. description: 单位名称
  16081. type: string
  16082. goodscode:
  16083. description: 商品代码(内部)
  16084. type: string
  16085. goodsid:
  16086. description: 商品ID(自增ID SEQ_GOODS)
  16087. type: integer
  16088. goodsname:
  16089. description: 商品名称
  16090. type: string
  16091. type: object
  16092. models.TBGoodsGroup:
  16093. properties:
  16094. GDLST:
  16095. description: 商品列表
  16096. items:
  16097. $ref: '#/definitions/models.TBGoods'
  16098. type: array
  16099. convertratio:
  16100. description: 折算系数
  16101. type: number
  16102. enumdicname:
  16103. description: 单位名称
  16104. type: string
  16105. exexchangecode:
  16106. description: 交易所代码
  16107. type: string
  16108. exexchangename:
  16109. description: 交易所名称
  16110. type: string
  16111. goodsgroupid:
  16112. description: 商品组ID(自增ID)
  16113. type: integer
  16114. goodsgroupname:
  16115. description: 商品组名称
  16116. type: string
  16117. goodunitid:
  16118. description: 报价单位ID
  16119. type: integer
  16120. type: object
  16121. models.TBMiddleGoods:
  16122. properties:
  16123. GPLST:
  16124. description: 期货品种列表
  16125. items:
  16126. $ref: '#/definitions/models.TBGoodsGroup'
  16127. type: array
  16128. WDLST:
  16129. description: 商品信息列表(现货品类)
  16130. items:
  16131. $ref: '#/definitions/models.TBWrstandard'
  16132. type: array
  16133. areauserid:
  16134. description: 机构用户ID
  16135. type: integer
  16136. enumdicname:
  16137. description: 单位名称
  16138. type: string
  16139. goodsunitid:
  16140. description: 套保品种单位id
  16141. type: integer
  16142. middlegoodscode:
  16143. description: 套保品种代码
  16144. type: string
  16145. middlegoodsid:
  16146. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16147. type: integer
  16148. middlegoodsname:
  16149. description: 套保品种名称
  16150. type: string
  16151. needarbitrageratio:
  16152. description: 套利比率
  16153. type: number
  16154. needhedgeratio:
  16155. description: 套保比率
  16156. type: number
  16157. type: object
  16158. models.TBWrstandard:
  16159. properties:
  16160. convertratio:
  16161. description: 折算系数
  16162. type: number
  16163. deliverygoodsname:
  16164. description: 品种名称
  16165. type: string
  16166. enumdicname:
  16167. description: 单位名称
  16168. type: string
  16169. vatrate:
  16170. description: 增值税率
  16171. type: number
  16172. wrstandardcode:
  16173. description: 现货商品代码
  16174. type: string
  16175. wrstandardid:
  16176. description: 现货商品ID(SEQ_WRSTANDARD)
  16177. type: integer
  16178. wrstandardname:
  16179. description: 现货商品名称
  16180. type: string
  16181. type: object
  16182. models.Taaccount:
  16183. properties:
  16184. accountflag:
  16185. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16186. type: integer
  16187. accountid:
  16188. description: 资金账户ID
  16189. type: integer
  16190. accountname:
  16191. description: 账户名称
  16192. type: string
  16193. balance:
  16194. description: 期初余额
  16195. type: number
  16196. capitalbalance:
  16197. description: 本金余额[外部子账户实际出入金余额]
  16198. type: number
  16199. changeflag:
  16200. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16201. type: integer
  16202. changetime:
  16203. description: 账户状态变更时间
  16204. type: string
  16205. closepl:
  16206. description: 今日平仓盈亏
  16207. type: number
  16208. creditdecrease:
  16209. description: 今日授信减少
  16210. type: number
  16211. creditincrease:
  16212. description: 今日授信增加
  16213. type: number
  16214. curamount:
  16215. description: 总市值(从持仓中统计)
  16216. type: number
  16217. currencyid:
  16218. description: 货币ID
  16219. type: integer
  16220. currentbalance:
  16221. description: 期末余额
  16222. type: number
  16223. freezecharge:
  16224. description: 手续费冻结
  16225. type: number
  16226. freezemargin:
  16227. description: 冻结保证金
  16228. type: number
  16229. fromaccountid:
  16230. description: 所属上级账户
  16231. type: integer
  16232. inamount:
  16233. description: 今日入金金额(包括三方入金)
  16234. type: number
  16235. ismain:
  16236. description: 是否母账号 0:不是母账户 1:是母账户
  16237. type: integer
  16238. ismarketaccount:
  16239. description: 是否机构接单账号 0:不是 1:是
  16240. type: integer
  16241. isreckonaccount:
  16242. description: 是否机构分润账号 0:不是 1:是
  16243. type: integer
  16244. mortgagecredit:
  16245. description: 授信金额
  16246. type: number
  16247. orifreezecharge:
  16248. description: 期初手续费冻结
  16249. type: number
  16250. orifreezemargin:
  16251. description: 期初冻结保证金
  16252. type: number
  16253. orimortgagecredit:
  16254. description: 期初授信金额
  16255. type: number
  16256. oriothercredit:
  16257. description: 期初其它授信金额
  16258. type: number
  16259. oriotherfreezemargin:
  16260. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16261. type: number
  16262. orioutamountfreeze:
  16263. description: 期初出金冻结
  16264. type: number
  16265. oriusedmargin:
  16266. description: 期初占用保证金
  16267. type: number
  16268. othercredit:
  16269. description: 其它授信金额
  16270. type: number
  16271. othercreditdecrease:
  16272. description: 今日其它授信减少
  16273. type: number
  16274. othercreditincrease:
  16275. description: 今日其它授信增加
  16276. type: number
  16277. otherfreezemargin:
  16278. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16279. type: number
  16280. otherincome:
  16281. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16282. type: number
  16283. otherpay:
  16284. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16285. type: number
  16286. outamount:
  16287. description: 今日出金金额(包括三方出金)
  16288. type: number
  16289. outamountfreeze:
  16290. description: 出金冻结
  16291. type: number
  16292. outthreshold:
  16293. description: 出金阈值
  16294. type: number
  16295. parentaccountid:
  16296. description: 所属根账号
  16297. type: integer
  16298. paycharge:
  16299. description: 今日手续费支出
  16300. type: number
  16301. relatedaccountstatus:
  16302. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16303. type: integer
  16304. relateduserid:
  16305. description: 关联用户
  16306. type: integer
  16307. remainamount:
  16308. description: 融资额(从融资合同中统计)
  16309. type: number
  16310. serivcegroup:
  16311. description: 服务分组
  16312. type: integer
  16313. signstatus:
  16314. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16315. type: integer
  16316. sublevelpath:
  16317. description: 账号层级路径(逗号分隔,首尾加逗号)
  16318. type: string
  16319. taaccounttype:
  16320. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16321. type: integer
  16322. thirdinamount:
  16323. description: 今日三方入金
  16324. type: number
  16325. thirdoutamount:
  16326. description: 今日三方出金
  16327. type: number
  16328. tradestatus:
  16329. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16330. type: integer
  16331. tradestatuschangetime:
  16332. description: 激活时间
  16333. type: string
  16334. transferamount:
  16335. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16336. type: number
  16337. usedmargin:
  16338. description: 占用保证金
  16339. type: number
  16340. userid:
  16341. description: 用户ID
  16342. type: integer
  16343. required:
  16344. - accountid
  16345. - userid
  16346. type: object
  16347. models.Tablecolumnconfig:
  16348. properties:
  16349. aligntype:
  16350. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16351. type: integer
  16352. autoid:
  16353. description: AutoID
  16354. type: integer
  16355. columnfield:
  16356. description: 列字段
  16357. type: string
  16358. columntitle:
  16359. description: 列Title
  16360. type: string
  16361. columnwidth:
  16362. description: 列宽
  16363. type: string
  16364. fixed:
  16365. description: 固定类型 - 空 | left | right
  16366. type: string
  16367. formatterstring:
  16368. description: 格式化字符
  16369. type: string
  16370. formattertype:
  16371. description: 格式化类型
  16372. type: string
  16373. groupname:
  16374. description: 表头分组名称
  16375. type: string
  16376. ismerge:
  16377. description: 是否合并显示 - 0:不合并 1:合并
  16378. type: integer
  16379. isshow:
  16380. description: 是否显示 - 0:不显示 1:显示
  16381. type: integer
  16382. needsummary:
  16383. description: 是否需要汇总 - 0:不需要 1:需要
  16384. type: integer
  16385. orderindex:
  16386. description: 顺序
  16387. type: integer
  16388. remark:
  16389. description: 备注
  16390. type: string
  16391. summarytype:
  16392. description: 汇总类型 - 1:加总 2:最后一个
  16393. type: integer
  16394. tablekey:
  16395. description: 列表Key
  16396. type: string
  16397. required:
  16398. - autoid
  16399. type: object
  16400. models.TjmdHolderDetailTradeInfo:
  16401. properties:
  16402. agreeunit:
  16403. description: 合约乘数
  16404. type: number
  16405. buyaccountid:
  16406. description: 买方账户
  16407. type: string
  16408. buyusername:
  16409. description: 买方
  16410. type: string
  16411. delistingdate:
  16412. description: 最后结算日
  16413. type: string
  16414. expiredate:
  16415. description: 到期结算价定价日
  16416. type: string
  16417. exprieprice:
  16418. description: 到期清算价格
  16419. type: string
  16420. goodscode:
  16421. description: 商品代码
  16422. type: string
  16423. goodsid:
  16424. description: 商品ID
  16425. type: integer
  16426. goodsname:
  16427. description: 商品名称(交易标的)
  16428. type: string
  16429. lasttradedate:
  16430. description: 最后交易日
  16431. type: string
  16432. listingdate:
  16433. description: 开始交易日
  16434. type: string
  16435. openprice:
  16436. description: 成交价
  16437. type: number
  16438. openqty:
  16439. description: 交易数量
  16440. type: integer
  16441. sellaccountid:
  16442. description: 卖方账户
  16443. type: string
  16444. sellusername:
  16445. description: 卖方
  16446. type: string
  16447. tradeamount:
  16448. description: 初始名义价值
  16449. type: number
  16450. tradedate:
  16451. description: 成交日期
  16452. type: string
  16453. tradeid:
  16454. description: 成交编号
  16455. type: string
  16456. type: object
  16457. models.TjmdMarketSection:
  16458. properties:
  16459. marketsectionid:
  16460. description: 市场版块ID(SEQ_MARKETSECTION)
  16461. type: integer
  16462. marketsectionname:
  16463. description: 市场版块名称
  16464. type: string
  16465. mlist:
  16466. description: 市场列表(板块下面有多少个市场)
  16467. items:
  16468. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16469. type: array
  16470. orderindex:
  16471. description: 排序
  16472. type: integer
  16473. pictureurl:
  16474. description: 图片url, 规格(90*90)
  16475. type: string
  16476. remark:
  16477. description: 备注
  16478. type: string
  16479. type: object
  16480. models.TjmdMarketSectionConfig:
  16481. properties:
  16482. auctionwrtype:
  16483. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16484. type: integer
  16485. canacceptquote:
  16486. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16487. type: integer
  16488. cangoodsexercise:
  16489. description: '[期权]是否可现货行权- 0:否 1:是'
  16490. type: integer
  16491. cangoodsexercisetype:
  16492. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16493. type: integer
  16494. canmanualquotestrike:
  16495. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16496. type: integer
  16497. canmutistage:
  16498. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16499. type: integer
  16500. canpreexercise:
  16501. description: '[期权]是否可预申报- 0:否 1:是'
  16502. type: integer
  16503. clearinterval:
  16504. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16505. type: integer
  16506. contracttmp:
  16507. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16508. type: string
  16509. exchareaid:
  16510. description: 所属交易所,可以没有
  16511. type: integer
  16512. financemarketid:
  16513. description: 融资回购市场ID [仓单贸易]
  16514. type: integer
  16515. goodstype:
  16516. description: 商品类型 - 1:交易商品 2:仓单商品
  16517. type: integer
  16518. hasrebate:
  16519. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16520. type: integer
  16521. hastradecredit:
  16522. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16523. type: integer
  16524. haswr:
  16525. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16526. type: integer
  16527. isdeductmargin:
  16528. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16529. type: integer
  16530. isrecordsource:
  16531. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16532. type: integer
  16533. isreleasemargin:
  16534. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16535. type: integer
  16536. isupdatereckonprice:
  16537. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16538. type: integer
  16539. listingmode:
  16540. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16541. type: integer
  16542. marginformula:
  16543. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16544. type: integer
  16545. marginformula2:
  16546. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16547. type: integer
  16548. marketid:
  16549. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16550. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16551. type: integer
  16552. marketname:
  16553. description: 市场名称
  16554. type: string
  16555. marketsectionid:
  16556. description: 市场版块ID(SEQ_MARKETSECTION)
  16557. type: integer
  16558. marketserviceid:
  16559. description: 市场服务ID
  16560. type: integer
  16561. marketstatus:
  16562. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16563. type: integer
  16564. markettype:
  16565. description: 市场类型- 1:非交易服务 2:交易服务
  16566. type: integer
  16567. matchermode:
  16568. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16569. type: integer
  16570. nowrquotaflag:
  16571. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16572. type: integer
  16573. openmethod:
  16574. description: 开盘模式 - 0 自动 1手动
  16575. type: integer
  16576. orderindex:
  16577. description: 排序
  16578. type: integer
  16579. otcuserid:
  16580. description: 场外期权做市商[场外期权]
  16581. type: integer
  16582. outersynctime:
  16583. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16584. type: string
  16585. paylaterflag:
  16586. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16587. type: integer
  16588. pendingflag:
  16589. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16590. type: integer
  16591. pendingtime:
  16592. description: 待开市时间[通道交易-对冲](HH:mm)
  16593. type: string
  16594. performancetempid:
  16595. description: 履约计划模板ID - 作废
  16596. type: integer
  16597. premiumquotemode:
  16598. description: 权利金报价方式 - 1:自动 2:手动
  16599. type: integer
  16600. rebateratio:
  16601. description: 返利比率[竞价式]
  16602. type: number
  16603. reckonorder:
  16604. description: 结算顺序
  16605. type: integer
  16606. reckonpricealgorithm:
  16607. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16608. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16609. type: integer
  16610. reckonpriceparam:
  16611. description: 结算价参数
  16612. type: integer
  16613. reckontime:
  16614. description: 结算时间[通道交易-对冲](HH:mm)
  16615. type: string
  16616. roleprioritytype:
  16617. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16618. type: integer
  16619. selllistingauditflag:
  16620. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16621. type: integer
  16622. trademarkettype:
  16623. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16624. type: integer
  16625. trademode:
  16626. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16627. 21:竞拍-大宗式 22:受托竞价
  16628. type: integer
  16629. tradeproperty:
  16630. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16631. 8:场外期权
  16632. type: integer
  16633. tradetype:
  16634. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16635. type: integer
  16636. updatereckonpriceinterval:
  16637. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16638. type: integer
  16639. type: object
  16640. models.TjmdQuoteGoods:
  16641. properties:
  16642. buyqty:
  16643. description: 买量(暂不做, 无值, 保留字段)
  16644. type: number
  16645. decimalplace:
  16646. description: 报价小数位
  16647. type: integer
  16648. goodscode:
  16649. description: 合约代码
  16650. type: string
  16651. goodsgroupid:
  16652. description: 商品组ID(自增ID)
  16653. type: integer
  16654. goodsgroupname:
  16655. description: 商品组名称
  16656. type: string
  16657. goodsid:
  16658. description: 合约id
  16659. type: integer
  16660. goodsname:
  16661. description: 合约名称
  16662. type: string
  16663. refgoodscode:
  16664. description: 标的合约代码
  16665. type: string
  16666. refgoodsid:
  16667. description: 标的合约id
  16668. type: integer
  16669. refgoodsname:
  16670. description: 标的合约名称
  16671. type: string
  16672. sellqty:
  16673. description: 卖量(暂不做, 无值, 保留字段)
  16674. type: number
  16675. type: object
  16676. models.TjmdTodayAccountMargin:
  16677. properties:
  16678. accountid:
  16679. description: 账号ID
  16680. type: integer
  16681. goodsid:
  16682. description: 商品ID
  16683. type: integer
  16684. infoc:
  16685. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16686. description: 配置参数
  16687. marketid:
  16688. description: 市场ID
  16689. type: integer
  16690. type: object
  16691. models.TjmdTradeOrderDetail:
  16692. properties:
  16693. buyorsell:
  16694. description: 买卖方向 0-买 1-卖
  16695. type: integer
  16696. goodsid:
  16697. description: 商品id
  16698. type: integer
  16699. marketmaxsub:
  16700. description: 市价最大偏移范围 [浮动价 - 点差]
  16701. type: number
  16702. orderid:
  16703. description: 委托单号
  16704. type: string
  16705. orderprice:
  16706. description: 期初均价
  16707. type: number
  16708. orderqty:
  16709. description: 委托数量
  16710. type: integer
  16711. pricemode:
  16712. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16713. type: integer
  16714. userid:
  16715. description: 用户id
  16716. type: integer
  16717. username:
  16718. description: 用户名称(已脱敏)
  16719. type: string
  16720. type: object
  16721. models.TjmdTransferApply:
  16722. properties:
  16723. applyid:
  16724. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16725. type: integer
  16726. applystatus:
  16727. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16728. type: integer
  16729. applytime:
  16730. description: 申请时间(时间)
  16731. type: string
  16732. auditremark:
  16733. description: 审核备注(拒绝原因?)
  16734. type: string
  16735. begindate:
  16736. description: 开始交易日(yyyymmdd)
  16737. type: string
  16738. buyorsell:
  16739. description: 买卖 - 0:买 1:卖
  16740. type: integer
  16741. enddate:
  16742. description: 结束交易日(yyyymmdd)
  16743. type: string
  16744. goodscode:
  16745. description: 商品代码
  16746. type: string
  16747. goodsid:
  16748. description: 商品ID
  16749. type: integer
  16750. goodsname:
  16751. description: 商品名称
  16752. type: string
  16753. marketid:
  16754. description: 市场ID
  16755. type: integer
  16756. qty:
  16757. description: 期初均价
  16758. type: number
  16759. tradeid:
  16760. description: 成交单号(关联持仓)
  16761. type: string
  16762. transferamount:
  16763. description: 转让总金额(金额)
  16764. type: number
  16765. transferprice:
  16766. description: 转让价格(协议价格)
  16767. type: number
  16768. type: object
  16769. models.TradeHolderDetail:
  16770. properties:
  16771. accountid:
  16772. description: 账号ID
  16773. type: integer
  16774. agreeunit:
  16775. description: 合约乘数
  16776. type: number
  16777. buyorsell:
  16778. description: 方向 - 0:买 1:卖
  16779. type: integer
  16780. currencyid:
  16781. description: 商品币种id
  16782. type: integer
  16783. currencyname:
  16784. description: 币种名称
  16785. type: string
  16786. decimalplace:
  16787. description: 商品价格小数位
  16788. type: integer
  16789. enumdicname:
  16790. description: 商品单位名称
  16791. type: string
  16792. expirecycle:
  16793. description: 行权周期(天) - 1:滚动行权时填写
  16794. type: integer
  16795. expiredate:
  16796. description: 行权日(yyyyMMdd) - 到期日
  16797. type: string
  16798. expiretype:
  16799. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16800. type: integer
  16801. freezeqty:
  16802. description: 期初均价
  16803. type: number
  16804. goodscode:
  16805. description: 商品代码
  16806. type: string
  16807. goodsid:
  16808. description: 商品ID
  16809. type: integer
  16810. goodsname:
  16811. description: 商品名称
  16812. type: string
  16813. goodunitid:
  16814. description: 商品单位id
  16815. type: integer
  16816. holderamount:
  16817. description: 持仓金额
  16818. type: number
  16819. holdercredit:
  16820. description: 持仓授信金额
  16821. type: number
  16822. holderdays:
  16823. description: 剩余冻结天数
  16824. type: integer
  16825. holderprice:
  16826. description: 持仓价格
  16827. type: number
  16828. holderqty:
  16829. description: 期初均价
  16830. type: number
  16831. isconfirmexercise:
  16832. description: 是否确认行权- 0:否 1:是
  16833. type: integer
  16834. ispreexercise:
  16835. description: 是否预申报- 0:否 1:是 2:不可行权
  16836. type: integer
  16837. marketid:
  16838. description: 市场id
  16839. type: integer
  16840. marketname:
  16841. description: 市场名称
  16842. type: string
  16843. openprice:
  16844. description: 建仓价格
  16845. type: number
  16846. openqty:
  16847. description: 期初均价
  16848. type: number
  16849. optiontype:
  16850. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16851. type: integer
  16852. preexerciseprice:
  16853. description: 预申报价格
  16854. type: number
  16855. premium:
  16856. description: 权利金
  16857. type: number
  16858. qtydecimalplace:
  16859. description: 商品成交量小数位
  16860. type: integer
  16861. refgoodscode:
  16862. description: 标的合约代码
  16863. type: string
  16864. refgoodsid:
  16865. description: 标的合约id
  16866. type: integer
  16867. releaseamount:
  16868. description: 释放持仓金额
  16869. type: number
  16870. releaseholdercredit:
  16871. description: 释放持仓授信金额
  16872. type: number
  16873. taname:
  16874. description: 资金账号名称
  16875. type: string
  16876. tradeamount:
  16877. description: 成交金额
  16878. type: number
  16879. tradedate:
  16880. description: 交易日(yyyyMMdd)
  16881. type: string
  16882. tradeid:
  16883. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16884. type: string
  16885. trademode:
  16886. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16887. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16888. type: integer
  16889. tradeproperty:
  16890. description: 交易属性
  16891. type: integer
  16892. tradetime:
  16893. description: 交易时间
  16894. type: string
  16895. userid:
  16896. description: 用户id
  16897. type: integer
  16898. username:
  16899. description: 用户名称
  16900. type: string
  16901. type: object
  16902. models.Unlinkermcphedgeplan:
  16903. properties:
  16904. accountid:
  16905. description: 期货账户ID - 作废
  16906. type: integer
  16907. accountname:
  16908. description: 交易用户
  16909. type: string
  16910. applyid:
  16911. description: 申请人
  16912. type: integer
  16913. applysrc:
  16914. description: 申请来源 - 1:管理端 2:终端
  16915. type: integer
  16916. applytime:
  16917. description: 申请时间
  16918. type: string
  16919. areauserid:
  16920. description: '[企业ID]机构ID'
  16921. type: integer
  16922. auditid:
  16923. description: 审核人
  16924. type: integer
  16925. auditremark:
  16926. description: 审核备注
  16927. type: string
  16928. auditsrc:
  16929. description: 审核来源 - 1:管理端 2:终端
  16930. type: integer
  16931. audittime:
  16932. description: 审核时间
  16933. type: string
  16934. audittradedate:
  16935. description: 审核交易日(yyyyMMdd)
  16936. type: string
  16937. biztype:
  16938. description: 业务类型 - 1:套保
  16939. type: integer
  16940. contracttype:
  16941. description: 计划类型 - 1:采购 -1:销售
  16942. type: integer
  16943. convertfactor:
  16944. description: 标仓系数 - 作废
  16945. type: number
  16946. createtime:
  16947. description: 创建时间
  16948. type: string
  16949. currencyid:
  16950. description: 结算币种ID - 作废
  16951. type: integer
  16952. deliverygoodsid:
  16953. description: 现货品种ID
  16954. type: integer
  16955. enumdicname:
  16956. description: 结算币种
  16957. type: string
  16958. hedgeplanid:
  16959. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16960. type: string
  16961. hedgeplanno:
  16962. description: '[计划编号]套保计划编号,模糊查询'
  16963. type: string
  16964. hedgeplanstatus:
  16965. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16966. type: integer
  16967. isrelated:
  16968. description: 是否已关联计划项目 - 0:否 1:是
  16969. type: integer
  16970. planqty:
  16971. description: '[计划量]计划数量'
  16972. type: number
  16973. plantime:
  16974. description: 计划时间
  16975. type: string
  16976. producttype:
  16977. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16978. type: integer
  16979. remark:
  16980. description: 备注
  16981. type: string
  16982. spotgoodsdesc:
  16983. description: 商品型号
  16984. type: string
  16985. tradedate:
  16986. description: 交易日(yyyyMMdd)
  16987. type: string
  16988. tradeuserid:
  16989. description: 交易用户ID
  16990. type: integer
  16991. updatetime:
  16992. description: 更新时间
  16993. type: string
  16994. wrstandardid:
  16995. description: 现货商品ID
  16996. type: integer
  16997. wrstandardname:
  16998. description: 现货商品,模糊查询
  16999. type: string
  17000. required:
  17001. - areauserid
  17002. type: object
  17003. models.UserCollectConfig:
  17004. properties:
  17005. accountstatus:
  17006. description: 账户状态 - 1:正常 2:停用 3:注销
  17007. type: integer
  17008. collectaccountname:
  17009. description: 收款人账户名称
  17010. type: string
  17011. collectaccountno:
  17012. description: 收款人账户
  17013. type: string
  17014. collectbankname:
  17015. description: 收款人开户行
  17016. type: string
  17017. collectbranchbankname:
  17018. description: 收款人开户支行
  17019. type: string
  17020. collectconfigid:
  17021. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17022. type: string
  17023. remark:
  17024. description: 备注
  17025. type: string
  17026. userid:
  17027. description: 收款人用户ID
  17028. type: integer
  17029. type: object
  17030. models.UserReceiveInfo:
  17031. properties:
  17032. address:
  17033. description: 提货人详细地址
  17034. type: string
  17035. autoid:
  17036. description: AutoID
  17037. type: integer
  17038. cardnum:
  17039. description: 证件号码(加密存储)
  17040. type: string
  17041. cardtypeid:
  17042. description: 证件类型
  17043. type: integer
  17044. cityid:
  17045. description: 市
  17046. type: integer
  17047. cityname:
  17048. description: 城市名称
  17049. type: string
  17050. countryid:
  17051. description: 国家
  17052. type: integer
  17053. countryname:
  17054. description: 国家名称
  17055. type: string
  17056. districtid:
  17057. description: 地区
  17058. type: integer
  17059. districtname:
  17060. description: 地区名称
  17061. type: string
  17062. hasencrypt:
  17063. description: 数据是否已加密 - 0:未加密 1:已加密
  17064. type: integer
  17065. isdefault:
  17066. description: 是否默认地址 - 0:否 1:是
  17067. type: integer
  17068. phonenum:
  17069. description: 提货人联系方式(加密存储)
  17070. type: string
  17071. provinceid:
  17072. description: 省
  17073. type: integer
  17074. provincename:
  17075. description: 省名称
  17076. type: string
  17077. receivername:
  17078. description: 提货人姓名
  17079. type: string
  17080. takeremark:
  17081. description: 提货备注
  17082. type: string
  17083. userid:
  17084. description: 用户ID
  17085. type: integer
  17086. type: object
  17087. models.Useraccount:
  17088. properties:
  17089. accountname:
  17090. description: 账户名称(机构名称)
  17091. type: string
  17092. accountstatus:
  17093. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17094. type: integer
  17095. applysrc:
  17096. description: 申请来源 - 1:管理端 2:终端
  17097. type: integer
  17098. auditremark:
  17099. description: 审核备注
  17100. type: string
  17101. auditsrc:
  17102. description: 审核来源 - 1:管理端 2:终端
  17103. type: integer
  17104. audittime:
  17105. description: 审核时间
  17106. type: string
  17107. audituserid:
  17108. description: 审核人
  17109. type: integer
  17110. broker:
  17111. description: 所属经纪人ID
  17112. type: integer
  17113. canceltime:
  17114. description: 销户时间
  17115. type: string
  17116. canceluserid:
  17117. description: 销户人
  17118. type: integer
  17119. canrecommend:
  17120. description: 是否可推荐 - 0:不可 1;可
  17121. type: integer
  17122. createtime:
  17123. description: 创建时间
  17124. type: string
  17125. creatorid:
  17126. description: 创建人
  17127. type: integer
  17128. hasauth:
  17129. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17130. type: integer
  17131. isanonymous:
  17132. description: 是否匿名下单 - 0:否 1:是
  17133. type: integer
  17134. maxinvestornum:
  17135. description: 最大用户数(经纪会员下投资者个数)
  17136. type: integer
  17137. memberuserid:
  17138. description: 所属会员ID
  17139. type: integer
  17140. modifierid:
  17141. description: 修改人
  17142. type: integer
  17143. modifyremark:
  17144. description: 变更备注
  17145. type: string
  17146. modifystatus:
  17147. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17148. type: integer
  17149. modifytime:
  17150. description: 修改时间
  17151. type: string
  17152. parenttopuser:
  17153. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17154. type: string
  17155. parentuserid:
  17156. description: 所属机构ID
  17157. type: integer
  17158. reckonaccountid:
  17159. description: 默认结算资金账号ID(机构分润使用) 作废
  17160. type: integer
  17161. refercount:
  17162. description: 推荐总人数
  17163. type: integer
  17164. refereeuserid:
  17165. description: 推荐人ID
  17166. type: integer
  17167. refernum:
  17168. description: 推荐码
  17169. type: string
  17170. rootuserid:
  17171. description: 根用户ID
  17172. type: integer
  17173. subaccountlevel:
  17174. description: 子账户层数
  17175. type: integer
  17176. subarealevelpath:
  17177. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17178. type: string
  17179. userid:
  17180. description: 用户ID
  17181. type: integer
  17182. usertype:
  17183. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17184. type: integer
  17185. required:
  17186. - userid
  17187. type: object
  17188. models.Userfavoritegoods:
  17189. properties:
  17190. goodsid:
  17191. description: 商品ID
  17192. type: integer
  17193. required:
  17194. - goodsid
  17195. type: object
  17196. models.Userinfo:
  17197. properties:
  17198. address:
  17199. description: 地址
  17200. type: string
  17201. attachment1:
  17202. description: 附件1
  17203. type: string
  17204. attachment2:
  17205. description: 附件2
  17206. type: string
  17207. bankaccount:
  17208. description: 银行帐号 (加密存储)
  17209. type: string
  17210. bankaccountname:
  17211. description: 收款人名称
  17212. type: string
  17213. bankcardfrontphotourl:
  17214. description: 银行卡正面照地址
  17215. type: string
  17216. bankid:
  17217. description: 银行编码
  17218. type: string
  17219. bankname:
  17220. description: 银行名称
  17221. type: string
  17222. biznature:
  17223. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17224. type: integer
  17225. bizscope:
  17226. description: 企业经营范围(企业)
  17227. type: string
  17228. cardbackphotourl:
  17229. description: 证件背面图片地址
  17230. type: string
  17231. cardfrontphotourl:
  17232. description: 证件正面图片地址
  17233. type: string
  17234. cardnum:
  17235. description: 证件号码(加密存储)
  17236. type: string
  17237. cardtypeid:
  17238. description: 证件类型ID
  17239. type: integer
  17240. cityid:
  17241. description: 市
  17242. type: integer
  17243. company:
  17244. description: 公司(个人)
  17245. type: string
  17246. contactname:
  17247. description: 联系人
  17248. type: string
  17249. countryid:
  17250. description: 国家
  17251. type: integer
  17252. createtime:
  17253. description: 创建时间
  17254. type: string
  17255. creatorid:
  17256. description: 创建人
  17257. type: integer
  17258. customername:
  17259. description: 客户名称(企业名称)
  17260. type: string
  17261. districtid:
  17262. description: 地区
  17263. type: integer
  17264. email:
  17265. description: 邮件(加密存储)
  17266. type: string
  17267. fax:
  17268. description: 传真(加密存储)
  17269. type: string
  17270. halfbodyphotourl:
  17271. description: 半身照地址
  17272. type: string
  17273. hasencrypt:
  17274. description: 数据是否已加密 - 0:未加密 1:已加密
  17275. type: integer
  17276. headurl:
  17277. description: 头像地址
  17278. type: string
  17279. legalcardbackphotourl:
  17280. description: 法人身份证背面照地址
  17281. type: string
  17282. legalcardfrontphotourl:
  17283. description: 法人身份证正面照地址
  17284. type: string
  17285. legalpersonname:
  17286. description: 法人姓名(企业)
  17287. type: string
  17288. mobile:
  17289. description: 手机号码(加密存储)
  17290. type: string
  17291. mobile2:
  17292. description: 手机号码[明文-尚志]
  17293. type: string
  17294. modifierid:
  17295. description: 修改人
  17296. type: integer
  17297. modifiertime:
  17298. description: 修改时间
  17299. type: string
  17300. needinvoice:
  17301. description: 是否需要发票 - 0:不需要 1:需要
  17302. type: integer
  17303. nickname:
  17304. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17305. type: string
  17306. openmode:
  17307. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17308. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17309. type: integer
  17310. otherurl:
  17311. description: 其它图片地址[使用分号分隔]
  17312. type: string
  17313. postalcode:
  17314. description: 邮政编码
  17315. type: string
  17316. provinceid:
  17317. description: 省
  17318. type: integer
  17319. qq:
  17320. description: QQ(加密存储
  17321. type: string
  17322. remark:
  17323. description: 备注
  17324. type: string
  17325. sex:
  17326. description: '用户性别 0: 女 1: 男'
  17327. type: integer
  17328. signpdfurl:
  17329. description: 签约pdf文件
  17330. type: string
  17331. telphone:
  17332. description: 联系电话(加密存储)
  17333. type: string
  17334. userid:
  17335. description: 用户ID
  17336. type: integer
  17337. userinfotype:
  17338. description: 用户信息类型 - 1:个人 2:企业
  17339. type: integer
  17340. userstatus:
  17341. description: 用户状态 - 1:正常 2:注销
  17342. type: integer
  17343. usertype:
  17344. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17345. type: integer
  17346. wechat:
  17347. description: 微信(加密存储)
  17348. type: string
  17349. wskhinfo:
  17350. description: 开户申请信息(JSON)
  17351. type: string
  17352. required:
  17353. - userid
  17354. type: object
  17355. models.WRSConverTDetail:
  17356. properties:
  17357. convertratio:
  17358. description: 套保系数
  17359. type: number
  17360. deliverygoodscode:
  17361. description: 现货商品代码
  17362. type: string
  17363. deliverygoodsid:
  17364. description: 现货品种ID
  17365. type: integer
  17366. deliverygoodsname:
  17367. description: 现货商品名称
  17368. type: string
  17369. enumdicname:
  17370. description: 单位名称
  17371. type: string
  17372. goodsunitid:
  17373. description: 套保品种单位id
  17374. type: integer
  17375. middlegoodscode:
  17376. description: 套保品种代码
  17377. type: string
  17378. middlegoodsid:
  17379. description: 套保品种ID
  17380. type: integer
  17381. middlegoodsname:
  17382. description: 套保品种名称
  17383. type: string
  17384. modifytime:
  17385. description: 修改时间
  17386. type: string
  17387. wrstandardid:
  17388. description: 品类ID
  17389. type: integer
  17390. type: object
  17391. models.WRStandardInfo:
  17392. properties:
  17393. areauserid:
  17394. description: 所属机构
  17395. type: integer
  17396. convertfactor:
  17397. description: 标仓系数
  17398. type: number
  17399. createtime:
  17400. description: 创建时间
  17401. type: string
  17402. creatorid:
  17403. description: 创建人
  17404. type: integer
  17405. deliverygoodsid:
  17406. description: 品种ID
  17407. type: integer
  17408. deliverygoodsname:
  17409. description: 交割商品名称
  17410. type: string
  17411. factoryitemjson:
  17412. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17413. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17414. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17415. 逗号分隔'
  17416. type: string
  17417. isvalid:
  17418. description: 是否有效 - 0:无效 1:有效
  17419. type: integer
  17420. minivalue:
  17421. description: 最小变动值
  17422. type: integer
  17423. minivaluedp:
  17424. description: 最小变动值小数位
  17425. type: integer
  17426. realminivalue:
  17427. description: 实际最小变动值
  17428. type: integer
  17429. realminivaluedp:
  17430. description: 实际最小变动值小数位
  17431. type: integer
  17432. remark:
  17433. description: 备注
  17434. type: string
  17435. unitid:
  17436. description: 单位ID
  17437. type: integer
  17438. unitname:
  17439. description: 单位
  17440. type: string
  17441. updatetime:
  17442. description: 更新时间
  17443. type: string
  17444. updatorid:
  17445. description: 更新人
  17446. type: integer
  17447. wrsstatus:
  17448. description: 状态 - 作废 - 0:未激活 1:正常
  17449. type: integer
  17450. wrstandardcode:
  17451. description: 现货品类代码
  17452. type: string
  17453. wrstandardid:
  17454. description: 现货品类ID(SEQ_WRSTANDARD)
  17455. type: integer
  17456. wrstandardname:
  17457. description: 现货品类名称
  17458. type: string
  17459. required:
  17460. - wrstandardid
  17461. type: object
  17462. models.WRTradeBargainApply:
  17463. properties:
  17464. accountid:
  17465. description: 摘牌资金账号
  17466. type: integer
  17467. applyprice:
  17468. description: 申请价格(议价价格)
  17469. type: string
  17470. applyqty:
  17471. description: 摘牌数量(议价数量)
  17472. type: number
  17473. applyremark:
  17474. description: 申请备注
  17475. type: string
  17476. applystatus:
  17477. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17478. type: integer
  17479. applytime:
  17480. description: 申请时间(议价时间)
  17481. type: string
  17482. begindate:
  17483. description: 开始交易日(yyyymmdd)
  17484. type: string
  17485. buyorsell:
  17486. description: 买卖(挂牌类型) - 0:买 1:卖
  17487. type: integer
  17488. confirmremark:
  17489. description: 确认备注
  17490. type: string
  17491. confirmtime:
  17492. description: 确认时间
  17493. type: string
  17494. confirmuserid:
  17495. description: 确认人
  17496. type: integer
  17497. deliverygoodscode:
  17498. description: 品种代码
  17499. type: string
  17500. deliverygoodsid:
  17501. description: 品种ID
  17502. type: integer
  17503. deliverygoodsname:
  17504. description: 品种名称
  17505. type: string
  17506. deliverymonth:
  17507. description: 交收月
  17508. type: string
  17509. enddate:
  17510. description: 结束交易日(yyyymmdd)
  17511. type: string
  17512. enumdicname:
  17513. description: 单位名称
  17514. type: string
  17515. fixedprice:
  17516. description: 期初均价
  17517. type: number
  17518. handlestatus:
  17519. description: 处理状态
  17520. type: integer
  17521. marginvalue:
  17522. description: 期初均价
  17523. type: number
  17524. marketid:
  17525. description: 市场ID
  17526. type: integer
  17527. matchaccountid:
  17528. description: 挂牌方资金账号
  17529. type: integer
  17530. matchuserid:
  17531. description: 挂牌方用户id
  17532. type: integer
  17533. matchusername:
  17534. description: 挂牌方用户名称(已脱敏)
  17535. type: string
  17536. minivalue:
  17537. description: 现货商品最小变动值
  17538. type: integer
  17539. optioncompare:
  17540. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17541. type: string
  17542. orderqty:
  17543. description: 挂牌数量
  17544. type: integer
  17545. refprice:
  17546. description: 参考价格
  17547. type: string
  17548. retcode:
  17549. description: 委托返回代码
  17550. type: integer
  17551. templatename:
  17552. description: 履约方式(履约模板名称)
  17553. type: string
  17554. tradedate:
  17555. description: 交易日(yyyyMMdd)
  17556. type: string
  17557. userid:
  17558. description: 摘牌人用户ID(议价人ID)
  17559. type: integer
  17560. username:
  17561. description: 议价人名字(已脱敏)
  17562. type: string
  17563. validtime:
  17564. description: 有效期限
  17565. type: string
  17566. warehouseid:
  17567. description: 仓库ID
  17568. type: integer
  17569. warehousename:
  17570. description: 仓库名称
  17571. type: string
  17572. wrbargainid:
  17573. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17574. type: string
  17575. wrfactortypeid:
  17576. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17577. type: string
  17578. wrfactortypename:
  17579. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17580. type: string
  17581. wrstandardcode:
  17582. description: 现货商品代码
  17583. type: string
  17584. wrstandardid:
  17585. description: 现货商品ID
  17586. type: integer
  17587. wrstandardname:
  17588. description: 商品名称
  17589. type: string
  17590. wrtradeorderid:
  17591. description: 关联委托单ID
  17592. type: string
  17593. wrtypename:
  17594. description: 商品
  17595. type: string
  17596. type: object
  17597. models.Warehouseinfo:
  17598. properties:
  17599. address:
  17600. description: 详细地址
  17601. type: string
  17602. areauserid:
  17603. description: 所属机构
  17604. type: integer
  17605. autoid:
  17606. description: 自增ID
  17607. type: integer
  17608. cityid:
  17609. description: 市
  17610. type: integer
  17611. contactname:
  17612. description: 联系人
  17613. type: string
  17614. contactnum:
  17615. description: 联系电话
  17616. type: string
  17617. countryid:
  17618. description: 国家
  17619. type: integer
  17620. createtime:
  17621. description: 创建时间
  17622. type: string
  17623. districtid:
  17624. description: 区
  17625. type: integer
  17626. hasvideo:
  17627. description: 是否有视频 - 0:无 1:有
  17628. type: integer
  17629. provinceid:
  17630. description: 省
  17631. type: integer
  17632. remark:
  17633. description: 审核备注
  17634. type: string
  17635. videourl:
  17636. description: 视频地址
  17637. type: string
  17638. warehousecode:
  17639. description: 仓库代码
  17640. type: string
  17641. warehousename:
  17642. description: 仓库名称
  17643. type: string
  17644. warehousestatus:
  17645. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17646. type: integer
  17647. warehousetype:
  17648. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17649. type: integer
  17650. required:
  17651. - autoid
  17652. - warehousecode
  17653. type: object
  17654. models.WrAverageTradePrice:
  17655. properties:
  17656. averageprice:
  17657. description: 期初均价
  17658. type: number
  17659. tradedate:
  17660. description: 交易日yyyymm
  17661. type: string
  17662. type: object
  17663. models.WrBrandAndYears:
  17664. properties:
  17665. brandlst:
  17666. description: 品牌列表
  17667. items:
  17668. $ref: '#/definitions/models.DgFactoryItem'
  17669. type: array
  17670. yearslst:
  17671. description: 年份列表
  17672. items:
  17673. $ref: '#/definitions/models.DgFactoryItem'
  17674. type: array
  17675. type: object
  17676. models.WrBsGoodsInfo:
  17677. properties:
  17678. buyorsell:
  17679. description: 买卖方向 0-买 1-卖
  17680. type: integer
  17681. goodsid:
  17682. description: 交易合约ID
  17683. type: integer
  17684. lstitem:
  17685. description: 商品信息项
  17686. items:
  17687. $ref: '#/definitions/models.WrTypeItem'
  17688. type: array
  17689. lststep:
  17690. description: 履约规则
  17691. items:
  17692. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17693. type: array
  17694. type: object
  17695. models.WrBuybackDetail:
  17696. properties:
  17697. buybackamount:
  17698. description: 回购金额
  17699. type: number
  17700. buybackqty:
  17701. description: 回购数量
  17702. type: number
  17703. buybackreleasemargin:
  17704. description: 回购释放保证金
  17705. type: number
  17706. buybacktime:
  17707. description: 回购时间
  17708. type: string
  17709. errordesc:
  17710. description: 错误描述
  17711. type: string
  17712. handlestatus:
  17713. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17714. type: integer
  17715. relatedwrid:
  17716. description: 关联仓单ID
  17717. type: integer
  17718. scfcontractid:
  17719. description: SCF合同ID
  17720. type: string
  17721. scfwrbuybackid:
  17722. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17723. type: integer
  17724. tradedate:
  17725. description: 交易日(yyyyMMdd)
  17726. type: string
  17727. type: object
  17728. models.WrClientAdSpaceConfig:
  17729. properties:
  17730. adspaceid:
  17731. description: 广告位ID
  17732. type: integer
  17733. adspacename:
  17734. description: 广告位名称
  17735. type: string
  17736. adspacetype:
  17737. description: 广告位类型 - 1:固定广告位
  17738. type: integer
  17739. areauserid:
  17740. description: 所属机构ID
  17741. type: integer
  17742. createdate:
  17743. description: 创建时间
  17744. type: string
  17745. imagepath:
  17746. description: 图片
  17747. type: string
  17748. modifierid:
  17749. description: 操作人
  17750. type: integer
  17751. recsize:
  17752. description: 推荐尺寸
  17753. type: string
  17754. title:
  17755. description: 标题
  17756. type: string
  17757. updatedate:
  17758. description: 更新时间
  17759. type: string
  17760. urlcontent:
  17761. description: 链接(地址\商品ID\功能菜单Key\appid)
  17762. type: string
  17763. urltype:
  17764. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17765. type: integer
  17766. type: object
  17767. models.WrDeliveryAvalidHoldLB:
  17768. properties:
  17769. accountid:
  17770. description: 资金账号
  17771. type: integer
  17772. avalidqty:
  17773. description: 数量(可点选数量)
  17774. type: number
  17775. deliverygoodsid:
  17776. description: 品种id
  17777. type: integer
  17778. enumdicname:
  17779. description: 单位名称
  17780. type: string
  17781. goodsid:
  17782. description: x合约商品id
  17783. type: integer
  17784. ladingbillid:
  17785. description: 提单id
  17786. type: string
  17787. pgoodscode:
  17788. description: p商品代码(点价合约)
  17789. type: string
  17790. pgoodsid:
  17791. description: p商品id(点价合约)
  17792. type: integer
  17793. pgoodsname:
  17794. description: p商品名称(点价合约)
  17795. type: string
  17796. pricemove:
  17797. description: 升贴水
  17798. type: number
  17799. subnum:
  17800. description: 提单子id
  17801. type: integer
  17802. userid:
  17803. description: 用户id
  17804. type: integer
  17805. username:
  17806. description: 仓单持有人
  17807. type: string
  17808. warehousecode:
  17809. description: 仓库代码
  17810. type: string
  17811. warehouseid:
  17812. description: 仓库id
  17813. type: integer
  17814. warehousename:
  17815. description: 仓库名称
  17816. type: string
  17817. wrfactortypeid:
  17818. description: 仓单要素id
  17819. type: string
  17820. wrstandardcode:
  17821. description: 品代码
  17822. type: string
  17823. wrstandardid:
  17824. description: 品类d
  17825. type: integer
  17826. wrstandardname:
  17827. description: 品类名称
  17828. type: string
  17829. wrtypename:
  17830. description: 商品
  17831. type: string
  17832. xgoodscode:
  17833. description: x合约代码
  17834. type: string
  17835. xgoodsname:
  17836. description: x合约名称
  17837. type: string
  17838. type: object
  17839. models.WrDeliveryDetail:
  17840. properties:
  17841. accountid:
  17842. description: 账号ID
  17843. type: integer
  17844. averageprice:
  17845. description: 期初均价
  17846. type: number
  17847. begindate:
  17848. description: 开始交易日(yyyymmdd)
  17849. type: string
  17850. buyorsell:
  17851. description: 方向 - 0:买 1:卖
  17852. type: integer
  17853. deliveryamount:
  17854. description: 货款金额(X总货款+P总货款)
  17855. type: number
  17856. deliveryid:
  17857. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17858. type: string
  17859. deliveryorderid:
  17860. description: 申报单号
  17861. type: string
  17862. deliverypricemove:
  17863. description: 升贴水(升贴水总额)
  17864. type: number
  17865. deliveryqty:
  17866. description: 交收数量(点选数量)
  17867. type: number
  17868. deliverystatus:
  17869. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17870. type: integer
  17871. deliverytime:
  17872. description: 交割时间
  17873. type: string
  17874. deliverytotalamount:
  17875. description: 交收金额
  17876. type: number
  17877. enddate:
  17878. description: 结束交易日(yyyymmdd)
  17879. type: string
  17880. enumdicname:
  17881. description: 单位名称
  17882. type: string
  17883. matchaccountid:
  17884. description: 对手账号ID
  17885. type: integer
  17886. matchusername:
  17887. description: 对手方名称(仓单持有人)
  17888. type: string
  17889. p1goodsremainamount:
  17890. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17891. type: number
  17892. pdeliverycloseqty:
  17893. description: p合约平仓数量
  17894. type: number
  17895. pdeliveryprice:
  17896. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17897. type: number
  17898. pgoodscode:
  17899. description: 商品代码
  17900. type: string
  17901. pgoodsid:
  17902. description: p点选合约id
  17903. type: integer
  17904. pgoodsname:
  17905. description: 商品名称
  17906. type: string
  17907. ppricemode:
  17908. description: 点价价格方式 - 1:商品价 2:固定值
  17909. type: integer
  17910. tradedate:
  17911. description: 交易日(yyyymmdd)
  17912. type: string
  17913. userid:
  17914. description: 用户id
  17915. type: integer
  17916. username:
  17917. description: 用户名称
  17918. type: string
  17919. warehousename:
  17920. description: 仓库名称
  17921. type: string
  17922. wrfactortypeid:
  17923. description: 仓单要素类型ID
  17924. type: string
  17925. wrtypename:
  17926. description: 商品
  17927. type: string
  17928. xdeliverycloseqty:
  17929. description: 合约数量
  17930. type: number
  17931. xgoodsamount:
  17932. description: 期初均价
  17933. type: number
  17934. xgoodscode:
  17935. description: 商品代码
  17936. type: string
  17937. xgoodsid:
  17938. description: x交易合约ID
  17939. type: integer
  17940. xgoodsname:
  17941. description: 商品名称
  17942. type: string
  17943. type: object
  17944. models.WrDeliveryGoodsSection:
  17945. properties:
  17946. dglst:
  17947. description: 板块商品列表
  17948. items:
  17949. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17950. type: array
  17951. imagepath:
  17952. description: 图片地址
  17953. type: string
  17954. orderindex:
  17955. description: 排序
  17956. type: integer
  17957. sectionid:
  17958. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17959. = 1的版块1 - 云融指数
  17960. type: integer
  17961. sectionname:
  17962. description: 版块名称
  17963. type: string
  17964. sectiontype:
  17965. description: 版块类型 - 1:指数版块 2:普通版块
  17966. type: integer
  17967. type: object
  17968. models.WrDeliveryGoodsSectionConfig:
  17969. properties:
  17970. deliverygoodscode:
  17971. description: 现货商品代码
  17972. type: string
  17973. deliverygoodsid:
  17974. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17975. type: integer
  17976. deliverygoodsname:
  17977. description: 现货商品名称
  17978. type: string
  17979. orderindex:
  17980. description: 排序
  17981. type: integer
  17982. type: object
  17983. models.WrDraftUserInfo:
  17984. properties:
  17985. address:
  17986. description: 地址
  17987. type: string
  17988. attachment1:
  17989. description: 附件1
  17990. type: string
  17991. attachment2:
  17992. description: 附件2
  17993. type: string
  17994. attachment3:
  17995. description: 附件3
  17996. type: string
  17997. attachment4:
  17998. description: 附件4
  17999. type: string
  18000. attachment5:
  18001. description: 附件5
  18002. type: string
  18003. bankaccount:
  18004. description: 银行帐号 (加密存储)
  18005. type: string
  18006. bankaccountname:
  18007. description: 收款人名称
  18008. type: string
  18009. bankcardfrontphotourl:
  18010. description: 银行卡正面照地址
  18011. type: string
  18012. bankid:
  18013. description: 银行编码
  18014. type: string
  18015. bankname:
  18016. description: 银行名称
  18017. type: string
  18018. birthday:
  18019. description: 生日(个人:年月日)
  18020. type: string
  18021. biznature:
  18022. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18023. type: integer
  18024. bizscope:
  18025. description: 企业经营范围(企业)
  18026. type: string
  18027. biztype:
  18028. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18029. type: integer
  18030. cardbackphotourl:
  18031. description: 证件背面图片地址
  18032. type: string
  18033. cardfrontphotourl:
  18034. description: 证件正面图片地址
  18035. type: string
  18036. cardnum:
  18037. description: 证件号码(加密存储)
  18038. type: string
  18039. cardtypeid:
  18040. description: 证件类型ID
  18041. type: integer
  18042. cityid:
  18043. description: 市
  18044. type: integer
  18045. company:
  18046. description: 公司(个人)
  18047. type: string
  18048. contactcardbackphotourl:
  18049. description: 联系人证件背面图片地址
  18050. type: string
  18051. contactcardfrontphotourl:
  18052. description: 联系人证件正面图片地址
  18053. type: string
  18054. contactname:
  18055. description: 联系人
  18056. type: string
  18057. countryid:
  18058. description: 国家
  18059. type: integer
  18060. createtime:
  18061. description: 创建时间
  18062. type: string
  18063. creatorid:
  18064. description: 创建人
  18065. type: integer
  18066. creditquota:
  18067. description: 授信额度(金瑞)
  18068. type: number
  18069. customername:
  18070. description: 客户名称(企业名称)
  18071. type: string
  18072. districtid:
  18073. description: 地区
  18074. type: integer
  18075. email:
  18076. description: 邮件(加密存储)
  18077. type: string
  18078. fax:
  18079. description: 传真(加密存储)
  18080. type: string
  18081. halfbodyphotourl:
  18082. description: 半身照地址
  18083. type: string
  18084. hasencrypt:
  18085. description: 数据是否已加密 - 0:未加密 1:已加密
  18086. type: integer
  18087. headurl:
  18088. description: 头像地址
  18089. type: string
  18090. legalcardbackphotourl:
  18091. description: 法人身份证背面照地址
  18092. type: string
  18093. legalcardfrontphotourl:
  18094. description: 法人身份证正面照地址
  18095. type: string
  18096. legalpersonname:
  18097. description: 法人姓名(企业)
  18098. type: string
  18099. mobile:
  18100. description: 手机号码(加密存储)
  18101. type: string
  18102. mobile2:
  18103. description: 手机号码[明文-尚志]
  18104. type: string
  18105. modifierid:
  18106. description: 修改人
  18107. type: integer
  18108. modifiertime:
  18109. description: 修改时间
  18110. type: string
  18111. needinvoice:
  18112. description: 是否需要发票 - 0:不需要 1:需要
  18113. type: integer
  18114. nickname:
  18115. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18116. type: string
  18117. openmode:
  18118. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18119. 6:苹果手机端注册 7:PC交易端注册"
  18120. type: integer
  18121. otherurl:
  18122. description: 其它图片地址[使用分号分隔]
  18123. type: string
  18124. postalcode:
  18125. description: 邮政编码
  18126. type: string
  18127. provinceid:
  18128. description: 省
  18129. type: integer
  18130. proxystatementurl:
  18131. description: 授权委托书
  18132. type: string
  18133. qq:
  18134. description: QQ(加密存储
  18135. type: string
  18136. remark:
  18137. description: 备注
  18138. type: string
  18139. sex:
  18140. description: '用户性别 0: 女 1: 男'
  18141. type: integer
  18142. signpdfurl:
  18143. description: 签约pdf文件
  18144. type: string
  18145. taxpayernum:
  18146. description: 纳税人识别号
  18147. type: string
  18148. telphone:
  18149. description: 联系电话(加密存储)
  18150. type: string
  18151. userid:
  18152. description: 用户ID
  18153. type: integer
  18154. userinfotype:
  18155. description: 用户信息类型 - 1:个人 2:企业
  18156. type: integer
  18157. userstatus:
  18158. description: 用户状态 - 1:正常 2:注销
  18159. type: integer
  18160. usertype:
  18161. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18162. type: integer
  18163. wechat:
  18164. description: 微信(加密存储)
  18165. type: string
  18166. wskhinfo:
  18167. description: 开户申请信息(JSON)
  18168. type: string
  18169. type: object
  18170. models.WrFAProductDetail:
  18171. properties:
  18172. accountid:
  18173. description: 资金账号
  18174. type: integer
  18175. areauserid:
  18176. description: 金融机构ID
  18177. type: integer
  18178. financingdays:
  18179. description: 天数(天)
  18180. type: integer
  18181. interestminlen:
  18182. description: 最小起息天数
  18183. type: integer
  18184. interestrate:
  18185. description: 利率
  18186. type: number
  18187. interestratemode:
  18188. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18189. type: integer
  18190. interestsettlemode:
  18191. description: 结息方式 - 1:按日结息 3:按月结息
  18192. type: integer
  18193. interestsettlevalue:
  18194. description: 结息方式值
  18195. type: integer
  18196. isautoloan:
  18197. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18198. type: integer
  18199. loantag:
  18200. description: '放款标识: "放款快" 或者为空'
  18201. type: string
  18202. marginratio:
  18203. description: 保证金比率质押率 - [仓单质押]
  18204. type: number
  18205. productdetailid:
  18206. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18207. type: integer
  18208. productid:
  18209. description: 金融产品ID
  18210. type: integer
  18211. productname:
  18212. description: 产品名称
  18213. type: string
  18214. updatetime:
  18215. description: 更新时间
  18216. type: string
  18217. username:
  18218. description: 融出方
  18219. type: string
  18220. type: object
  18221. models.WrFactorTypeInfo:
  18222. properties:
  18223. deliverygoodscode:
  18224. description: 品种代码
  18225. type: string
  18226. deliverygoodsname:
  18227. description: 品种名称
  18228. type: string
  18229. dgfactoryitemid:
  18230. description: 选择项id
  18231. type: integer
  18232. dgfactoryitemtypeid:
  18233. description: 要素选择项ID (1-仓库 2-品牌)
  18234. type: integer
  18235. dgfactoryitemvalue:
  18236. description: 要素项值
  18237. type: string
  18238. itemtypename:
  18239. description: 要素项名称
  18240. type: string
  18241. optioncompare:
  18242. description: 选择比较串
  18243. type: string
  18244. warehouseid:
  18245. description: 仓库id
  18246. type: integer
  18247. wrfactortypeid:
  18248. description: 仓单要素ID
  18249. type: string
  18250. wrfactortypename:
  18251. description: 要素名称
  18252. type: string
  18253. wrfactortypename2:
  18254. description: 要素名称(不含仓库)
  18255. type: string
  18256. wrstandardcode:
  18257. description: 品类代码
  18258. type: string
  18259. wrstandardid:
  18260. description: 品类id
  18261. type: integer
  18262. wrstandardname:
  18263. description: 品类名称
  18264. type: string
  18265. type: object
  18266. models.WrFilterItem:
  18267. properties:
  18268. itemcode:
  18269. description: 代码
  18270. type: string
  18271. itemid:
  18272. description: 项id
  18273. type: integer
  18274. itemname:
  18275. description: 名称
  18276. type: string
  18277. itemtype:
  18278. description: 类型 1-品种 2-品类(商品) 3-仓库
  18279. type: integer
  18280. type: object
  18281. models.WrFinanceBuyApply:
  18282. properties:
  18283. applydate:
  18284. description: 申请时间
  18285. type: string
  18286. applystatus:
  18287. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18288. type: integer
  18289. applyuserid:
  18290. description: 申请人
  18291. type: integer
  18292. auditdate:
  18293. description: 审核时间
  18294. type: string
  18295. auditremark:
  18296. description: 审核备注
  18297. type: string
  18298. audituserid:
  18299. description: 审核人
  18300. type: integer
  18301. buyaccountid:
  18302. description: 买方资金账号
  18303. type: integer
  18304. buyorsell:
  18305. description: 买卖 - 0:买 1:卖
  18306. type: integer
  18307. buyuserid:
  18308. description: 买方用户ID
  18309. type: integer
  18310. buyusername:
  18311. description: 买方名称
  18312. type: string
  18313. buywrtradeorderid:
  18314. description: 融资方买委托单ID
  18315. type: string
  18316. deliverygoodscode:
  18317. description: 品种代码
  18318. type: string
  18319. deliverygoodsid:
  18320. description: 品种ID
  18321. type: integer
  18322. deliverygoodsname:
  18323. description: 品种名称
  18324. type: string
  18325. deliverymonth:
  18326. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18327. type: string
  18328. enumdicname:
  18329. description: 单位名称
  18330. type: string
  18331. financeaccountid:
  18332. description: 融资方资金帐户ID
  18333. type: integer
  18334. financeapplyid:
  18335. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18336. type: string
  18337. financeareauserid:
  18338. description: 融资方用户ID
  18339. type: string
  18340. financename:
  18341. description: 融出方名称
  18342. type: string
  18343. financetype:
  18344. description: 融资类型 1-融资回购
  18345. type: integer
  18346. financingdays:
  18347. description: 天数(天)
  18348. type: integer
  18349. freezebuymargin:
  18350. description: 冻结融资保证金(买方)
  18351. type: number
  18352. handleremark:
  18353. description: 处理备注
  18354. type: string
  18355. handlestatus:
  18356. description: 处理状态
  18357. type: integer
  18358. interestminlen:
  18359. description: 最小起息天数
  18360. type: integer
  18361. interestrate:
  18362. description: 利率
  18363. type: number
  18364. interestratemode:
  18365. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18366. type: integer
  18367. interestsettlemode:
  18368. description: 结息方式 - 1:按日结息 3:按月结息
  18369. type: integer
  18370. interestsettlevalue:
  18371. description: 结息方式值
  18372. type: integer
  18373. isautoloan:
  18374. description: 是否自动放款 - 0:手动 1:自动
  18375. type: integer
  18376. marginratio:
  18377. description: 保证金比率质押率 - [仓单质押]
  18378. type: number
  18379. marketid:
  18380. description: 市场ID
  18381. type: integer
  18382. minivalue:
  18383. description: 现货商品最小变动值
  18384. type: integer
  18385. optioncompare:
  18386. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18387. type: string
  18388. orderqty:
  18389. description: 委托数量(商品数量)
  18390. type: number
  18391. productdetailid:
  18392. description: 产品组合ID
  18393. type: integer
  18394. productid:
  18395. description: 金融产品ID
  18396. type: integer
  18397. productname:
  18398. description: 产品名称
  18399. type: string
  18400. remark:
  18401. description: 备注
  18402. type: string
  18403. scfcontractid:
  18404. description: 仓单回购合同ID
  18405. type: string
  18406. sellaccountid:
  18407. description: 卖方资金账号
  18408. type: integer
  18409. selluserid:
  18410. description: 卖方用户ID
  18411. type: integer
  18412. sellwrtradeorderid:
  18413. description: 卖方委托单ID
  18414. type: string
  18415. tradeamount:
  18416. description: 成交金额(借款金额)
  18417. type: number
  18418. tradedate:
  18419. description: 交易日(yyyyMMdd)
  18420. type: string
  18421. tradeprice:
  18422. description: 成交价格
  18423. type: number
  18424. warehouseid:
  18425. description: 仓库ID
  18426. type: integer
  18427. warehousename:
  18428. description: 仓库名称
  18429. type: string
  18430. wrfactortypeid:
  18431. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18432. type: string
  18433. wrfactortypename:
  18434. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18435. type: string
  18436. wrpricetype:
  18437. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18438. type: integer
  18439. wrstandardcode:
  18440. description: 现货商品代码
  18441. type: string
  18442. wrstandardid:
  18443. description: 现货商品ID
  18444. type: integer
  18445. wrstandardname:
  18446. description: 商品名称
  18447. type: string
  18448. wrtypename:
  18449. description: 商品
  18450. type: string
  18451. type: object
  18452. models.WrFriendApply:
  18453. properties:
  18454. applicantid:
  18455. description: 申请人
  18456. type: integer
  18457. applyname:
  18458. description: 申请人名称
  18459. type: string
  18460. applysrc:
  18461. description: 申请来源 - 1:管理端 2:终端
  18462. type: integer
  18463. applystatus:
  18464. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18465. type: integer
  18466. applytime:
  18467. description: 申请时间
  18468. type: string
  18469. auditname:
  18470. description: 审核人名称
  18471. type: string
  18472. auditorid:
  18473. description: 审核人
  18474. type: integer
  18475. auditremark:
  18476. description: 审核备注
  18477. type: string
  18478. auditsrc:
  18479. description: 审核来源 - 1:管理端 2:终端
  18480. type: integer
  18481. audittime:
  18482. description: 审核时间
  18483. type: string
  18484. friendapplyid:
  18485. description: 申请ID(SEQ_FRIENDAPPLY)
  18486. type: string
  18487. friendname:
  18488. description: 好友名字(已脱敏)
  18489. type: string
  18490. frienduserid:
  18491. description: 好友用户ID
  18492. type: string
  18493. remark:
  18494. description: 备注
  18495. type: string
  18496. userid:
  18497. description: 申请人用户ID
  18498. type: integer
  18499. type: object
  18500. models.WrFtDeliveryGoods:
  18501. properties:
  18502. deliverygoodscode:
  18503. description: 品种代码
  18504. type: string
  18505. deliverygoodsid:
  18506. description: 品种ID
  18507. type: integer
  18508. deliverygoodsname:
  18509. description: 品种名称
  18510. type: string
  18511. wdlst:
  18512. description: 商品列表
  18513. items:
  18514. $ref: '#/definitions/models.WrFtWrstandard'
  18515. type: array
  18516. type: object
  18517. models.WrFtWrstandard:
  18518. properties:
  18519. enumdicname:
  18520. description: 单位名称
  18521. type: string
  18522. minivalue:
  18523. description: 最小变动值
  18524. type: integer
  18525. wrstandardcode:
  18526. description: 现货商品代码
  18527. type: string
  18528. wrstandardid:
  18529. description: 现货商品ID
  18530. type: integer
  18531. wrstandardname:
  18532. description: 商品名称
  18533. type: string
  18534. type: object
  18535. models.WrGoodsInfo:
  18536. properties:
  18537. haswr:
  18538. description: 0:仓单预售 1:仓单贸易
  18539. type: integer
  18540. lstitem:
  18541. description: 商品信息项
  18542. items:
  18543. $ref: '#/definitions/models.WrTypeItem'
  18544. type: array
  18545. lststep:
  18546. description: 履约规则
  18547. items:
  18548. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18549. type: array
  18550. marketid:
  18551. description: 市场id
  18552. type: integer
  18553. type: object
  18554. models.WrGoodsPerformanceStep:
  18555. properties:
  18556. autoid:
  18557. description: AutoID
  18558. type: integer
  18559. isauto:
  18560. description: 是否自动 - 0:不自动 1:自动
  18561. type: integer
  18562. remark:
  18563. description: 备注
  18564. type: string
  18565. stepdate:
  18566. description: 天数信息(T+N)
  18567. type: string
  18568. stepdays:
  18569. description: 距离上一步天数
  18570. type: integer
  18571. stepindex:
  18572. description: 步骤序号
  18573. type: integer
  18574. stepinfo:
  18575. description: 步骤信息(步骤名称+步骤值)
  18576. type: string
  18577. steptypeid:
  18578. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18579. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18580. type: integer
  18581. steptypename:
  18582. description: 步骤名称
  18583. type: string
  18584. stepvalue:
  18585. description: 期初均价
  18586. type: number
  18587. templateid:
  18588. description: 履约计划模板ID
  18589. type: integer
  18590. type: object
  18591. models.WrHoldLB:
  18592. properties:
  18593. accountid:
  18594. description: 持有人帐户ID
  18595. type: integer
  18596. bannerpicurl:
  18597. description: Banner图
  18598. type: string
  18599. createtime:
  18600. description: 创建时间(过户时间)
  18601. type: string
  18602. deliverygoodscode:
  18603. description: 品种代码
  18604. type: string
  18605. deliverygoodsid:
  18606. description: 品种ID
  18607. type: integer
  18608. deliverygoodsname:
  18609. description: 品种名称
  18610. type: string
  18611. enableqty:
  18612. description: 可用数量
  18613. type: number
  18614. enumdicname:
  18615. description: 单位名称
  18616. type: string
  18617. freezerqty:
  18618. description: 冻结数量
  18619. type: number
  18620. ladingbillid:
  18621. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18622. type: string
  18623. minivalue:
  18624. description: 现货商品最小变动值
  18625. type: integer
  18626. optioncompare:
  18627. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18628. type: string
  18629. parentsubnum:
  18630. description: 拆分父子单号
  18631. type: integer
  18632. pledgeqty:
  18633. description: 质押数量
  18634. type: number
  18635. qty:
  18636. description: 数量
  18637. type: number
  18638. subnum:
  18639. description: 提单子单号
  18640. type: integer
  18641. thumurls:
  18642. description: 缩略图
  18643. type: string
  18644. tradedate:
  18645. description: 交易日(yyyyMMdd)
  18646. type: string
  18647. userid:
  18648. description: 持有人ID
  18649. type: integer
  18650. warehouseid:
  18651. description: 仓库ID
  18652. type: integer
  18653. warehousename:
  18654. description: 仓库名称
  18655. type: string
  18656. wrfactortypeid:
  18657. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18658. type: string
  18659. wrfactortypename:
  18660. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18661. type: string
  18662. wrholdeno:
  18663. description: 仓单编号
  18664. type: string
  18665. wrid:
  18666. description: 仓单变更ID
  18667. type: string
  18668. wrstandardcode:
  18669. description: 现货商品代码
  18670. type: string
  18671. wrstandardid:
  18672. description: 现货商品ID
  18673. type: integer
  18674. wrstandardname:
  18675. description: 商品名称
  18676. type: string
  18677. wrtypename:
  18678. description: 商品
  18679. type: string
  18680. type: object
  18681. models.WrMarketTradeConfig:
  18682. properties:
  18683. basisdownratio:
  18684. description: 浮动价基差下限比例(仓单贸易)
  18685. type: number
  18686. basisupratio:
  18687. description: 浮动价基差上限比例(仓单贸易)
  18688. type: number
  18689. buychargealgorithm:
  18690. description: 买方手续费收取方式 1:比率 2:固定
  18691. type: integer
  18692. buychargealgorithm2:
  18693. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18694. type: integer
  18695. buychargealgorithmvalue:
  18696. description: 买方手续费设置值(交易所部分)
  18697. type: number
  18698. buychargealgorithmvalue2:
  18699. description: 买方手续费设置值(会员部分)
  18700. type: number
  18701. buychargealgorithmvalue3:
  18702. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18703. type: number
  18704. buychargealgorithmvalue4:
  18705. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18706. type: number
  18707. buyfirstmarginalgorithm:
  18708. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18709. type: integer
  18710. buyfirstmarginvalue:
  18711. description: 买方出价保证金设置值 - [竞拍]
  18712. type: number
  18713. buymarginalgorithm:
  18714. description: 买方保证金方式 - 1:比率 2:固定
  18715. type: integer
  18716. buymarginvalue:
  18717. description: 买方保证金设置值
  18718. type: number
  18719. buyreleaseratio:
  18720. description: 买方释放比率[2:分步履约]
  18721. type: number
  18722. executemode:
  18723. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18724. type: integer
  18725. executeside:
  18726. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18727. type: integer
  18728. failedchargealgorithm:
  18729. description: 流拍手续费收取方式 1:比率 2:固定
  18730. type: integer
  18731. failedchargevalue:
  18732. description: 流拍手续费设置值
  18733. type: number
  18734. failedchargevalue2:
  18735. description: 流拍卖方手续费设置值
  18736. type: number
  18737. holddays:
  18738. description: 合同期限[2:分步履约]
  18739. type: integer
  18740. listingmode:
  18741. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18742. type: integer
  18743. marketid:
  18744. description: 市场ID-仓单贸易、竞拍、预售
  18745. type: integer
  18746. minqty:
  18747. description: 最小执行量[2:分步履约]
  18748. type: number
  18749. modifierid:
  18750. description: 修改人
  18751. type: integer
  18752. nowrquotaflag:
  18753. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18754. type: integer
  18755. performancetempid:
  18756. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18757. 立即执行(-1)
  18758. type: integer
  18759. performancetempid2:
  18760. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18761. 立即执行
  18762. type: integer
  18763. performancetempid2s:
  18764. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18765. - 履约方式: 立即执行
  18766. type: string
  18767. performancetempids:
  18768. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18769. - 履约方式: 立即执行(-1)
  18770. type: string
  18771. performanceway:
  18772. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18773. type: integer
  18774. sellchargealgorithm:
  18775. description: 卖方手续费收取方式 1:比率 2:固定
  18776. type: integer
  18777. sellchargealgorithm2:
  18778. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18779. type: integer
  18780. sellchargealgorithmvalue:
  18781. description: 卖方手续费设置值(交易所部分)
  18782. type: number
  18783. sellchargealgorithmvalue2:
  18784. description: 卖方手续费设置值(会员部分)
  18785. type: number
  18786. sellchargealgorithmvalue3:
  18787. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18788. type: number
  18789. sellchargealgorithmvalue4:
  18790. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18791. type: number
  18792. sellmarginalgorithm:
  18793. description: 卖方保证金方式 - 1:比率 2:固定
  18794. type: integer
  18795. sellmarginvalue:
  18796. description: 卖方保证金设置值
  18797. type: number
  18798. sellmarginvalue2:
  18799. description: 卖方保证金设置值(无仓单)
  18800. type: number
  18801. sellreleaseratio:
  18802. description: 卖方释放比率[2:分步履约]
  18803. type: number
  18804. updatetime:
  18805. description: 更新时间
  18806. type: string
  18807. type: object
  18808. models.WrOrderDetail:
  18809. properties:
  18810. accountid:
  18811. description: 交易账号(资金账号)
  18812. type: integer
  18813. allfriendsflag:
  18814. description: 是否全好友可见 - 0:否 1:是
  18815. type: integer
  18816. amount:
  18817. description: 期初均价
  18818. type: number
  18819. bannerpicurl:
  18820. description: Banner图
  18821. type: string
  18822. begindate:
  18823. description: 开始交易日(yyyymmdd)
  18824. type: string
  18825. buyorsell:
  18826. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18827. type: integer
  18828. canbargain:
  18829. description: 是否可议价 - 0:不可 1:可
  18830. type: integer
  18831. cancelqty:
  18832. description: 撤销数量
  18833. type: number
  18834. canpart:
  18835. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18836. type: integer
  18837. delistminqty:
  18838. description: 起摘数量
  18839. type: integer
  18840. deliverygoodscode:
  18841. description: 品种代码
  18842. type: string
  18843. deliverygoodsid:
  18844. description: 品种ID
  18845. type: integer
  18846. deliverygoodsname:
  18847. description: 品种名称
  18848. type: string
  18849. deliverymonth:
  18850. description: 交收月
  18851. type: string
  18852. enddate:
  18853. description: 结束交易日(yyyymmdd)
  18854. type: string
  18855. enumdicname:
  18856. description: 单位名称
  18857. type: string
  18858. fixedprice:
  18859. description: 固定价格 - [挂牌]
  18860. type: number
  18861. freezecharge:
  18862. description: 期初均价
  18863. type: number
  18864. freezemargin:
  18865. description: 期初均价
  18866. type: number
  18867. futupricemove:
  18868. description: 期货升贴水
  18869. type: number
  18870. futushow:
  18871. description: 期货合约/升贴水
  18872. type: string
  18873. goodscode:
  18874. description: 期货合约
  18875. type: string
  18876. goodsid:
  18877. description: 期货商品id
  18878. type: integer
  18879. goodsname:
  18880. description: 商品名称
  18881. type: string
  18882. haswr:
  18883. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18884. type: integer
  18885. isspecified:
  18886. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18887. type: integer
  18888. ladingbillid:
  18889. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18890. type: string
  18891. marginvalue:
  18892. description: 期初均价
  18893. type: number
  18894. marketid:
  18895. description: 市场ID
  18896. type: integer
  18897. matchusername:
  18898. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18899. type: string
  18900. minivalue:
  18901. description: 现货商品最小变动值
  18902. type: integer
  18903. optioncompare:
  18904. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18905. type: string
  18906. orderqty:
  18907. description: 委托数量
  18908. type: number
  18909. ordertime:
  18910. description: 委托时间(挂牌时间)
  18911. type: string
  18912. performancetemplateid:
  18913. description: 履约模板id
  18914. type: integer
  18915. pricemove:
  18916. description: 升贴水(浮动价时填写) - [挂牌]
  18917. type: number
  18918. taname:
  18919. description: 交易用户名称(资金账号名称)
  18920. type: string
  18921. thumurls:
  18922. description: 缩略图
  18923. type: string
  18924. tradedate:
  18925. description: 交易日(yyyyMMdd)
  18926. type: string
  18927. tradeprice:
  18928. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18929. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18930. type: number
  18931. tradeqty:
  18932. description: 成交数量
  18933. type: number
  18934. userid:
  18935. description: 用户ID
  18936. type: integer
  18937. validtime:
  18938. description: 挂牌有效期
  18939. type: string
  18940. validtype:
  18941. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18942. type: integer
  18943. warehouseid:
  18944. description: 仓库ID
  18945. type: integer
  18946. warehousename:
  18947. description: 仓库名称
  18948. type: string
  18949. wrfactortypeid:
  18950. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18951. type: string
  18952. wrfactortypename:
  18953. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18954. type: string
  18955. wrpricetype:
  18956. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18957. type: integer
  18958. wrstandardcode:
  18959. description: 现货商品代码
  18960. type: string
  18961. wrstandardid:
  18962. description: 现货商品ID
  18963. type: integer
  18964. wrstandardname:
  18965. description: 商品名称
  18966. type: string
  18967. wrtradeorderid:
  18968. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18969. type: string
  18970. wrtradeorderstatus:
  18971. 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:撤单解冻贷款失败
  18972. type: integer
  18973. wrtradetype:
  18974. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18975. type: integer
  18976. wrtypename:
  18977. description: 商品
  18978. type: string
  18979. type: object
  18980. models.WrOrderQuote:
  18981. properties:
  18982. bannerpicurl:
  18983. description: Banner图
  18984. type: string
  18985. buyprice:
  18986. description: 买价
  18987. type: number
  18988. buypricemove:
  18989. description: 买升贴水(基差)
  18990. type: number
  18991. buyqty:
  18992. description: 买量
  18993. type: number
  18994. deliverygoodscode:
  18995. description: 品种代码
  18996. type: string
  18997. deliverygoodsid:
  18998. description: 品种id
  18999. type: integer
  19000. deliverygoodsname:
  19001. description: 品种名称
  19002. type: string
  19003. deliverymonth:
  19004. description: 交收月
  19005. type: string
  19006. enumdicname:
  19007. description: 单位名称
  19008. type: string
  19009. goodscode:
  19010. description: 商品合约(浮动价列表才有)
  19011. type: string
  19012. goodsid:
  19013. description: 商品id(浮动价列表才有)
  19014. type: integer
  19015. minivalue:
  19016. description: 现货商品最小变动值
  19017. type: integer
  19018. pictureurls:
  19019. description: 详情图片(逗号分隔)
  19020. type: string
  19021. sellprice:
  19022. description: 卖价
  19023. type: number
  19024. sellpricemove:
  19025. description: 卖升贴水(基差)
  19026. type: number
  19027. sellqty:
  19028. description: 卖量
  19029. type: number
  19030. thumurls:
  19031. description: 缩略图片(1:1)(逗号分隔)
  19032. type: string
  19033. warehousecode:
  19034. description: 仓库代码
  19035. type: string
  19036. warehouseid:
  19037. description: 仓库id
  19038. type: integer
  19039. warehousename:
  19040. description: 仓库名称
  19041. type: string
  19042. wrfactortypeid:
  19043. description: 仓单要素id
  19044. type: string
  19045. wrfactortypename:
  19046. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19047. type: string
  19048. wrgoodsname:
  19049. description: 商品(商品名称+仓库要素名称 拼接)
  19050. type: string
  19051. wrstandardcode:
  19052. description: 商品代码
  19053. type: string
  19054. wrstandardid:
  19055. description: 商品id
  19056. type: integer
  19057. wrstandardname:
  19058. description: 商品名称
  19059. type: string
  19060. type: object
  19061. models.WrOrderQuoteDetail:
  19062. properties:
  19063. buyorsell:
  19064. description: 买卖 - 0:买 1:卖
  19065. type: integer
  19066. delistminqty:
  19067. description: 期初均价
  19068. type: number
  19069. deliverymonth:
  19070. description: 交收月
  19071. type: string
  19072. enumdicname:
  19073. description: 单位名称
  19074. type: string
  19075. fixedprice:
  19076. description: 买(卖)价
  19077. type: number
  19078. marketid:
  19079. description: 市场id
  19080. type: integer
  19081. minivalue:
  19082. description: 现货商品最小变动值
  19083. type: integer
  19084. orderqty:
  19085. description: 买(卖)量(=委托量-成交量)
  19086. type: number
  19087. ordertime:
  19088. description: 委托时间
  19089. type: string
  19090. pricemove:
  19091. description: 买(卖)升贴水- 基差
  19092. type: number
  19093. userid:
  19094. description: 购买方(销售方)用户ID
  19095. type: integer
  19096. username:
  19097. description: 购买方(销售方)
  19098. type: string
  19099. wrtradeorderid:
  19100. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19101. type: string
  19102. type: object
  19103. models.WrOutInApply:
  19104. properties:
  19105. applyid:
  19106. description: 申请单id
  19107. type: string
  19108. applystatus:
  19109. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19110. 8:已撤销
  19111. type: integer
  19112. applytime:
  19113. description: 申请时间
  19114. type: string
  19115. applytype:
  19116. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19117. type: integer
  19118. bannerpicurl:
  19119. description: Banner图
  19120. type: string
  19121. begindate:
  19122. description: 开始交易日(yyyymmdd)
  19123. type: string
  19124. deliverygoodscode:
  19125. description: 品种代码
  19126. type: string
  19127. deliverygoodsid:
  19128. description: 品种ID
  19129. type: integer
  19130. deliverygoodsname:
  19131. description: 品种名称
  19132. type: string
  19133. enddate:
  19134. description: 结束交易日(yyyymmdd)
  19135. type: string
  19136. enumdicname:
  19137. description: 单位名称
  19138. type: string
  19139. expresscompany:
  19140. description: 物流公司
  19141. type: string
  19142. expressnum:
  19143. description: 物流单号
  19144. type: string
  19145. minivalue:
  19146. description: 现货商品最小变动值
  19147. type: integer
  19148. optioncompare:
  19149. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19150. type: string
  19151. qty:
  19152. description: 数量
  19153. type: integer
  19154. userid:
  19155. description: 用户id
  19156. type: integer
  19157. warehouseid:
  19158. description: 仓库ID
  19159. type: integer
  19160. warehousename:
  19161. description: 仓库名称
  19162. type: string
  19163. wrfactortypeid:
  19164. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19165. type: string
  19166. wrfactortypename:
  19167. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19168. type: string
  19169. wrstandardcode:
  19170. description: 现货商品代码
  19171. type: string
  19172. wrstandardid:
  19173. description: 现货商品ID
  19174. type: integer
  19175. wrstandardname:
  19176. description: 商品名称
  19177. type: string
  19178. wrtypename:
  19179. description: 商品
  19180. type: string
  19181. type: object
  19182. models.WrPerformancePlan:
  19183. properties:
  19184. activatemonth:
  19185. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19186. type: string
  19187. amount:
  19188. description: 履约金额(总金额)
  19189. type: number
  19190. begindate:
  19191. description: 开始交易日(yyyymmdd)
  19192. type: string
  19193. buyaccountid:
  19194. description: 买方账号
  19195. type: integer
  19196. buyerfreezeamount:
  19197. description: 履约冻结(买履约)
  19198. type: number
  19199. buyerfreezeamountremain:
  19200. description: 履约冻结剩余(买履约)
  19201. type: number
  19202. buyorsell:
  19203. description: 买卖方向 0-买 1-卖
  19204. type: integer
  19205. buypaidamount:
  19206. description: 买方已冻/已扣金额 (已付金额)
  19207. type: number
  19208. buyusername:
  19209. description: 买方名字
  19210. type: string
  19211. contractid:
  19212. description: 合同ID
  19213. type: integer
  19214. createtime:
  19215. description: 创建时间
  19216. type: string
  19217. creatorid:
  19218. description: 创建人
  19219. type: integer
  19220. curstepdeadline:
  19221. description: 当前步骤到期时间
  19222. type: string
  19223. curstepid:
  19224. description: 当前步骤ID
  19225. type: string
  19226. curstepname:
  19227. description: 当前步骤名称
  19228. type: string
  19229. deliverygoodscode:
  19230. description: 品种代码
  19231. type: string
  19232. deliverygoodsid:
  19233. description: 品种ID
  19234. type: integer
  19235. deliverygoodsname:
  19236. description: 品种名称
  19237. type: string
  19238. enddate:
  19239. description: 结束交易日(yyyymmdd)
  19240. type: string
  19241. enumdicname:
  19242. description: 单位名称
  19243. type: string
  19244. expressfee:
  19245. description: 运费
  19246. type: number
  19247. expressfeeconfirmed:
  19248. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19249. type: integer
  19250. hasovershort:
  19251. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19252. type: integer
  19253. haswr:
  19254. description: 类型 0-仓单预售 1-仓单贸易
  19255. type: integer
  19256. marketid:
  19257. description: 市场ID
  19258. type: integer
  19259. middleaccountid:
  19260. description: 中间商资金账号ID
  19261. type: integer
  19262. middleuserid:
  19263. description: 中间商用户ID
  19264. type: integer
  19265. minivalue:
  19266. description: 现货商品最小变动值
  19267. type: integer
  19268. optioncompare:
  19269. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19270. type: string
  19271. overshortamount:
  19272. description: 溢短金额
  19273. type: number
  19274. overshortqty:
  19275. description: 溢短数量
  19276. type: number
  19277. paymenttype:
  19278. description: 付款方式 - 1:冻结 2:扣款
  19279. type: integer
  19280. performanceplanid:
  19281. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19282. type: string
  19283. performancestatus:
  19284. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19285. 9:超时待处理 10:超时关闭
  19286. type: integer
  19287. performancetype:
  19288. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19289. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19290. type: integer
  19291. qty:
  19292. description: 履约数量
  19293. type: number
  19294. relatedorderid:
  19295. description: 关联单号(履约类型的关联单号)
  19296. type: string
  19297. remark:
  19298. description: 备注
  19299. type: string
  19300. sellaccountid:
  19301. description: 卖方账号
  19302. type: integer
  19303. sellerfreezeamount:
  19304. description: 履约冻结(卖履约)
  19305. type: number
  19306. sellerfreezeamountremain:
  19307. description: 履约冻结剩余(卖履约)
  19308. type: number
  19309. sellreceivedamount:
  19310. description: 卖方已收金额
  19311. type: number
  19312. sellusername:
  19313. description: 卖方名字
  19314. type: string
  19315. shipremark:
  19316. description: 发货备注[物流单号]
  19317. type: string
  19318. starttime:
  19319. description: 开始时间
  19320. type: string
  19321. steptypeid:
  19322. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19323. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19324. type: integer
  19325. typename:
  19326. description: 履约类型 名称
  19327. type: string
  19328. unpaidamount:
  19329. description: 期初均价
  19330. type: number
  19331. userid:
  19332. description: 用户id
  19333. type: integer
  19334. warehouseid:
  19335. description: 仓库ID
  19336. type: integer
  19337. warehousename:
  19338. description: 仓库名称
  19339. type: string
  19340. wrfactortypeid:
  19341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19342. type: string
  19343. wrfactortypename:
  19344. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19345. type: string
  19346. wrstandardcode:
  19347. description: 现货商品代码
  19348. type: string
  19349. wrstandardid:
  19350. description: 现货商品ID
  19351. type: integer
  19352. wrstandardname:
  19353. description: 商品名称
  19354. type: string
  19355. wrtransferuserid:
  19356. description: 仓单受让用户
  19357. type: integer
  19358. wrtypename:
  19359. description: 商品
  19360. type: string
  19361. required:
  19362. - userid
  19363. type: object
  19364. models.WrPerformancePlanStep:
  19365. properties:
  19366. delaydays:
  19367. description: 延期申请天数
  19368. type: integer
  19369. deliverygoodscode:
  19370. description: 品种代码
  19371. type: string
  19372. deliverygoodsid:
  19373. description: 品种ID
  19374. type: integer
  19375. deliverygoodsname:
  19376. description: 品种名称
  19377. type: string
  19378. endtime:
  19379. description: 结束日期
  19380. type: string
  19381. enumdicname:
  19382. description: 单位名称
  19383. type: string
  19384. executeside:
  19385. description: 步骤执行方 - 1:买方 2:卖方
  19386. type: integer
  19387. handlestatus:
  19388. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19389. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19390. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19391. type: integer
  19392. isauto:
  19393. description: 是否自动 - 0:不自动 1:自动
  19394. type: integer
  19395. islastreceivestep:
  19396. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19397. type: integer
  19398. minivalue:
  19399. description: 现货商品最小变动值
  19400. type: integer
  19401. optioncompare:
  19402. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19403. type: string
  19404. overdays:
  19405. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19406. type: integer
  19407. performancestepid:
  19408. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19409. type: string
  19410. planid:
  19411. description: 所属履约计划ID
  19412. type: string
  19413. realamount:
  19414. description: 实际完成金额
  19415. type: number
  19416. relatedorderid:
  19417. description: 关联单号
  19418. type: string
  19419. remaindays:
  19420. description: 剩余天数
  19421. type: integer
  19422. remark:
  19423. description: 错误备注
  19424. type: string
  19425. starttime:
  19426. description: 开始日期
  19427. type: string
  19428. stepamount:
  19429. description: 步骤金额
  19430. type: number
  19431. stepdays:
  19432. description: 距离上一步天数(分钟)
  19433. type: integer
  19434. stepindex:
  19435. description: 步骤序号
  19436. type: integer
  19437. steplanchtype:
  19438. description: 步骤启动类型 - 1:系统自动 2:手动
  19439. type: integer
  19440. stepremark:
  19441. description: 步骤备注
  19442. type: string
  19443. stepstatus:
  19444. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19445. type: integer
  19446. steptypeid:
  19447. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19448. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19449. type: integer
  19450. steptypename:
  19451. description: 步骤名称
  19452. type: string
  19453. stepvalue:
  19454. description: 步骤值
  19455. type: number
  19456. warehouseid:
  19457. description: 仓库ID
  19458. type: integer
  19459. warehousename:
  19460. description: 仓库名称
  19461. type: string
  19462. wrfactortypeid:
  19463. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19464. type: string
  19465. wrfactortypename:
  19466. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19467. type: string
  19468. wrstandardcode:
  19469. description: 现货商品代码
  19470. type: string
  19471. wrstandardid:
  19472. description: 现货商品ID
  19473. type: integer
  19474. wrstandardname:
  19475. description: 商品名称
  19476. type: string
  19477. wrtypename:
  19478. description: 商品
  19479. type: string
  19480. type: object
  19481. models.WrPerformanceStepType:
  19482. properties:
  19483. canauto:
  19484. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19485. type: integer
  19486. steptypeid:
  19487. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19488. type: integer
  19489. steptypename:
  19490. description: 步骤类型名称
  19491. type: string
  19492. type: object
  19493. models.WrPerformanceTemplateEx:
  19494. properties:
  19495. autoid:
  19496. description: AutoID 模板id
  19497. type: integer
  19498. createtime:
  19499. description: 创建时间
  19500. type: string
  19501. creatorid:
  19502. description: 创建人
  19503. type: integer
  19504. lstStep:
  19505. description: 步骤信息列表
  19506. items:
  19507. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19508. type: array
  19509. paymenttype:
  19510. description: 支付方式 - 1:冻结 2:扣款
  19511. type: integer
  19512. takemode:
  19513. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19514. type: integer
  19515. templatename:
  19516. description: 模板名称
  19517. type: string
  19518. templatetype:
  19519. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19520. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19521. type: integer
  19522. userid:
  19523. description: 所属用户
  19524. type: integer
  19525. type: object
  19526. models.WrPosition:
  19527. properties:
  19528. accountid:
  19529. description: 帐户ID
  19530. type: integer
  19531. buyexcuteqty:
  19532. description: 采购履约中数量
  19533. type: number
  19534. creditcurqty:
  19535. description: 授信当前数量(预售仓单:预售当前量)
  19536. type: number
  19537. creditenableqty:
  19538. description: '授信可用数量(预售仓单: 可用数量)'
  19539. type: number
  19540. creditfreezeqty:
  19541. description: '授信冻结数量(预售仓单: 当前数量)'
  19542. type: number
  19543. credittotalqty:
  19544. description: 授信总数量(预售仓单:预售总量)
  19545. type: number
  19546. credittradeqty:
  19547. description: 授信成交数量(预售仓单:成交总量)
  19548. type: number
  19549. deliverygoodscode:
  19550. description: 品种代码
  19551. type: string
  19552. deliverygoodsid:
  19553. description: 品种ID
  19554. type: integer
  19555. deliverygoodsname:
  19556. description: 品种名称
  19557. type: string
  19558. enalbeqty:
  19559. description: 可用数量
  19560. type: number
  19561. enumdicname:
  19562. description: 单位名称
  19563. type: string
  19564. freezeqty:
  19565. description: 总冻结数量
  19566. type: number
  19567. haswr:
  19568. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19569. type: integer
  19570. minivalue:
  19571. description: 现货商品最小变动值
  19572. type: integer
  19573. modifytime:
  19574. description: 修改时间(过户时间)
  19575. type: string
  19576. optioncompare:
  19577. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19578. type: string
  19579. pledgeqty:
  19580. description: 质押数量
  19581. type: number
  19582. querytype:
  19583. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19584. type: integer
  19585. sellexcuteqty:
  19586. description: 销售履约中数量
  19587. type: number
  19588. totalqty:
  19589. description: 总数量(库存数量)
  19590. type: number
  19591. warehouseid:
  19592. description: 仓库ID
  19593. type: integer
  19594. warehousename:
  19595. description: 仓库名称
  19596. type: string
  19597. wrfactortypeid:
  19598. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19599. type: string
  19600. wrfactortypename:
  19601. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19602. type: string
  19603. wrpositionid:
  19604. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19605. type: string
  19606. wrpositionno:
  19607. description: 仓单编号
  19608. type: string
  19609. wrstandardcode:
  19610. description: 现货商品代码
  19611. type: string
  19612. wrstandardid:
  19613. description: 现货商品ID
  19614. type: integer
  19615. wrstandardname:
  19616. description: 商品名称
  19617. type: string
  19618. wrtypename:
  19619. description: 商品
  19620. type: string
  19621. wruserid:
  19622. description: 持有人ID
  19623. type: integer
  19624. type: object
  19625. models.WrPreSaleInfo:
  19626. properties:
  19627. bannerpicurl:
  19628. description: Banner图
  19629. type: string
  19630. baseqty:
  19631. description: 中签基数
  19632. type: number
  19633. createtime:
  19634. description: 创建时间
  19635. type: string
  19636. deliverygoodsid:
  19637. description: 现货品种ID
  19638. type: integer
  19639. enddate:
  19640. description: 预售结束日期
  19641. type: string
  19642. enumdicname:
  19643. description: 单位名称
  19644. type: string
  19645. lotteryflag:
  19646. description: 摇号标识 - 0:未摇号 1:已摇号
  19647. type: integer
  19648. lotteryqty:
  19649. description: 摇号总量
  19650. type: number
  19651. luckyqty:
  19652. description: 已中签量
  19653. type: number
  19654. marketid:
  19655. description: 市场ID
  19656. type: integer
  19657. maxbuyqty:
  19658. description: 单人最大申购量
  19659. type: number
  19660. maxluckyqty:
  19661. description: 单人最大中签量
  19662. type: number
  19663. pictureurls:
  19664. description: 详情图片(逗号分隔)
  19665. type: string
  19666. placeqty:
  19667. description: 已配售量
  19668. type: number
  19669. presaleapplyid:
  19670. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19671. example: "0"
  19672. type: string
  19673. presaleqty:
  19674. description: 预售总量
  19675. type: number
  19676. presalestatus:
  19677. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19678. type: integer
  19679. sellaccountid:
  19680. description: 发行方资金账户ID
  19681. type: integer
  19682. selluserid:
  19683. description: 发行方用户ID
  19684. type: integer
  19685. sellwrtradeorderid:
  19686. description: 发行方卖委托单ID
  19687. type: string
  19688. startdate:
  19689. description: 预售开始日期
  19690. type: string
  19691. takestartdate:
  19692. description: 提货开始日期
  19693. type: string
  19694. thumurls:
  19695. description: 缩略图片(1:1)(逗号分隔)
  19696. type: string
  19697. tradedate:
  19698. description: 交易日
  19699. type: string
  19700. unitid:
  19701. description: 单位ID
  19702. type: integer
  19703. unitprice:
  19704. description: 商品单价
  19705. type: number
  19706. username:
  19707. description: 发行方用户名称
  19708. type: string
  19709. warehousecode:
  19710. description: 仓库代码(仓库简称)
  19711. type: string
  19712. warehouseid:
  19713. description: 仓库ID
  19714. type: integer
  19715. warehousename:
  19716. description: 仓库名称
  19717. type: string
  19718. wrfactortypeid:
  19719. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19720. example: "0"
  19721. type: string
  19722. wrstandardid:
  19723. description: 现货商品ID
  19724. type: integer
  19725. wrstandardname:
  19726. description: 现货商品名称
  19727. type: string
  19728. type: object
  19729. models.WrQuoteOrderMyq:
  19730. properties:
  19731. buyorsell:
  19732. description: 买卖 - 0:买 1:卖
  19733. type: integer
  19734. canbargain:
  19735. description: 是否可议价 - 0:不可 1:可
  19736. type: integer
  19737. canpart:
  19738. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19739. type: integer
  19740. delistminqty:
  19741. description: 期初均价
  19742. type: number
  19743. deliverygoodscode:
  19744. description: 品种代码
  19745. type: string
  19746. deliverygoodsid:
  19747. description: 品种ID
  19748. type: integer
  19749. deliverygoodsname:
  19750. description: 品种名称
  19751. type: string
  19752. deliverymonth:
  19753. description: 交收月
  19754. type: string
  19755. enumdicname:
  19756. description: 单位名称
  19757. type: string
  19758. fixedprice:
  19759. description: 买(卖)价
  19760. type: number
  19761. goodscode:
  19762. description: 商品合约代码
  19763. type: string
  19764. marginflag:
  19765. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19766. type: integer
  19767. marginvalue:
  19768. description: 保证金设置值
  19769. type: number
  19770. minivalue:
  19771. description: 现货商品最小变动值
  19772. type: integer
  19773. orderqty:
  19774. description: 买(卖)量(=委托量-成交量)
  19775. type: number
  19776. ordertime:
  19777. description: 委托时间
  19778. type: string
  19779. performancetemplateid:
  19780. description: 履约模板id
  19781. type: integer
  19782. pricemove:
  19783. description: 买(卖)升贴水- 基差
  19784. type: number
  19785. templatename:
  19786. description: 履约模板名称
  19787. type: string
  19788. userid:
  19789. description: 购买方(销售方)用户ID
  19790. type: integer
  19791. username:
  19792. description: 购买方(销售方)
  19793. type: string
  19794. validtime:
  19795. description: 有效期限
  19796. type: string
  19797. validtype:
  19798. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19799. type: integer
  19800. warehousename:
  19801. description: 仓库名称
  19802. type: string
  19803. wrfactortypeid:
  19804. description: 仓单要素id
  19805. type: string
  19806. wrstandardcode:
  19807. description: 现货商品代码
  19808. type: string
  19809. wrstandardid:
  19810. description: 现货商品ID
  19811. type: integer
  19812. wrstandardname:
  19813. description: 商品名称
  19814. type: string
  19815. wrtradeorderid:
  19816. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19817. type: string
  19818. wrtypename:
  19819. description: 商品
  19820. type: string
  19821. type: object
  19822. models.WrReckonSpotGoodsTradeSum:
  19823. properties:
  19824. begindate:
  19825. description: 开始日期(结果含开始日期) yyyymmdd
  19826. type: string
  19827. enddate:
  19828. description: 结束日期(结果含结束日期) yyyymmdd
  19829. type: string
  19830. istoday:
  19831. description: 是否当日
  19832. type: boolean
  19833. marketid:
  19834. description: 市场ID
  19835. type: integer
  19836. price:
  19837. description: 价格 = 日成交金额 / 日成交数量
  19838. type: string
  19839. reckondate:
  19840. description: 日期 格式 yyyymmdd
  19841. type: string
  19842. tradeamount:
  19843. description: 期初均价
  19844. type: number
  19845. tradeqty:
  19846. description: 期初均价
  19847. type: number
  19848. wrstandardid:
  19849. description: 现货商品ID
  19850. type: integer
  19851. type: object
  19852. models.WrScfContract:
  19853. properties:
  19854. borroweruserid:
  19855. description: 借款用户ID
  19856. type: integer
  19857. buybackwrpositionqty:
  19858. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19859. type: number
  19860. closeinterest:
  19861. description: 已结利息 -> 已结费用
  19862. type: number
  19863. currisklevel:
  19864. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19865. type: integer
  19866. deadline:
  19867. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19868. type: string
  19869. deliverygoodscode:
  19870. description: 品种代码
  19871. type: string
  19872. deliverygoodsid:
  19873. description: 品种ID
  19874. type: integer
  19875. deliverygoodsname:
  19876. description: 品种名称
  19877. type: string
  19878. enumdicname:
  19879. description: 单位名称
  19880. type: string
  19881. financingdays:
  19882. description: 天数(天)
  19883. type: integer
  19884. initmargin:
  19885. description: 保证金 - [仓单回购]
  19886. type: number
  19887. interestamount:
  19888. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19889. type: number
  19890. interestdebt:
  19891. description: 利息欠款(记录负数) -> 费用欠款
  19892. type: number
  19893. interestminlen:
  19894. description: 最小起息天数
  19895. type: integer
  19896. interestrate:
  19897. description: 利率
  19898. type: number
  19899. interestratemode:
  19900. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19901. type: integer
  19902. interestsettlemode:
  19903. description: 结息方式 - 1:按日结息 3:按月结息
  19904. type: integer
  19905. interestsettlevalue:
  19906. description: 结息方式值
  19907. type: integer
  19908. isautoloan:
  19909. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19910. type: integer
  19911. lastcloseinterestday:
  19912. description: 最近结息日(yyyyMMdd)
  19913. type: string
  19914. lenderamount:
  19915. description: 贷款金额 -> 借款金额
  19916. type: number
  19917. lenderuserid:
  19918. description: 贷款方用户ID -> 融出方用户ID
  19919. type: integer
  19920. lenderusername:
  19921. description: 融出方
  19922. type: string
  19923. marginratio:
  19924. description: 保证金比率质押率 - [仓单质押]
  19925. type: number
  19926. marketid:
  19927. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19928. type: integer
  19929. minivalue:
  19930. description: 现货商品最小变动值
  19931. type: integer
  19932. optioncompare:
  19933. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19934. type: string
  19935. pricemove:
  19936. description: 估值升贴水值
  19937. type: number
  19938. productdetailid:
  19939. description: 产品组合ID
  19940. type: integer
  19941. productid:
  19942. description: 金融产品ID
  19943. type: integer
  19944. productname:
  19945. description: 产品名称
  19946. type: string
  19947. remainamount:
  19948. description: 合同剩余金额 -> 剩余金额
  19949. type: number
  19950. remainwrpositionqty:
  19951. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19952. type: number
  19953. remark:
  19954. description: 备注
  19955. type: string
  19956. scfcontractid:
  19957. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19958. type: string
  19959. scfcontractstatus:
  19960. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19961. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19962. type: integer
  19963. scfcontracttype:
  19964. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19965. type: integer
  19966. startinterestday:
  19967. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19968. type: string
  19969. totalinterest:
  19970. description: 已计利息 -> 已计费用
  19971. type: number
  19972. unpaidinterest:
  19973. description: 期初均价
  19974. type: number
  19975. updatetime:
  19976. description: 更新时间
  19977. type: string
  19978. warehouseid:
  19979. description: 仓库ID
  19980. type: integer
  19981. warehousename:
  19982. description: 仓库名称
  19983. type: string
  19984. wrfactortypeid:
  19985. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19986. type: string
  19987. wrfactortypename:
  19988. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19989. type: string
  19990. wrqty:
  19991. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19992. type: number
  19993. wrstandardcode:
  19994. description: 现货商品代码
  19995. type: string
  19996. wrstandardid:
  19997. description: 现货商品ID
  19998. type: integer
  19999. wrstandardname:
  20000. description: 商品名称
  20001. type: string
  20002. wrtypename:
  20003. description: 商品
  20004. type: string
  20005. type: object
  20006. models.WrScfContractInterest:
  20007. properties:
  20008. closeinterest:
  20009. description: 已结利息
  20010. type: number
  20011. closeintereststatus:
  20012. description: 结息状态 - 1:未结 2:已结
  20013. type: integer
  20014. closetime:
  20015. description: 结息时间
  20016. type: string
  20017. closetradedate:
  20018. description: 结息交易日
  20019. type: string
  20020. creatorid:
  20021. description: 操作人ID
  20022. type: integer
  20023. dayrate:
  20024. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20025. type: number
  20026. interest:
  20027. description: 利息
  20028. type: number
  20029. interestamount:
  20030. description: 计息金额
  20031. type: number
  20032. interestday:
  20033. description: 计息日(yyyyMMdd)
  20034. type: string
  20035. scfcontractid:
  20036. description: SCF合同ID
  20037. type: string
  20038. scfcontractinterestid:
  20039. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20040. type: integer
  20041. updatetime:
  20042. description: 更新时间
  20043. type: string
  20044. type: object
  20045. models.WrSearchUser:
  20046. properties:
  20047. userid:
  20048. description: 用户ID
  20049. type: integer
  20050. username:
  20051. description: 用户名称(已脱敏)
  20052. type: string
  20053. username2:
  20054. description: 用户名称(未脱敏)
  20055. type: string
  20056. usertype:
  20057. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20058. type: integer
  20059. required:
  20060. - username
  20061. type: object
  20062. models.WrSiteColumnDetail:
  20063. properties:
  20064. brief:
  20065. description: 简介
  20066. type: string
  20067. context:
  20068. description: 内容
  20069. type: string
  20070. coverimage:
  20071. description: 封面图片
  20072. type: string
  20073. creaedate:
  20074. description: 创建时间
  20075. type: string
  20076. id:
  20077. description: ID(SEQ_SITE_COLUMNDETAIL)
  20078. type: integer
  20079. istop:
  20080. description: 是否置顶 - 0:不置 1:置顶
  20081. type: integer
  20082. publishdate:
  20083. description: 发布日期
  20084. type: string
  20085. title:
  20086. description: 标题
  20087. type: string
  20088. updatedate:
  20089. description: 修改时间
  20090. type: string
  20091. type: object
  20092. models.WrSpecialMatchOrder:
  20093. properties:
  20094. amount:
  20095. description: 金额 = 数量 * 价格
  20096. type: number
  20097. buyorsell:
  20098. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20099. type: integer
  20100. cancelqty:
  20101. description: 撤销数量
  20102. type: number
  20103. deliverygoodscode:
  20104. description: 品种代码
  20105. type: string
  20106. deliverygoodsid:
  20107. description: 品种ID
  20108. type: integer
  20109. deliverygoodsname:
  20110. description: 品种名称
  20111. type: string
  20112. enumdicname:
  20113. description: 单位名称
  20114. type: string
  20115. fixedprice:
  20116. description: 固定价格(价格)
  20117. type: number
  20118. haswr:
  20119. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20120. type: integer
  20121. isspecified:
  20122. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20123. type: integer
  20124. marketid:
  20125. description: 市场ID
  20126. type: integer
  20127. matchuserid:
  20128. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20129. type: integer
  20130. matchusername:
  20131. description: 指定方
  20132. type: string
  20133. minivalue:
  20134. description: 现货商品最小变动值
  20135. type: integer
  20136. optioncompare:
  20137. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20138. type: string
  20139. orderqty:
  20140. description: 委托数量
  20141. type: number
  20142. ordertime:
  20143. description: 委托时间
  20144. type: string
  20145. pricemove:
  20146. description: 升贴水(浮动价时填写) - [挂牌]
  20147. type: number
  20148. tradedate:
  20149. description: 交易日(yyyyMMdd)
  20150. type: string
  20151. tradeprice:
  20152. description: 成交价格
  20153. type: number
  20154. tradeqty:
  20155. description: 成交数量
  20156. type: number
  20157. userid:
  20158. description: 用户ID
  20159. type: integer
  20160. username:
  20161. description: 发起方
  20162. type: string
  20163. warehouseid:
  20164. description: 仓库ID
  20165. type: integer
  20166. warehousename:
  20167. description: 仓库名称
  20168. type: string
  20169. wrfactortypeid:
  20170. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20171. type: string
  20172. wrfactortypename:
  20173. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20174. type: string
  20175. wrpricetype:
  20176. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20177. type: integer
  20178. wrstandardcode:
  20179. description: 现货商品代码
  20180. type: string
  20181. wrstandardid:
  20182. description: 现货商品ID
  20183. type: integer
  20184. wrstandardname:
  20185. description: 商品名称
  20186. type: string
  20187. wrtradeorderid:
  20188. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20189. type: string
  20190. wrtradeorderstatus:
  20191. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20192. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20193. type: integer
  20194. wrtradetype:
  20195. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20196. type: integer
  20197. wrtypename:
  20198. description: 商品
  20199. type: string
  20200. type: object
  20201. models.WrSpotGroupTradeSum:
  20202. properties:
  20203. deliverygoodscode:
  20204. description: 现货品种代码
  20205. type: string
  20206. deliverygoodsid:
  20207. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20208. type: integer
  20209. deliverygoodsname:
  20210. description: 现货品种名称
  20211. type: string
  20212. lastavgprice:
  20213. description: 上上个交易日价格(前2天价格)
  20214. type: string
  20215. lastreckondate:
  20216. description: 上上个交易日(前2天交易日)
  20217. type: string
  20218. reckondate:
  20219. description: 上个交易日(前1天交易日)
  20220. type: string
  20221. todayavgprice:
  20222. description: 上个交易日价格(前1天价格)
  20223. type: string
  20224. updown:
  20225. description: 涨跌
  20226. type: string
  20227. updownratio:
  20228. description: 涨幅(已格式化, 直接显示即可)
  20229. type: string
  20230. type: object
  20231. models.WrSpotGroupTradeSumDetail:
  20232. properties:
  20233. deliverygoodsid:
  20234. description: 现货商品id
  20235. type: integer
  20236. price:
  20237. description: 价格
  20238. type: number
  20239. reckondate:
  20240. description: 日期(yyymmdd, 如:20211031)
  20241. type: string
  20242. type: object
  20243. models.WrSpotGroupTradeSumEx:
  20244. properties:
  20245. lst:
  20246. description: 指数列表
  20247. items:
  20248. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20249. type: array
  20250. prereckondate:
  20251. description: 上上个交易日(yyymmdd)
  20252. type: string
  20253. reckondate:
  20254. description: 上个交易日(yyyymmdd)
  20255. type: string
  20256. type: object
  20257. models.WrStandardFactoryItem:
  20258. properties:
  20259. dgfactoryitemid:
  20260. description: 选择项id
  20261. type: integer
  20262. dgfactoryitemvalue:
  20263. description: 要素项值
  20264. type: string
  20265. warehouseid:
  20266. description: 仓库id
  20267. type: integer
  20268. type: object
  20269. models.WrStandardFactoryItemEx:
  20270. properties:
  20271. dgfactoryitemtypeid:
  20272. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20273. type: integer
  20274. itemlst:
  20275. description: 要素项列表
  20276. items:
  20277. $ref: '#/definitions/models.WrStandardFactoryItem'
  20278. type: array
  20279. itemtypename:
  20280. description: 要素项类型名称
  20281. type: string
  20282. wrstandardid:
  20283. description: 品类
  20284. type: integer
  20285. type: object
  20286. models.WrTradeDetail:
  20287. properties:
  20288. accountid:
  20289. description: 资金账号
  20290. type: integer
  20291. bannerpicurl:
  20292. description: Banner图
  20293. type: string
  20294. begindate:
  20295. description: 开始交易日(yyyymmdd)
  20296. type: string
  20297. buyorsell:
  20298. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20299. type: integer
  20300. chargevalue:
  20301. description: 手续费
  20302. type: number
  20303. deliverygoodscode:
  20304. description: 品种代码
  20305. type: string
  20306. deliverygoodsid:
  20307. description: 品种ID
  20308. type: integer
  20309. deliverygoodsname:
  20310. description: 品种名称
  20311. type: string
  20312. deliverymonth:
  20313. description: 交收月
  20314. type: string
  20315. enddate:
  20316. description: 结束交易日(yyyymmdd)
  20317. type: string
  20318. enumdicname:
  20319. description: 单位名称
  20320. type: string
  20321. haswr:
  20322. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20323. type: integer
  20324. marketid:
  20325. description: 市场ID
  20326. type: integer
  20327. matchaccountid:
  20328. description: 对手账号
  20329. type: integer
  20330. matchusername:
  20331. description: 对手方
  20332. type: string
  20333. minivalue:
  20334. description: 现货商品最小变动值
  20335. type: integer
  20336. optioncompare:
  20337. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20338. type: string
  20339. thumurls:
  20340. description: 缩略图
  20341. type: string
  20342. tradedate:
  20343. description: 交易日(yyyyMMdd)
  20344. type: string
  20345. tradeprice:
  20346. description: 成交价格
  20347. type: number
  20348. tradeqty:
  20349. description: 成交数量
  20350. type: number
  20351. tradetime:
  20352. description: 成交时间
  20353. type: string
  20354. userid:
  20355. description: 用户ID
  20356. type: integer
  20357. warehouseid:
  20358. description: 仓库ID
  20359. type: integer
  20360. warehousename:
  20361. description: 仓库名称
  20362. type: string
  20363. wrfactortypeid:
  20364. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20365. type: string
  20366. wrfactortypename:
  20367. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20368. type: string
  20369. wrstandardcode:
  20370. description: 现货商品代码
  20371. type: string
  20372. wrstandardid:
  20373. description: 现货商品ID
  20374. type: integer
  20375. wrstandardname:
  20376. description: 商品名称
  20377. type: string
  20378. wrtradedetailid:
  20379. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20380. type: string
  20381. wrtradetype:
  20382. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20383. type: integer
  20384. wrtypename:
  20385. description: 商品
  20386. type: string
  20387. type: object
  20388. models.WrTradeOrderDetail:
  20389. properties:
  20390. buyorsell:
  20391. description: 买卖方向 0-买 1-卖
  20392. type: integer
  20393. goodsid:
  20394. description: 商品id
  20395. type: integer
  20396. orderid:
  20397. description: 委托单号
  20398. type: string
  20399. orderprice:
  20400. description: 期初均价
  20401. type: number
  20402. orderqty:
  20403. description: 委托数量
  20404. type: integer
  20405. userid:
  20406. description: 用户id
  20407. type: integer
  20408. username:
  20409. description: 用户名称(已脱敏)
  20410. type: string
  20411. type: object
  20412. models.WrTypeItem:
  20413. properties:
  20414. name:
  20415. description: 名称
  20416. type: string
  20417. value:
  20418. description: 值
  20419. type: string
  20420. type: object
  20421. models.WrUserFriend:
  20422. properties:
  20423. friendname:
  20424. description: 朋友名称(已脱敏)
  20425. type: string
  20426. frienduserid:
  20427. description: 朋友id
  20428. type: integer
  20429. isfriend:
  20430. description: 是否好友 0-不是 1-是
  20431. type: integer
  20432. userid:
  20433. description: 用户id
  20434. type: integer
  20435. type: object
  20436. models.WrUserReceiptInfo:
  20437. properties:
  20438. address:
  20439. description: 地址[发票类型:企业]
  20440. type: string
  20441. autoid:
  20442. description: AutoID
  20443. type: integer
  20444. contactinfo:
  20445. description: 联系方式
  20446. type: string
  20447. idnum:
  20448. description: 身份证号码[发票类型:个人]
  20449. type: string
  20450. isdefault:
  20451. description: 是否默认地址 - 0:否 1:是
  20452. type: integer
  20453. receiptaccount:
  20454. description: 发票帐号[发票类型:企业]
  20455. type: string
  20456. receiptbank:
  20457. description: 发票开户行[发票类型:企业]
  20458. type: string
  20459. receipttype:
  20460. description: 发票类型 - 1:个人 2:企业
  20461. type: integer
  20462. taxpayerid:
  20463. description: 纳税人识别号
  20464. type: string
  20465. userid:
  20466. description: 用户ID
  20467. type: integer
  20468. username:
  20469. description: 户名(个人姓名或企业名称)
  20470. type: string
  20471. type: object
  20472. models.Wrtradetradequote:
  20473. properties:
  20474. begindate:
  20475. description: 开始日期(结果含开始日期) yyyymmdd
  20476. type: string
  20477. buyaccountid:
  20478. description: 买方账号ID
  20479. type: integer
  20480. buyuserid:
  20481. description: 买方用户ID
  20482. type: integer
  20483. deliverygoodsid:
  20484. description: 现货品种ID
  20485. type: integer
  20486. enddate:
  20487. description: 结束日期(结果含结束日期) yyyymmdd
  20488. type: string
  20489. marketid:
  20490. description: 市场ID
  20491. type: integer
  20492. sellaccountid:
  20493. description: 卖方账号ID
  20494. type: integer
  20495. selluserid:
  20496. description: 卖方用户ID
  20497. type: integer
  20498. tradeamount:
  20499. description: 成交金额
  20500. type: number
  20501. tradedate:
  20502. description: 交易日(yyyyMMdd)
  20503. type: string
  20504. tradeprice:
  20505. description: 成交价格
  20506. type: number
  20507. tradeqty:
  20508. description: 成交数量
  20509. type: integer
  20510. tradetime:
  20511. description: 成交时间
  20512. type: string
  20513. wrfactortypeid:
  20514. description: 仓单要素类型ID
  20515. type: integer
  20516. wrstandardid:
  20517. description: 现货商品ID
  20518. type: integer
  20519. wrtradedetailid:
  20520. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20521. type: string
  20522. type: object
  20523. models.XHBRAND:
  20524. properties:
  20525. brandid:
  20526. description: 品牌id
  20527. type: integer
  20528. brandname:
  20529. description: 品牌名称
  20530. type: string
  20531. isvalid:
  20532. description: 是否有效 0-无效 1-有效
  20533. type: integer
  20534. type: object
  20535. models.XHDeliveryGoods:
  20536. properties:
  20537. areauserid:
  20538. description: 所属机构
  20539. type: integer
  20540. bdlst:
  20541. description: 品牌列表
  20542. items:
  20543. $ref: '#/definitions/models.XHBRAND'
  20544. type: array
  20545. deliverygoodscode:
  20546. description: 现货品种代码
  20547. type: string
  20548. deliverygoodsid:
  20549. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20550. type: integer
  20551. deliverygoodsname:
  20552. description: 现货品种名称
  20553. type: string
  20554. dgstatus:
  20555. description: 品种状态 - 作废 - 0:未激活 1:正常
  20556. type: integer
  20557. filterSubEmpty:
  20558. description: 过滤下级为空的
  20559. type: integer
  20560. isvalid:
  20561. description: 是否有效 - 0:无效 1:有效
  20562. type: integer
  20563. remark:
  20564. description: 备注
  20565. type: string
  20566. unitid:
  20567. description: 单位id(目前看,数据库中是空值)
  20568. type: integer
  20569. wdlst:
  20570. description: 品类(现货商品)列表
  20571. items:
  20572. $ref: '#/definitions/models.XHWrstandard'
  20573. type: array
  20574. type: object
  20575. models.XHMiddleGoods:
  20576. properties:
  20577. GPLST:
  20578. description: 期货品种列表
  20579. items:
  20580. $ref: '#/definitions/models.TBGoodsGroup'
  20581. type: array
  20582. convertratio:
  20583. description: 拆算系数
  20584. type: number
  20585. costratio:
  20586. description: 成本权重
  20587. type: number
  20588. deliverygoodsid:
  20589. description: 现货商品id
  20590. type: integer
  20591. enumdicname:
  20592. description: 单位名称
  20593. type: string
  20594. middlegoodscode:
  20595. description: 套保品种代码
  20596. type: string
  20597. middlegoodsid:
  20598. description: 套保品种id
  20599. type: integer
  20600. middlegoodsname:
  20601. description: 套保品种名称
  20602. type: string
  20603. unitid:
  20604. description: 单位id
  20605. type: integer
  20606. type: object
  20607. models.XHWrstandard:
  20608. properties:
  20609. bannerpicurl:
  20610. description: banner图
  20611. type: string
  20612. deliverygoodsid:
  20613. description: 品种ID
  20614. type: integer
  20615. enumdicname:
  20616. description: 单位名称
  20617. type: string
  20618. mglst:
  20619. description: 套保品列表
  20620. items:
  20621. $ref: '#/definitions/models.XHMiddleGoods'
  20622. type: array
  20623. pictureurls:
  20624. description: 详情图片(逗号分隔)
  20625. type: string
  20626. thumurls:
  20627. description: 缩略图片(1:1)(逗号分隔)
  20628. type: string
  20629. unitid:
  20630. description: 单位id
  20631. type: integer
  20632. vatrate:
  20633. description: 增值税率
  20634. type: number
  20635. wrstandardcode:
  20636. description: 现货商品代码
  20637. type: string
  20638. wrstandardid:
  20639. description: 现货商品ID(SEQ_WRSTANDARD)
  20640. type: integer
  20641. wrstandardname:
  20642. description: 现货商品名称
  20643. type: string
  20644. type: object
  20645. models.XhcpSellBackApplyEx:
  20646. properties:
  20647. applyremark:
  20648. description: 申请备注
  20649. type: string
  20650. expirytype:
  20651. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20652. type: integer
  20653. goodsspec:
  20654. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20655. type: integer
  20656. holeflag:
  20657. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20658. type: integer
  20659. isunopened:
  20660. description: 是否原封 - 1:否 2:是
  20661. type: integer
  20662. mpflag:
  20663. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20664. type: integer
  20665. openflag:
  20666. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20667. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20668. type: integer
  20669. phonenum:
  20670. description: 联系电话
  20671. type: string
  20672. userid:
  20673. description: 所属用户ID
  20674. type: integer
  20675. zpflag:
  20676. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20677. type: integer
  20678. required:
  20679. - userid
  20680. type: object
  20681. models.Xhcpsellbackapply:
  20682. properties:
  20683. applyid:
  20684. description: 申请人
  20685. type: integer
  20686. applyremark:
  20687. description: 申请备注
  20688. type: string
  20689. applysrc:
  20690. description: 申请来源 - 1:管理端 2:终端
  20691. type: integer
  20692. applystatus:
  20693. description: 申请状态 - 1:待确认 2:已处理
  20694. type: integer
  20695. applytime:
  20696. description: 申请时间
  20697. type: string
  20698. auditremark:
  20699. description: 审核备注
  20700. type: string
  20701. auditsrc:
  20702. description: 审核来源 - 1:管理端 2:终端
  20703. type: integer
  20704. expirytype:
  20705. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20706. type: integer
  20707. goodsspec:
  20708. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20709. type: integer
  20710. holeflag:
  20711. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20712. type: integer
  20713. isunopened:
  20714. description: 是否原封 - 1:否 2:是
  20715. type: integer
  20716. mpflag:
  20717. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20718. type: integer
  20719. openflag:
  20720. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20721. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20722. type: integer
  20723. phonenum:
  20724. description: 联系电话
  20725. type: string
  20726. sellbackapplyid:
  20727. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20728. type: string
  20729. userid:
  20730. description: 所属用户ID
  20731. type: integer
  20732. zpflag:
  20733. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20734. type: integer
  20735. required:
  20736. - userid
  20737. type: object
  20738. order.QueryHisTradeDetailRsp:
  20739. properties:
  20740. accountid:
  20741. description: 账户ID[报价币种]
  20742. type: integer
  20743. advanceratio:
  20744. description: 首付比率
  20745. type: number
  20746. buildtype:
  20747. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20748. type: integer
  20749. buyorsell:
  20750. description: 方向 - 0:买 1:卖
  20751. type: integer
  20752. charge:
  20753. description: 手续费
  20754. type: number
  20755. closecharge:
  20756. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20757. type: number
  20758. closeexchagechargevalue:
  20759. description: 平仓交易所手续费设置值
  20760. type: number
  20761. closefeealgorithm:
  20762. description: 平仓手续费收取方式 1:比率 2:固定
  20763. type: integer
  20764. closememberchargevalue:
  20765. description: 平仓会员手续费设置值
  20766. type: number
  20767. closepl:
  20768. description: 平仓盈亏
  20769. type: number
  20770. closepl2:
  20771. description: 平仓盈亏[逐笔]
  20772. type: number
  20773. closeqty:
  20774. description: 平仓数量(先建后平操作 需要记录)
  20775. type: number
  20776. creditamount:
  20777. description: 授信金额
  20778. type: number
  20779. decimalplace:
  20780. description: 商品报价小数位
  20781. type: integer
  20782. enumdicname:
  20783. description: 单位名称
  20784. type: string
  20785. gcaccountid:
  20786. description: 账户ID[合约币种]
  20787. type: integer
  20788. goodscode:
  20789. description: 商品代码
  20790. type: string
  20791. goodsid:
  20792. description: 商品ID
  20793. type: integer
  20794. goodsname:
  20795. description: 商品名称
  20796. type: string
  20797. goodunitid:
  20798. description: 商品单位id
  20799. type: integer
  20800. histradedate:
  20801. description: 历史交易日
  20802. type: string
  20803. intclosepl:
  20804. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20805. type: integer
  20806. isconfirmexercise:
  20807. description: 是否确认行权- 0:否 1:是
  20808. type: integer
  20809. ismain:
  20810. description: 是否主单 - 0:不是 1:是
  20811. type: integer
  20812. ispreexercise:
  20813. description: 是否预申报- 0:否 1:是
  20814. type: integer
  20815. isreckoned:
  20816. description: 是否结算 - 0:未结算 1:已结算
  20817. type: integer
  20818. isvaliddata:
  20819. description: 是否有效 - 0:无效 1:有效
  20820. type: integer
  20821. listingselecttype:
  20822. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20823. type: integer
  20824. marketid:
  20825. description: 市场ID
  20826. type: integer
  20827. marketname:
  20828. description: 市场名称
  20829. type: string
  20830. matchaccountid:
  20831. description: 对手账号id
  20832. type: integer
  20833. memberuserid:
  20834. description: 会员id 个人投资者 需要填写
  20835. type: integer
  20836. opencharge:
  20837. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20838. type: number
  20839. openexchagechargevalue:
  20840. description: 建仓交易所手续费设置值
  20841. type: number
  20842. openfeealgorithm:
  20843. description: 建仓手续费收取方式 1:比率 2:固定
  20844. type: integer
  20845. openmemberchargevalue:
  20846. description: 建仓会员手续费设置值
  20847. type: number
  20848. openqty:
  20849. description: 开仓数量(先建后平操作 需要记录)
  20850. type: number
  20851. optiontype:
  20852. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20853. type: integer
  20854. orderid:
  20855. description: 委托单号
  20856. type: string
  20857. payamount:
  20858. description: 支付金额(付款金额)
  20859. type: number
  20860. performanceplanid:
  20861. description: 履约计划ID[期权]
  20862. type: integer
  20863. performancestatus:
  20864. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20865. type: integer
  20866. preexerciseprice:
  20867. description: 预申报价格
  20868. type: number
  20869. premium:
  20870. description: 权利金 - [持仓单的权利金]
  20871. type: number
  20872. qtydecimalplace:
  20873. description: 商品报价小数位
  20874. type: integer
  20875. recvamount:
  20876. description: 到账金额 = 成交金额 - 手续费
  20877. type: number
  20878. relatedouttradeid:
  20879. description: 关联外部成交单ID
  20880. type: integer
  20881. status:
  20882. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20883. type: integer
  20884. totalamount:
  20885. description: 订单总额 = 成交金额 + 手续费
  20886. type: number
  20887. tradeamount:
  20888. description: 成交金额[账户币种,用于所有权]
  20889. type: number
  20890. tradedate:
  20891. description: 交易日(yyyyMMdd)
  20892. type: string
  20893. tradeid:
  20894. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20895. type: string
  20896. trademode:
  20897. description: 交易模式
  20898. type: integer
  20899. tradeprice:
  20900. description: 成交价格
  20901. type: number
  20902. tradeproperty:
  20903. description: 交易属性
  20904. type: integer
  20905. tradeqty:
  20906. description: 成交数量
  20907. type: number
  20908. tradetime:
  20909. description: 成交时间
  20910. type: string
  20911. tradetype:
  20912. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20913. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20914. type: integer
  20915. required:
  20916. - accountid
  20917. - buyorsell
  20918. - goodsid
  20919. - histradedate
  20920. - marketid
  20921. - memberuserid
  20922. - orderid
  20923. - tradeamount
  20924. - tradedate
  20925. - tradeid
  20926. - tradeprice
  20927. - tradeqty
  20928. - tradetime
  20929. type: object
  20930. order.QueryHisTradeOrderDetailRsp:
  20931. properties:
  20932. accountid:
  20933. description: 账户ID[报价币种]
  20934. type: integer
  20935. buildtype:
  20936. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20937. type: integer
  20938. buyorsell:
  20939. description: 买卖 - 0:买 1:卖
  20940. type: integer
  20941. cancelorderid:
  20942. description: 撤单单号(撤单时填写)
  20943. type: string
  20944. cancelqty:
  20945. description: 撤单数量
  20946. type: number
  20947. clientordertime:
  20948. description: 客户端委托时间
  20949. type: string
  20950. clientticket:
  20951. description: 客户端流水号
  20952. type: string
  20953. clienttype:
  20954. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20955. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20956. type: integer
  20957. closeexchagechargevalue:
  20958. description: 平仓交易所手续费设置值
  20959. type: number
  20960. closefeealgorithm:
  20961. description: 平仓手续费收取方式 1:比率 2:固定
  20962. type: integer
  20963. closefreezecharge:
  20964. description: 平仓冻结手续费(先建后平操作,需要记录)
  20965. type: number
  20966. closememberchargevalue:
  20967. description: 平仓会员手续费设置值
  20968. type: number
  20969. closeqty:
  20970. description: 平仓数量(先建后平操作 需要记录)
  20971. type: number
  20972. closetradeqty:
  20973. description: 平仓成交数量(先建后平操作,需要记录)
  20974. type: number
  20975. closeunfreezecharge:
  20976. description: 平仓解冻手续费(先建后平操作,需要记录)
  20977. type: number
  20978. decimalplace:
  20979. description: 商品报价小数位
  20980. type: integer
  20981. delistingtype:
  20982. description: 摘牌类型 - 1:价格最优 2:点选成交
  20983. type: integer
  20984. enumdicname:
  20985. description: 单位名称
  20986. type: string
  20987. freezecharge:
  20988. description: 冻结手续费
  20989. type: number
  20990. freezemargin:
  20991. description: 冻结保证金(冻结交易金额)
  20992. type: number
  20993. gcaccountid:
  20994. description: 账户ID[合约币种]
  20995. type: integer
  20996. goodscode:
  20997. description: 商品代码
  20998. type: string
  20999. goodsid:
  21000. description: 商品ID
  21001. type: integer
  21002. goodsname:
  21003. description: 商品名称
  21004. type: string
  21005. goodunitid:
  21006. description: 商品单位id
  21007. type: integer
  21008. histradedate:
  21009. description: 历史交易日
  21010. type: string
  21011. isconfirmexercise:
  21012. description: 是否确认行权- 0:否 1:是
  21013. type: integer
  21014. ispreexercise:
  21015. description: 是否预申报- 0:否 1:是
  21016. type: integer
  21017. isvaliddata:
  21018. description: 是否有效 - 0:无效 1:有效
  21019. type: integer
  21020. listingselecttype:
  21021. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21022. type: integer
  21023. marginalgorithm:
  21024. description: 保证金收取方式 1:比率 2:固定
  21025. type: integer
  21026. marginvalue:
  21027. description: 即市保证金设置值
  21028. type: number
  21029. marketid:
  21030. description: 市场ID
  21031. type: integer
  21032. marketmaxsub:
  21033. description: 市价最大偏移范围
  21034. type: number
  21035. marketname:
  21036. description: 市场名称
  21037. type: string
  21038. memberuserid:
  21039. description: 所属会员UserID
  21040. type: integer
  21041. openexchagechargevalue:
  21042. description: 建仓交易所手续费设置值
  21043. type: number
  21044. openfeealgorithm:
  21045. description: 建仓手续费收取方式 1:比率 2:固定
  21046. type: integer
  21047. openfreezecharge:
  21048. description: 开仓冻结手续费(先建后平操作,需要记录)
  21049. type: number
  21050. openmemberchargevalue:
  21051. description: 建仓会员手续费设置值
  21052. type: number
  21053. openqty:
  21054. description: 开仓数量(先建后平操作,需要记录)
  21055. type: number
  21056. opentradeqty:
  21057. description: 开仓成交数量(先建后平操作,需要记录)
  21058. type: number
  21059. openunfreezecharge:
  21060. description: 开仓解冻手续费(先建后平操作,需要记录)
  21061. type: number
  21062. operatetype:
  21063. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21064. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21065. 15:管理端协议转让
  21066. type: integer
  21067. operatorid:
  21068. description: 登录账号(LoginID)
  21069. type: integer
  21070. optiontype:
  21071. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21072. type: integer
  21073. orderid:
  21074. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21075. type: string
  21076. orderprice:
  21077. description: 委托价格
  21078. type: number
  21079. orderqty:
  21080. description: 委托数量
  21081. type: number
  21082. ordersrc:
  21083. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21084. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21085. type: integer
  21086. orderstatus:
  21087. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21088. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21089. 16:成交失败违约(荷兰式竞拍专用)
  21090. type: integer
  21091. ordertime:
  21092. description: 委托时间
  21093. type: string
  21094. preexerciseprice:
  21095. description: 预申报价格
  21096. type: number
  21097. premium:
  21098. description: 权利金
  21099. type: number
  21100. preorderid:
  21101. description: 关联预埋单号(止盈止损单时填写)
  21102. type: string
  21103. pricemode:
  21104. description: '取价方式 - 1:市价 2: 限价'
  21105. type: integer
  21106. qtydecimalplace:
  21107. description: 成交量小数位
  21108. type: integer
  21109. quoteid:
  21110. description: 报价单ID
  21111. type: integer
  21112. relatedid:
  21113. description: 关联单号(交割单)
  21114. type: string
  21115. retcode:
  21116. description: 错误代码
  21117. type: integer
  21118. sessionid:
  21119. description: 会话ID
  21120. type: integer
  21121. tradedate:
  21122. description: 交易日(yyyyMMdd)
  21123. type: string
  21124. trademode:
  21125. description: 交易模式
  21126. type: integer
  21127. tradeproperty:
  21128. description: 交易属性
  21129. type: integer
  21130. tradeqty:
  21131. description: 成交数量
  21132. type: number
  21133. unfreezecharge:
  21134. description: 解冻手续费
  21135. type: number
  21136. unfreezemargin:
  21137. description: 解冻保证金
  21138. type: number
  21139. updatetime:
  21140. description: 更新时间
  21141. type: string
  21142. uuid:
  21143. description: 发起端唯一id
  21144. type: string
  21145. validtime:
  21146. description: 有效期限
  21147. type: string
  21148. validtype:
  21149. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21150. type: integer
  21151. volumetype:
  21152. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21153. type: integer
  21154. required:
  21155. - accountid
  21156. - buildtype
  21157. - buyorsell
  21158. - goodsid
  21159. - histradedate
  21160. - marketid
  21161. - memberuserid
  21162. - operatetype
  21163. - orderid
  21164. - orderqty
  21165. - ordertime
  21166. - pricemode
  21167. - tradedate
  21168. - validtype
  21169. type: object
  21170. order.QueryTradeDetailRsp:
  21171. properties:
  21172. accountid:
  21173. description: 账户ID[报价币种]
  21174. type: integer
  21175. advanceratio:
  21176. description: 首付比率
  21177. type: number
  21178. buildtype:
  21179. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21180. type: integer
  21181. buyorsell:
  21182. description: 方向 - 0:买 1:卖
  21183. type: integer
  21184. charge:
  21185. description: 手续费
  21186. type: number
  21187. closecharge:
  21188. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21189. type: number
  21190. closeexchagechargevalue:
  21191. description: 平仓交易所手续费设置值
  21192. type: number
  21193. closefeealgorithm:
  21194. description: 平仓手续费收取方式 1:比率 2:固定
  21195. type: integer
  21196. closememberchargevalue:
  21197. description: 平仓会员手续费设置值
  21198. type: number
  21199. closepl:
  21200. description: 平仓盈亏
  21201. type: number
  21202. closepl2:
  21203. description: 平仓盈亏[逐笔]
  21204. type: number
  21205. closeqty:
  21206. description: 平仓数量(先建后平操作 需要记录)
  21207. type: number
  21208. creditamount:
  21209. description: 授信金额
  21210. type: number
  21211. decimalplace:
  21212. description: 商品报价小数位
  21213. type: integer
  21214. enumdicname:
  21215. description: 单位名称
  21216. type: string
  21217. gcaccountid:
  21218. description: 账户ID[合约币种]
  21219. type: integer
  21220. goodscode:
  21221. description: 商品代码
  21222. type: string
  21223. goodsid:
  21224. description: 商品ID
  21225. type: integer
  21226. goodsname:
  21227. description: 商品名称
  21228. type: string
  21229. goodunitid:
  21230. description: 商品单位id
  21231. type: integer
  21232. intclosepl:
  21233. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21234. type: integer
  21235. isconfirmexercise:
  21236. description: 是否确认行权- 0:否 1:是
  21237. type: integer
  21238. ismain:
  21239. description: 是否主单 - 0:不是 1:是
  21240. type: integer
  21241. ispreexercise:
  21242. description: 是否预申报- 0:否 1:是
  21243. type: integer
  21244. isreckoned:
  21245. description: 是否结算 - 0:未结算 1:已结算
  21246. type: integer
  21247. listingselecttype:
  21248. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21249. type: integer
  21250. marketid:
  21251. description: 市场ID
  21252. type: integer
  21253. marketname:
  21254. description: 市场名称
  21255. type: string
  21256. matchaccountid:
  21257. description: 对手账号id
  21258. type: integer
  21259. memberuserid:
  21260. description: 会员id 个人投资者 需要填写
  21261. type: integer
  21262. opencharge:
  21263. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21264. type: number
  21265. openexchagechargevalue:
  21266. description: 建仓交易所手续费设置值
  21267. type: number
  21268. openfeealgorithm:
  21269. description: 建仓手续费收取方式 1:比率 2:固定
  21270. type: integer
  21271. openmemberchargevalue:
  21272. description: 建仓会员手续费设置值
  21273. type: number
  21274. openqty:
  21275. description: 开仓数量(先建后平操作 需要记录)
  21276. type: number
  21277. optiontype:
  21278. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21279. type: integer
  21280. orderid:
  21281. description: 委托单号
  21282. type: string
  21283. payamount:
  21284. description: 支付金额(付款金额)
  21285. type: number
  21286. performanceplanid:
  21287. description: 履约计划ID[期权]
  21288. type: integer
  21289. performancestatus:
  21290. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21291. type: integer
  21292. preexerciseprice:
  21293. description: 预申报价格
  21294. type: number
  21295. premium:
  21296. description: 权利金 - [持仓单的权利金]
  21297. type: number
  21298. qtydecimalplace:
  21299. description: 商品报价小数位
  21300. type: integer
  21301. recvamount:
  21302. description: 到账金额 = 成交金额 - 手续费
  21303. type: number
  21304. relatedouttradeid:
  21305. description: 关联外部成交单ID
  21306. type: integer
  21307. status:
  21308. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21309. type: integer
  21310. totalamount:
  21311. description: 订单总额 = 成交金额 + 手续费
  21312. type: number
  21313. tradeamount:
  21314. description: 成交金额[账户币种,用于所有权]
  21315. type: number
  21316. tradedate:
  21317. description: 交易日(yyyyMMdd)
  21318. type: string
  21319. tradeid:
  21320. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21321. type: string
  21322. trademode:
  21323. description: 交易模式
  21324. type: integer
  21325. tradeprice:
  21326. description: 成交价格
  21327. type: number
  21328. tradeproperty:
  21329. description: 交易属性
  21330. type: integer
  21331. tradeqty:
  21332. description: 成交数量
  21333. type: number
  21334. tradetime:
  21335. description: 成交时间
  21336. type: string
  21337. tradetype:
  21338. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21339. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21340. type: integer
  21341. required:
  21342. - accountid
  21343. - buyorsell
  21344. - goodsid
  21345. - marketid
  21346. - memberuserid
  21347. - orderid
  21348. - tradeamount
  21349. - tradedate
  21350. - tradeid
  21351. - tradeprice
  21352. - tradeqty
  21353. - tradetime
  21354. type: object
  21355. order.QueryTradeOrderDetailRsp:
  21356. properties:
  21357. accountid:
  21358. description: 账户ID[报价币种]
  21359. type: integer
  21360. buildtype:
  21361. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21362. type: integer
  21363. buyorsell:
  21364. description: 买卖 - 0:买 1:卖
  21365. type: integer
  21366. cancelorderid:
  21367. description: 撤单单号(撤单时填写)
  21368. type: string
  21369. cancelqty:
  21370. description: 撤单数量
  21371. type: number
  21372. clienttype:
  21373. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21374. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21375. type: integer
  21376. closefreezecharge:
  21377. description: 平仓冻结手续费(先建后平操作,需要记录)
  21378. type: number
  21379. closeqty:
  21380. description: 平仓数量(先建后平操作 需要记录)
  21381. type: number
  21382. closetradeqty:
  21383. description: 平仓成交数量(先建后平操作,需要记录)
  21384. type: number
  21385. closeunfreezecharge:
  21386. description: 平仓解冻手续费(先建后平操作,需要记录)
  21387. type: number
  21388. decimalplace:
  21389. description: 商品报价小数位
  21390. type: integer
  21391. delistingtype:
  21392. description: 摘牌类型 - 1:价格最优 2:点选成交
  21393. type: integer
  21394. enableqty:
  21395. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21396. type: number
  21397. enumdicname:
  21398. description: 单位名称
  21399. type: string
  21400. freezecharge:
  21401. description: 冻结手续费
  21402. type: number
  21403. freezemargin:
  21404. description: 冻结保证金(冻结交易金额)
  21405. type: number
  21406. goodscode:
  21407. description: 商品代码
  21408. type: string
  21409. goodsid:
  21410. description: 商品ID
  21411. type: integer
  21412. goodsname:
  21413. description: 商品名称
  21414. type: string
  21415. goodunitid:
  21416. description: 商品单位id
  21417. type: integer
  21418. listingselecttype:
  21419. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21420. type: integer
  21421. marketid:
  21422. description: 市场ID
  21423. type: integer
  21424. marketname:
  21425. description: 市场名称
  21426. type: string
  21427. openfreezecharge:
  21428. description: 开仓冻结手续费(先建后平操作,需要记录)
  21429. type: number
  21430. openqty:
  21431. description: 开仓数量(先建后平操作,需要记录)
  21432. type: number
  21433. opentradeqty:
  21434. description: 开仓成交数量(先建后平操作,需要记录)
  21435. type: number
  21436. openunfreezecharge:
  21437. description: 开仓解冻手续费(先建后平操作,需要记录)
  21438. type: number
  21439. operatetype:
  21440. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21441. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21442. 15:管理端协议转让
  21443. type: integer
  21444. operatorid:
  21445. description: 登录账号(LoginID)
  21446. type: integer
  21447. orderid:
  21448. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21449. type: string
  21450. orderprice:
  21451. description: 委托价格
  21452. type: number
  21453. orderqty:
  21454. description: 委托数量
  21455. type: number
  21456. ordersrc:
  21457. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21458. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21459. type: integer
  21460. orderstatus:
  21461. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21462. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21463. 16:成交失败违约(荷兰式竞拍专用)
  21464. type: integer
  21465. ordertime:
  21466. description: 委托时间
  21467. type: string
  21468. preorderid:
  21469. description: 关联预埋单号(止盈止损单时填写)
  21470. type: string
  21471. pricemode:
  21472. description: '取价方式 - 1:市价 2: 限价'
  21473. type: integer
  21474. qtydecimalplace:
  21475. description: 商品报价小数位
  21476. type: integer
  21477. relatedid:
  21478. description: 关联单号(交割单)
  21479. type: string
  21480. tradedate:
  21481. description: 交易日(yyyyMMdd)
  21482. type: string
  21483. trademode:
  21484. description: 交易模式
  21485. type: integer
  21486. tradeqty:
  21487. description: 成交数量
  21488. type: number
  21489. unfreezecharge:
  21490. description: 解冻手续费
  21491. type: number
  21492. unfreezemargin:
  21493. description: 解冻保证金
  21494. type: number
  21495. validtime:
  21496. description: 有效期限
  21497. type: string
  21498. validtype:
  21499. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21500. type: integer
  21501. volumetype:
  21502. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21503. type: integer
  21504. required:
  21505. - accountid
  21506. - buildtype
  21507. - buyorsell
  21508. - goodsid
  21509. - marketid
  21510. - operatetype
  21511. - orderqty
  21512. - ordertime
  21513. - pricemode
  21514. - tradedate
  21515. - validtype
  21516. type: object
  21517. order.QueryTradePositionRsp:
  21518. properties:
  21519. accountid:
  21520. description: 资金账户
  21521. type: integer
  21522. agreeunit:
  21523. description: 合约单位
  21524. type: number
  21525. averageprice:
  21526. description: 持仓均价
  21527. type: number
  21528. buyorsell:
  21529. description: 方向 - 0:买 1:卖
  21530. type: integer
  21531. closetotalqty:
  21532. description: 平仓总数量
  21533. type: number
  21534. curholderamount:
  21535. description: 当前持仓总金额[商品币种]
  21536. type: number
  21537. curpositionqty:
  21538. description: 当前持仓总数量
  21539. type: number
  21540. currencyid:
  21541. description: 报价货币ID
  21542. type: integer
  21543. curtdposition:
  21544. description: 期末今日头寸
  21545. type: number
  21546. decimalplace:
  21547. description: 报价小数位
  21548. type: integer
  21549. enableqty:
  21550. description: 可用量
  21551. type: number
  21552. fretdposition:
  21553. description: 冻结今日头寸
  21554. type: number
  21555. frozenqty:
  21556. description: 持仓冻结数量
  21557. type: number
  21558. goodscode:
  21559. description: 商品代码
  21560. type: string
  21561. goodsid:
  21562. description: 商品Id
  21563. type: integer
  21564. goodsname:
  21565. description: 商品名称
  21566. type: string
  21567. goodunit:
  21568. description: 报价单位
  21569. type: string
  21570. goodunitid:
  21571. description: 报价单位ID
  21572. type: integer
  21573. holderamount:
  21574. description: 期初持仓总金额[商品币种]
  21575. type: number
  21576. lastprice:
  21577. description: 最新价
  21578. type: number
  21579. marketamount:
  21580. description: 市值
  21581. type: number
  21582. marketid:
  21583. description: 所属市场ID
  21584. type: integer
  21585. openreqqty:
  21586. description: 开仓申请数量(用于比较最大持仓数量)
  21587. type: number
  21588. opentotalqty:
  21589. description: 开仓总数量
  21590. type: number
  21591. otherfrozenqty:
  21592. description: 持仓其他冻结数量(交割冻结)
  21593. type: number
  21594. positionpl:
  21595. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21596. * 合约单位
  21597. type: number
  21598. positionplrate:
  21599. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21600. type: number
  21601. positionqty:
  21602. description: 期初持仓数量
  21603. type: number
  21604. qtydecimalplace:
  21605. description: 成交量小数位
  21606. type: integer
  21607. refgoodscode:
  21608. description: 参考商品代码
  21609. type: string
  21610. refgoodsid:
  21611. description: 参考商品ID
  21612. type: integer
  21613. tnqty:
  21614. description: T+N冻结总量
  21615. type: number
  21616. tnusedqty:
  21617. description: T+N使用量(可以使用T+N的冻结数量)
  21618. type: number
  21619. trademode:
  21620. description: 交易模式
  21621. type: integer
  21622. tradeproperty:
  21623. description: 交易属性
  21624. type: integer
  21625. usedmargin:
  21626. description: 占用保证金[商品币种]
  21627. type: number
  21628. required:
  21629. - goodsid
  21630. type: object
  21631. pb.GoodsMarginCfgStruct:
  21632. properties:
  21633. CustomerTypeID:
  21634. description: 投资者客户类型
  21635. type: integer
  21636. GoodsID:
  21637. description: 商品ID
  21638. type: integer
  21639. IsDefault:
  21640. description: 是否默认标志位
  21641. type: integer
  21642. LockMarginValue:
  21643. description: 锁仓保证金
  21644. type: number
  21645. MarginAlgorithm:
  21646. description: 保证金计算方式
  21647. type: integer
  21648. MarketMarginValue:
  21649. description: 即市保证金值
  21650. type: number
  21651. RealMarginAlgorithm:
  21652. description: 实付保证金计算方式
  21653. type: integer
  21654. RealMarginValue:
  21655. description: 实付比例
  21656. type: number
  21657. ReckonMarginValue:
  21658. description: 结算保证金值
  21659. type: number
  21660. type: object
  21661. quote.HistoryData:
  21662. properties:
  21663. c:
  21664. description: 收盘价
  21665. type: number
  21666. f:
  21667. description: 是否补充数据
  21668. type: boolean
  21669. h:
  21670. description: 最高价
  21671. type: number
  21672. hv:
  21673. description: 持仓量
  21674. type: integer
  21675. l:
  21676. description: 最低价
  21677. type: number
  21678. o:
  21679. description: 开盘价
  21680. type: number
  21681. s:
  21682. description: 结算价,日线周期(包括)以上才有
  21683. type: number
  21684. ts:
  21685. description: 时间
  21686. type: string
  21687. tt:
  21688. description: 总金额
  21689. type: number
  21690. tv:
  21691. description: 总量(成交量)
  21692. type: integer
  21693. type: object
  21694. quote.HistoryTikData:
  21695. properties:
  21696. AV:
  21697. description: 卖量
  21698. type: integer
  21699. Ask:
  21700. description: 卖价
  21701. type: number
  21702. BV:
  21703. description: 买量
  21704. type: integer
  21705. Bid:
  21706. description: 买价
  21707. type: number
  21708. HI:
  21709. description: 单笔持仓
  21710. type: integer
  21711. HV:
  21712. description: 持仓量
  21713. type: integer
  21714. PE:
  21715. description: 现价
  21716. type: number
  21717. TDR:
  21718. description: 交易方向,0:买 1:卖
  21719. type: integer
  21720. TK:
  21721. description: 交易类型
  21722. type: integer
  21723. TS:
  21724. description: 行情时间文本
  21725. type: string
  21726. TT:
  21727. description: 现金额
  21728. type: number
  21729. Vol:
  21730. description: 现量
  21731. type: integer
  21732. type: object
  21733. quote.QueryQuoteDayRsp:
  21734. properties:
  21735. ask:
  21736. description: 卖1
  21737. type: number
  21738. ask2:
  21739. description: 卖2
  21740. type: number
  21741. ask3:
  21742. description: 卖3
  21743. type: number
  21744. ask4:
  21745. description: 卖4
  21746. type: number
  21747. ask5:
  21748. description: 卖5
  21749. type: number
  21750. ask6:
  21751. description: 卖6
  21752. type: number
  21753. ask7:
  21754. description: 卖7
  21755. type: number
  21756. ask8:
  21757. description: 卖8
  21758. type: number
  21759. ask9:
  21760. description: 卖9
  21761. type: number
  21762. ask10:
  21763. description: 卖10
  21764. type: number
  21765. askorderid:
  21766. description: 卖单号1
  21767. type: integer
  21768. askorderid2:
  21769. description: 卖单号2
  21770. type: integer
  21771. askorderid3:
  21772. description: 卖单号3
  21773. type: integer
  21774. askorderid4:
  21775. description: 卖单号4
  21776. type: integer
  21777. askorderid5:
  21778. description: 卖单号5
  21779. type: integer
  21780. askordervolume:
  21781. description: 卖单量1
  21782. type: integer
  21783. askordervolume2:
  21784. description: 卖单量2
  21785. type: integer
  21786. askordervolume3:
  21787. description: 卖单量3
  21788. type: integer
  21789. askordervolume4:
  21790. description: 卖单量4
  21791. type: integer
  21792. askordervolume5:
  21793. description: 卖单量5
  21794. type: integer
  21795. askordervolume6:
  21796. description: 卖单量6
  21797. type: integer
  21798. askordervolume7:
  21799. description: 卖单量7
  21800. type: integer
  21801. askordervolume8:
  21802. description: 卖单量8
  21803. type: integer
  21804. askordervolume9:
  21805. description: 卖单量9
  21806. type: integer
  21807. askordervolume10:
  21808. description: 卖单量10
  21809. type: integer
  21810. askqueueinfo:
  21811. description: 大利市卖港股用
  21812. type: string
  21813. askvolume:
  21814. description: 卖量1
  21815. type: integer
  21816. askvolume2:
  21817. description: 卖量2
  21818. type: integer
  21819. askvolume3:
  21820. description: 卖量3
  21821. type: integer
  21822. askvolume4:
  21823. description: 卖量4
  21824. type: integer
  21825. askvolume5:
  21826. description: 卖量5
  21827. type: integer
  21828. askvolume6:
  21829. description: 卖量6
  21830. type: integer
  21831. askvolume7:
  21832. description: 卖量7
  21833. type: integer
  21834. askvolume8:
  21835. description: 卖量8
  21836. type: integer
  21837. askvolume9:
  21838. description: 卖量9
  21839. type: integer
  21840. askvolume10:
  21841. description: 卖量10
  21842. type: integer
  21843. averageprice:
  21844. description: 均价
  21845. type: number
  21846. bid:
  21847. description: 买1
  21848. type: number
  21849. bid2:
  21850. description: 买2
  21851. type: number
  21852. bid3:
  21853. description: 买3
  21854. type: number
  21855. bid4:
  21856. description: 买4
  21857. type: number
  21858. bid5:
  21859. description: 买5
  21860. type: number
  21861. bid6:
  21862. description: 买6
  21863. type: number
  21864. bid7:
  21865. description: 买7
  21866. type: number
  21867. bid8:
  21868. description: 买8
  21869. type: number
  21870. bid9:
  21871. description: 买9
  21872. type: number
  21873. bid10:
  21874. description: 买10
  21875. type: number
  21876. bidorderid:
  21877. description: 买单号1
  21878. type: integer
  21879. bidorderid2:
  21880. description: 买单号2
  21881. type: integer
  21882. bidorderid3:
  21883. description: 买单号3
  21884. type: integer
  21885. bidorderid4:
  21886. description: 买单号4
  21887. type: integer
  21888. bidorderid5:
  21889. description: 买单号5
  21890. type: integer
  21891. bidordervolume:
  21892. description: 买单量1
  21893. type: integer
  21894. bidordervolume2:
  21895. description: 买单量2
  21896. type: integer
  21897. bidordervolume3:
  21898. description: 买单量3
  21899. type: integer
  21900. bidordervolume4:
  21901. description: 买单量4
  21902. type: integer
  21903. bidordervolume5:
  21904. description: 买单量5
  21905. type: integer
  21906. bidordervolume6:
  21907. description: 买单量6
  21908. type: integer
  21909. bidordervolume7:
  21910. description: 买单量7
  21911. type: integer
  21912. bidordervolume8:
  21913. description: 买单量8
  21914. type: integer
  21915. bidordervolume9:
  21916. description: 买单量9
  21917. type: integer
  21918. bidordervolume10:
  21919. description: 买单量10
  21920. type: integer
  21921. bidqueueinfo:
  21922. description: 大利市买港股用
  21923. type: string
  21924. bidvolume:
  21925. description: 买量1
  21926. type: integer
  21927. bidvolume2:
  21928. description: 买量2
  21929. type: integer
  21930. bidvolume3:
  21931. description: 买量3
  21932. type: integer
  21933. bidvolume4:
  21934. description: 买量4
  21935. type: integer
  21936. bidvolume5:
  21937. description: 买量5
  21938. type: integer
  21939. bidvolume6:
  21940. description: 买量6
  21941. type: integer
  21942. bidvolume7:
  21943. description: 买量7
  21944. type: integer
  21945. bidvolume8:
  21946. description: 买量8
  21947. type: integer
  21948. bidvolume9:
  21949. description: 买量9
  21950. type: integer
  21951. bidvolume10:
  21952. description: 买量10
  21953. type: integer
  21954. calloptionpremiums:
  21955. description: 认购期权1
  21956. type: integer
  21957. calloptionpremiums2:
  21958. description: 认购期权2
  21959. type: integer
  21960. calloptionpremiums3:
  21961. description: 认购期权3
  21962. type: integer
  21963. calloptionpremiums4:
  21964. description: 认购期权4
  21965. type: integer
  21966. calloptionpremiums5:
  21967. description: 认购期权5
  21968. type: integer
  21969. cleartime:
  21970. description: 清盘时间
  21971. type: integer
  21972. exchangecode:
  21973. description: 交易所代码
  21974. type: integer
  21975. exchangedate:
  21976. description: 交易日
  21977. type: integer
  21978. goodscode:
  21979. description: 商品代码
  21980. type: string
  21981. grepmarketprice:
  21982. description: 暗盘价 港股专用
  21983. type: number
  21984. highest:
  21985. description: 最高价
  21986. type: number
  21987. holdincrement:
  21988. description: 单笔持仓
  21989. type: integer
  21990. holdvolume:
  21991. description: 持仓
  21992. type: integer
  21993. iep:
  21994. description: 平衡价 港股专用
  21995. type: number
  21996. iev:
  21997. description: 平衡量 港股专用
  21998. type: number
  21999. inventory:
  22000. description: 库存
  22001. type: integer
  22002. iscleared:
  22003. description: 是否清盘标志
  22004. type: integer
  22005. issettled:
  22006. description: 是否结算标志
  22007. type: integer
  22008. last:
  22009. description: 最新价
  22010. type: number
  22011. lastlot:
  22012. description: 最新成交手数
  22013. type: integer
  22014. lasttime:
  22015. description: 行情时间(只有现价变化行情时间才变化)
  22016. type: string
  22017. lastturnover:
  22018. description: 最新成交金额
  22019. type: number
  22020. lastvolume:
  22021. description: 最新成交量
  22022. type: integer
  22023. limitdown:
  22024. description: 跌停价
  22025. type: number
  22026. limitup:
  22027. description: 涨停价
  22028. type: number
  22029. lowest:
  22030. description: 最低价
  22031. type: number
  22032. nontotalholdervolume:
  22033. description: 非交易持仓量
  22034. type: integer
  22035. nontotallot:
  22036. description: 非交易总手数
  22037. type: integer
  22038. nontotalturnover:
  22039. description: 非交易总金额
  22040. type: integer
  22041. nontotalvolume:
  22042. description: 非交易总量
  22043. type: integer
  22044. opened:
  22045. description: 开盘价
  22046. type: number
  22047. opentime:
  22048. description: 开盘时间
  22049. type: string
  22050. orderid:
  22051. description: 序号
  22052. type: integer
  22053. preclose:
  22054. description: 昨收
  22055. type: number
  22056. preholdvolume:
  22057. description: 昨持仓
  22058. type: integer
  22059. presettle:
  22060. description: 昨结价
  22061. type: number
  22062. publictradetype:
  22063. description: 公共交易标志类型 港股专用
  22064. type: string
  22065. putoptionpremiums:
  22066. description: 认沽期权1
  22067. type: integer
  22068. putoptionpremiums2:
  22069. description: 认沽期权2
  22070. type: integer
  22071. putoptionpremiums3:
  22072. description: 认沽期权3
  22073. type: integer
  22074. putoptionpremiums4:
  22075. description: 认沽期权4
  22076. type: integer
  22077. putoptionpremiums5:
  22078. description: 认沽期权5
  22079. type: integer
  22080. settle:
  22081. description: 结算价
  22082. type: number
  22083. strikeprice:
  22084. description: 发行价
  22085. type: number
  22086. totalaskvolume:
  22087. description: 内盘
  22088. type: integer
  22089. totalbidvolume:
  22090. description: 外盘
  22091. type: integer
  22092. totallot:
  22093. description: 总手数
  22094. type: integer
  22095. totalturnover:
  22096. description: 总金额
  22097. type: number
  22098. totalvolume:
  22099. description: 总量
  22100. type: integer
  22101. utclasttime:
  22102. description: utc的行情时间
  22103. type: string
  22104. type: object
  22105. quote.QueryTSDataRsp:
  22106. properties:
  22107. Count:
  22108. description: 交易日应有数据个数
  22109. type: integer
  22110. decimalPlace:
  22111. description: 小数位
  22112. type: integer
  22113. endTime:
  22114. description: 结束时间
  22115. type: string
  22116. goodsCode:
  22117. description: 商品代码
  22118. type: string
  22119. historyDatas:
  22120. description: 历史数据
  22121. items:
  22122. $ref: '#/definitions/quote.HistoryData'
  22123. type: array
  22124. outGoodsCode:
  22125. description: 外部商品代码
  22126. type: string
  22127. preSettle:
  22128. description: 昨结价
  22129. type: number
  22130. runSteps:
  22131. description: 交易日开休市计划
  22132. items:
  22133. $ref: '#/definitions/quote.TSDataRunStep'
  22134. type: array
  22135. startTime:
  22136. description: 开始时间
  22137. type: string
  22138. tradeDate:
  22139. description: 交易日
  22140. type: string
  22141. type: object
  22142. quote.TSDataRunStep:
  22143. properties:
  22144. end:
  22145. description: 真实结束时间
  22146. type: string
  22147. endflag:
  22148. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22149. type: integer
  22150. endtime:
  22151. description: 结束时间(HH:mm)
  22152. type: string
  22153. endweekday:
  22154. description: 结束周几
  22155. type: integer
  22156. groupid:
  22157. description: 分组ID
  22158. type: integer
  22159. runstep:
  22160. description: 运行阶段 - 2:连续交易
  22161. type: integer
  22162. sectionid:
  22163. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22164. 结束时间=结算时间 结束周几=结算周几
  22165. type: integer
  22166. start:
  22167. description: 真实开始时间
  22168. type: string
  22169. startflag:
  22170. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22171. type: integer
  22172. starttime:
  22173. description: 起始时间(HH:mm)
  22174. type: string
  22175. startweekday:
  22176. description: 起始周几
  22177. type: integer
  22178. tradeweekday:
  22179. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22180. type: integer
  22181. type: object
  22182. szdz.QueryConvertLogRsp:
  22183. properties:
  22184. accountid:
  22185. description: 资金账户ID
  22186. type: integer
  22187. clientticket:
  22188. description: 客户端流水号
  22189. type: string
  22190. converttype:
  22191. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22192. type: integer
  22193. createtime:
  22194. description: 记账时间
  22195. type: string
  22196. daymaxvalue:
  22197. description: 配置当日最大转入限制
  22198. type: number
  22199. daymaxvalue2:
  22200. description: 配置当日最大转入限制(转入)
  22201. type: number
  22202. goodscode:
  22203. description: 商品代码
  22204. type: string
  22205. goodsname:
  22206. description: 商品名称
  22207. type: string
  22208. handlestatus:
  22209. description: 处理状态
  22210. type: integer
  22211. innergoodsid:
  22212. description: 内部商品ID
  22213. type: integer
  22214. inratio:
  22215. description: 配置转入比值
  22216. type: integer
  22217. invalue:
  22218. description: 目标值
  22219. type: number
  22220. logid:
  22221. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22222. type: integer
  22223. mobile:
  22224. description: 手机号码(加密存储)
  22225. type: string
  22226. outergoodscode:
  22227. description: 外部商品代码[JD\PD]
  22228. type: string
  22229. outratio:
  22230. description: 配置转出比值
  22231. type: integer
  22232. outvalue:
  22233. description: 源值
  22234. type: number
  22235. pddecimalplace:
  22236. description: PD小数位
  22237. type: integer
  22238. qty:
  22239. description: 数量
  22240. type: string
  22241. remark:
  22242. description: 备注
  22243. type: string
  22244. sessionid:
  22245. description: 会话ID
  22246. type: integer
  22247. timemaxvalue:
  22248. description: 配置单次最大转入限制
  22249. type: number
  22250. timemaxvalue2:
  22251. description: 配置单次最大转入限制(转入)
  22252. type: number
  22253. timeminvalue:
  22254. description: 配置单次最小数量限制
  22255. type: number
  22256. timeminvalue2:
  22257. description: 配置单次最小数量限制(转入)
  22258. type: number
  22259. tradedate:
  22260. description: 交易日(yyyyMMdd)
  22261. type: string
  22262. userid:
  22263. description: 用户ID
  22264. type: integer
  22265. required:
  22266. - logid
  22267. type: object
  22268. szdz.QueryGoodsPickupRsp:
  22269. properties:
  22270. accountid:
  22271. description: 账户ID
  22272. type: integer
  22273. address:
  22274. description: 提货人详细地址
  22275. type: string
  22276. auditer:
  22277. description: 审核人
  22278. type: integer
  22279. audittime:
  22280. description: 审核时间
  22281. type: string
  22282. cardnum:
  22283. description: 提货人证件号码
  22284. type: string
  22285. cardtypeid:
  22286. description: 提货人证件类型
  22287. type: integer
  22288. checkremark:
  22289. description: 审核备注
  22290. type: string
  22291. goodscode:
  22292. description: 商品代码
  22293. type: string
  22294. goodsid:
  22295. description: 商品ID
  22296. type: integer
  22297. goodsname:
  22298. description: 商品名称
  22299. type: string
  22300. handlestatus:
  22301. description: 处理状态
  22302. type: integer
  22303. marketid:
  22304. description: 市场ID
  22305. type: integer
  22306. phonenum:
  22307. description: 提货人联系方式
  22308. type: string
  22309. qty:
  22310. description: 提货数量
  22311. type: number
  22312. recivername:
  22313. description: 提货人姓名
  22314. type: string
  22315. reqtime:
  22316. description: 更新时间
  22317. type: string
  22318. takemode:
  22319. description: 提货方式 - 2:自提 3:配送
  22320. type: integer
  22321. takeorderid:
  22322. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22323. type: string
  22324. takeorderstatus:
  22325. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22326. type: integer
  22327. takeremark:
  22328. description: 提货备注
  22329. type: string
  22330. tradedate:
  22331. description: 交易日(yyyyMMdd)
  22332. type: string
  22333. userid:
  22334. description: 用户ID
  22335. type: integer
  22336. required:
  22337. - takeorderid
  22338. type: object
  22339. szdz.QueryRecieptOrderRsp:
  22340. properties:
  22341. accountName:
  22342. description: 所属账号名称(已脱敏)
  22343. type: string
  22344. accountid:
  22345. description: 资金账号
  22346. type: integer
  22347. buyorsell:
  22348. description: 方向 - 0:买 1:卖
  22349. type: integer
  22350. enableqty:
  22351. description: 可摘数量
  22352. type: integer
  22353. goodscode:
  22354. description: 商品代码
  22355. type: string
  22356. goodsid:
  22357. description: 商品ID
  22358. type: integer
  22359. goodsname:
  22360. description: 商品名称
  22361. type: string
  22362. orderid:
  22363. description: 委托单号
  22364. type: string
  22365. orderprice:
  22366. description: 委托价格
  22367. type: number
  22368. ordertime:
  22369. description: 委托时间
  22370. type: string
  22371. tradedate:
  22372. description: 交易日(yyyyMMdd)
  22373. type: string
  22374. required:
  22375. - ordertime
  22376. type: object
  22377. szdz.QuerySZDZTradePositionRsp:
  22378. properties:
  22379. accountid:
  22380. description: 账号Id
  22381. type: integer
  22382. agreeunit:
  22383. description: 合约单位
  22384. type: number
  22385. averageprice:
  22386. description: 持仓均价
  22387. type: number
  22388. buyorsell:
  22389. description: 方向 - 0:买 1:卖
  22390. type: integer
  22391. closetotalqty:
  22392. description: 平仓总数量
  22393. type: integer
  22394. curholderamount:
  22395. description: 当前持仓总金额
  22396. type: number
  22397. curpositionqty:
  22398. description: 当前持仓总数量
  22399. type: integer
  22400. currencyid:
  22401. description: 报价货币ID
  22402. type: integer
  22403. curtdposition:
  22404. description: 期末今日头寸
  22405. type: integer
  22406. decimalplace:
  22407. description: 报价小数位
  22408. type: integer
  22409. enableqty:
  22410. description: 可用量
  22411. type: integer
  22412. fretdposition:
  22413. description: 冻结今日头寸
  22414. type: integer
  22415. frozenqty:
  22416. description: 持仓冻结数量
  22417. type: integer
  22418. goodscode:
  22419. description: 商品代码(内部)
  22420. type: string
  22421. goodsid:
  22422. description: 商品Id
  22423. type: integer
  22424. goodsname:
  22425. description: 商品名称
  22426. type: string
  22427. goodunit:
  22428. description: 报价单位
  22429. type: string
  22430. goodunitid:
  22431. description: 报价单位ID
  22432. type: integer
  22433. holderamount:
  22434. description: 期初持仓总金额
  22435. type: number
  22436. marketid:
  22437. description: 市场ID
  22438. type: integer
  22439. openreqqty:
  22440. description: 开仓申请数量
  22441. type: integer
  22442. opentotalqty:
  22443. description: 开仓总数量
  22444. type: integer
  22445. otherfrozenqty:
  22446. description: 持仓其他冻结数量(交割冻结)
  22447. type: integer
  22448. positionqty:
  22449. description: 期初持仓数量
  22450. type: integer
  22451. szdz3freezqty:
  22452. description: 尚志大宗转换冻结总数量
  22453. type: integer
  22454. tnqty:
  22455. description: T+N冻结总量
  22456. type: integer
  22457. tnusedqty:
  22458. description: T+N使用量
  22459. type: integer
  22460. trademode:
  22461. description: 交易模式
  22462. type: integer
  22463. usedmargin:
  22464. description: 占用保证金
  22465. type: number
  22466. type: object
  22467. taaccount.QueryAmountLogRsp:
  22468. properties:
  22469. OPERATETYPENAME:
  22470. description: 资金操作类型名称
  22471. type: string
  22472. accountid:
  22473. description: 资金账户ID
  22474. type: integer
  22475. agoodscode:
  22476. description: 竞拍商品代码
  22477. type: string
  22478. agoodsname:
  22479. description: 竞拍商品名称
  22480. type: string
  22481. amount:
  22482. description: 资金金额
  22483. type: number
  22484. amountadjusttype:
  22485. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22486. type: integer
  22487. autoid:
  22488. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22489. type: integer
  22490. balance:
  22491. description: 期初余额
  22492. type: number
  22493. businesscode:
  22494. description: 业务编号
  22495. type: integer
  22496. createtime:
  22497. description: 发生时间
  22498. type: string
  22499. currencyid:
  22500. description: 币种ID
  22501. type: integer
  22502. currentbalance:
  22503. description: 期末余额(变动后金额)
  22504. type: number
  22505. dgoodscode:
  22506. description: 交割商品代码
  22507. type: string
  22508. dgoodsname:
  22509. description: 交割商品名称
  22510. type: string
  22511. goodscode:
  22512. description: 商品代码
  22513. type: string
  22514. goodsid:
  22515. description: 商品ID
  22516. type: integer
  22517. goodsname:
  22518. description: 商品名称
  22519. type: string
  22520. marketid:
  22521. description: 市场ID
  22522. type: integer
  22523. marketname:
  22524. description: 市场名称
  22525. type: string
  22526. moneyticket:
  22527. description: 资金流水号:银行端流水号
  22528. type: integer
  22529. operatetype:
  22530. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22531. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22532. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22533. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22534. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22535. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22536. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22537. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22538. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22539. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22540. type: integer
  22541. relationorderid:
  22542. description: 关联单号
  22543. type: string
  22544. remark:
  22545. description: 备注
  22546. type: string
  22547. trademode:
  22548. description: 交易模式
  22549. type: integer
  22550. required:
  22551. - accountid
  22552. - amount
  22553. - amountadjusttype
  22554. - autoid
  22555. - balance
  22556. - createtime
  22557. - currentbalance
  22558. - operatetype
  22559. type: object
  22560. taaccount.QueryHisAmountLogRsp:
  22561. properties:
  22562. OPERATETYPENAME:
  22563. description: 资金操作类型名称
  22564. type: string
  22565. accountid:
  22566. description: 资金账户ID
  22567. type: integer
  22568. agoodscode:
  22569. description: 竞拍商品代码
  22570. type: string
  22571. agoodsname:
  22572. description: 竞拍商品名称
  22573. type: string
  22574. amount:
  22575. description: 资金金额
  22576. type: number
  22577. amountadjusttype:
  22578. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22579. type: integer
  22580. autoid:
  22581. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22582. type: integer
  22583. balance:
  22584. description: 期初余额
  22585. type: number
  22586. businesscode:
  22587. description: 业务编号
  22588. type: integer
  22589. createtime:
  22590. description: 发生时间
  22591. type: string
  22592. currencyid:
  22593. description: 币种ID
  22594. type: integer
  22595. currentbalance:
  22596. description: 期末余额(变动后金额)
  22597. type: number
  22598. dgoodscode:
  22599. description: 交割商品代码
  22600. type: string
  22601. dgoodsname:
  22602. description: 交割商品名称
  22603. type: string
  22604. goodscode:
  22605. description: 商品代码
  22606. type: string
  22607. goodsid:
  22608. description: 商品ID
  22609. type: integer
  22610. goodsname:
  22611. description: 商品名称
  22612. type: string
  22613. histradedate:
  22614. description: 历史交易日
  22615. type: string
  22616. isvaliddata:
  22617. description: 是否有效 - 0:无效 1:有效
  22618. type: integer
  22619. marketid:
  22620. description: 市场ID
  22621. type: integer
  22622. marketname:
  22623. description: 市场名称
  22624. type: string
  22625. moneyticket:
  22626. description: 资金流水号:银行端流水号
  22627. type: integer
  22628. operatetype:
  22629. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22630. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22631. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22632. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22633. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22634. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22635. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22636. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22637. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22638. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22639. type: integer
  22640. relationorderid:
  22641. description: 关联单号
  22642. type: string
  22643. remark:
  22644. description: 备注
  22645. type: string
  22646. trademode:
  22647. description: 交易模式
  22648. type: integer
  22649. required:
  22650. - accountid
  22651. - amount
  22652. - amountadjusttype
  22653. - autoid
  22654. - balance
  22655. - createtime
  22656. - currentbalance
  22657. - histradedate
  22658. - operatetype
  22659. type: object
  22660. trade.QueryRecieptOrderRsp:
  22661. properties:
  22662. accountName:
  22663. description: 所属账号名称(已脱敏)
  22664. type: string
  22665. accountid:
  22666. description: 资金账号
  22667. type: integer
  22668. buyorsell:
  22669. description: 方向 - 0:买 1:卖
  22670. type: integer
  22671. enableqty:
  22672. description: 可摘数量
  22673. type: integer
  22674. goodscode:
  22675. description: 商品代码
  22676. type: string
  22677. goodsid:
  22678. description: 商品ID
  22679. type: integer
  22680. goodsname:
  22681. description: 商品名称
  22682. type: string
  22683. orderid:
  22684. description: 委托单号
  22685. type: string
  22686. orderprice:
  22687. description: 委托价格
  22688. type: number
  22689. ordertime:
  22690. description: 委托时间
  22691. type: string
  22692. tradedate:
  22693. description: 交易日(yyyyMMdd)
  22694. type: string
  22695. required:
  22696. - ordertime
  22697. type: object
  22698. user.LoginQueryRsp:
  22699. properties:
  22700. areaRoles:
  22701. description: 所属角色信息
  22702. items:
  22703. $ref: '#/definitions/models.Arearole'
  22704. type: array
  22705. externalExchanges:
  22706. description: 外部交易所
  22707. items:
  22708. $ref: '#/definitions/models.Externalexchange'
  22709. type: array
  22710. goodsgroups:
  22711. description: 商品组
  22712. items:
  22713. $ref: '#/definitions/models.Goodsgroup'
  22714. type: array
  22715. loginAccount:
  22716. $ref: '#/definitions/models.Loginaccount'
  22717. description: 登录账号
  22718. markets:
  22719. description: 市场
  22720. items:
  22721. $ref: '#/definitions/models.Market'
  22722. type: array
  22723. systemParams:
  22724. description: 系统参数
  22725. items:
  22726. $ref: '#/definitions/models.Systemparam'
  22727. type: array
  22728. userAccount:
  22729. $ref: '#/definitions/models.Useraccount'
  22730. description: 用户账号
  22731. userInfo:
  22732. $ref: '#/definitions/models.Userinfo'
  22733. description: 用户信息
  22734. username:
  22735. description: 用户姓名
  22736. type: string
  22737. type: object
  22738. info:
  22739. contact: {}
  22740. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22741. termsOfService: http://www.muchinfo.cn
  22742. title: MTP2.0 查询服务 API
  22743. version: "1.0"
  22744. paths:
  22745. /CPTrade/QueryCPTradeMyBidInfos:
  22746. get:
  22747. parameters:
  22748. - description: 资金账户
  22749. in: query
  22750. name: accountid
  22751. required: true
  22752. type: integer
  22753. - description: 预售市场ID
  22754. in: query
  22755. name: marketid
  22756. type: integer
  22757. - description: 预售商品ID
  22758. in: query
  22759. name: goodsid
  22760. type: integer
  22761. produces:
  22762. - application/json
  22763. responses:
  22764. "200":
  22765. description: OK
  22766. schema:
  22767. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22768. "500":
  22769. description: Internal Server Error
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. security:
  22773. - ApiKeyAuth: []
  22774. summary: 查询产能预售我的出价信息
  22775. tags:
  22776. - 产能预售
  22777. /CPTrade/QueryCPTradeOrderDetail:
  22778. get:
  22779. parameters:
  22780. - description: 预售商品ID
  22781. in: query
  22782. name: goodsid
  22783. type: integer
  22784. - description: 预售市场ID
  22785. in: query
  22786. name: marketid
  22787. type: integer
  22788. - description: 预售商品ID列表 - 格式:1,2,3
  22789. in: query
  22790. name: goodsids
  22791. type: string
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 查询产能预售委托单信息
  22806. tags:
  22807. - 产能预售
  22808. /CPTrade/QueryMyCPTradeGoods:
  22809. get:
  22810. parameters:
  22811. - description: 资金账户
  22812. in: query
  22813. name: accountid
  22814. required: true
  22815. type: integer
  22816. produces:
  22817. - application/json
  22818. responses:
  22819. "200":
  22820. description: OK
  22821. schema:
  22822. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22823. "500":
  22824. description: Internal Server Error
  22825. schema:
  22826. $ref: '#/definitions/app.Response'
  22827. security:
  22828. - ApiKeyAuth: []
  22829. summary: 查询我的预售信息
  22830. tags:
  22831. - 产能预售
  22832. /CPTrade/QueryPositionCancel:
  22833. get:
  22834. parameters:
  22835. - description: 账户ID
  22836. in: query
  22837. name: userid
  22838. required: true
  22839. type: integer
  22840. - description: 注销ID
  22841. in: query
  22842. name: cancelid
  22843. type: integer
  22844. - description: 资金账户ID
  22845. in: query
  22846. name: accountid
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22855. "500":
  22856. description: Internal Server Error
  22857. schema:
  22858. $ref: '#/definitions/app.Response'
  22859. security:
  22860. - ApiKeyAuth: []
  22861. summary: 查询远期订单注销申请信息
  22862. tags:
  22863. - 产能预售
  22864. /CPTrade/QueryPreasleApply:
  22865. get:
  22866. parameters:
  22867. - description: 账户ID
  22868. in: query
  22869. name: userid
  22870. required: true
  22871. type: integer
  22872. - description: 申请ID
  22873. in: query
  22874. name: applyid
  22875. type: integer
  22876. - description: 资金账户ID
  22877. in: query
  22878. name: accountid
  22879. type: integer
  22880. produces:
  22881. - application/json
  22882. responses:
  22883. "200":
  22884. description: OK
  22885. schema:
  22886. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22887. "500":
  22888. description: Internal Server Error
  22889. schema:
  22890. $ref: '#/definitions/app.Response'
  22891. security:
  22892. - ApiKeyAuth: []
  22893. summary: 查询产能预售申请信息
  22894. tags:
  22895. - 产能预售
  22896. /CPTrade/QueryPresaleGoodsEx:
  22897. get:
  22898. parameters:
  22899. - description: 预售商品ID
  22900. in: query
  22901. name: goodsid
  22902. type: integer
  22903. - description: 预售市场ID
  22904. in: query
  22905. name: marketid
  22906. type: integer
  22907. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22908. in: query
  22909. name: presalemode
  22910. type: integer
  22911. - description: 预售商品ID列表 - 格式:1,2,3
  22912. in: query
  22913. name: goodsids
  22914. type: string
  22915. - description: 预售商品代码
  22916. in: query
  22917. name: goodscode
  22918. type: string
  22919. produces:
  22920. - application/json
  22921. responses:
  22922. "200":
  22923. description: OK
  22924. schema:
  22925. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询产能预售商品扩展信息
  22933. tags:
  22934. - 产能预售
  22935. /CPTrade/QueryUserGoodsData:
  22936. get:
  22937. parameters:
  22938. - description: 资金账户ID
  22939. in: query
  22940. name: accountid
  22941. required: true
  22942. type: integer
  22943. produces:
  22944. - application/json
  22945. responses:
  22946. "200":
  22947. description: OK
  22948. schema:
  22949. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22950. "500":
  22951. description: Internal Server Error
  22952. schema:
  22953. $ref: '#/definitions/app.Response'
  22954. security:
  22955. - ApiKeyAuth: []
  22956. summary: 查询远期订单信息
  22957. tags:
  22958. - 产能预售
  22959. /Common/DeleteNewFuncmenu:
  22960. delete:
  22961. consumes:
  22962. - application/json
  22963. parameters:
  22964. - description: 菜单表数据,只需要resourcecode字段即可
  22965. in: body
  22966. name: data
  22967. required: true
  22968. schema:
  22969. $ref: '#/definitions/models.NewFuncmenulist'
  22970. produces:
  22971. - application/json
  22972. responses:
  22973. "200":
  22974. description: OK
  22975. schema:
  22976. $ref: '#/definitions/app.Response'
  22977. "500":
  22978. description: Internal Server Error
  22979. schema:
  22980. $ref: '#/definitions/app.Response'
  22981. security:
  22982. - ApiKeyAuth: []
  22983. summary: 删除菜单表数据
  22984. tags:
  22985. - 通用服务
  22986. /Common/FindNewFuncmenu:
  22987. get:
  22988. parameters:
  22989. - description: 资源代码
  22990. in: query
  22991. name: resourcecode
  22992. type: string
  22993. - description: 上级资源代码
  22994. in: query
  22995. name: parentcode
  22996. type: string
  22997. - description: 资源名(Title), 模糊查询
  22998. in: query
  22999. name: resourcename
  23000. type: string
  23001. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23002. in: query
  23003. name: menutype
  23004. type: string
  23005. produces:
  23006. - application/json
  23007. responses:
  23008. "200":
  23009. description: OK
  23010. schema:
  23011. items:
  23012. $ref: '#/definitions/models.NewFuncmenulist'
  23013. type: array
  23014. "500":
  23015. description: Internal Server Error
  23016. schema:
  23017. $ref: '#/definitions/app.Response'
  23018. security:
  23019. - ApiKeyAuth: []
  23020. summary: 获取菜单表数据
  23021. tags:
  23022. - 通用服务
  23023. /Common/GetAllEnums:
  23024. get:
  23025. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23026. parameters:
  23027. - description: 起始自增ID
  23028. in: query
  23029. name: autoid
  23030. type: integer
  23031. produces:
  23032. - application/json
  23033. responses:
  23034. "200":
  23035. description: OK
  23036. schema:
  23037. $ref: '#/definitions/models.Enumdicitem'
  23038. "500":
  23039. description: Internal Server Error
  23040. schema:
  23041. $ref: '#/definitions/app.Response'
  23042. summary: 获取所有枚举信息
  23043. tags:
  23044. - 通用服务
  23045. /Common/GetClientMenus:
  23046. get:
  23047. parameters:
  23048. - description: 登录账号
  23049. in: query
  23050. name: loginID
  23051. required: true
  23052. type: integer
  23053. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23054. in: query
  23055. name: clientType
  23056. type: integer
  23057. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23058. in: query
  23059. name: name
  23060. type: string
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. items:
  23068. $ref: '#/definitions/common.ClientMenu'
  23069. type: array
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. security:
  23075. - ApiKeyAuth: []
  23076. summary: 获取交易端菜单
  23077. tags:
  23078. - 通用服务
  23079. /Common/GetClientNewFuncmenu:
  23080. get:
  23081. parameters:
  23082. - description: 登录账号
  23083. in: query
  23084. name: loginid
  23085. required: true
  23086. type: integer
  23087. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23088. in: query
  23089. name: menutype
  23090. required: true
  23091. type: integer
  23092. produces:
  23093. - application/json
  23094. responses:
  23095. "200":
  23096. description: OK
  23097. schema:
  23098. items:
  23099. $ref: '#/definitions/models.NewFuncmenulist'
  23100. type: array
  23101. "500":
  23102. description: Internal Server Error
  23103. schema:
  23104. $ref: '#/definitions/app.Response'
  23105. security:
  23106. - ApiKeyAuth: []
  23107. summary: 获取终端菜单
  23108. tags:
  23109. - 通用服务
  23110. /Common/GetDivisions:
  23111. get:
  23112. produces:
  23113. - application/json
  23114. responses:
  23115. "200":
  23116. description: OK
  23117. schema:
  23118. $ref: '#/definitions/models.Division'
  23119. "500":
  23120. description: Internal Server Error
  23121. schema:
  23122. $ref: '#/definitions/app.Response'
  23123. summary: 查询区域信息
  23124. tags:
  23125. - 通用服务
  23126. /Common/GetPCWebMenus:
  23127. get:
  23128. parameters:
  23129. - description: 登录账号
  23130. in: query
  23131. name: loginID
  23132. required: true
  23133. type: integer
  23134. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23135. in: query
  23136. name: name
  23137. type: string
  23138. produces:
  23139. - application/json
  23140. responses:
  23141. "200":
  23142. description: OK
  23143. schema:
  23144. items:
  23145. $ref: '#/definitions/common.PCWebMenu'
  23146. type: array
  23147. "500":
  23148. description: Internal Server Error
  23149. schema:
  23150. $ref: '#/definitions/app.Response'
  23151. security:
  23152. - ApiKeyAuth: []
  23153. summary: 获取PCWeb交易端菜单
  23154. tags:
  23155. - 通用服务
  23156. /Common/GetServerTime:
  23157. get:
  23158. produces:
  23159. - application/json
  23160. responses:
  23161. "200":
  23162. description: OK
  23163. schema:
  23164. $ref: '#/definitions/app.Response'
  23165. "500":
  23166. description: Internal Server Error
  23167. schema:
  23168. $ref: '#/definitions/app.Response'
  23169. summary: 获取服务器时间
  23170. tags:
  23171. - 通用服务
  23172. /Common/InsertNewFuncmenu:
  23173. post:
  23174. consumes:
  23175. - application/json
  23176. parameters:
  23177. - description: 菜单表数据
  23178. in: body
  23179. name: data
  23180. required: true
  23181. schema:
  23182. $ref: '#/definitions/models.NewFuncmenulist'
  23183. produces:
  23184. - application/json
  23185. responses:
  23186. "200":
  23187. description: OK
  23188. schema:
  23189. $ref: '#/definitions/app.Response'
  23190. "500":
  23191. description: Internal Server Error
  23192. schema:
  23193. $ref: '#/definitions/app.Response'
  23194. security:
  23195. - ApiKeyAuth: []
  23196. summary: 插入菜单表数据
  23197. tags:
  23198. - 通用服务
  23199. /Common/NoticeReaded:
  23200. post:
  23201. parameters:
  23202. - description: 登录账号
  23203. in: query
  23204. name: loginID
  23205. required: true
  23206. type: integer
  23207. - description: 通知公告ID
  23208. in: query
  23209. name: noticeID
  23210. required: true
  23211. type: integer
  23212. produces:
  23213. - application/json
  23214. responses:
  23215. "200":
  23216. description: OK
  23217. schema:
  23218. $ref: '#/definitions/app.Response'
  23219. "500":
  23220. description: Internal Server Error
  23221. schema:
  23222. $ref: '#/definitions/app.Response'
  23223. security:
  23224. - ApiKeyAuth: []
  23225. summary: 通知公告设置已读请求
  23226. tags:
  23227. - 通用服务
  23228. /Common/QueryErrorInfos:
  23229. get:
  23230. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23231. parameters:
  23232. - description: 起始行号前索引
  23233. in: query
  23234. name: rowNumber
  23235. type: string
  23236. produces:
  23237. - application/json
  23238. responses:
  23239. "200":
  23240. description: OK
  23241. schema:
  23242. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23243. "500":
  23244. description: Internal Server Error
  23245. schema:
  23246. $ref: '#/definitions/app.Response'
  23247. summary: 获取数据库错误信息
  23248. tags:
  23249. - 通用服务
  23250. /Common/QueryImageConfigs:
  23251. get:
  23252. parameters:
  23253. - description: 用户id
  23254. in: query
  23255. name: userId
  23256. type: integer
  23257. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23258. in: query
  23259. name: imageType
  23260. type: integer
  23261. produces:
  23262. - application/json
  23263. responses:
  23264. "200":
  23265. description: OK
  23266. schema:
  23267. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23268. "500":
  23269. description: Internal Server Error
  23270. schema:
  23271. $ref: '#/definitions/app.Response'
  23272. summary: 查询轮播图配置信息
  23273. tags:
  23274. - 通用服务
  23275. /Common/QueryNotice:
  23276. get:
  23277. parameters:
  23278. - description: 页码
  23279. in: query
  23280. name: page
  23281. type: integer
  23282. - description: 每页条数
  23283. in: query
  23284. name: pagesize
  23285. type: integer
  23286. - description: 登录账号
  23287. in: query
  23288. name: loginID
  23289. required: true
  23290. type: integer
  23291. - description: 消息类型 - 1:公告通知 2:系统消息
  23292. in: query
  23293. name: msgType
  23294. type: integer
  23295. - description: 是否只获取未读信息
  23296. in: query
  23297. name: onlyUnRead
  23298. type: boolean
  23299. - description: 自增ID,传入后会返回这个ID后面的记录
  23300. in: query
  23301. name: lastID
  23302. type: integer
  23303. produces:
  23304. - application/json
  23305. responses:
  23306. "200":
  23307. description: OK
  23308. schema:
  23309. $ref: '#/definitions/common.QueryNoticeRsp'
  23310. "500":
  23311. description: Internal Server Error
  23312. schema:
  23313. $ref: '#/definitions/app.Response'
  23314. security:
  23315. - ApiKeyAuth: []
  23316. summary: 通知公告系统消息查询
  23317. tags:
  23318. - 通用服务
  23319. /Common/QueryProvincesAndCities:
  23320. get:
  23321. parameters:
  23322. - description: 省ID
  23323. in: query
  23324. name: provinceID
  23325. type: integer
  23326. produces:
  23327. - application/json
  23328. responses:
  23329. "200":
  23330. description: OK
  23331. schema:
  23332. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23333. "500":
  23334. description: Internal Server Error
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. summary: 查询省市信息(不包括区)
  23338. tags:
  23339. - 通用服务
  23340. /Common/QueryTableDefine:
  23341. get:
  23342. parameters:
  23343. - description: 表key
  23344. in: query
  23345. name: tableKey
  23346. type: string
  23347. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23348. in: query
  23349. name: tableType
  23350. type: integer
  23351. produces:
  23352. - application/json
  23353. responses:
  23354. "200":
  23355. description: OK
  23356. schema:
  23357. $ref: '#/definitions/common.QueryTableDefineRsp'
  23358. "500":
  23359. description: Internal Server Error
  23360. schema:
  23361. $ref: '#/definitions/app.Response'
  23362. summary: 查询交易端列表头信息
  23363. tags:
  23364. - 通用服务
  23365. /Common/QueryTraderMenu:
  23366. get:
  23367. parameters:
  23368. - description: 登录账号
  23369. in: query
  23370. name: loginid
  23371. required: true
  23372. type: integer
  23373. produces:
  23374. - application/json
  23375. responses:
  23376. "200":
  23377. description: OK
  23378. schema:
  23379. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23380. "500":
  23381. description: Internal Server Error
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. summary: 查询交易端菜单
  23385. tags:
  23386. - 通用服务
  23387. /Common/UpdateNewFuncmenu:
  23388. put:
  23389. consumes:
  23390. - application/json
  23391. parameters:
  23392. - description: 菜单表数据
  23393. in: body
  23394. name: data
  23395. required: true
  23396. schema:
  23397. $ref: '#/definitions/models.NewFuncmenulist'
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. $ref: '#/definitions/app.Response'
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 更新菜单表数据
  23412. tags:
  23413. - 通用服务
  23414. /Delivery/QueryDeliveryRelation:
  23415. get:
  23416. parameters:
  23417. - description: 商品ID
  23418. in: query
  23419. name: goodsid
  23420. type: integer
  23421. - description: 品种ID
  23422. in: query
  23423. name: deliverygoodsid
  23424. type: integer
  23425. - description: 市场ID
  23426. in: query
  23427. name: marketid
  23428. type: integer
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23436. "500":
  23437. description: Internal Server Error
  23438. schema:
  23439. $ref: '#/definitions/app.Response'
  23440. security:
  23441. - ApiKeyAuth: []
  23442. summary: 查询商品交割关系表
  23443. tags:
  23444. - 交割服务
  23445. /Ermcp/GetErmcpGoods:
  23446. get:
  23447. parameters:
  23448. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23449. in: query
  23450. name: userid
  23451. type: integer
  23452. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23453. in: query
  23454. name: lastUpdateTime
  23455. type: string
  23456. produces:
  23457. - application/json
  23458. responses:
  23459. "200":
  23460. description: OK
  23461. schema:
  23462. $ref: '#/definitions/models.ErmcpGoods'
  23463. "500":
  23464. description: Internal Server Error
  23465. schema:
  23466. $ref: '#/definitions/app.Response'
  23467. security:
  23468. - ApiKeyAuth: []
  23469. summary: 查询企业风管期货商品信息
  23470. tags:
  23471. - 企业风险管理(app)
  23472. /Ermcp/GetErmcpGoodsSortByPosition:
  23473. get:
  23474. parameters:
  23475. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23476. in: query
  23477. name: sortIndex
  23478. type: string
  23479. produces:
  23480. - application/json
  23481. responses:
  23482. "200":
  23483. description: OK
  23484. schema:
  23485. $ref: '#/definitions/models.Goodssortbypreposition'
  23486. "500":
  23487. description: Internal Server Error
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. security:
  23491. - ApiKeyAuth: []
  23492. summary: 查询企业风管期货主力、次主力商品信息
  23493. tags:
  23494. - 企业风险管理(app)
  23495. /Ermcp/GetErmcpOutAccountStatus:
  23496. get:
  23497. parameters:
  23498. - description: 登录账号
  23499. in: query
  23500. name: loginID
  23501. required: true
  23502. type: integer
  23503. produces:
  23504. - application/json
  23505. responses:
  23506. "200":
  23507. description: OK
  23508. schema:
  23509. $ref: '#/definitions/models.Hedgemarketopenlog'
  23510. "500":
  23511. description: Internal Server Error
  23512. schema:
  23513. $ref: '#/definitions/app.Response'
  23514. security:
  23515. - ApiKeyAuth: []
  23516. summary: 获取目标登录账号当前对冲账号在线状态
  23517. tags:
  23518. - 企业风险管理(app)
  23519. /Ermcp/GetErmcpRoleFuncMenuLists:
  23520. get:
  23521. parameters:
  23522. - description: 登录账号
  23523. in: query
  23524. name: loginID
  23525. required: true
  23526. type: integer
  23527. produces:
  23528. - application/json
  23529. responses:
  23530. "200":
  23531. description: OK
  23532. schema:
  23533. $ref: '#/definitions/models.Funcmenulist'
  23534. "500":
  23535. description: Internal Server Error
  23536. schema:
  23537. $ref: '#/definitions/app.Response'
  23538. security:
  23539. - ApiKeyAuth: []
  23540. summary: 获取企业风管终端权限
  23541. tags:
  23542. - 企业风险管理(app)
  23543. /Ermcp/QueryAccMgrBizGroupSet:
  23544. get:
  23545. parameters:
  23546. - description: 用户ID
  23547. in: query
  23548. name: userid
  23549. required: true
  23550. type: integer
  23551. - description: 现货商品id
  23552. in: query
  23553. name: deliverygoodsid
  23554. type: integer
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. items:
  23562. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23563. type: array
  23564. "500":
  23565. description: Internal Server Error
  23566. schema:
  23567. $ref: '#/definitions/app.Response'
  23568. security:
  23569. - ApiKeyAuth: []
  23570. summary: 查询业务类型分组(账户管理/账户设置)
  23571. tags:
  23572. - 企业风险管理(app)
  23573. /Ermcp/QueryAccMgrLoginUser:
  23574. get:
  23575. parameters:
  23576. - description: 用户ID
  23577. in: query
  23578. name: userid
  23579. required: true
  23580. type: integer
  23581. - description: 用户类型 2-机构 7-企业成员
  23582. in: query
  23583. name: usertype
  23584. type: integer
  23585. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23586. in: query
  23587. name: querytype
  23588. required: true
  23589. type: integer
  23590. produces:
  23591. - application/json
  23592. responses:
  23593. "200":
  23594. description: OK
  23595. schema:
  23596. items:
  23597. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23598. type: array
  23599. "500":
  23600. description: Internal Server Error
  23601. schema:
  23602. $ref: '#/definitions/app.Response'
  23603. security:
  23604. - ApiKeyAuth: []
  23605. summary: 查询账户管理登录账号(账户管理/登录账号)
  23606. tags:
  23607. - 企业风险管理(app)
  23608. /Ermcp/QueryAccMgrMainAccountInfo:
  23609. get:
  23610. parameters:
  23611. - description: 用户ID
  23612. in: query
  23613. name: userid
  23614. type: integer
  23615. - description: 主账号id
  23616. in: query
  23617. name: accountid
  23618. type: integer
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. items:
  23626. $ref: '#/definitions/models.MainAccountInfo'
  23627. type: array
  23628. "500":
  23629. description: Internal Server Error
  23630. schema:
  23631. $ref: '#/definitions/app.Response'
  23632. security:
  23633. - ApiKeyAuth: []
  23634. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23635. tags:
  23636. - 企业风险管理(app)
  23637. /Ermcp/QueryAccMgrRole:
  23638. get:
  23639. parameters:
  23640. - description: 用户ID
  23641. in: query
  23642. name: userid
  23643. required: true
  23644. type: integer
  23645. produces:
  23646. - application/json
  23647. responses:
  23648. "200":
  23649. description: OK
  23650. schema:
  23651. items:
  23652. $ref: '#/definitions/models.ErmcpRole'
  23653. type: array
  23654. "500":
  23655. description: Internal Server Error
  23656. schema:
  23657. $ref: '#/definitions/app.Response'
  23658. security:
  23659. - ApiKeyAuth: []
  23660. summary: 查询账户管理角色设置(账户管理/角色设置)
  23661. tags:
  23662. - 企业风险管理(app)
  23663. /Ermcp/QueryAccMgrRoleMenu:
  23664. get:
  23665. parameters:
  23666. - description: 用户ID
  23667. in: query
  23668. name: userid
  23669. required: true
  23670. type: integer
  23671. - description: 角色id(可多个,逗号隔开)
  23672. in: query
  23673. name: roleid
  23674. type: string
  23675. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23676. in: query
  23677. name: menutype
  23678. type: integer
  23679. produces:
  23680. - application/json
  23681. responses:
  23682. "200":
  23683. description: OK
  23684. schema:
  23685. items:
  23686. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23687. type: array
  23688. "500":
  23689. description: Internal Server Error
  23690. schema:
  23691. $ref: '#/definitions/app.Response'
  23692. security:
  23693. - ApiKeyAuth: []
  23694. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23695. tags:
  23696. - 企业风险管理(app)
  23697. /Ermcp/QueryAccMgrTaAccountInfo:
  23698. get:
  23699. parameters:
  23700. - description: 用户ID
  23701. in: query
  23702. name: userid
  23703. required: true
  23704. type: integer
  23705. - description: 账号id
  23706. in: query
  23707. name: accountid
  23708. type: integer
  23709. produces:
  23710. - application/json
  23711. responses:
  23712. "200":
  23713. description: OK
  23714. schema:
  23715. items:
  23716. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23717. type: array
  23718. "500":
  23719. description: Internal Server Error
  23720. schema:
  23721. $ref: '#/definitions/app.Response'
  23722. security:
  23723. - ApiKeyAuth: []
  23724. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23725. tags:
  23726. - 企业风险管理(app)
  23727. /Ermcp/QueryAccMgrTaaccount:
  23728. get:
  23729. parameters:
  23730. - description: 用户ID
  23731. in: query
  23732. name: userid
  23733. required: true
  23734. type: integer
  23735. produces:
  23736. - application/json
  23737. responses:
  23738. "200":
  23739. description: OK
  23740. schema:
  23741. items:
  23742. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23743. type: array
  23744. "500":
  23745. description: Internal Server Error
  23746. schema:
  23747. $ref: '#/definitions/app.Response'
  23748. security:
  23749. - ApiKeyAuth: []
  23750. summary: 查询账户管理期货账号(账户管理/期货账号)
  23751. tags:
  23752. - 企业风险管理(app)
  23753. /Ermcp/QueryAvaildGoodsGroup:
  23754. get:
  23755. parameters:
  23756. - description: 所属机构ID
  23757. in: query
  23758. name: userid
  23759. required: true
  23760. type: integer
  23761. produces:
  23762. - application/json
  23763. responses:
  23764. "200":
  23765. description: OK
  23766. schema:
  23767. items:
  23768. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23769. type: array
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23777. tags:
  23778. - 企业风险管理(app)
  23779. /Ermcp/QueryBusinessDj:
  23780. get:
  23781. parameters:
  23782. - description: 用户ID
  23783. in: query
  23784. name: UserId
  23785. required: true
  23786. type: integer
  23787. - description: 用户类型 2-机构 7-企业成员
  23788. in: query
  23789. name: usertype
  23790. type: integer
  23791. - description: 现货合同ID, 不填则查所有
  23792. in: query
  23793. name: relatedid
  23794. type: string
  23795. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23796. in: query
  23797. name: applystatus
  23798. type: string
  23799. produces:
  23800. - application/json
  23801. responses:
  23802. "200":
  23803. description: OK
  23804. schema:
  23805. items:
  23806. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23807. type: array
  23808. "500":
  23809. description: Internal Server Error
  23810. schema:
  23811. $ref: '#/definitions/app.Response'
  23812. security:
  23813. - ApiKeyAuth: []
  23814. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23815. tags:
  23816. - 企业风险管理(app)
  23817. /Ermcp/QueryBusinessFp:
  23818. get:
  23819. parameters:
  23820. - description: 用户ID
  23821. in: query
  23822. name: UserId
  23823. required: true
  23824. type: integer
  23825. - description: 用户类型 2-机构 7-企业成员
  23826. in: query
  23827. name: usertype
  23828. type: integer
  23829. - description: 现货合同ID, 不填则查所有
  23830. in: query
  23831. name: relatedid
  23832. type: string
  23833. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23834. in: query
  23835. name: applystatus
  23836. type: string
  23837. produces:
  23838. - application/json
  23839. responses:
  23840. "200":
  23841. description: OK
  23842. schema:
  23843. items:
  23844. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23845. type: array
  23846. "500":
  23847. description: Internal Server Error
  23848. schema:
  23849. $ref: '#/definitions/app.Response'
  23850. security:
  23851. - ApiKeyAuth: []
  23852. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23853. tags:
  23854. - 企业风险管理(app)
  23855. /Ermcp/QueryBusinessJs:
  23856. get:
  23857. parameters:
  23858. - description: 用户ID
  23859. in: query
  23860. name: UserId
  23861. required: true
  23862. type: integer
  23863. - description: 用户类型 2-机构 7-企业成员
  23864. in: query
  23865. name: usertype
  23866. type: integer
  23867. - description: 现货合同ID, 不填则查所有
  23868. in: query
  23869. name: relatedid
  23870. type: string
  23871. - description: 操作申请id
  23872. in: query
  23873. name: operateapplyid
  23874. type: string
  23875. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23876. in: query
  23877. name: applystatus
  23878. type: string
  23879. produces:
  23880. - application/json
  23881. responses:
  23882. "200":
  23883. description: OK
  23884. schema:
  23885. items:
  23886. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23887. type: array
  23888. "500":
  23889. description: Internal Server Error
  23890. schema:
  23891. $ref: '#/definitions/app.Response'
  23892. security:
  23893. - ApiKeyAuth: []
  23894. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23895. tags:
  23896. - 企业风险管理(app)
  23897. /Ermcp/QueryBusinessJsEx:
  23898. get:
  23899. parameters:
  23900. - description: 用户ID
  23901. in: query
  23902. name: UserId
  23903. required: true
  23904. type: integer
  23905. - description: 用户类型 2-机构 7-企业成员
  23906. in: query
  23907. name: usertype
  23908. type: integer
  23909. - description: 现货合同ID, 不填则查所有
  23910. in: query
  23911. name: relatedid
  23912. type: string
  23913. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23914. in: query
  23915. name: applystatus
  23916. type: string
  23917. produces:
  23918. - application/json
  23919. responses:
  23920. "200":
  23921. description: OK
  23922. schema:
  23923. items:
  23924. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23925. type: array
  23926. "500":
  23927. description: Internal Server Error
  23928. schema:
  23929. $ref: '#/definitions/app.Response'
  23930. security:
  23931. - ApiKeyAuth: []
  23932. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23933. tags:
  23934. - 企业风险管理(app)
  23935. /Ermcp/QueryBusinessKx:
  23936. get:
  23937. parameters:
  23938. - description: 用户ID
  23939. in: query
  23940. name: UserId
  23941. required: true
  23942. type: integer
  23943. - description: 用户类型 2-机构 7-企业成员
  23944. in: query
  23945. name: usertype
  23946. type: integer
  23947. - description: 现货合同ID, 不填则查所有
  23948. in: query
  23949. name: relatedid
  23950. type: string
  23951. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23952. in: query
  23953. name: applystatus
  23954. type: string
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. items:
  23962. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23963. type: array
  23964. "500":
  23965. description: Internal Server Error
  23966. schema:
  23967. $ref: '#/definitions/app.Response'
  23968. security:
  23969. - ApiKeyAuth: []
  23970. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23971. tags:
  23972. - 企业风险管理(app)
  23973. /Ermcp/QueryChangeLog:
  23974. get:
  23975. parameters:
  23976. - description: 合同ID
  23977. in: query
  23978. name: RelatedId
  23979. required: true
  23980. type: string
  23981. produces:
  23982. - application/json
  23983. responses:
  23984. "200":
  23985. description: OK
  23986. schema:
  23987. items:
  23988. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23989. type: array
  23990. "500":
  23991. description: Internal Server Error
  23992. schema:
  23993. $ref: '#/definitions/app.Response'
  23994. security:
  23995. - ApiKeyAuth: []
  23996. summary: 查询变更记录
  23997. tags:
  23998. - 企业风险管理(app)
  23999. /Ermcp/QueryErmcpHisOrderDetails:
  24000. get:
  24001. parameters:
  24002. - description: 资金账户ID
  24003. in: query
  24004. name: accountID
  24005. required: true
  24006. type: integer
  24007. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24008. in: query
  24009. name: startDate
  24010. type: string
  24011. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24012. in: query
  24013. name: endDate
  24014. type: string
  24015. produces:
  24016. - application/json
  24017. responses:
  24018. "200":
  24019. description: OK
  24020. schema:
  24021. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24022. "500":
  24023. description: Internal Server Error
  24024. schema:
  24025. $ref: '#/definitions/app.Response'
  24026. security:
  24027. - ApiKeyAuth: []
  24028. summary: 获取企业风管期货历史委托单信息
  24029. tags:
  24030. - 企业风险管理(app)
  24031. /Ermcp/QueryErmcpHisTradeDetails:
  24032. get:
  24033. parameters:
  24034. - description: 资金账户ID
  24035. in: query
  24036. name: accountID
  24037. required: true
  24038. type: integer
  24039. - description: 商品ID
  24040. in: query
  24041. name: goodsID
  24042. type: integer
  24043. - description: 买卖方向,0:买 1:卖
  24044. in: query
  24045. name: buyOrSell
  24046. type: integer
  24047. - description: 关联委托单号
  24048. in: query
  24049. name: orderID
  24050. type: integer
  24051. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24052. in: query
  24053. name: startDate
  24054. type: string
  24055. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24056. in: query
  24057. name: endDate
  24058. type: string
  24059. produces:
  24060. - application/json
  24061. responses:
  24062. "200":
  24063. description: OK
  24064. schema:
  24065. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24066. "500":
  24067. description: Internal Server Error
  24068. schema:
  24069. $ref: '#/definitions/app.Response'
  24070. security:
  24071. - ApiKeyAuth: []
  24072. summary: 获取企业风管期货历史成交单信息
  24073. tags:
  24074. - 企业风险管理(app)
  24075. /Ermcp/QueryErmcpInnerHolderDetails:
  24076. get:
  24077. parameters:
  24078. - description: 资金账户ID
  24079. in: query
  24080. name: accountID
  24081. required: true
  24082. type: integer
  24083. - description: 商品ID
  24084. in: query
  24085. name: goodsID
  24086. type: integer
  24087. - description: 买卖方向,0:买 1:卖
  24088. in: query
  24089. name: buyOrSell
  24090. type: integer
  24091. produces:
  24092. - application/json
  24093. responses:
  24094. "200":
  24095. description: OK
  24096. schema:
  24097. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24098. "500":
  24099. description: Internal Server Error
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. security:
  24103. - ApiKeyAuth: []
  24104. summary: 获取企业风管期货内部持仓单信息
  24105. tags:
  24106. - 企业风险管理(app)
  24107. /Ermcp/QueryErmcpOrderDetails:
  24108. get:
  24109. parameters:
  24110. - description: 资金账户ID
  24111. in: query
  24112. name: accountID
  24113. required: true
  24114. type: integer
  24115. produces:
  24116. - application/json
  24117. responses:
  24118. "200":
  24119. description: OK
  24120. schema:
  24121. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24122. "500":
  24123. description: Internal Server Error
  24124. schema:
  24125. $ref: '#/definitions/app.Response'
  24126. security:
  24127. - ApiKeyAuth: []
  24128. summary: 获取企业风管期货委托单信息
  24129. tags:
  24130. - 企业风险管理(app)
  24131. /Ermcp/QueryErmcpTradeDetails:
  24132. get:
  24133. parameters:
  24134. - description: 资金账户ID
  24135. in: query
  24136. name: accountID
  24137. required: true
  24138. type: integer
  24139. - description: 商品ID
  24140. in: query
  24141. name: goodsID
  24142. type: integer
  24143. - description: 买卖方向,0:买 1:卖
  24144. in: query
  24145. name: buyOrSell
  24146. type: integer
  24147. - description: 关联委托单号
  24148. in: query
  24149. name: orderID
  24150. type: integer
  24151. produces:
  24152. - application/json
  24153. responses:
  24154. "200":
  24155. description: OK
  24156. schema:
  24157. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 获取企业风管期货成交单信息
  24165. tags:
  24166. - 企业风险管理(app)
  24167. /Ermcp/QueryErmcpTradePosition:
  24168. get:
  24169. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24170. parameters:
  24171. - description: 资金账户ID
  24172. in: query
  24173. name: accountID
  24174. required: true
  24175. type: integer
  24176. - description: 所属市场ID
  24177. in: query
  24178. name: marketID
  24179. type: integer
  24180. produces:
  24181. - application/json
  24182. responses:
  24183. "200":
  24184. description: OK
  24185. schema:
  24186. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24187. "500":
  24188. description: Internal Server Error
  24189. schema:
  24190. $ref: '#/definitions/app.Response'
  24191. security:
  24192. - ApiKeyAuth: []
  24193. summary: 获取企业风管期货持仓头寸信息
  24194. tags:
  24195. - 企业风险管理(app)
  24196. /Ermcp/QueryExposureDetail:
  24197. get:
  24198. parameters:
  24199. - description: 所属机构ID
  24200. in: query
  24201. name: areaUserId
  24202. required: true
  24203. type: integer
  24204. - description: 套保商品
  24205. in: query
  24206. name: middleGoodsId
  24207. required: true
  24208. type: integer
  24209. produces:
  24210. - application/json
  24211. responses:
  24212. "200":
  24213. description: OK
  24214. schema:
  24215. items:
  24216. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24217. type: array
  24218. "500":
  24219. description: Internal Server Error
  24220. schema:
  24221. $ref: '#/definitions/app.Response'
  24222. security:
  24223. - ApiKeyAuth: []
  24224. summary: 查询敞口现货明细
  24225. tags:
  24226. - 企业风险管理(app)
  24227. /Ermcp/QueryExposureGoods:
  24228. get:
  24229. parameters:
  24230. - description: 套保商品id
  24231. in: query
  24232. name: middlegoodsid
  24233. required: true
  24234. type: integer
  24235. produces:
  24236. - application/json
  24237. responses:
  24238. "200":
  24239. description: OK
  24240. schema:
  24241. items:
  24242. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24243. type: array
  24244. "500":
  24245. description: Internal Server Error
  24246. schema:
  24247. $ref: '#/definitions/app.Response'
  24248. security:
  24249. - ApiKeyAuth: []
  24250. summary: 查询敞口主力合约
  24251. tags:
  24252. - 企业风险管理(app)
  24253. /Ermcp/QueryExposureHedgePosition:
  24254. get:
  24255. parameters:
  24256. - description: 用户id
  24257. in: query
  24258. name: userid
  24259. required: true
  24260. type: integer
  24261. produces:
  24262. - application/json
  24263. responses:
  24264. "200":
  24265. description: OK
  24266. schema:
  24267. items:
  24268. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24269. type: array
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24277. tags:
  24278. - 企业风险管理(app)
  24279. /Ermcp/QueryExposureHedgePositionDetail:
  24280. get:
  24281. parameters:
  24282. - description: 所属机构ID
  24283. in: query
  24284. name: userid
  24285. required: true
  24286. type: integer
  24287. - description: 商品id
  24288. in: query
  24289. name: goodsId
  24290. required: true
  24291. type: integer
  24292. produces:
  24293. - application/json
  24294. responses:
  24295. "200":
  24296. description: OK
  24297. schema:
  24298. items:
  24299. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24300. type: array
  24301. "500":
  24302. description: Internal Server Error
  24303. schema:
  24304. $ref: '#/definitions/app.Response'
  24305. security:
  24306. - ApiKeyAuth: []
  24307. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24308. tags:
  24309. - 企业风险管理(app)
  24310. /Ermcp/QueryExposureSpot:
  24311. get:
  24312. parameters:
  24313. - description: 所属机构ID
  24314. in: query
  24315. name: areaUserId
  24316. required: true
  24317. type: integer
  24318. produces:
  24319. - application/json
  24320. responses:
  24321. "200":
  24322. description: OK
  24323. schema:
  24324. items:
  24325. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24326. type: array
  24327. "500":
  24328. description: Internal Server Error
  24329. schema:
  24330. $ref: '#/definitions/app.Response'
  24331. security:
  24332. - ApiKeyAuth: []
  24333. summary: 查询敞口现货头寸(敞口/现货头寸)
  24334. tags:
  24335. - 企业风险管理(app)
  24336. /Ermcp/QueryExposureSpotDetail:
  24337. get:
  24338. parameters:
  24339. - description: 所属机构ID
  24340. in: query
  24341. name: areaUserId
  24342. required: true
  24343. type: integer
  24344. - description: 现货品种ID
  24345. in: query
  24346. name: wrstandardId
  24347. required: true
  24348. type: integer
  24349. produces:
  24350. - application/json
  24351. responses:
  24352. "200":
  24353. description: OK
  24354. schema:
  24355. items:
  24356. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24357. type: array
  24358. "500":
  24359. description: Internal Server Error
  24360. schema:
  24361. $ref: '#/definitions/app.Response'
  24362. security:
  24363. - ApiKeyAuth: []
  24364. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24365. tags:
  24366. - 企业风险管理(app)
  24367. /Ermcp/QueryFuturesCompany:
  24368. get:
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询期货公司
  24385. tags:
  24386. - 企业风险管理(app)
  24387. /Ermcp/QueryGGConvertConfig:
  24388. get:
  24389. parameters:
  24390. - description: 品种id(不填则查所有)
  24391. in: query
  24392. name: goodsgroupid
  24393. type: integer
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. items:
  24401. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24402. type: array
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24410. tags:
  24411. - 企业风险管理(app)
  24412. /Ermcp/QueryGoodsBrand:
  24413. get:
  24414. parameters:
  24415. - description: 用户ID
  24416. in: query
  24417. name: userid
  24418. required: true
  24419. type: integer
  24420. - description: 现货商品ID
  24421. in: query
  24422. name: wrstandardid
  24423. type: integer
  24424. produces:
  24425. - application/json
  24426. responses:
  24427. "200":
  24428. description: OK
  24429. schema:
  24430. items:
  24431. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24432. type: array
  24433. "500":
  24434. description: Internal Server Error
  24435. schema:
  24436. $ref: '#/definitions/app.Response'
  24437. security:
  24438. - ApiKeyAuth: []
  24439. summary: 查询商品品牌
  24440. tags:
  24441. - 企业风险管理(app)
  24442. /Ermcp/QueryGoodsModel:
  24443. get:
  24444. parameters:
  24445. - description: 用户ID
  24446. in: query
  24447. name: userid
  24448. required: true
  24449. type: integer
  24450. produces:
  24451. - application/json
  24452. responses:
  24453. "200":
  24454. description: OK
  24455. schema:
  24456. items:
  24457. $ref: '#/definitions/models.ErmcpGoodsModel'
  24458. type: array
  24459. "500":
  24460. description: Internal Server Error
  24461. schema:
  24462. $ref: '#/definitions/app.Response'
  24463. security:
  24464. - ApiKeyAuth: []
  24465. summary: 查询商品型号
  24466. tags:
  24467. - 企业风险管理(app)
  24468. /Ermcp/QueryHisExposure:
  24469. get:
  24470. parameters:
  24471. - description: 用户id
  24472. in: query
  24473. name: userid
  24474. required: true
  24475. type: integer
  24476. - description: 每个品种记录数
  24477. in: query
  24478. name: lastNum
  24479. required: true
  24480. type: integer
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. items:
  24488. $ref: '#/definitions/ermcp.HisExposureRsp'
  24489. type: array
  24490. "500":
  24491. description: Internal Server Error
  24492. schema:
  24493. $ref: '#/definitions/app.Response'
  24494. security:
  24495. - ApiKeyAuth: []
  24496. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24497. tags:
  24498. - 企业风险管理(app)
  24499. /Ermcp/QueryMiddleGoods:
  24500. get:
  24501. parameters:
  24502. - description: 所属机构ID
  24503. in: query
  24504. name: userid
  24505. required: true
  24506. type: integer
  24507. - description: 状态 0-停用 1-正常
  24508. in: query
  24509. name: status
  24510. required: true
  24511. type: integer
  24512. produces:
  24513. - application/json
  24514. responses:
  24515. "200":
  24516. description: OK
  24517. schema:
  24518. items:
  24519. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24520. type: array
  24521. "500":
  24522. description: Internal Server Error
  24523. schema:
  24524. $ref: '#/definitions/app.Response'
  24525. security:
  24526. - ApiKeyAuth: []
  24527. summary: 查询套保品种(菜单:套保品种)
  24528. tags:
  24529. - 企业风险管理(app)
  24530. /Ermcp/QueryMiddleGoodsChangeLog:
  24531. get:
  24532. parameters:
  24533. - description: 所属机构ID
  24534. in: query
  24535. name: userid
  24536. required: true
  24537. type: integer
  24538. - description: 套保品种id
  24539. in: query
  24540. name: middlegoodsid
  24541. required: true
  24542. type: integer
  24543. produces:
  24544. - application/json
  24545. responses:
  24546. "200":
  24547. description: OK
  24548. schema:
  24549. items:
  24550. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24551. type: array
  24552. "500":
  24553. description: Internal Server Error
  24554. schema:
  24555. $ref: '#/definitions/app.Response'
  24556. security:
  24557. - ApiKeyAuth: []
  24558. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24559. tags:
  24560. - 企业风险管理(app)
  24561. /Ermcp/QueryMiddleGoodsDetail:
  24562. get:
  24563. parameters:
  24564. - description: 所属机构ID
  24565. in: query
  24566. name: userid
  24567. required: true
  24568. type: integer
  24569. - description: 套保品种id
  24570. in: query
  24571. name: middlegoodsid
  24572. type: integer
  24573. produces:
  24574. - application/json
  24575. responses:
  24576. "200":
  24577. description: OK
  24578. schema:
  24579. items:
  24580. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24581. type: array
  24582. "500":
  24583. description: Internal Server Error
  24584. schema:
  24585. $ref: '#/definitions/app.Response'
  24586. security:
  24587. - ApiKeyAuth: []
  24588. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24589. tags:
  24590. - 企业风险管理(app)
  24591. /Ermcp/QueryPendingAuditInfo:
  24592. get:
  24593. parameters:
  24594. - description: 用户ID
  24595. in: query
  24596. name: UserId
  24597. required: true
  24598. type: integer
  24599. produces:
  24600. - application/json
  24601. responses:
  24602. "200":
  24603. description: OK
  24604. schema:
  24605. items:
  24606. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24607. type: array
  24608. "500":
  24609. description: Internal Server Error
  24610. schema:
  24611. $ref: '#/definitions/app.Response'
  24612. security:
  24613. - ApiKeyAuth: []
  24614. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24615. tags:
  24616. - 企业风险管理(app)
  24617. /Ermcp/QueryRealtimeExposure:
  24618. get:
  24619. parameters:
  24620. - description: 所属机构ID
  24621. in: query
  24622. name: userid
  24623. required: true
  24624. type: integer
  24625. produces:
  24626. - application/json
  24627. responses:
  24628. "200":
  24629. description: OK
  24630. schema:
  24631. items:
  24632. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24633. type: array
  24634. "500":
  24635. description: Internal Server Error
  24636. schema:
  24637. $ref: '#/definitions/app.Response'
  24638. security:
  24639. - ApiKeyAuth: []
  24640. summary: 查询实时敞口
  24641. tags:
  24642. - 企业风险管理(app)
  24643. /Ermcp/QueryRealtimeExposurePosition:
  24644. get:
  24645. parameters:
  24646. - description: 用户id
  24647. in: query
  24648. name: userid
  24649. required: true
  24650. type: integer
  24651. - description: 套保商品ID
  24652. in: query
  24653. name: middleGoodsId
  24654. required: true
  24655. type: integer
  24656. produces:
  24657. - application/json
  24658. responses:
  24659. "200":
  24660. description: OK
  24661. schema:
  24662. items:
  24663. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24664. type: array
  24665. "500":
  24666. description: Internal Server Error
  24667. schema:
  24668. $ref: '#/definitions/app.Response'
  24669. security:
  24670. - ApiKeyAuth: []
  24671. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24672. tags:
  24673. - 企业风险管理(app)
  24674. /Ermcp/QueryRoleMenu:
  24675. get:
  24676. parameters:
  24677. - description: 登录ID
  24678. in: query
  24679. name: loginid
  24680. required: true
  24681. type: integer
  24682. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24683. in: query
  24684. name: menutype
  24685. type: integer
  24686. produces:
  24687. - application/json
  24688. responses:
  24689. "200":
  24690. description: OK
  24691. schema:
  24692. items:
  24693. $ref: '#/definitions/models.RoleMenu'
  24694. type: array
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. security:
  24700. - ApiKeyAuth: []
  24701. summary: 查询角色菜单和权限
  24702. tags:
  24703. - 企业风险管理(app)
  24704. /Ermcp/QueryTradeConfigTMP:
  24705. get:
  24706. parameters:
  24707. - description: 所属机构id
  24708. in: query
  24709. name: areauserid
  24710. type: integer
  24711. produces:
  24712. - application/json
  24713. responses:
  24714. "200":
  24715. description: OK
  24716. schema:
  24717. items:
  24718. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24719. type: array
  24720. "500":
  24721. description: Internal Server Error
  24722. schema:
  24723. $ref: '#/definitions/app.Response'
  24724. security:
  24725. - ApiKeyAuth: []
  24726. summary: 查询交易模板配置
  24727. tags:
  24728. - 企业风险管理(app)
  24729. /Ermcp/QueryUserInfo:
  24730. get:
  24731. parameters:
  24732. - description: 所属机构用户ID
  24733. in: query
  24734. name: MemberUserID
  24735. required: true
  24736. type: integer
  24737. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24738. in: query
  24739. name: queryType
  24740. required: true
  24741. type: integer
  24742. produces:
  24743. - application/json
  24744. responses:
  24745. "200":
  24746. description: OK
  24747. schema:
  24748. items:
  24749. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24750. type: array
  24751. "500":
  24752. description: Internal Server Error
  24753. schema:
  24754. $ref: '#/definitions/app.Response'
  24755. security:
  24756. - ApiKeyAuth: []
  24757. summary: 查询客户资料
  24758. tags:
  24759. - 企业风险管理(app)
  24760. /Ermcp/QueryWarehouseInfo:
  24761. get:
  24762. parameters:
  24763. - description: 用户ID
  24764. in: query
  24765. name: userid
  24766. required: true
  24767. type: integer
  24768. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24769. in: query
  24770. name: status
  24771. type: string
  24772. produces:
  24773. - application/json
  24774. responses:
  24775. "200":
  24776. description: OK
  24777. schema:
  24778. items:
  24779. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24780. type: array
  24781. "500":
  24782. description: Internal Server Error
  24783. schema:
  24784. $ref: '#/definitions/app.Response'
  24785. security:
  24786. - ApiKeyAuth: []
  24787. summary: 查询仓库信息
  24788. tags:
  24789. - 企业风险管理(app)
  24790. /Ermcp3/QryAreaExpourseContractDetail:
  24791. get:
  24792. parameters:
  24793. - description: 用户ID
  24794. in: query
  24795. name: userid
  24796. required: true
  24797. type: integer
  24798. - description: 套保商品id
  24799. in: query
  24800. name: middlegoodsid
  24801. required: true
  24802. type: integer
  24803. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24804. in: query
  24805. name: cycletype
  24806. required: true
  24807. type: integer
  24808. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24809. 全(0)【原值】
  24810. in: query
  24811. name: cycletime
  24812. required: true
  24813. type: string
  24814. produces:
  24815. - application/json
  24816. responses:
  24817. "200":
  24818. description: OK
  24819. schema:
  24820. items:
  24821. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24822. type: array
  24823. "500":
  24824. description: Internal Server Error
  24825. schema:
  24826. $ref: '#/definitions/app.Response'
  24827. security:
  24828. - ApiKeyAuth: []
  24829. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24830. tags:
  24831. - 企业风险管理v3(app)
  24832. /Ermcp3/QryAreaExpourseFutuDetail:
  24833. get:
  24834. parameters:
  24835. - description: 用户ID
  24836. in: query
  24837. name: userid
  24838. required: true
  24839. type: integer
  24840. - description: 套保商品id
  24841. in: query
  24842. name: middlegoodsid
  24843. required: true
  24844. type: integer
  24845. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24846. in: query
  24847. name: cycletype
  24848. required: true
  24849. type: integer
  24850. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24851. 全(0)【原值】
  24852. in: query
  24853. name: cycletime
  24854. required: true
  24855. type: string
  24856. produces:
  24857. - application/json
  24858. responses:
  24859. "200":
  24860. description: OK
  24861. schema:
  24862. items:
  24863. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24864. type: array
  24865. "500":
  24866. description: Internal Server Error
  24867. schema:
  24868. $ref: '#/definitions/app.Response'
  24869. security:
  24870. - ApiKeyAuth: []
  24871. summary: 查询敞口期货明细(敞口报表/期货明细)
  24872. tags:
  24873. - 企业风险管理v3(app)
  24874. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24875. get:
  24876. parameters:
  24877. - description: 用户ID
  24878. in: query
  24879. name: userid
  24880. required: true
  24881. type: integer
  24882. - description: 套保商品id
  24883. in: query
  24884. name: middlegoodsid
  24885. required: true
  24886. type: integer
  24887. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24888. in: query
  24889. name: cycletype
  24890. required: true
  24891. type: integer
  24892. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24893. 全(0)【原值】
  24894. in: query
  24895. name: cycletime
  24896. required: true
  24897. type: string
  24898. produces:
  24899. - application/json
  24900. responses:
  24901. "200":
  24902. description: OK
  24903. schema:
  24904. items:
  24905. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24906. type: array
  24907. "500":
  24908. description: Internal Server Error
  24909. schema:
  24910. $ref: '#/definitions/app.Response'
  24911. security:
  24912. - ApiKeyAuth: []
  24913. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24914. tags:
  24915. - 企业风险管理v3(app)
  24916. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24917. get:
  24918. parameters:
  24919. - description: 用户ID
  24920. in: query
  24921. name: userid
  24922. required: true
  24923. type: integer
  24924. - description: 套保商品id
  24925. in: query
  24926. name: middlegoodsid
  24927. required: true
  24928. type: integer
  24929. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24930. in: query
  24931. name: cycletype
  24932. required: true
  24933. type: integer
  24934. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24935. 全(0)【原值】
  24936. in: query
  24937. name: cycletime
  24938. required: true
  24939. type: string
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. items:
  24947. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24948. type: array
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24956. tags:
  24957. - 企业风险管理v3(app)
  24958. /Ermcp3/QryAreaExpourseReport:
  24959. get:
  24960. parameters:
  24961. - description: 用户ID
  24962. in: query
  24963. name: userid
  24964. required: true
  24965. type: integer
  24966. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24967. in: query
  24968. name: querytype
  24969. required: true
  24970. type: integer
  24971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24972. in: query
  24973. name: cycletype
  24974. required: true
  24975. type: integer
  24976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24977. 全(0)【原值】
  24978. in: query
  24979. name: cycletime
  24980. required: true
  24981. type: string
  24982. produces:
  24983. - application/json
  24984. responses:
  24985. "200":
  24986. description: OK
  24987. schema:
  24988. items:
  24989. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24990. type: array
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 查询敞口报表
  24998. tags:
  24999. - 企业风险管理v3(app)
  25000. /Ermcp3/QryAreaSpotplReport:
  25001. get:
  25002. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25003. parameters:
  25004. - description: 用户ID
  25005. in: query
  25006. name: userid
  25007. required: true
  25008. type: integer
  25009. - description: 查询类型 1-报表 2-报表明细
  25010. in: query
  25011. name: querytype
  25012. required: true
  25013. type: integer
  25014. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25015. in: query
  25016. name: cycletype
  25017. required: true
  25018. type: integer
  25019. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25020. 全(0)【原值】
  25021. in: query
  25022. name: cycletime
  25023. required: true
  25024. type: string
  25025. - description: 现货品种id(明细必填)
  25026. in: query
  25027. name: deliverygoodsid
  25028. type: integer
  25029. - description: 币种id(明细必填)
  25030. in: query
  25031. name: currencyid
  25032. type: integer
  25033. - description: 日/周/月报表汇总维度 1:品种+品类
  25034. in: query
  25035. name: sumflag
  25036. type: integer
  25037. produces:
  25038. - application/json
  25039. responses:
  25040. "200":
  25041. description: OK
  25042. schema:
  25043. items:
  25044. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25045. type: array
  25046. "500":
  25047. description: Internal Server Error
  25048. schema:
  25049. $ref: '#/definitions/app.Response'
  25050. security:
  25051. - ApiKeyAuth: []
  25052. summary: 查询现货报表
  25053. tags:
  25054. - 企业风险管理v3(app)
  25055. /Ermcp3/QryAreaStockReport:
  25056. get:
  25057. parameters:
  25058. - description: 用户ID
  25059. in: query
  25060. name: userid
  25061. required: true
  25062. type: integer
  25063. - description: 查询类型 1-报表 2-报表明细
  25064. in: query
  25065. name: querytype
  25066. required: true
  25067. type: integer
  25068. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25069. in: query
  25070. name: cycletype
  25071. required: true
  25072. type: integer
  25073. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25074. 全(0)【原值】
  25075. in: query
  25076. name: cycletime
  25077. required: true
  25078. type: string
  25079. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25080. in: query
  25081. name: sumfields
  25082. type: string
  25083. - description: 品种ID
  25084. in: query
  25085. name: deliverygoodsid
  25086. type: integer
  25087. - description: 品类ID
  25088. in: query
  25089. name: wrstandardid
  25090. type: integer
  25091. - description: 品牌ID
  25092. in: query
  25093. name: spotgoodsbrandid
  25094. type: integer
  25095. - description: 仓库ID
  25096. in: query
  25097. name: warehouseinfoid
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  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/QryAreaSumPL:
  25118. get:
  25119. parameters:
  25120. - description: 用户ID
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 查询类型 1-报表 2-报表明细
  25126. in: query
  25127. name: querytype
  25128. required: true
  25129. type: integer
  25130. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25131. in: query
  25132. name: cycletype
  25133. required: true
  25134. type: integer
  25135. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25136. 全(0)【原值】
  25137. in: query
  25138. name: cycletime
  25139. required: true
  25140. type: string
  25141. - description: 币种id(明细必填)
  25142. in: query
  25143. name: currencyid
  25144. type: integer
  25145. - description: 套保品种ID, 查询类型为2时起效
  25146. in: query
  25147. name: middlegoodsid
  25148. type: integer
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. items:
  25156. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25157. type: array
  25158. "500":
  25159. description: Internal Server Error
  25160. schema:
  25161. $ref: '#/definitions/app.Response'
  25162. security:
  25163. - ApiKeyAuth: []
  25164. summary: 查询汇总损益表
  25165. tags:
  25166. - 企业风险管理v3(app)
  25167. /Ermcp3/QryFinanceReport:
  25168. get:
  25169. parameters:
  25170. - description: 用户ID
  25171. in: query
  25172. name: userid
  25173. required: true
  25174. type: integer
  25175. - description: 查询类型 1-报表 2-报表明细
  25176. in: query
  25177. name: querytype
  25178. required: true
  25179. type: integer
  25180. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25181. in: query
  25182. name: cycletype
  25183. required: true
  25184. type: integer
  25185. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25186. 全(0)【原值】
  25187. in: query
  25188. name: cycletime
  25189. required: true
  25190. type: string
  25191. - description: 币种id(报表明细必填)
  25192. in: query
  25193. name: currencyid
  25194. type: integer
  25195. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25196. in: query
  25197. name: sumfields
  25198. type: string
  25199. produces:
  25200. - application/json
  25201. responses:
  25202. "200":
  25203. description: OK
  25204. schema:
  25205. items:
  25206. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25207. type: array
  25208. "500":
  25209. description: Internal Server Error
  25210. schema:
  25211. $ref: '#/definitions/app.Response'
  25212. security:
  25213. - ApiKeyAuth: []
  25214. summary: 查询财务报表
  25215. tags:
  25216. - 企业风险管理v3(app)
  25217. /Ermcp3/QrySCMiddleGoodsReport:
  25218. get:
  25219. parameters:
  25220. - description: 用户ID
  25221. in: query
  25222. name: userid
  25223. required: true
  25224. type: integer
  25225. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25226. in: query
  25227. name: cycletype
  25228. required: true
  25229. type: integer
  25230. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25231. 全(0)【原值】
  25232. in: query
  25233. name: cycletime
  25234. required: true
  25235. type: string
  25236. - description: 合同id
  25237. in: query
  25238. name: spotcontractid
  25239. type: integer
  25240. - description: 套保品种id
  25241. in: query
  25242. name: middlegoodsid
  25243. type: integer
  25244. - description: 现货品种id
  25245. in: query
  25246. name: deliverygoodsid
  25247. type: integer
  25248. - description: 现货商品id
  25249. in: query
  25250. name: wrstandardid
  25251. type: integer
  25252. - description: 合同编号(模糊匹配)
  25253. in: query
  25254. name: contractno
  25255. type: string
  25256. produces:
  25257. - application/json
  25258. responses:
  25259. "200":
  25260. description: OK
  25261. schema:
  25262. items:
  25263. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25264. type: array
  25265. "500":
  25266. description: Internal Server Error
  25267. schema:
  25268. $ref: '#/definitions/app.Response'
  25269. security:
  25270. - ApiKeyAuth: []
  25271. summary: 查询定价报表
  25272. tags:
  25273. - 企业风险管理v3(app)
  25274. /Ermcp3/QryTaFutureDataReport:
  25275. get:
  25276. parameters:
  25277. - description: 用户ID
  25278. in: query
  25279. name: userid
  25280. required: true
  25281. type: integer
  25282. - description: 查询类型 1-报表 2-报表明细
  25283. in: query
  25284. name: querytype
  25285. required: true
  25286. type: integer
  25287. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25288. in: query
  25289. name: cycletype
  25290. required: true
  25291. type: integer
  25292. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25293. 全(0)【原值】
  25294. in: query
  25295. name: cycletime
  25296. required: true
  25297. type: string
  25298. - description: 币种id(查明细必填)
  25299. in: query
  25300. name: currencyid
  25301. type: integer
  25302. - description: 品种id(查明细必填)
  25303. in: query
  25304. name: goodsgroupid
  25305. type: integer
  25306. - description: 商品id(查明细必填)
  25307. in: query
  25308. name: goodsid
  25309. type: integer
  25310. - description: 买卖方向(查明细必填)
  25311. in: query
  25312. name: buyorsell
  25313. type: integer
  25314. produces:
  25315. - application/json
  25316. responses:
  25317. "200":
  25318. description: OK
  25319. schema:
  25320. items:
  25321. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25322. type: array
  25323. "500":
  25324. description: Internal Server Error
  25325. schema:
  25326. $ref: '#/definitions/app.Response'
  25327. security:
  25328. - ApiKeyAuth: []
  25329. summary: 查询期货报表
  25330. tags:
  25331. - 企业风险管理v3(app)
  25332. /Ermcp3/QueryAreaStock:
  25333. get:
  25334. parameters:
  25335. - description: 用户ID
  25336. in: query
  25337. name: userid
  25338. required: true
  25339. type: integer
  25340. produces:
  25341. - application/json
  25342. responses:
  25343. "200":
  25344. description: OK
  25345. schema:
  25346. items:
  25347. $ref: '#/definitions/models.Ermcp3AreaStock'
  25348. type: array
  25349. "500":
  25350. description: Internal Server Error
  25351. schema:
  25352. $ref: '#/definitions/app.Response'
  25353. security:
  25354. - ApiKeyAuth: []
  25355. summary: 查询机构库存(库存管理/当前库存)
  25356. tags:
  25357. - 企业风险管理v3(app)
  25358. /Ermcp3/QueryAreaStockApply:
  25359. get:
  25360. parameters:
  25361. - description: 用户ID
  25362. in: query
  25363. name: userid
  25364. required: true
  25365. type: integer
  25366. - description: 用户类型 2-机构 7-企业成员
  25367. in: query
  25368. name: usertype
  25369. type: integer
  25370. - description: 现货商品ID
  25371. in: query
  25372. name: deliverygoodsid
  25373. type: integer
  25374. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25375. in: query
  25376. name: inouttype
  25377. type: string
  25378. - description: 合同ID
  25379. in: query
  25380. name: spotcontractid
  25381. type: integer
  25382. - description: 品类ID
  25383. in: query
  25384. name: wrstandardid
  25385. type: integer
  25386. - description: 品牌ID
  25387. in: query
  25388. name: spotgoodsbrandid
  25389. type: integer
  25390. - description: 仓库ID
  25391. in: query
  25392. name: warehouseinfoid
  25393. type: integer
  25394. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25395. in: query
  25396. name: applystatus
  25397. type: string
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. items:
  25405. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25406. type: array
  25407. "500":
  25408. description: Internal Server Error
  25409. schema:
  25410. $ref: '#/definitions/app.Response'
  25411. security:
  25412. - ApiKeyAuth: []
  25413. summary: 查询库存申请(出入库记录|库存审核)
  25414. tags:
  25415. - 企业风险管理v3(app)
  25416. /Ermcp3/QueryAreaStockApplySum:
  25417. get:
  25418. parameters:
  25419. - description: 合同ID
  25420. in: query
  25421. name: spotcontractid
  25422. required: true
  25423. type: integer
  25424. produces:
  25425. - application/json
  25426. responses:
  25427. "200":
  25428. description: OK
  25429. schema:
  25430. items:
  25431. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25432. type: array
  25433. "500":
  25434. description: Internal Server Error
  25435. schema:
  25436. $ref: '#/definitions/app.Response'
  25437. security:
  25438. - ApiKeyAuth: []
  25439. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25440. tags:
  25441. - 企业风险管理v3(app)
  25442. /Ermcp3/QueryDGFactoryItem:
  25443. get:
  25444. parameters:
  25445. - description: 用户id
  25446. in: query
  25447. name: userid
  25448. type: integer
  25449. - description: 用户类型 2-机构 7-企业成员
  25450. in: query
  25451. name: usertype
  25452. type: integer
  25453. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25454. in: query
  25455. name: dgfactoryitemid
  25456. type: integer
  25457. - description: 现货品种ID
  25458. in: query
  25459. name: deliverygoodsid
  25460. type: integer
  25461. - description: 要素项类型
  25462. in: query
  25463. name: dgfactoryitemtypeid
  25464. type: integer
  25465. - description: 顺序
  25466. in: query
  25467. name: orderindex
  25468. type: integer
  25469. produces:
  25470. - application/json
  25471. responses:
  25472. "200":
  25473. description: OK
  25474. schema:
  25475. items:
  25476. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25477. type: array
  25478. "500":
  25479. description: Internal Server Error
  25480. schema:
  25481. $ref: '#/definitions/app.Response'
  25482. security:
  25483. - ApiKeyAuth: []
  25484. summary: 查询品种要素定义项
  25485. tags:
  25486. - 企业风险管理v3(app)
  25487. /Ermcp3/QueryDeliveryGoods:
  25488. get:
  25489. parameters:
  25490. - description: 用户id
  25491. in: query
  25492. name: userid
  25493. required: true
  25494. type: integer
  25495. - description: 用户类型 2-机构 7-企业成员
  25496. in: query
  25497. name: usertype
  25498. type: integer
  25499. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25500. in: query
  25501. name: excludecfg
  25502. type: integer
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. items:
  25510. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25511. type: array
  25512. "500":
  25513. description: Internal Server Error
  25514. schema:
  25515. $ref: '#/definitions/app.Response'
  25516. security:
  25517. - ApiKeyAuth: []
  25518. summary: 查询现货商品
  25519. tags:
  25520. - 企业风险管理v3(app)
  25521. /Ermcp3/QueryDeliveryGoodsDetail:
  25522. get:
  25523. parameters:
  25524. - description: 用户id
  25525. in: query
  25526. name: userid
  25527. required: true
  25528. type: integer
  25529. - description: 用户类型 2-机构 7-企业成员
  25530. in: query
  25531. name: usertype
  25532. type: integer
  25533. - description: 现货商品id
  25534. in: query
  25535. name: deliverygoodsid
  25536. type: integer
  25537. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25538. in: query
  25539. name: filtersubempty
  25540. type: integer
  25541. produces:
  25542. - application/json
  25543. responses:
  25544. "200":
  25545. description: OK
  25546. schema:
  25547. items:
  25548. $ref: '#/definitions/models.XHDeliveryGoods'
  25549. type: array
  25550. "500":
  25551. description: Internal Server Error
  25552. schema:
  25553. $ref: '#/definitions/app.Response'
  25554. security:
  25555. - ApiKeyAuth: []
  25556. summary: 查询现货商品详情
  25557. tags:
  25558. - 企业风险管理v3(app)
  25559. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25560. get:
  25561. parameters:
  25562. - description: 合同id
  25563. in: query
  25564. name: spotcontractid
  25565. required: true
  25566. type: string
  25567. produces:
  25568. - application/json
  25569. responses:
  25570. "200":
  25571. description: OK
  25572. schema:
  25573. items:
  25574. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25575. type: array
  25576. "500":
  25577. description: Internal Server Error
  25578. schema:
  25579. $ref: '#/definitions/app.Response'
  25580. security:
  25581. - ApiKeyAuth: []
  25582. summary: 查询现货合同期现配置信息
  25583. tags:
  25584. - 企业风险管理v3(app)
  25585. /Ermcp3/QueryExposureDetail:
  25586. get:
  25587. parameters:
  25588. - description: 用户id
  25589. in: query
  25590. name: userid
  25591. required: true
  25592. type: integer
  25593. - description: 用户类型 2-机构 7-企业成员
  25594. in: query
  25595. name: usertype
  25596. type: integer
  25597. - description: 套保商品
  25598. in: query
  25599. name: middlegoodsid
  25600. required: true
  25601. type: integer
  25602. produces:
  25603. - application/json
  25604. responses:
  25605. "200":
  25606. description: OK
  25607. schema:
  25608. items:
  25609. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25610. type: array
  25611. "500":
  25612. description: Internal Server Error
  25613. schema:
  25614. $ref: '#/definitions/app.Response'
  25615. security:
  25616. - ApiKeyAuth: []
  25617. summary: 查询敞口现货明细
  25618. tags:
  25619. - 企业风险管理v3(app)
  25620. /Ermcp3/QueryExposureSpot:
  25621. get:
  25622. parameters:
  25623. - description: 用户id
  25624. in: query
  25625. name: userid
  25626. required: true
  25627. type: integer
  25628. - description: 用户类型 2-机构 7-企业成员
  25629. in: query
  25630. name: usertype
  25631. type: integer
  25632. produces:
  25633. - application/json
  25634. responses:
  25635. "200":
  25636. description: OK
  25637. schema:
  25638. items:
  25639. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25640. type: array
  25641. "500":
  25642. description: Internal Server Error
  25643. schema:
  25644. $ref: '#/definitions/app.Response'
  25645. security:
  25646. - ApiKeyAuth: []
  25647. summary: 查询敞口现货头寸(敞口/现货头寸)
  25648. tags:
  25649. - 企业风险管理v3(app)
  25650. /Ermcp3/QueryExposureSpotDetail:
  25651. get:
  25652. parameters:
  25653. - description: 用户id
  25654. in: query
  25655. name: userid
  25656. required: true
  25657. type: integer
  25658. - description: 用户类型 2-机构 7-企业成员
  25659. in: query
  25660. name: usertype
  25661. type: integer
  25662. - description: 现货商品ID
  25663. in: query
  25664. name: wrstandardid
  25665. required: true
  25666. type: integer
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25683. tags:
  25684. - 企业风险管理v3(app)
  25685. /Ermcp3/QueryGoodsGroup:
  25686. get:
  25687. parameters:
  25688. - description: 用户id
  25689. in: query
  25690. name: userid
  25691. required: true
  25692. type: integer
  25693. - description: 用户类型 2-机构 7-企业成员
  25694. in: query
  25695. name: usertype
  25696. type: integer
  25697. - description: 排除套保品中已关联的商品组 1-排除
  25698. in: query
  25699. name: excludecfg
  25700. type: integer
  25701. produces:
  25702. - application/json
  25703. responses:
  25704. "200":
  25705. description: OK
  25706. schema:
  25707. items:
  25708. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25709. type: array
  25710. "500":
  25711. description: Internal Server Error
  25712. schema:
  25713. $ref: '#/definitions/app.Response'
  25714. security:
  25715. - ApiKeyAuth: []
  25716. summary: 查询期货商品组
  25717. tags:
  25718. - 企业风险管理v3(app)
  25719. /Ermcp3/QueryGoodsWrstandard:
  25720. get:
  25721. parameters:
  25722. - description: 用户id
  25723. in: query
  25724. name: userid
  25725. required: true
  25726. type: integer
  25727. - description: 用户类型 2-机构 7-企业成员
  25728. in: query
  25729. name: usertype
  25730. type: integer
  25731. - description: 现货商品id
  25732. in: query
  25733. name: deliverygoodsid
  25734. type: integer
  25735. produces:
  25736. - application/json
  25737. responses:
  25738. "200":
  25739. description: OK
  25740. schema:
  25741. items:
  25742. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25743. type: array
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 查询商品品类
  25751. tags:
  25752. - 企业风险管理v3(app)
  25753. /Ermcp3/QueryGoodsbrand:
  25754. get:
  25755. parameters:
  25756. - description: 用户id
  25757. in: query
  25758. name: userid
  25759. required: true
  25760. type: integer
  25761. - description: 用户类型 2-机构 7-企业成员
  25762. in: query
  25763. name: usertype
  25764. type: integer
  25765. produces:
  25766. - application/json
  25767. responses:
  25768. "200":
  25769. description: OK
  25770. schema:
  25771. items:
  25772. $ref: '#/definitions/models.Ermcp3Brand'
  25773. type: array
  25774. "500":
  25775. description: Internal Server Error
  25776. schema:
  25777. $ref: '#/definitions/app.Response'
  25778. security:
  25779. - ApiKeyAuth: []
  25780. summary: 查询商品品牌
  25781. tags:
  25782. - 企业风险管理v3(app)
  25783. /Ermcp3/QueryHPMiddleGoods:
  25784. get:
  25785. parameters:
  25786. - description: 用户ID(填登录用户的userid)
  25787. in: query
  25788. name: userid
  25789. required: true
  25790. type: integer
  25791. - description: 买卖方向 0-买 1-卖
  25792. in: query
  25793. name: buyorsell
  25794. required: true
  25795. type: integer
  25796. - description: 商品组id
  25797. in: query
  25798. name: goodsgroupid
  25799. required: true
  25800. type: integer
  25801. - description: 套保计划编号(模糊匹配)
  25802. in: query
  25803. name: hedgeplanno
  25804. type: string
  25805. - description: 现货商品名称(模糊匹配)
  25806. in: query
  25807. name: wrstandardname
  25808. type: string
  25809. produces:
  25810. - application/json
  25811. responses:
  25812. "200":
  25813. description: OK
  25814. schema:
  25815. items:
  25816. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25817. type: array
  25818. "500":
  25819. description: Internal Server Error
  25820. schema:
  25821. $ref: '#/definitions/app.Response'
  25822. security:
  25823. - ApiKeyAuth: []
  25824. summary: 查询可关联套保计划
  25825. tags:
  25826. - 企业风险管理v3(app)
  25827. /Ermcp3/QueryHedgePlan:
  25828. get:
  25829. parameters:
  25830. - description: 用户ID
  25831. in: query
  25832. name: userid
  25833. required: true
  25834. type: integer
  25835. - description: 用户类型 2-机构 7-企业成员
  25836. in: query
  25837. name: usertype
  25838. type: integer
  25839. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25840. in: query
  25841. name: hedgeplanstatus
  25842. required: true
  25843. type: string
  25844. produces:
  25845. - application/json
  25846. responses:
  25847. "200":
  25848. description: OK
  25849. schema:
  25850. items:
  25851. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25852. type: array
  25853. "500":
  25854. description: Internal Server Error
  25855. schema:
  25856. $ref: '#/definitions/app.Response'
  25857. security:
  25858. - ApiKeyAuth: []
  25859. summary: 查询套保计划
  25860. tags:
  25861. - 企业风险管理v3(app)
  25862. /Ermcp3/QueryInnerTradeLink:
  25863. get:
  25864. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25865. parameters:
  25866. - description: 外部成交单号
  25867. in: query
  25868. name: outtradeid
  25869. required: true
  25870. type: integer
  25871. produces:
  25872. - application/json
  25873. responses:
  25874. "200":
  25875. description: OK
  25876. schema:
  25877. items:
  25878. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25879. type: array
  25880. "500":
  25881. description: Internal Server Error
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. security:
  25885. - ApiKeyAuth: []
  25886. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25887. tags:
  25888. - 企业风险管理v3(app)
  25889. /Ermcp3/QueryMiddleGoodsDetail:
  25890. get:
  25891. parameters:
  25892. - description: 用户id
  25893. in: query
  25894. name: userid
  25895. required: true
  25896. type: integer
  25897. - description: 用户类型 2-机构 7-企业成员
  25898. in: query
  25899. name: usertype
  25900. type: integer
  25901. - description: 套保品种id
  25902. in: query
  25903. name: middlegoodsid
  25904. type: integer
  25905. produces:
  25906. - application/json
  25907. responses:
  25908. "200":
  25909. description: OK
  25910. schema:
  25911. items:
  25912. $ref: '#/definitions/models.TBMiddleGoods'
  25913. type: array
  25914. "500":
  25915. description: Internal Server Error
  25916. schema:
  25917. $ref: '#/definitions/app.Response'
  25918. security:
  25919. - ApiKeyAuth: []
  25920. summary: 查询套保品种详情(套保品种/商品详情)
  25921. tags:
  25922. - 企业风险管理v3(app)
  25923. /Ermcp3/QueryOutTradeLink:
  25924. get:
  25925. description: 页面 app 现货->期现关联->外部成交单关联
  25926. parameters:
  25927. - description: 用户ID(填登录用户的userid)
  25928. in: query
  25929. name: userid
  25930. required: true
  25931. type: integer
  25932. - description: 外部订单号(模糊匹配)
  25933. in: query
  25934. name: outtradeid
  25935. type: string
  25936. - description: 合约名称/代码(模糊匹配)
  25937. in: query
  25938. name: goodsname
  25939. type: string
  25940. - description: 关联状态 0-未关联 1-已关联
  25941. in: query
  25942. name: hasinnerorder
  25943. type: integer
  25944. produces:
  25945. - application/json
  25946. responses:
  25947. "200":
  25948. description: OK
  25949. schema:
  25950. items:
  25951. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25952. type: array
  25953. "500":
  25954. description: Internal Server Error
  25955. schema:
  25956. $ref: '#/definitions/app.Response'
  25957. security:
  25958. - ApiKeyAuth: []
  25959. summary: 查询外部成交单关联
  25960. tags:
  25961. - 企业风险管理v3(app)
  25962. /Ermcp3/QueryPaAreaAuditCfg:
  25963. get:
  25964. parameters:
  25965. - description: 用户id
  25966. in: query
  25967. name: userid
  25968. required: true
  25969. type: integer
  25970. produces:
  25971. - application/json
  25972. responses:
  25973. "200":
  25974. description: OK
  25975. schema:
  25976. items:
  25977. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25978. type: array
  25979. "500":
  25980. description: Internal Server Error
  25981. schema:
  25982. $ref: '#/definitions/app.Response'
  25983. security:
  25984. - ApiKeyAuth: []
  25985. summary: 查询审核设置
  25986. tags:
  25987. - 企业风险管理v3(app)
  25988. /Ermcp3/QueryPaAreaSubject:
  25989. get:
  25990. parameters:
  25991. - description: 用户id
  25992. in: query
  25993. name: userid
  25994. required: true
  25995. type: integer
  25996. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25997. in: query
  25998. name: subjectid
  25999. type: integer
  26000. - description: 主体类型 - 1:交易主体 2:业务部门
  26001. in: query
  26002. name: subjecttype
  26003. type: integer
  26004. - description: '主体状态 - 1:正常 2: 停用'
  26005. in: query
  26006. name: subjectstatus
  26007. type: integer
  26008. produces:
  26009. - application/json
  26010. responses:
  26011. "200":
  26012. description: OK
  26013. schema:
  26014. items:
  26015. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26016. type: array
  26017. "500":
  26018. description: Internal Server Error
  26019. schema:
  26020. $ref: '#/definitions/app.Response'
  26021. security:
  26022. - ApiKeyAuth: []
  26023. summary: 查询交易主体
  26024. tags:
  26025. - 企业风险管理v3(app)
  26026. /Ermcp3/QueryPaTradeLink:
  26027. get:
  26028. description: 页面 app 现货->期现关联->期现单据关联
  26029. parameters:
  26030. - description: 用户ID
  26031. in: query
  26032. name: userid
  26033. required: true
  26034. type: integer
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. items:
  26042. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26043. type: array
  26044. "500":
  26045. description: Internal Server Error
  26046. schema:
  26047. $ref: '#/definitions/app.Response'
  26048. security:
  26049. - ApiKeyAuth: []
  26050. summary: 查询期现单据关联
  26051. tags:
  26052. - 企业风险管理v3(app)
  26053. /Ermcp3/QueryPaTradeLinkDetail:
  26054. get:
  26055. description: 页面 app 现货->期现关联->关联记录
  26056. parameters:
  26057. - description: 用户ID(填登录用户的userid)
  26058. in: query
  26059. name: userid
  26060. required: true
  26061. type: integer
  26062. - description: 关联状态 1:成功 2:失败 3:解绑
  26063. in: query
  26064. name: linkstatus
  26065. type: integer
  26066. - description: 期货订单号(模糊匹配)
  26067. in: query
  26068. name: tradeid
  26069. type: string
  26070. - description: 现货编号(模糊匹配)
  26071. in: query
  26072. name: contractno
  26073. type: string
  26074. - description: 期货账户(模糊匹配)
  26075. in: query
  26076. name: taname
  26077. type: string
  26078. produces:
  26079. - application/json
  26080. responses:
  26081. "200":
  26082. description: OK
  26083. schema:
  26084. items:
  26085. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26086. type: array
  26087. "500":
  26088. description: Internal Server Error
  26089. schema:
  26090. $ref: '#/definitions/app.Response'
  26091. security:
  26092. - ApiKeyAuth: []
  26093. summary: 查询期现关联记录
  26094. tags:
  26095. - 企业风险管理v3(app)
  26096. /Ermcp3/QueryParamChangeApp:
  26097. get:
  26098. description: |-
  26099. 原型页面:
  26100. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26101. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26102. parameters:
  26103. - description: 用户ID
  26104. in: query
  26105. name: userid
  26106. required: true
  26107. type: integer
  26108. - description: 现货品种id
  26109. in: query
  26110. name: deliverygoodsid
  26111. type: integer
  26112. - description: 现货商品id
  26113. in: query
  26114. name: wrstandardid
  26115. type: integer
  26116. - description: 套保商品id
  26117. in: query
  26118. name: middlegoodsid
  26119. type: integer
  26120. - description: 操作类型 1:新增 2:修改
  26121. in: query
  26122. name: operatetype
  26123. type: integer
  26124. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26125. in: query
  26126. name: paramchangetype
  26127. type: integer
  26128. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26129. in: query
  26130. name: ftstatus
  26131. type: string
  26132. produces:
  26133. - application/json
  26134. responses:
  26135. "200":
  26136. description: OK
  26137. schema:
  26138. items:
  26139. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26140. type: array
  26141. "500":
  26142. description: Internal Server Error
  26143. schema:
  26144. $ref: '#/definitions/app.Response'
  26145. security:
  26146. - ApiKeyAuth: []
  26147. summary: 查询现货商品参数变更申请(流水)
  26148. tags:
  26149. - 企业风险管理v3(app)
  26150. /Ermcp3/QueryRootUserAccount:
  26151. get:
  26152. parameters:
  26153. - description: 用户ID
  26154. in: query
  26155. name: userid
  26156. required: true
  26157. type: integer
  26158. produces:
  26159. - application/json
  26160. responses:
  26161. "200":
  26162. description: OK
  26163. schema:
  26164. items:
  26165. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26166. type: array
  26167. "500":
  26168. description: Internal Server Error
  26169. schema:
  26170. $ref: '#/definitions/app.Response'
  26171. security:
  26172. - ApiKeyAuth: []
  26173. summary: 查询顶级用户信息
  26174. tags:
  26175. - 企业风险管理v3(app)
  26176. /Ermcp3/QuerySCMiddleGoods:
  26177. get:
  26178. description: |-
  26179. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26180. 现货编号 即 合同编号
  26181. parameters:
  26182. - description: 用户ID(填登录用户的userid)
  26183. in: query
  26184. name: userid
  26185. required: true
  26186. type: integer
  26187. - description: 买卖方向 0-买 1-卖
  26188. in: query
  26189. name: buyorsell
  26190. required: true
  26191. type: integer
  26192. - description: 商品组id
  26193. in: query
  26194. name: goodsgroupid
  26195. required: true
  26196. type: integer
  26197. - description: 业务类型 1:套保 2:套利
  26198. in: query
  26199. name: biztype
  26200. type: integer
  26201. - description: 现货编号(模糊匹配)
  26202. in: query
  26203. name: contractno
  26204. type: string
  26205. - description: 对手方(模糊匹配)
  26206. in: query
  26207. name: customername
  26208. type: string
  26209. - description: 现货商品名称(模糊匹配)
  26210. in: query
  26211. name: wrstandardname
  26212. type: string
  26213. produces:
  26214. - application/json
  26215. responses:
  26216. "200":
  26217. description: OK
  26218. schema:
  26219. items:
  26220. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26221. type: array
  26222. "500":
  26223. description: Internal Server Error
  26224. schema:
  26225. $ref: '#/definitions/app.Response'
  26226. security:
  26227. - ApiKeyAuth: []
  26228. summary: 查询现货订单
  26229. tags:
  26230. - 企业风险管理v3(app)
  26231. /Ermcp3/QuerySpotContract:
  26232. get:
  26233. parameters:
  26234. - description: 用户id(当指定contractid, userid可不填)
  26235. in: query
  26236. name: userid
  26237. required: true
  26238. type: integer
  26239. - description: 用户类型 2-机构 7-企业成员
  26240. in: query
  26241. name: usertype
  26242. type: integer
  26243. - description: 合同类型 1-采购, -1-销售
  26244. in: query
  26245. name: contracttype
  26246. type: integer
  26247. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26248. in: query
  26249. name: querytype
  26250. type: string
  26251. - description: 合同ID(SpotContractId)
  26252. in: query
  26253. name: contractid
  26254. type: string
  26255. - description: 合同编号(模糊匹配)
  26256. in: query
  26257. name: contractno
  26258. type: string
  26259. - description: 商品名称(模糊匹配)
  26260. in: query
  26261. name: wrstandardname
  26262. type: string
  26263. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26264. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26265. in: query
  26266. name: status
  26267. type: string
  26268. - description: 是否只查今日的合同 1-查今日合同
  26269. in: query
  26270. name: istoday
  26271. type: integer
  26272. produces:
  26273. - application/json
  26274. responses:
  26275. "200":
  26276. description: OK
  26277. schema:
  26278. items:
  26279. $ref: '#/definitions/models.Ermcp3Contract'
  26280. type: array
  26281. "500":
  26282. description: Internal Server Error
  26283. schema:
  26284. $ref: '#/definitions/app.Response'
  26285. security:
  26286. - ApiKeyAuth: []
  26287. summary: 查询现货合同
  26288. tags:
  26289. - 企业风险管理v3(app)
  26290. /Ermcp3/QuerySpotContractBS:
  26291. get:
  26292. parameters:
  26293. - description: 用户id
  26294. in: query
  26295. name: userid
  26296. required: true
  26297. type: integer
  26298. - description: 用户类型 2-机构 7-企业成员
  26299. in: query
  26300. name: usertype
  26301. type: integer
  26302. - description: 合同类型 1-采购, -1-销售
  26303. in: query
  26304. name: contracttype
  26305. required: true
  26306. type: integer
  26307. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26308. in: query
  26309. name: querytype
  26310. type: integer
  26311. - description: 合同ID(SpotContractId)
  26312. in: query
  26313. name: contractid
  26314. type: string
  26315. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26316. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26317. in: query
  26318. name: status
  26319. type: string
  26320. - description: 是否只查今日的合同 1-查今日合同
  26321. in: query
  26322. name: istoday
  26323. type: integer
  26324. produces:
  26325. - application/json
  26326. responses:
  26327. "200":
  26328. description: OK
  26329. schema:
  26330. items:
  26331. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26332. type: array
  26333. "500":
  26334. description: Internal Server Error
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. security:
  26338. - ApiKeyAuth: []
  26339. summary: 查询合同(采购/销售)
  26340. tags:
  26341. - 企业风险管理v3(app)
  26342. /Ermcp3/QuerySpotGoodsPrice:
  26343. get:
  26344. parameters:
  26345. - description: 用户ID
  26346. in: query
  26347. name: userid
  26348. required: true
  26349. type: integer
  26350. produces:
  26351. - application/json
  26352. responses:
  26353. "200":
  26354. description: OK
  26355. schema:
  26356. items:
  26357. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26358. type: array
  26359. "500":
  26360. description: Internal Server Error
  26361. schema:
  26362. $ref: '#/definitions/app.Response'
  26363. security:
  26364. - ApiKeyAuth: []
  26365. summary: 查询现货市价(现货市价)
  26366. tags:
  26367. - 企业风险管理v3(app)
  26368. /Ermcp3/QuerySpotGoodsPriceLog:
  26369. get:
  26370. parameters:
  26371. - description: 用户ID
  26372. in: query
  26373. name: userid
  26374. required: true
  26375. type: integer
  26376. - description: 现货商品ID
  26377. in: query
  26378. name: deliverygoodsid
  26379. required: true
  26380. type: integer
  26381. - description: 品牌ID
  26382. in: query
  26383. name: brandid
  26384. type: integer
  26385. - description: 品类ID
  26386. in: query
  26387. name: wrstandardid
  26388. type: integer
  26389. produces:
  26390. - application/json
  26391. responses:
  26392. "200":
  26393. description: OK
  26394. schema:
  26395. items:
  26396. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26397. type: array
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询现货市价详情(现货市价/详情)
  26405. tags:
  26406. - 企业风险管理v3(app)
  26407. /Ermcp3/QuerySubTaaccount:
  26408. get:
  26409. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26410. parameters:
  26411. - description: 母账号id
  26412. in: query
  26413. name: parentaccountid
  26414. type: integer
  26415. - description: 母账号代码
  26416. in: query
  26417. name: parentaccountcode
  26418. type: string
  26419. produces:
  26420. - application/json
  26421. responses:
  26422. "200":
  26423. description: OK
  26424. schema:
  26425. items:
  26426. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26427. type: array
  26428. "500":
  26429. description: Internal Server Error
  26430. schema:
  26431. $ref: '#/definitions/app.Response'
  26432. security:
  26433. - ApiKeyAuth: []
  26434. summary: 查询期货子账户
  26435. tags:
  26436. - 企业风险管理v3(app)
  26437. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26438. get:
  26439. parameters:
  26440. - description: 套期项目ID
  26441. in: query
  26442. name: hedgeditemid
  26443. required: true
  26444. type: integer
  26445. produces:
  26446. - application/json
  26447. responses:
  26448. "200":
  26449. description: OK
  26450. schema:
  26451. items:
  26452. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26453. type: array
  26454. "500":
  26455. description: Internal Server Error
  26456. schema:
  26457. $ref: '#/definitions/app.Response'
  26458. security:
  26459. - ApiKeyAuth: []
  26460. summary: 现货成交明细查询
  26461. tags:
  26462. - 企业风险管理v8
  26463. /Ermcp8/QueryERMCP2HedgedItemspot:
  26464. get:
  26465. parameters:
  26466. - description: 套期项目ID
  26467. in: query
  26468. name: hedgeditemid
  26469. required: true
  26470. type: integer
  26471. produces:
  26472. - application/json
  26473. responses:
  26474. "200":
  26475. description: OK
  26476. schema:
  26477. items:
  26478. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26479. type: array
  26480. "500":
  26481. description: Internal Server Error
  26482. schema:
  26483. $ref: '#/definitions/app.Response'
  26484. security:
  26485. - ApiKeyAuth: []
  26486. summary: 套期计划明细查询
  26487. tags:
  26488. - 企业风险管理v8
  26489. /Ermcp8/QueryERMCPJRLinkPos:
  26490. get:
  26491. parameters:
  26492. - description: 套期项目ID
  26493. in: query
  26494. name: hedgeditemid
  26495. required: true
  26496. type: integer
  26497. produces:
  26498. - application/json
  26499. responses:
  26500. "200":
  26501. description: OK
  26502. schema:
  26503. items:
  26504. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26505. type: array
  26506. "500":
  26507. description: Internal Server Error
  26508. schema:
  26509. $ref: '#/definitions/app.Response'
  26510. security:
  26511. - ApiKeyAuth: []
  26512. summary: 期货持仓明细查询
  26513. tags:
  26514. - 企业风险管理v8
  26515. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26516. get:
  26517. parameters:
  26518. - description: 套期项目ID
  26519. in: query
  26520. name: hedgeditemid
  26521. required: true
  26522. type: integer
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. items:
  26530. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26531. type: array
  26532. "500":
  26533. description: Internal Server Error
  26534. schema:
  26535. $ref: '#/definitions/app.Response'
  26536. security:
  26537. - ApiKeyAuth: []
  26538. summary: 期货成交单明细查询
  26539. tags:
  26540. - 企业风险管理v8
  26541. /Ermcp8/QueryErmcp2AreaExposure:
  26542. get:
  26543. parameters:
  26544. - description: 用户ID
  26545. in: query
  26546. name: userid
  26547. required: true
  26548. type: string
  26549. produces:
  26550. - application/json
  26551. responses:
  26552. "200":
  26553. description: OK
  26554. schema:
  26555. items:
  26556. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26557. type: array
  26558. "500":
  26559. description: Internal Server Error
  26560. schema:
  26561. $ref: '#/definitions/app.Response'
  26562. security:
  26563. - ApiKeyAuth: []
  26564. summary: 企业敞口查询
  26565. tags:
  26566. - 企业风险管理v8
  26567. /Ermcp8/QueryErmcp2HedgedItem:
  26568. get:
  26569. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26570. parameters:
  26571. - description: 用户ID
  26572. in: query
  26573. name: userid
  26574. required: true
  26575. type: string
  26576. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26577. in: query
  26578. name: hedgedtype
  26579. type: integer
  26580. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26581. in: query
  26582. name: hedgeditemstatus
  26583. type: integer
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. items:
  26591. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26592. type: array
  26593. "500":
  26594. description: Internal Server Error
  26595. schema:
  26596. $ref: '#/definitions/app.Response'
  26597. security:
  26598. - ApiKeyAuth: []
  26599. summary: 查询被套期项目信息
  26600. tags:
  26601. - 企业风险管理v8
  26602. /Ermcp8/QueryErmcp2HedgedItemLink:
  26603. get:
  26604. parameters:
  26605. - description: 现货合同ID
  26606. in: query
  26607. name: spotcontractid
  26608. required: true
  26609. type: integer
  26610. produces:
  26611. - application/json
  26612. responses:
  26613. "200":
  26614. description: OK
  26615. schema:
  26616. items:
  26617. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26618. type: array
  26619. "500":
  26620. description: Internal Server Error
  26621. schema:
  26622. $ref: '#/definitions/app.Response'
  26623. security:
  26624. - ApiKeyAuth: []
  26625. summary: 现货合同关联被套期项目查询
  26626. tags:
  26627. - 企业风险管理v8
  26628. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26629. get:
  26630. parameters:
  26631. - description: 用户ID
  26632. in: query
  26633. name: userid
  26634. required: true
  26635. type: integer
  26636. - description: 套保品种ID
  26637. in: query
  26638. name: middlegoodsid
  26639. required: true
  26640. type: integer
  26641. produces:
  26642. - application/json
  26643. responses:
  26644. "200":
  26645. description: OK
  26646. schema:
  26647. items:
  26648. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26649. type: array
  26650. "500":
  26651. description: Internal Server Error
  26652. schema:
  26653. $ref: '#/definitions/app.Response'
  26654. security:
  26655. - ApiKeyAuth: []
  26656. summary: 敞口明细 - 计划变动明细
  26657. tags:
  26658. - 企业风险管理v8
  26659. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26660. get:
  26661. parameters:
  26662. - description: 用户ID
  26663. in: query
  26664. name: userid
  26665. required: true
  26666. type: integer
  26667. - description: 套保品种ID
  26668. in: query
  26669. name: middlegoodsid
  26670. required: true
  26671. type: integer
  26672. produces:
  26673. - application/json
  26674. responses:
  26675. "200":
  26676. description: OK
  26677. schema:
  26678. items:
  26679. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26680. type: array
  26681. "500":
  26682. description: Internal Server Error
  26683. schema:
  26684. $ref: '#/definitions/app.Response'
  26685. security:
  26686. - ApiKeyAuth: []
  26687. summary: 敞口明细 - 现货变动明细查询
  26688. tags:
  26689. - 企业风险管理v8
  26690. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26691. get:
  26692. parameters:
  26693. - description: 用户ID
  26694. in: query
  26695. name: userid
  26696. required: true
  26697. type: integer
  26698. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26699. in: query
  26700. name: spottype
  26701. required: true
  26702. type: integer
  26703. - description: 现货商品ID
  26704. in: query
  26705. name: wrstandardid
  26706. type: integer
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. items:
  26714. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26715. type: array
  26716. "500":
  26717. description: Internal Server Error
  26718. schema:
  26719. $ref: '#/definitions/app.Response'
  26720. security:
  26721. - ApiKeyAuth: []
  26722. summary: 可关联项目查询
  26723. tags:
  26724. - 企业风险管理v8
  26725. /Ermcp8/QueryErmcp8HedgeditemReport:
  26726. get:
  26727. parameters:
  26728. - description: 用户ID
  26729. in: query
  26730. name: userid
  26731. required: true
  26732. type: integer
  26733. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26734. in: query
  26735. name: cycletype
  26736. type: integer
  26737. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26738. 全(0)【原值】
  26739. in: query
  26740. name: cycletime
  26741. required: true
  26742. type: string
  26743. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26744. in: query
  26745. name: hedgedtype
  26746. type: integer
  26747. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26748. in: query
  26749. name: hedgeditemstatus
  26750. type: integer
  26751. - description: 项目编号,模糊查询
  26752. in: query
  26753. name: hedgeditemnum
  26754. type: string
  26755. - description: 现货商品ID
  26756. in: query
  26757. name: wrstandardid
  26758. type: integer
  26759. produces:
  26760. - application/json
  26761. responses:
  26762. "200":
  26763. description: OK
  26764. schema:
  26765. items:
  26766. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26767. type: array
  26768. "500":
  26769. description: Internal Server Error
  26770. schema:
  26771. $ref: '#/definitions/app.Response'
  26772. security:
  26773. - ApiKeyAuth: []
  26774. summary: 套期项目报表查询
  26775. tags:
  26776. - 企业风险管理v8
  26777. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26778. get:
  26779. parameters:
  26780. - description: 用户ID
  26781. in: query
  26782. name: userid
  26783. required: true
  26784. type: string
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询执行中项目查询信息
  26801. tags:
  26802. - 企业风险管理v8
  26803. /Ermcp8/QueryInternalEnableTradeDetail:
  26804. get:
  26805. parameters:
  26806. - description: 企业ID
  26807. in: query
  26808. name: areauserid
  26809. required: true
  26810. type: integer
  26811. - description: 期货合约ID
  26812. in: query
  26813. name: goodsid
  26814. required: true
  26815. type: integer
  26816. - description: 交易用户ID
  26817. in: query
  26818. name: tradeuserid
  26819. required: true
  26820. type: integer
  26821. produces:
  26822. - application/json
  26823. responses:
  26824. "200":
  26825. description: OK
  26826. schema:
  26827. items:
  26828. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26829. type: array
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 内部成交单可关联项目查询
  26837. tags:
  26838. - 企业风险管理v8
  26839. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26840. get:
  26841. parameters:
  26842. - description: 用户编号
  26843. in: query
  26844. name: userid
  26845. required: true
  26846. type: integer
  26847. - description: 起始日期(格式yyyymmdd)
  26848. in: query
  26849. name: begindate
  26850. type: string
  26851. - description: 终止日期(格式yyyymmdd)
  26852. in: query
  26853. name: enddate
  26854. type: string
  26855. - description: 合约代码
  26856. in: query
  26857. name: goodscode
  26858. type: string
  26859. - description: 合约名称
  26860. in: query
  26861. name: goodsname
  26862. type: string
  26863. - description: 成交单号
  26864. in: query
  26865. name: tradeid
  26866. type: integer
  26867. - description: 方向 - 0:买 1:卖
  26868. in: query
  26869. name: buyorsell
  26870. type: integer
  26871. - description: 套期主体
  26872. in: query
  26873. name: accountname
  26874. type: string
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26883. type: array
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 内部未关联成交单查询
  26891. tags:
  26892. - 企业风险管理v8
  26893. /Ermcp8/QueryMarketCalendar:
  26894. get:
  26895. parameters:
  26896. - description: 市场ID
  26897. in: query
  26898. name: marketid
  26899. type: integer
  26900. produces:
  26901. - application/json
  26902. responses:
  26903. "200":
  26904. description: OK
  26905. schema:
  26906. items:
  26907. $ref: '#/definitions/models.Marketcalendar'
  26908. type: array
  26909. "500":
  26910. description: Internal Server Error
  26911. schema:
  26912. $ref: '#/definitions/app.Response'
  26913. security:
  26914. - ApiKeyAuth: []
  26915. summary: 市场节假日查询
  26916. tags:
  26917. - 企业风险管理v8
  26918. /Ermcp8/QueryPatradeLinkDetail:
  26919. get:
  26920. parameters:
  26921. - description: 用户ID
  26922. in: query
  26923. name: userid
  26924. required: true
  26925. type: integer
  26926. - description: 套保品种ID
  26927. in: query
  26928. name: middlegoodsid
  26929. required: true
  26930. type: integer
  26931. produces:
  26932. - application/json
  26933. responses:
  26934. "200":
  26935. description: OK
  26936. schema:
  26937. items:
  26938. $ref: '#/definitions/models.Patradelinkdetail'
  26939. type: array
  26940. "500":
  26941. description: Internal Server Error
  26942. schema:
  26943. $ref: '#/definitions/app.Response'
  26944. security:
  26945. - ApiKeyAuth: []
  26946. summary: 敞口明细 - 期货变动明细
  26947. tags:
  26948. - 企业风险管理v8
  26949. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26950. get:
  26951. parameters:
  26952. - description: 企业ID
  26953. in: query
  26954. name: areauserid
  26955. required: true
  26956. type: integer
  26957. - description: 计划类型 - 1:采购 -1:销售
  26958. in: query
  26959. name: contracttype
  26960. type: integer
  26961. - description: 计划编号,模糊查询
  26962. in: query
  26963. name: hedgeplanno
  26964. type: string
  26965. - description: 现货商品,模糊查询
  26966. in: query
  26967. name: wrstandardname
  26968. type: string
  26969. produces:
  26970. - application/json
  26971. responses:
  26972. "200":
  26973. description: OK
  26974. schema:
  26975. items:
  26976. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26977. type: array
  26978. "500":
  26979. description: Internal Server Error
  26980. schema:
  26981. $ref: '#/definitions/app.Response'
  26982. security:
  26983. - ApiKeyAuth: []
  26984. summary: 未关联购销计划
  26985. tags:
  26986. - 企业风险管理v8
  26987. /Ermcp8/QueryUnLinkSpotContract:
  26988. get:
  26989. parameters:
  26990. - description: 用户ID
  26991. in: query
  26992. name: userid
  26993. required: true
  26994. type: integer
  26995. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26996. in: query
  26997. name: pricetype
  26998. type: integer
  26999. - description: 合同编号, 模拟查询
  27000. in: query
  27001. name: contractno
  27002. type: string
  27003. - description: 对手方, 模拟查询
  27004. in: query
  27005. name: customername
  27006. type: string
  27007. - description: 项合同类型 - 1:采购 -1:销售
  27008. in: query
  27009. name: contracttype
  27010. type: integer
  27011. produces:
  27012. - application/json
  27013. responses:
  27014. "200":
  27015. description: OK
  27016. schema:
  27017. items:
  27018. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27019. type: array
  27020. "500":
  27021. description: Internal Server Error
  27022. schema:
  27023. $ref: '#/definitions/app.Response'
  27024. security:
  27025. - ApiKeyAuth: []
  27026. summary: 未关联合同查询
  27027. tags:
  27028. - 企业风险管理v8
  27029. /Erms2/QueryArbitrageStrategy:
  27030. get:
  27031. parameters:
  27032. - description: 账户ID
  27033. in: query
  27034. name: userid
  27035. required: true
  27036. type: integer
  27037. - description: 商品组ID(品种ID)
  27038. in: query
  27039. name: goodsgroupid
  27040. type: string
  27041. produces:
  27042. - application/json
  27043. responses:
  27044. "200":
  27045. description: OK
  27046. schema:
  27047. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27048. "500":
  27049. description: Internal Server Error
  27050. schema:
  27051. $ref: '#/definitions/app.Response'
  27052. security:
  27053. - ApiKeyAuth: []
  27054. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27055. tags:
  27056. - 风险管理
  27057. /Erms2/QueryInnerTradeDetail:
  27058. get:
  27059. parameters:
  27060. - description: 资金账户
  27061. in: query
  27062. name: accountid
  27063. required: true
  27064. type: integer
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27072. "500":
  27073. description: Internal Server Error
  27074. schema:
  27075. $ref: '#/definitions/app.Response'
  27076. security:
  27077. - ApiKeyAuth: []
  27078. summary: 查询内部成交单信息
  27079. tags:
  27080. - 风险管理
  27081. /Erms2/QuerySpotContract:
  27082. get:
  27083. parameters:
  27084. - description: 策略申请ID
  27085. in: query
  27086. name: asapplyid
  27087. required: true
  27088. type: integer
  27089. - description: 现货合同ID
  27090. in: query
  27091. name: spotcontractid
  27092. type: integer
  27093. produces:
  27094. - application/json
  27095. responses:
  27096. "200":
  27097. description: OK
  27098. schema:
  27099. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27100. "500":
  27101. description: Internal Server Error
  27102. schema:
  27103. $ref: '#/definitions/app.Response'
  27104. security:
  27105. - ApiKeyAuth: []
  27106. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27107. tags:
  27108. - 风险管理
  27109. /Erms3/AddErms2ASApply:
  27110. post:
  27111. parameters:
  27112. - description: 申请参数
  27113. in: body
  27114. name: jsonBody
  27115. required: true
  27116. schema:
  27117. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. $ref: '#/definitions/app.Response'
  27125. "500":
  27126. description: Internal Server Error
  27127. schema:
  27128. $ref: '#/definitions/app.Response'
  27129. security:
  27130. - ApiKeyAuth: []
  27131. summary: 新增期现套利业务申请
  27132. tags:
  27133. - 风险管理v3
  27134. /Erms3/AddErms2SpotTradeApply:
  27135. post:
  27136. parameters:
  27137. - description: 申请参数
  27138. in: body
  27139. name: jsonBody
  27140. required: true
  27141. schema:
  27142. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. "500":
  27151. description: Internal Server Error
  27152. schema:
  27153. $ref: '#/definitions/app.Response'
  27154. security:
  27155. - ApiKeyAuth: []
  27156. summary: 新增现货贸易业务申请
  27157. tags:
  27158. - 风险管理v3
  27159. /Erms3/AddSpotContractApply:
  27160. post:
  27161. parameters:
  27162. - description: 申请参数
  27163. in: body
  27164. name: jsonBody
  27165. required: true
  27166. schema:
  27167. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 新增现货合同申请
  27182. tags:
  27183. - 风险管理v3
  27184. /Erms3/AddUserInfoApply:
  27185. post:
  27186. parameters:
  27187. - description: 用户信息
  27188. in: body
  27189. name: jsonBody
  27190. required: true
  27191. schema:
  27192. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27193. produces:
  27194. - application/json
  27195. responses:
  27196. "200":
  27197. description: OK
  27198. schema:
  27199. $ref: '#/definitions/app.Response'
  27200. "500":
  27201. description: Internal Server Error
  27202. schema:
  27203. $ref: '#/definitions/app.Response'
  27204. security:
  27205. - ApiKeyAuth: []
  27206. summary: 新增客户申请
  27207. tags:
  27208. - 风险管理v3
  27209. /Erms3/DeleteUserInfoApply:
  27210. get:
  27211. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27212. parameters:
  27213. - description: 用户ID
  27214. in: query
  27215. name: userID
  27216. required: true
  27217. type: integer
  27218. produces:
  27219. - application/json
  27220. responses:
  27221. "200":
  27222. description: OK
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. "500":
  27226. description: Internal Server Error
  27227. schema:
  27228. $ref: '#/definitions/app.Response'
  27229. security:
  27230. - ApiKeyAuth: []
  27231. summary: 删除客户申请
  27232. tags:
  27233. - 风险管理v3
  27234. /Erms3/ModifyUserInfoApply:
  27235. post:
  27236. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27237. int, "userstate": 2 }'
  27238. parameters:
  27239. - description: 用户信息
  27240. in: body
  27241. name: jsonBody
  27242. required: true
  27243. schema:
  27244. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. $ref: '#/definitions/app.Response'
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 修改客户申请
  27259. tags:
  27260. - 风险管理v3
  27261. /Erms3/QueryBusinessInfo:
  27262. get:
  27263. parameters:
  27264. - description: 资金账号ID列表,用逗号分隔
  27265. in: query
  27266. name: accountids
  27267. required: true
  27268. type: string
  27269. - description: 状态,0为未结束 1为已结束
  27270. in: query
  27271. name: status
  27272. required: true
  27273. type: integer
  27274. produces:
  27275. - application/json
  27276. responses:
  27277. "200":
  27278. description: OK
  27279. schema:
  27280. items:
  27281. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27282. type: array
  27283. "500":
  27284. description: Internal Server Error
  27285. schema:
  27286. $ref: '#/definitions/app.Response'
  27287. security:
  27288. - ApiKeyAuth: []
  27289. summary: 查询业务表单数据
  27290. tags:
  27291. - 风险管理v3
  27292. /Erms3/QueryPendingAuditContract:
  27293. get:
  27294. parameters:
  27295. - description: 资金账号ID列表,逗号隔开
  27296. in: query
  27297. name: accountids
  27298. required: true
  27299. type: string
  27300. - description: 合同类型 1-采购 -1-销售
  27301. in: query
  27302. name: contracttype
  27303. required: true
  27304. type: integer
  27305. - description: 合同模式 1-普通 2-回购
  27306. in: query
  27307. name: contractmode
  27308. required: true
  27309. type: integer
  27310. produces:
  27311. - application/json
  27312. responses:
  27313. "200":
  27314. description: OK
  27315. schema:
  27316. items:
  27317. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27318. type: array
  27319. "500":
  27320. description: Internal Server Error
  27321. schema:
  27322. $ref: '#/definitions/app.Response'
  27323. security:
  27324. - ApiKeyAuth: []
  27325. summary: 查询待审核合同
  27326. tags:
  27327. - 风险管理v3
  27328. /Erms3/QueryPendingBusiness:
  27329. get:
  27330. parameters:
  27331. - description: 资金账号ID列表,逗号隔开
  27332. in: query
  27333. name: accountids
  27334. required: true
  27335. type: string
  27336. produces:
  27337. - application/json
  27338. responses:
  27339. "200":
  27340. description: OK
  27341. schema:
  27342. items:
  27343. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27344. type: array
  27345. "500":
  27346. description: Internal Server Error
  27347. schema:
  27348. $ref: '#/definitions/app.Response'
  27349. security:
  27350. - ApiKeyAuth: []
  27351. summary: 查询待审核基差贸易业务
  27352. tags:
  27353. - 风险管理v3
  27354. /Erms3/QuerySpotContractAppleForm:
  27355. get:
  27356. parameters:
  27357. - description: 登录账号
  27358. in: query
  27359. name: loginID
  27360. required: true
  27361. type: integer
  27362. produces:
  27363. - application/json
  27364. responses:
  27365. "200":
  27366. description: OK
  27367. schema:
  27368. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27369. "500":
  27370. description: Internal Server Error
  27371. schema:
  27372. $ref: '#/definitions/app.Response'
  27373. security:
  27374. - ApiKeyAuth: []
  27375. summary: 查询合同申请表单数据
  27376. tags:
  27377. - 风险管理v3
  27378. /Erms3/QuerySpotContractDetail:
  27379. get:
  27380. parameters:
  27381. - description: 资金账号ID列表,用逗号分隔
  27382. in: query
  27383. name: accountids
  27384. required: true
  27385. type: string
  27386. - description: 合同类型,1为采购合同 -1为销售合同
  27387. in: query
  27388. name: contracttype
  27389. required: true
  27390. type: integer
  27391. - description: 合同模式,1为普通合同 2为回购销售合同
  27392. in: query
  27393. name: contractmode
  27394. required: true
  27395. type: integer
  27396. - description: 状态,0为履约中 1为已完成
  27397. in: query
  27398. name: status
  27399. required: true
  27400. type: integer
  27401. produces:
  27402. - application/json
  27403. responses:
  27404. "200":
  27405. description: OK
  27406. schema:
  27407. items:
  27408. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27409. type: array
  27410. "500":
  27411. description: Internal Server Error
  27412. schema:
  27413. $ref: '#/definitions/app.Response'
  27414. security:
  27415. - ApiKeyAuth: []
  27416. summary: 查询合同详细信息
  27417. tags:
  27418. - 风险管理v3
  27419. /Erms3/QueryUserInfoApplies:
  27420. get:
  27421. parameters:
  27422. - description: 页码
  27423. in: query
  27424. name: page
  27425. type: integer
  27426. - description: 每页条数
  27427. in: query
  27428. name: pagesize
  27429. type: integer
  27430. - description: 客户名称,支持模糊查询
  27431. in: query
  27432. name: userName
  27433. type: string
  27434. produces:
  27435. - application/json
  27436. responses:
  27437. "200":
  27438. description: OK
  27439. schema:
  27440. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27441. "500":
  27442. description: Internal Server Error
  27443. schema:
  27444. $ref: '#/definitions/app.Response'
  27445. security:
  27446. - ApiKeyAuth: []
  27447. summary: 客户申请信息查询
  27448. tags:
  27449. - 风险管理v3
  27450. /Erms3/QueryUserInfos:
  27451. get:
  27452. parameters:
  27453. - description: 页码
  27454. in: query
  27455. name: page
  27456. type: integer
  27457. - description: 每页条数
  27458. in: query
  27459. name: pagesize
  27460. type: integer
  27461. - description: 客户名称,支持模糊查询
  27462. in: query
  27463. name: userName
  27464. type: string
  27465. produces:
  27466. - application/json
  27467. responses:
  27468. "200":
  27469. description: OK
  27470. schema:
  27471. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27472. "500":
  27473. description: Internal Server Error
  27474. schema:
  27475. $ref: '#/definitions/app.Response'
  27476. security:
  27477. - ApiKeyAuth: []
  27478. summary: 客户信息查询
  27479. tags:
  27480. - 风险管理v3
  27481. /Guangzuan/QueryBuyOrder:
  27482. get:
  27483. parameters:
  27484. - description: 页码
  27485. in: query
  27486. name: page
  27487. type: integer
  27488. - description: 每页条数
  27489. in: query
  27490. name: pagesize
  27491. type: integer
  27492. - description: 商品(查询字段-模糊查询)
  27493. in: query
  27494. name: zsallproperties
  27495. type: string
  27496. - description: 钻石分类枚举ID
  27497. in: query
  27498. name: zscategory
  27499. type: integer
  27500. - description: 委托单号
  27501. in: query
  27502. name: wrtradeorderid
  27503. type: integer
  27504. - description: 买方(查询字段-模糊查询)
  27505. in: query
  27506. name: buyusername
  27507. type: string
  27508. produces:
  27509. - application/json
  27510. responses:
  27511. "200":
  27512. description: OK
  27513. schema:
  27514. items:
  27515. $ref: '#/definitions/models.BuyOrder'
  27516. type: array
  27517. "500":
  27518. description: Internal Server Error
  27519. schema:
  27520. $ref: '#/definitions/app.Response'
  27521. security:
  27522. - ApiKeyAuth: []
  27523. - LoginID: []
  27524. - Group: []
  27525. summary: 查询求购大厅委托单
  27526. tags:
  27527. - 广钻
  27528. /Guangzuan/QueryDiamond:
  27529. post:
  27530. parameters:
  27531. - description: 钻石搜索入参
  27532. in: body
  27533. name: data
  27534. required: true
  27535. schema:
  27536. $ref: '#/definitions/models.SellOrderQueryReq'
  27537. produces:
  27538. - application/json
  27539. responses:
  27540. "200":
  27541. description: OK
  27542. schema:
  27543. items:
  27544. $ref: '#/definitions/models.SellOrder'
  27545. type: array
  27546. "500":
  27547. description: Internal Server Error
  27548. schema:
  27549. $ref: '#/definitions/app.Response'
  27550. security:
  27551. - ApiKeyAuth: []
  27552. - LoginID: []
  27553. - Group: []
  27554. summary: 钻石搜索
  27555. tags:
  27556. - 广钻
  27557. /Guangzuan/QueryMyBuyOrder:
  27558. get:
  27559. parameters:
  27560. - description: 用户ID
  27561. in: query
  27562. name: userid
  27563. required: true
  27564. type: integer
  27565. - description: 页码
  27566. in: query
  27567. name: page
  27568. type: integer
  27569. - description: 每页条数
  27570. in: query
  27571. name: pagesize
  27572. type: integer
  27573. - description: 商品(查询字段-模糊查询)
  27574. in: query
  27575. name: zsallproperties
  27576. type: string
  27577. - description: 钻石分类枚举ID
  27578. in: query
  27579. name: zscategory
  27580. type: integer
  27581. - description: 委托单号
  27582. in: query
  27583. name: wrtradeorderid
  27584. type: integer
  27585. - description: 是否历史查询
  27586. in: query
  27587. name: ishis
  27588. type: boolean
  27589. produces:
  27590. - application/json
  27591. responses:
  27592. "200":
  27593. description: OK
  27594. schema:
  27595. items:
  27596. $ref: '#/definitions/models.MyBuyOrder'
  27597. type: array
  27598. "500":
  27599. description: Internal Server Error
  27600. schema:
  27601. $ref: '#/definitions/app.Response'
  27602. security:
  27603. - ApiKeyAuth: []
  27604. - LoginID: []
  27605. - Group: []
  27606. summary: 查询我的求购
  27607. tags:
  27608. - 广钻
  27609. /Guangzuan/QueryMySellOrder:
  27610. get:
  27611. parameters:
  27612. - description: 用户ID
  27613. in: query
  27614. name: userid
  27615. required: true
  27616. type: integer
  27617. - description: 页码
  27618. in: query
  27619. name: page
  27620. type: integer
  27621. - description: 每页条数
  27622. in: query
  27623. name: pagesize
  27624. type: integer
  27625. - description: 商品(查询字段-模糊查询)
  27626. in: query
  27627. name: zsallproperties
  27628. type: string
  27629. - description: 钻石分类枚举ID
  27630. in: query
  27631. name: zscategory
  27632. type: integer
  27633. - description: 委托单号
  27634. in: query
  27635. name: wrtradeorderid
  27636. type: integer
  27637. - description: 是否历史查询
  27638. in: query
  27639. name: ishis
  27640. type: boolean
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.MySellOrder'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. - LoginID: []
  27657. - Group: []
  27658. summary: 查询我的出售
  27659. tags:
  27660. - 广钻
  27661. /Guangzuan/QueryMyWRPosition:
  27662. get:
  27663. parameters:
  27664. - description: 页码
  27665. in: query
  27666. name: page
  27667. type: integer
  27668. - description: 每页条数
  27669. in: query
  27670. name: pagesize
  27671. type: integer
  27672. - description: 登录用户ID
  27673. in: query
  27674. name: wruserid
  27675. required: true
  27676. type: integer
  27677. - description: 商品(查询字段-模糊查询)
  27678. in: query
  27679. name: zsallproperties
  27680. type: string
  27681. - description: 钻石分类枚举ID
  27682. in: query
  27683. name: zscategory
  27684. type: integer
  27685. - description: 仓库ID
  27686. in: query
  27687. name: warehouseid
  27688. type: integer
  27689. produces:
  27690. - application/json
  27691. responses:
  27692. "200":
  27693. description: OK
  27694. schema:
  27695. items:
  27696. $ref: '#/definitions/models.MyWRPosition'
  27697. type: array
  27698. "500":
  27699. description: Internal Server Error
  27700. schema:
  27701. $ref: '#/definitions/app.Response'
  27702. security:
  27703. - ApiKeyAuth: []
  27704. - LoginID: []
  27705. - Group: []
  27706. summary: 查询我的库存
  27707. tags:
  27708. - 广钻
  27709. /Guangzuan/QuerySellOrder:
  27710. get:
  27711. parameters:
  27712. - description: 页码
  27713. in: query
  27714. name: page
  27715. type: integer
  27716. - description: 每页条数
  27717. in: query
  27718. name: pagesize
  27719. type: integer
  27720. - description: 商品(查询字段-模糊查询)
  27721. in: query
  27722. name: zsallproperties
  27723. type: string
  27724. - description: 钻石分类枚举ID
  27725. in: query
  27726. name: zscategory
  27727. type: integer
  27728. - description: 委托单号
  27729. in: query
  27730. name: wrtradeorderid
  27731. type: integer
  27732. - description: 卖方(查询字段-模糊查询)
  27733. in: query
  27734. name: buyusername
  27735. type: string
  27736. produces:
  27737. - application/json
  27738. responses:
  27739. "200":
  27740. description: OK
  27741. schema:
  27742. items:
  27743. $ref: '#/definitions/models.SellOrder'
  27744. type: array
  27745. "500":
  27746. description: Internal Server Error
  27747. schema:
  27748. $ref: '#/definitions/app.Response'
  27749. security:
  27750. - ApiKeyAuth: []
  27751. - LoginID: []
  27752. - Group: []
  27753. summary: 查询出售大厅委托单
  27754. tags:
  27755. - 广钻
  27756. /Guangzuan/QueryWarehouseInfo:
  27757. get:
  27758. parameters:
  27759. - description: 页码
  27760. in: query
  27761. name: page
  27762. type: integer
  27763. - description: 每页条数
  27764. in: query
  27765. name: pagesize
  27766. type: integer
  27767. - description: 用户ID
  27768. in: query
  27769. name: userid
  27770. required: true
  27771. type: integer
  27772. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27773. in: query
  27774. name: status
  27775. type: string
  27776. - description: 是返回交易所仓库
  27777. in: query
  27778. name: isincludeexchange
  27779. type: boolean
  27780. produces:
  27781. - application/json
  27782. responses:
  27783. "200":
  27784. description: OK
  27785. schema:
  27786. items:
  27787. $ref: '#/definitions/models.GZWarehouseinfo'
  27788. type: array
  27789. "500":
  27790. description: Internal Server Error
  27791. schema:
  27792. $ref: '#/definitions/app.Response'
  27793. security:
  27794. - ApiKeyAuth: []
  27795. - LoginID: []
  27796. - Group: []
  27797. summary: 查询仓库信息
  27798. tags:
  27799. - 广钻
  27800. /HSBY/GetHsbyMyCount:
  27801. get:
  27802. description: 说明: 不包括已完成的数量。
  27803. parameters:
  27804. - description: 资金账户列表,格式:1,2,3
  27805. in: query
  27806. name: accountIDs
  27807. required: true
  27808. type: string
  27809. produces:
  27810. - application/json
  27811. responses:
  27812. "200":
  27813. description: OK
  27814. schema:
  27815. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  27816. "500":
  27817. description: Internal Server Error
  27818. schema:
  27819. $ref: '#/definitions/app.Response'
  27820. security:
  27821. - ApiKeyAuth: []
  27822. summary: 获取我的订单与包裹数量
  27823. tags:
  27824. - 定制【海商报业】
  27825. /HSBY/QueryClientFixedADConfigs:
  27826. get:
  27827. produces:
  27828. - application/json
  27829. responses:
  27830. "200":
  27831. description: OK
  27832. schema:
  27833. $ref: '#/definitions/models.Clientfixedadconfig'
  27834. "500":
  27835. description: Internal Server Error
  27836. schema:
  27837. $ref: '#/definitions/app.Response'
  27838. security:
  27839. - ApiKeyAuth: []
  27840. summary: 获取终端固定广告配置
  27841. tags:
  27842. - 定制【海商报业】
  27843. /HSBY/QueryHsbyBuyMyTradeDetail:
  27844. get:
  27845. parameters:
  27846. - description: 页码
  27847. in: query
  27848. name: page
  27849. type: integer
  27850. - description: 每页条数
  27851. in: query
  27852. name: pagesize
  27853. type: integer
  27854. - description: 资金账户列表,格式:1,2,3
  27855. in: query
  27856. name: accountIDs
  27857. required: true
  27858. type: string
  27859. produces:
  27860. - application/json
  27861. responses:
  27862. "200":
  27863. description: OK
  27864. schema:
  27865. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  27866. "500":
  27867. description: Internal Server Error
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. security:
  27871. - ApiKeyAuth: []
  27872. summary: 查询"我的订单 - 已完成"单据信息
  27873. tags:
  27874. - 定制【海商报业】
  27875. /HSBY/QueryHsbyGoodsOrderDetails:
  27876. get:
  27877. description: 说明:查询结果已按委托价格和委托时间排序
  27878. parameters:
  27879. - description: 商品ID
  27880. in: query
  27881. name: goodsID
  27882. required: true
  27883. type: integer
  27884. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  27885. in: query
  27886. name: accountIDs
  27887. type: string
  27888. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  27889. in: query
  27890. name: buyOrSell
  27891. type: integer
  27892. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  27893. in: query
  27894. name: price
  27895. type: number
  27896. - description: 档位,不传则默认为3档
  27897. in: query
  27898. name: speed
  27899. type: integer
  27900. produces:
  27901. - application/json
  27902. responses:
  27903. "200":
  27904. description: OK
  27905. schema:
  27906. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  27914. tags:
  27915. - 定制【海商报业】
  27916. /HSBY/QueryHsbyListingGoodsDetail:
  27917. get:
  27918. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  27919. parameters:
  27920. - description: 商品ID
  27921. in: query
  27922. name: goodsID
  27923. required: true
  27924. type: integer
  27925. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  27926. in: query
  27927. name: accountID
  27928. type: integer
  27929. produces:
  27930. - application/json
  27931. responses:
  27932. "200":
  27933. description: OK
  27934. schema:
  27935. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  27936. "500":
  27937. description: Internal Server Error
  27938. schema:
  27939. $ref: '#/definitions/app.Response'
  27940. security:
  27941. - ApiKeyAuth: []
  27942. summary: 查询二级市场(挂牌点选)商品信息详情
  27943. tags:
  27944. - 定制【海商报业】
  27945. /HSBY/QueryHsbyMarketGoodsDetail:
  27946. get:
  27947. parameters:
  27948. - description: 委托单号
  27949. in: query
  27950. name: orderID
  27951. required: true
  27952. type: integer
  27953. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  27954. in: query
  27955. name: accountID
  27956. type: integer
  27957. produces:
  27958. - application/json
  27959. responses:
  27960. "200":
  27961. description: OK
  27962. schema:
  27963. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27964. "500":
  27965. description: Internal Server Error
  27966. schema:
  27967. $ref: '#/definitions/app.Response'
  27968. security:
  27969. - ApiKeyAuth: []
  27970. summary: 查询三级市场(商城)商品信息详情
  27971. tags:
  27972. - 定制【海商报业】
  27973. /HSBY/QueryHsbyMarketGoodses:
  27974. get:
  27975. parameters:
  27976. - description: 页码
  27977. in: query
  27978. name: page
  27979. type: integer
  27980. - description: 每页条数
  27981. in: query
  27982. name: pagesize
  27983. type: integer
  27984. - description: 市场ID列表,格式:1,2,3
  27985. in: query
  27986. name: marketIDs
  27987. required: true
  27988. type: string
  27989. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  27990. in: query
  27991. name: accountID
  27992. required: true
  27993. type: integer
  27994. - description: 类别ID
  27995. in: query
  27996. name: categoryID
  27997. type: integer
  27998. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27999. in: query
  28000. name: goodsIDs
  28001. type: string
  28002. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  28003. in: query
  28004. name: couponTypeID
  28005. type: integer
  28006. produces:
  28007. - application/json
  28008. responses:
  28009. "200":
  28010. description: OK
  28011. schema:
  28012. $ref: '#/definitions/models.HsbyMarketGoods'
  28013. "500":
  28014. description: Internal Server Error
  28015. schema:
  28016. $ref: '#/definitions/app.Response'
  28017. security:
  28018. - ApiKeyAuth: []
  28019. summary: 查询特卖商品列表(三级商城)
  28020. tags:
  28021. - 定制【海商报业】
  28022. /HSBY/QueryHsbyMarkets:
  28023. get:
  28024. produces:
  28025. - application/json
  28026. responses:
  28027. "200":
  28028. description: OK
  28029. schema:
  28030. $ref: '#/definitions/models.HsbyMarketInfo'
  28031. "500":
  28032. description: Internal Server Error
  28033. schema:
  28034. $ref: '#/definitions/app.Response'
  28035. security:
  28036. - ApiKeyAuth: []
  28037. summary: 查询海商报业相关市场信息
  28038. tags:
  28039. - 定制【海商报业】
  28040. /HSBY/QueryHsbyMyBuyOrderDetails:
  28041. get:
  28042. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  28043. parameters:
  28044. - description: 资金账户列表,格式:1,2,3
  28045. in: query
  28046. name: accountIDs
  28047. required: true
  28048. type: string
  28049. produces:
  28050. - application/json
  28051. responses:
  28052. "200":
  28053. description: OK
  28054. schema:
  28055. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  28056. "500":
  28057. description: Internal Server Error
  28058. schema:
  28059. $ref: '#/definitions/app.Response'
  28060. security:
  28061. - ApiKeyAuth: []
  28062. summary: 查询“我的订单”信息
  28063. tags:
  28064. - 定制【海商报业】
  28065. /HSBY/QueryHsbyMyGoods:
  28066. get:
  28067. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  28068. parameters:
  28069. - description: 资金账户列表,格式:1,2,3
  28070. in: query
  28071. name: accountIDs
  28072. required: true
  28073. type: string
  28074. produces:
  28075. - application/json
  28076. responses:
  28077. "200":
  28078. description: OK
  28079. schema:
  28080. $ref: '#/definitions/models.HsbyMyGoods'
  28081. "500":
  28082. description: Internal Server Error
  28083. schema:
  28084. $ref: '#/definitions/app.Response'
  28085. security:
  28086. - ApiKeyAuth: []
  28087. summary: 查询“我的商品”信息
  28088. tags:
  28089. - 定制【海商报业】
  28090. /HSBY/QueryHsbyMyPackages:
  28091. get:
  28092. parameters:
  28093. - description: 资金账户列表,格式:1,2,3
  28094. in: query
  28095. name: accountIDs
  28096. required: true
  28097. type: string
  28098. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  28099. in: query
  28100. name: takeOrderStatus
  28101. type: integer
  28102. produces:
  28103. - application/json
  28104. responses:
  28105. "200":
  28106. description: OK
  28107. schema:
  28108. $ref: '#/definitions/models.HsbyMyPackage'
  28109. "500":
  28110. description: Internal Server Error
  28111. schema:
  28112. $ref: '#/definitions/app.Response'
  28113. security:
  28114. - ApiKeyAuth: []
  28115. summary: 查询我的包裹信息
  28116. tags:
  28117. - 定制【海商报业】
  28118. /HSBY/QueryHsbyPreGoodsDetail:
  28119. get:
  28120. parameters:
  28121. - description: 商品ID
  28122. in: query
  28123. name: goodsID
  28124. required: true
  28125. type: integer
  28126. - description: 资金账户,主要用于获取预售商品购买上限
  28127. in: query
  28128. name: accountID
  28129. type: integer
  28130. produces:
  28131. - application/json
  28132. responses:
  28133. "200":
  28134. description: OK
  28135. schema:
  28136. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  28137. "500":
  28138. description: Internal Server Error
  28139. schema:
  28140. $ref: '#/definitions/app.Response'
  28141. security:
  28142. - ApiKeyAuth: []
  28143. summary: 查询一级市场(预售)商品信息详情
  28144. tags:
  28145. - 定制【海商报业】
  28146. /HSBY/QueryHsbyPreGoodses:
  28147. get:
  28148. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  28149. parameters:
  28150. - description: 页码
  28151. in: query
  28152. name: page
  28153. type: integer
  28154. - description: 每页条数
  28155. in: query
  28156. name: pagesize
  28157. type: integer
  28158. - description: 市场ID列表,格式:1,2,3
  28159. in: query
  28160. name: marketIDs
  28161. required: true
  28162. type: string
  28163. - description: 目的地(省)ID
  28164. in: query
  28165. name: descProvinceID
  28166. type: integer
  28167. - description: 目的地(市)ID
  28168. in: query
  28169. name: descCityID
  28170. type: integer
  28171. produces:
  28172. - application/json
  28173. responses:
  28174. "200":
  28175. description: OK
  28176. schema:
  28177. $ref: '#/definitions/models.HsbyPreGoods'
  28178. "500":
  28179. description: Internal Server Error
  28180. schema:
  28181. $ref: '#/definitions/app.Response'
  28182. security:
  28183. - ApiKeyAuth: []
  28184. summary: 查询新品上市商品列表(一级市场预售)
  28185. tags:
  28186. - 定制【海商报业】
  28187. /HSBY/QueryHsbySellMyDetails:
  28188. get:
  28189. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  28190. parameters:
  28191. - description: 页码
  28192. in: query
  28193. name: page
  28194. type: integer
  28195. - description: 每页条数
  28196. in: query
  28197. name: pagesize
  28198. type: integer
  28199. - description: 资金账户列表,格式:1,2,3
  28200. in: query
  28201. name: accountIDs
  28202. required: true
  28203. type: string
  28204. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  28205. in: query
  28206. name: orderType
  28207. type: integer
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. $ref: '#/definitions/models.HsbySellMyDetail'
  28215. "500":
  28216. description: Internal Server Error
  28217. schema:
  28218. $ref: '#/definitions/app.Response'
  28219. security:
  28220. - ApiKeyAuth: []
  28221. summary: 查询"我的闲置"单据信息
  28222. tags:
  28223. - 定制【海商报业】
  28224. /HSBY/QueryHsbyTopGoodses:
  28225. get:
  28226. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  28227. parameters:
  28228. - description: 页码
  28229. in: query
  28230. name: page
  28231. type: integer
  28232. - description: 每页条数
  28233. in: query
  28234. name: pagesize
  28235. type: integer
  28236. - description: 市场ID列表,格式:1,2,3
  28237. in: query
  28238. name: marketIDs
  28239. required: true
  28240. type: string
  28241. - description: 目的地(省)ID
  28242. in: query
  28243. name: descProvinceID
  28244. type: integer
  28245. - description: 目的地(市)ID
  28246. in: query
  28247. name: descCityID
  28248. type: integer
  28249. produces:
  28250. - application/json
  28251. responses:
  28252. "200":
  28253. description: OK
  28254. schema:
  28255. $ref: '#/definitions/models.HsbyTopGoods'
  28256. "500":
  28257. description: Internal Server Error
  28258. schema:
  28259. $ref: '#/definitions/app.Response'
  28260. security:
  28261. - ApiKeyAuth: []
  28262. summary: 查询热卖商品列表(二级市场挂牌点选)
  28263. tags:
  28264. - 定制【海商报业】
  28265. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  28266. get:
  28267. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  28268. parameters:
  28269. - description: 商品ID
  28270. in: query
  28271. name: goodsID
  28272. required: true
  28273. type: integer
  28274. produces:
  28275. - application/json
  28276. responses:
  28277. "200":
  28278. description: OK
  28279. schema:
  28280. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  28281. "500":
  28282. description: Internal Server Error
  28283. schema:
  28284. $ref: '#/definitions/app.Response'
  28285. security:
  28286. - ApiKeyAuth: []
  28287. summary: 查询游客三级市场(商城)商品信息详情
  28288. tags:
  28289. - 定制【海商报业】
  28290. /HSBY/QueryHsbyVisitorMarketGoodses:
  28291. get:
  28292. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  28293. parameters:
  28294. - description: 页码
  28295. in: query
  28296. name: page
  28297. type: integer
  28298. - description: 每页条数
  28299. in: query
  28300. name: pagesize
  28301. type: integer
  28302. - description: 市场ID列表,格式:1,2,3
  28303. in: query
  28304. name: marketIDs
  28305. required: true
  28306. type: string
  28307. - description: 类别ID
  28308. in: query
  28309. name: categoryID
  28310. type: integer
  28311. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  28312. in: query
  28313. name: goodsIDs
  28314. type: string
  28315. produces:
  28316. - application/json
  28317. responses:
  28318. "200":
  28319. description: OK
  28320. schema:
  28321. $ref: '#/definitions/models.HsbyMarketGoods'
  28322. "500":
  28323. description: Internal Server Error
  28324. schema:
  28325. $ref: '#/definitions/app.Response'
  28326. security:
  28327. - ApiKeyAuth: []
  28328. summary: 查询游客特卖商品列表(三级商城)
  28329. tags:
  28330. - 定制【海商报业】
  28331. /HSBY/QueryMyCollectionOrders:
  28332. get:
  28333. parameters:
  28334. - description: 页码
  28335. in: query
  28336. name: page
  28337. type: integer
  28338. - description: 每页条数
  28339. in: query
  28340. name: pagesize
  28341. type: integer
  28342. - description: 资金账户,格式:1,2,3
  28343. in: query
  28344. name: accountIDs
  28345. required: true
  28346. type: string
  28347. produces:
  28348. - application/json
  28349. responses:
  28350. "200":
  28351. description: OK
  28352. schema:
  28353. $ref: '#/definitions/models.HsbySellCollectionOrder'
  28354. "500":
  28355. description: Internal Server Error
  28356. schema:
  28357. $ref: '#/definitions/app.Response'
  28358. security:
  28359. - ApiKeyAuth: []
  28360. summary: 我的闲置中收款信息查询
  28361. tags:
  28362. - 定制【海商报业】
  28363. /HSBY/QueryMyCouponHolds:
  28364. get:
  28365. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  28366. parameters:
  28367. - description: 资金账户列表,格式:1,2,3
  28368. in: query
  28369. name: accountIDs
  28370. required: true
  28371. type: string
  28372. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  28373. in: query
  28374. name: holdStatus
  28375. type: string
  28376. produces:
  28377. - application/json
  28378. responses:
  28379. "200":
  28380. description: OK
  28381. schema:
  28382. $ref: '#/definitions/models.MyCouponHold'
  28383. "500":
  28384. description: Internal Server Error
  28385. schema:
  28386. $ref: '#/definitions/app.Response'
  28387. security:
  28388. - ApiKeyAuth: []
  28389. summary: 我的优惠卷持仓查询
  28390. tags:
  28391. - 定制【海商报业】
  28392. /HSBY/QueryMyCoupons:
  28393. get:
  28394. parameters:
  28395. - description: 资金账户列表,格式:1,2,3
  28396. in: query
  28397. name: accountIDs
  28398. required: true
  28399. type: string
  28400. - description: 商品ID, 一般与sellUserID配套传入
  28401. in: query
  28402. name: goodsID
  28403. type: integer
  28404. - description: 卖方UserID
  28405. in: query
  28406. name: sellUserID
  28407. type: integer
  28408. produces:
  28409. - application/json
  28410. responses:
  28411. "200":
  28412. description: OK
  28413. schema:
  28414. $ref: '#/definitions/models.MyCoupon'
  28415. "500":
  28416. description: Internal Server Error
  28417. schema:
  28418. $ref: '#/definitions/app.Response'
  28419. security:
  28420. - ApiKeyAuth: []
  28421. summary: 我的优惠卷查询
  28422. tags:
  28423. - 定制【海商报业】
  28424. /HSBY/QueryMyPayOrders:
  28425. get:
  28426. parameters:
  28427. - description: 页码
  28428. in: query
  28429. name: page
  28430. type: integer
  28431. - description: 每页条数
  28432. in: query
  28433. name: pagesize
  28434. type: integer
  28435. - description: 资金账户列表,格式:1,2,3
  28436. in: query
  28437. name: accountIDs
  28438. required: true
  28439. type: string
  28440. - description: 买方委托单号
  28441. in: query
  28442. name: buyOrderID
  28443. type: integer
  28444. - description: 卖方委托单号
  28445. in: query
  28446. name: sellOrderID
  28447. type: integer
  28448. produces:
  28449. - application/json
  28450. responses:
  28451. "200":
  28452. description: OK
  28453. schema:
  28454. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  28455. "500":
  28456. description: Internal Server Error
  28457. schema:
  28458. $ref: '#/definitions/app.Response'
  28459. security:
  28460. - ApiKeyAuth: []
  28461. summary: 获取我的订单中待付款信息
  28462. tags:
  28463. - 定制【海商报业】
  28464. /HSBY/QueryMyUsedCoupon:
  28465. get:
  28466. parameters:
  28467. - description: 资金账户列表,格式:1,2,3
  28468. in: query
  28469. name: accountIDs
  28470. required: true
  28471. type: string
  28472. produces:
  28473. - application/json
  28474. responses:
  28475. "200":
  28476. description: OK
  28477. schema:
  28478. $ref: '#/definitions/models.MyUsedCoupon'
  28479. "500":
  28480. description: Internal Server Error
  28481. schema:
  28482. $ref: '#/definitions/app.Response'
  28483. security:
  28484. - ApiKeyAuth: []
  28485. summary: 已使用优惠卷查询
  28486. tags:
  28487. - 定制【海商报业】
  28488. /HSBY/QueryProvincesAndCities:
  28489. get:
  28490. description: 查询结果只包括二级市场商品已关连的省市信息。
  28491. parameters:
  28492. - description: 省ID
  28493. in: query
  28494. name: provinceID
  28495. type: integer
  28496. produces:
  28497. - application/json
  28498. responses:
  28499. "200":
  28500. description: OK
  28501. schema:
  28502. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  28503. "500":
  28504. description: Internal Server Error
  28505. schema:
  28506. $ref: '#/definitions/app.Response'
  28507. security:
  28508. - ApiKeyAuth: []
  28509. summary: 查询省市信息(不包括区)
  28510. tags:
  28511. - 定制【海商报业】
  28512. /HSBY/SetHsbyMyPackagesStatus:
  28513. post:
  28514. parameters:
  28515. - description: 提货单号
  28516. in: query
  28517. name: takeOrderID
  28518. required: true
  28519. type: string
  28520. - description: 资金账号
  28521. in: query
  28522. name: accountID
  28523. required: true
  28524. type: integer
  28525. produces:
  28526. - application/json
  28527. responses:
  28528. "200":
  28529. description: OK
  28530. schema:
  28531. $ref: '#/definitions/app.Response'
  28532. "500":
  28533. description: Internal Server Error
  28534. schema:
  28535. $ref: '#/definitions/app.Response'
  28536. security:
  28537. - ApiKeyAuth: []
  28538. summary: 设置我的包裹已收货状态
  28539. tags:
  28540. - 定制【海商报业】
  28541. /Market/GetAllExExchanges:
  28542. get:
  28543. produces:
  28544. - application/json
  28545. responses:
  28546. "200":
  28547. description: OK
  28548. schema:
  28549. $ref: '#/definitions/models.Goods'
  28550. "500":
  28551. description: Internal Server Error
  28552. schema:
  28553. $ref: '#/definitions/app.Response'
  28554. security:
  28555. - ApiKeyAuth: []
  28556. summary: 获取所有外部交易所信息
  28557. tags:
  28558. - 通用市场
  28559. /Market/QueryGoodsesByLoginID:
  28560. get:
  28561. parameters:
  28562. - description: 登录账号
  28563. in: query
  28564. name: loginID
  28565. required: true
  28566. type: integer
  28567. - description: 市场ID列表,格式:1,2,3
  28568. in: query
  28569. name: marketIDs
  28570. type: string
  28571. produces:
  28572. - application/json
  28573. responses:
  28574. "200":
  28575. description: OK
  28576. schema:
  28577. $ref: '#/definitions/models.Goods'
  28578. "500":
  28579. description: Internal Server Error
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. security:
  28583. - ApiKeyAuth: []
  28584. summary: 获取登录账号有权限的商品信息
  28585. tags:
  28586. - 通用市场
  28587. /Market/QueryMarketRun:
  28588. get:
  28589. parameters:
  28590. - description: 市场ID,不传返回所有
  28591. in: query
  28592. name: marketID
  28593. type: integer
  28594. produces:
  28595. - application/json
  28596. responses:
  28597. "200":
  28598. description: OK
  28599. schema:
  28600. $ref: '#/definitions/models.Marketrun'
  28601. "500":
  28602. description: Internal Server Error
  28603. schema:
  28604. $ref: '#/definitions/app.Response'
  28605. security:
  28606. - ApiKeyAuth: []
  28607. summary: 查询市场运行信息
  28608. tags:
  28609. - 通用市场
  28610. /Market/QueryMarketsByLoginID:
  28611. get:
  28612. parameters:
  28613. - description: 登录账号
  28614. in: query
  28615. name: loginID
  28616. required: true
  28617. type: integer
  28618. produces:
  28619. - application/json
  28620. responses:
  28621. "200":
  28622. description: OK
  28623. schema:
  28624. $ref: '#/definitions/models.Market'
  28625. "500":
  28626. description: Internal Server Error
  28627. schema:
  28628. $ref: '#/definitions/app.Response'
  28629. security:
  28630. - ApiKeyAuth: []
  28631. summary: 获取登录账号有权限的市场信息
  28632. tags:
  28633. - 通用市场
  28634. /Order/QueryHisTradeDetail:
  28635. get:
  28636. parameters:
  28637. - description: 资金账户 - 格式:1,2,3
  28638. in: query
  28639. name: accountID
  28640. required: true
  28641. type: string
  28642. - description: 成交单号
  28643. in: query
  28644. name: tradeID
  28645. type: integer
  28646. - description: 委托单号
  28647. in: query
  28648. name: orderID
  28649. type: integer
  28650. - description: 商品ID
  28651. in: query
  28652. name: goodsID
  28653. type: integer
  28654. - description: 交易模式 - 格式:1,2,3
  28655. in: query
  28656. name: tradeMode
  28657. type: string
  28658. - description: 委托单据类型
  28659. in: query
  28660. name: buildType
  28661. type: integer
  28662. - description: 成交类别 - 格式:1,2,3
  28663. in: query
  28664. name: tradeType
  28665. type: string
  28666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28667. in: query
  28668. name: startDate
  28669. type: string
  28670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28671. in: query
  28672. name: endDate
  28673. type: string
  28674. produces:
  28675. - application/json
  28676. responses:
  28677. "200":
  28678. description: OK
  28679. schema:
  28680. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28681. "500":
  28682. description: Internal Server Error
  28683. schema:
  28684. $ref: '#/definitions/app.Response'
  28685. security:
  28686. - ApiKeyAuth: []
  28687. summary: 历史成交单查询(合约市场)
  28688. tags:
  28689. - 通用单据
  28690. /Order/QueryHisTradeOrderDetail:
  28691. get:
  28692. parameters:
  28693. - description: 资金账户 - 格式:1,2,3
  28694. in: query
  28695. name: accountID
  28696. required: true
  28697. type: string
  28698. - description: 交易模式 - 格式:1,2,3
  28699. in: query
  28700. name: tradeMode
  28701. type: string
  28702. - description: 委托状态 - 格式:1,2,3
  28703. in: query
  28704. name: orderStatus
  28705. type: string
  28706. - description: 委托单号
  28707. in: query
  28708. name: orderID
  28709. type: integer
  28710. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28711. in: query
  28712. name: startDate
  28713. type: string
  28714. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28715. in: query
  28716. name: endDate
  28717. type: string
  28718. produces:
  28719. - application/json
  28720. responses:
  28721. "200":
  28722. description: OK
  28723. schema:
  28724. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28725. "500":
  28726. description: Internal Server Error
  28727. schema:
  28728. $ref: '#/definitions/app.Response'
  28729. security:
  28730. - ApiKeyAuth: []
  28731. summary: 历史委托单查询请求(合约市场)
  28732. tags:
  28733. - 通用单据
  28734. /Order/QueryTradeDetail:
  28735. get:
  28736. parameters:
  28737. - description: 资金账户 - 格式:1,2,3
  28738. in: query
  28739. name: accountID
  28740. required: true
  28741. type: string
  28742. - description: 成交单号
  28743. in: query
  28744. name: tradeID
  28745. type: integer
  28746. - description: 委托单号
  28747. in: query
  28748. name: orderID
  28749. type: integer
  28750. - description: 交易模式 - 格式:1,2,3
  28751. in: query
  28752. name: tradeMode
  28753. type: string
  28754. - description: 委托单据类型
  28755. in: query
  28756. name: buildType
  28757. type: integer
  28758. - description: 成交类别 - 格式:1,2,3
  28759. in: query
  28760. name: tradeType
  28761. type: string
  28762. - description: 商品ID
  28763. in: query
  28764. name: goodsID
  28765. type: integer
  28766. produces:
  28767. - application/json
  28768. responses:
  28769. "200":
  28770. description: OK
  28771. schema:
  28772. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28773. "500":
  28774. description: Internal Server Error
  28775. schema:
  28776. $ref: '#/definitions/app.Response'
  28777. security:
  28778. - ApiKeyAuth: []
  28779. summary: 成交单查询(合约市场)
  28780. tags:
  28781. - 通用单据
  28782. /Order/QueryTradeHolderDetail:
  28783. get:
  28784. parameters:
  28785. - description: 用户id
  28786. in: query
  28787. name: userid
  28788. type: integer
  28789. - description: 资金账号, 格式 1,2,3
  28790. in: query
  28791. name: accids
  28792. type: string
  28793. - description: 交易模式, 格式 1,2,3
  28794. in: query
  28795. name: trademodes
  28796. type: string
  28797. - description: 市场id, 格式 1,2,3
  28798. in: query
  28799. name: marketids
  28800. type: string
  28801. - description: 商品id
  28802. in: query
  28803. name: goodsid
  28804. type: integer
  28805. - description: 买卖方向 0-买 1-卖
  28806. in: query
  28807. name: buyorsell
  28808. type: integer
  28809. produces:
  28810. - application/json
  28811. responses:
  28812. "200":
  28813. description: OK
  28814. schema:
  28815. items:
  28816. $ref: '#/definitions/models.TradeHolderDetail'
  28817. type: array
  28818. "500":
  28819. description: Internal Server Error
  28820. schema:
  28821. $ref: '#/definitions/app.Response'
  28822. security:
  28823. - ApiKeyAuth: []
  28824. summary: 查询持仓明细
  28825. tags:
  28826. - 通用单据
  28827. /Order/QueryTradeOrderDetail:
  28828. get:
  28829. parameters:
  28830. - description: 资金账户 - 格式:1,2,3
  28831. in: query
  28832. name: accountID
  28833. required: true
  28834. type: string
  28835. - description: 交易模式 - 格式:1,2,3
  28836. in: query
  28837. name: tradeMode
  28838. type: string
  28839. - description: 委托状态 - 格式:1,2,3
  28840. in: query
  28841. name: orderStatus
  28842. type: string
  28843. - description: 委托单号
  28844. in: query
  28845. name: orderID
  28846. type: integer
  28847. produces:
  28848. - application/json
  28849. responses:
  28850. "200":
  28851. description: OK
  28852. schema:
  28853. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28854. "500":
  28855. description: Internal Server Error
  28856. schema:
  28857. $ref: '#/definitions/app.Response'
  28858. security:
  28859. - ApiKeyAuth: []
  28860. summary: 委托单查询请求(合约市场)
  28861. tags:
  28862. - 通用单据
  28863. /Order/QueryTradePosition:
  28864. get:
  28865. parameters:
  28866. - description: 资金账户 - 格式:1,2,3
  28867. in: query
  28868. name: accountID
  28869. required: true
  28870. type: string
  28871. - description: 交易模式 - 格式:1,2,3
  28872. in: query
  28873. name: tradeMode
  28874. type: string
  28875. produces:
  28876. - application/json
  28877. responses:
  28878. "200":
  28879. description: OK
  28880. schema:
  28881. $ref: '#/definitions/order.QueryTradePositionRsp'
  28882. "500":
  28883. description: Internal Server Error
  28884. schema:
  28885. $ref: '#/definitions/app.Response'
  28886. security:
  28887. - ApiKeyAuth: []
  28888. summary: 持仓汇总查询(合约市场)
  28889. tags:
  28890. - 通用单据
  28891. /Qhj/QueryAccountInOutApply:
  28892. get:
  28893. parameters:
  28894. - description: 用户ID
  28895. in: query
  28896. name: userid
  28897. required: true
  28898. type: integer
  28899. - description: 申请起始日期(格式yyyymmdd)
  28900. in: query
  28901. name: begindate
  28902. type: string
  28903. - description: 申请截止日期(格式yyyymmdd)
  28904. in: query
  28905. name: enddate
  28906. type: string
  28907. - description: 模糊搜索名称
  28908. in: query
  28909. name: likename
  28910. type: string
  28911. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28912. in: query
  28913. name: applystatus
  28914. type: integer
  28915. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28916. in: query
  28917. name: querytype
  28918. type: integer
  28919. produces:
  28920. - application/json
  28921. responses:
  28922. "200":
  28923. description: OK
  28924. schema:
  28925. items:
  28926. $ref: '#/definitions/models.QhjAccountOutInApply'
  28927. type: array
  28928. "500":
  28929. description: Internal Server Error
  28930. schema:
  28931. $ref: '#/definitions/app.Response'
  28932. security:
  28933. - ApiKeyAuth: []
  28934. summary: 查询充值提现
  28935. tags:
  28936. - 大连千海金
  28937. /Qhj/QueryAreaFinanceConfig:
  28938. get:
  28939. parameters:
  28940. - description: 机构用户ID 其他做市关系,都设置为 1
  28941. in: query
  28942. name: userid
  28943. type: integer
  28944. produces:
  28945. - application/json
  28946. responses:
  28947. "200":
  28948. description: OK
  28949. schema:
  28950. items:
  28951. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28952. type: array
  28953. "500":
  28954. description: Internal Server Error
  28955. schema:
  28956. $ref: '#/definitions/app.Response'
  28957. security:
  28958. - ApiKeyAuth: []
  28959. summary: 查询企业配置表
  28960. tags:
  28961. - 大连千海金
  28962. /Qhj/QueryBankAccountSign:
  28963. get:
  28964. parameters:
  28965. - description: 用户ID
  28966. in: query
  28967. name: userid
  28968. required: true
  28969. type: integer
  28970. produces:
  28971. - application/json
  28972. responses:
  28973. "200":
  28974. description: OK
  28975. schema:
  28976. items:
  28977. $ref: '#/definitions/models.QhjBankAccountSign'
  28978. type: array
  28979. "500":
  28980. description: Internal Server Error
  28981. schema:
  28982. $ref: '#/definitions/app.Response'
  28983. security:
  28984. - ApiKeyAuth: []
  28985. summary: 查询签约银行信息(提现账户管理)
  28986. tags:
  28987. - 大连千海金
  28988. /Qhj/QueryBankInfo:
  28989. get:
  28990. produces:
  28991. - application/json
  28992. responses:
  28993. "200":
  28994. description: OK
  28995. schema:
  28996. items:
  28997. $ref: '#/definitions/models.QhjBankInfo'
  28998. type: array
  28999. "500":
  29000. description: Internal Server Error
  29001. schema:
  29002. $ref: '#/definitions/app.Response'
  29003. security:
  29004. - ApiKeyAuth: []
  29005. summary: 查询开户行
  29006. tags:
  29007. - 大连千海金
  29008. /Qhj/QueryBrokerApply:
  29009. get:
  29010. parameters:
  29011. - description: 所属机构ID
  29012. in: query
  29013. name: userid
  29014. type: integer
  29015. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29016. in: query
  29017. name: filterstatus
  29018. type: string
  29019. produces:
  29020. - application/json
  29021. responses:
  29022. "200":
  29023. description: OK
  29024. schema:
  29025. items:
  29026. $ref: '#/definitions/models.QhjBrokerApply'
  29027. type: array
  29028. "500":
  29029. description: Internal Server Error
  29030. schema:
  29031. $ref: '#/definitions/app.Response'
  29032. security:
  29033. - ApiKeyAuth: []
  29034. summary: 查询经纪人申请
  29035. tags:
  29036. - 大连千海金
  29037. /Qhj/QueryBrokerApplyEx:
  29038. get:
  29039. parameters:
  29040. - description: 所属机构ID
  29041. in: query
  29042. name: userid
  29043. type: integer
  29044. produces:
  29045. - application/json
  29046. responses:
  29047. "200":
  29048. description: OK
  29049. schema:
  29050. items:
  29051. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29052. type: array
  29053. "500":
  29054. description: Internal Server Error
  29055. schema:
  29056. $ref: '#/definitions/app.Response'
  29057. security:
  29058. - ApiKeyAuth: []
  29059. summary: 查询经纪人信息和申请记录
  29060. tags:
  29061. - 大连千海金
  29062. /Qhj/QueryBrokerRewardLog:
  29063. get:
  29064. parameters:
  29065. - description: 用户ID
  29066. in: query
  29067. name: userid
  29068. required: true
  29069. type: integer
  29070. - description: 开始交易日(yyyymmdd)
  29071. in: query
  29072. name: begindate
  29073. type: string
  29074. - description: 结束交易日(yyyymmdd)
  29075. in: query
  29076. name: enddate
  29077. type: string
  29078. produces:
  29079. - application/json
  29080. responses:
  29081. "200":
  29082. description: OK
  29083. schema:
  29084. items:
  29085. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29086. type: array
  29087. "500":
  29088. description: Internal Server Error
  29089. schema:
  29090. $ref: '#/definitions/app.Response'
  29091. security:
  29092. - ApiKeyAuth: []
  29093. summary: 查询奖励流水(我的奖励)
  29094. tags:
  29095. - 大连千海金
  29096. /Qhj/QueryContract:
  29097. get:
  29098. parameters:
  29099. - description: 用户ID
  29100. in: query
  29101. name: userid
  29102. type: integer
  29103. - description: scf合同id
  29104. in: query
  29105. name: scfcontractid
  29106. type: integer
  29107. produces:
  29108. - application/json
  29109. responses:
  29110. "200":
  29111. description: OK
  29112. schema:
  29113. items:
  29114. $ref: '#/definitions/models.QhjContract'
  29115. type: array
  29116. "500":
  29117. description: Internal Server Error
  29118. schema:
  29119. $ref: '#/definitions/app.Response'
  29120. security:
  29121. - ApiKeyAuth: []
  29122. summary: 查询融资明细(合同)
  29123. tags:
  29124. - 大连千海金
  29125. /Qhj/QueryContractLog:
  29126. get:
  29127. parameters:
  29128. - description: scf合同id
  29129. in: query
  29130. name: scfcontractid
  29131. required: true
  29132. type: integer
  29133. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29134. in: query
  29135. name: amounttype
  29136. type: string
  29137. produces:
  29138. - application/json
  29139. responses:
  29140. "200":
  29141. description: OK
  29142. schema:
  29143. items:
  29144. $ref: '#/definitions/models.QhjContractLog'
  29145. type: array
  29146. "500":
  29147. description: Internal Server Error
  29148. schema:
  29149. $ref: '#/definitions/app.Response'
  29150. security:
  29151. - ApiKeyAuth: []
  29152. summary: 查询融资明细流水(融资明细详情页中的流水)
  29153. tags:
  29154. - 大连千海金
  29155. /Qhj/QueryCusBankSignBank:
  29156. get:
  29157. produces:
  29158. - application/json
  29159. responses:
  29160. "200":
  29161. description: OK
  29162. schema:
  29163. items:
  29164. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29165. type: array
  29166. "500":
  29167. description: Internal Server Error
  29168. schema:
  29169. $ref: '#/definitions/app.Response'
  29170. security:
  29171. - ApiKeyAuth: []
  29172. summary: 查询托管银行
  29173. tags:
  29174. - 大连千海金
  29175. /Qhj/QueryCustomerInfo:
  29176. get:
  29177. parameters:
  29178. - description: 用户ID
  29179. in: query
  29180. name: userid
  29181. required: true
  29182. type: integer
  29183. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29184. in: query
  29185. name: querytype
  29186. required: true
  29187. type: integer
  29188. - description: 客户类型 1-个人 2-企业
  29189. in: query
  29190. name: userinfotype
  29191. type: integer
  29192. - description: 客户名称(模糊匹配)
  29193. in: query
  29194. name: customername
  29195. type: string
  29196. - description: 昵称(模糊匹配)
  29197. in: query
  29198. name: nickname
  29199. type: string
  29200. - description: 是否包含子级 1-包含
  29201. in: query
  29202. name: includesub
  29203. type: integer
  29204. produces:
  29205. - application/json
  29206. responses:
  29207. "200":
  29208. description: OK
  29209. schema:
  29210. items:
  29211. $ref: '#/definitions/models.QhjCustomer'
  29212. type: array
  29213. "500":
  29214. description: Internal Server Error
  29215. schema:
  29216. $ref: '#/definitions/app.Response'
  29217. security:
  29218. - ApiKeyAuth: []
  29219. summary: 查询客户资料
  29220. tags:
  29221. - 大连千海金
  29222. /Qhj/QueryGoodsEx:
  29223. get:
  29224. parameters:
  29225. - description: 商品id
  29226. in: query
  29227. name: goodsid
  29228. type: integer
  29229. produces:
  29230. - application/json
  29231. responses:
  29232. "200":
  29233. description: OK
  29234. schema:
  29235. items:
  29236. $ref: '#/definitions/models.Qhjgoodsex'
  29237. type: array
  29238. "500":
  29239. description: Internal Server Error
  29240. schema:
  29241. $ref: '#/definitions/app.Response'
  29242. security:
  29243. - ApiKeyAuth: []
  29244. summary: 交易商品扩展表
  29245. tags:
  29246. - 大连千海金
  29247. /Qhj/QueryMyTeam:
  29248. get:
  29249. parameters:
  29250. - description: 用户ID
  29251. in: query
  29252. name: userid
  29253. required: true
  29254. type: integer
  29255. produces:
  29256. - application/json
  29257. responses:
  29258. "200":
  29259. description: OK
  29260. schema:
  29261. items:
  29262. $ref: '#/definitions/models.QhjMyTeamEx'
  29263. type: array
  29264. "500":
  29265. description: Internal Server Error
  29266. schema:
  29267. $ref: '#/definitions/app.Response'
  29268. security:
  29269. - ApiKeyAuth: []
  29270. summary: 查询我的团队
  29271. tags:
  29272. - 大连千海金
  29273. /Qhj/QueryMyTeamOrder:
  29274. get:
  29275. parameters:
  29276. - description: 页码
  29277. in: query
  29278. name: page
  29279. type: integer
  29280. - description: 每页条数
  29281. in: query
  29282. name: pagesize
  29283. type: integer
  29284. - description: 用户ID
  29285. in: query
  29286. name: userid
  29287. required: true
  29288. type: integer
  29289. - description: 交易模式
  29290. in: query
  29291. name: trademode
  29292. type: integer
  29293. - description: 名称(模糊搜索账户)
  29294. in: query
  29295. name: filtername
  29296. type: string
  29297. produces:
  29298. - application/json
  29299. responses:
  29300. "200":
  29301. description: OK
  29302. schema:
  29303. items:
  29304. $ref: '#/definitions/models.QhjTeamOrder'
  29305. type: array
  29306. "500":
  29307. description: Internal Server Error
  29308. schema:
  29309. $ref: '#/definitions/app.Response'
  29310. security:
  29311. - ApiKeyAuth: []
  29312. summary: 查询团队订单(我的团队/团队订单)
  29313. tags:
  29314. - 大连千海金
  29315. /Qhj/QueryParentAreaList:
  29316. get:
  29317. parameters:
  29318. - description: 用户ID
  29319. in: query
  29320. name: userid
  29321. required: true
  29322. type: integer
  29323. produces:
  29324. - application/json
  29325. responses:
  29326. "200":
  29327. description: OK
  29328. schema:
  29329. items:
  29330. $ref: '#/definitions/models.QhjParentAreaList'
  29331. type: array
  29332. "500":
  29333. description: Internal Server Error
  29334. schema:
  29335. $ref: '#/definitions/app.Response'
  29336. security:
  29337. - ApiKeyAuth: []
  29338. summary: 查询所属机构列表
  29339. tags:
  29340. - 大连千海金
  29341. /Qhj/QueryPayOrder:
  29342. get:
  29343. parameters:
  29344. - description: 资金账号id
  29345. in: query
  29346. name: accountid
  29347. required: true
  29348. type: integer
  29349. - description: 成交单号
  29350. in: query
  29351. name: tradeid
  29352. type: integer
  29353. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29354. in: query
  29355. name: payflag
  29356. type: string
  29357. produces:
  29358. - application/json
  29359. responses:
  29360. "200":
  29361. description: OK
  29362. schema:
  29363. items:
  29364. $ref: '#/definitions/models.QhjPayOrder'
  29365. type: array
  29366. "500":
  29367. description: Internal Server Error
  29368. schema:
  29369. $ref: '#/definitions/app.Response'
  29370. security:
  29371. - ApiKeyAuth: []
  29372. summary: 查询待付款单据
  29373. tags:
  29374. - 大连千海金
  29375. /Qhj/QueryPickArea:
  29376. get:
  29377. parameters:
  29378. - description: 用户ID
  29379. in: query
  29380. name: userid
  29381. type: integer
  29382. produces:
  29383. - application/json
  29384. responses:
  29385. "200":
  29386. description: OK
  29387. schema:
  29388. items:
  29389. $ref: '#/definitions/models.QhjPickArea'
  29390. type: array
  29391. "500":
  29392. description: Internal Server Error
  29393. schema:
  29394. $ref: '#/definitions/app.Response'
  29395. security:
  29396. - ApiKeyAuth: []
  29397. summary: 查询提货门店
  29398. tags:
  29399. - 大连千海金
  29400. /Qhj/QueryPickGoods:
  29401. get:
  29402. parameters:
  29403. - description: 交易商品id
  29404. in: query
  29405. name: goodsid
  29406. required: true
  29407. type: integer
  29408. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29409. in: query
  29410. name: status
  29411. type: string
  29412. produces:
  29413. - application/json
  29414. responses:
  29415. "200":
  29416. description: OK
  29417. schema:
  29418. items:
  29419. $ref: '#/definitions/models.QhjPickGoods'
  29420. type: array
  29421. "500":
  29422. description: Internal Server Error
  29423. schema:
  29424. $ref: '#/definitions/app.Response'
  29425. security:
  29426. - ApiKeyAuth: []
  29427. summary: 查询提货商品
  29428. tags:
  29429. - 大连千海金
  29430. /Qhj/QueryRSTriggerLog:
  29431. get:
  29432. parameters:
  29433. - description: 用户ID
  29434. in: query
  29435. name: userid
  29436. type: integer
  29437. - description: 定投策略id
  29438. in: query
  29439. name: regularlystrategyid
  29440. type: integer
  29441. - description: 商品id
  29442. in: query
  29443. name: goodsid
  29444. type: integer
  29445. - description: 开始交易日(yyyymmdd)
  29446. in: query
  29447. name: begindate
  29448. type: string
  29449. - description: 结束交易日(yyyymmdd)
  29450. in: query
  29451. name: enddate
  29452. type: string
  29453. - description: 名称(模糊搜索账户)
  29454. in: query
  29455. name: filtername
  29456. type: string
  29457. produces:
  29458. - application/json
  29459. responses:
  29460. "200":
  29461. description: OK
  29462. schema:
  29463. items:
  29464. $ref: '#/definitions/models.QhjRSTriggerLog'
  29465. type: array
  29466. "500":
  29467. description: Internal Server Error
  29468. schema:
  29469. $ref: '#/definitions/app.Response'
  29470. security:
  29471. - ApiKeyAuth: []
  29472. summary: 查询定投记录(定投管理/详情/定投记录)
  29473. tags:
  29474. - 大连千海金
  29475. /Qhj/QueryRStrategy:
  29476. get:
  29477. parameters:
  29478. - description: 用户ID
  29479. in: query
  29480. name: userid
  29481. type: integer
  29482. - description: 商品id
  29483. in: query
  29484. name: goodsid
  29485. type: integer
  29486. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29487. in: query
  29488. name: status
  29489. type: string
  29490. - description: 名称(模糊搜索账户)
  29491. in: query
  29492. name: filtername
  29493. type: string
  29494. produces:
  29495. - application/json
  29496. responses:
  29497. "200":
  29498. description: OK
  29499. schema:
  29500. items:
  29501. $ref: '#/definitions/models.QhjRStrategy'
  29502. type: array
  29503. "500":
  29504. description: Internal Server Error
  29505. schema:
  29506. $ref: '#/definitions/app.Response'
  29507. security:
  29508. - ApiKeyAuth: []
  29509. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29510. tags:
  29511. - 大连千海金
  29512. /Qhj/QueryReckonPriceLog:
  29513. get:
  29514. parameters:
  29515. - description: 商品ID
  29516. in: query
  29517. name: goodsid
  29518. type: integer
  29519. - description: 交易日 格式(yyyymmdd)
  29520. in: query
  29521. name: tradedate
  29522. type: string
  29523. produces:
  29524. - application/json
  29525. responses:
  29526. "200":
  29527. description: OK
  29528. schema:
  29529. items:
  29530. $ref: '#/definitions/models.QhjReckonPriceLog'
  29531. type: array
  29532. "500":
  29533. description: Internal Server Error
  29534. schema:
  29535. $ref: '#/definitions/app.Response'
  29536. security:
  29537. - ApiKeyAuth: []
  29538. summary: 查询定投价(结算价)
  29539. tags:
  29540. - 大连千海金
  29541. /Qhj/QueryScoreLog:
  29542. get:
  29543. parameters:
  29544. - description: 用户ID
  29545. in: query
  29546. name: userid
  29547. required: true
  29548. type: integer
  29549. - description: 开始交易日(yyyymmdd)
  29550. in: query
  29551. name: begindate
  29552. type: string
  29553. - description: 结束交易日(yyyymmdd)
  29554. in: query
  29555. name: enddate
  29556. type: string
  29557. - description: 最近多少条
  29558. in: query
  29559. name: lastnum
  29560. type: integer
  29561. produces:
  29562. - application/json
  29563. responses:
  29564. "200":
  29565. description: OK
  29566. schema:
  29567. items:
  29568. $ref: '#/definitions/models.QhjScoreLog'
  29569. type: array
  29570. "500":
  29571. description: Internal Server Error
  29572. schema:
  29573. $ref: '#/definitions/app.Response'
  29574. security:
  29575. - ApiKeyAuth: []
  29576. summary: 查询积分流水(我的积分)
  29577. tags:
  29578. - 大连千海金
  29579. /Qhj/QuerySiteColumnDetail:
  29580. get:
  29581. parameters:
  29582. - description: 用户ID
  29583. in: query
  29584. name: userid
  29585. required: true
  29586. type: integer
  29587. produces:
  29588. - application/json
  29589. responses:
  29590. "200":
  29591. description: OK
  29592. schema:
  29593. items:
  29594. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29595. type: array
  29596. "500":
  29597. description: Internal Server Error
  29598. schema:
  29599. $ref: '#/definitions/app.Response'
  29600. security:
  29601. - ApiKeyAuth: []
  29602. summary: 查询资讯
  29603. tags:
  29604. - 大连千海金
  29605. /Qhj/QueryTradeGoodsPickup:
  29606. get:
  29607. parameters:
  29608. - description: 用户ID
  29609. in: query
  29610. name: userid
  29611. required: true
  29612. type: integer
  29613. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29614. 7:已拒绝 8:已撤销
  29615. in: query
  29616. name: takeorderstatus
  29617. type: integer
  29618. produces:
  29619. - application/json
  29620. responses:
  29621. "200":
  29622. description: OK
  29623. schema:
  29624. items:
  29625. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29626. type: array
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. summary: 查询提货
  29634. tags:
  29635. - 大连千海金
  29636. /Qhj/QueryUserCollectConfig:
  29637. get:
  29638. parameters:
  29639. - description: 用户ID
  29640. in: query
  29641. name: userid
  29642. required: true
  29643. type: integer
  29644. produces:
  29645. - application/json
  29646. responses:
  29647. "200":
  29648. description: OK
  29649. schema:
  29650. items:
  29651. $ref: '#/definitions/models.UserCollectConfig'
  29652. type: array
  29653. "500":
  29654. description: Internal Server Error
  29655. schema:
  29656. $ref: '#/definitions/app.Response'
  29657. security:
  29658. - ApiKeyAuth: []
  29659. summary: 查询提现账户设置
  29660. tags:
  29661. - 大连千海金
  29662. /Qhj/QueryUserReceiveInfo:
  29663. get:
  29664. parameters:
  29665. - description: 用户ID
  29666. in: query
  29667. name: userid
  29668. required: true
  29669. type: integer
  29670. produces:
  29671. - application/json
  29672. responses:
  29673. "200":
  29674. description: OK
  29675. schema:
  29676. items:
  29677. $ref: '#/definitions/models.UserReceiveInfo'
  29678. type: array
  29679. "500":
  29680. description: Internal Server Error
  29681. schema:
  29682. $ref: '#/definitions/app.Response'
  29683. security:
  29684. - ApiKeyAuth: []
  29685. summary: 查询收货地址信息
  29686. tags:
  29687. - 大连千海金
  29688. /QhjMgr/QueryAccountInOutApply:
  29689. get:
  29690. parameters:
  29691. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29692. in: query
  29693. name: querytype
  29694. required: true
  29695. type: integer
  29696. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29697. in: query
  29698. name: applystatus
  29699. type: integer
  29700. - description: 申请起始日期(格式yyyymmdd)
  29701. in: query
  29702. name: begindate
  29703. type: string
  29704. - description: 申请截止日期(格式yyyymmdd)
  29705. in: query
  29706. name: enddate
  29707. type: string
  29708. - description: 模糊搜索名称
  29709. in: query
  29710. name: likename
  29711. type: string
  29712. produces:
  29713. - application/json
  29714. responses:
  29715. "200":
  29716. description: OK
  29717. schema:
  29718. items:
  29719. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29720. type: array
  29721. "500":
  29722. description: Internal Server Error
  29723. schema:
  29724. $ref: '#/definitions/app.Response'
  29725. security:
  29726. - ApiKeyAuth: []
  29727. summary: 查询充值提现
  29728. tags:
  29729. - 大连千海金(PCWeb)
  29730. /QhjMgr/QueryBrokerApply:
  29731. get:
  29732. parameters:
  29733. - description: 所属机构ID
  29734. in: query
  29735. name: userid
  29736. type: integer
  29737. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29738. in: query
  29739. name: filterstatus
  29740. type: string
  29741. - description: 名称(模糊匹配)
  29742. in: query
  29743. name: filtername
  29744. type: string
  29745. - description: 是否包含子级 1-包含
  29746. in: query
  29747. name: includesub
  29748. type: integer
  29749. produces:
  29750. - application/json
  29751. responses:
  29752. "200":
  29753. description: OK
  29754. schema:
  29755. items:
  29756. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29757. type: array
  29758. "500":
  29759. description: Internal Server Error
  29760. schema:
  29761. $ref: '#/definitions/app.Response'
  29762. security:
  29763. - ApiKeyAuth: []
  29764. summary: 查询经纪人申请
  29765. tags:
  29766. - 大连千海金(PCWeb)
  29767. /QhjMgr/QueryBrokerRewardReport:
  29768. get:
  29769. parameters:
  29770. - description: 所属机构ID
  29771. in: query
  29772. name: userid
  29773. required: true
  29774. type: integer
  29775. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29776. in: query
  29777. name: cycletype
  29778. required: true
  29779. type: integer
  29780. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29781. in: query
  29782. name: cycletime
  29783. required: true
  29784. type: string
  29785. - description: 名称(模糊匹配)
  29786. in: query
  29787. name: filtername
  29788. type: string
  29789. - description: 是否包含子级 1-包含
  29790. in: query
  29791. name: includesub
  29792. type: integer
  29793. produces:
  29794. - application/json
  29795. responses:
  29796. "200":
  29797. description: OK
  29798. schema:
  29799. items:
  29800. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29801. type: array
  29802. "500":
  29803. description: Internal Server Error
  29804. schema:
  29805. $ref: '#/definitions/app.Response'
  29806. security:
  29807. - ApiKeyAuth: []
  29808. summary: 查询经纪人奖励报表(废弃)
  29809. tags:
  29810. - 大连千海金(PCWeb)
  29811. /QhjMgr/QueryContract:
  29812. get:
  29813. parameters:
  29814. - description: 用户ID
  29815. in: query
  29816. name: userid
  29817. type: integer
  29818. - description: 商品id
  29819. in: query
  29820. name: goodsid
  29821. type: integer
  29822. - description: 名称(模糊搜索账户)
  29823. in: query
  29824. name: filtername
  29825. type: string
  29826. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29827. in: query
  29828. name: risklevel
  29829. type: string
  29830. - description: 开始交易日(yyyymmdd)
  29831. in: query
  29832. name: begindate
  29833. type: string
  29834. - description: 结束交易日(yyyymmdd)
  29835. in: query
  29836. name: enddate
  29837. type: string
  29838. produces:
  29839. - application/json
  29840. responses:
  29841. "200":
  29842. description: OK
  29843. schema:
  29844. items:
  29845. $ref: '#/definitions/models.QhjMgrContract'
  29846. type: array
  29847. "500":
  29848. description: Internal Server Error
  29849. schema:
  29850. $ref: '#/definitions/app.Response'
  29851. security:
  29852. - ApiKeyAuth: []
  29853. summary: 查询融资信息(合同)
  29854. tags:
  29855. - 大连千海金(PCWeb)
  29856. /QhjMgr/QueryCustomerInfo:
  29857. get:
  29858. parameters:
  29859. - description: 用户ID
  29860. in: query
  29861. name: userid
  29862. required: true
  29863. type: integer
  29864. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29865. in: query
  29866. name: querytype
  29867. required: true
  29868. type: integer
  29869. - description: 客户类型 1-个人 2-企业
  29870. in: query
  29871. name: userinfotype
  29872. type: integer
  29873. - description: 客户名称(模糊匹配)
  29874. in: query
  29875. name: customername
  29876. type: string
  29877. - description: 昵称(模糊匹配)
  29878. in: query
  29879. name: nickname
  29880. type: string
  29881. - description: 所属客户经理(模糊匹配)
  29882. in: query
  29883. name: brokername
  29884. type: string
  29885. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29886. 如0503 -5月3日)
  29887. in: query
  29888. name: birthday
  29889. type: string
  29890. - description: 是否包含子级 1-包含
  29891. in: query
  29892. name: includesub
  29893. type: integer
  29894. produces:
  29895. - application/json
  29896. responses:
  29897. "200":
  29898. description: OK
  29899. schema:
  29900. items:
  29901. $ref: '#/definitions/models.QhjMgrCustomer'
  29902. type: array
  29903. "500":
  29904. description: Internal Server Error
  29905. schema:
  29906. $ref: '#/definitions/app.Response'
  29907. security:
  29908. - ApiKeyAuth: []
  29909. summary: 查询客户资料
  29910. tags:
  29911. - 大连千海金(PCWeb)
  29912. /QhjMgr/QueryPickGoods:
  29913. get:
  29914. parameters:
  29915. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29916. in: query
  29917. name: status
  29918. type: string
  29919. produces:
  29920. - application/json
  29921. responses:
  29922. "200":
  29923. description: OK
  29924. schema:
  29925. items:
  29926. $ref: '#/definitions/models.QhjMgrPickGoods'
  29927. type: array
  29928. "500":
  29929. description: Internal Server Error
  29930. schema:
  29931. $ref: '#/definitions/app.Response'
  29932. security:
  29933. - ApiKeyAuth: []
  29934. summary: 查询提货商品
  29935. tags:
  29936. - 大连千海金(PCWeb)
  29937. /QhjMgr/QuerySubArea:
  29938. get:
  29939. parameters:
  29940. - description: 用户ID
  29941. in: query
  29942. name: userid
  29943. required: true
  29944. type: integer
  29945. produces:
  29946. - application/json
  29947. responses:
  29948. "200":
  29949. description: OK
  29950. schema:
  29951. items:
  29952. $ref: '#/definitions/models.QhjMgrSubArea'
  29953. type: array
  29954. "500":
  29955. description: Internal Server Error
  29956. schema:
  29957. $ref: '#/definitions/app.Response'
  29958. security:
  29959. - ApiKeyAuth: []
  29960. summary: 查询子机构列表
  29961. tags:
  29962. - 大连千海金(PCWeb)
  29963. /QhjMgr/QueryTradeDetail:
  29964. get:
  29965. parameters:
  29966. - description: 用户ID
  29967. in: query
  29968. name: userid
  29969. required: true
  29970. type: integer
  29971. - description: 用户类型 1-个人 2-企业
  29972. in: query
  29973. name: userinfotype
  29974. type: integer
  29975. - description: 交易模式
  29976. in: query
  29977. name: trademode
  29978. type: integer
  29979. - description: 商品id
  29980. in: query
  29981. name: goodsid
  29982. type: integer
  29983. - description: 名称(模糊搜索账户)
  29984. in: query
  29985. name: filtername
  29986. type: string
  29987. - description: 开始交易日(yyyymmdd)
  29988. in: query
  29989. name: begindate
  29990. type: string
  29991. - description: 结束交易日(yyyymmdd)
  29992. in: query
  29993. name: enddate
  29994. type: string
  29995. - description: 是否包含子级 1-包含
  29996. in: query
  29997. name: includesub
  29998. type: integer
  29999. produces:
  30000. - application/json
  30001. responses:
  30002. "200":
  30003. description: OK
  30004. schema:
  30005. items:
  30006. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30007. type: array
  30008. "500":
  30009. description: Internal Server Error
  30010. schema:
  30011. $ref: '#/definitions/app.Response'
  30012. security:
  30013. - ApiKeyAuth: []
  30014. summary: 查询成交明细
  30015. tags:
  30016. - 大连千海金(PCWeb)
  30017. /QhjMgr/QueryTradeOrderDetail:
  30018. get:
  30019. parameters:
  30020. - description: 用户ID
  30021. in: query
  30022. name: userid
  30023. required: true
  30024. type: integer
  30025. - description: 用户类型 1-个人 2-企业
  30026. in: query
  30027. name: userinfotype
  30028. type: integer
  30029. - description: 交易模式
  30030. in: query
  30031. name: trademode
  30032. type: integer
  30033. - description: 商品id
  30034. in: query
  30035. name: goodsid
  30036. type: integer
  30037. - description: 名称(模糊搜索账户)
  30038. in: query
  30039. name: filtername
  30040. type: string
  30041. - description: 开始交易日(yyyymmdd)
  30042. in: query
  30043. name: begindate
  30044. type: string
  30045. - description: 结束交易日(yyyymmdd)
  30046. in: query
  30047. name: enddate
  30048. type: string
  30049. - description: 是否包含子级 1-包含
  30050. in: query
  30051. name: includesub
  30052. type: integer
  30053. produces:
  30054. - application/json
  30055. responses:
  30056. "200":
  30057. description: OK
  30058. schema:
  30059. items:
  30060. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30061. type: array
  30062. "500":
  30063. description: Internal Server Error
  30064. schema:
  30065. $ref: '#/definitions/app.Response'
  30066. security:
  30067. - ApiKeyAuth: []
  30068. summary: 查询委托明细
  30069. tags:
  30070. - 大连千海金(PCWeb)
  30071. /QhjMgr/QueryTradePayOrder:
  30072. get:
  30073. parameters:
  30074. - description: 用户ID
  30075. in: query
  30076. name: userid
  30077. required: true
  30078. type: integer
  30079. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30080. in: query
  30081. name: payflag
  30082. type: string
  30083. - description: 用户类型 1-个人 2-企业
  30084. in: query
  30085. name: userinfotype
  30086. type: integer
  30087. - description: 交易模式
  30088. in: query
  30089. name: trademode
  30090. type: integer
  30091. - description: 商品id
  30092. in: query
  30093. name: goodsid
  30094. type: integer
  30095. - description: 名称(模糊搜索账户)
  30096. in: query
  30097. name: filtername
  30098. type: string
  30099. - description: 开始交易日(yyyymmdd)
  30100. in: query
  30101. name: begindate
  30102. type: string
  30103. - description: 结束交易日(yyyymmdd)
  30104. in: query
  30105. name: enddate
  30106. type: string
  30107. - description: 是否包含子级 1-包含
  30108. in: query
  30109. name: includesub
  30110. type: integer
  30111. produces:
  30112. - application/json
  30113. responses:
  30114. "200":
  30115. description: OK
  30116. schema:
  30117. items:
  30118. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30119. type: array
  30120. "500":
  30121. description: Internal Server Error
  30122. schema:
  30123. $ref: '#/definitions/app.Response'
  30124. security:
  30125. - ApiKeyAuth: []
  30126. summary: 查询待付款单
  30127. tags:
  30128. - 大连千海金(PCWeb)
  30129. /QhjMgr/QueryTradePosition:
  30130. get:
  30131. parameters:
  30132. - description: 用户ID
  30133. in: query
  30134. name: userid
  30135. required: true
  30136. type: integer
  30137. - description: 用户类型 1-个人 2-企业
  30138. in: query
  30139. name: userinfotype
  30140. type: integer
  30141. - description: 交易模式
  30142. in: query
  30143. name: trademode
  30144. type: integer
  30145. - description: 商品id
  30146. in: query
  30147. name: goodsid
  30148. type: integer
  30149. - description: 名称(模糊搜索账户)
  30150. in: query
  30151. name: filtername
  30152. type: string
  30153. - description: 是否包含子级 1-包含
  30154. in: query
  30155. name: includesub
  30156. type: integer
  30157. produces:
  30158. - application/json
  30159. responses:
  30160. "200":
  30161. description: OK
  30162. schema:
  30163. items:
  30164. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30165. type: array
  30166. "500":
  30167. description: Internal Server Error
  30168. schema:
  30169. $ref: '#/definitions/app.Response'
  30170. security:
  30171. - ApiKeyAuth: []
  30172. summary: 查询持仓汇总
  30173. tags:
  30174. - 大连千海金(PCWeb)
  30175. /QhjSys/QueryAgreementChangeLog:
  30176. get:
  30177. parameters:
  30178. - description: 协议ID
  30179. in: query
  30180. name: agreementid
  30181. type: integer
  30182. - description: 协议版本号
  30183. in: query
  30184. name: agreementversion
  30185. type: integer
  30186. - description: 协议类型 - 1:注册 2:登录 3:交易
  30187. in: query
  30188. name: agreementtype
  30189. type: integer
  30190. - description: 协议编号(模糊匹配)
  30191. in: query
  30192. name: agreementno
  30193. type: string
  30194. - description: 协议名称(模糊匹配)
  30195. in: query
  30196. name: agreementname
  30197. type: string
  30198. produces:
  30199. - application/json
  30200. responses:
  30201. "200":
  30202. description: OK
  30203. schema:
  30204. items:
  30205. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30206. type: array
  30207. "500":
  30208. description: Internal Server Error
  30209. schema:
  30210. $ref: '#/definitions/app.Response'
  30211. security:
  30212. - ApiKeyAuth: []
  30213. summary: 查询协议配置变更流水
  30214. tags:
  30215. - 大连千海金(协议和签约信息)
  30216. /QhjSys/QueryAgreementConfig:
  30217. get:
  30218. parameters:
  30219. - description: 协议ID
  30220. in: query
  30221. name: agreementid
  30222. type: integer
  30223. - description: 协议版本号
  30224. in: query
  30225. name: agreementversion
  30226. type: integer
  30227. - description: 协议类型 - 1:注册 2:登录 3:交易
  30228. in: query
  30229. name: agreementtype
  30230. type: integer
  30231. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30232. in: query
  30233. name: isvalid
  30234. type: integer
  30235. - description: 协议编号(模糊匹配)
  30236. in: query
  30237. name: agreementno
  30238. type: string
  30239. - description: 协议名称(模糊匹配)
  30240. in: query
  30241. name: agreementname
  30242. type: string
  30243. produces:
  30244. - application/json
  30245. responses:
  30246. "200":
  30247. description: OK
  30248. schema:
  30249. items:
  30250. $ref: '#/definitions/models.QhjAgreementConfig'
  30251. type: array
  30252. "500":
  30253. description: Internal Server Error
  30254. schema:
  30255. $ref: '#/definitions/app.Response'
  30256. security:
  30257. - ApiKeyAuth: []
  30258. summary: 查询协议配置
  30259. tags:
  30260. - 大连千海金(协议和签约信息)
  30261. /QhjSys/QueryCustomerSignStatus:
  30262. get:
  30263. parameters:
  30264. - description: 客户ID
  30265. in: query
  30266. name: userid
  30267. type: integer
  30268. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30269. in: query
  30270. name: nodetype
  30271. type: integer
  30272. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30273. in: query
  30274. name: goodsid
  30275. type: integer
  30276. - description: 创建交易日(yyyyMMdd)
  30277. in: query
  30278. name: tradedate
  30279. type: string
  30280. - description: 用户名称(模糊匹配)
  30281. in: query
  30282. name: username
  30283. type: string
  30284. produces:
  30285. - application/json
  30286. responses:
  30287. "200":
  30288. description: OK
  30289. schema:
  30290. items:
  30291. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30292. type: array
  30293. "500":
  30294. description: Internal Server Error
  30295. schema:
  30296. $ref: '#/definitions/app.Response'
  30297. security:
  30298. - ApiKeyAuth: []
  30299. summary: 查询客户协议签约状态
  30300. tags:
  30301. - 大连千海金(协议和签约信息)
  30302. /QhjSys/QueryNodeAgreementConfig:
  30303. get:
  30304. parameters:
  30305. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30306. in: query
  30307. name: configid
  30308. type: integer
  30309. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30310. in: query
  30311. name: nodetype
  30312. type: integer
  30313. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30314. in: query
  30315. name: goodsid
  30316. type: integer
  30317. - description: 协议ID
  30318. in: query
  30319. name: agreementid
  30320. type: integer
  30321. - description: 协议类型 - 1:注册 2:登录 3:交易
  30322. in: query
  30323. name: agreementtype
  30324. type: integer
  30325. - description: 协议版本号
  30326. in: query
  30327. name: agreementversion
  30328. type: integer
  30329. - description: 协议编号(模糊匹配)
  30330. in: query
  30331. name: agreementno
  30332. type: string
  30333. - description: 协议名称(模糊匹配)
  30334. in: query
  30335. name: agreementname
  30336. type: string
  30337. produces:
  30338. - application/json
  30339. responses:
  30340. "200":
  30341. description: OK
  30342. schema:
  30343. items:
  30344. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30345. type: array
  30346. "500":
  30347. description: Internal Server Error
  30348. schema:
  30349. $ref: '#/definitions/app.Response'
  30350. security:
  30351. - ApiKeyAuth: []
  30352. summary: 查询协议节点配置
  30353. tags:
  30354. - 大连千海金(协议和签约信息)
  30355. /QhjSys/QueryQhjCustomerSignLog:
  30356. get:
  30357. parameters:
  30358. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30359. in: query
  30360. name: logid
  30361. type: integer
  30362. - description: 客户ID
  30363. in: query
  30364. name: userid
  30365. type: integer
  30366. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30367. in: query
  30368. name: nodetype
  30369. type: integer
  30370. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30371. in: query
  30372. name: goodsid
  30373. type: integer
  30374. - description: 协议ID
  30375. in: query
  30376. name: agreementid
  30377. type: integer
  30378. - description: 用户名称(模糊匹配)
  30379. in: query
  30380. name: username
  30381. type: string
  30382. - description: 协议编号(模糊匹配)
  30383. in: query
  30384. name: agreementno
  30385. type: string
  30386. - description: 协议名称(模糊匹配)
  30387. in: query
  30388. name: agreementname
  30389. type: string
  30390. produces:
  30391. - application/json
  30392. responses:
  30393. "200":
  30394. description: OK
  30395. schema:
  30396. items:
  30397. $ref: '#/definitions/models.QhjCustomerSignLog'
  30398. type: array
  30399. "500":
  30400. description: Internal Server Error
  30401. schema:
  30402. $ref: '#/definitions/app.Response'
  30403. security:
  30404. - ApiKeyAuth: []
  30405. summary: 查询客户协议签约流水
  30406. tags:
  30407. - 大连千海金(协议和签约信息)
  30408. /QhjSys/QueryUserNodeCfgAndStatus:
  30409. get:
  30410. parameters:
  30411. - description: 客户ID
  30412. in: query
  30413. name: userid
  30414. type: integer
  30415. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30416. in: query
  30417. name: configid
  30418. type: integer
  30419. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30420. in: query
  30421. name: nodetype
  30422. type: string
  30423. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30424. in: query
  30425. name: goodsid
  30426. type: integer
  30427. - description: 协议ID
  30428. in: query
  30429. name: agreementid
  30430. type: integer
  30431. - description: 协议类型 - 1:注册 2:登录 3:交易
  30432. in: query
  30433. name: agreementtype
  30434. type: integer
  30435. - description: 协议版本号
  30436. in: query
  30437. name: agreementversion
  30438. type: integer
  30439. - description: 协议编号(模糊匹配)
  30440. in: query
  30441. name: agreementno
  30442. type: string
  30443. - description: 协议名称(模糊匹配)
  30444. in: query
  30445. name: agreementname
  30446. type: string
  30447. produces:
  30448. - application/json
  30449. responses:
  30450. "200":
  30451. description: OK
  30452. schema:
  30453. items:
  30454. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30455. type: array
  30456. "500":
  30457. description: Internal Server Error
  30458. schema:
  30459. $ref: '#/definitions/app.Response'
  30460. security:
  30461. - ApiKeyAuth: []
  30462. summary: 查询用户协议节点配置和状态
  30463. tags:
  30464. - 大连千海金(协议和签约信息)
  30465. /Quote/QueryHistoryDatas:
  30466. get:
  30467. parameters:
  30468. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30469. 日线 12:周线 13:月线 14:年线'
  30470. in: query
  30471. name: cycleType
  30472. required: true
  30473. type: integer
  30474. - description: 商品代码
  30475. in: query
  30476. name: goodsCode
  30477. required: true
  30478. type: string
  30479. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30480. in: query
  30481. name: startTime
  30482. type: string
  30483. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30484. in: query
  30485. name: endTime
  30486. type: string
  30487. - description: 条数
  30488. in: query
  30489. name: count
  30490. type: integer
  30491. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30492. in: query
  30493. name: isAsc
  30494. type: boolean
  30495. produces:
  30496. - application/json
  30497. responses:
  30498. "200":
  30499. description: OK
  30500. schema:
  30501. $ref: '#/definitions/quote.HistoryData'
  30502. "500":
  30503. description: Internal Server Error
  30504. schema:
  30505. $ref: '#/definitions/app.Response'
  30506. security:
  30507. - ApiKeyAuth: []
  30508. summary: 查询行情历史数据
  30509. tags:
  30510. - 行情服务
  30511. /Quote/QueryHistoryTikDatas:
  30512. get:
  30513. parameters:
  30514. - description: 商品代码
  30515. in: query
  30516. name: goodsCode
  30517. required: true
  30518. type: string
  30519. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30520. in: query
  30521. name: startTime
  30522. type: string
  30523. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30524. in: query
  30525. name: endTime
  30526. type: string
  30527. - description: 条数
  30528. in: query
  30529. name: count
  30530. type: integer
  30531. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30532. in: query
  30533. name: isAsc
  30534. type: boolean
  30535. produces:
  30536. - application/json
  30537. responses:
  30538. "200":
  30539. description: OK
  30540. schema:
  30541. $ref: '#/definitions/quote.HistoryTikData'
  30542. "500":
  30543. description: Internal Server Error
  30544. schema:
  30545. $ref: '#/definitions/app.Response'
  30546. security:
  30547. - ApiKeyAuth: []
  30548. summary: 查询行情Tik数据
  30549. tags:
  30550. - 行情服务
  30551. /Quote/QueryQuoteDay:
  30552. get:
  30553. parameters:
  30554. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30555. in: query
  30556. name: goodsCodes
  30557. type: string
  30558. produces:
  30559. - application/json
  30560. responses:
  30561. "200":
  30562. description: OK
  30563. schema:
  30564. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30565. "500":
  30566. description: Internal Server Error
  30567. schema:
  30568. $ref: '#/definitions/app.Response'
  30569. security:
  30570. - ApiKeyAuth: []
  30571. summary: 获取商品盘面信息
  30572. tags:
  30573. - 行情服务
  30574. /Quote/QueryTSData:
  30575. get:
  30576. parameters:
  30577. - description: 商品代码
  30578. in: query
  30579. name: goodsCode
  30580. required: true
  30581. type: string
  30582. produces:
  30583. - application/json
  30584. responses:
  30585. "200":
  30586. description: OK
  30587. schema:
  30588. $ref: '#/definitions/quote.QueryTSDataRsp'
  30589. "500":
  30590. description: Internal Server Error
  30591. schema:
  30592. $ref: '#/definitions/app.Response'
  30593. security:
  30594. - ApiKeyAuth: []
  30595. summary: 分时图数据查询
  30596. tags:
  30597. - 行情服务
  30598. /SZDZ/QueryConvertConfig:
  30599. get:
  30600. parameters:
  30601. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30602. 6:交易转花生米(不设置)
  30603. in: query
  30604. name: convertType
  30605. type: integer
  30606. - description: 外部商品代码[JD\PD]
  30607. in: query
  30608. name: outerGoodsCode
  30609. type: string
  30610. - description: 内部商品ID列表[交易],格式:1,2,3
  30611. in: query
  30612. name: innerGoodsIDs
  30613. type: string
  30614. produces:
  30615. - application/json
  30616. responses:
  30617. "200":
  30618. description: OK
  30619. schema:
  30620. $ref: '#/definitions/models.Szdz3convertconfig'
  30621. "500":
  30622. description: Internal Server Error
  30623. schema:
  30624. $ref: '#/definitions/app.Response'
  30625. security:
  30626. - ApiKeyAuth: []
  30627. summary: 查询交易系统转换设置
  30628. tags:
  30629. - 定制【尚志大宗】
  30630. /SZDZ/QueryConvertLog:
  30631. get:
  30632. parameters:
  30633. - description: 资金账户 - 格式:1,2,3
  30634. in: query
  30635. name: accountID
  30636. required: true
  30637. type: string
  30638. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30639. in: query
  30640. name: startDate
  30641. type: string
  30642. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30643. in: query
  30644. name: endDate
  30645. type: string
  30646. produces:
  30647. - application/json
  30648. responses:
  30649. "200":
  30650. description: OK
  30651. schema:
  30652. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30653. "500":
  30654. description: Internal Server Error
  30655. schema:
  30656. $ref: '#/definitions/app.Response'
  30657. security:
  30658. - ApiKeyAuth: []
  30659. summary: 交易系统转换流水查询
  30660. tags:
  30661. - 定制【尚志大宗】
  30662. /SZDZ/QueryGoodsPickup:
  30663. get:
  30664. parameters:
  30665. - description: 资金账户 - 格式:1,2,3
  30666. in: query
  30667. name: accountID
  30668. required: true
  30669. type: string
  30670. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30671. in: query
  30672. name: takeOrderStatus
  30673. type: integer
  30674. produces:
  30675. - application/json
  30676. responses:
  30677. "200":
  30678. description: OK
  30679. schema:
  30680. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30681. "500":
  30682. description: Internal Server Error
  30683. schema:
  30684. $ref: '#/definitions/app.Response'
  30685. security:
  30686. - ApiKeyAuth: []
  30687. summary: 商品提货单查询
  30688. tags:
  30689. - 定制【尚志大宗】
  30690. /SZDZ/QueryRecieptOrder:
  30691. get:
  30692. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30693. parameters:
  30694. - description: 页码
  30695. in: query
  30696. name: page
  30697. type: integer
  30698. - description: 每页条数
  30699. in: query
  30700. name: pagesize
  30701. type: integer
  30702. - description: 商品ID
  30703. in: query
  30704. name: goodsID
  30705. required: true
  30706. type: integer
  30707. - description: 所属账户名称
  30708. in: query
  30709. name: accountName
  30710. type: string
  30711. - description: 市场ID
  30712. in: query
  30713. name: marketID
  30714. type: integer
  30715. - description: 方向 - 0:买 1:卖
  30716. in: query
  30717. name: buyorsell
  30718. required: true
  30719. type: integer
  30720. produces:
  30721. - application/json
  30722. responses:
  30723. "200":
  30724. description: OK
  30725. schema:
  30726. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30727. "500":
  30728. description: Internal Server Error
  30729. schema:
  30730. $ref: '#/definitions/app.Response'
  30731. security:
  30732. - ApiKeyAuth: []
  30733. summary: 点选挂牌委托单据查询(摘牌大厅)
  30734. tags:
  30735. - 定制【尚志大宗】
  30736. /SZDZ/QuerySZDZTradePosition:
  30737. get:
  30738. parameters:
  30739. - description: 资金账户
  30740. in: query
  30741. name: accountID
  30742. required: true
  30743. type: integer
  30744. produces:
  30745. - application/json
  30746. responses:
  30747. "200":
  30748. description: OK
  30749. schema:
  30750. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30751. "500":
  30752. description: Internal Server Error
  30753. schema:
  30754. $ref: '#/definitions/app.Response'
  30755. security:
  30756. - ApiKeyAuth: []
  30757. summary: 持仓汇总查询(尚志大宗)
  30758. tags:
  30759. - 定制【尚志大宗】
  30760. /SZDZ/SearchWhite:
  30761. get:
  30762. parameters:
  30763. - description: 用户ID
  30764. in: query
  30765. name: userID
  30766. required: true
  30767. type: integer
  30768. produces:
  30769. - application/json
  30770. responses:
  30771. "200":
  30772. description: OK
  30773. schema:
  30774. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30775. "500":
  30776. description: Internal Server Error
  30777. schema:
  30778. $ref: '#/definitions/app.Response'
  30779. security:
  30780. - ApiKeyAuth: []
  30781. summary: 搜索白名单
  30782. tags:
  30783. - 定制【尚志大宗】
  30784. /Search/SearchGoodses:
  30785. get:
  30786. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30787. parameters:
  30788. - description: 检索内容
  30789. in: query
  30790. name: content
  30791. required: true
  30792. type: string
  30793. - description: 交易模式,格式:1,2,3
  30794. in: query
  30795. name: tradeModes
  30796. type: string
  30797. produces:
  30798. - application/json
  30799. responses:
  30800. "200":
  30801. description: OK
  30802. schema:
  30803. $ref: '#/definitions/models.SearchGoods'
  30804. "500":
  30805. description: Internal Server Error
  30806. schema:
  30807. $ref: '#/definitions/app.Response'
  30808. summary: 检索商品信息
  30809. tags:
  30810. - 检索服务
  30811. /TaAccount/GetTaAccounts:
  30812. get:
  30813. parameters:
  30814. - description: 登录账户
  30815. in: query
  30816. name: loginID
  30817. required: true
  30818. type: integer
  30819. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30820. in: query
  30821. name: taAccountType
  30822. type: integer
  30823. produces:
  30824. - application/json
  30825. responses:
  30826. "200":
  30827. description: OK
  30828. schema:
  30829. $ref: '#/definitions/models.Taaccount'
  30830. "500":
  30831. description: Internal Server Error
  30832. schema:
  30833. $ref: '#/definitions/app.Response'
  30834. security:
  30835. - ApiKeyAuth: []
  30836. summary: 获取资金账户信息
  30837. tags:
  30838. - 资金账户
  30839. /TaAccount/QueryAmountLog:
  30840. get:
  30841. parameters:
  30842. - description: 页码
  30843. in: query
  30844. name: page
  30845. type: integer
  30846. - description: 每页条数
  30847. in: query
  30848. name: pagesize
  30849. type: integer
  30850. - description: 资金账户 - 格式:1,2,3
  30851. in: query
  30852. name: accountID
  30853. required: true
  30854. type: string
  30855. - description: 资金操作类型 - 格式:1,2,3
  30856. in: query
  30857. name: OperateType
  30858. type: string
  30859. produces:
  30860. - application/json
  30861. responses:
  30862. "200":
  30863. description: OK
  30864. schema:
  30865. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30866. "500":
  30867. description: Internal Server Error
  30868. schema:
  30869. $ref: '#/definitions/app.Response'
  30870. security:
  30871. - ApiKeyAuth: []
  30872. summary: 资金流水查询(当前)
  30873. tags:
  30874. - 资金账户
  30875. /TaAccount/QueryHisAmountLog:
  30876. get:
  30877. parameters:
  30878. - description: 页码
  30879. in: query
  30880. name: page
  30881. type: integer
  30882. - description: 每页条数
  30883. in: query
  30884. name: pagesize
  30885. type: integer
  30886. - description: 资金账户 - 格式:1,2,3
  30887. in: query
  30888. name: accountID
  30889. required: true
  30890. type: string
  30891. - description: 资金操作类型 - 格式:1,2,3
  30892. in: query
  30893. name: OperateType
  30894. type: string
  30895. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30896. in: query
  30897. name: startDate
  30898. type: string
  30899. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30900. in: query
  30901. name: endDate
  30902. type: string
  30903. produces:
  30904. - application/json
  30905. responses:
  30906. "200":
  30907. description: OK
  30908. schema:
  30909. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30910. "500":
  30911. description: Internal Server Error
  30912. schema:
  30913. $ref: '#/definitions/app.Response'
  30914. security:
  30915. - ApiKeyAuth: []
  30916. summary: 资金流水查询(历史)
  30917. tags:
  30918. - 资金账户
  30919. /TaAccount/QueryRelatedTaAccount:
  30920. get:
  30921. parameters:
  30922. - description: 关联UserID
  30923. in: query
  30924. name: relateduserid
  30925. required: true
  30926. type: integer
  30927. produces:
  30928. - application/json
  30929. responses:
  30930. "200":
  30931. description: OK
  30932. schema:
  30933. items:
  30934. $ref: '#/definitions/models.RelatedTaAccount'
  30935. type: array
  30936. "500":
  30937. description: Internal Server Error
  30938. schema:
  30939. $ref: '#/definitions/app.Response'
  30940. security:
  30941. - ApiKeyAuth: []
  30942. summary: 查询关联资金账户信息
  30943. tags:
  30944. - 资金账户
  30945. /Tjmd/QueryQuoteGoodsList:
  30946. get:
  30947. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30948. parameters:
  30949. - description: 用户类型
  30950. in: query
  30951. name: usertype
  30952. required: true
  30953. type: integer
  30954. - description: 市场id, 格式 1,2,3
  30955. in: query
  30956. name: marketids
  30957. type: string
  30958. - description: 商品组id
  30959. in: query
  30960. name: goodsgroupid
  30961. type: integer
  30962. - description: 商品id
  30963. in: query
  30964. name: goodsid
  30965. type: integer
  30966. produces:
  30967. - application/json
  30968. responses:
  30969. "200":
  30970. description: OK
  30971. schema:
  30972. items:
  30973. $ref: '#/definitions/models.TjmdQuoteGoods'
  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. - 天津麦顿
  30984. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30985. get:
  30986. parameters:
  30987. - description: 成交单号
  30988. in: query
  30989. name: tradeid
  30990. required: true
  30991. type: string
  30992. produces:
  30993. - application/json
  30994. responses:
  30995. "200":
  30996. description: OK
  30997. schema:
  30998. items:
  30999. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31000. type: array
  31001. "500":
  31002. description: Internal Server Error
  31003. schema:
  31004. $ref: '#/definitions/app.Response'
  31005. security:
  31006. - ApiKeyAuth: []
  31007. summary: 掉期商品订单详情(交易确认书)
  31008. tags:
  31009. - 天津麦顿
  31010. /Tjmd/QueryTjmdMarketSection:
  31011. get:
  31012. produces:
  31013. - application/json
  31014. responses:
  31015. "200":
  31016. description: OK
  31017. schema:
  31018. items:
  31019. $ref: '#/definitions/models.TjmdMarketSection'
  31020. type: array
  31021. "500":
  31022. description: Internal Server Error
  31023. schema:
  31024. $ref: '#/definitions/app.Response'
  31025. security:
  31026. - ApiKeyAuth: []
  31027. summary: 查询市场板块
  31028. tags:
  31029. - 天津麦顿
  31030. /Tjmd/QueryTjmdTodayAccountMargin:
  31031. get:
  31032. parameters:
  31033. - description: 市场id
  31034. in: query
  31035. name: marketid
  31036. type: string
  31037. - description: 商品id
  31038. in: query
  31039. name: goodsid
  31040. type: string
  31041. - description: 资金账号
  31042. in: query
  31043. name: accountid
  31044. type: string
  31045. produces:
  31046. - application/json
  31047. responses:
  31048. "200":
  31049. description: OK
  31050. schema:
  31051. items:
  31052. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31053. type: array
  31054. "500":
  31055. description: Internal Server Error
  31056. schema:
  31057. $ref: '#/definitions/app.Response'
  31058. security:
  31059. - ApiKeyAuth: []
  31060. summary: 查询今日账户保证金配置
  31061. tags:
  31062. - 天津麦顿
  31063. /Tjmd/QueryTjmdTradeOrderDetail:
  31064. get:
  31065. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31066. parameters:
  31067. - description: 页码
  31068. in: query
  31069. name: page
  31070. type: integer
  31071. - description: 每页条数
  31072. in: query
  31073. name: pagesize
  31074. type: integer
  31075. - description: 用户id
  31076. in: query
  31077. name: userid
  31078. required: true
  31079. type: integer
  31080. - description: 用户类型
  31081. in: query
  31082. name: usertype
  31083. required: true
  31084. type: integer
  31085. - description: 市场id, 格式 1,2,3
  31086. in: query
  31087. name: marketids
  31088. type: string
  31089. - description: 商品id
  31090. in: query
  31091. name: goodsid
  31092. required: true
  31093. type: integer
  31094. - description: 买卖方向 0-买 1-卖
  31095. in: query
  31096. name: buyorsell
  31097. required: true
  31098. type: integer
  31099. produces:
  31100. - application/json
  31101. responses:
  31102. "200":
  31103. description: OK
  31104. schema:
  31105. items:
  31106. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31107. type: array
  31108. "500":
  31109. description: Internal Server Error
  31110. schema:
  31111. $ref: '#/definitions/app.Response'
  31112. security:
  31113. - ApiKeyAuth: []
  31114. summary: 查询掉期买卖大厅
  31115. tags:
  31116. - 天津麦顿
  31117. /Tjmd/QueryTjmdTransferApply:
  31118. get:
  31119. parameters:
  31120. - description: 类型 1-我的申请 2-对方申请
  31121. in: query
  31122. name: applytype
  31123. required: true
  31124. type: integer
  31125. - description: 市场id, 格式 1,2,3
  31126. in: query
  31127. name: marketids
  31128. type: string
  31129. - description: 资金账号, 格式 25000000001,25000000003
  31130. in: query
  31131. name: accountids
  31132. type: string
  31133. - description: 开始交易日(yyyymmdd)
  31134. in: query
  31135. name: begindate
  31136. type: string
  31137. - description: 结束交易日(yyyymmdd)
  31138. in: query
  31139. name: enddate
  31140. type: string
  31141. produces:
  31142. - application/json
  31143. responses:
  31144. "200":
  31145. description: OK
  31146. schema:
  31147. items:
  31148. $ref: '#/definitions/models.TjmdTransferApply'
  31149. type: array
  31150. "500":
  31151. description: Internal Server Error
  31152. schema:
  31153. $ref: '#/definitions/app.Response'
  31154. security:
  31155. - ApiKeyAuth: []
  31156. summary: 查询掉期协议单
  31157. tags:
  31158. - 天津麦顿
  31159. /Trade/QueryRecieptOrder:
  31160. get:
  31161. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31162. parameters:
  31163. - description: 页码
  31164. in: query
  31165. name: page
  31166. type: integer
  31167. - description: 每页条数
  31168. in: query
  31169. name: pagesize
  31170. type: integer
  31171. - description: 商品ID
  31172. in: query
  31173. name: goodsID
  31174. required: true
  31175. type: integer
  31176. - description: 所属账户名称
  31177. in: query
  31178. name: accountName
  31179. type: string
  31180. - description: 市场ID
  31181. in: query
  31182. name: marketID
  31183. type: integer
  31184. - description: 方向 - 0:买 1:卖
  31185. in: query
  31186. name: buyorsell
  31187. required: true
  31188. type: integer
  31189. produces:
  31190. - application/json
  31191. responses:
  31192. "200":
  31193. description: OK
  31194. schema:
  31195. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31196. "500":
  31197. description: Internal Server Error
  31198. schema:
  31199. $ref: '#/definitions/app.Response'
  31200. security:
  31201. - ApiKeyAuth: []
  31202. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31203. tags:
  31204. - 通用交易
  31205. /User/AddMessageBoard:
  31206. post:
  31207. parameters:
  31208. - description: 用户ID
  31209. in: query
  31210. name: userID
  31211. required: true
  31212. type: integer
  31213. - description: 留言信息
  31214. in: query
  31215. name: message
  31216. required: true
  31217. type: string
  31218. - description: 联系电话
  31219. in: query
  31220. name: contactNum
  31221. required: true
  31222. type: string
  31223. produces:
  31224. - application/json
  31225. responses:
  31226. "200":
  31227. description: OK
  31228. schema:
  31229. $ref: '#/definitions/app.Response'
  31230. "500":
  31231. description: Internal Server Error
  31232. schema:
  31233. $ref: '#/definitions/app.Response'
  31234. security:
  31235. - ApiKeyAuth: []
  31236. summary: 添加用户留言板信息
  31237. tags:
  31238. - 用户信息
  31239. /User/AddUserFavoriteGoods:
  31240. post:
  31241. parameters:
  31242. - description: 用户ID
  31243. in: query
  31244. name: userID
  31245. required: true
  31246. type: integer
  31247. - description: 商品ID
  31248. in: query
  31249. name: goodsID
  31250. required: true
  31251. type: integer
  31252. produces:
  31253. - application/json
  31254. responses:
  31255. "200":
  31256. description: OK
  31257. schema:
  31258. $ref: '#/definitions/app.Response'
  31259. "500":
  31260. description: Internal Server Error
  31261. schema:
  31262. $ref: '#/definitions/app.Response'
  31263. security:
  31264. - ApiKeyAuth: []
  31265. summary: 添加用户商品收藏信息
  31266. tags:
  31267. - 用户信息
  31268. /User/GetLoginID:
  31269. get:
  31270. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31271. parameters:
  31272. - description: 登录代码
  31273. in: query
  31274. name: username
  31275. required: true
  31276. type: string
  31277. produces:
  31278. - application/json
  31279. responses:
  31280. "200":
  31281. description: OK
  31282. schema:
  31283. $ref: '#/definitions/app.Response'
  31284. "500":
  31285. description: Internal Server Error
  31286. schema:
  31287. $ref: '#/definitions/app.Response'
  31288. summary: 获取登录ID
  31289. tags:
  31290. - 用户信息
  31291. /User/GetUserAccount:
  31292. get:
  31293. parameters:
  31294. - description: 用户ID
  31295. in: query
  31296. name: userID
  31297. required: true
  31298. type: integer
  31299. produces:
  31300. - application/json
  31301. responses:
  31302. "200":
  31303. description: OK
  31304. schema:
  31305. $ref: '#/definitions/models.Useraccount'
  31306. "500":
  31307. description: Internal Server Error
  31308. schema:
  31309. $ref: '#/definitions/app.Response'
  31310. security:
  31311. - ApiKeyAuth: []
  31312. summary: 获取用户账号信息
  31313. tags:
  31314. - 用户信息
  31315. /User/GetUserAuthStatus:
  31316. get:
  31317. parameters:
  31318. - description: 用户ID
  31319. in: query
  31320. name: userID
  31321. required: true
  31322. type: integer
  31323. produces:
  31324. - application/json
  31325. responses:
  31326. "200":
  31327. description: OK
  31328. schema:
  31329. $ref: '#/definitions/app.Response'
  31330. "500":
  31331. description: Internal Server Error
  31332. schema:
  31333. $ref: '#/definitions/app.Response'
  31334. security:
  31335. - ApiKeyAuth: []
  31336. summary: 获取用户实名认证状态
  31337. tags:
  31338. - 用户信息
  31339. /User/LoginQuery:
  31340. get:
  31341. parameters:
  31342. - description: 登录账号
  31343. in: query
  31344. name: loginID
  31345. required: true
  31346. type: integer
  31347. produces:
  31348. - application/json
  31349. responses:
  31350. "200":
  31351. description: OK
  31352. schema:
  31353. $ref: '#/definitions/user.LoginQueryRsp'
  31354. "500":
  31355. description: Internal Server Error
  31356. schema:
  31357. $ref: '#/definitions/app.Response'
  31358. security:
  31359. - ApiKeyAuth: []
  31360. summary: 账户登录后信息查询
  31361. tags:
  31362. - 用户信息
  31363. /User/QueryMessageBoard:
  31364. get:
  31365. parameters:
  31366. - description: 用户ID
  31367. in: query
  31368. name: userID
  31369. required: true
  31370. type: integer
  31371. produces:
  31372. - application/json
  31373. responses:
  31374. "200":
  31375. description: OK
  31376. schema:
  31377. $ref: '#/definitions/models.Messageboard'
  31378. "500":
  31379. description: Internal Server Error
  31380. schema:
  31381. $ref: '#/definitions/app.Response'
  31382. security:
  31383. - ApiKeyAuth: []
  31384. summary: 获取用户留言板信息
  31385. tags:
  31386. - 用户信息
  31387. /User/QueryUserFavoriteGoodses:
  31388. get:
  31389. parameters:
  31390. - description: 用户ID
  31391. in: query
  31392. name: userID
  31393. required: true
  31394. type: integer
  31395. produces:
  31396. - application/json
  31397. responses:
  31398. "200":
  31399. description: OK
  31400. schema:
  31401. $ref: '#/definitions/models.Userfavoritegoods'
  31402. "500":
  31403. description: Internal Server Error
  31404. schema:
  31405. $ref: '#/definitions/app.Response'
  31406. security:
  31407. - ApiKeyAuth: []
  31408. summary: 获取用户商品收藏信息
  31409. tags:
  31410. - 用户信息
  31411. /User/QueryUserInfo:
  31412. get:
  31413. parameters:
  31414. - description: 用户ID
  31415. in: query
  31416. name: userID
  31417. required: true
  31418. type: integer
  31419. - description: 是否解密
  31420. in: query
  31421. name: isDecrypt
  31422. type: boolean
  31423. produces:
  31424. - application/json
  31425. responses:
  31426. "200":
  31427. description: OK
  31428. schema:
  31429. $ref: '#/definitions/models.Userinfo'
  31430. "500":
  31431. description: Internal Server Error
  31432. schema:
  31433. $ref: '#/definitions/app.Response'
  31434. security:
  31435. - ApiKeyAuth: []
  31436. summary: 获取用户信息
  31437. tags:
  31438. - 用户信息
  31439. /User/QueryUserReferNum:
  31440. get:
  31441. parameters:
  31442. - description: 用户ID
  31443. in: query
  31444. name: userID
  31445. required: true
  31446. type: integer
  31447. produces:
  31448. - application/json
  31449. responses:
  31450. "200":
  31451. description: OK
  31452. schema:
  31453. $ref: '#/definitions/app.Response'
  31454. "500":
  31455. description: Internal Server Error
  31456. schema:
  31457. $ref: '#/definitions/app.Response'
  31458. summary: 获取用户邀请码
  31459. tags:
  31460. - 用户信息
  31461. /User/RemoveUserFavoriteGoods:
  31462. post:
  31463. parameters:
  31464. - description: 用户ID
  31465. in: query
  31466. name: userID
  31467. required: true
  31468. type: integer
  31469. - description: 商品ID
  31470. in: query
  31471. name: goodsID
  31472. required: true
  31473. type: integer
  31474. produces:
  31475. - application/json
  31476. responses:
  31477. "200":
  31478. description: OK
  31479. schema:
  31480. $ref: '#/definitions/app.Response'
  31481. "500":
  31482. description: Internal Server Error
  31483. schema:
  31484. $ref: '#/definitions/app.Response'
  31485. security:
  31486. - ApiKeyAuth: []
  31487. summary: 移除用户商品收藏信息
  31488. tags:
  31489. - 用户信息
  31490. /User/UpdateUserAccountStatus:
  31491. post:
  31492. parameters:
  31493. - description: 用户ID
  31494. in: query
  31495. name: userID
  31496. required: true
  31497. type: integer
  31498. - description: 账户状态 - 4:正常 6:注销(停用)
  31499. in: query
  31500. name: accountStatus
  31501. required: true
  31502. type: integer
  31503. produces:
  31504. - application/json
  31505. responses:
  31506. "200":
  31507. description: OK
  31508. schema:
  31509. $ref: '#/definitions/app.Response'
  31510. "500":
  31511. description: Internal Server Error
  31512. schema:
  31513. $ref: '#/definitions/app.Response'
  31514. security:
  31515. - ApiKeyAuth: []
  31516. summary: 更新用户状态
  31517. tags:
  31518. - 用户信息
  31519. /WRTrade/GetAllDeliveryGoods:
  31520. get:
  31521. produces:
  31522. - application/json
  31523. responses:
  31524. "200":
  31525. description: OK
  31526. schema:
  31527. $ref: '#/definitions/app.Response'
  31528. "500":
  31529. description: Internal Server Error
  31530. schema:
  31531. $ref: '#/definitions/app.Response'
  31532. security:
  31533. - ApiKeyAuth: []
  31534. summary: 获取带仓单分类的种类信息
  31535. tags:
  31536. - 仓单贸易
  31537. - 仓单贸易
  31538. /WrTrade2/InsertXhcpSellBackApply:
  31539. post:
  31540. parameters:
  31541. - description: 回收申请
  31542. in: body
  31543. name: jsonBody
  31544. required: true
  31545. schema:
  31546. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31547. produces:
  31548. - application/json
  31549. responses:
  31550. "200":
  31551. description: OK
  31552. schema:
  31553. $ref: '#/definitions/app.Response'
  31554. "500":
  31555. description: Internal Server Error
  31556. schema:
  31557. $ref: '#/definitions/app.Response'
  31558. security:
  31559. - ApiKeyAuth: []
  31560. summary: 新增回收申请(新会陈皮)
  31561. tags:
  31562. - 仓单贸易v2
  31563. /WrTrade2/QueryDeliveryGoodsSection:
  31564. get:
  31565. produces:
  31566. - application/json
  31567. responses:
  31568. "200":
  31569. description: OK
  31570. schema:
  31571. items:
  31572. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  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/QueryFaProductDetail:
  31584. get:
  31585. description: 页面 买卖大厅 -> 选择融资方案
  31586. parameters:
  31587. - description: 仓单要素id
  31588. in: query
  31589. name: wrfactortypeid
  31590. required: true
  31591. type: integer
  31592. produces:
  31593. - application/json
  31594. responses:
  31595. "200":
  31596. description: OK
  31597. schema:
  31598. items:
  31599. $ref: '#/definitions/models.WrFAProductDetail'
  31600. type: array
  31601. "500":
  31602. description: Internal Server Error
  31603. schema:
  31604. $ref: '#/definitions/app.Response'
  31605. security:
  31606. - ApiKeyAuth: []
  31607. summary: 查询融资产品列表
  31608. tags:
  31609. - 仓单贸易v2
  31610. /WrTrade2/QueryFilterItem:
  31611. get:
  31612. parameters:
  31613. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31614. in: query
  31615. name: itype
  31616. required: true
  31617. type: string
  31618. produces:
  31619. - application/json
  31620. responses:
  31621. "200":
  31622. description: OK
  31623. schema:
  31624. items:
  31625. $ref: '#/definitions/models.WrFilterItem'
  31626. type: array
  31627. "500":
  31628. description: Internal Server Error
  31629. schema:
  31630. $ref: '#/definitions/app.Response'
  31631. security:
  31632. - ApiKeyAuth: []
  31633. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31634. tags:
  31635. - 仓单贸易v2
  31636. /WrTrade2/QueryFtDeliveryGoods:
  31637. get:
  31638. produces:
  31639. - application/json
  31640. responses:
  31641. "200":
  31642. description: OK
  31643. schema:
  31644. items:
  31645. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31646. type: array
  31647. "500":
  31648. description: Internal Server Error
  31649. schema:
  31650. $ref: '#/definitions/app.Response'
  31651. security:
  31652. - ApiKeyAuth: []
  31653. summary: 查询品种品类筛选框列表
  31654. tags:
  31655. - 仓单贸易v2
  31656. /WrTrade2/QueryHoldLB:
  31657. get:
  31658. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31659. parameters:
  31660. - description: 资金账号
  31661. in: query
  31662. name: accountid
  31663. required: true
  31664. type: integer
  31665. - description: 仓库id
  31666. in: query
  31667. name: warehouseid
  31668. type: integer
  31669. - description: 品种id
  31670. in: query
  31671. name: deliverygoodsid
  31672. type: integer
  31673. - description: 品类id
  31674. in: query
  31675. name: wrstandardid
  31676. type: integer
  31677. - description: 仓单要素id
  31678. in: query
  31679. name: wrfactortypeid
  31680. type: integer
  31681. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31682. in: query
  31683. name: dgitemname
  31684. type: string
  31685. produces:
  31686. - application/json
  31687. responses:
  31688. "200":
  31689. description: OK
  31690. schema:
  31691. items:
  31692. $ref: '#/definitions/models.WrHoldLB'
  31693. type: array
  31694. "500":
  31695. description: Internal Server Error
  31696. schema:
  31697. $ref: '#/definitions/app.Response'
  31698. security:
  31699. - ApiKeyAuth: []
  31700. summary: 查询仓单持有记录
  31701. tags:
  31702. - 仓单贸易v2
  31703. /WrTrade2/QueryOrderQuote:
  31704. get:
  31705. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31706. 唯一确定1条记录
  31707. parameters:
  31708. - description: 页码
  31709. in: query
  31710. name: page
  31711. type: integer
  31712. - description: 每页条数
  31713. in: query
  31714. name: pagesize
  31715. type: integer
  31716. - description: 仓单贸易市场id
  31717. in: query
  31718. name: marketid
  31719. type: integer
  31720. - description: 价格方式 - 1:固定价 2-浮动价
  31721. in: query
  31722. name: wrpricetype
  31723. required: true
  31724. type: integer
  31725. - description: 0:仓单预售 1:仓单贸易
  31726. in: query
  31727. name: haswr
  31728. type: integer
  31729. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31730. in: query
  31731. name: dgitemname
  31732. type: string
  31733. - description: 仓库id(筛选条件)
  31734. in: query
  31735. name: warehouseid
  31736. type: integer
  31737. - description: 品种id
  31738. in: query
  31739. name: deliverygoodsid
  31740. type: integer
  31741. - description: 品类id
  31742. in: query
  31743. name: wrstandardid
  31744. type: integer
  31745. - description: 品牌id(dgfactoryitemid)
  31746. in: query
  31747. name: brandid
  31748. type: integer
  31749. - description: 年份id(dgfactoryitemid)
  31750. in: query
  31751. name: yearsid
  31752. type: integer
  31753. - description: 仓单要素id
  31754. in: query
  31755. name: wrfactortypeid
  31756. type: integer
  31757. - description: 交收月(yyyy-mm) 仓单预售填写
  31758. in: query
  31759. name: deliverymonth
  31760. type: string
  31761. produces:
  31762. - application/json
  31763. responses:
  31764. "200":
  31765. description: OK
  31766. schema:
  31767. items:
  31768. $ref: '#/definitions/models.WrOrderQuote'
  31769. type: array
  31770. "500":
  31771. description: Internal Server Error
  31772. schema:
  31773. $ref: '#/definitions/app.Response'
  31774. security:
  31775. - ApiKeyAuth: []
  31776. summary: 查询大厅行情列表
  31777. tags:
  31778. - 仓单贸易v2
  31779. /WrTrade2/QueryOrderQuoteDetail:
  31780. get:
  31781. parameters:
  31782. - description: 页码
  31783. in: query
  31784. name: page
  31785. type: integer
  31786. - description: 每页条数
  31787. in: query
  31788. name: pagesize
  31789. type: integer
  31790. - description: 仓单贸易市场id
  31791. in: query
  31792. name: marketid
  31793. type: integer
  31794. - description: 价格方式 - 1:固定价 2-浮动价
  31795. in: query
  31796. name: wrpricetype
  31797. required: true
  31798. type: integer
  31799. - description: 0:仓单预售 1:仓单贸易
  31800. in: query
  31801. name: haswr
  31802. type: integer
  31803. - description: 仓单要素id
  31804. in: query
  31805. name: wrfactortypeid
  31806. required: true
  31807. type: integer
  31808. - description: 期货商品id(浮动价方式时填)
  31809. in: query
  31810. name: goodsid
  31811. type: integer
  31812. - description: 买卖方向 0-买 1-卖
  31813. in: query
  31814. name: buyorsell
  31815. required: true
  31816. type: integer
  31817. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31818. in: query
  31819. name: deliverymonth
  31820. type: string
  31821. produces:
  31822. - application/json
  31823. responses:
  31824. "200":
  31825. description: OK
  31826. schema:
  31827. items:
  31828. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31829. type: array
  31830. "500":
  31831. description: Internal Server Error
  31832. schema:
  31833. $ref: '#/definitions/app.Response'
  31834. security:
  31835. - ApiKeyAuth: []
  31836. summary: 查询买卖大厅
  31837. tags:
  31838. - 仓单贸易v2
  31839. /WrTrade2/QueryOrderQuoteMyq:
  31840. get:
  31841. parameters:
  31842. - description: 页码
  31843. in: query
  31844. name: page
  31845. type: integer
  31846. - description: 每页条数
  31847. in: query
  31848. name: pagesize
  31849. type: integer
  31850. - description: 用户id
  31851. in: query
  31852. name: userid
  31853. required: true
  31854. type: integer
  31855. - description: 仓单贸易市场id
  31856. in: query
  31857. name: marketid
  31858. type: integer
  31859. - description: 0:仓单预售 1:仓单贸易
  31860. in: query
  31861. name: haswr
  31862. type: integer
  31863. - description: 买卖方向 0-买 1-卖
  31864. in: query
  31865. name: buyorsell
  31866. required: true
  31867. type: integer
  31868. - description: 品种id
  31869. in: query
  31870. name: deliverygoodsid
  31871. type: integer
  31872. - description: 品类id
  31873. in: query
  31874. name: wrstandardid
  31875. type: integer
  31876. - description: 交收月(yyyy-mm) 仓单预售填写
  31877. in: query
  31878. name: deliverymonth
  31879. type: string
  31880. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31881. in: query
  31882. name: dgitemname
  31883. type: string
  31884. produces:
  31885. - application/json
  31886. responses:
  31887. "200":
  31888. description: OK
  31889. schema:
  31890. items:
  31891. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31892. type: array
  31893. "500":
  31894. description: Internal Server Error
  31895. schema:
  31896. $ref: '#/definitions/app.Response'
  31897. security:
  31898. - ApiKeyAuth: []
  31899. summary: 查询贸易圈挂牌大厅
  31900. tags:
  31901. - 仓单贸易v2
  31902. /WrTrade2/QueryPerformancePlan:
  31903. get:
  31904. parameters:
  31905. - description: 用户id
  31906. in: query
  31907. name: userid
  31908. required: true
  31909. type: integer
  31910. - description: 买卖方向 0-买 1-卖
  31911. in: query
  31912. name: buyorsell
  31913. required: true
  31914. type: integer
  31915. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31916. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31917. in: query
  31918. name: status
  31919. type: string
  31920. - description: 开始交易日(yyyymmdd)
  31921. in: query
  31922. name: begindate
  31923. type: string
  31924. - description: 结束交易日(yyyymmdd)
  31925. in: query
  31926. name: enddate
  31927. type: string
  31928. produces:
  31929. - application/json
  31930. responses:
  31931. "200":
  31932. description: OK
  31933. schema:
  31934. items:
  31935. $ref: '#/definitions/models.WrPerformancePlan'
  31936. type: array
  31937. "500":
  31938. description: Internal Server Error
  31939. schema:
  31940. $ref: '#/definitions/app.Response'
  31941. security:
  31942. - ApiKeyAuth: []
  31943. summary: 查询履约信息
  31944. tags:
  31945. - 仓单贸易v2
  31946. /WrTrade2/QueryPermancePlanTmp:
  31947. get:
  31948. description: |-
  31949. 返回指定用户的模板和公共模板(用户id为空)
  31950. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31951. parameters:
  31952. - description: 用户id
  31953. in: query
  31954. name: userid
  31955. type: integer
  31956. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31957. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31958. in: query
  31959. name: tmptype
  31960. type: string
  31961. - description: 是否包含公共模板(用户id为空的) 1-包含
  31962. in: query
  31963. name: includepub
  31964. type: integer
  31965. - description: 市场id(天津麦顿指定此参数,其它不用)
  31966. in: query
  31967. name: marketid
  31968. type: integer
  31969. produces:
  31970. - application/json
  31971. responses:
  31972. "200":
  31973. description: OK
  31974. schema:
  31975. items:
  31976. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31977. type: array
  31978. "500":
  31979. description: Internal Server Error
  31980. schema:
  31981. $ref: '#/definitions/app.Response'
  31982. security:
  31983. - ApiKeyAuth: []
  31984. summary: 查询履约模板
  31985. tags:
  31986. - 仓单贸易v2
  31987. /WrTrade2/QuerySiteColumnDetail:
  31988. get:
  31989. parameters:
  31990. - description: 页码
  31991. in: query
  31992. name: page
  31993. type: integer
  31994. - description: 每页条数
  31995. in: query
  31996. name: pagesize
  31997. type: integer
  31998. - description: 所属栏目id
  31999. in: query
  32000. name: columnid
  32001. type: integer
  32002. produces:
  32003. - application/json
  32004. responses:
  32005. "200":
  32006. description: OK
  32007. schema:
  32008. items:
  32009. $ref: '#/definitions/models.WrSiteColumnDetail'
  32010. type: array
  32011. "500":
  32012. description: Internal Server Error
  32013. schema:
  32014. $ref: '#/definitions/app.Response'
  32015. security:
  32016. - ApiKeyAuth: []
  32017. summary: 查询资讯
  32018. tags:
  32019. - 仓单贸易v2
  32020. /WrTrade2/QuerySpotGroupTradeSum:
  32021. get:
  32022. produces:
  32023. - application/json
  32024. responses:
  32025. "200":
  32026. description: OK
  32027. schema:
  32028. items:
  32029. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32030. type: array
  32031. "500":
  32032. description: Internal Server Error
  32033. schema:
  32034. $ref: '#/definitions/app.Response'
  32035. security:
  32036. - ApiKeyAuth: []
  32037. summary: 查询指数
  32038. tags:
  32039. - 仓单贸易v2
  32040. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32041. get:
  32042. description: 查询的结果将会按日期 从小到大 排序
  32043. parameters:
  32044. - description: 现货商品id
  32045. in: query
  32046. name: deliverygoodsid
  32047. required: true
  32048. type: integer
  32049. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32050. in: query
  32051. name: lastnum
  32052. type: integer
  32053. produces:
  32054. - application/json
  32055. responses:
  32056. "200":
  32057. description: OK
  32058. schema:
  32059. items:
  32060. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32061. type: array
  32062. "500":
  32063. description: Internal Server Error
  32064. schema:
  32065. $ref: '#/definitions/app.Response'
  32066. security:
  32067. - ApiKeyAuth: []
  32068. summary: 查询指数详细(价格走势图)
  32069. tags:
  32070. - 仓单贸易v2
  32071. /WrTrade2/QueryWrAverageTradePrice:
  32072. get:
  32073. parameters:
  32074. - description: 页码
  32075. in: query
  32076. name: page
  32077. type: integer
  32078. - description: 每页条数
  32079. in: query
  32080. name: pagesize
  32081. type: integer
  32082. - description: 0:仓单预售 1:仓单贸易
  32083. in: query
  32084. name: haswr
  32085. required: true
  32086. type: integer
  32087. - description: 仓单要素id
  32088. in: query
  32089. name: wrfactortypeid
  32090. required: true
  32091. type: integer
  32092. produces:
  32093. - application/json
  32094. responses:
  32095. "200":
  32096. description: OK
  32097. schema:
  32098. items:
  32099. $ref: '#/definitions/models.WrAverageTradePrice'
  32100. type: array
  32101. "500":
  32102. description: Internal Server Error
  32103. schema:
  32104. $ref: '#/definitions/app.Response'
  32105. security:
  32106. - ApiKeyAuth: []
  32107. summary: 查询成交价(历史走势)
  32108. tags:
  32109. - 仓单贸易v2
  32110. /WrTrade2/QueryWrBrandAndYears:
  32111. get:
  32112. produces:
  32113. - application/json
  32114. responses:
  32115. "200":
  32116. description: OK
  32117. schema:
  32118. items:
  32119. $ref: '#/definitions/models.WrBrandAndYears'
  32120. type: array
  32121. "500":
  32122. description: Internal Server Error
  32123. schema:
  32124. $ref: '#/definitions/app.Response'
  32125. security:
  32126. - ApiKeyAuth: []
  32127. summary: 查询品牌和年份
  32128. tags:
  32129. - 仓单贸易v2
  32130. /WrTrade2/QueryWrBsGoodsInfo:
  32131. get:
  32132. description: 合约交易/买卖大厅/详情
  32133. parameters:
  32134. - description: 商品id
  32135. in: query
  32136. name: goodsid
  32137. required: true
  32138. type: integer
  32139. produces:
  32140. - application/json
  32141. responses:
  32142. "200":
  32143. description: OK
  32144. schema:
  32145. items:
  32146. $ref: '#/definitions/models.WrBsGoodsInfo'
  32147. type: array
  32148. "500":
  32149. description: Internal Server Error
  32150. schema:
  32151. $ref: '#/definitions/app.Response'
  32152. security:
  32153. - ApiKeyAuth: []
  32154. summary: 查询合约交易买卖大厅详情
  32155. tags:
  32156. - 仓单贸易v2
  32157. /WrTrade2/QueryWrBuybackDetail:
  32158. get:
  32159. parameters:
  32160. - description: 融资合同id
  32161. in: query
  32162. name: scfcontractid
  32163. type: integer
  32164. produces:
  32165. - application/json
  32166. responses:
  32167. "200":
  32168. description: OK
  32169. schema:
  32170. items:
  32171. $ref: '#/definitions/models.WrBuybackDetail'
  32172. type: array
  32173. "500":
  32174. description: Internal Server Error
  32175. schema:
  32176. $ref: '#/definitions/app.Response'
  32177. security:
  32178. - ApiKeyAuth: []
  32179. summary: 查询仓单回购明细
  32180. tags:
  32181. - 仓单贸易v2
  32182. /WrTrade2/QueryWrClientAdSpaceConfig:
  32183. get:
  32184. produces:
  32185. - application/json
  32186. responses:
  32187. "200":
  32188. description: OK
  32189. schema:
  32190. items:
  32191. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32192. type: array
  32193. "500":
  32194. description: Internal Server Error
  32195. schema:
  32196. $ref: '#/definitions/app.Response'
  32197. security:
  32198. - ApiKeyAuth: []
  32199. summary: 查询固定广告配置
  32200. tags:
  32201. - 仓单贸易v2
  32202. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32203. get:
  32204. parameters:
  32205. - description: 资金账号
  32206. in: query
  32207. name: accountid
  32208. required: true
  32209. type: integer
  32210. - description: 商品id
  32211. in: query
  32212. name: goodsid
  32213. required: true
  32214. type: integer
  32215. produces:
  32216. - application/json
  32217. responses:
  32218. "200":
  32219. description: OK
  32220. schema:
  32221. items:
  32222. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32223. type: array
  32224. "500":
  32225. description: Internal Server Error
  32226. schema:
  32227. $ref: '#/definitions/app.Response'
  32228. security:
  32229. - ApiKeyAuth: []
  32230. summary: 查询合约交收可点选仓单
  32231. tags:
  32232. - 仓单贸易v2
  32233. /WrTrade2/QueryWrDeliveryDetail:
  32234. get:
  32235. parameters:
  32236. - description: 用户id
  32237. in: query
  32238. name: userid
  32239. required: true
  32240. type: integer
  32241. - description: 资金账号id
  32242. in: query
  32243. name: accountid
  32244. type: integer
  32245. - description: 开始交易日(yyyymmdd)
  32246. in: query
  32247. name: begindate
  32248. type: string
  32249. - description: 结束交易日(yyyymmdd)
  32250. in: query
  32251. name: enddate
  32252. type: string
  32253. produces:
  32254. - application/json
  32255. responses:
  32256. "200":
  32257. description: OK
  32258. schema:
  32259. items:
  32260. $ref: '#/definitions/models.WrDeliveryDetail'
  32261. type: array
  32262. "500":
  32263. description: Internal Server Error
  32264. schema:
  32265. $ref: '#/definitions/app.Response'
  32266. security:
  32267. - ApiKeyAuth: []
  32268. summary: 查询交收
  32269. tags:
  32270. - 仓单贸易v2
  32271. /WrTrade2/QueryWrDraftUserInfo:
  32272. get:
  32273. parameters:
  32274. - description: 用户ID
  32275. in: query
  32276. name: userid
  32277. required: true
  32278. type: integer
  32279. - description: 用户状态 1:正常 2:注销
  32280. in: query
  32281. name: userstatus
  32282. type: integer
  32283. produces:
  32284. - application/json
  32285. responses:
  32286. "200":
  32287. description: OK
  32288. schema:
  32289. items:
  32290. $ref: '#/definitions/models.WrDraftUserInfo'
  32291. type: array
  32292. "500":
  32293. description: Internal Server Error
  32294. schema:
  32295. $ref: '#/definitions/app.Response'
  32296. security:
  32297. - ApiKeyAuth: []
  32298. summary: 查询实名认证信息
  32299. tags:
  32300. - 仓单贸易v2
  32301. /WrTrade2/QueryWrFactorTypeInfo:
  32302. get:
  32303. parameters:
  32304. - description: 仓单要素id
  32305. in: query
  32306. name: wrfactortypeid
  32307. required: true
  32308. type: integer
  32309. produces:
  32310. - application/json
  32311. responses:
  32312. "200":
  32313. description: OK
  32314. schema:
  32315. items:
  32316. $ref: '#/definitions/models.WrFactorTypeInfo'
  32317. type: array
  32318. "500":
  32319. description: Internal Server Error
  32320. schema:
  32321. $ref: '#/definitions/app.Response'
  32322. security:
  32323. - ApiKeyAuth: []
  32324. summary: 查询仓单要素详细信息
  32325. tags:
  32326. - 仓单贸易v2
  32327. /WrTrade2/QueryWrFactorTypeInfoEx:
  32328. get:
  32329. parameters:
  32330. - description: 仓单要素id
  32331. in: query
  32332. name: wrfactortypeid
  32333. required: true
  32334. type: integer
  32335. produces:
  32336. - application/json
  32337. responses:
  32338. "200":
  32339. description: OK
  32340. schema:
  32341. items:
  32342. $ref: '#/definitions/models.WrTypeItem'
  32343. type: array
  32344. "500":
  32345. description: Internal Server Error
  32346. schema:
  32347. $ref: '#/definitions/app.Response'
  32348. security:
  32349. - ApiKeyAuth: []
  32350. summary: 查询仓单要素详细信息列表项
  32351. tags:
  32352. - 仓单贸易v2
  32353. /WrTrade2/QueryWrFinanceBuyApply:
  32354. get:
  32355. description: 页面 融资信息+ / 申请单
  32356. parameters:
  32357. - description: 用户id
  32358. in: query
  32359. name: userid
  32360. required: true
  32361. type: integer
  32362. produces:
  32363. - application/json
  32364. responses:
  32365. "200":
  32366. description: OK
  32367. schema:
  32368. items:
  32369. $ref: '#/definitions/models.WrFinanceBuyApply'
  32370. type: array
  32371. "500":
  32372. description: Internal Server Error
  32373. schema:
  32374. $ref: '#/definitions/app.Response'
  32375. security:
  32376. - ApiKeyAuth: []
  32377. summary: 查询融资购买申请
  32378. tags:
  32379. - 仓单贸易v2
  32380. /WrTrade2/QueryWrFriendApply:
  32381. get:
  32382. parameters:
  32383. - description: 用户id
  32384. in: query
  32385. name: userid
  32386. required: true
  32387. type: integer
  32388. produces:
  32389. - application/json
  32390. responses:
  32391. "200":
  32392. description: OK
  32393. schema:
  32394. items:
  32395. $ref: '#/definitions/models.WrFriendApply'
  32396. type: array
  32397. "500":
  32398. description: Internal Server Error
  32399. schema:
  32400. $ref: '#/definitions/app.Response'
  32401. security:
  32402. - ApiKeyAuth: []
  32403. summary: 查询好友申请记录
  32404. tags:
  32405. - 仓单贸易v2
  32406. /WrTrade2/QueryWrGoodsInfo:
  32407. get:
  32408. parameters:
  32409. - description: 仓单贸易市场id
  32410. in: query
  32411. name: marketid
  32412. type: integer
  32413. - description: 0:仓单预售 1:仓单贸易
  32414. in: query
  32415. name: haswr
  32416. required: true
  32417. type: integer
  32418. - description: 仓单要素id
  32419. in: query
  32420. name: wrfactortypeid
  32421. required: true
  32422. type: integer
  32423. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32424. in: query
  32425. name: tmplateid
  32426. type: integer
  32427. produces:
  32428. - application/json
  32429. responses:
  32430. "200":
  32431. description: OK
  32432. schema:
  32433. items:
  32434. $ref: '#/definitions/models.WrGoodsInfo'
  32435. type: array
  32436. "500":
  32437. description: Internal Server Error
  32438. schema:
  32439. $ref: '#/definitions/app.Response'
  32440. security:
  32441. - ApiKeyAuth: []
  32442. summary: 查询仓单商品信息
  32443. tags:
  32444. - 仓单贸易v2
  32445. /WrTrade2/QueryWrMarketTradeConfig:
  32446. get:
  32447. parameters:
  32448. - description: 市场id
  32449. in: query
  32450. name: marketid
  32451. type: integer
  32452. produces:
  32453. - application/json
  32454. responses:
  32455. "200":
  32456. description: OK
  32457. schema:
  32458. items:
  32459. $ref: '#/definitions/models.WrMarketTradeConfig'
  32460. type: array
  32461. "500":
  32462. description: Internal Server Error
  32463. schema:
  32464. $ref: '#/definitions/app.Response'
  32465. security:
  32466. - ApiKeyAuth: []
  32467. summary: 查询市场交易参数配置
  32468. tags:
  32469. - 仓单贸易v2
  32470. /WrTrade2/QueryWrOrderDetail:
  32471. get:
  32472. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32473. parameters:
  32474. - description: 页码
  32475. in: query
  32476. name: page
  32477. type: integer
  32478. - description: 每页条数
  32479. in: query
  32480. name: pagesize
  32481. type: integer
  32482. - description: 用户id
  32483. in: query
  32484. name: userid
  32485. required: true
  32486. type: integer
  32487. - description: 仓单贸易市场id
  32488. in: query
  32489. name: marketid
  32490. type: integer
  32491. - description: 0:仓单预售 1:仓单贸易
  32492. in: query
  32493. name: haswr
  32494. required: true
  32495. type: integer
  32496. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32497. in: query
  32498. name: bcancel
  32499. type: integer
  32500. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32501. in: query
  32502. name: wrtradetype
  32503. type: integer
  32504. - description: 开始交易日(yyyymmdd)
  32505. in: query
  32506. name: begindate
  32507. type: string
  32508. - description: 结束交易日(yyyymmdd)
  32509. in: query
  32510. name: enddate
  32511. type: string
  32512. produces:
  32513. - application/json
  32514. responses:
  32515. "200":
  32516. description: OK
  32517. schema:
  32518. items:
  32519. $ref: '#/definitions/models.WrOrderDetail'
  32520. type: array
  32521. "500":
  32522. description: Internal Server Error
  32523. schema:
  32524. $ref: '#/definitions/app.Response'
  32525. security:
  32526. - ApiKeyAuth: []
  32527. summary: 查询仓单委托单
  32528. tags:
  32529. - 仓单贸易v2
  32530. /WrTrade2/QueryWrOutInApply:
  32531. get:
  32532. parameters:
  32533. - description: 页码
  32534. in: query
  32535. name: page
  32536. type: integer
  32537. - description: 每页条数
  32538. in: query
  32539. name: pagesize
  32540. type: integer
  32541. - description: 用户id
  32542. in: query
  32543. name: userid
  32544. required: true
  32545. type: integer
  32546. - description: 开始交易日(yyyymmdd)
  32547. in: query
  32548. name: begindate
  32549. type: string
  32550. - description: 结束交易日(yyyymmdd)
  32551. in: query
  32552. name: enddate
  32553. type: string
  32554. produces:
  32555. - application/json
  32556. responses:
  32557. "200":
  32558. description: OK
  32559. schema:
  32560. items:
  32561. $ref: '#/definitions/models.WrOutInApply'
  32562. type: array
  32563. "500":
  32564. description: Internal Server Error
  32565. schema:
  32566. $ref: '#/definitions/app.Response'
  32567. security:
  32568. - ApiKeyAuth: []
  32569. summary: 查询提货申请
  32570. tags:
  32571. - 仓单贸易v2
  32572. /WrTrade2/QueryWrPerformancePlanStep:
  32573. get:
  32574. parameters:
  32575. - description: 履约计划id(performanceplanid)
  32576. in: query
  32577. name: planid
  32578. required: true
  32579. type: integer
  32580. - description: 当前步骤id
  32581. in: query
  32582. name: curstepid
  32583. type: integer
  32584. produces:
  32585. - application/json
  32586. responses:
  32587. "200":
  32588. description: OK
  32589. schema:
  32590. items:
  32591. $ref: '#/definitions/models.WrPerformancePlanStep'
  32592. type: array
  32593. "500":
  32594. description: Internal Server Error
  32595. schema:
  32596. $ref: '#/definitions/app.Response'
  32597. security:
  32598. - ApiKeyAuth: []
  32599. summary: 查询履约信息详情
  32600. tags:
  32601. - 仓单贸易v2
  32602. /WrTrade2/QueryWrPerformanceStepType:
  32603. get:
  32604. produces:
  32605. - application/json
  32606. responses:
  32607. "200":
  32608. description: OK
  32609. schema:
  32610. items:
  32611. $ref: '#/definitions/models.WrPerformanceStepType'
  32612. type: array
  32613. "500":
  32614. description: Internal Server Error
  32615. schema:
  32616. $ref: '#/definitions/app.Response'
  32617. security:
  32618. - ApiKeyAuth: []
  32619. summary: 查询履约步骤枚举
  32620. tags:
  32621. - 仓单贸易v2
  32622. /WrTrade2/QueryWrPosition:
  32623. get:
  32624. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32625. parameters:
  32626. - description: 用户id
  32627. in: query
  32628. name: userid
  32629. required: true
  32630. type: integer
  32631. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32632. in: query
  32633. name: querytype
  32634. required: true
  32635. type: integer
  32636. - description: 0:仓单预售 1:仓单贸易
  32637. in: query
  32638. name: haswr
  32639. required: true
  32640. type: integer
  32641. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32642. in: query
  32643. name: dgitemname
  32644. type: string
  32645. - description: 仓库id(筛选条件)
  32646. in: query
  32647. name: warehouseid
  32648. type: integer
  32649. - description: 品种id
  32650. in: query
  32651. name: deliverygoodsid
  32652. type: integer
  32653. - description: 品类id
  32654. in: query
  32655. name: wrstandardid
  32656. type: integer
  32657. produces:
  32658. - application/json
  32659. responses:
  32660. "200":
  32661. description: OK
  32662. schema:
  32663. items:
  32664. $ref: '#/definitions/models.WrPosition'
  32665. type: array
  32666. "500":
  32667. description: Internal Server Error
  32668. schema:
  32669. $ref: '#/definitions/app.Response'
  32670. security:
  32671. - ApiKeyAuth: []
  32672. summary: 查询现货(预售)仓单持仓
  32673. tags:
  32674. - 仓单贸易v2
  32675. /WrTrade2/QueryWrPreSaleInfo:
  32676. get:
  32677. parameters:
  32678. - description: 市场id
  32679. in: query
  32680. name: marketid
  32681. type: integer
  32682. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32683. in: query
  32684. name: presalestatus
  32685. type: string
  32686. - description: 摇号标识 - 0:未摇号 1:已摇号
  32687. in: query
  32688. name: lotteryflag
  32689. type: integer
  32690. - description: 最近多少条记录(按创建时间倒序)
  32691. in: query
  32692. name: lastnum
  32693. type: integer
  32694. produces:
  32695. - application/json
  32696. responses:
  32697. "200":
  32698. description: OK
  32699. schema:
  32700. items:
  32701. $ref: '#/definitions/models.WrPreSaleInfo'
  32702. type: array
  32703. "500":
  32704. description: Internal Server Error
  32705. schema:
  32706. $ref: '#/definitions/app.Response'
  32707. security:
  32708. - ApiKeyAuth: []
  32709. summary: 查询新品发布
  32710. tags:
  32711. - 仓单贸易v2
  32712. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32713. get:
  32714. parameters:
  32715. - description: 市场id
  32716. in: query
  32717. name: marketid
  32718. required: true
  32719. type: integer
  32720. - description: 现货商品id
  32721. in: query
  32722. name: wrstandardid
  32723. required: true
  32724. type: integer
  32725. - description: 开始交易日(yyyymmdd)
  32726. in: query
  32727. name: begindate
  32728. type: string
  32729. - description: 结束交易日(yyyymmdd)
  32730. in: query
  32731. name: enddate
  32732. type: string
  32733. - description: 最近多少条记录(按交易日倒序)
  32734. in: query
  32735. name: lastnum
  32736. type: integer
  32737. - description: 是否今日
  32738. in: query
  32739. name: istoday
  32740. type: boolean
  32741. produces:
  32742. - application/json
  32743. responses:
  32744. "200":
  32745. description: OK
  32746. schema:
  32747. items:
  32748. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32749. type: array
  32750. "500":
  32751. description: Internal Server Error
  32752. schema:
  32753. $ref: '#/definitions/app.Response'
  32754. security:
  32755. - ApiKeyAuth: []
  32756. summary: 查询价格走势
  32757. tags:
  32758. - 仓单贸易v2
  32759. /WrTrade2/QueryWrScfContract:
  32760. get:
  32761. parameters:
  32762. - description: 用户id
  32763. in: query
  32764. name: userid
  32765. required: true
  32766. type: integer
  32767. - description: 融资合同id
  32768. in: query
  32769. name: scfcontractid
  32770. type: integer
  32771. produces:
  32772. - application/json
  32773. responses:
  32774. "200":
  32775. description: OK
  32776. schema:
  32777. items:
  32778. $ref: '#/definitions/models.WrScfContract'
  32779. type: array
  32780. "500":
  32781. description: Internal Server Error
  32782. schema:
  32783. $ref: '#/definitions/app.Response'
  32784. security:
  32785. - ApiKeyAuth: []
  32786. summary: 查询仓单贸易融资合同
  32787. tags:
  32788. - 仓单贸易v2
  32789. /WrTrade2/QueryWrScfContractInterest:
  32790. get:
  32791. parameters:
  32792. - description: 融资合同id
  32793. in: query
  32794. name: scfcontractid
  32795. type: integer
  32796. produces:
  32797. - application/json
  32798. responses:
  32799. "200":
  32800. description: OK
  32801. schema:
  32802. items:
  32803. $ref: '#/definitions/models.WrScfContractInterest'
  32804. type: array
  32805. "500":
  32806. description: Internal Server Error
  32807. schema:
  32808. $ref: '#/definitions/app.Response'
  32809. security:
  32810. - ApiKeyAuth: []
  32811. summary: 查询融资合同费用明细
  32812. tags:
  32813. - 仓单贸易v2
  32814. /WrTrade2/QueryWrSearchUser:
  32815. get:
  32816. parameters:
  32817. - description: 用户名称(模糊匹配)
  32818. in: query
  32819. name: username
  32820. required: true
  32821. type: string
  32822. produces:
  32823. - application/json
  32824. responses:
  32825. "200":
  32826. description: OK
  32827. schema:
  32828. items:
  32829. $ref: '#/definitions/models.WrSearchUser'
  32830. type: array
  32831. "500":
  32832. description: Internal Server Error
  32833. schema:
  32834. $ref: '#/definitions/app.Response'
  32835. security:
  32836. - ApiKeyAuth: []
  32837. summary: 查询用户
  32838. tags:
  32839. - 仓单贸易v2
  32840. /WrTrade2/QueryWrSpecialMatchOrder:
  32841. get:
  32842. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32843. parameters:
  32844. - description: 页码
  32845. in: query
  32846. name: page
  32847. type: integer
  32848. - description: 每页条数
  32849. in: query
  32850. name: pagesize
  32851. type: integer
  32852. - description: 用户id
  32853. in: query
  32854. name: userid
  32855. required: true
  32856. type: integer
  32857. - description: 仓单贸易市场id
  32858. in: query
  32859. name: marketid
  32860. type: integer
  32861. - description: 0:仓单预售 1:仓单贸易
  32862. in: query
  32863. name: haswr
  32864. required: true
  32865. type: integer
  32866. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32867. in: query
  32868. name: isspecified
  32869. type: integer
  32870. produces:
  32871. - application/json
  32872. responses:
  32873. "200":
  32874. description: OK
  32875. schema:
  32876. items:
  32877. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32878. type: array
  32879. "500":
  32880. description: Internal Server Error
  32881. schema:
  32882. $ref: '#/definitions/app.Response'
  32883. security:
  32884. - ApiKeyAuth: []
  32885. summary: 查询指定成交
  32886. tags:
  32887. - 仓单贸易v2
  32888. /WrTrade2/QueryWrStandardFactoryItem:
  32889. get:
  32890. parameters:
  32891. - description: 品类id
  32892. in: query
  32893. name: wrstandardid
  32894. required: true
  32895. type: integer
  32896. produces:
  32897. - application/json
  32898. responses:
  32899. "200":
  32900. description: OK
  32901. schema:
  32902. items:
  32903. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32904. type: array
  32905. "500":
  32906. description: Internal Server Error
  32907. schema:
  32908. $ref: '#/definitions/app.Response'
  32909. security:
  32910. - ApiKeyAuth: []
  32911. summary: 查询品类要素定义项
  32912. tags:
  32913. - 仓单贸易v2
  32914. /WrTrade2/QueryWrTradeBargainApply:
  32915. get:
  32916. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32917. 议价->对方议价 填写matchuserid=登录用户id
  32918. parameters:
  32919. - description: 议价人id(摘牌方)
  32920. in: query
  32921. name: userid
  32922. type: integer
  32923. - description: 挂牌方id(查对方议价时,填写此项)
  32924. in: query
  32925. name: matchuserid
  32926. type: integer
  32927. - description: 关联委托单id
  32928. in: query
  32929. name: wrtradeorderid
  32930. type: integer
  32931. - description: 0:仓单预售 1:仓单贸易
  32932. in: query
  32933. name: haswr
  32934. required: true
  32935. type: integer
  32936. - description: 开始交易日(yyyymmdd)
  32937. in: query
  32938. name: begindate
  32939. type: string
  32940. - description: 结束交易日(yyyymmdd)
  32941. in: query
  32942. name: enddate
  32943. type: string
  32944. produces:
  32945. - application/json
  32946. responses:
  32947. "200":
  32948. description: OK
  32949. schema:
  32950. items:
  32951. $ref: '#/definitions/models.WRTradeBargainApply'
  32952. type: array
  32953. "500":
  32954. description: Internal Server Error
  32955. schema:
  32956. $ref: '#/definitions/app.Response'
  32957. security:
  32958. - ApiKeyAuth: []
  32959. summary: 查询议价单
  32960. tags:
  32961. - 仓单贸易v2
  32962. /WrTrade2/QueryWrTradeDetail:
  32963. get:
  32964. parameters:
  32965. - description: 页码
  32966. in: query
  32967. name: page
  32968. type: integer
  32969. - description: 每页条数
  32970. in: query
  32971. name: pagesize
  32972. type: integer
  32973. - description: 用户id
  32974. in: query
  32975. name: userid
  32976. required: true
  32977. type: integer
  32978. - description: 仓单贸易市场id
  32979. in: query
  32980. name: marketid
  32981. type: integer
  32982. - description: 0:仓单预售 1:仓单贸易
  32983. in: query
  32984. name: haswr
  32985. required: true
  32986. type: integer
  32987. - description: 开始交易日(yyyymmdd)
  32988. in: query
  32989. name: begindate
  32990. type: string
  32991. - description: 结束交易日(yyyymmdd)
  32992. in: query
  32993. name: enddate
  32994. type: string
  32995. produces:
  32996. - application/json
  32997. responses:
  32998. "200":
  32999. description: OK
  33000. schema:
  33001. items:
  33002. $ref: '#/definitions/models.WrTradeDetail'
  33003. type: array
  33004. "500":
  33005. description: Internal Server Error
  33006. schema:
  33007. $ref: '#/definitions/app.Response'
  33008. security:
  33009. - ApiKeyAuth: []
  33010. summary: 查询仓单成交明细
  33011. tags:
  33012. - 仓单贸易v2
  33013. /WrTrade2/QueryWrTradeOrderDetail:
  33014. get:
  33015. parameters:
  33016. - description: 页码
  33017. in: query
  33018. name: page
  33019. type: integer
  33020. - description: 每页条数
  33021. in: query
  33022. name: pagesize
  33023. type: integer
  33024. - description: 商品id
  33025. in: query
  33026. name: goodsid
  33027. required: true
  33028. type: integer
  33029. - description: 买卖方向 0-买 1-卖
  33030. in: query
  33031. name: buyorsell
  33032. required: true
  33033. type: integer
  33034. produces:
  33035. - application/json
  33036. responses:
  33037. "200":
  33038. description: OK
  33039. schema:
  33040. items:
  33041. $ref: '#/definitions/models.WrTradeOrderDetail'
  33042. type: array
  33043. "500":
  33044. description: Internal Server Error
  33045. schema:
  33046. $ref: '#/definitions/app.Response'
  33047. security:
  33048. - ApiKeyAuth: []
  33049. summary: 查询合约交易买卖大厅
  33050. tags:
  33051. - 仓单贸易v2
  33052. /WrTrade2/QueryWrTradeQuote:
  33053. get:
  33054. parameters:
  33055. - description: 现货商品id
  33056. in: query
  33057. name: wrstandardid
  33058. required: true
  33059. type: integer
  33060. - description: 开始日期(yyyymmdd)
  33061. in: query
  33062. name: begindate
  33063. required: true
  33064. type: string
  33065. - description: 结束日期(yyyymmdd)
  33066. in: query
  33067. name: enddate
  33068. required: true
  33069. type: string
  33070. - description: 市场id
  33071. in: query
  33072. name: marketid
  33073. type: integer
  33074. produces:
  33075. - application/json
  33076. responses:
  33077. "200":
  33078. description: OK
  33079. schema:
  33080. items:
  33081. $ref: '#/definitions/models.Wrtradetradequote'
  33082. type: array
  33083. "500":
  33084. description: Internal Server Error
  33085. schema:
  33086. $ref: '#/definitions/app.Response'
  33087. security:
  33088. - ApiKeyAuth: []
  33089. summary: 查询仓单贸易成交行情
  33090. tags:
  33091. - 仓单贸易v2
  33092. /WrTrade2/QueryWrUserFriend:
  33093. get:
  33094. parameters:
  33095. - description: 用户id
  33096. in: query
  33097. name: userid
  33098. required: true
  33099. type: integer
  33100. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33101. in: query
  33102. name: newuserid
  33103. type: integer
  33104. produces:
  33105. - application/json
  33106. responses:
  33107. "200":
  33108. description: OK
  33109. schema:
  33110. items:
  33111. $ref: '#/definitions/models.WrUserFriend'
  33112. type: array
  33113. "500":
  33114. description: Internal Server Error
  33115. schema:
  33116. $ref: '#/definitions/app.Response'
  33117. security:
  33118. - ApiKeyAuth: []
  33119. summary: 查询我的朋友
  33120. tags:
  33121. - 仓单贸易v2
  33122. /WrTrade2/QueryWrUserReceiptInfo:
  33123. get:
  33124. parameters:
  33125. - description: 用户id
  33126. in: query
  33127. name: userid
  33128. type: integer
  33129. - description: 发票类型 - 1:个人 2:企业
  33130. in: query
  33131. name: receipttype
  33132. type: integer
  33133. produces:
  33134. - application/json
  33135. responses:
  33136. "200":
  33137. description: OK
  33138. schema:
  33139. items:
  33140. $ref: '#/definitions/models.WrUserReceiptInfo'
  33141. type: array
  33142. "500":
  33143. description: Internal Server Error
  33144. schema:
  33145. $ref: '#/definitions/app.Response'
  33146. security:
  33147. - ApiKeyAuth: []
  33148. summary: 查询发票信息
  33149. tags:
  33150. - 仓单贸易v2
  33151. /WrTrade2/QueryXhcpSellBackApply:
  33152. get:
  33153. parameters:
  33154. - description: 用户ID
  33155. in: query
  33156. name: userid
  33157. required: true
  33158. type: integer
  33159. produces:
  33160. - application/json
  33161. responses:
  33162. "200":
  33163. description: OK
  33164. schema:
  33165. items:
  33166. $ref: '#/definitions/models.Xhcpsellbackapply'
  33167. type: array
  33168. "500":
  33169. description: Internal Server Error
  33170. schema:
  33171. $ref: '#/definitions/app.Response'
  33172. security:
  33173. - ApiKeyAuth: []
  33174. summary: 查询我的回收申请(新会陈皮)
  33175. tags:
  33176. - 仓单贸易v2
  33177. /ZJ/GetBankTip:
  33178. get:
  33179. produces:
  33180. - application/json
  33181. responses:
  33182. "200":
  33183. description: OK
  33184. schema:
  33185. type: string
  33186. "500":
  33187. description: Internal Server Error
  33188. schema:
  33189. $ref: '#/definitions/app.Response'
  33190. summary: 获取中江网银端出入金提示信息
  33191. tags:
  33192. - 中江
  33193. /ZJ/GetCusBankChannels:
  33194. get:
  33195. produces:
  33196. - application/json
  33197. responses:
  33198. "200":
  33199. description: OK
  33200. schema:
  33201. items:
  33202. type: string
  33203. type: array
  33204. "500":
  33205. description: Internal Server Error
  33206. schema:
  33207. $ref: '#/definitions/app.Response'
  33208. summary: 获取中江出入金渠道显示列表
  33209. tags:
  33210. - 中江
  33211. securityDefinitions:
  33212. ApiKeyAuth:
  33213. in: header
  33214. name: Authorization
  33215. type: apiKey
  33216. Group:
  33217. in: header
  33218. name: Group
  33219. type: apiKey
  33220. LoginID:
  33221. in: header
  33222. name: LoginID
  33223. type: apiKey
  33224. swagger: "2.0"