swagger.yaml 905 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626
  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. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. 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:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GZGoods:
  9647. properties:
  9648. cerno:
  9649. description: 证书编号 - 类型:2,4,5
  9650. type: string
  9651. cpcertno:
  9652. description: 金伯利证书编号 - 类型:3
  9653. type: string
  9654. goodsno:
  9655. description: 商品编号
  9656. type: string
  9657. imagepath:
  9658. description: 商品照片(相对地址)
  9659. type: string
  9660. isvalid:
  9661. description: 是否有效 - 0:无效 1:有效
  9662. type: integer
  9663. kppath:
  9664. description: 金伯利证书图片(相对地址) - 类型:3
  9665. type: string
  9666. kpweight:
  9667. description: 金伯利证书重量 - 类型:3
  9668. type: string
  9669. marketprice:
  9670. description: 市场价
  9671. type: string
  9672. mobile:
  9673. description: 手机号码
  9674. type: string
  9675. origin:
  9676. description: 原产地 - 类型:3
  9677. type: string
  9678. performancetemplateid:
  9679. description: 履约计划模板ID
  9680. type: integer
  9681. price:
  9682. description: 总价(价格) - 类型:1,2,3,4,5
  9683. type: number
  9684. priceper:
  9685. description: 克拉单价 - 类型:1,2,3,5
  9686. type: string
  9687. remainqty:
  9688. description: 剩余重量
  9689. type: number
  9690. remark:
  9691. description: 备注
  9692. type: string
  9693. sellusername:
  9694. description: 账户名称(机构名称)
  9695. type: string
  9696. settingmaterial:
  9697. description: 镶嵌材料 - 类型:4
  9698. type: string
  9699. size1:
  9700. description: 尺寸1 - 类型:2,4,5
  9701. type: string
  9702. size2:
  9703. description: 尺寸2 - 类型:2,4,5
  9704. type: string
  9705. size3:
  9706. description: 尺寸3 - 类型:2,4,5
  9707. type: string
  9708. stonedesc:
  9709. description: 配石描述 - 类型:4
  9710. type: string
  9711. userid:
  9712. description: 用户ID
  9713. type: integer
  9714. warehouseid:
  9715. description: 仓库ID
  9716. type: integer
  9717. warehousenamedisplay:
  9718. type: string
  9719. weight:
  9720. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9721. type: number
  9722. weightavg:
  9723. description: 平均单颗重量 - 类型:1,3
  9724. type: number
  9725. wrpath:
  9726. description: 仓单扫描件(相对地址)
  9727. type: string
  9728. wrstandardid:
  9729. description: 现货商品ID
  9730. type: integer
  9731. wrtradeorderid:
  9732. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9733. type: string
  9734. zscategory:
  9735. description: 钻石分类 - 枚举”ZSCategory“
  9736. type: integer
  9737. zscategorydisplay:
  9738. type: string
  9739. zscerttype:
  9740. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9741. type: integer
  9742. zscerttypedisplay:
  9743. type: string
  9744. zsclaritytype1:
  9745. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9746. type: integer
  9747. zsclaritytype1display:
  9748. type: string
  9749. zsclaritytype2:
  9750. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9751. type: integer
  9752. zsclaritytype2display:
  9753. type: string
  9754. zscolortype1:
  9755. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9756. type: integer
  9757. zscolortype1display:
  9758. type: string
  9759. zscolortype2:
  9760. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9761. type: integer
  9762. zscolortype2display:
  9763. type: string
  9764. zscrystaltype:
  9765. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9766. type: string
  9767. zscrystaltypedisplay:
  9768. type: string
  9769. zscurrencytype:
  9770. description: 货币类型 - 枚举“ZSCurrencyType”
  9771. type: integer
  9772. zscurrencytypedisplay:
  9773. type: string
  9774. zscurrencytypedisplayunit:
  9775. type: string
  9776. zscuttype1:
  9777. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9778. type: integer
  9779. zscuttype1display:
  9780. type: string
  9781. zscuttype2:
  9782. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9783. type: integer
  9784. zscuttype2display:
  9785. type: string
  9786. zsczcolor1type:
  9787. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9788. type: integer
  9789. zsczcolor1typedisplay:
  9790. type: string
  9791. zsczcolor2type:
  9792. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9793. type: integer
  9794. zsczcolor2typedisplay:
  9795. type: string
  9796. zsczcolor3type:
  9797. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9798. type: integer
  9799. zsczcolor3typedisplay:
  9800. type: string
  9801. zsfluorescencetype1:
  9802. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9803. type: integer
  9804. zsfluorescencetype1display:
  9805. type: string
  9806. zsfluorescencetype2:
  9807. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9808. type: integer
  9809. zsfluorescencetype2display:
  9810. type: string
  9811. zspolishtype1:
  9812. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9813. type: integer
  9814. zspolishtype1display:
  9815. type: string
  9816. zspolishtype2:
  9817. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9818. type: integer
  9819. zspolishtype2display:
  9820. type: string
  9821. zsshapetype:
  9822. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9823. type: string
  9824. zsshapetypedisplay:
  9825. type: string
  9826. zsstyletype:
  9827. description: 款式 - 类型:4
  9828. type: integer
  9829. zsstyletypedisplay:
  9830. type: string
  9831. zssymmetrytype1:
  9832. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9833. type: integer
  9834. zssymmetrytype1display:
  9835. type: string
  9836. zssymmetrytype2:
  9837. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9838. type: integer
  9839. zssymmetrytype2display:
  9840. type: string
  9841. required:
  9842. - goodsno
  9843. type: object
  9844. models.GZHomeData:
  9845. properties:
  9846. purchasedtransactions:
  9847. description: 已购买的交易
  9848. type: integer
  9849. transactioninpurchase:
  9850. description: 求购中的交易
  9851. type: integer
  9852. transactionsonsale:
  9853. description: 出售中的交易
  9854. type: integer
  9855. transactionssold:
  9856. description: 已卖出的交易
  9857. type: integer
  9858. unhandledmessage:
  9859. description: 未处理消息
  9860. type: integer
  9861. type: object
  9862. models.GZWarehouseinfo:
  9863. properties:
  9864. address:
  9865. description: 详细地址
  9866. type: string
  9867. areauserid:
  9868. description: 所属机构
  9869. type: integer
  9870. autoid:
  9871. description: 自增ID
  9872. type: integer
  9873. cityid:
  9874. description: 市
  9875. type: integer
  9876. contactname:
  9877. description: 联系人
  9878. type: string
  9879. contactnum:
  9880. description: 联系电话
  9881. type: string
  9882. countryid:
  9883. description: 国家
  9884. type: integer
  9885. createtime:
  9886. description: 创建时间
  9887. type: string
  9888. districtid:
  9889. description: 区
  9890. type: integer
  9891. hasvideo:
  9892. description: 是否有视频 - 0:无 1:有
  9893. type: integer
  9894. provinceid:
  9895. description: 省
  9896. type: integer
  9897. remark:
  9898. description: 审核备注
  9899. type: string
  9900. videourl:
  9901. description: 视频地址
  9902. type: string
  9903. warehousecode:
  9904. description: 仓库代码
  9905. type: string
  9906. warehousename:
  9907. description: 仓库名称
  9908. type: string
  9909. warehousestatus:
  9910. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9911. type: integer
  9912. warehousetype:
  9913. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9914. type: integer
  9915. type: object
  9916. models.Goods:
  9917. properties:
  9918. agreeunit:
  9919. description: 合约单位
  9920. type: number
  9921. areauserid:
  9922. description: 所属机构
  9923. type: integer
  9924. auditaccountid:
  9925. description: 审核操作员账号
  9926. type: integer
  9927. audittime:
  9928. description: 审核时间
  9929. type: string
  9930. cancelaccountid:
  9931. description: 注销操作员账号
  9932. type: integer
  9933. canceltime:
  9934. description: 注销时间
  9935. type: string
  9936. closepricemode:
  9937. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9938. type: integer
  9939. closepriceparam:
  9940. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9941. type: number
  9942. createtime:
  9943. description: 创建时间
  9944. type: string
  9945. creatorid:
  9946. description: 创建人
  9947. type: integer
  9948. currencyid:
  9949. description: 报价货币ID
  9950. type: integer
  9951. cutmode:
  9952. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9953. type: integer
  9954. decimalplace:
  9955. description: 报价小数位
  9956. type: integer
  9957. delistingdate:
  9958. description: 商品退市时间(状态:退市) -- 已作废
  9959. type: string
  9960. delistingmode:
  9961. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9962. type: integer
  9963. deliveryflag:
  9964. description: 交割标志 - 0:不可交割 1:可交割
  9965. type: integer
  9966. forceclosemode:
  9967. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9968. type: integer
  9969. forceclosevalue:
  9970. description: 定期强平参数 [收益权]
  9971. type: integer
  9972. goodscode:
  9973. description: 商品代码(内部)
  9974. type: string
  9975. goodscurrencyid:
  9976. description: 合约货币ID
  9977. type: integer
  9978. goodsgroupid:
  9979. description: 所属商品组ID
  9980. type: integer
  9981. goodsid:
  9982. description: 商品ID(自增ID SEQ_GOODS)
  9983. type: integer
  9984. goodsname:
  9985. description: 商品名称
  9986. type: string
  9987. goodsquotetype:
  9988. description: '合约报价类型: 1-直接报价 2-间接报价'
  9989. type: integer
  9990. goodsstatus:
  9991. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9992. type: integer
  9993. goodstradetype:
  9994. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9995. type: integer
  9996. goodunitid:
  9997. description: 报价单位ID
  9998. type: integer
  9999. hasquoter:
  10000. description: 是否有报价商 - 0:无报价商 1:有报价商
  10001. type: integer
  10002. hqprotecttime:
  10003. description: 行情保护时间(秒)
  10004. type: integer
  10005. innerdealmode:
  10006. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10007. type: integer
  10008. isbuylimited:
  10009. description: 是否限制建仓量 - 0:不限制 1:限制
  10010. type: integer
  10011. isvisible:
  10012. description: 游客是否可见 - 0:不可见 1:可见
  10013. type: integer
  10014. lasttradedate:
  10015. description: 最后交易日期(状态:待退市)
  10016. type: string
  10017. listingdate:
  10018. description: 交易开始日期
  10019. type: string
  10020. marketid:
  10021. description: 所属市场ID
  10022. type: integer
  10023. modifierid:
  10024. description: 修改人
  10025. type: integer
  10026. modifystatus:
  10027. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10028. type: integer
  10029. modifytime:
  10030. description: 修改时间
  10031. type: string
  10032. outerdealmode:
  10033. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10034. type: integer
  10035. outgoodscode:
  10036. description: 商品代码(外部)
  10037. type: string
  10038. pictureurl:
  10039. description: 商品图片
  10040. type: string
  10041. qtydecimalplace:
  10042. description: 成交量小数位
  10043. type: integer
  10044. quotegear:
  10045. description: 行情档位(1-10)
  10046. type: integer
  10047. quoteminunit:
  10048. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10049. type: integer
  10050. quoteshowtype:
  10051. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10052. type: integer
  10053. quoteshowtypeinterval:
  10054. description: 行情报价间隔时间(秒)(成交价时为0)
  10055. type: integer
  10056. remark:
  10057. description: 备注
  10058. type: string
  10059. required:
  10060. - goodscode
  10061. - goodsid
  10062. - goodsname
  10063. - marketid
  10064. type: object
  10065. models.GoodsIDAndName:
  10066. properties:
  10067. goodscode:
  10068. description: 商品代码(内部)
  10069. type: string
  10070. goodsid:
  10071. description: 商品ID(自增ID SEQ_GOODS)
  10072. type: integer
  10073. goodsname:
  10074. description: 商品名称
  10075. type: string
  10076. marketid:
  10077. description: 所属市场ID
  10078. type: integer
  10079. required:
  10080. - goodscode
  10081. - goodsid
  10082. - goodsname
  10083. - marketid
  10084. type: object
  10085. models.Goodsgroup:
  10086. properties:
  10087. agreeunit:
  10088. description: 合约单位
  10089. type: number
  10090. canshort:
  10091. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10092. type: integer
  10093. closepricemode:
  10094. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10095. type: integer
  10096. closepriceparam:
  10097. description: 强平最新价浮动比例 - 方式为2时使用
  10098. type: number
  10099. createtime:
  10100. description: 创建时间
  10101. type: string
  10102. creatorid:
  10103. description: 创建人
  10104. type: integer
  10105. currencyid:
  10106. description: 报价货币ID
  10107. type: integer
  10108. decimalplace:
  10109. description: 报价小数位
  10110. type: integer
  10111. exercisetype:
  10112. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10113. type: integer
  10114. exexchangeid:
  10115. description: 外部交易所ID[通道交易]
  10116. type: integer
  10117. goodsgroupid:
  10118. description: 商品组ID(自增ID)
  10119. type: integer
  10120. goodsgroupname:
  10121. description: 商品组名称
  10122. type: string
  10123. goodsgroupstatus:
  10124. description: 商品组状态 - 1:正常 2:注销
  10125. type: integer
  10126. goodunitid:
  10127. description: 报价单位ID
  10128. type: integer
  10129. innerdealmode:
  10130. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10131. type: integer
  10132. isbuylimited:
  10133. description: 是否限制建仓量 - 0:不限制 1:限制
  10134. type: integer
  10135. marketid:
  10136. description: 所属市场ID
  10137. type: integer
  10138. modifierid:
  10139. description: 修改人
  10140. type: integer
  10141. modifytime:
  10142. description: 修改时间
  10143. type: string
  10144. outerdealmode:
  10145. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10146. type: integer
  10147. outergroupcode:
  10148. description: 外部商品组代码[通道交易]
  10149. type: string
  10150. premiumdecimalplace:
  10151. description: 权利金小数位[场外期权]
  10152. type: integer
  10153. premiumspreadalgorithm:
  10154. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10155. type: integer
  10156. premiumspreadvalue:
  10157. description: 权利金点差值[场外期权]
  10158. type: number
  10159. qtydecimalplace:
  10160. description: 成交量小数位
  10161. type: integer
  10162. quotegear:
  10163. description: 行情档位(1-10)
  10164. type: integer
  10165. quoteminunit:
  10166. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10167. type: integer
  10168. quoterid:
  10169. description: 报价商ID[场外期权]
  10170. type: integer
  10171. quotesourcegroupid:
  10172. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10173. type: integer
  10174. syncgoodsqty:
  10175. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10176. type: integer
  10177. required:
  10178. - goodsgroupid
  10179. - goodsgroupname
  10180. - goodsgroupstatus
  10181. - marketid
  10182. type: object
  10183. models.Goodssortbypreposition:
  10184. properties:
  10185. goodscode:
  10186. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10187. type: string
  10188. goodsgroupcode:
  10189. description: 品种代码
  10190. type: string
  10191. prepositionqty:
  10192. description: 昨持仓量
  10193. type: integer
  10194. sortindex:
  10195. description: 排序
  10196. type: integer
  10197. tradedate:
  10198. description: 交易日
  10199. type: string
  10200. updatetime:
  10201. description: 更新时间
  10202. type: string
  10203. required:
  10204. - goodscode
  10205. - tradedate
  10206. type: object
  10207. models.Gzcertaddressconfig:
  10208. properties:
  10209. certregion:
  10210. description: 证书地域 - 1:国内 2:国际
  10211. type: integer
  10212. certtype:
  10213. description: 证书类型
  10214. type: string
  10215. orderindex:
  10216. description: 显示顺序
  10217. type: integer
  10218. orgcnname:
  10219. description: 机构名称(中文)
  10220. type: string
  10221. orgenname:
  10222. description: 机构名称(英文)
  10223. type: string
  10224. queryaddress:
  10225. description: 查询地址
  10226. type: string
  10227. remark:
  10228. description: 备注
  10229. type: string
  10230. updatetime:
  10231. description: 更新时间
  10232. type: string
  10233. type: object
  10234. models.Gzcertaddressparam:
  10235. properties:
  10236. certtype:
  10237. description: 证书类型
  10238. type: string
  10239. orderindex:
  10240. description: 参数顺序
  10241. type: integer
  10242. paramkey:
  10243. description: 参数Key
  10244. type: string
  10245. paramname:
  10246. description: 参数名称
  10247. type: string
  10248. updatetime:
  10249. description: 更新时间
  10250. type: string
  10251. type: object
  10252. models.Gzrapaportprice:
  10253. properties:
  10254. dollar:
  10255. description: 美元
  10256. type: string
  10257. rmb:
  10258. description: 人民币
  10259. type: string
  10260. type: object
  10261. models.Hedgeinnerholderdetail:
  10262. properties:
  10263. accountid:
  10264. description: 账号ID
  10265. type: integer
  10266. buyorsell:
  10267. description: 方向 - 0:买 1:卖
  10268. type: integer
  10269. freezeqty:
  10270. description: 冻结数量 - 按单平使用
  10271. type: integer
  10272. goodsid:
  10273. description: 商品ID
  10274. type: integer
  10275. holderamount:
  10276. description: 持仓金额 [商品币种]
  10277. type: number
  10278. holderdays:
  10279. description: 剩余冻结天数
  10280. type: integer
  10281. holderprice:
  10282. description: 持仓价格
  10283. type: number
  10284. holderqty:
  10285. description: 持仓数量
  10286. type: integer
  10287. marketid:
  10288. description: 市场ID
  10289. type: integer
  10290. openprice:
  10291. description: 建仓价格
  10292. type: number
  10293. openqty:
  10294. description: 建仓数量
  10295. type: integer
  10296. parentaccountid:
  10297. description: 所属母账户
  10298. type: integer
  10299. releaseamount:
  10300. description: 释放持仓金额[商品币种]
  10301. type: number
  10302. tradeamount:
  10303. description: 成交金额[账户]
  10304. type: number
  10305. tradedate:
  10306. description: 交易日(yyyyMMdd)
  10307. type: string
  10308. tradeid:
  10309. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10310. type: string
  10311. tradetime:
  10312. description: 交易时间
  10313. type: string
  10314. required:
  10315. - buyorsell
  10316. - tradeid
  10317. type: object
  10318. models.Hedgemarketopenlog:
  10319. properties:
  10320. accountid:
  10321. description: 资金账号[外部母账户]
  10322. type: integer
  10323. fcname:
  10324. description: 期货公司名称
  10325. type: string
  10326. handlestatus:
  10327. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10328. type: integer
  10329. marketid:
  10330. description: 市场ID
  10331. type: integer
  10332. status:
  10333. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10334. type: integer
  10335. tradedate:
  10336. description: 交易日(yyyyMMdd)
  10337. type: string
  10338. updatetime:
  10339. description: 更新时间
  10340. type: string
  10341. required:
  10342. - accountid
  10343. type: object
  10344. models.InternalEnableTradeDetail:
  10345. properties:
  10346. agreeunit:
  10347. description: 合约乘数
  10348. type: number
  10349. areauserid:
  10350. description: 企业ID
  10351. type: integer
  10352. convertratio:
  10353. description: 品种系数
  10354. type: number
  10355. deliverygoodscode:
  10356. description: 现货品种代码
  10357. type: string
  10358. deliverygoodsid:
  10359. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10360. type: integer
  10361. deliverygoodsname:
  10362. description: 现货品种名称
  10363. type: string
  10364. futurehedgeqty:
  10365. description: '[已关联数量]期货持仓套期量'
  10366. type: number
  10367. goodsid:
  10368. description: 期货合约ID
  10369. type: integer
  10370. hedgeditemid:
  10371. description: 被套期项目ID
  10372. type: string
  10373. hedgeditemnum:
  10374. description: 项目编号
  10375. type: string
  10376. tradeuserid:
  10377. description: 交易用户ID
  10378. type: integer
  10379. unexehedgeqty:
  10380. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10381. type: number
  10382. unexespotqty:
  10383. description: 未执行现货量
  10384. type: number
  10385. wrstandardcode:
  10386. description: 现货品类代码
  10387. type: string
  10388. wrstandardid:
  10389. description: 现货品类ID(SEQ_WRSTANDARD)
  10390. type: integer
  10391. wrstandardname:
  10392. description: 现货品类名称
  10393. type: string
  10394. required:
  10395. - areauserid
  10396. - goodsid
  10397. - tradeuserid
  10398. type: object
  10399. models.InternalUncorrelatedTradeDetail:
  10400. properties:
  10401. accountid:
  10402. description: 账号ID
  10403. type: integer
  10404. accountname:
  10405. description: 套期主体
  10406. type: string
  10407. agreeunit:
  10408. description: 合约乘数
  10409. type: number
  10410. areauserid:
  10411. description: 所属机构
  10412. type: integer
  10413. bizsubjectid:
  10414. description: 归属业务部门ID - SubjectID
  10415. type: integer
  10416. buyorsell:
  10417. description: 方向 - 0:买 1:卖
  10418. type: integer
  10419. channelbuildtype:
  10420. description: 委托单据类型 0:无 1:建仓 2:平仓
  10421. type: integer
  10422. convertratio:
  10423. description: 品种系数
  10424. type: number
  10425. createtime:
  10426. description: 创建时间
  10427. type: string
  10428. creatorid:
  10429. description: 创建人ID
  10430. type: integer
  10431. creatorsrc:
  10432. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10433. type: integer
  10434. enableqty:
  10435. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10436. type: number
  10437. enumdicname:
  10438. description: 单位
  10439. type: string
  10440. goodscode:
  10441. description: 合约代码
  10442. type: string
  10443. goodsgroupid:
  10444. description: 对冲品种ID[期货合约商品组ID]
  10445. type: integer
  10446. goodsid:
  10447. description: 商品ID
  10448. type: integer
  10449. goodsname:
  10450. description: 合约名称
  10451. type: string
  10452. hedgeditemid:
  10453. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10454. type: integer
  10455. hedgeflag:
  10456. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10457. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10458. type: integer
  10459. linkdetailid:
  10460. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10461. type: string
  10462. linkstatus:
  10463. description: 关联状态 - 1:成功 2:失败 3:解绑
  10464. type: integer
  10465. middlegoodsid:
  10466. description: 套保品种ID
  10467. type: integer
  10468. middlegoodsqty:
  10469. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10470. type: number
  10471. relatedlot:
  10472. description: '[数量]关联手数'
  10473. type: number
  10474. relatedmode:
  10475. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10476. type: integer
  10477. relatedqty:
  10478. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10479. type: number
  10480. retcode:
  10481. description: 返回码
  10482. type: integer
  10483. saleuserid:
  10484. description: 业务员ID
  10485. type: integer
  10486. tradedate:
  10487. description: 关联交易日(yyyyMMdd)
  10488. type: string
  10489. tradeid:
  10490. description: 成交单号
  10491. type: string
  10492. tradelot:
  10493. description: 成交手数
  10494. type: integer
  10495. tradeprice:
  10496. description: 成交价
  10497. type: number
  10498. tradetime:
  10499. description: 成交时间
  10500. type: string
  10501. tradetradedate:
  10502. description: 成交交易日(yyyyMMdd)
  10503. type: string
  10504. tradeuserid:
  10505. description: 交易用户ID
  10506. type: integer
  10507. type: object
  10508. models.Loginaccount:
  10509. properties:
  10510. accountname:
  10511. description: 账户名称
  10512. type: string
  10513. canoutin:
  10514. description: 是否可出入金 - 0:不可 1:可
  10515. type: integer
  10516. clientroleid:
  10517. description: 终端角色ID
  10518. type: integer
  10519. haslogined:
  10520. description: 是否已登录 - 0:未登录 1:已登录
  10521. type: integer
  10522. hasupdatedpwd:
  10523. description: 是否已更改密码 - 0:未修改 1:已修改
  10524. type: integer
  10525. lastloginip:
  10526. description: 最新登录地址
  10527. type: string
  10528. lastloginmode:
  10529. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10530. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10531. type: integer
  10532. lastloginremark:
  10533. description: 最新登录描述
  10534. type: string
  10535. lastlogintime:
  10536. description: 最新登录时间
  10537. type: string
  10538. logincode:
  10539. description: 登录代码
  10540. type: string
  10541. loginfailnum:
  10542. description: 连续登录失败次数(登录成功时清零)
  10543. type: integer
  10544. loginid:
  10545. description: 登陆账号
  10546. type: integer
  10547. loginport:
  10548. description: 最新登录端口
  10549. type: integer
  10550. loginstatus:
  10551. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10552. type: integer
  10553. loginusertype:
  10554. description: 登录账号类型 - 1:投资者 2:机构交易员
  10555. type: integer
  10556. mobile:
  10557. description: 手机号码(加密存储)
  10558. type: string
  10559. modifierid:
  10560. description: 修改人
  10561. type: integer
  10562. modifysrc:
  10563. description: 审核来源 - 1:管理端 2:终端
  10564. type: integer
  10565. modifytime:
  10566. description: 修改时间
  10567. type: string
  10568. pwdwrongcount:
  10569. description: 密码错误次数
  10570. type: integer
  10571. relateduserid:
  10572. description: 关联用户ID(机构)
  10573. type: integer
  10574. taaccountrighttype:
  10575. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10576. type: integer
  10577. unfreezetime:
  10578. description: 账户解冻时间
  10579. type: string
  10580. userid:
  10581. description: 用户ID
  10582. type: integer
  10583. required:
  10584. - loginid
  10585. type: object
  10586. models.MainAccountInfo:
  10587. properties:
  10588. accountid:
  10589. description: 账号id
  10590. type: integer
  10591. accountname:
  10592. description: 账号名称(taaccount表中的名称)
  10593. type: string
  10594. appid:
  10595. description: AppID
  10596. type: string
  10597. authcode:
  10598. description: 授权码
  10599. type: string
  10600. brokerid:
  10601. description: 经纪商id
  10602. type: string
  10603. fcid:
  10604. description: 期货公司id
  10605. type: integer
  10606. fcname:
  10607. description: 期货公司代码
  10608. type: string
  10609. hedgeaccountcode:
  10610. description: 外部账号代码(主账号登录代码)
  10611. type: string
  10612. hedgeaccountpwd:
  10613. description: 密码
  10614. type: string
  10615. ismain:
  10616. description: 是否主账号
  10617. type: integer
  10618. relateduserid:
  10619. description: 关联用户id
  10620. type: integer
  10621. userid:
  10622. description: 关联用户id
  10623. type: integer
  10624. type: object
  10625. models.Market:
  10626. properties:
  10627. auctionwrtype:
  10628. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10629. type: integer
  10630. canacceptquote:
  10631. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10632. type: integer
  10633. cangoodsexercise:
  10634. description: '[期权]是否可现货行权- 0:否 1:是'
  10635. type: integer
  10636. cangoodsexercisetype:
  10637. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10638. type: integer
  10639. canmanualquotestrike:
  10640. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10641. type: integer
  10642. canmutistage:
  10643. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10644. type: integer
  10645. canpreexercise:
  10646. description: '[期权]是否可预申报- 0:否 1:是'
  10647. type: integer
  10648. clearinterval:
  10649. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10650. type: integer
  10651. contracttmp:
  10652. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10653. type: string
  10654. exchareaid:
  10655. description: 所属交易所,可以没有
  10656. type: integer
  10657. goodstype:
  10658. description: 商品类型 - 1:交易商品 2:仓单商品
  10659. type: integer
  10660. hasrebate:
  10661. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10662. type: integer
  10663. hastradecredit:
  10664. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10665. type: integer
  10666. haswr:
  10667. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10668. type: integer
  10669. isdeductmargin:
  10670. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10671. type: integer
  10672. isrecordsource:
  10673. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10674. type: integer
  10675. isreleasemargin:
  10676. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10677. type: integer
  10678. marginformula:
  10679. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10680. type: integer
  10681. marginformula2:
  10682. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10683. type: integer
  10684. marketid:
  10685. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10686. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10687. type: integer
  10688. marketname:
  10689. description: 市场名称
  10690. type: string
  10691. marketserviceid:
  10692. description: 市场服务ID
  10693. type: integer
  10694. marketstatus:
  10695. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10696. type: integer
  10697. markettype:
  10698. description: 市场类型- 1:非交易服务 2:交易服务
  10699. type: integer
  10700. matchermode:
  10701. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10702. type: integer
  10703. openmethod:
  10704. description: 开盘模式 - 0 自动 1手动
  10705. type: integer
  10706. otcuserid:
  10707. description: 场外期权做市商[场外期权]
  10708. type: integer
  10709. outersynctime:
  10710. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10711. type: string
  10712. pendingflag:
  10713. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10714. type: integer
  10715. pendingtime:
  10716. description: 待开市时间[通道交易-对冲](HH:mm)
  10717. type: string
  10718. performancetempid:
  10719. description: 履约计划模板ID - 作废
  10720. type: integer
  10721. premiumquotemode:
  10722. description: 权利金报价方式 - 1:自动 2:手动
  10723. type: integer
  10724. rebateratio:
  10725. description: 返利比率[竞价式]
  10726. type: number
  10727. reckonorder:
  10728. description: 结算顺序
  10729. type: integer
  10730. reckonpricealgorithm:
  10731. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10732. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10733. type: integer
  10734. reckonpriceparam:
  10735. description: 结算价参数
  10736. type: integer
  10737. reckontime:
  10738. description: 结算时间[通道交易-对冲](HH:mm)
  10739. type: string
  10740. roleprioritytype:
  10741. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10742. type: integer
  10743. selllistingauditflag:
  10744. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10745. type: integer
  10746. trademarkettype:
  10747. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10748. type: integer
  10749. trademode:
  10750. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10751. 21:竞拍-大宗式 22:受托竞价
  10752. type: integer
  10753. tradeproperty:
  10754. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10755. 8:场外期权
  10756. type: integer
  10757. tradetype:
  10758. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10759. type: integer
  10760. required:
  10761. - marketid
  10762. - marketstatus
  10763. - openmethod
  10764. - reckonpricealgorithm
  10765. - trademode
  10766. - tradeproperty
  10767. type: object
  10768. models.Marketcalendar:
  10769. properties:
  10770. holidaydate:
  10771. description: 节假日期(yyyy-MM-dd)
  10772. type: string
  10773. marketid:
  10774. description: 市场ID
  10775. type: integer
  10776. type: object
  10777. models.Marketrun:
  10778. properties:
  10779. afternexttradedate:
  10780. description: 下下交易日
  10781. type: string
  10782. clearquoteflag:
  10783. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10784. type: integer
  10785. lastreckondate:
  10786. description: 最新交易日(结算成功)
  10787. type: string
  10788. machinedate:
  10789. description: 机器时间
  10790. type: string
  10791. manualflag:
  10792. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10793. type: integer
  10794. marketid:
  10795. description: 市场ID
  10796. type: integer
  10797. nexttradedate:
  10798. description: 下一交易日
  10799. type: string
  10800. pretradedate:
  10801. description: 上一交易日
  10802. type: string
  10803. reckonflag:
  10804. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10805. type: integer
  10806. runstatus:
  10807. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10808. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10809. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10810. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10811. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10812. 62.今日免清算
  10813. type: integer
  10814. sectionid:
  10815. description: 时间段号[多时段时用]
  10816. type: integer
  10817. tradedate:
  10818. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10819. type: string
  10820. tradedate2:
  10821. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10822. type: string
  10823. updatetime:
  10824. description: 更新时间
  10825. type: string
  10826. required:
  10827. - marketid
  10828. - nexttradedate
  10829. - reckonflag
  10830. - runstatus
  10831. - tradedate
  10832. - tradedate2
  10833. type: object
  10834. models.Messageboard:
  10835. properties:
  10836. contactnum:
  10837. description: 联系电话
  10838. type: string
  10839. createtime:
  10840. description: 创建时间
  10841. type: string
  10842. message:
  10843. description: 留言信息
  10844. type: string
  10845. messageboardid:
  10846. description: 留言簿ID(SEQ_MessageBoard)
  10847. type: integer
  10848. userid:
  10849. description: 用户ID
  10850. type: integer
  10851. required:
  10852. - messageboardid
  10853. type: object
  10854. models.MyBargainApply:
  10855. properties:
  10856. accountid:
  10857. description: 摘牌资金账号
  10858. type: integer
  10859. applyprice:
  10860. description: 申请价格
  10861. type: string
  10862. applyremark:
  10863. description: 申请备注
  10864. type: string
  10865. applystatus:
  10866. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10867. type: integer
  10868. applytime:
  10869. description: 申请时间
  10870. type: string
  10871. buyorsell:
  10872. description: 买卖 - 0:买 1:卖
  10873. type: integer
  10874. confirmprice:
  10875. description: 可接受价格(拒绝时填写)-作废
  10876. type: number
  10877. confirmqty:
  10878. description: 可接受数量(拒绝时填写)-作废
  10879. type: integer
  10880. confirmremark:
  10881. description: 确认备注
  10882. type: string
  10883. confirmtime:
  10884. description: 确认时间
  10885. type: string
  10886. confirmuserid:
  10887. description: 确认人
  10888. type: integer
  10889. goodsno:
  10890. description: 商品编号
  10891. type: string
  10892. handlestatus:
  10893. description: 处理状态
  10894. type: integer
  10895. ladingbillid:
  10896. description: 摘牌方提单ID [卖]
  10897. type: integer
  10898. marketid:
  10899. description: 市场ID
  10900. type: integer
  10901. matchaccountid:
  10902. description: 挂牌方资金账号
  10903. type: integer
  10904. matchuserid:
  10905. description: 挂牌方用户ID
  10906. type: integer
  10907. performancetemplateid:
  10908. description: 履约计划模板ID
  10909. type: integer
  10910. price:
  10911. description: 价格
  10912. type: number
  10913. priceper:
  10914. description: 克拉单价 - 类型:1,2,3,5
  10915. type: string
  10916. qty:
  10917. description: 申请数量
  10918. type: number
  10919. refprice:
  10920. description: 参考价格
  10921. type: string
  10922. retcode:
  10923. description: 委托返回代码
  10924. type: integer
  10925. sellusername:
  10926. description: 卖方
  10927. type: string
  10928. sizedisplay:
  10929. description: 尺寸
  10930. type: string
  10931. subnum:
  10932. description: 摘牌方提单子单号 [卖]
  10933. type: integer
  10934. tradedate:
  10935. description: 交易日(yyyyMMdd)
  10936. type: string
  10937. userid:
  10938. description: 摘牌人用户ID
  10939. type: integer
  10940. warehousenamedisplay:
  10941. type: string
  10942. wrbargainid:
  10943. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10944. type: string
  10945. wrtradeorderid:
  10946. description: 关联委托单ID
  10947. type: string
  10948. zscerttypedisplay:
  10949. type: string
  10950. zsclaritytype1display:
  10951. type: string
  10952. zsclaritytype2display:
  10953. type: string
  10954. zscolortype1display:
  10955. type: string
  10956. zscolortype2display:
  10957. type: string
  10958. zscrystaltypedisplay:
  10959. type: string
  10960. zscurrencytypedisplay:
  10961. type: string
  10962. zscurrencytypedisplayunit:
  10963. type: string
  10964. zscuttype1display:
  10965. type: string
  10966. zscuttype2display:
  10967. type: string
  10968. zsczcolor1typedisplay:
  10969. type: string
  10970. zsczcolor2typedisplay:
  10971. type: string
  10972. zsczcolor3typedisplay:
  10973. type: string
  10974. zsfluorescencetype1display:
  10975. type: string
  10976. zsfluorescencetype2display:
  10977. type: string
  10978. zspolishtype1display:
  10979. type: string
  10980. zspolishtype2display:
  10981. type: string
  10982. zsshapetypedisplay:
  10983. type: string
  10984. zsstyletypedisplay:
  10985. type: string
  10986. zssymmetrytype1display:
  10987. type: string
  10988. zssymmetrytype2display:
  10989. type: string
  10990. required:
  10991. - userid
  10992. type: object
  10993. models.MyBuyOrder:
  10994. properties:
  10995. accountid:
  10996. description: 资金账户ID
  10997. type: integer
  10998. marketid:
  10999. description: 市场ID
  11000. type: integer
  11001. ordertime:
  11002. description: 委托时间
  11003. type: string
  11004. origin:
  11005. description: 原产地
  11006. type: string
  11007. performancetemplateid:
  11008. description: 履约计划模板ID
  11009. type: integer
  11010. remark:
  11011. description: 备注
  11012. type: string
  11013. userid:
  11014. description: 用户ID
  11015. type: integer
  11016. validtime:
  11017. description: 有效期限
  11018. type: string
  11019. warehouseids:
  11020. description: 仓库ID - 多个, 逗号分隔
  11021. type: string
  11022. warehouseinfosdisplay:
  11023. type: string
  11024. wrtradeorderid:
  11025. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11026. type: string
  11027. wrtradeorderstatus:
  11028. 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:撤单解冻贷款失败WRTrade_OrderDetail、
  11029. type: integer
  11030. zscategory:
  11031. description: 钻石分类 - 枚举”ZSCategory“
  11032. type: integer
  11033. zscategorydisplay:
  11034. type: string
  11035. zsclaritytype:
  11036. description: 净度 - 两个, 逗号分隔
  11037. type: string
  11038. zsclaritytypedisplay:
  11039. type: string
  11040. zscolortype:
  11041. description: 颜色 - 两个, 逗号分隔
  11042. type: string
  11043. zscolortypedisplay:
  11044. type: string
  11045. zscrystaltype:
  11046. description: 晶型 - 多个,逗号分隔
  11047. type: string
  11048. zscrystaltypedisplay:
  11049. type: string
  11050. zscurrencytype:
  11051. description: 货币类型 - 多个, 逗号分隔
  11052. type: string
  11053. zscurrencytypedisplay:
  11054. type: string
  11055. zscuttype:
  11056. description: 切工 - 两个, 逗号分隔
  11057. type: string
  11058. zscuttypedisplay:
  11059. type: string
  11060. zsczcolor1type:
  11061. description: 彩钻颜色1, 逗号分隔
  11062. type: string
  11063. zsczcolor1typedisplay:
  11064. type: string
  11065. zsczcolor2type:
  11066. description: 彩钻颜色2, 逗号分隔
  11067. type: string
  11068. zsczcolor2typedisplay:
  11069. type: string
  11070. zsczcolor3type:
  11071. description: 彩钻颜色3, 逗号分隔
  11072. type: string
  11073. zsczcolor3typedisplay:
  11074. type: string
  11075. zsfluorescencetype:
  11076. description: 荧光 - 多个, 逗号分隔
  11077. type: string
  11078. zsfluorescencetypedisplay:
  11079. type: string
  11080. zspolishtype:
  11081. description: 抛光度 - 两个, 逗号分隔
  11082. type: string
  11083. zspolishtypedisplay:
  11084. type: string
  11085. zsshapetype:
  11086. description: 形状 - 多个, 逗号分隔
  11087. type: string
  11088. zsshapetypedisplay:
  11089. type: string
  11090. zssize:
  11091. description: 尺寸 - 两个小数, 逗号分隔
  11092. type: string
  11093. zsstyletype:
  11094. description: 款式 - 多个, 逗号分隔
  11095. type: string
  11096. zsstyletypedisplay:
  11097. type: string
  11098. zssymmetrytype:
  11099. description: 对称度 - 两个, 逗号分隔
  11100. type: string
  11101. zssymmetrytypedisplay:
  11102. type: string
  11103. zstabledisplay:
  11104. description: 求购信息
  11105. type: string
  11106. required:
  11107. - userid
  11108. type: object
  11109. models.MyDeListing:
  11110. properties:
  11111. buyaccountid:
  11112. description: 买方账号ID
  11113. type: integer
  11114. buychargevalue:
  11115. description: 买方手续费
  11116. type: number
  11117. buyuserid:
  11118. description: 买方用户ID
  11119. type: integer
  11120. deliverygoodsid:
  11121. description: 现货品种ID
  11122. type: integer
  11123. exchangerate:
  11124. description: 汇率
  11125. type: number
  11126. goodsno:
  11127. description: 商品编号
  11128. type: string
  11129. marketid:
  11130. description: 市场ID
  11131. type: integer
  11132. matchusername:
  11133. description: 对手方
  11134. type: string
  11135. oritradeamount:
  11136. description: 成交金额[商品币种]
  11137. type: number
  11138. performanceplanid:
  11139. description: 履约计划ID/合同ID
  11140. type: string
  11141. price:
  11142. description: 价格
  11143. type: number
  11144. qty:
  11145. description: 成交重量
  11146. type: number
  11147. sellaccountid:
  11148. description: 卖方账号ID
  11149. type: integer
  11150. sellchargevalue:
  11151. description: 卖方手续费
  11152. type: number
  11153. selluserid:
  11154. description: 卖方用户ID
  11155. type: integer
  11156. sizedisplay:
  11157. description: 尺寸
  11158. type: string
  11159. tradeamount:
  11160. description: 成交金额
  11161. type: number
  11162. tradedate:
  11163. description: 交易日(yyyyMMdd)
  11164. type: string
  11165. tradeprice:
  11166. description: 成交价格
  11167. type: number
  11168. tradetime:
  11169. description: 成交时间
  11170. type: string
  11171. userid:
  11172. description: 用户ID
  11173. type: integer
  11174. warehousenamedisplay:
  11175. type: string
  11176. wrfactortypeid:
  11177. description: 仓单要素类型ID
  11178. type: integer
  11179. wrstandardid:
  11180. description: 现货商品ID
  11181. type: integer
  11182. wrtradedetailid:
  11183. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11184. type: string
  11185. zscategory:
  11186. description: 钻石分类 - 枚举”ZSCategory“
  11187. type: integer
  11188. zscategorydisplay:
  11189. type: string
  11190. zscerttypedisplay:
  11191. type: string
  11192. zsclaritytype1display:
  11193. type: string
  11194. zsclaritytype2display:
  11195. type: string
  11196. zscolortype1display:
  11197. type: string
  11198. zscolortype2display:
  11199. type: string
  11200. zscrystaltypedisplay:
  11201. type: string
  11202. zscurrencytype:
  11203. description: 货币类型 - 枚举“ZSCurrencyType”
  11204. type: integer
  11205. zscurrencytypedisplay:
  11206. type: string
  11207. zscurrencytypedisplayunit:
  11208. type: string
  11209. zscuttype1display:
  11210. type: string
  11211. zscuttype2display:
  11212. type: string
  11213. zsczcolor1typedisplay:
  11214. type: string
  11215. zsczcolor2typedisplay:
  11216. type: string
  11217. zsczcolor3typedisplay:
  11218. type: string
  11219. zsfluorescencetype1display:
  11220. type: string
  11221. zsfluorescencetype2display:
  11222. type: string
  11223. zspolishtype1display:
  11224. type: string
  11225. zspolishtype2display:
  11226. type: string
  11227. zsshapetypedisplay:
  11228. type: string
  11229. zsstyletypedisplay:
  11230. type: string
  11231. zssymmetrytype1display:
  11232. type: string
  11233. zssymmetrytype2display:
  11234. type: string
  11235. required:
  11236. - userid
  11237. type: object
  11238. models.MyDelistingApply:
  11239. properties:
  11240. applyprice:
  11241. description: 申请价格
  11242. type: number
  11243. applyqty:
  11244. description: 申请数量
  11245. type: number
  11246. applyremark:
  11247. description: 申请备注
  11248. type: string
  11249. applystatus:
  11250. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11251. type: integer
  11252. applytime:
  11253. description: 申请时间
  11254. type: string
  11255. auditremark:
  11256. description: 确认备注
  11257. type: string
  11258. audittime:
  11259. description: 确认时间
  11260. type: string
  11261. buyuserid:
  11262. description: 买方用户ID
  11263. type: integer
  11264. buyusername:
  11265. type: string
  11266. buywrtradeorderid:
  11267. description: 买委托单ID
  11268. type: string
  11269. goodsno:
  11270. description: 商品编号
  11271. type: string
  11272. ladingbillid:
  11273. description: 卖方提单ID
  11274. type: string
  11275. marketid:
  11276. description: 市场ID
  11277. type: integer
  11278. performancetemplateid:
  11279. description: 履约计划模板ID
  11280. type: integer
  11281. price:
  11282. description: 价格
  11283. type: number
  11284. sellaccountid:
  11285. description: 卖方账户ID
  11286. type: integer
  11287. selldelistingapplyid:
  11288. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11289. type: string
  11290. selltradeorderid:
  11291. description: 卖方委托ID(买方确认成交后更新)
  11292. type: string
  11293. selluserid:
  11294. description: 卖方用户ID
  11295. type: integer
  11296. sizedisplay:
  11297. description: 尺寸
  11298. type: string
  11299. subnum:
  11300. description: 卖方提单子单号
  11301. type: integer
  11302. warehouseinfosdisplay:
  11303. type: string
  11304. weight:
  11305. description: 克拉重量
  11306. type: number
  11307. wrfactortypeid:
  11308. description: 仓单要素类型ID
  11309. type: string
  11310. wrstandardid:
  11311. description: 现货商品ID
  11312. type: integer
  11313. zsallproperties:
  11314. type: string
  11315. zscategorydisplay:
  11316. type: string
  11317. zsclaritytypedisplay:
  11318. type: string
  11319. zscolortypedisplay:
  11320. type: string
  11321. zscrystaltypedisplay:
  11322. type: string
  11323. zscurrencytypedisplay:
  11324. type: string
  11325. zscuttypedisplay:
  11326. type: string
  11327. zsczcolor1typedisplay:
  11328. type: string
  11329. zsczcolor2typedisplay:
  11330. type: string
  11331. zsczcolor3typedisplay:
  11332. type: string
  11333. zsfluorescencetypedisplay:
  11334. type: string
  11335. zspolishtypedisplay:
  11336. type: string
  11337. zsshapetypedisplay:
  11338. type: string
  11339. zssizedisplay:
  11340. type: string
  11341. zsstyletypedisplay:
  11342. type: string
  11343. zssymmetrytypedisplay:
  11344. type: string
  11345. zstabledisplay:
  11346. type: string
  11347. required:
  11348. - selluserid
  11349. type: object
  11350. models.MyFavorite:
  11351. properties:
  11352. buyorsell:
  11353. description: 买卖 - 0:买 1:卖
  11354. type: integer
  11355. favoritestatus:
  11356. description: 收藏状态 - 1:正常 2:失效
  11357. type: integer
  11358. goodsno:
  11359. description: 商品编号
  11360. type: string
  11361. marketid:
  11362. description: 市场ID
  11363. type: integer
  11364. price:
  11365. description: 价格
  11366. type: number
  11367. priceper:
  11368. description: 克拉单价
  11369. type: string
  11370. sizedisplay:
  11371. description: 尺寸
  11372. type: string
  11373. userid:
  11374. description: 用户ID
  11375. type: integer
  11376. warehousenamedisplay:
  11377. type: string
  11378. weight:
  11379. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11380. type: number
  11381. weightavg:
  11382. description: 平均单颗重量 - 类型:1,3
  11383. type: number
  11384. wrfactortypeid:
  11385. description: 仓单要素类型ID/商品ID(77)
  11386. type: string
  11387. wrstandardid:
  11388. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11389. type: integer
  11390. wrtradeorderid:
  11391. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11392. type: string
  11393. zscategory:
  11394. description: 钻石分类 - 枚举”ZSCategory“
  11395. type: integer
  11396. zscategorydisplay:
  11397. type: string
  11398. zscerttypedisplay:
  11399. type: string
  11400. zsclaritytype1display:
  11401. type: string
  11402. zsclaritytype2display:
  11403. type: string
  11404. zscolortype1display:
  11405. type: string
  11406. zscolortype2display:
  11407. type: string
  11408. zscrystaltypedisplay:
  11409. type: string
  11410. zscurrencytypedisplay:
  11411. type: string
  11412. zscurrencytypedisplayunit:
  11413. type: string
  11414. zscuttype1display:
  11415. type: string
  11416. zscuttype2display:
  11417. type: string
  11418. zsczcolor1typedisplay:
  11419. type: string
  11420. zsczcolor2typedisplay:
  11421. type: string
  11422. zsczcolor3typedisplay:
  11423. type: string
  11424. zsfluorescencetype1display:
  11425. type: string
  11426. zsfluorescencetype2display:
  11427. type: string
  11428. zspolishtype1display:
  11429. type: string
  11430. zspolishtype2display:
  11431. type: string
  11432. zsshapetypedisplay:
  11433. type: string
  11434. zsstyletypedisplay:
  11435. type: string
  11436. zssymmetrytype1display:
  11437. type: string
  11438. zssymmetrytype2display:
  11439. type: string
  11440. required:
  11441. - userid
  11442. type: object
  11443. models.MyPerformanc:
  11444. properties:
  11445. accountname:
  11446. description: '[对手方]账户名称(机构名称)'
  11447. type: string
  11448. amount:
  11449. description: 履约金额
  11450. type: number
  11451. buyaccountid:
  11452. description: 买方账号
  11453. type: integer
  11454. buyerfreezeamount:
  11455. description: 买方履约前冻结资金
  11456. type: number
  11457. buyerfreezeamountremain:
  11458. description: 买方履约前冻结资金剩余
  11459. type: number
  11460. buyerinfo:
  11461. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11462. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11463. type: string
  11464. buyorsell:
  11465. description: 方向 - 0:买 1:卖
  11466. type: integer
  11467. buypaidamount:
  11468. description: 买方已冻/已扣金额
  11469. type: number
  11470. curstepid:
  11471. description: 当前步骤ID
  11472. type: string
  11473. goodsno:
  11474. description: 商品编号
  11475. type: string
  11476. overshortamount:
  11477. description: 溢短金额
  11478. type: number
  11479. paymenttype:
  11480. description: 买方支付方式 - 1:冻结 2:扣款
  11481. type: integer
  11482. performanceplanid:
  11483. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11484. type: string
  11485. performancestatus:
  11486. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11487. 9:超时待处理 10:超时关闭
  11488. type: integer
  11489. price:
  11490. description: 价格
  11491. type: number
  11492. priceper:
  11493. description: 克拉单价
  11494. type: string
  11495. relatedorderid:
  11496. description: 关联单号(履约类型的关联单号)
  11497. type: string
  11498. remaindays:
  11499. description: 剩余天数
  11500. type: integer
  11501. sellerfreezeamount:
  11502. description: 卖方履约前冻结资金
  11503. type: number
  11504. sellerfreezeamountremain:
  11505. description: 卖方履约前冻结资金剩余
  11506. type: number
  11507. sellerinfo:
  11508. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11509. "xxxxxxxx"}'
  11510. type: string
  11511. sellreceivedamount:
  11512. description: 卖方已收金额
  11513. type: number
  11514. sizedisplay:
  11515. description: 尺寸
  11516. type: string
  11517. steptypeid:
  11518. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11519. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11520. type: integer
  11521. warehousenamedisplay:
  11522. type: string
  11523. zscategorydisplay:
  11524. type: string
  11525. zscerttypedisplay:
  11526. type: string
  11527. zsclaritytype1display:
  11528. type: string
  11529. zsclaritytype2display:
  11530. type: string
  11531. zscolortype1display:
  11532. type: string
  11533. zscolortype2display:
  11534. type: string
  11535. zscrystaltypedisplay:
  11536. type: string
  11537. zscurrencytypedisplay:
  11538. type: string
  11539. zscurrencytypedisplayunit:
  11540. type: string
  11541. zscuttype1display:
  11542. type: string
  11543. zscuttype2display:
  11544. type: string
  11545. zsczcolor1typedisplay:
  11546. type: string
  11547. zsczcolor2typedisplay:
  11548. type: string
  11549. zsczcolor3typedisplay:
  11550. type: string
  11551. zsfluorescencetype1display:
  11552. type: string
  11553. zsfluorescencetype2display:
  11554. type: string
  11555. zspolishtype1display:
  11556. type: string
  11557. zspolishtype2display:
  11558. type: string
  11559. zsshapetypedisplay:
  11560. type: string
  11561. zsstyletypedisplay:
  11562. type: string
  11563. zssymmetrytype1display:
  11564. type: string
  11565. zssymmetrytype2display:
  11566. type: string
  11567. type: object
  11568. models.MySellOrder:
  11569. properties:
  11570. accountid:
  11571. description: 资金账号
  11572. type: integer
  11573. applyid:
  11574. description: 申请单ID
  11575. type: integer
  11576. attachment1:
  11577. description: 附件1
  11578. type: string
  11579. attachment2:
  11580. description: 附件2
  11581. type: string
  11582. buyorsell:
  11583. description: 买卖 - 0:买 1:卖
  11584. type: integer
  11585. canbargain:
  11586. description: 是否可议价 - 0:不可 1:可
  11587. type: integer
  11588. cancelqty:
  11589. description: 撤销数量
  11590. type: integer
  11591. canceltime:
  11592. description: 撤销时间
  11593. type: string
  11594. cerno:
  11595. type: string
  11596. chargealgorithm:
  11597. description: 手续费收取方式 1:比率 2:固定
  11598. type: integer
  11599. chargealgorithmvalue:
  11600. description: 手续费设置值(交易所部分)
  11601. type: number
  11602. chargealgorithmvalue2:
  11603. description: 手续费设置值(会员部分)
  11604. type: number
  11605. clientordertime:
  11606. description: 客户端委托时间
  11607. type: string
  11608. cpcertno:
  11609. type: string
  11610. exchangerate:
  11611. description: 汇率[67]
  11612. type: number
  11613. firstratio:
  11614. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11615. type: number
  11616. fixedprice:
  11617. description: '[克拉单价]固定价格 - [挂牌]'
  11618. type: number
  11619. freezecharge:
  11620. description: 冻结手续费
  11621. type: number
  11622. freezefirstamount:
  11623. description: 冻结首付金额 - [摘牌]
  11624. type: number
  11625. freezemargin:
  11626. description: 冻结保证金
  11627. type: number
  11628. goodsno:
  11629. description: 商品编号
  11630. type: string
  11631. imagepath:
  11632. type: string
  11633. isspecified:
  11634. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11635. type: integer
  11636. kppath:
  11637. type: string
  11638. kpweight:
  11639. type: string
  11640. marginalgorithm:
  11641. description: 保证金方式 - 1:比率 2:固定
  11642. type: integer
  11643. marginvalue:
  11644. description: 保证金设置值
  11645. type: number
  11646. marketid:
  11647. description: 市场ID
  11648. type: integer
  11649. marketprice:
  11650. type: string
  11651. orderamount:
  11652. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11653. type: number
  11654. ordertime:
  11655. description: 委托时间
  11656. type: string
  11657. performancetemplateid:
  11658. description: 履约计划模板ID
  11659. type: integer
  11660. price:
  11661. description: 价格
  11662. type: number
  11663. pricefactor:
  11664. description: 价格系数(浮动价时填写) - [挂牌]
  11665. type: number
  11666. pricemove:
  11667. description: 升贴水(浮动价时填写) - [挂牌]
  11668. type: number
  11669. priceper:
  11670. type: string
  11671. relatedwrtradeorderid:
  11672. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11673. type: integer
  11674. remark:
  11675. type: string
  11676. retcode:
  11677. description: 错误代码
  11678. type: integer
  11679. selledqty:
  11680. description: 成交重量
  11681. type: number
  11682. settingmaterial:
  11683. type: string
  11684. size1:
  11685. type: string
  11686. size2:
  11687. type: string
  11688. size3:
  11689. type: string
  11690. stonedesc:
  11691. type: string
  11692. totalqty:
  11693. description: 总重量
  11694. type: number
  11695. tradedate:
  11696. description: 交易日(yyyyMMdd)
  11697. type: string
  11698. tradeprice:
  11699. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11700. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11701. type: number
  11702. unfreezecharge:
  11703. description: 解冻手续费
  11704. type: number
  11705. unfreezefirstamount:
  11706. description: 解冻首付金额 - [摘牌]
  11707. type: number
  11708. unfreezemargin:
  11709. description: 解冻保证金
  11710. type: number
  11711. userid:
  11712. description: 用户ID
  11713. type: integer
  11714. uuid:
  11715. description: 发起端唯一id
  11716. type: string
  11717. validtime:
  11718. description: 有效期限
  11719. type: string
  11720. validtype:
  11721. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11722. type: integer
  11723. warehousenamedisplay:
  11724. type: string
  11725. wrbargainid:
  11726. description: 议价申请单ID
  11727. type: integer
  11728. wrfactortypeid:
  11729. description: 仓单要素类型ID/商品ID(77)
  11730. type: integer
  11731. wrpath:
  11732. type: string
  11733. wrpricetype:
  11734. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11735. type: integer
  11736. wrstandardid:
  11737. description: 现货商品ID
  11738. type: integer
  11739. wrtradeorderid:
  11740. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11741. type: string
  11742. wrtradeorderstatus:
  11743. 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:撤单解冻贷款失败
  11744. type: integer
  11745. wrtradetype:
  11746. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11747. type: integer
  11748. wrtransferuserid:
  11749. description: 仓单受让用户 - [摘牌]
  11750. type: integer
  11751. zscategory:
  11752. description: 钻石分类 - 枚举”ZSCategory“
  11753. type: integer
  11754. zscategorydisplay:
  11755. description: 钻石分类 - 描述
  11756. type: string
  11757. zscerttypedisplay:
  11758. type: string
  11759. zsclaritytype1display:
  11760. type: string
  11761. zsclaritytype2display:
  11762. type: string
  11763. zscolortype1display:
  11764. type: string
  11765. zscolortype2display:
  11766. type: string
  11767. zscrystaltype:
  11768. type: string
  11769. zscrystaltypedisplay:
  11770. type: string
  11771. zscurrencytype:
  11772. description: 货币类型 - 枚举“ZSCurrencyType”
  11773. type: integer
  11774. zscurrencytypedisplay:
  11775. type: string
  11776. zscurrencytypedisplayunit:
  11777. type: string
  11778. zscuttype1display:
  11779. type: string
  11780. zscuttype2display:
  11781. type: string
  11782. zsczcolor1typedisplay:
  11783. type: string
  11784. zsczcolor2typedisplay:
  11785. type: string
  11786. zsczcolor3typedisplay:
  11787. type: string
  11788. zsfluorescencetype1display:
  11789. type: string
  11790. zsfluorescencetype2display:
  11791. type: string
  11792. zspolishtype1display:
  11793. type: string
  11794. zspolishtype2display:
  11795. type: string
  11796. zsshapetypedisplay:
  11797. type: string
  11798. zsstyletypedisplay:
  11799. type: string
  11800. zssymmetrytype1display:
  11801. type: string
  11802. zssymmetrytype2display:
  11803. type: string
  11804. required:
  11805. - userid
  11806. type: object
  11807. models.MyWRPosition:
  11808. properties:
  11809. cerno:
  11810. description: 证书编号 - 类型:2,4,5
  11811. type: string
  11812. cpcertno:
  11813. description: 金伯利证书编号 - 类型:3
  11814. type: string
  11815. ffreezeqty:
  11816. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11817. type: number
  11818. ftotalqty:
  11819. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11820. type: number
  11821. goodsno:
  11822. description: 商品编号
  11823. type: string
  11824. imagepath:
  11825. description: 商品照片(相对地址)
  11826. type: string
  11827. isvalid:
  11828. description: 是否有效 - 0:无效 1:有效
  11829. type: integer
  11830. kppath:
  11831. description: 金伯利证书图片(相对地址) - 类型:3
  11832. type: string
  11833. kpweight:
  11834. description: 金伯利证书重量 - 类型:3
  11835. type: string
  11836. ladingbillid:
  11837. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11838. type: string
  11839. marketflag:
  11840. description: 是否上架,0-全部 1-是 2-否
  11841. type: integer
  11842. marketprice:
  11843. description: 市场价
  11844. type: string
  11845. origin:
  11846. description: 原产地 - 类型:3
  11847. type: string
  11848. price:
  11849. description: 总价(价格) - 类型:1,2,3,4,5
  11850. type: number
  11851. priceper:
  11852. description: 克拉单价 - 类型:1,2,3,5
  11853. type: string
  11854. remark:
  11855. description: 备注
  11856. type: string
  11857. sellmobile:
  11858. description: 手机号码(加密存储)
  11859. type: string
  11860. sellusername:
  11861. description: 账户名称(机构名称)
  11862. type: string
  11863. settingmaterial:
  11864. description: 镶嵌材料 - 类型:4
  11865. type: string
  11866. size1:
  11867. description: 尺寸1 - 类型:2,4,5
  11868. type: string
  11869. size2:
  11870. description: 尺寸2 - 类型:2,4,5
  11871. type: string
  11872. size3:
  11873. description: 尺寸3 - 类型:2,4,5
  11874. type: string
  11875. stonedesc:
  11876. description: 配石描述 - 类型:4
  11877. type: string
  11878. subnum:
  11879. description: 提单子单号
  11880. type: integer
  11881. userid:
  11882. description: 用户ID
  11883. type: integer
  11884. warehouseid:
  11885. description: 仓库ID
  11886. type: integer
  11887. warehousenamedisplay:
  11888. type: string
  11889. weight:
  11890. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11891. type: number
  11892. weightavg:
  11893. description: 平均单颗重量 - 类型:1,3
  11894. type: number
  11895. wrpath:
  11896. description: 仓单扫描件(相对地址)
  11897. type: string
  11898. wrstandardid:
  11899. description: 现货商品ID
  11900. type: integer
  11901. wrtradeorderid:
  11902. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11903. type: string
  11904. wruserid:
  11905. description: 登录用户ID
  11906. type: integer
  11907. zscategory:
  11908. description: 钻石分类 - 枚举”ZSCategory“
  11909. type: integer
  11910. zscategorydisplay:
  11911. type: string
  11912. zscerttype:
  11913. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11914. type: integer
  11915. zscerttypedisplay:
  11916. type: string
  11917. zsclaritytype1:
  11918. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11919. type: integer
  11920. zsclaritytype1display:
  11921. type: string
  11922. zsclaritytype2:
  11923. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11924. type: integer
  11925. zsclaritytype2display:
  11926. type: string
  11927. zscolortype1:
  11928. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11929. type: integer
  11930. zscolortype1display:
  11931. type: string
  11932. zscolortype2:
  11933. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11934. type: integer
  11935. zscolortype2display:
  11936. type: string
  11937. zscrystaltype:
  11938. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11939. type: string
  11940. zscrystaltypedisplay:
  11941. type: string
  11942. zscurrencytype:
  11943. description: 货币类型 - 枚举“ZSCurrencyType”
  11944. type: integer
  11945. zscurrencytypedisplay:
  11946. type: string
  11947. zscurrencytypedisplayunit:
  11948. type: string
  11949. zscuttype1:
  11950. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11951. type: integer
  11952. zscuttype1display:
  11953. type: string
  11954. zscuttype2:
  11955. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11956. type: integer
  11957. zscuttype2display:
  11958. type: string
  11959. zsczcolor1type:
  11960. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11961. type: integer
  11962. zsczcolor1typedisplay:
  11963. type: string
  11964. zsczcolor2type:
  11965. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11966. type: integer
  11967. zsczcolor2typedisplay:
  11968. type: string
  11969. zsczcolor3type:
  11970. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11971. type: integer
  11972. zsczcolor3typedisplay:
  11973. type: string
  11974. zsfluorescencetype1:
  11975. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11976. type: integer
  11977. zsfluorescencetype1display:
  11978. type: string
  11979. zsfluorescencetype2:
  11980. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11981. type: integer
  11982. zsfluorescencetype2display:
  11983. type: string
  11984. zspolishtype1:
  11985. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11986. type: integer
  11987. zspolishtype1display:
  11988. type: string
  11989. zspolishtype2:
  11990. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11991. type: integer
  11992. zspolishtype2display:
  11993. type: string
  11994. zsshapetype:
  11995. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11996. type: string
  11997. zsshapetypedisplay:
  11998. type: string
  11999. zsstyletype:
  12000. description: 款式 - 类型:4
  12001. type: integer
  12002. zsstyletypedisplay:
  12003. type: string
  12004. zssymmetrytype1:
  12005. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12006. type: integer
  12007. zssymmetrytype1display:
  12008. type: string
  12009. zssymmetrytype2:
  12010. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12011. type: integer
  12012. zssymmetrytype2display:
  12013. type: string
  12014. required:
  12015. - wruserid
  12016. type: object
  12017. models.NewFuncmenulist:
  12018. properties:
  12019. authtype:
  12020. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12021. type: integer
  12022. buttonname:
  12023. description: 按钮名称
  12024. type: string
  12025. buttontype:
  12026. description: 按钮类型 - 存按钮样式
  12027. type: string
  12028. component:
  12029. description: 组件名或组件地址
  12030. type: string
  12031. hidden:
  12032. description: 是否隐藏 - 0:显示 1:隐藏
  12033. type: integer
  12034. iconame:
  12035. description: 菜单图标
  12036. type: string
  12037. menutype:
  12038. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12039. type: integer
  12040. parentcode:
  12041. description: 上级资源代码
  12042. type: string
  12043. remark:
  12044. description: Remark
  12045. type: string
  12046. resourcecode:
  12047. description: 资源代码
  12048. type: string
  12049. resourcelevel:
  12050. description: 级别1-一级 2-二级 3-三级4-四级
  12051. type: integer
  12052. resourcename:
  12053. description: 资源名(Title)
  12054. type: string
  12055. sort:
  12056. description: 排序
  12057. type: integer
  12058. url:
  12059. description: Url
  12060. type: string
  12061. urltype:
  12062. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12063. type: integer
  12064. required:
  12065. - resourcecode
  12066. type: object
  12067. models.OperationPrimaryMenu:
  12068. properties:
  12069. Children:
  12070. description: 二级功能菜单
  12071. items:
  12072. $ref: '#/definitions/models.OperationSecondaryMenu'
  12073. type: array
  12074. Key:
  12075. description: 菜单KEY
  12076. type: string
  12077. Label:
  12078. description: 菜单标题
  12079. type: string
  12080. type: object
  12081. models.OperationSecondaryMenu:
  12082. properties:
  12083. Key:
  12084. description: 菜单KEY
  12085. type: string
  12086. Label:
  12087. description: 菜单标题
  12088. type: string
  12089. TabList:
  12090. description: 三级功能菜单
  12091. items:
  12092. $ref: '#/definitions/models.OperationTabMenu'
  12093. type: array
  12094. type: object
  12095. models.OperationTabMenu:
  12096. properties:
  12097. Key:
  12098. description: 菜单KEY
  12099. type: string
  12100. Label:
  12101. description: 菜单标题
  12102. type: string
  12103. type: object
  12104. models.Patradelinkdetail:
  12105. properties:
  12106. accountname:
  12107. description: 套期主体
  12108. type: string
  12109. agreeunit:
  12110. description: 合约乘数
  12111. type: number
  12112. amount:
  12113. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12114. type: number
  12115. areauserid:
  12116. description: 所属机构
  12117. type: integer
  12118. bizsubjectid:
  12119. description: 归属业务部门ID - SubjectID
  12120. type: integer
  12121. buyorsell:
  12122. description: 方向 - 0:买 1:卖
  12123. type: integer
  12124. convertratio:
  12125. description: 品种系数
  12126. type: number
  12127. convertratiochange:
  12128. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12129. type: number
  12130. createtime:
  12131. description: '[日期时间]创建时间'
  12132. type: string
  12133. creatorid:
  12134. description: 创建人ID
  12135. type: integer
  12136. creatorsrc:
  12137. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12138. type: integer
  12139. goodscode:
  12140. description: 商品代码(内部)
  12141. type: string
  12142. goodsgroupid:
  12143. description: 对冲品种ID[期货合约商品组ID]
  12144. type: integer
  12145. goodsid:
  12146. description: 商品ID
  12147. type: integer
  12148. hedgeditemid:
  12149. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12150. type: integer
  12151. hedgeflag:
  12152. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12153. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12154. type: integer
  12155. linkdetailid:
  12156. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12157. type: string
  12158. linkstatus:
  12159. description: 关联状态 - 1:成功 2:失败 3:解绑
  12160. type: integer
  12161. middlegoodsid:
  12162. description: 套保品种ID
  12163. type: integer
  12164. name:
  12165. description: 账户名/子账户
  12166. type: string
  12167. optioncode:
  12168. description: '[期货合约]期权代码 [期权]'
  12169. type: string
  12170. ordertype:
  12171. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12172. type: integer
  12173. relatedlot:
  12174. description: '[数量]关联手数'
  12175. type: number
  12176. relatedmode:
  12177. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12178. type: integer
  12179. relatedqty:
  12180. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12181. type: number
  12182. retcode:
  12183. description: 返回码
  12184. type: integer
  12185. saleuserid:
  12186. description: 业务员ID
  12187. type: integer
  12188. tradedate:
  12189. description: 关联交易日(yyyyMMdd)
  12190. type: string
  12191. tradeid:
  12192. description: '[成交单号]内部成交单ID'
  12193. type: string
  12194. tradelot:
  12195. description: 成交手数
  12196. type: integer
  12197. tradeprice:
  12198. description: '[价格]成交价格'
  12199. type: number
  12200. tradetradedate:
  12201. description: 成交交易日(yyyyMMdd)
  12202. type: string
  12203. type: object
  12204. models.QhjAccountOutInApply:
  12205. properties:
  12206. accountcode:
  12207. description: 资金账号
  12208. type: string
  12209. accountname:
  12210. description: 用户名称(名称)
  12211. type: string
  12212. accountpwd:
  12213. description: 资金密码
  12214. type: string
  12215. accountticket:
  12216. description: 最新账户服务流水号
  12217. type: string
  12218. amount:
  12219. description: 金额
  12220. type: number
  12221. applyremark:
  12222. description: 申请备注
  12223. type: string
  12224. applystatus:
  12225. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12226. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12227. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12228. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12229. type: integer
  12230. auditid:
  12231. description: 审核人
  12232. type: integer
  12233. audittime:
  12234. description: 审核时间
  12235. type: string
  12236. bank_apply_ticket:
  12237. description: 银行申请流水
  12238. type: string
  12239. bankaccountname:
  12240. description: 银行账户名
  12241. type: string
  12242. bankaccountno:
  12243. description: 银行卡号
  12244. type: string
  12245. bankid:
  12246. description: 银行编号
  12247. type: string
  12248. bankticket:
  12249. description: 银行流水
  12250. type: string
  12251. branchbankid:
  12252. description: 银行支行号
  12253. type: string
  12254. branchbankname:
  12255. description: 银行支行名称
  12256. type: string
  12257. capamountout:
  12258. description: 出金(劣后本金) - 外部子账户
  12259. type: number
  12260. certificatephotourl:
  12261. description: 凭证地址
  12262. type: string
  12263. charge:
  12264. description: 手续费
  12265. type: number
  12266. checkerrorflag:
  12267. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12268. type: integer
  12269. currency:
  12270. description: 币种
  12271. type: string
  12272. cusbankid:
  12273. description: 托管银行编号
  12274. type: string
  12275. cusbankname:
  12276. description: 托管银行名称
  12277. type: string
  12278. cusbankshortname:
  12279. description: 托管银行简称
  12280. type: string
  12281. exchticket:
  12282. description: 银行服务流水号
  12283. type: string
  12284. executetype:
  12285. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12286. 7:外部子账户:入金 8:外部子账户:出金'
  12287. type: integer
  12288. extendinfo:
  12289. description: 扩展信息
  12290. type: string
  12291. extoperateid:
  12292. description: 交易服务流水号
  12293. type: integer
  12294. infamount:
  12295. description: 劣后金额(自有)
  12296. type: number
  12297. logincode:
  12298. description: 登录账号(账号)
  12299. type: string
  12300. netaddr:
  12301. description: 调转网址
  12302. type: string
  12303. priamount:
  12304. description: 优先金额(授信)
  12305. type: number
  12306. reauditid:
  12307. description: 复审人
  12308. type: integer
  12309. reauditremark:
  12310. description: 复审备注
  12311. type: string
  12312. reaudittime:
  12313. description: 复审时间
  12314. type: string
  12315. relatedorderid:
  12316. description: 三方关联ID
  12317. type: string
  12318. remark:
  12319. description: 备注
  12320. type: string
  12321. remark2:
  12322. description: 备注(失败原因)
  12323. type: string
  12324. soucreamount:
  12325. description: 原始出入金金额
  12326. type: number
  12327. soucrecurrencyid:
  12328. description: 原始出入金币种
  12329. type: integer
  12330. tradedate:
  12331. description: 交易日(yyyyMMdd)
  12332. type: string
  12333. updatetime:
  12334. description: 更新时间(申请时间)
  12335. type: string
  12336. userid:
  12337. description: 用户id
  12338. type: integer
  12339. userinfotype:
  12340. description: 账户类型 1-个人 2-企业
  12341. type: integer
  12342. type: object
  12343. models.QhjAgreementChangeLog:
  12344. properties:
  12345. agreementcontent:
  12346. description: 协议内容
  12347. type: string
  12348. agreementfrequency:
  12349. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12350. type: integer
  12351. agreementid:
  12352. description: 协议ID
  12353. type: integer
  12354. agreementname:
  12355. description: 协议名称
  12356. type: string
  12357. agreementno:
  12358. description: 协议编号
  12359. type: string
  12360. agreementtype:
  12361. description: 协议类型 - 1:注册 2:登录 3:交易
  12362. type: integer
  12363. agreementversion:
  12364. description: 协议版本号
  12365. type: integer
  12366. logid:
  12367. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12368. type: integer
  12369. reviserid:
  12370. description: 修改人
  12371. type: integer
  12372. revisersrc:
  12373. description: 修改来源 - 1:管理端 2:终端
  12374. type: integer
  12375. updatetime:
  12376. description: 更新时间
  12377. type: string
  12378. type: object
  12379. models.QhjAgreementConfig:
  12380. properties:
  12381. agreementcontent:
  12382. description: 协议内容
  12383. type: string
  12384. agreementfrequency:
  12385. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12386. type: integer
  12387. agreementid:
  12388. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12389. type: integer
  12390. agreementname:
  12391. description: 协议名称
  12392. type: string
  12393. agreementno:
  12394. description: 协议编号
  12395. type: string
  12396. agreementtype:
  12397. description: 协议类型 - 1:注册 2:登录 3:交易
  12398. type: integer
  12399. agreementversion:
  12400. description: 协议版本号(从1开始每次修改加1)
  12401. type: integer
  12402. createtime:
  12403. description: 创建时间
  12404. type: string
  12405. creatorid:
  12406. description: 创建人
  12407. type: integer
  12408. creatorsrc:
  12409. description: 创建来源 - 1:管理端 2:终端
  12410. type: integer
  12411. isvalid:
  12412. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12413. type: integer
  12414. reviserid:
  12415. description: 修改人
  12416. type: integer
  12417. revisersrc:
  12418. description: 修改来源 - 1:管理端 2:终端
  12419. type: integer
  12420. updatetime:
  12421. description: 更新时间
  12422. type: string
  12423. type: object
  12424. models.QhjAreaFinanceConfig:
  12425. properties:
  12426. additionalratio:
  12427. description: 追加款比例
  12428. type: number
  12429. advanceratio:
  12430. description: 预付款比例
  12431. type: number
  12432. alarmratio:
  12433. description: 告警比例
  12434. type: number
  12435. consumptiondirectreward:
  12436. description: 消费直推奖励值
  12437. type: number
  12438. consumptionenabled:
  12439. description: 是否启用消费奖励 - 0:不启用 1:启用
  12440. type: integer
  12441. consumptionindirectreward:
  12442. description: 消费间推奖励值
  12443. type: number
  12444. consumptionmodel:
  12445. description: 消费奖励方式 - 1:比率 2:固定
  12446. type: integer
  12447. customerservicenum:
  12448. description: 客服电话
  12449. type: string
  12450. dayinterestrate:
  12451. description: 日利率
  12452. type: number
  12453. disableconsumptiontips:
  12454. description: 关闭消费奖励提示
  12455. type: string
  12456. modifierid:
  12457. description: 修改人ID
  12458. type: integer
  12459. modifysrc:
  12460. description: 审核来源 - 1:管理端 2:终端
  12461. type: integer
  12462. modifytime:
  12463. description: 修改时间
  12464. type: string
  12465. promotionvalue:
  12466. description: 推广奖励值(固定)
  12467. type: number
  12468. scoreconfigvalue1:
  12469. description: 提货积分配置1
  12470. type: integer
  12471. scoreconfigvalue2:
  12472. description: 提货积分配置2
  12473. type: integer
  12474. userid:
  12475. description: 机构用户ID其他做市关系,都设置为 1
  12476. type: integer
  12477. username:
  12478. description: 用户名称
  12479. type: string
  12480. type: object
  12481. models.QhjBankAccountSign:
  12482. properties:
  12483. accountcode:
  12484. description: 资金账号
  12485. type: string
  12486. accountname:
  12487. description: 资金账号对应的账号名(UserName)
  12488. type: string
  12489. accountname2:
  12490. description: 资金账号对应的账号名(UserName) - 密文
  12491. type: string
  12492. accounttype:
  12493. description: 账户类型(UserType)
  12494. type: integer
  12495. applicationtime:
  12496. description: 最后一次更新的时间
  12497. type: string
  12498. applyexchticket:
  12499. description: 申请流水
  12500. type: string
  12501. auditid:
  12502. description: 审核人
  12503. type: integer
  12504. audittime:
  12505. description: 审核时间
  12506. type: string
  12507. bankaccountname:
  12508. description: 签约银行卡账号名
  12509. type: string
  12510. bankaccountname2:
  12511. description: 签约银行卡账号名 - 密文
  12512. type: string
  12513. bankaccountno:
  12514. description: 银行卡号
  12515. type: string
  12516. bankaccountno2:
  12517. description: 银行卡号 - 密文
  12518. type: string
  12519. bankaccounttype:
  12520. description: 银行账户类型 - 1-对私; 2-对公
  12521. type: integer
  12522. bankcardtype:
  12523. description: 银行卡类型
  12524. type: integer
  12525. bankchildaccount:
  12526. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12527. type: string
  12528. bankcity:
  12529. description: 开户行城市
  12530. type: string
  12531. bankid:
  12532. description: 签约银行ID
  12533. type: string
  12534. bankname:
  12535. description: 签约银行名称
  12536. type: string
  12537. bankprovince:
  12538. description: 开户行省份
  12539. type: string
  12540. branchbankid:
  12541. description: 签约银行支行号
  12542. type: string
  12543. branchbankname:
  12544. description: 签约银行支行名称
  12545. type: string
  12546. cardno:
  12547. description: 证件号码
  12548. type: string
  12549. cardno2:
  12550. description: 证件号码 - 密文
  12551. type: string
  12552. cardtype:
  12553. description: 证件类型
  12554. type: string
  12555. currency:
  12556. description: 币种
  12557. type: string
  12558. cusbankid:
  12559. description: 托管银行编号
  12560. type: string
  12561. direct:
  12562. description: 方向(可以判断那方先发起的签约)
  12563. type: integer
  12564. exchticket:
  12565. description: 最后一次签约成功的流水号
  12566. type: string
  12567. extendinfo:
  12568. description: 扩展信息(JSON字符串)
  12569. type: string
  12570. mobilephone:
  12571. description: 手机号
  12572. type: string
  12573. mobilephone2:
  12574. description: 手机号 - 密文
  12575. type: string
  12576. netaddr:
  12577. description: 调转网址
  12578. type: string
  12579. relateduserid:
  12580. description: 关联使用者userid
  12581. type: integer
  12582. signstatus:
  12583. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12584. 10:审核拒绝 11:换签待审核
  12585. type: integer
  12586. updatetime:
  12587. description: 更新时间(签解约更新时间)
  12588. type: string
  12589. type: object
  12590. models.QhjBankInfo:
  12591. properties:
  12592. bankid:
  12593. description: 银行ID
  12594. type: string
  12595. bankname:
  12596. description: 银行名称
  12597. type: string
  12598. clearbankno:
  12599. description: 清算系统银行编号
  12600. type: string
  12601. orderindex:
  12602. description: 排序顺序
  12603. type: integer
  12604. status:
  12605. description: 状态 - 0:正常 1:注销
  12606. type: integer
  12607. type: object
  12608. models.QhjBrokerApply:
  12609. properties:
  12610. applicantid:
  12611. description: 申请人
  12612. type: integer
  12613. applysrc:
  12614. description: 申请来源 - 1:管理端 2:终端
  12615. type: integer
  12616. applystatus:
  12617. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12618. type: integer
  12619. applytime:
  12620. description: 申请时间
  12621. type: string
  12622. auditorid:
  12623. description: 审核人
  12624. type: integer
  12625. auditremark:
  12626. description: 审核备注
  12627. type: string
  12628. auditsrc:
  12629. description: 审核来源 - 1:管理端 2:终端
  12630. type: integer
  12631. audittime:
  12632. description: 审核时间
  12633. type: string
  12634. audittradedate:
  12635. description: 审核交易日(yyyyMMdd)
  12636. type: string
  12637. brokerapplyid:
  12638. description: 申请ID(SEQ_BROKERAPPLY)
  12639. type: integer
  12640. cardbackphotourl:
  12641. description: 证件背面图片地址
  12642. type: string
  12643. cardfrontphotourl:
  12644. description: 证件正面图片地址
  12645. type: string
  12646. cardnum:
  12647. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12648. type: string
  12649. customername:
  12650. description: 姓名
  12651. type: string
  12652. logincode:
  12653. description: 登录代码
  12654. type: string
  12655. mobile:
  12656. description: 手机号码
  12657. type: string
  12658. parentuserid:
  12659. description: 所属机构id
  12660. type: integer
  12661. parentusername:
  12662. description: 所属机构名称
  12663. type: string
  12664. refereeuserid:
  12665. description: 推荐人id(经纪人)
  12666. type: integer
  12667. refernum:
  12668. description: 推荐码
  12669. type: string
  12670. remark:
  12671. description: 备注
  12672. type: string
  12673. subarealevelpath:
  12674. description: 层级路径
  12675. type: string
  12676. tradedate:
  12677. description: 交易日(yyyyMMdd)
  12678. type: string
  12679. userid:
  12680. description: 申请人用户ID
  12681. type: integer
  12682. userinfotype:
  12683. description: 用户类型 1-个人 2-企业
  12684. type: integer
  12685. username:
  12686. description: 用户名称
  12687. type: string
  12688. type: object
  12689. models.QhjBrokerApplyEx:
  12690. properties:
  12691. applylist:
  12692. description: 经纪人申请记录(只返回最新一条)
  12693. items:
  12694. $ref: '#/definitions/models.QhjBrokerApply'
  12695. type: array
  12696. canrecommend:
  12697. description: 是否经纪人 0-不是 1-是
  12698. type: integer
  12699. refernum:
  12700. description: 推荐码
  12701. type: string
  12702. userid:
  12703. description: 用户id
  12704. type: integer
  12705. userinfotype:
  12706. description: 用户类型 1-个人 2-企业
  12707. type: integer
  12708. type: object
  12709. models.QhjBrokerRewardLog:
  12710. properties:
  12711. accountid:
  12712. description: 资金账号ID
  12713. type: integer
  12714. createtime:
  12715. description: 创建时间(时间)
  12716. type: string
  12717. handlestatus:
  12718. description: 处理状态
  12719. type: integer
  12720. logid:
  12721. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12722. type: string
  12723. marketid:
  12724. description: 市场ID
  12725. type: integer
  12726. mmaccountid:
  12727. description: 做市商资金账号ID
  12728. type: string
  12729. mmuserid:
  12730. description: 做市商用户ID
  12731. type: string
  12732. rewardamount:
  12733. description: 奖励金额
  12734. type: number
  12735. rewardmodel:
  12736. description: 消费奖励方式 - 1:比率 2:固定
  12737. type: integer
  12738. rewardtype:
  12739. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12740. type: integer
  12741. rewardvalue:
  12742. description: 配置奖励值
  12743. type: number
  12744. srcamount:
  12745. description: 成交金额 [消费奖励] (金额)
  12746. type: number
  12747. srcgoodsid:
  12748. description: 来源商品ID [消费奖励]
  12749. type: string
  12750. srctime:
  12751. description: 来源时间 (成交时间) [消费奖励]
  12752. type: string
  12753. srctradeid:
  12754. description: 来源成交单ID [消费奖励] - 排除提货成交
  12755. type: string
  12756. srcuserid:
  12757. description: 来源用户ID(推广账户)
  12758. type: string
  12759. srcusername:
  12760. description: 推广账户名称
  12761. type: string
  12762. tradedate:
  12763. description: 交易日(yyyyMMdd)
  12764. type: string
  12765. userid:
  12766. description: 经纪人用户ID
  12767. type: integer
  12768. type: object
  12769. models.QhjContract:
  12770. properties:
  12771. contractconfirmtime:
  12772. description: 合同确认时间(时间)
  12773. type: string
  12774. currisklevel:
  12775. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12776. type: integer
  12777. decimalplace:
  12778. description: 商品报价小数位
  12779. type: integer
  12780. enumdicname:
  12781. description: 单位名称
  12782. type: string
  12783. goodscode:
  12784. description: 商品代码
  12785. type: string
  12786. goodsid:
  12787. description: 商品ID [5:融资单]
  12788. type: integer
  12789. goodsname:
  12790. description: 商品名称
  12791. type: string
  12792. goodunitid:
  12793. description: 商品单位id
  12794. type: integer
  12795. initmargin:
  12796. description: 初始保证金(首付款)
  12797. type: number
  12798. lenderamount:
  12799. description: 贷款金额(总额|订单总额)
  12800. type: number
  12801. marginratio:
  12802. description: 保证金比率(首付比例)
  12803. type: number
  12804. payamount:
  12805. description: 已付(已付货款)
  12806. type: number
  12807. reckonrecovermargin:
  12808. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12809. type: number
  12810. recoveredmargin:
  12811. description: 已追缴保证金
  12812. type: number
  12813. remainamount:
  12814. description: 合同剩余金额(融资额)
  12815. type: number
  12816. scfcontractid:
  12817. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12818. type: string
  12819. scfcontractstatus:
  12820. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12821. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12822. type: integer
  12823. scfcontracttype:
  12824. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12825. type: integer
  12826. totalinterest:
  12827. description: 已计总利息(利息)
  12828. type: number
  12829. tradeprice:
  12830. description: 成交价格(成本价格)
  12831. type: number
  12832. userid:
  12833. description: 用户ID
  12834. type: integer
  12835. username:
  12836. description: 用户名称
  12837. type: string
  12838. wrqty:
  12839. description: 仓单数量(数量)
  12840. type: number
  12841. type: object
  12842. models.QhjContractLog:
  12843. properties:
  12844. amount:
  12845. description: 支付金额
  12846. type: number
  12847. amounttype:
  12848. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12849. type: integer
  12850. logid:
  12851. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12852. type: string
  12853. remainamount:
  12854. description: 剩余货款
  12855. type: number
  12856. scfcontractid:
  12857. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12858. type: integer
  12859. updatetime:
  12860. description: 更新时间
  12861. type: string
  12862. type: object
  12863. models.QhjCusBankSignBankEx:
  12864. properties:
  12865. banklst:
  12866. description: 银行列表
  12867. items:
  12868. $ref: '#/definitions/models.QhjBankInfo'
  12869. type: array
  12870. canallot:
  12871. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12872. type: integer
  12873. canallotquery:
  12874. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12875. type: integer
  12876. canbindcard:
  12877. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12878. type: integer
  12879. caninamount:
  12880. description: 是否可入金 - 0:不可 1:可以
  12881. type: integer
  12882. caninamount2:
  12883. description: 是否可入金(网银端) - 0:不可 1:可以
  12884. type: integer
  12885. canmodifybankcard:
  12886. description: 是否可修改银行卡号 - 0:不可 1:可以
  12887. type: integer
  12888. canmodifyphone:
  12889. description: 是否可修改手机号 - 0:不可 1:可以
  12890. type: integer
  12891. canmodifysigninfo:
  12892. description: 是否可修改签约信息 - 0:不可 1:可以
  12893. type: integer
  12894. canoutamount:
  12895. description: 是否可出金 - 0:不可 1:可以
  12896. type: integer
  12897. canoutamount2:
  12898. description: 是否可出金(网银端) - 0:不可 1:可以
  12899. type: integer
  12900. canrelease:
  12901. description: 是否可解约 - 0:不可 1:可以
  12902. type: integer
  12903. canrelease2:
  12904. description: 是否可解约(网银端) - 0:不可 1:可以
  12905. type: integer
  12906. cansign:
  12907. description: 是否可签约 - 0:不可 1:可以
  12908. type: integer
  12909. cansign2:
  12910. description: 是否可签约(网银端) - 0:不可 1:可以
  12911. type: integer
  12912. currency:
  12913. description: 币种
  12914. type: string
  12915. cusbankid:
  12916. description: 托管银行编号(对应清算中心TRAN_NO)
  12917. type: string
  12918. cusbankname:
  12919. description: 银行业务名称
  12920. type: string
  12921. cusbankshortname:
  12922. description: 银行业务简称
  12923. type: string
  12924. exchbankid:
  12925. description: 交易所开户银行ID
  12926. type: string
  12927. exchpaybankaccname:
  12928. description: 交易所支出结算账户户名
  12929. type: string
  12930. exchpaybankaccno:
  12931. description: 交易所支出结算账户
  12932. type: string
  12933. isneedcheck:
  12934. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12935. type: integer
  12936. isneedclear:
  12937. description: 是否需要清算 - 0:不需要 1:需要
  12938. type: integer
  12939. lastcheckstatus:
  12940. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12941. type: integer
  12942. lastchecktime:
  12943. description: 最后对账时间
  12944. type: string
  12945. lastclearstatus:
  12946. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12947. type: integer
  12948. lastcleartime:
  12949. description: 最后清算时间
  12950. type: string
  12951. lastsignintime:
  12952. description: 最后签到时间
  12953. type: string
  12954. lastsignouttime:
  12955. description: 最后签退时间
  12956. type: string
  12957. riskinfo:
  12958. description: 签约风险提示书
  12959. type: string
  12960. signstatus:
  12961. description: 当前签到/签退状态 - 1:签到 2:签退
  12962. type: integer
  12963. tradedate:
  12964. description: 交易日(yyyyMMdd)
  12965. type: string
  12966. updatetime:
  12967. description: 当前签到/签退更新时间
  12968. type: string
  12969. type: object
  12970. models.QhjCustomer:
  12971. properties:
  12972. address:
  12973. description: 通讯地址
  12974. type: string
  12975. attachment1:
  12976. description: 附件1
  12977. type: string
  12978. attachment2:
  12979. description: 附件2
  12980. type: string
  12981. audittime:
  12982. description: 审核时间
  12983. type: string
  12984. cardbackphotourl:
  12985. description: 证件反面图片地址
  12986. type: string
  12987. cardfrontphotourl:
  12988. description: 证件正面图片地址
  12989. type: string
  12990. cardnum:
  12991. description: 证件号码
  12992. type: string
  12993. cardtype:
  12994. description: 证件类型
  12995. type: integer
  12996. cardtypename:
  12997. description: 证件类型名称
  12998. type: string
  12999. cityid:
  13000. description: 市
  13001. type: integer
  13002. cityname:
  13003. description: 城市名称
  13004. type: string
  13005. contactname:
  13006. description: 联系人
  13007. type: string
  13008. countryid:
  13009. description: 国家
  13010. type: integer
  13011. countryname:
  13012. description: 国家名称
  13013. type: string
  13014. createtime:
  13015. description: 创建时间
  13016. type: string
  13017. customername:
  13018. description: 客户名称
  13019. type: string
  13020. districtid:
  13021. description: 区域
  13022. type: integer
  13023. districtname:
  13024. description: 地区名称
  13025. type: string
  13026. email:
  13027. description: 邮件
  13028. type: string
  13029. legalpersonname:
  13030. description: 法人姓名(企业)
  13031. type: string
  13032. logincode:
  13033. description: 登录账号(代码)
  13034. type: string
  13035. memberuserid:
  13036. description: 所属机构ID(所属会员)
  13037. type: integer
  13038. memberusername:
  13039. description: 所属会员名称
  13040. type: string
  13041. mobile:
  13042. description: 手机号码
  13043. type: string
  13044. modifytime:
  13045. description: 修改时间
  13046. type: string
  13047. nickname:
  13048. description: 昵称
  13049. type: string
  13050. parentuserid:
  13051. description: 上级机构(所属机构)
  13052. type: integer
  13053. parentusername:
  13054. description: 所属机构名称
  13055. type: string
  13056. provinceid:
  13057. description: 省
  13058. type: integer
  13059. provincename:
  13060. description: 省名称
  13061. type: string
  13062. proxystatementurl:
  13063. description: 授权委托书
  13064. type: string
  13065. remark:
  13066. description: 备注
  13067. type: string
  13068. status:
  13069. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13070. type: integer
  13071. statusdesc:
  13072. description: 账户状态中文描述
  13073. type: string
  13074. taxpayernum:
  13075. description: 纳税人识别号
  13076. type: string
  13077. telphone:
  13078. description: 联系电话
  13079. type: string
  13080. userid:
  13081. description: 用户ID
  13082. type: integer
  13083. userinfotype:
  13084. description: 客户类型 1-个人 2-企业
  13085. type: integer
  13086. username:
  13087. description: 用户名称
  13088. type: string
  13089. type: object
  13090. models.QhjCustomerSignLog:
  13091. properties:
  13092. agreementcontent:
  13093. description: 协议内容
  13094. type: string
  13095. agreementid:
  13096. description: 协议ID
  13097. type: integer
  13098. agreementname:
  13099. description: 协议名称
  13100. type: string
  13101. agreementno:
  13102. description: 协议编号
  13103. type: string
  13104. agreementtype:
  13105. description: 协议类型 - 1:注册 2:登录 3:交易
  13106. type: integer
  13107. agreementversion:
  13108. description: 协议版本号
  13109. type: integer
  13110. createtime:
  13111. description: 创建时间
  13112. type: string
  13113. goodscode:
  13114. description: 商品代码
  13115. type: string
  13116. goodsid:
  13117. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13118. type: integer
  13119. goodsname:
  13120. description: 商品名称
  13121. type: string
  13122. logid:
  13123. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13124. type: integer
  13125. nodetype:
  13126. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13127. type: integer
  13128. signadressurl:
  13129. description: 签约文件地址
  13130. type: string
  13131. signtimestamp:
  13132. description: 签约状态时间戳
  13133. type: string
  13134. userid:
  13135. description: 客户ID
  13136. type: integer
  13137. username:
  13138. description: 客户名称
  13139. type: string
  13140. type: object
  13141. models.QhjCustomerSignStatus:
  13142. properties:
  13143. createtime:
  13144. description: 创建时间
  13145. type: string
  13146. goodscode:
  13147. description: 商品代码
  13148. type: string
  13149. goodsid:
  13150. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13151. type: integer
  13152. goodsname:
  13153. description: 商品名称
  13154. type: string
  13155. nodetype:
  13156. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13157. type: integer
  13158. signtimestamp:
  13159. description: 签约状态时间戳
  13160. type: string
  13161. tradedate:
  13162. description: 创建交易日(yyyyMMdd)
  13163. type: string
  13164. updatetime:
  13165. description: 更新时间
  13166. type: string
  13167. userid:
  13168. description: 客户ID
  13169. type: integer
  13170. username:
  13171. description: 客户名称
  13172. type: string
  13173. type: object
  13174. models.QhjMgrAccountOutInApply:
  13175. properties:
  13176. accountcode:
  13177. description: 资金账号
  13178. type: string
  13179. accountname:
  13180. description: 用户名称(名称)
  13181. type: string
  13182. accountpwd:
  13183. description: 资金密码
  13184. type: string
  13185. accountticket:
  13186. description: 最新账户服务流水号
  13187. type: string
  13188. amount:
  13189. description: 金额
  13190. type: number
  13191. applyremark:
  13192. description: 申请备注
  13193. type: string
  13194. applystatus:
  13195. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13196. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13197. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13198. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13199. type: integer
  13200. auditid:
  13201. description: 审核人
  13202. type: integer
  13203. audittime:
  13204. description: 审核时间
  13205. type: string
  13206. bank_apply_ticket:
  13207. description: 银行申请流水
  13208. type: string
  13209. bankaccountname:
  13210. description: 银行账户名
  13211. type: string
  13212. bankaccountno:
  13213. description: 银行卡号
  13214. type: string
  13215. bankid:
  13216. description: 银行编号
  13217. type: string
  13218. bankname:
  13219. description: 银行名称
  13220. type: string
  13221. bankticket:
  13222. description: 银行流水
  13223. type: string
  13224. branchbankid:
  13225. description: 银行支行号
  13226. type: string
  13227. branchbankname:
  13228. description: 银行支行名称
  13229. type: string
  13230. capamountout:
  13231. description: 出金(劣后本金) - 外部子账户
  13232. type: number
  13233. certificatephotourl:
  13234. description: 凭证地址
  13235. type: string
  13236. charge:
  13237. description: 手续费
  13238. type: number
  13239. checkerrorflag:
  13240. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13241. type: integer
  13242. currency:
  13243. description: 币种
  13244. type: string
  13245. cusbankid:
  13246. description: 托管银行编号
  13247. type: string
  13248. exchticket:
  13249. description: 银行服务流水号
  13250. type: string
  13251. executetype:
  13252. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13253. 7:外部子账户:入金 8:外部子账户:出金'
  13254. type: integer
  13255. extendinfo:
  13256. description: 扩展信息
  13257. type: string
  13258. extoperateid:
  13259. description: 交易服务流水号
  13260. type: integer
  13261. infamount:
  13262. description: 劣后金额(自有)
  13263. type: number
  13264. logincode:
  13265. description: 登录账号(账号)
  13266. type: string
  13267. netaddr:
  13268. description: 调转网址
  13269. type: string
  13270. priamount:
  13271. description: 优先金额(授信)
  13272. type: number
  13273. reauditid:
  13274. description: 复审人
  13275. type: integer
  13276. reauditremark:
  13277. description: 复审备注
  13278. type: string
  13279. reaudittime:
  13280. description: 复审时间
  13281. type: string
  13282. relatedorderid:
  13283. description: 三方关联ID
  13284. type: string
  13285. remark:
  13286. description: 备注
  13287. type: string
  13288. remark2:
  13289. description: 备注(失败原因)
  13290. type: string
  13291. soucreamount:
  13292. description: 原始出入金金额
  13293. type: number
  13294. soucrecurrencyid:
  13295. description: 原始出入金币种
  13296. type: integer
  13297. tradedate:
  13298. description: 交易日(yyyyMMdd)
  13299. type: string
  13300. updatetime:
  13301. description: 更新时间(申请时间)
  13302. type: string
  13303. userid:
  13304. description: 用户id
  13305. type: integer
  13306. userinfotype:
  13307. description: 账户类型 1-个人 2-企业
  13308. type: integer
  13309. type: object
  13310. models.QhjMgrBrokerApply:
  13311. properties:
  13312. applicantid:
  13313. description: 申请人
  13314. type: integer
  13315. applysrc:
  13316. description: 申请来源 - 1:管理端 2:终端
  13317. type: integer
  13318. applystatus:
  13319. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13320. type: integer
  13321. applytime:
  13322. description: 申请时间
  13323. type: string
  13324. auditorid:
  13325. description: 审核人
  13326. type: integer
  13327. auditremark:
  13328. description: 审核备注
  13329. type: string
  13330. auditsrc:
  13331. description: 审核来源 - 1:管理端 2:终端
  13332. type: integer
  13333. audittime:
  13334. description: 审核时间
  13335. type: string
  13336. audittradedate:
  13337. description: 审核交易日(yyyyMMdd)
  13338. type: string
  13339. brokerapplyid:
  13340. description: 申请ID(SEQ_BROKERAPPLY)
  13341. type: integer
  13342. cardbackphotourl:
  13343. description: 证件背面图片地址
  13344. type: string
  13345. cardfrontphotourl:
  13346. description: 证件正面图片地址
  13347. type: string
  13348. cardnum:
  13349. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13350. type: string
  13351. customername:
  13352. description: 姓名
  13353. type: string
  13354. filterstatus:
  13355. description: 筛选条件
  13356. type: string
  13357. logincode:
  13358. description: 登录代码
  13359. type: string
  13360. mobile:
  13361. description: 手机号码
  13362. type: string
  13363. parentuserid:
  13364. description: 所属机构id
  13365. type: integer
  13366. parentusername:
  13367. description: 所属机构名称
  13368. type: string
  13369. refereeuserid:
  13370. description: 推荐人id(经纪人)
  13371. type: integer
  13372. refernum:
  13373. description: 推荐码
  13374. type: string
  13375. remark:
  13376. description: 备注
  13377. type: string
  13378. subarealevelpath:
  13379. description: 层级路径
  13380. type: string
  13381. tradedate:
  13382. description: 交易日(yyyyMMdd)
  13383. type: string
  13384. userid:
  13385. description: 申请人用户ID
  13386. type: integer
  13387. userinfotype:
  13388. description: 用户类型 1-个人 2-企业
  13389. type: integer
  13390. username:
  13391. description: 用户名称
  13392. type: string
  13393. type: object
  13394. models.QhjMgrBrokerRewardReport:
  13395. properties:
  13396. createtime:
  13397. description: 创建时间(注册时间)
  13398. type: string
  13399. cycletime:
  13400. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13401. type: string
  13402. cycletype:
  13403. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13404. type: integer
  13405. directtotalnum:
  13406. description: 直推总人数【期末】
  13407. type: integer
  13408. indirecttotalnum:
  13409. description: 间推总人数【期末】
  13410. type: integer
  13411. mobile:
  13412. description: 电话号码
  13413. type: string
  13414. refereeuserid:
  13415. description: 推荐人id(经纪人id)
  13416. type: integer
  13417. refereeusername:
  13418. description: 推荐人名称(经纪人) 上级经纪人名称
  13419. type: string
  13420. refernum:
  13421. description: 推荐码
  13422. type: string
  13423. subarealevelpath:
  13424. description: 用户层级路径
  13425. type: string
  13426. todayrewardamount:
  13427. description: 奖励总金额【汇总】
  13428. type: number
  13429. updatetime:
  13430. description: 更新时间
  13431. type: string
  13432. userid:
  13433. description: 经纪人用户ID
  13434. type: integer
  13435. userinfotype:
  13436. description: 用户类型 1-个人 2-企业
  13437. type: integer
  13438. username:
  13439. description: 用户名称
  13440. type: string
  13441. type: object
  13442. models.QhjMgrContract:
  13443. properties:
  13444. contractconfirmtime:
  13445. description: 合同确认时间(时间)
  13446. type: string
  13447. currisklevel:
  13448. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13449. type: integer
  13450. decimalplace:
  13451. description: 商品报价小数位
  13452. type: integer
  13453. enumdicname:
  13454. description: 单位名称
  13455. type: string
  13456. goodscode:
  13457. description: 商品代码
  13458. type: string
  13459. goodsid:
  13460. description: 商品ID [5:融资单]
  13461. type: integer
  13462. goodsname:
  13463. description: 商品名称
  13464. type: string
  13465. goodunitid:
  13466. description: 商品单位id
  13467. type: integer
  13468. initmargin:
  13469. description: 初始保证金(首付款)
  13470. type: number
  13471. lenderamount:
  13472. description: 贷款金额(总额|订单总额)
  13473. type: number
  13474. logincode:
  13475. description: 账号(登录代码)
  13476. type: string
  13477. marginratio:
  13478. description: 保证金比率(首付比例)
  13479. type: number
  13480. mobile:
  13481. description: 电话号码(用户资料里的电话)
  13482. type: string
  13483. payamount:
  13484. description: 已付(已付货款)
  13485. type: number
  13486. reckonrecovermargin:
  13487. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13488. type: number
  13489. recoveredmargin:
  13490. description: 已追缴保证金
  13491. type: number
  13492. remainamount:
  13493. description: 合同剩余金额(融资额)
  13494. type: number
  13495. scfcontractid:
  13496. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13497. type: string
  13498. scfcontractstatus:
  13499. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13500. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13501. type: integer
  13502. scfcontracttype:
  13503. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13504. type: integer
  13505. totalinterest:
  13506. description: 已计总利息(利息)
  13507. type: number
  13508. tradedate:
  13509. description: 交易日
  13510. type: string
  13511. tradeprice:
  13512. description: 成交价格(成本价格)
  13513. type: number
  13514. userid:
  13515. description: 用户ID
  13516. type: integer
  13517. userinfotype:
  13518. description: 用户类型 1-个人 2-企业
  13519. type: integer
  13520. username:
  13521. description: 用户名称
  13522. type: string
  13523. wrqty:
  13524. description: 仓单数量(数量)
  13525. type: number
  13526. type: object
  13527. models.QhjMgrCustomer:
  13528. properties:
  13529. address:
  13530. description: 通讯地址
  13531. type: string
  13532. attachment1:
  13533. description: 附件1
  13534. type: string
  13535. audittime:
  13536. description: 审核时间
  13537. type: string
  13538. birthday:
  13539. description: 生日
  13540. type: string
  13541. brokerid:
  13542. description: 所属客户经理id
  13543. type: integer
  13544. brokername:
  13545. description: 所属客户经理名称
  13546. type: string
  13547. cardbackphotourl:
  13548. description: 证件反面图片地址
  13549. type: string
  13550. cardfrontphotourl:
  13551. description: 证件正面图片地址
  13552. type: string
  13553. cardnum:
  13554. description: 证件号码
  13555. type: string
  13556. cardtype:
  13557. description: 证件类型
  13558. type: integer
  13559. cardtypename:
  13560. description: 证件类型名称
  13561. type: string
  13562. cityid:
  13563. description: 市
  13564. type: integer
  13565. cityname:
  13566. description: 城市名称
  13567. type: string
  13568. contactname:
  13569. description: 联系人
  13570. type: string
  13571. countryid:
  13572. description: 国家
  13573. type: integer
  13574. countryname:
  13575. description: 国家名称
  13576. type: string
  13577. createtime:
  13578. description: 创建时间
  13579. type: string
  13580. customername:
  13581. description: 客户名称
  13582. type: string
  13583. districtid:
  13584. description: 区域
  13585. type: integer
  13586. districtname:
  13587. description: 地区名称
  13588. type: string
  13589. email:
  13590. description: 邮件
  13591. type: string
  13592. legalpersonname:
  13593. description: 法人姓名(企业)
  13594. type: string
  13595. logincode:
  13596. description: 登录账号(代码)
  13597. type: string
  13598. memberuserid:
  13599. description: 所属机构ID(所属会员)
  13600. type: integer
  13601. memberusername:
  13602. description: 所属会员名称
  13603. type: string
  13604. mobile:
  13605. description: 手机号码
  13606. type: string
  13607. modifytime:
  13608. description: 修改时间
  13609. type: string
  13610. nickname:
  13611. description: 昵称
  13612. type: string
  13613. parentuserid:
  13614. description: 上级机构(所属机构)
  13615. type: integer
  13616. parentusername:
  13617. description: 所属机构名称
  13618. type: string
  13619. provinceid:
  13620. description: 省
  13621. type: integer
  13622. provincename:
  13623. description: 省名称
  13624. type: string
  13625. proxystatementurl:
  13626. description: 授权委托书
  13627. type: string
  13628. querytype:
  13629. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13630. type: integer
  13631. remark:
  13632. description: 备注
  13633. type: string
  13634. sex:
  13635. description: 性别 0-女 1-男
  13636. type: integer
  13637. status:
  13638. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13639. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13640. type: integer
  13641. statusdesc:
  13642. description: 账户状态中文描述
  13643. type: string
  13644. taxpayernum:
  13645. description: 纳税人识别号
  13646. type: string
  13647. telphone:
  13648. description: 联系电话
  13649. type: string
  13650. userid:
  13651. description: 用户ID
  13652. type: integer
  13653. userinfotype:
  13654. description: 客户类型 1-个人 2-企业
  13655. type: integer
  13656. username:
  13657. description: 用户名称
  13658. type: string
  13659. type: object
  13660. models.QhjMgrPickGoods:
  13661. properties:
  13662. enumdicname:
  13663. description: 单位名称(提货商品)
  13664. type: string
  13665. goodsid:
  13666. description: 商品id
  13667. type: integer
  13668. imageaddress:
  13669. description: 图片
  13670. type: string
  13671. modifierid:
  13672. description: 修改人
  13673. type: integer
  13674. modifiername:
  13675. description: 修改人名称
  13676. type: string
  13677. modifysrc:
  13678. description: 修改来源 - 1:管理端 2:终端
  13679. type: integer
  13680. pickupgoodsagreeunit:
  13681. description: 合约乘数
  13682. type: number
  13683. pickupgoodsdesc:
  13684. description: 描述
  13685. type: string
  13686. pickupgoodsid:
  13687. description: 提货商品ID
  13688. type: string
  13689. pickupgoodsname:
  13690. description: 提货商品名称
  13691. type: string
  13692. pickupgoodsstatus:
  13693. description: 状态 - 1:正常 2:停用 3:注销
  13694. type: integer
  13695. pickupgoodsunitid:
  13696. description: 单位ID
  13697. type: integer
  13698. pickupratio:
  13699. description: 提货系数
  13700. type: number
  13701. preparedays:
  13702. description: 备货期(天)
  13703. type: integer
  13704. remark:
  13705. description: 备注
  13706. type: string
  13707. updatetime:
  13708. description: 更新时间
  13709. type: string
  13710. type: object
  13711. models.QhjMgrPositionRsp:
  13712. properties:
  13713. accountid:
  13714. description: 账号Id
  13715. type: integer
  13716. accountname:
  13717. description: 用户名称
  13718. type: string
  13719. agreeunit:
  13720. description: 合约乘数
  13721. type: number
  13722. averageprice:
  13723. description: 均价
  13724. type: number
  13725. avialqty:
  13726. description: 可用数量
  13727. type: number
  13728. decimalplace:
  13729. description: 报价小数位
  13730. type: integer
  13731. enumdicname:
  13732. description: 单位名称(商品)
  13733. type: string
  13734. frozenqty:
  13735. description: 冻结数量
  13736. type: number
  13737. goodscode:
  13738. description: 商品代码(内部)
  13739. type: string
  13740. goodsid:
  13741. description: 商品Id
  13742. type: integer
  13743. goodsname:
  13744. description: 商品名称
  13745. type: string
  13746. goodunitid:
  13747. description: 报价单位ID
  13748. type: integer
  13749. holderamount:
  13750. description: 金额
  13751. type: number
  13752. holderqty:
  13753. description: 持有数量
  13754. type: number
  13755. holdertype:
  13756. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13757. type: integer
  13758. logincode:
  13759. description: 登录代码(账户)
  13760. type: string
  13761. marketid:
  13762. description: 市场id
  13763. type: integer
  13764. qtydecimalplace:
  13765. description: 成交量小数位
  13766. type: integer
  13767. trademode:
  13768. description: 交易模式
  13769. type: integer
  13770. userid:
  13771. description: 用户id
  13772. type: integer
  13773. userinfotype:
  13774. description: 账户类型 1-个人 2-企业
  13775. type: integer
  13776. type: object
  13777. models.QhjMgrSubArea:
  13778. properties:
  13779. accountname:
  13780. description: 账户名称(机构名称)
  13781. type: string
  13782. memberuserid:
  13783. description: 所属会员ID
  13784. type: integer
  13785. parenttopuser:
  13786. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13787. type: string
  13788. parentuserid:
  13789. description: 所属机构ID
  13790. type: integer
  13791. rootuserid:
  13792. description: 根用户ID
  13793. type: string
  13794. subaccountlevel:
  13795. description: 子账户层数
  13796. type: integer
  13797. subarealevelpath:
  13798. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13799. type: string
  13800. userid:
  13801. description: 用户ID
  13802. type: integer
  13803. usertype:
  13804. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13805. type: integer
  13806. type: object
  13807. models.QhjMgrTradeDetailRsp:
  13808. properties:
  13809. accountid:
  13810. description: 资金账号
  13811. type: integer
  13812. accountname:
  13813. description: 用户名称
  13814. type: string
  13815. agreeunit:
  13816. description: 合约乘数
  13817. type: number
  13818. buyorsell:
  13819. description: 成交类型(方向) 0:买 1:卖
  13820. type: integer
  13821. decimalplace:
  13822. description: 报价小数位
  13823. type: integer
  13824. enumdicname:
  13825. description: 单位名称(商品)
  13826. type: string
  13827. goodscode:
  13828. description: 商品代码(内部)
  13829. type: string
  13830. goodsid:
  13831. description: 商品id
  13832. type: integer
  13833. goodsname:
  13834. description: 商品名称
  13835. type: string
  13836. goodunitid:
  13837. description: 报价单位ID
  13838. type: integer
  13839. logincode:
  13840. description: 登录代码(账户)
  13841. type: string
  13842. marketid:
  13843. description: 市场id
  13844. type: integer
  13845. orderid:
  13846. description: 关联委托单号
  13847. type: string
  13848. qtydecimalplace:
  13849. description: 成交量小数位
  13850. type: integer
  13851. tradeamount:
  13852. description: 金额
  13853. type: number
  13854. tradedate:
  13855. description: 交易日
  13856. type: string
  13857. tradeid:
  13858. description: 成交单号
  13859. type: string
  13860. trademode:
  13861. description: 交易模式
  13862. type: integer
  13863. tradeprice:
  13864. description: 价格
  13865. type: number
  13866. tradeqty:
  13867. description: 数量
  13868. type: number
  13869. tradetime:
  13870. description: 成交时间
  13871. type: string
  13872. userid:
  13873. description: 用户id
  13874. type: integer
  13875. userinfotype:
  13876. description: 账户类型 1-个人 2-企业
  13877. type: integer
  13878. type: object
  13879. models.QhjMgrTradeOrderDetailRsp:
  13880. properties:
  13881. accountid:
  13882. description: 资金账号
  13883. type: integer
  13884. accountname:
  13885. description: 用户名称
  13886. type: string
  13887. agreeunit:
  13888. description: 合约乘数
  13889. type: number
  13890. amount:
  13891. description: 金额
  13892. type: number
  13893. decimalplace:
  13894. description: 报价小数位
  13895. type: integer
  13896. enumdicname:
  13897. description: 单位名称(商品)
  13898. type: string
  13899. goodscode:
  13900. description: 商品代码(内部)
  13901. type: string
  13902. goodsid:
  13903. description: 商品id
  13904. type: integer
  13905. goodsname:
  13906. description: 商品名称
  13907. type: string
  13908. goodunitid:
  13909. description: 报价单位ID
  13910. type: integer
  13911. logincode:
  13912. description: 登录代码(账户)
  13913. type: string
  13914. marketid:
  13915. description: 市场id
  13916. type: integer
  13917. orderid:
  13918. description: 关联委托单号
  13919. type: string
  13920. orderprice:
  13921. description: 价格
  13922. type: number
  13923. orderqty:
  13924. description: 数量
  13925. type: number
  13926. orderstatus:
  13927. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13928. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13929. 16:成交失败违约(荷兰式竞拍专用)
  13930. type: integer
  13931. ordertime:
  13932. description: 委托时间
  13933. type: string
  13934. qtydecimalplace:
  13935. description: 成交量小数位
  13936. type: integer
  13937. tradedate:
  13938. description: 交易日
  13939. type: string
  13940. trademode:
  13941. description: 交易模式
  13942. type: integer
  13943. userid:
  13944. description: 用户id
  13945. type: integer
  13946. userinfotype:
  13947. description: 账户类型 1-个人 2-企业
  13948. type: integer
  13949. type: object
  13950. models.QhjMgrTradePayOrder:
  13951. properties:
  13952. accountname:
  13953. description: 用户名称
  13954. type: string
  13955. advanceratio:
  13956. description: 首付比率
  13957. type: number
  13958. agreeunit:
  13959. description: 合约乘数
  13960. type: number
  13961. buyaccountid:
  13962. description: 买方账号ID[报价币种]
  13963. type: integer
  13964. buyorderid:
  13965. description: 买方委托单号(关联单号)
  13966. type: string
  13967. createtime:
  13968. description: 创建时间
  13969. type: string
  13970. decimalplace:
  13971. description: 报价小数位
  13972. type: integer
  13973. enumdicname:
  13974. description: 单位名称(商品)
  13975. type: string
  13976. goodscode:
  13977. description: 商品代码(内部)
  13978. type: string
  13979. goodsid:
  13980. description: 商品ID
  13981. type: integer
  13982. goodsname:
  13983. description: 商品名称
  13984. type: string
  13985. goodunitid:
  13986. description: 报价单位ID
  13987. type: integer
  13988. logincode:
  13989. description: 登录代码(账户)
  13990. type: string
  13991. marketid:
  13992. description: 市场id
  13993. type: integer
  13994. offamount:
  13995. description: 优惠金额
  13996. type: number
  13997. operatetype:
  13998. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13999. type: integer
  14000. payamount:
  14001. description: 支付金额(金额)
  14002. type: number
  14003. payflag:
  14004. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14005. type: integer
  14006. paylimitedtime:
  14007. description: 支付期限
  14008. type: string
  14009. paytime:
  14010. description: 付款时间
  14011. type: string
  14012. qtydecimalplace:
  14013. description: 成交量小数位
  14014. type: integer
  14015. sellaccountid:
  14016. description: 卖方账号ID[报价币种]
  14017. type: integer
  14018. sellorderid:
  14019. description: 卖方委托单号
  14020. type: string
  14021. tradeamount:
  14022. description: 成交金额(优惠后金额)
  14023. type: number
  14024. tradecharge:
  14025. description: 成交手续费(买方)
  14026. type: number
  14027. tradedate:
  14028. description: 交易日(yyyyMMdd)
  14029. type: string
  14030. tradeid:
  14031. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14032. type: string
  14033. trademode:
  14034. description: 交易模式
  14035. type: integer
  14036. tradeprice:
  14037. description: 成交价格(价格)
  14038. type: number
  14039. tradeqty:
  14040. description: 成交数量(数量)
  14041. type: number
  14042. tradetime:
  14043. description: 成交时间
  14044. type: string
  14045. userid:
  14046. description: 用户id
  14047. type: integer
  14048. userinfotype:
  14049. description: 账户类型 1-个人 2-企业
  14050. type: integer
  14051. type: object
  14052. models.QhjMyTeamEx:
  14053. properties:
  14054. accountname:
  14055. description: 用户名称
  14056. type: string
  14057. accountstatus:
  14058. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14059. type: integer
  14060. createtime:
  14061. description: 创建时间
  14062. type: string
  14063. mobile:
  14064. description: 手机号码
  14065. type: string
  14066. refereeuserid:
  14067. description: 推荐人id
  14068. type: integer
  14069. refernum:
  14070. description: 推荐码
  14071. type: string
  14072. subList:
  14073. items:
  14074. $ref: '#/definitions/models.QhjMyTeamEx'
  14075. type: array
  14076. userid:
  14077. description: 用户id
  14078. type: integer
  14079. userinfotype:
  14080. description: 用户类型 1-个人 2-企业
  14081. type: integer
  14082. type: object
  14083. models.QhjNodeAgreementConfig:
  14084. properties:
  14085. agreementcontent:
  14086. description: 协议内容
  14087. type: string
  14088. agreementid:
  14089. description: 协议ID
  14090. type: integer
  14091. agreementname:
  14092. description: 协议名称
  14093. type: string
  14094. agreementno:
  14095. description: 协议编号
  14096. type: string
  14097. agreementtype:
  14098. description: 协议类型 - 1:注册 2:登录 3:交易
  14099. type: integer
  14100. agreementversion:
  14101. description: 协议版本号
  14102. type: integer
  14103. configid:
  14104. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14105. type: integer
  14106. createtime:
  14107. description: 创建时间
  14108. type: string
  14109. goodsid:
  14110. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14111. type: integer
  14112. nodetype:
  14113. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14114. type: integer
  14115. type: object
  14116. models.QhjParentAreaList:
  14117. properties:
  14118. accountname:
  14119. description: 账户名称(机构名称)
  14120. type: string
  14121. userid:
  14122. description: 用户ID
  14123. type: integer
  14124. usertype:
  14125. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14126. type: integer
  14127. type: object
  14128. models.QhjPayOrder:
  14129. properties:
  14130. advanceratio:
  14131. description: 首付比率
  14132. type: number
  14133. buyaccountid:
  14134. description: 买方账号ID[报价币种]
  14135. type: integer
  14136. buyorderid:
  14137. description: 买方委托单号
  14138. type: string
  14139. createtime:
  14140. description: 创建时间
  14141. type: string
  14142. decimalplace:
  14143. description: 商品报价小数位
  14144. type: integer
  14145. enumdicname:
  14146. description: 单位名称
  14147. type: string
  14148. goodscode:
  14149. description: 商品代码
  14150. type: string
  14151. goodsid:
  14152. description: 商品ID
  14153. type: integer
  14154. goodsname:
  14155. description: 商品名称
  14156. type: string
  14157. goodunitid:
  14158. description: 商品单位id
  14159. type: integer
  14160. marketid:
  14161. description: 市场ID
  14162. type: integer
  14163. offamount:
  14164. description: 优惠金额
  14165. type: number
  14166. operatetype:
  14167. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14168. type: integer
  14169. payamount:
  14170. description: 支付金额
  14171. type: number
  14172. payflag:
  14173. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14174. type: integer
  14175. paylimitedtime:
  14176. description: 支付期限
  14177. type: string
  14178. paytime:
  14179. description: 付款时间
  14180. type: string
  14181. qtydecimalplace:
  14182. description: 成交量小数位
  14183. type: integer
  14184. sellaccountid:
  14185. description: 卖方账号ID[报价币种]
  14186. type: integer
  14187. sellorderid:
  14188. description: 卖方委托单号
  14189. type: string
  14190. tradeamount:
  14191. description: 成交金额(优惠后金额)
  14192. type: number
  14193. tradecharge:
  14194. description: 成交手续费(买方)
  14195. type: number
  14196. tradedate:
  14197. description: 交易日(yyyyMMdd)
  14198. type: string
  14199. tradeid:
  14200. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14201. type: string
  14202. tradeprice:
  14203. description: 成交价格
  14204. type: number
  14205. tradeqty:
  14206. description: 成交数量
  14207. type: number
  14208. type: object
  14209. models.QhjPickArea:
  14210. properties:
  14211. address:
  14212. description: 详细地址
  14213. type: string
  14214. cityid:
  14215. description: 市
  14216. type: integer
  14217. cityname:
  14218. description: 城市名称
  14219. type: string
  14220. countryid:
  14221. description: 国家
  14222. type: integer
  14223. countryname:
  14224. description: 国家名称
  14225. type: string
  14226. districtid:
  14227. description: 地区
  14228. type: integer
  14229. districtname:
  14230. description: 地区名称
  14231. type: string
  14232. fromuserid:
  14233. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14234. type: integer
  14235. fromusername:
  14236. description: 所属机构名称
  14237. type: string
  14238. provinceid:
  14239. description: 省
  14240. type: integer
  14241. provincename:
  14242. description: 省名称
  14243. type: string
  14244. suborgtype:
  14245. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14246. type: integer
  14247. userid:
  14248. description: 机构用户ID 其他做市关系,都设置为 1
  14249. type: integer
  14250. username:
  14251. description: 机构用户名称(门店门称)
  14252. type: string
  14253. type: object
  14254. models.QhjPickGoods:
  14255. properties:
  14256. enumdicname:
  14257. description: 单位名称(提货商品)
  14258. type: string
  14259. goodsid:
  14260. description: 商品id
  14261. type: integer
  14262. imageaddress:
  14263. description: 图片
  14264. type: string
  14265. modifierid:
  14266. description: 修改人
  14267. type: integer
  14268. modifiername:
  14269. description: 修改人名称
  14270. type: string
  14271. modifysrc:
  14272. description: 修改来源 - 1:管理端 2:终端
  14273. type: integer
  14274. pickupgoodsagreeunit:
  14275. description: 合约乘数
  14276. type: number
  14277. pickupgoodsdesc:
  14278. description: 描述
  14279. type: string
  14280. pickupgoodsid:
  14281. description: 提货商品ID
  14282. type: string
  14283. pickupgoodsname:
  14284. description: 提货商品名称
  14285. type: string
  14286. pickupgoodsstatus:
  14287. description: 状态 - 1:正常 2:停用 3:注销
  14288. type: integer
  14289. pickupgoodsunitid:
  14290. description: 单位ID
  14291. type: integer
  14292. pickupratio:
  14293. description: 提货系数
  14294. type: number
  14295. preparedays:
  14296. description: 备货期(天)
  14297. type: integer
  14298. remark:
  14299. description: 备注
  14300. type: string
  14301. updatetime:
  14302. description: 更新时间
  14303. type: string
  14304. type: object
  14305. models.QhjRSTriggerLog:
  14306. properties:
  14307. accountid:
  14308. description: 用户资金账户
  14309. type: integer
  14310. accountname:
  14311. description: 账号名称(ACCOUNTID对应的名称)
  14312. type: string
  14313. currencyid:
  14314. description: 币种id
  14315. type: integer
  14316. currencyname:
  14317. description: 币种名称
  14318. type: string
  14319. decimalplace:
  14320. description: 商品报价小数位
  14321. type: integer
  14322. enumdicname:
  14323. description: 单位名称
  14324. type: string
  14325. goodscode:
  14326. description: 定投商品代码
  14327. type: string
  14328. goodsid:
  14329. description: 定投商品ID
  14330. type: integer
  14331. goodsname:
  14332. description: 定投商品名称
  14333. type: string
  14334. goodunitid:
  14335. description: 定投商品单位id
  14336. type: integer
  14337. logid:
  14338. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14339. type: string
  14340. logincode:
  14341. description: 账号(登录代码)
  14342. type: string
  14343. qtydecimalplace:
  14344. description: 成交量小数位
  14345. type: integer
  14346. regularlycycle:
  14347. description: 定投频率 - 1:每周 2:每月
  14348. type: integer
  14349. regularlycyclevalue:
  14350. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14351. type: string
  14352. regularlymode:
  14353. description: 定投方式 - 1:按数量 2:按金额
  14354. type: integer
  14355. regularlymodevalue:
  14356. description: 定投方式值 - 数量或金额
  14357. type: number
  14358. regularlystrategyid:
  14359. description: 定投策略ID
  14360. type: integer
  14361. retcode:
  14362. description: 错误码
  14363. type: string
  14364. tradeid:
  14365. description: 成交单ID
  14366. type: string
  14367. triggeramount:
  14368. description: 触发金额
  14369. type: number
  14370. triggerqty:
  14371. description: 触发数量
  14372. type: number
  14373. triggerstatus:
  14374. description: 触发状态 - 1:成功 2:失败
  14375. type: integer
  14376. triggertime:
  14377. description: 触发时间
  14378. type: string
  14379. triggertradedate:
  14380. description: 触发交易日
  14381. type: string
  14382. userid:
  14383. description: 所属用户ID
  14384. type: integer
  14385. userinfotype:
  14386. description: 用户类型 1-个人 2-企业
  14387. type: integer
  14388. username:
  14389. description: 用户名称(userid对应的名称)
  14390. type: string
  14391. type: object
  14392. models.QhjRStrategy:
  14393. properties:
  14394. accountid:
  14395. description: 用户资金账户
  14396. type: integer
  14397. accountname:
  14398. description: 账号名称(ACCOUNTID对应的名称)
  14399. type: string
  14400. currencyid:
  14401. description: 币种id
  14402. type: integer
  14403. currencyname:
  14404. description: 币种名称
  14405. type: string
  14406. decimalplace:
  14407. description: 商品报价小数位
  14408. type: integer
  14409. enumdicname:
  14410. description: 单位名称
  14411. type: string
  14412. goodscode:
  14413. description: 定投商品代码
  14414. type: string
  14415. goodsid:
  14416. description: 定投商品ID
  14417. type: integer
  14418. goodsname:
  14419. description: 定投商品名称
  14420. type: string
  14421. goodunitid:
  14422. description: 定投商品单位id
  14423. type: integer
  14424. lasteffecttradedate:
  14425. description: 最新生效交易日
  14426. type: string
  14427. laststoptradedate:
  14428. description: 最新暂停交易日
  14429. type: string
  14430. lasttriggertradedate:
  14431. description: 最新触发交易日
  14432. type: string
  14433. logincode:
  14434. description: 账号(登录代码)
  14435. type: string
  14436. nexttriggeramount:
  14437. description: 下次触发金额
  14438. type: number
  14439. nexttriggerdate:
  14440. description: 下次触发日期
  14441. type: string
  14442. nexttriggerqty:
  14443. description: 下次触发数量 [按小数位放大值]
  14444. type: number
  14445. qtydecimalplace:
  14446. description: 成交量小数位
  14447. type: integer
  14448. regularlycycle:
  14449. description: 定投频率 - 1:每周 2:每月
  14450. type: integer
  14451. regularlycyclevalue:
  14452. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14453. type: string
  14454. regularlymode:
  14455. description: 定投方式 - 1:按数量 2:按金额
  14456. type: integer
  14457. regularlymodevalue:
  14458. description: 定投方式值 - 数量或金额
  14459. type: number
  14460. regularlystrategyid:
  14461. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14462. type: integer
  14463. regularlystrategystatus:
  14464. description: 策略状态 - 1:正常 2:暂停 3:终止
  14465. type: integer
  14466. remark:
  14467. description: 备注
  14468. type: string
  14469. triggersuccesstimes:
  14470. description: 累计定投成功次数
  14471. type: string
  14472. triggertotalamount:
  14473. description: 累计定投金额(成功)
  14474. type: number
  14475. triggertotalqty:
  14476. description: 累计定投数量(成功) [按小数位放大值]
  14477. type: number
  14478. triggertotaltimes:
  14479. description: 累计定投总次数
  14480. type: string
  14481. updatesrc:
  14482. description: 更新来源 - 1:管理端 2:终端
  14483. type: integer
  14484. updatetime:
  14485. description: 更新时间
  14486. type: string
  14487. updatorid:
  14488. description: 更新人
  14489. type: string
  14490. userid:
  14491. description: 所属用户ID
  14492. type: integer
  14493. userinfotype:
  14494. description: 用户类型 1-个人 2-企业
  14495. type: integer
  14496. username:
  14497. description: 用户名称(userid对应的名称)
  14498. type: string
  14499. type: object
  14500. models.QhjReckonPriceLog:
  14501. properties:
  14502. decimalplace:
  14503. description: 商品报价小数位
  14504. type: integer
  14505. goodscode:
  14506. description: 商品代码
  14507. type: string
  14508. goodsid:
  14509. description: 商品ID
  14510. type: integer
  14511. goodsname:
  14512. description: 商品名称
  14513. type: string
  14514. lastreckonprice:
  14515. description: 上日结算价
  14516. type: number
  14517. nextdnlimitprice:
  14518. description: 下个交易日跌停价
  14519. type: number
  14520. nexttrade:
  14521. description: 下个交易日
  14522. type: string
  14523. nextuplimitprice:
  14524. description: 下个交易日涨停价
  14525. type: number
  14526. reckonprice:
  14527. description: 今日结算价(定投价)
  14528. type: number
  14529. reckontime:
  14530. description: 结算时间
  14531. type: string
  14532. totalholderqty:
  14533. description: 总持仓数
  14534. type: integer
  14535. totalstock:
  14536. description: 总库存
  14537. type: integer
  14538. tradedate:
  14539. description: 交易日
  14540. type: string
  14541. updowncount:
  14542. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14543. type: integer
  14544. updownflag:
  14545. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14546. type: integer
  14547. updownrate:
  14548. description: 今日涨跌幅
  14549. type: number
  14550. updownrate_2d:
  14551. description: 连续两日涨跌幅
  14552. type: number
  14553. updownrate_3d:
  14554. description: 连续三日涨跌幅
  14555. type: number
  14556. type: object
  14557. models.QhjScoreLog:
  14558. properties:
  14559. accountid:
  14560. description: 账户ID
  14561. type: integer
  14562. createtime:
  14563. description: 创建时间(时间)
  14564. type: string
  14565. goodsid:
  14566. description: 商品ID
  14567. type: integer
  14568. hasuploaded:
  14569. description: 是否已同步(千海金) 0:未同步 1;已同步
  14570. type: integer
  14571. logid:
  14572. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14573. type: string
  14574. marketid:
  14575. description: 市场ID
  14576. type: integer
  14577. relatedamount:
  14578. description: 关联金额
  14579. type: number
  14580. relatedorderid:
  14581. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14582. type: string
  14583. scoreconfigvalue1:
  14584. description: 积分配置1
  14585. type: integer
  14586. scoreconfigvalue2:
  14587. description: 积分配置1
  14588. type: integer
  14589. scoretype:
  14590. description: 积分类型 - 1:提货积分
  14591. type: integer
  14592. scorevalue:
  14593. description: 积分
  14594. type: number
  14595. tradedate:
  14596. description: 交易日(yyyyMMdd)
  14597. type: string
  14598. uploadedtime:
  14599. description: 同步时间
  14600. type: string
  14601. userid:
  14602. description: 用户ID
  14603. type: integer
  14604. type: object
  14605. models.QhjSiteColumnDetail:
  14606. properties:
  14607. author:
  14608. description: 作者
  14609. type: string
  14610. brief:
  14611. description: 简介
  14612. type: string
  14613. columnid:
  14614. description: 所属栏目
  14615. type: integer
  14616. context:
  14617. description: 内容
  14618. type: string
  14619. coverimage:
  14620. description: 封面图片
  14621. type: string
  14622. creaedate:
  14623. description: 创建时间
  14624. type: string
  14625. creatorid:
  14626. description: 创建人
  14627. type: integer
  14628. hits:
  14629. description: 点击数
  14630. type: integer
  14631. id:
  14632. description: ID(SEQ_SITE_COLUMNDETAIL)
  14633. type: integer
  14634. isshow:
  14635. description: 是否展示 - 0:不展示 1:展示
  14636. type: integer
  14637. istop:
  14638. description: 是否置顶 - 0:不置 1:置顶
  14639. type: integer
  14640. modifierid:
  14641. description: 操作人
  14642. type: integer
  14643. publishdate:
  14644. description: 发布日期
  14645. type: string
  14646. status:
  14647. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14648. type: integer
  14649. title:
  14650. description: 标题
  14651. type: string
  14652. updatedate:
  14653. description: 修改时间
  14654. type: string
  14655. userid:
  14656. description: 用户ID(默认为0, 核心为为机构用户ID)
  14657. type: integer
  14658. username:
  14659. description: 用户名称
  14660. type: string
  14661. type: object
  14662. models.QhjTeamOrder:
  14663. properties:
  14664. accountid:
  14665. description: 账户ID[报价币种]
  14666. type: integer
  14667. accountname:
  14668. description: 账户名称
  14669. type: string
  14670. agreeunit:
  14671. description: 合约乘数
  14672. type: number
  14673. buyorsell:
  14674. description: 方向 - 0:买 1:卖
  14675. type: integer
  14676. decimalplace:
  14677. description: 报价小数位
  14678. type: integer
  14679. enumdicname:
  14680. description: 单位名称
  14681. type: string
  14682. goodscode:
  14683. description: 商品代码(内部)
  14684. type: string
  14685. goodsid:
  14686. description: 商品ID
  14687. type: integer
  14688. goodsname:
  14689. description: 商品名称
  14690. type: string
  14691. goodunitid:
  14692. description: 报价单位ID
  14693. type: integer
  14694. marketid:
  14695. description: 市场ID
  14696. type: integer
  14697. marketname:
  14698. description: 市场名称
  14699. type: string
  14700. qtydecimalplace:
  14701. description: 成交量小数位
  14702. type: integer
  14703. refereeuserid:
  14704. description: 推荐人ID
  14705. type: integer
  14706. tradeamount:
  14707. description: 成交金额[账户币种,用于所有权]
  14708. type: number
  14709. tradedate:
  14710. description: 交易日(yyyyMMdd)
  14711. type: string
  14712. trademode:
  14713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14714. 21:竞拍-大宗式 22:受托竞价
  14715. type: integer
  14716. tradeprice:
  14717. description: 成交价格
  14718. type: number
  14719. tradeqty:
  14720. description: 成交数量
  14721. type: number
  14722. tradetime:
  14723. description: 成交时间
  14724. type: string
  14725. userid:
  14726. description: 用户ID
  14727. type: integer
  14728. type: object
  14729. models.QhjTradeGoodsPickup:
  14730. properties:
  14731. accountid:
  14732. description: 账户ID
  14733. type: integer
  14734. address:
  14735. description: 提货人详细地址
  14736. type: string
  14737. amount:
  14738. description: 提货金额
  14739. type: number
  14740. artradedate:
  14741. description: 自动收货交易日(yyyyMMdd)
  14742. type: string
  14743. auditer:
  14744. description: 审核人
  14745. type: integer
  14746. auditsrc:
  14747. description: 更新来源 - 1:管理端 2:终端
  14748. type: integer
  14749. audittime:
  14750. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14751. type: string
  14752. audittradedate:
  14753. description: 审核交易日(yyyyMMdd)
  14754. type: string
  14755. cardnum:
  14756. description: 提货人证件号码
  14757. type: string
  14758. cardtypeid:
  14759. description: 提货人证件类型
  14760. type: integer
  14761. checkremark:
  14762. description: 审核备注
  14763. type: string
  14764. cityid:
  14765. description: 市
  14766. type: integer
  14767. cityname:
  14768. description: 城市名称
  14769. type: string
  14770. confirmtime:
  14771. description: 取货时间 或 收货时间
  14772. type: string
  14773. countryid:
  14774. description: 国家
  14775. type: integer
  14776. countryname:
  14777. description: 国家名称
  14778. type: string
  14779. decimalplace:
  14780. description: 商品报价小数位
  14781. type: integer
  14782. districtid:
  14783. description: 地区
  14784. type: integer
  14785. districtname:
  14786. description: 地区名称
  14787. type: string
  14788. enumdicname:
  14789. description: 单位名称(提货商品)
  14790. type: string
  14791. expresscompany:
  14792. description: 物流公司
  14793. type: string
  14794. expressnum:
  14795. description: 物流单号
  14796. type: string
  14797. goodsagreeunit:
  14798. description: 交易商品乘数
  14799. type: number
  14800. goodscode:
  14801. description: 商品代码
  14802. type: string
  14803. goodsid:
  14804. description: 商品ID
  14805. type: integer
  14806. goodsname:
  14807. description: 商品名称
  14808. type: string
  14809. goodsqty:
  14810. description: 交易商品手数(69模式按成交量小数位放大取整)
  14811. type: number
  14812. handlestatus:
  14813. description: 处理状态
  14814. type: integer
  14815. logincode:
  14816. description: 账号(登录代码, 有可能为空)
  14817. type: string
  14818. marketid:
  14819. description: 市场ID
  14820. type: integer
  14821. phonenum:
  14822. description: 提货人联系方式
  14823. type: string
  14824. pickupgoodsagreeunit:
  14825. description: 提货商品合约乘数
  14826. type: number
  14827. pickupgoodsid:
  14828. description: 提货商品ID
  14829. type: string
  14830. pickupgoodsname:
  14831. description: 提货商品名称
  14832. type: string
  14833. pickupgoodsqty:
  14834. description: 提货商品手数(数量)
  14835. type: number
  14836. pickupgoodsunitid:
  14837. description: 单位ID(提货商品)
  14838. type: integer
  14839. pickupratio:
  14840. description: 提货系数
  14841. type: number
  14842. preparedays:
  14843. description: 备货期(天)-提货单明细表
  14844. type: integer
  14845. provinceid:
  14846. description: 省
  14847. type: integer
  14848. provincename:
  14849. description: 省名称
  14850. type: string
  14851. qty:
  14852. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14853. type: number
  14854. qtydecimalplace:
  14855. description: 商品数量小数位
  14856. type: integer
  14857. recivername:
  14858. description: 提货人姓名
  14859. type: string
  14860. reqtime:
  14861. description: 提货申请时间
  14862. type: string
  14863. storeuserid:
  14864. description: 门店用户ID (千海金)
  14865. type: integer
  14866. storeusername:
  14867. description: 门店用户名称
  14868. type: string
  14869. takemode:
  14870. description: 提货方式 - 2:自提 3:配送(邮寄)
  14871. type: integer
  14872. takeorderid:
  14873. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14874. type: string
  14875. takeorderstatus:
  14876. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14877. 7:已拒绝 8:已撤销
  14878. type: integer
  14879. takeremark:
  14880. description: 提货备注
  14881. type: string
  14882. tradedate:
  14883. description: 交易日(yyyyMMdd)
  14884. type: string
  14885. updatetime:
  14886. description: 更新时间
  14887. type: string
  14888. userid:
  14889. description: 用户ID
  14890. type: integer
  14891. userinfotype:
  14892. description: 客户类型 1-个人 2-企业
  14893. type: integer
  14894. username:
  14895. description: 用户名称
  14896. type: string
  14897. type: object
  14898. models.QhjUserNodeCfgAndStatus:
  14899. properties:
  14900. agreementcontent:
  14901. description: 协议内容
  14902. type: string
  14903. agreementid:
  14904. description: 协议ID
  14905. type: integer
  14906. agreementname:
  14907. description: 协议名称
  14908. type: string
  14909. agreementno:
  14910. description: 协议编号
  14911. type: string
  14912. agreementtype:
  14913. description: 协议类型 - 1:注册 2:登录 3:交易
  14914. type: integer
  14915. agreementversion:
  14916. description: 协议版本号
  14917. type: integer
  14918. configid:
  14919. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14920. type: integer
  14921. createtime:
  14922. description: 创建时间
  14923. type: string
  14924. goodsid:
  14925. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14926. type: integer
  14927. nodetype:
  14928. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14929. type: integer
  14930. signtimestamp:
  14931. description: 签约状态时间戳(最近一次)
  14932. type: string
  14933. tradedate:
  14934. description: 签约交易日(yyyyMMdd)
  14935. type: string
  14936. userid:
  14937. description: 客户ID
  14938. type: integer
  14939. type: object
  14940. models.Qhjgoodsex:
  14941. properties:
  14942. canfinance:
  14943. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14944. type: integer
  14945. canregularlybuy:
  14946. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14947. type: integer
  14948. defaulttradeuserid:
  14949. description: 默认交易用户ID
  14950. type: integer
  14951. deliverygoodsid:
  14952. description: 现货品种ID
  14953. type: integer
  14954. goodsid:
  14955. description: 商品ID(自增ID SEQ_GOODS)
  14956. type: integer
  14957. minamount:
  14958. description: 最小购买金额
  14959. type: number
  14960. regularlybuyminamount:
  14961. description: 定投最小金额
  14962. type: number
  14963. regularlybuyminqty:
  14964. description: 定投最小数量
  14965. type: number
  14966. spotgoodsbrandid:
  14967. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14968. type: integer
  14969. visibilityforenterprise:
  14970. description: 企业客户是否可见 - 0:不可见 1:可见
  14971. type: integer
  14972. visibilityforpersonal:
  14973. description: 个人客户是否可见 - 0:不可见 1:可见
  14974. type: integer
  14975. wrstandardid:
  14976. description: 现货商品ID
  14977. type: integer
  14978. type: object
  14979. models.QueryErrorInfosRsp:
  14980. properties:
  14981. description:
  14982. description: 异常描述
  14983. type: string
  14984. errorcode:
  14985. description: 异常代码
  14986. type: string
  14987. errorid:
  14988. description: 异常ID
  14989. type: integer
  14990. modulecode:
  14991. description: 所属模块
  14992. type: string
  14993. operatecode:
  14994. description: 所属操作
  14995. type: string
  14996. rownumber:
  14997. description: 行号
  14998. type: string
  14999. required:
  15000. - errorid
  15001. type: object
  15002. models.QueryHedgeOrderDetailRsp:
  15003. properties:
  15004. accountid:
  15005. description: 账户ID
  15006. type: integer
  15007. buyorsell:
  15008. description: 买卖 - 0:买 1:卖
  15009. type: integer
  15010. cancellogincode:
  15011. description: 撤单人
  15012. type: string
  15013. channelbuildtype:
  15014. description: 开平标志 - 0:无 1:建仓 2:平仓
  15015. type: integer
  15016. channelinnerorderstatus:
  15017. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15018. 9:全部成交
  15019. type: integer
  15020. channeloperatetype:
  15021. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15022. type: integer
  15023. closetype:
  15024. description: 平仓方式 - 0:无 1:平今 2:平昨
  15025. type: integer
  15026. curexchangerate:
  15027. description: 当前汇率
  15028. type: number
  15029. decimalplace:
  15030. description: 商品报价小数位
  15031. type: integer
  15032. exchangefullname:
  15033. description: 外部交易所全称
  15034. type: string
  15035. goodscode:
  15036. description: 商品代码(内部)
  15037. type: string
  15038. goodsid:
  15039. description: 商品ID
  15040. type: integer
  15041. goodsname:
  15042. description: 商品名称
  15043. type: string
  15044. marketid:
  15045. description: 市场ID
  15046. type: integer
  15047. openfreezemargin:
  15048. description: 冻结保证金(冻结交易金额)
  15049. type: number
  15050. orderid:
  15051. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15052. type: string
  15053. orderlogincode:
  15054. description: 委托人
  15055. type: string
  15056. orderprice:
  15057. description: 委托价格(账户)
  15058. type: number
  15059. orderqty:
  15060. description: 委托数量
  15061. type: integer
  15062. ordertime:
  15063. description: 委托时间
  15064. type: string
  15065. pricemode:
  15066. description: '取价方式 - 1:市价 2: 限价'
  15067. type: integer
  15068. tradedate:
  15069. description: 交易日(yyyyMMdd)
  15070. type: string
  15071. tradeqty:
  15072. description: 成交数量
  15073. type: integer
  15074. type: object
  15075. models.QueryHedgeTradeDetailRsp:
  15076. properties:
  15077. accountid:
  15078. description: 账号ID
  15079. type: integer
  15080. buyorsell:
  15081. description: 方向 - 0:买 1:卖
  15082. type: integer
  15083. channelbuildtype:
  15084. description: 委托单据类型 0:无 1:建仓 2:平仓
  15085. type: integer
  15086. closecharge:
  15087. description: 平仓手续费(账户)
  15088. type: number
  15089. closecharge2:
  15090. description: 平仓手续费(商品)
  15091. type: number
  15092. closepl:
  15093. description: 平仓盈亏(账户)
  15094. type: number
  15095. closepl2:
  15096. description: 平仓盈亏(商品)
  15097. type: number
  15098. closepl3:
  15099. description: 平仓盈亏(账户)(逐笔)
  15100. type: number
  15101. closepl4:
  15102. description: 平仓盈亏(商品)(逐笔)
  15103. type: number
  15104. closetype:
  15105. description: 平仓方式 - 0:无 1:平今 2:平昨
  15106. type: integer
  15107. curexchangerate:
  15108. description: 当前汇率
  15109. type: number
  15110. decimalplace:
  15111. description: 商品报价小数位
  15112. type: integer
  15113. exchangefullname:
  15114. description: 外部交易所全称
  15115. type: string
  15116. goodscode:
  15117. description: 商品代码(内部)
  15118. type: string
  15119. goodsid:
  15120. description: 商品ID
  15121. type: integer
  15122. goodsname:
  15123. description: 商品名称
  15124. type: string
  15125. marketid:
  15126. description: 市场ID
  15127. type: integer
  15128. opencharge:
  15129. description: 建仓手续费(账户)
  15130. type: number
  15131. opencharge2:
  15132. description: 建仓手续费(商品)
  15133. type: number
  15134. orderid:
  15135. description: 委托单号
  15136. type: string
  15137. orderlogincode:
  15138. description: 委托人
  15139. type: string
  15140. tradeamount:
  15141. description: 成交金额(账户)
  15142. type: number
  15143. tradedate:
  15144. description: 交易日(yyyyMMdd)
  15145. type: string
  15146. tradeid:
  15147. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15148. type: string
  15149. tradeprice:
  15150. description: 成交价格
  15151. type: number
  15152. tradeqty:
  15153. description: 成交数量
  15154. type: integer
  15155. tradetime:
  15156. description: 成交时间
  15157. type: string
  15158. tradetype:
  15159. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15160. type: integer
  15161. type: object
  15162. models.QuotePrimaryMenu:
  15163. properties:
  15164. Index:
  15165. description: 序号
  15166. type: integer
  15167. Key:
  15168. description: 键名
  15169. type: string
  15170. Name:
  15171. description: 菜单名称
  15172. type: string
  15173. SubMenus:
  15174. description: 子菜单
  15175. items:
  15176. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15177. type: array
  15178. SubTitleType:
  15179. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15180. type: integer
  15181. TradeModes:
  15182. description: 包含市场交易类型
  15183. type: string
  15184. type: object
  15185. models.QuoteSecondaryMenu:
  15186. properties:
  15187. ExExchangeCode:
  15188. description: 外部交易所代码
  15189. type: string
  15190. ExExchangeID:
  15191. description: 外部交易所ID
  15192. type: integer
  15193. GoodsGroupIDs:
  15194. description: 商品组ID列表
  15195. items:
  15196. type: integer
  15197. type: array
  15198. Index:
  15199. description: 序号
  15200. type: integer
  15201. MarketID:
  15202. description: 市场ID
  15203. type: integer
  15204. MenuTitle:
  15205. description: 菜单标题(市场名称或外部交易所名称)
  15206. type: string
  15207. TradeMode:
  15208. description: 交易模式
  15209. type: integer
  15210. type: object
  15211. models.RelatedTaAccount:
  15212. properties:
  15213. accountid:
  15214. description: 资金账户ID
  15215. type: integer
  15216. type: object
  15217. models.RoleMenu:
  15218. properties:
  15219. hasright:
  15220. description: 是否有权限 0-没有权限 1-有权限
  15221. type: integer
  15222. iconame:
  15223. description: 菜单图标
  15224. type: string
  15225. menutype:
  15226. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15227. type: integer
  15228. parentcode:
  15229. description: 上级资源代码
  15230. type: string
  15231. remark:
  15232. description: 菜单备注
  15233. type: string
  15234. resourcecode:
  15235. description: 菜单代码
  15236. type: string
  15237. resourcelevel:
  15238. description: 级别
  15239. type: integer
  15240. resourcename:
  15241. description: 菜单名称
  15242. type: string
  15243. roleid:
  15244. description: 角色id
  15245. type: integer
  15246. sort:
  15247. description: 排序
  15248. type: integer
  15249. subMenu:
  15250. description: 子级菜单(结构同上层一样, swag解析不出来)
  15251. items:
  15252. $ref: '#/definitions/models.RoleMenu'
  15253. type: array
  15254. url:
  15255. description: URL
  15256. type: string
  15257. userid:
  15258. description: 用户id
  15259. type: integer
  15260. type: object
  15261. models.SearchGoods:
  15262. properties:
  15263. goodscode:
  15264. description: 商品代码(内部)
  15265. type: string
  15266. goodsid:
  15267. description: 商品ID(自增ID SEQ_GOODS)
  15268. type: integer
  15269. goodsname:
  15270. description: 商品名称
  15271. type: string
  15272. marketid:
  15273. description: 所属市场ID
  15274. type: integer
  15275. marketname:
  15276. description: 市场名称
  15277. type: string
  15278. trademode:
  15279. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15280. 21:竞拍-大宗式 22:受托竞价
  15281. type: integer
  15282. required:
  15283. - goodscode
  15284. - goodsid
  15285. - goodsname
  15286. - marketid
  15287. - trademode
  15288. type: object
  15289. models.SellOrder:
  15290. properties:
  15291. accountid:
  15292. description: 资金账号
  15293. type: integer
  15294. applyid:
  15295. description: 申请单ID
  15296. type: integer
  15297. attachment1:
  15298. description: 附件1
  15299. type: string
  15300. attachment2:
  15301. description: 附件2
  15302. type: string
  15303. buyorsell:
  15304. description: 买卖 - 0:买 1:卖
  15305. type: integer
  15306. canbargain:
  15307. description: 是否可议价 - 0:不可 1:可
  15308. type: integer
  15309. cancelqty:
  15310. description: 撤销数量
  15311. type: integer
  15312. canceltime:
  15313. description: 撤销时间
  15314. type: string
  15315. cerno:
  15316. type: string
  15317. chargealgorithm:
  15318. description: 手续费收取方式 1:比率 2:固定
  15319. type: integer
  15320. chargealgorithmvalue:
  15321. description: 手续费设置值(交易所部分)
  15322. type: number
  15323. chargealgorithmvalue2:
  15324. description: 手续费设置值(会员部分)
  15325. type: number
  15326. clientordertime:
  15327. description: 客户端委托时间
  15328. type: string
  15329. cpcertno:
  15330. type: string
  15331. exchangerate:
  15332. description: 汇率[67]
  15333. type: number
  15334. firstratio:
  15335. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15336. type: number
  15337. fixedprice:
  15338. description: '[克拉单价]固定价格 - [挂牌]'
  15339. type: number
  15340. freezecharge:
  15341. description: 冻结手续费
  15342. type: number
  15343. freezefirstamount:
  15344. description: 冻结首付金额 - [摘牌]
  15345. type: number
  15346. freezemargin:
  15347. description: 冻结保证金
  15348. type: number
  15349. goodsno:
  15350. description: 商品编号
  15351. type: string
  15352. imagepath:
  15353. type: string
  15354. isQueryDiamond:
  15355. description: 是否钻石查询
  15356. type: boolean
  15357. isspecified:
  15358. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15359. type: integer
  15360. kppath:
  15361. type: string
  15362. kpweight:
  15363. type: string
  15364. marginalgorithm:
  15365. description: 保证金方式 - 1:比率 2:固定
  15366. type: integer
  15367. marginvalue:
  15368. description: 保证金设置值
  15369. type: number
  15370. marketid:
  15371. description: 市场ID
  15372. type: integer
  15373. marketprice:
  15374. type: string
  15375. orderamount:
  15376. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15377. type: number
  15378. ordertime:
  15379. description: 委托时间
  15380. type: string
  15381. performancetemplateid:
  15382. description: 履约计划模板ID
  15383. type: integer
  15384. price:
  15385. description: 价格
  15386. type: number
  15387. pricefactor:
  15388. description: 价格系数(浮动价时填写) - [挂牌]
  15389. type: number
  15390. pricemove:
  15391. description: 升贴水(浮动价时填写) - [挂牌]
  15392. type: number
  15393. priceper:
  15394. type: string
  15395. relatedwrtradeorderid:
  15396. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15397. type: integer
  15398. remainqty:
  15399. description: 剩余重量
  15400. type: number
  15401. remark:
  15402. type: string
  15403. retcode:
  15404. description: 错误代码
  15405. type: integer
  15406. sellusername:
  15407. description: 卖方(查询字段-模糊查询)
  15408. type: string
  15409. settingmaterial:
  15410. type: string
  15411. size1:
  15412. type: string
  15413. size2:
  15414. type: string
  15415. size3:
  15416. type: string
  15417. sizedisplay:
  15418. description: 尺寸
  15419. type: string
  15420. stonedesc:
  15421. type: string
  15422. totalqty:
  15423. description: 总重量
  15424. type: number
  15425. tradedate:
  15426. description: 交易日(yyyyMMdd)
  15427. type: string
  15428. tradeprice:
  15429. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15430. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15431. type: number
  15432. unfreezecharge:
  15433. description: 解冻手续费
  15434. type: number
  15435. unfreezefirstamount:
  15436. description: 解冻首付金额 - [摘牌]
  15437. type: number
  15438. unfreezemargin:
  15439. description: 解冻保证金
  15440. type: number
  15441. userid:
  15442. description: 用户ID
  15443. type: integer
  15444. uuid:
  15445. description: 发起端唯一id
  15446. type: string
  15447. validtime:
  15448. description: 有效期限
  15449. type: string
  15450. validtype:
  15451. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15452. type: integer
  15453. warehousenamedisplay:
  15454. type: string
  15455. wrbargainid:
  15456. description: 议价申请单ID
  15457. type: integer
  15458. wrfactortypeid:
  15459. description: 仓单要素类型ID/商品ID(77)
  15460. type: integer
  15461. wrpath:
  15462. type: string
  15463. wrpricetype:
  15464. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15465. type: integer
  15466. wrstandardid:
  15467. description: 现货商品ID
  15468. type: integer
  15469. wrtradeorderid:
  15470. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15471. type: string
  15472. wrtradeorderstatus:
  15473. 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:撤单解冻贷款失败
  15474. type: integer
  15475. wrtradetype:
  15476. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15477. type: integer
  15478. wrtransferuserid:
  15479. description: 仓单受让用户 - [摘牌]
  15480. type: integer
  15481. zscategory:
  15482. description: 钻石分类 - 枚举”ZSCategory“
  15483. type: integer
  15484. zscategorydisplay:
  15485. description: 钻石分类 - 描述
  15486. type: string
  15487. zscerttypedisplay:
  15488. type: string
  15489. zsclaritytype1display:
  15490. type: string
  15491. zsclaritytype2display:
  15492. type: string
  15493. zscolortype1display:
  15494. type: string
  15495. zscolortype2display:
  15496. type: string
  15497. zscrystaltype:
  15498. type: string
  15499. zscrystaltypedisplay:
  15500. type: string
  15501. zscurrencytype:
  15502. description: 货币类型 - 枚举“ZSCurrencyType”
  15503. type: integer
  15504. zscurrencytypedisplay:
  15505. type: string
  15506. zscurrencytypedisplayunit:
  15507. type: string
  15508. zscuttype1display:
  15509. type: string
  15510. zscuttype2display:
  15511. type: string
  15512. zsczcolor1typedisplay:
  15513. type: string
  15514. zsczcolor2typedisplay:
  15515. type: string
  15516. zsczcolor3typedisplay:
  15517. type: string
  15518. zsfluorescencetype1display:
  15519. type: string
  15520. zsfluorescencetype2display:
  15521. type: string
  15522. zspolishtype1display:
  15523. type: string
  15524. zspolishtype2display:
  15525. type: string
  15526. zsshapetypedisplay:
  15527. type: string
  15528. zsstyletypedisplay:
  15529. type: string
  15530. zssymmetrytype1display:
  15531. type: string
  15532. zssymmetrytype2display:
  15533. type: string
  15534. type: object
  15535. models.SellOrderQueryReq:
  15536. properties:
  15537. origin:
  15538. description: 原产地
  15539. type: string
  15540. page:
  15541. description: 页码
  15542. type: integer
  15543. pagesize:
  15544. description: 每页大小
  15545. type: integer
  15546. total:
  15547. description: 总条数
  15548. type: integer
  15549. warehouseid:
  15550. description: 仓库ID
  15551. type: integer
  15552. weight1:
  15553. description: 总重量(克拉重量)-从
  15554. type: number
  15555. weight2:
  15556. description: 总重量(克拉重量)-至
  15557. type: number
  15558. weightavg1:
  15559. description: 平均单颗重量-从
  15560. type: number
  15561. weightavg2:
  15562. description: 平均单颗重量-至
  15563. type: number
  15564. zscategory:
  15565. description: 钻石分类 - 枚举”ZSCategory“
  15566. type: integer
  15567. zscerttype:
  15568. description: 证书类型
  15569. items:
  15570. type: string
  15571. type: array
  15572. zsclaritytype:
  15573. description: 净度
  15574. items:
  15575. type: integer
  15576. type: array
  15577. zscolortype:
  15578. description: 颜色
  15579. items:
  15580. type: integer
  15581. type: array
  15582. zscurrencytype:
  15583. description: 货币类型 - 枚举“ZSCurrencyType”
  15584. items:
  15585. type: string
  15586. type: array
  15587. zscuttype:
  15588. description: 切工
  15589. items:
  15590. type: integer
  15591. type: array
  15592. zsczcolor1type:
  15593. description: 彩钻颜色1
  15594. items:
  15595. type: string
  15596. type: array
  15597. zsfluorescencetype:
  15598. description: 荧光
  15599. items:
  15600. type: integer
  15601. type: array
  15602. zspolishtype:
  15603. description: 抛光度
  15604. items:
  15605. type: integer
  15606. type: array
  15607. zsshapetype:
  15608. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15609. items:
  15610. type: string
  15611. type: array
  15612. zsstyletype:
  15613. description: 款式
  15614. items:
  15615. type: string
  15616. type: array
  15617. zssymmetrytype:
  15618. description: 对称度
  15619. items:
  15620. type: integer
  15621. type: array
  15622. required:
  15623. - zscategory
  15624. type: object
  15625. models.Systemparam:
  15626. properties:
  15627. loginid:
  15628. description: 更新用户账号,登录账号
  15629. type: string
  15630. modifyflag:
  15631. description: 修改标志0 不允许修改 1 允许修改
  15632. type: integer
  15633. paramcode:
  15634. description: 参数代码
  15635. type: string
  15636. paramname:
  15637. description: 参数名
  15638. type: string
  15639. paramtype:
  15640. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15641. type: integer
  15642. paramvalue:
  15643. description: 参数值
  15644. type: string
  15645. paramvalue2:
  15646. description: 参数值(CLOB)
  15647. type: string
  15648. regexpress:
  15649. description: 正则表达式
  15650. type: string
  15651. remark:
  15652. description: 备注
  15653. type: string
  15654. serverip:
  15655. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15656. type: string
  15657. showflag:
  15658. description: 是否显示0 不显示 1 显示
  15659. type: integer
  15660. updatetime:
  15661. description: 更新时间
  15662. type: string
  15663. userid:
  15664. description: 更新用户ID
  15665. type: integer
  15666. required:
  15667. - paramcode
  15668. type: object
  15669. models.Szdz3convertconfig:
  15670. properties:
  15671. canin:
  15672. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15673. type: integer
  15674. canout:
  15675. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15676. type: integer
  15677. converttype:
  15678. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15679. 6:交易转花生米(不设置)
  15680. type: integer
  15681. createtime:
  15682. description: 创建时间
  15683. type: string
  15684. creatorid:
  15685. description: 创建人
  15686. type: integer
  15687. daymaxvalue:
  15688. description: 当日最大转入限制
  15689. type: number
  15690. freezedays:
  15691. description: 冻结天数 [5:花生米转交易]
  15692. type: integer
  15693. innergoodsid:
  15694. description: 内部商品ID[交易]
  15695. type: integer
  15696. inratio:
  15697. description: 目标值
  15698. type: integer
  15699. modifierid:
  15700. description: 修改人
  15701. type: integer
  15702. modifytime:
  15703. description: 修改时间
  15704. type: string
  15705. outergoodscode:
  15706. description: 外部商品代码[JD\PD]
  15707. type: string
  15708. outratio:
  15709. description: 源值
  15710. type: integer
  15711. pddecimalplace:
  15712. description: PD小数位
  15713. type: integer
  15714. timemaxvalue:
  15715. description: 单次最大转入限制
  15716. type: number
  15717. timeminvalue:
  15718. description: 单次最小转入限制
  15719. type: number
  15720. required:
  15721. - converttype
  15722. - innergoodsid
  15723. - outergoodscode
  15724. type: object
  15725. models.Szdz3searchwhitelist:
  15726. properties:
  15727. createtime:
  15728. description: 创建时间
  15729. type: string
  15730. creatorid:
  15731. description: 创建人
  15732. type: integer
  15733. modifierid:
  15734. description: 修改人
  15735. type: integer
  15736. modifytime:
  15737. description: 修改时间
  15738. type: string
  15739. userid:
  15740. description: 用户ID
  15741. type: integer
  15742. required:
  15743. - userid
  15744. type: object
  15745. models.TBGoods:
  15746. properties:
  15747. agreeunit:
  15748. description: 合约乘数
  15749. type: number
  15750. enumdicname:
  15751. description: 单位名称
  15752. type: string
  15753. goodscode:
  15754. description: 商品代码(内部)
  15755. type: string
  15756. goodsid:
  15757. description: 商品ID(自增ID SEQ_GOODS)
  15758. type: integer
  15759. goodsname:
  15760. description: 商品名称
  15761. type: string
  15762. type: object
  15763. models.TBGoodsGroup:
  15764. properties:
  15765. GDLST:
  15766. description: 商品列表
  15767. items:
  15768. $ref: '#/definitions/models.TBGoods'
  15769. type: array
  15770. convertratio:
  15771. description: 折算系数
  15772. type: number
  15773. enumdicname:
  15774. description: 单位名称
  15775. type: string
  15776. exexchangecode:
  15777. description: 交易所代码
  15778. type: string
  15779. exexchangename:
  15780. description: 交易所名称
  15781. type: string
  15782. goodsgroupid:
  15783. description: 商品组ID(自增ID)
  15784. type: integer
  15785. goodsgroupname:
  15786. description: 商品组名称
  15787. type: string
  15788. goodunitid:
  15789. description: 报价单位ID
  15790. type: integer
  15791. type: object
  15792. models.TBMiddleGoods:
  15793. properties:
  15794. GPLST:
  15795. description: 期货品种列表
  15796. items:
  15797. $ref: '#/definitions/models.TBGoodsGroup'
  15798. type: array
  15799. WDLST:
  15800. description: 商品信息列表(现货品类)
  15801. items:
  15802. $ref: '#/definitions/models.TBWrstandard'
  15803. type: array
  15804. areauserid:
  15805. description: 机构用户ID
  15806. type: integer
  15807. enumdicname:
  15808. description: 单位名称
  15809. type: string
  15810. goodsunitid:
  15811. description: 套保品种单位id
  15812. type: integer
  15813. middlegoodscode:
  15814. description: 套保品种代码
  15815. type: string
  15816. middlegoodsid:
  15817. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15818. type: integer
  15819. middlegoodsname:
  15820. description: 套保品种名称
  15821. type: string
  15822. needarbitrageratio:
  15823. description: 套利比率
  15824. type: number
  15825. needhedgeratio:
  15826. description: 套保比率
  15827. type: number
  15828. type: object
  15829. models.TBWrstandard:
  15830. properties:
  15831. convertratio:
  15832. description: 折算系数
  15833. type: number
  15834. deliverygoodsname:
  15835. description: 品种名称
  15836. type: string
  15837. enumdicname:
  15838. description: 单位名称
  15839. type: string
  15840. vatrate:
  15841. description: 增值税率
  15842. type: number
  15843. wrstandardcode:
  15844. description: 现货商品代码
  15845. type: string
  15846. wrstandardid:
  15847. description: 现货商品ID(SEQ_WRSTANDARD)
  15848. type: integer
  15849. wrstandardname:
  15850. description: 现货商品名称
  15851. type: string
  15852. type: object
  15853. models.Taaccount:
  15854. properties:
  15855. accountflag:
  15856. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15857. type: integer
  15858. accountid:
  15859. description: 资金账户ID
  15860. type: integer
  15861. accountname:
  15862. description: 账户名称
  15863. type: string
  15864. balance:
  15865. description: 期初余额
  15866. type: number
  15867. capitalbalance:
  15868. description: 本金余额[外部子账户实际出入金余额]
  15869. type: number
  15870. changeflag:
  15871. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15872. type: integer
  15873. changetime:
  15874. description: 账户状态变更时间
  15875. type: string
  15876. closepl:
  15877. description: 今日平仓盈亏
  15878. type: number
  15879. creditdecrease:
  15880. description: 今日授信减少
  15881. type: number
  15882. creditincrease:
  15883. description: 今日授信增加
  15884. type: number
  15885. curamount:
  15886. description: 总市值(从持仓中统计)
  15887. type: number
  15888. currencyid:
  15889. description: 货币ID
  15890. type: integer
  15891. currentbalance:
  15892. description: 期末余额
  15893. type: number
  15894. freezecharge:
  15895. description: 手续费冻结
  15896. type: number
  15897. freezemargin:
  15898. description: 冻结保证金
  15899. type: number
  15900. fromaccountid:
  15901. description: 所属上级账户
  15902. type: integer
  15903. inamount:
  15904. description: 今日入金金额(包括三方入金)
  15905. type: number
  15906. ismain:
  15907. description: 是否母账号 0:不是母账户 1:是母账户
  15908. type: integer
  15909. ismarketaccount:
  15910. description: 是否机构接单账号 0:不是 1:是
  15911. type: integer
  15912. isreckonaccount:
  15913. description: 是否机构分润账号 0:不是 1:是
  15914. type: integer
  15915. mortgagecredit:
  15916. description: 授信金额
  15917. type: number
  15918. orifreezecharge:
  15919. description: 期初手续费冻结
  15920. type: number
  15921. orifreezemargin:
  15922. description: 期初冻结保证金
  15923. type: number
  15924. orimortgagecredit:
  15925. description: 期初授信金额
  15926. type: number
  15927. oriothercredit:
  15928. description: 期初其它授信金额
  15929. type: number
  15930. oriotherfreezemargin:
  15931. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15932. type: number
  15933. orioutamountfreeze:
  15934. description: 期初出金冻结
  15935. type: number
  15936. oriusedmargin:
  15937. description: 期初占用保证金
  15938. type: number
  15939. othercredit:
  15940. description: 其它授信金额
  15941. type: number
  15942. othercreditdecrease:
  15943. description: 今日其它授信减少
  15944. type: number
  15945. othercreditincrease:
  15946. description: 今日其它授信增加
  15947. type: number
  15948. otherfreezemargin:
  15949. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15950. type: number
  15951. otherincome:
  15952. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15953. type: number
  15954. otherpay:
  15955. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15956. type: number
  15957. outamount:
  15958. description: 今日出金金额(包括三方出金)
  15959. type: number
  15960. outamountfreeze:
  15961. description: 出金冻结
  15962. type: number
  15963. outthreshold:
  15964. description: 出金阈值
  15965. type: number
  15966. parentaccountid:
  15967. description: 所属根账号
  15968. type: integer
  15969. paycharge:
  15970. description: 今日手续费支出
  15971. type: number
  15972. relatedaccountstatus:
  15973. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15974. type: integer
  15975. relateduserid:
  15976. description: 关联用户
  15977. type: integer
  15978. remainamount:
  15979. description: 融资额(从融资合同中统计)
  15980. type: number
  15981. serivcegroup:
  15982. description: 服务分组
  15983. type: integer
  15984. signstatus:
  15985. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15986. type: integer
  15987. sublevelpath:
  15988. description: 账号层级路径(逗号分隔,首尾加逗号)
  15989. type: string
  15990. taaccounttype:
  15991. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15992. type: integer
  15993. thirdinamount:
  15994. description: 今日三方入金
  15995. type: number
  15996. thirdoutamount:
  15997. description: 今日三方出金
  15998. type: number
  15999. tradestatus:
  16000. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16001. type: integer
  16002. tradestatuschangetime:
  16003. description: 激活时间
  16004. type: string
  16005. transferamount:
  16006. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16007. type: number
  16008. usedmargin:
  16009. description: 占用保证金
  16010. type: number
  16011. userid:
  16012. description: 用户ID
  16013. type: integer
  16014. required:
  16015. - accountid
  16016. - userid
  16017. type: object
  16018. models.Tablecolumnconfig:
  16019. properties:
  16020. aligntype:
  16021. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16022. type: integer
  16023. autoid:
  16024. description: AutoID
  16025. type: integer
  16026. columnfield:
  16027. description: 列字段
  16028. type: string
  16029. columntitle:
  16030. description: 列Title
  16031. type: string
  16032. columnwidth:
  16033. description: 列宽
  16034. type: string
  16035. fixed:
  16036. description: 固定类型 - 空 | left | right
  16037. type: string
  16038. formatterstring:
  16039. description: 格式化字符
  16040. type: string
  16041. formattertype:
  16042. description: 格式化类型
  16043. type: string
  16044. groupname:
  16045. description: 表头分组名称
  16046. type: string
  16047. ismerge:
  16048. description: 是否合并显示 - 0:不合并 1:合并
  16049. type: integer
  16050. isshow:
  16051. description: 是否显示 - 0:不显示 1:显示
  16052. type: integer
  16053. needsummary:
  16054. description: 是否需要汇总 - 0:不需要 1:需要
  16055. type: integer
  16056. orderindex:
  16057. description: 顺序
  16058. type: integer
  16059. remark:
  16060. description: 备注
  16061. type: string
  16062. summarytype:
  16063. description: 汇总类型 - 1:加总 2:最后一个
  16064. type: integer
  16065. tablekey:
  16066. description: 列表Key
  16067. type: string
  16068. required:
  16069. - autoid
  16070. type: object
  16071. models.TjmdHolderDetailTradeInfo:
  16072. properties:
  16073. agreeunit:
  16074. description: 合约乘数
  16075. type: number
  16076. buyaccountid:
  16077. description: 买方账户
  16078. type: string
  16079. buyusername:
  16080. description: 买方
  16081. type: string
  16082. delistingdate:
  16083. description: 最后结算日
  16084. type: string
  16085. expiredate:
  16086. description: 到期结算价定价日
  16087. type: string
  16088. exprieprice:
  16089. description: 到期清算价格
  16090. type: string
  16091. goodscode:
  16092. description: 商品代码
  16093. type: string
  16094. goodsid:
  16095. description: 商品ID
  16096. type: integer
  16097. goodsname:
  16098. description: 商品名称(交易标的)
  16099. type: string
  16100. lasttradedate:
  16101. description: 最后交易日
  16102. type: string
  16103. listingdate:
  16104. description: 开始交易日
  16105. type: string
  16106. openprice:
  16107. description: 成交价
  16108. type: number
  16109. openqty:
  16110. description: 交易数量
  16111. type: integer
  16112. sellaccountid:
  16113. description: 卖方账户
  16114. type: string
  16115. sellusername:
  16116. description: 卖方
  16117. type: string
  16118. tradeamount:
  16119. description: 初始名义价值
  16120. type: number
  16121. tradedate:
  16122. description: 成交日期
  16123. type: string
  16124. tradeid:
  16125. description: 成交编号
  16126. type: string
  16127. type: object
  16128. models.TjmdMarketSection:
  16129. properties:
  16130. marketsectionid:
  16131. description: 市场版块ID(SEQ_MARKETSECTION)
  16132. type: integer
  16133. marketsectionname:
  16134. description: 市场版块名称
  16135. type: string
  16136. mlist:
  16137. description: 市场列表(板块下面有多少个市场)
  16138. items:
  16139. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16140. type: array
  16141. orderindex:
  16142. description: 排序
  16143. type: integer
  16144. pictureurl:
  16145. description: 图片url, 规格(90*90)
  16146. type: string
  16147. remark:
  16148. description: 备注
  16149. type: string
  16150. type: object
  16151. models.TjmdMarketSectionConfig:
  16152. properties:
  16153. auctionwrtype:
  16154. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16155. type: integer
  16156. canacceptquote:
  16157. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16158. type: integer
  16159. cangoodsexercise:
  16160. description: '[期权]是否可现货行权- 0:否 1:是'
  16161. type: integer
  16162. cangoodsexercisetype:
  16163. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16164. type: integer
  16165. canmanualquotestrike:
  16166. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16167. type: integer
  16168. canmutistage:
  16169. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16170. type: integer
  16171. canpreexercise:
  16172. description: '[期权]是否可预申报- 0:否 1:是'
  16173. type: integer
  16174. clearinterval:
  16175. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16176. type: integer
  16177. contracttmp:
  16178. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16179. type: string
  16180. exchareaid:
  16181. description: 所属交易所,可以没有
  16182. type: integer
  16183. financemarketid:
  16184. description: 融资回购市场ID [仓单贸易]
  16185. type: integer
  16186. goodstype:
  16187. description: 商品类型 - 1:交易商品 2:仓单商品
  16188. type: integer
  16189. hasrebate:
  16190. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16191. type: integer
  16192. hastradecredit:
  16193. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16194. type: integer
  16195. haswr:
  16196. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16197. type: integer
  16198. isdeductmargin:
  16199. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16200. type: integer
  16201. isrecordsource:
  16202. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16203. type: integer
  16204. isreleasemargin:
  16205. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16206. type: integer
  16207. isupdatereckonprice:
  16208. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16209. type: integer
  16210. listingmode:
  16211. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16212. type: integer
  16213. marginformula:
  16214. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16215. type: integer
  16216. marginformula2:
  16217. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16218. type: integer
  16219. marketid:
  16220. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16221. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16222. type: integer
  16223. marketname:
  16224. description: 市场名称
  16225. type: string
  16226. marketsectionid:
  16227. description: 市场版块ID(SEQ_MARKETSECTION)
  16228. type: integer
  16229. marketserviceid:
  16230. description: 市场服务ID
  16231. type: integer
  16232. marketstatus:
  16233. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16234. type: integer
  16235. markettype:
  16236. description: 市场类型- 1:非交易服务 2:交易服务
  16237. type: integer
  16238. matchermode:
  16239. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16240. type: integer
  16241. nowrquotaflag:
  16242. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16243. type: integer
  16244. openmethod:
  16245. description: 开盘模式 - 0 自动 1手动
  16246. type: integer
  16247. orderindex:
  16248. description: 排序
  16249. type: integer
  16250. otcuserid:
  16251. description: 场外期权做市商[场外期权]
  16252. type: integer
  16253. outersynctime:
  16254. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16255. type: string
  16256. paylaterflag:
  16257. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16258. type: integer
  16259. pendingflag:
  16260. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16261. type: integer
  16262. pendingtime:
  16263. description: 待开市时间[通道交易-对冲](HH:mm)
  16264. type: string
  16265. performancetempid:
  16266. description: 履约计划模板ID - 作废
  16267. type: integer
  16268. premiumquotemode:
  16269. description: 权利金报价方式 - 1:自动 2:手动
  16270. type: integer
  16271. rebateratio:
  16272. description: 返利比率[竞价式]
  16273. type: number
  16274. reckonorder:
  16275. description: 结算顺序
  16276. type: integer
  16277. reckonpricealgorithm:
  16278. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16279. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16280. type: integer
  16281. reckonpriceparam:
  16282. description: 结算价参数
  16283. type: integer
  16284. reckontime:
  16285. description: 结算时间[通道交易-对冲](HH:mm)
  16286. type: string
  16287. roleprioritytype:
  16288. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16289. type: integer
  16290. selllistingauditflag:
  16291. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16292. type: integer
  16293. trademarkettype:
  16294. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16295. type: integer
  16296. trademode:
  16297. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16298. 21:竞拍-大宗式 22:受托竞价
  16299. type: integer
  16300. tradeproperty:
  16301. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16302. 8:场外期权
  16303. type: integer
  16304. tradetype:
  16305. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16306. type: integer
  16307. updatereckonpriceinterval:
  16308. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16309. type: integer
  16310. type: object
  16311. models.TjmdQuoteGoods:
  16312. properties:
  16313. buyqty:
  16314. description: 买量(暂不做, 无值, 保留字段)
  16315. type: number
  16316. decimalplace:
  16317. description: 报价小数位
  16318. type: integer
  16319. goodscode:
  16320. description: 合约代码
  16321. type: string
  16322. goodsgroupid:
  16323. description: 商品组ID(自增ID)
  16324. type: integer
  16325. goodsgroupname:
  16326. description: 商品组名称
  16327. type: string
  16328. goodsid:
  16329. description: 合约id
  16330. type: integer
  16331. goodsname:
  16332. description: 合约名称
  16333. type: string
  16334. refgoodscode:
  16335. description: 标的合约代码
  16336. type: string
  16337. refgoodsid:
  16338. description: 标的合约id
  16339. type: integer
  16340. refgoodsname:
  16341. description: 标的合约名称
  16342. type: string
  16343. sellqty:
  16344. description: 卖量(暂不做, 无值, 保留字段)
  16345. type: number
  16346. type: object
  16347. models.TjmdTodayAccountMargin:
  16348. properties:
  16349. accountid:
  16350. description: 账号ID
  16351. type: integer
  16352. goodsid:
  16353. description: 商品ID
  16354. type: integer
  16355. infoc:
  16356. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16357. description: 配置参数
  16358. marketid:
  16359. description: 市场ID
  16360. type: integer
  16361. type: object
  16362. models.TjmdTradeOrderDetail:
  16363. properties:
  16364. buyorsell:
  16365. description: 买卖方向 0-买 1-卖
  16366. type: integer
  16367. goodsid:
  16368. description: 商品id
  16369. type: integer
  16370. marketmaxsub:
  16371. description: 市价最大偏移范围 [浮动价 - 点差]
  16372. type: number
  16373. orderid:
  16374. description: 委托单号
  16375. type: string
  16376. orderprice:
  16377. description: 期初均价
  16378. type: number
  16379. orderqty:
  16380. description: 委托数量
  16381. type: integer
  16382. pricemode:
  16383. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16384. type: integer
  16385. userid:
  16386. description: 用户id
  16387. type: integer
  16388. username:
  16389. description: 用户名称(已脱敏)
  16390. type: string
  16391. type: object
  16392. models.TjmdTransferApply:
  16393. properties:
  16394. applyid:
  16395. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16396. type: integer
  16397. applystatus:
  16398. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16399. type: integer
  16400. applytime:
  16401. description: 申请时间(时间)
  16402. type: string
  16403. auditremark:
  16404. description: 审核备注(拒绝原因?)
  16405. type: string
  16406. begindate:
  16407. description: 开始交易日(yyyymmdd)
  16408. type: string
  16409. buyorsell:
  16410. description: 买卖 - 0:买 1:卖
  16411. type: integer
  16412. enddate:
  16413. description: 结束交易日(yyyymmdd)
  16414. type: string
  16415. goodscode:
  16416. description: 商品代码
  16417. type: string
  16418. goodsid:
  16419. description: 商品ID
  16420. type: integer
  16421. goodsname:
  16422. description: 商品名称
  16423. type: string
  16424. marketid:
  16425. description: 市场ID
  16426. type: integer
  16427. qty:
  16428. description: 期初均价
  16429. type: number
  16430. tradeid:
  16431. description: 成交单号(关联持仓)
  16432. type: string
  16433. transferamount:
  16434. description: 转让总金额(金额)
  16435. type: number
  16436. transferprice:
  16437. description: 转让价格(协议价格)
  16438. type: number
  16439. type: object
  16440. models.TradeHolderDetail:
  16441. properties:
  16442. accountid:
  16443. description: 账号ID
  16444. type: integer
  16445. agreeunit:
  16446. description: 合约乘数
  16447. type: number
  16448. buyorsell:
  16449. description: 方向 - 0:买 1:卖
  16450. type: integer
  16451. currencyid:
  16452. description: 商品币种id
  16453. type: integer
  16454. currencyname:
  16455. description: 币种名称
  16456. type: string
  16457. decimalplace:
  16458. description: 商品价格小数位
  16459. type: integer
  16460. enumdicname:
  16461. description: 商品单位名称
  16462. type: string
  16463. expirecycle:
  16464. description: 行权周期(天) - 1:滚动行权时填写
  16465. type: integer
  16466. expiredate:
  16467. description: 行权日(yyyyMMdd) - 到期日
  16468. type: string
  16469. expiretype:
  16470. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16471. type: integer
  16472. freezeqty:
  16473. description: 期初均价
  16474. type: number
  16475. goodscode:
  16476. description: 商品代码
  16477. type: string
  16478. goodsid:
  16479. description: 商品ID
  16480. type: integer
  16481. goodsname:
  16482. description: 商品名称
  16483. type: string
  16484. goodunitid:
  16485. description: 商品单位id
  16486. type: integer
  16487. holderamount:
  16488. description: 持仓金额
  16489. type: number
  16490. holdercredit:
  16491. description: 持仓授信金额
  16492. type: number
  16493. holderdays:
  16494. description: 剩余冻结天数
  16495. type: integer
  16496. holderprice:
  16497. description: 持仓价格
  16498. type: number
  16499. holderqty:
  16500. description: 期初均价
  16501. type: number
  16502. isconfirmexercise:
  16503. description: 是否确认行权- 0:否 1:是
  16504. type: integer
  16505. ispreexercise:
  16506. description: 是否预申报- 0:否 1:是 2:不可行权
  16507. type: integer
  16508. marketid:
  16509. description: 市场id
  16510. type: integer
  16511. marketname:
  16512. description: 市场名称
  16513. type: string
  16514. openprice:
  16515. description: 建仓价格
  16516. type: number
  16517. openqty:
  16518. description: 期初均价
  16519. type: number
  16520. optiontype:
  16521. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16522. type: integer
  16523. preexerciseprice:
  16524. description: 预申报价格
  16525. type: number
  16526. premium:
  16527. description: 权利金
  16528. type: number
  16529. qtydecimalplace:
  16530. description: 商品成交量小数位
  16531. type: integer
  16532. refgoodscode:
  16533. description: 标的合约代码
  16534. type: string
  16535. refgoodsid:
  16536. description: 标的合约id
  16537. type: integer
  16538. releaseamount:
  16539. description: 释放持仓金额
  16540. type: number
  16541. releaseholdercredit:
  16542. description: 释放持仓授信金额
  16543. type: number
  16544. taname:
  16545. description: 资金账号名称
  16546. type: string
  16547. tradeamount:
  16548. description: 成交金额
  16549. type: number
  16550. tradedate:
  16551. description: 交易日(yyyyMMdd)
  16552. type: string
  16553. tradeid:
  16554. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16555. type: string
  16556. trademode:
  16557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16558. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16559. type: integer
  16560. tradeproperty:
  16561. description: 交易属性
  16562. type: integer
  16563. tradetime:
  16564. description: 交易时间
  16565. type: string
  16566. userid:
  16567. description: 用户id
  16568. type: integer
  16569. username:
  16570. description: 用户名称
  16571. type: string
  16572. type: object
  16573. models.Unlinkermcphedgeplan:
  16574. properties:
  16575. accountid:
  16576. description: 期货账户ID - 作废
  16577. type: integer
  16578. accountname:
  16579. description: 交易用户
  16580. type: string
  16581. applyid:
  16582. description: 申请人
  16583. type: integer
  16584. applysrc:
  16585. description: 申请来源 - 1:管理端 2:终端
  16586. type: integer
  16587. applytime:
  16588. description: 申请时间
  16589. type: string
  16590. areauserid:
  16591. description: '[企业ID]机构ID'
  16592. type: integer
  16593. auditid:
  16594. description: 审核人
  16595. type: integer
  16596. auditremark:
  16597. description: 审核备注
  16598. type: string
  16599. auditsrc:
  16600. description: 审核来源 - 1:管理端 2:终端
  16601. type: integer
  16602. audittime:
  16603. description: 审核时间
  16604. type: string
  16605. audittradedate:
  16606. description: 审核交易日(yyyyMMdd)
  16607. type: string
  16608. biztype:
  16609. description: 业务类型 - 1:套保
  16610. type: integer
  16611. contracttype:
  16612. description: 计划类型 - 1:采购 -1:销售
  16613. type: integer
  16614. convertfactor:
  16615. description: 标仓系数 - 作废
  16616. type: number
  16617. createtime:
  16618. description: 创建时间
  16619. type: string
  16620. currencyid:
  16621. description: 结算币种ID - 作废
  16622. type: integer
  16623. deliverygoodsid:
  16624. description: 现货品种ID
  16625. type: integer
  16626. enumdicname:
  16627. description: 结算币种
  16628. type: string
  16629. hedgeplanid:
  16630. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16631. type: string
  16632. hedgeplanno:
  16633. description: '[计划编号]套保计划编号,模糊查询'
  16634. type: string
  16635. hedgeplanstatus:
  16636. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16637. type: integer
  16638. isrelated:
  16639. description: 是否已关联计划项目 - 0:否 1:是
  16640. type: integer
  16641. planqty:
  16642. description: '[计划量]计划数量'
  16643. type: number
  16644. plantime:
  16645. description: 计划时间
  16646. type: string
  16647. producttype:
  16648. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16649. type: integer
  16650. remark:
  16651. description: 备注
  16652. type: string
  16653. spotgoodsdesc:
  16654. description: 商品型号
  16655. type: string
  16656. tradedate:
  16657. description: 交易日(yyyyMMdd)
  16658. type: string
  16659. tradeuserid:
  16660. description: 交易用户ID
  16661. type: integer
  16662. updatetime:
  16663. description: 更新时间
  16664. type: string
  16665. wrstandardid:
  16666. description: 现货商品ID
  16667. type: integer
  16668. wrstandardname:
  16669. description: 现货商品,模糊查询
  16670. type: string
  16671. required:
  16672. - areauserid
  16673. type: object
  16674. models.UserCollectConfig:
  16675. properties:
  16676. accountstatus:
  16677. description: 账户状态 - 1:正常 2:停用 3:注销
  16678. type: integer
  16679. collectaccountname:
  16680. description: 收款人账户名称
  16681. type: string
  16682. collectaccountno:
  16683. description: 收款人账户
  16684. type: string
  16685. collectbankname:
  16686. description: 收款人开户行
  16687. type: string
  16688. collectbranchbankname:
  16689. description: 收款人开户支行
  16690. type: string
  16691. collectconfigid:
  16692. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16693. type: string
  16694. remark:
  16695. description: 备注
  16696. type: string
  16697. userid:
  16698. description: 收款人用户ID
  16699. type: integer
  16700. type: object
  16701. models.UserReceiveInfo:
  16702. properties:
  16703. address:
  16704. description: 提货人详细地址
  16705. type: string
  16706. autoid:
  16707. description: AutoID
  16708. type: integer
  16709. cardnum:
  16710. description: 证件号码(加密存储)
  16711. type: string
  16712. cardtypeid:
  16713. description: 证件类型
  16714. type: integer
  16715. cityid:
  16716. description: 市
  16717. type: integer
  16718. cityname:
  16719. description: 城市名称
  16720. type: string
  16721. countryid:
  16722. description: 国家
  16723. type: integer
  16724. countryname:
  16725. description: 国家名称
  16726. type: string
  16727. districtid:
  16728. description: 地区
  16729. type: integer
  16730. districtname:
  16731. description: 地区名称
  16732. type: string
  16733. hasencrypt:
  16734. description: 数据是否已加密 - 0:未加密 1:已加密
  16735. type: integer
  16736. isdefault:
  16737. description: 是否默认地址 - 0:否 1:是
  16738. type: integer
  16739. phonenum:
  16740. description: 提货人联系方式(加密存储)
  16741. type: string
  16742. provinceid:
  16743. description: 省
  16744. type: integer
  16745. provincename:
  16746. description: 省名称
  16747. type: string
  16748. receivername:
  16749. description: 提货人姓名
  16750. type: string
  16751. takeremark:
  16752. description: 提货备注
  16753. type: string
  16754. userid:
  16755. description: 用户ID
  16756. type: integer
  16757. type: object
  16758. models.Useraccount:
  16759. properties:
  16760. accountname:
  16761. description: 账户名称(机构名称)
  16762. type: string
  16763. accountstatus:
  16764. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16765. type: integer
  16766. applysrc:
  16767. description: 申请来源 - 1:管理端 2:终端
  16768. type: integer
  16769. auditremark:
  16770. description: 审核备注
  16771. type: string
  16772. auditsrc:
  16773. description: 审核来源 - 1:管理端 2:终端
  16774. type: integer
  16775. audittime:
  16776. description: 审核时间
  16777. type: string
  16778. audituserid:
  16779. description: 审核人
  16780. type: integer
  16781. broker:
  16782. description: 所属经纪人ID
  16783. type: integer
  16784. canceltime:
  16785. description: 销户时间
  16786. type: string
  16787. canceluserid:
  16788. description: 销户人
  16789. type: integer
  16790. canrecommend:
  16791. description: 是否可推荐 - 0:不可 1;可
  16792. type: integer
  16793. createtime:
  16794. description: 创建时间
  16795. type: string
  16796. creatorid:
  16797. description: 创建人
  16798. type: integer
  16799. hasauth:
  16800. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16801. type: integer
  16802. isanonymous:
  16803. description: 是否匿名下单 - 0:否 1:是
  16804. type: integer
  16805. maxinvestornum:
  16806. description: 最大用户数(经纪会员下投资者个数)
  16807. type: integer
  16808. memberuserid:
  16809. description: 所属会员ID
  16810. type: integer
  16811. modifierid:
  16812. description: 修改人
  16813. type: integer
  16814. modifyremark:
  16815. description: 变更备注
  16816. type: string
  16817. modifystatus:
  16818. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16819. type: integer
  16820. modifytime:
  16821. description: 修改时间
  16822. type: string
  16823. parenttopuser:
  16824. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16825. type: string
  16826. parentuserid:
  16827. description: 所属机构ID
  16828. type: integer
  16829. reckonaccountid:
  16830. description: 默认结算资金账号ID(机构分润使用) 作废
  16831. type: integer
  16832. refercount:
  16833. description: 推荐总人数
  16834. type: integer
  16835. refereeuserid:
  16836. description: 推荐人ID
  16837. type: integer
  16838. refernum:
  16839. description: 推荐码
  16840. type: string
  16841. rootuserid:
  16842. description: 根用户ID
  16843. type: integer
  16844. subaccountlevel:
  16845. description: 子账户层数
  16846. type: integer
  16847. subarealevelpath:
  16848. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16849. type: string
  16850. userid:
  16851. description: 用户ID
  16852. type: integer
  16853. usertype:
  16854. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16855. type: integer
  16856. required:
  16857. - userid
  16858. type: object
  16859. models.Userfavoritegoods:
  16860. properties:
  16861. goodsid:
  16862. description: 商品ID
  16863. type: integer
  16864. required:
  16865. - goodsid
  16866. type: object
  16867. models.Userinfo:
  16868. properties:
  16869. address:
  16870. description: 地址
  16871. type: string
  16872. attachment1:
  16873. description: 附件1
  16874. type: string
  16875. attachment2:
  16876. description: 附件2
  16877. type: string
  16878. bankaccount:
  16879. description: 银行帐号 (加密存储)
  16880. type: string
  16881. bankaccountname:
  16882. description: 收款人名称
  16883. type: string
  16884. bankcardfrontphotourl:
  16885. description: 银行卡正面照地址
  16886. type: string
  16887. bankid:
  16888. description: 银行编码
  16889. type: string
  16890. bankname:
  16891. description: 银行名称
  16892. type: string
  16893. biznature:
  16894. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16895. type: integer
  16896. bizscope:
  16897. description: 企业经营范围(企业)
  16898. type: string
  16899. cardbackphotourl:
  16900. description: 证件背面图片地址
  16901. type: string
  16902. cardfrontphotourl:
  16903. description: 证件正面图片地址
  16904. type: string
  16905. cardnum:
  16906. description: 证件号码(加密存储)
  16907. type: string
  16908. cardtypeid:
  16909. description: 证件类型ID
  16910. type: integer
  16911. cityid:
  16912. description: 市
  16913. type: integer
  16914. company:
  16915. description: 公司(个人)
  16916. type: string
  16917. contactname:
  16918. description: 联系人
  16919. type: string
  16920. countryid:
  16921. description: 国家
  16922. type: integer
  16923. createtime:
  16924. description: 创建时间
  16925. type: string
  16926. creatorid:
  16927. description: 创建人
  16928. type: integer
  16929. customername:
  16930. description: 客户名称(企业名称)
  16931. type: string
  16932. districtid:
  16933. description: 地区
  16934. type: integer
  16935. email:
  16936. description: 邮件(加密存储)
  16937. type: string
  16938. fax:
  16939. description: 传真(加密存储)
  16940. type: string
  16941. halfbodyphotourl:
  16942. description: 半身照地址
  16943. type: string
  16944. hasencrypt:
  16945. description: 数据是否已加密 - 0:未加密 1:已加密
  16946. type: integer
  16947. headurl:
  16948. description: 头像地址
  16949. type: string
  16950. legalcardbackphotourl:
  16951. description: 法人身份证背面照地址
  16952. type: string
  16953. legalcardfrontphotourl:
  16954. description: 法人身份证正面照地址
  16955. type: string
  16956. legalpersonname:
  16957. description: 法人姓名(企业)
  16958. type: string
  16959. mobile:
  16960. description: 手机号码(加密存储)
  16961. type: string
  16962. mobile2:
  16963. description: 手机号码[明文-尚志]
  16964. type: string
  16965. modifierid:
  16966. description: 修改人
  16967. type: integer
  16968. modifiertime:
  16969. description: 修改时间
  16970. type: string
  16971. needinvoice:
  16972. description: 是否需要发票 - 0:不需要 1:需要
  16973. type: integer
  16974. nickname:
  16975. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16976. type: string
  16977. openmode:
  16978. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16979. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16980. type: integer
  16981. otherurl:
  16982. description: 其它图片地址[使用分号分隔]
  16983. type: string
  16984. postalcode:
  16985. description: 邮政编码
  16986. type: string
  16987. provinceid:
  16988. description: 省
  16989. type: integer
  16990. qq:
  16991. description: QQ(加密存储
  16992. type: string
  16993. remark:
  16994. description: 备注
  16995. type: string
  16996. sex:
  16997. description: '用户性别 0: 女 1: 男'
  16998. type: integer
  16999. signpdfurl:
  17000. description: 签约pdf文件
  17001. type: string
  17002. telphone:
  17003. description: 联系电话(加密存储)
  17004. type: string
  17005. userid:
  17006. description: 用户ID
  17007. type: integer
  17008. userinfotype:
  17009. description: 用户信息类型 - 1:个人 2:企业
  17010. type: integer
  17011. userstatus:
  17012. description: 用户状态 - 1:正常 2:注销
  17013. type: integer
  17014. usertype:
  17015. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17016. type: integer
  17017. wechat:
  17018. description: 微信(加密存储)
  17019. type: string
  17020. wskhinfo:
  17021. description: 开户申请信息(JSON)
  17022. type: string
  17023. required:
  17024. - userid
  17025. type: object
  17026. models.WRSConverTDetail:
  17027. properties:
  17028. convertratio:
  17029. description: 套保系数
  17030. type: number
  17031. deliverygoodscode:
  17032. description: 现货商品代码
  17033. type: string
  17034. deliverygoodsid:
  17035. description: 现货品种ID
  17036. type: integer
  17037. deliverygoodsname:
  17038. description: 现货商品名称
  17039. type: string
  17040. enumdicname:
  17041. description: 单位名称
  17042. type: string
  17043. goodsunitid:
  17044. description: 套保品种单位id
  17045. type: integer
  17046. middlegoodscode:
  17047. description: 套保品种代码
  17048. type: string
  17049. middlegoodsid:
  17050. description: 套保品种ID
  17051. type: integer
  17052. middlegoodsname:
  17053. description: 套保品种名称
  17054. type: string
  17055. modifytime:
  17056. description: 修改时间
  17057. type: string
  17058. wrstandardid:
  17059. description: 品类ID
  17060. type: integer
  17061. type: object
  17062. models.WRStandardInfo:
  17063. properties:
  17064. areauserid:
  17065. description: 所属机构
  17066. type: integer
  17067. convertfactor:
  17068. description: 标仓系数
  17069. type: number
  17070. createtime:
  17071. description: 创建时间
  17072. type: string
  17073. creatorid:
  17074. description: 创建人
  17075. type: integer
  17076. deliverygoodsid:
  17077. description: 品种ID
  17078. type: integer
  17079. deliverygoodsname:
  17080. description: 交割商品名称
  17081. type: string
  17082. factoryitemjson:
  17083. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17084. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17085. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17086. 逗号分隔'
  17087. type: string
  17088. isvalid:
  17089. description: 是否有效 - 0:无效 1:有效
  17090. type: integer
  17091. minivalue:
  17092. description: 最小变动值
  17093. type: integer
  17094. minivaluedp:
  17095. description: 最小变动值小数位
  17096. type: integer
  17097. realminivalue:
  17098. description: 实际最小变动值
  17099. type: integer
  17100. realminivaluedp:
  17101. description: 实际最小变动值小数位
  17102. type: integer
  17103. remark:
  17104. description: 备注
  17105. type: string
  17106. unitid:
  17107. description: 单位ID
  17108. type: integer
  17109. unitname:
  17110. description: 单位
  17111. type: string
  17112. updatetime:
  17113. description: 更新时间
  17114. type: string
  17115. updatorid:
  17116. description: 更新人
  17117. type: integer
  17118. wrsstatus:
  17119. description: 状态 - 作废 - 0:未激活 1:正常
  17120. type: integer
  17121. wrstandardcode:
  17122. description: 现货品类代码
  17123. type: string
  17124. wrstandardid:
  17125. description: 现货品类ID(SEQ_WRSTANDARD)
  17126. type: integer
  17127. wrstandardname:
  17128. description: 现货品类名称
  17129. type: string
  17130. required:
  17131. - wrstandardid
  17132. type: object
  17133. models.WRTradeBargainApply:
  17134. properties:
  17135. accountid:
  17136. description: 摘牌资金账号
  17137. type: integer
  17138. applyprice:
  17139. description: 申请价格(议价价格)
  17140. type: string
  17141. applyqty:
  17142. description: 摘牌数量(议价数量)
  17143. type: number
  17144. applyremark:
  17145. description: 申请备注
  17146. type: string
  17147. applystatus:
  17148. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17149. type: integer
  17150. applytime:
  17151. description: 申请时间(议价时间)
  17152. type: string
  17153. begindate:
  17154. description: 开始交易日(yyyymmdd)
  17155. type: string
  17156. buyorsell:
  17157. description: 买卖(挂牌类型) - 0:买 1:卖
  17158. type: integer
  17159. confirmremark:
  17160. description: 确认备注
  17161. type: string
  17162. confirmtime:
  17163. description: 确认时间
  17164. type: string
  17165. confirmuserid:
  17166. description: 确认人
  17167. type: integer
  17168. deliverygoodscode:
  17169. description: 品种代码
  17170. type: string
  17171. deliverygoodsid:
  17172. description: 品种ID
  17173. type: integer
  17174. deliverygoodsname:
  17175. description: 品种名称
  17176. type: string
  17177. deliverymonth:
  17178. description: 交收月
  17179. type: string
  17180. enddate:
  17181. description: 结束交易日(yyyymmdd)
  17182. type: string
  17183. enumdicname:
  17184. description: 单位名称
  17185. type: string
  17186. fixedprice:
  17187. description: 期初均价
  17188. type: number
  17189. handlestatus:
  17190. description: 处理状态
  17191. type: integer
  17192. marginvalue:
  17193. description: 期初均价
  17194. type: number
  17195. marketid:
  17196. description: 市场ID
  17197. type: integer
  17198. matchaccountid:
  17199. description: 挂牌方资金账号
  17200. type: integer
  17201. matchuserid:
  17202. description: 挂牌方用户id
  17203. type: integer
  17204. matchusername:
  17205. description: 挂牌方用户名称(已脱敏)
  17206. type: string
  17207. minivalue:
  17208. description: 现货商品最小变动值
  17209. type: integer
  17210. optioncompare:
  17211. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17212. type: string
  17213. orderqty:
  17214. description: 挂牌数量
  17215. type: integer
  17216. refprice:
  17217. description: 参考价格
  17218. type: string
  17219. retcode:
  17220. description: 委托返回代码
  17221. type: integer
  17222. templatename:
  17223. description: 履约方式(履约模板名称)
  17224. type: string
  17225. tradedate:
  17226. description: 交易日(yyyyMMdd)
  17227. type: string
  17228. userid:
  17229. description: 摘牌人用户ID(议价人ID)
  17230. type: integer
  17231. username:
  17232. description: 议价人名字(已脱敏)
  17233. type: string
  17234. validtime:
  17235. description: 有效期限
  17236. type: string
  17237. warehouseid:
  17238. description: 仓库ID
  17239. type: integer
  17240. warehousename:
  17241. description: 仓库名称
  17242. type: string
  17243. wrbargainid:
  17244. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17245. type: string
  17246. wrfactortypeid:
  17247. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17248. type: string
  17249. wrfactortypename:
  17250. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17251. type: string
  17252. wrstandardcode:
  17253. description: 现货商品代码
  17254. type: string
  17255. wrstandardid:
  17256. description: 现货商品ID
  17257. type: integer
  17258. wrstandardname:
  17259. description: 商品名称
  17260. type: string
  17261. wrtradeorderid:
  17262. description: 关联委托单ID
  17263. type: string
  17264. wrtypename:
  17265. description: 商品
  17266. type: string
  17267. type: object
  17268. models.Warehouseinfo:
  17269. properties:
  17270. address:
  17271. description: 详细地址
  17272. type: string
  17273. areauserid:
  17274. description: 所属机构
  17275. type: integer
  17276. autoid:
  17277. description: 自增ID
  17278. type: integer
  17279. cityid:
  17280. description: 市
  17281. type: integer
  17282. contactname:
  17283. description: 联系人
  17284. type: string
  17285. contactnum:
  17286. description: 联系电话
  17287. type: string
  17288. countryid:
  17289. description: 国家
  17290. type: integer
  17291. createtime:
  17292. description: 创建时间
  17293. type: string
  17294. districtid:
  17295. description: 区
  17296. type: integer
  17297. hasvideo:
  17298. description: 是否有视频 - 0:无 1:有
  17299. type: integer
  17300. provinceid:
  17301. description: 省
  17302. type: integer
  17303. remark:
  17304. description: 审核备注
  17305. type: string
  17306. videourl:
  17307. description: 视频地址
  17308. type: string
  17309. warehousecode:
  17310. description: 仓库代码
  17311. type: string
  17312. warehousename:
  17313. description: 仓库名称
  17314. type: string
  17315. warehousestatus:
  17316. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17317. type: integer
  17318. warehousetype:
  17319. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17320. type: integer
  17321. required:
  17322. - autoid
  17323. - warehousecode
  17324. type: object
  17325. models.WrAverageTradePrice:
  17326. properties:
  17327. averageprice:
  17328. description: 期初均价
  17329. type: number
  17330. tradedate:
  17331. description: 交易日yyyymm
  17332. type: string
  17333. type: object
  17334. models.WrBrandAndYears:
  17335. properties:
  17336. brandlst:
  17337. description: 品牌列表
  17338. items:
  17339. $ref: '#/definitions/models.DgFactoryItem'
  17340. type: array
  17341. yearslst:
  17342. description: 年份列表
  17343. items:
  17344. $ref: '#/definitions/models.DgFactoryItem'
  17345. type: array
  17346. type: object
  17347. models.WrBsGoodsInfo:
  17348. properties:
  17349. buyorsell:
  17350. description: 买卖方向 0-买 1-卖
  17351. type: integer
  17352. goodsid:
  17353. description: 交易合约ID
  17354. type: integer
  17355. lstitem:
  17356. description: 商品信息项
  17357. items:
  17358. $ref: '#/definitions/models.WrTypeItem'
  17359. type: array
  17360. lststep:
  17361. description: 履约规则
  17362. items:
  17363. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17364. type: array
  17365. type: object
  17366. models.WrBuybackDetail:
  17367. properties:
  17368. buybackamount:
  17369. description: 回购金额
  17370. type: number
  17371. buybackqty:
  17372. description: 回购数量
  17373. type: number
  17374. buybackreleasemargin:
  17375. description: 回购释放保证金
  17376. type: number
  17377. buybacktime:
  17378. description: 回购时间
  17379. type: string
  17380. errordesc:
  17381. description: 错误描述
  17382. type: string
  17383. handlestatus:
  17384. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17385. type: integer
  17386. relatedwrid:
  17387. description: 关联仓单ID
  17388. type: integer
  17389. scfcontractid:
  17390. description: SCF合同ID
  17391. type: string
  17392. scfwrbuybackid:
  17393. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17394. type: integer
  17395. tradedate:
  17396. description: 交易日(yyyyMMdd)
  17397. type: string
  17398. type: object
  17399. models.WrClientAdSpaceConfig:
  17400. properties:
  17401. adspaceid:
  17402. description: 广告位ID
  17403. type: integer
  17404. adspacename:
  17405. description: 广告位名称
  17406. type: string
  17407. adspacetype:
  17408. description: 广告位类型 - 1:固定广告位
  17409. type: integer
  17410. areauserid:
  17411. description: 所属机构ID
  17412. type: integer
  17413. createdate:
  17414. description: 创建时间
  17415. type: string
  17416. imagepath:
  17417. description: 图片
  17418. type: string
  17419. modifierid:
  17420. description: 操作人
  17421. type: integer
  17422. recsize:
  17423. description: 推荐尺寸
  17424. type: string
  17425. title:
  17426. description: 标题
  17427. type: string
  17428. updatedate:
  17429. description: 更新时间
  17430. type: string
  17431. urlcontent:
  17432. description: 链接(地址\商品ID\功能菜单Key\appid)
  17433. type: string
  17434. urltype:
  17435. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17436. type: integer
  17437. type: object
  17438. models.WrDeliveryAvalidHoldLB:
  17439. properties:
  17440. accountid:
  17441. description: 资金账号
  17442. type: integer
  17443. avalidqty:
  17444. description: 数量(可点选数量)
  17445. type: number
  17446. deliverygoodsid:
  17447. description: 品种id
  17448. type: integer
  17449. enumdicname:
  17450. description: 单位名称
  17451. type: string
  17452. goodsid:
  17453. description: x合约商品id
  17454. type: integer
  17455. ladingbillid:
  17456. description: 提单id
  17457. type: string
  17458. pgoodscode:
  17459. description: p商品代码(点价合约)
  17460. type: string
  17461. pgoodsid:
  17462. description: p商品id(点价合约)
  17463. type: integer
  17464. pgoodsname:
  17465. description: p商品名称(点价合约)
  17466. type: string
  17467. pricemove:
  17468. description: 升贴水
  17469. type: number
  17470. subnum:
  17471. description: 提单子id
  17472. type: integer
  17473. userid:
  17474. description: 用户id
  17475. type: integer
  17476. username:
  17477. description: 仓单持有人
  17478. type: string
  17479. warehousecode:
  17480. description: 仓库代码
  17481. type: string
  17482. warehouseid:
  17483. description: 仓库id
  17484. type: integer
  17485. warehousename:
  17486. description: 仓库名称
  17487. type: string
  17488. wrfactortypeid:
  17489. description: 仓单要素id
  17490. type: string
  17491. wrstandardcode:
  17492. description: 品代码
  17493. type: string
  17494. wrstandardid:
  17495. description: 品类d
  17496. type: integer
  17497. wrstandardname:
  17498. description: 品类名称
  17499. type: string
  17500. wrtypename:
  17501. description: 商品
  17502. type: string
  17503. xgoodscode:
  17504. description: x合约代码
  17505. type: string
  17506. xgoodsname:
  17507. description: x合约名称
  17508. type: string
  17509. type: object
  17510. models.WrDeliveryDetail:
  17511. properties:
  17512. accountid:
  17513. description: 账号ID
  17514. type: integer
  17515. averageprice:
  17516. description: 期初均价
  17517. type: number
  17518. begindate:
  17519. description: 开始交易日(yyyymmdd)
  17520. type: string
  17521. buyorsell:
  17522. description: 方向 - 0:买 1:卖
  17523. type: integer
  17524. deliveryamount:
  17525. description: 货款金额(X总货款+P总货款)
  17526. type: number
  17527. deliveryid:
  17528. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17529. type: string
  17530. deliveryorderid:
  17531. description: 申报单号
  17532. type: string
  17533. deliverypricemove:
  17534. description: 升贴水(升贴水总额)
  17535. type: number
  17536. deliveryqty:
  17537. description: 交收数量(点选数量)
  17538. type: number
  17539. deliverystatus:
  17540. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17541. type: integer
  17542. deliverytime:
  17543. description: 交割时间
  17544. type: string
  17545. deliverytotalamount:
  17546. description: 交收金额
  17547. type: number
  17548. enddate:
  17549. description: 结束交易日(yyyymmdd)
  17550. type: string
  17551. enumdicname:
  17552. description: 单位名称
  17553. type: string
  17554. matchaccountid:
  17555. description: 对手账号ID
  17556. type: integer
  17557. matchusername:
  17558. description: 对手方名称(仓单持有人)
  17559. type: string
  17560. p1goodsremainamount:
  17561. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17562. type: number
  17563. pdeliverycloseqty:
  17564. description: p合约平仓数量
  17565. type: number
  17566. pdeliveryprice:
  17567. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17568. type: number
  17569. pgoodscode:
  17570. description: 商品代码
  17571. type: string
  17572. pgoodsid:
  17573. description: p点选合约id
  17574. type: integer
  17575. pgoodsname:
  17576. description: 商品名称
  17577. type: string
  17578. ppricemode:
  17579. description: 点价价格方式 - 1:商品价 2:固定值
  17580. type: integer
  17581. tradedate:
  17582. description: 交易日(yyyymmdd)
  17583. type: string
  17584. userid:
  17585. description: 用户id
  17586. type: integer
  17587. username:
  17588. description: 用户名称
  17589. type: string
  17590. warehousename:
  17591. description: 仓库名称
  17592. type: string
  17593. wrfactortypeid:
  17594. description: 仓单要素类型ID
  17595. type: string
  17596. wrtypename:
  17597. description: 商品
  17598. type: string
  17599. xdeliverycloseqty:
  17600. description: 合约数量
  17601. type: number
  17602. xgoodsamount:
  17603. description: 期初均价
  17604. type: number
  17605. xgoodscode:
  17606. description: 商品代码
  17607. type: string
  17608. xgoodsid:
  17609. description: x交易合约ID
  17610. type: integer
  17611. xgoodsname:
  17612. description: 商品名称
  17613. type: string
  17614. type: object
  17615. models.WrDeliveryGoodsSection:
  17616. properties:
  17617. dglst:
  17618. description: 板块商品列表
  17619. items:
  17620. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17621. type: array
  17622. imagepath:
  17623. description: 图片地址
  17624. type: string
  17625. orderindex:
  17626. description: 排序
  17627. type: integer
  17628. sectionid:
  17629. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17630. = 1的版块1 - 云融指数
  17631. type: integer
  17632. sectionname:
  17633. description: 版块名称
  17634. type: string
  17635. sectiontype:
  17636. description: 版块类型 - 1:指数版块 2:普通版块
  17637. type: integer
  17638. type: object
  17639. models.WrDeliveryGoodsSectionConfig:
  17640. properties:
  17641. deliverygoodscode:
  17642. description: 现货商品代码
  17643. type: string
  17644. deliverygoodsid:
  17645. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17646. type: integer
  17647. deliverygoodsname:
  17648. description: 现货商品名称
  17649. type: string
  17650. orderindex:
  17651. description: 排序
  17652. type: integer
  17653. type: object
  17654. models.WrDraftUserInfo:
  17655. properties:
  17656. address:
  17657. description: 地址
  17658. type: string
  17659. attachment1:
  17660. description: 附件1
  17661. type: string
  17662. attachment2:
  17663. description: 附件2
  17664. type: string
  17665. attachment3:
  17666. description: 附件3
  17667. type: string
  17668. attachment4:
  17669. description: 附件4
  17670. type: string
  17671. attachment5:
  17672. description: 附件5
  17673. type: string
  17674. bankaccount:
  17675. description: 银行帐号 (加密存储)
  17676. type: string
  17677. bankaccountname:
  17678. description: 收款人名称
  17679. type: string
  17680. bankcardfrontphotourl:
  17681. description: 银行卡正面照地址
  17682. type: string
  17683. bankid:
  17684. description: 银行编码
  17685. type: string
  17686. bankname:
  17687. description: 银行名称
  17688. type: string
  17689. birthday:
  17690. description: 生日(个人:年月日)
  17691. type: string
  17692. biznature:
  17693. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17694. type: integer
  17695. bizscope:
  17696. description: 企业经营范围(企业)
  17697. type: string
  17698. biztype:
  17699. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17700. type: integer
  17701. cardbackphotourl:
  17702. description: 证件背面图片地址
  17703. type: string
  17704. cardfrontphotourl:
  17705. description: 证件正面图片地址
  17706. type: string
  17707. cardnum:
  17708. description: 证件号码(加密存储)
  17709. type: string
  17710. cardtypeid:
  17711. description: 证件类型ID
  17712. type: integer
  17713. cityid:
  17714. description: 市
  17715. type: integer
  17716. company:
  17717. description: 公司(个人)
  17718. type: string
  17719. contactcardbackphotourl:
  17720. description: 联系人证件背面图片地址
  17721. type: string
  17722. contactcardfrontphotourl:
  17723. description: 联系人证件正面图片地址
  17724. type: string
  17725. contactname:
  17726. description: 联系人
  17727. type: string
  17728. countryid:
  17729. description: 国家
  17730. type: integer
  17731. createtime:
  17732. description: 创建时间
  17733. type: string
  17734. creatorid:
  17735. description: 创建人
  17736. type: integer
  17737. creditquota:
  17738. description: 授信额度(金瑞)
  17739. type: number
  17740. customername:
  17741. description: 客户名称(企业名称)
  17742. type: string
  17743. districtid:
  17744. description: 地区
  17745. type: integer
  17746. email:
  17747. description: 邮件(加密存储)
  17748. type: string
  17749. fax:
  17750. description: 传真(加密存储)
  17751. type: string
  17752. halfbodyphotourl:
  17753. description: 半身照地址
  17754. type: string
  17755. hasencrypt:
  17756. description: 数据是否已加密 - 0:未加密 1:已加密
  17757. type: integer
  17758. headurl:
  17759. description: 头像地址
  17760. type: string
  17761. legalcardbackphotourl:
  17762. description: 法人身份证背面照地址
  17763. type: string
  17764. legalcardfrontphotourl:
  17765. description: 法人身份证正面照地址
  17766. type: string
  17767. legalpersonname:
  17768. description: 法人姓名(企业)
  17769. type: string
  17770. mobile:
  17771. description: 手机号码(加密存储)
  17772. type: string
  17773. mobile2:
  17774. description: 手机号码[明文-尚志]
  17775. type: string
  17776. modifierid:
  17777. description: 修改人
  17778. type: integer
  17779. modifiertime:
  17780. description: 修改时间
  17781. type: string
  17782. needinvoice:
  17783. description: 是否需要发票 - 0:不需要 1:需要
  17784. type: integer
  17785. nickname:
  17786. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17787. type: string
  17788. openmode:
  17789. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17790. 6:苹果手机端注册 7:PC交易端注册"
  17791. type: integer
  17792. otherurl:
  17793. description: 其它图片地址[使用分号分隔]
  17794. type: string
  17795. postalcode:
  17796. description: 邮政编码
  17797. type: string
  17798. provinceid:
  17799. description: 省
  17800. type: integer
  17801. proxystatementurl:
  17802. description: 授权委托书
  17803. type: string
  17804. qq:
  17805. description: QQ(加密存储
  17806. type: string
  17807. remark:
  17808. description: 备注
  17809. type: string
  17810. sex:
  17811. description: '用户性别 0: 女 1: 男'
  17812. type: integer
  17813. signpdfurl:
  17814. description: 签约pdf文件
  17815. type: string
  17816. taxpayernum:
  17817. description: 纳税人识别号
  17818. type: string
  17819. telphone:
  17820. description: 联系电话(加密存储)
  17821. type: string
  17822. userid:
  17823. description: 用户ID
  17824. type: integer
  17825. userinfotype:
  17826. description: 用户信息类型 - 1:个人 2:企业
  17827. type: integer
  17828. userstatus:
  17829. description: 用户状态 - 1:正常 2:注销
  17830. type: integer
  17831. usertype:
  17832. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17833. type: integer
  17834. wechat:
  17835. description: 微信(加密存储)
  17836. type: string
  17837. wskhinfo:
  17838. description: 开户申请信息(JSON)
  17839. type: string
  17840. type: object
  17841. models.WrFAProductDetail:
  17842. properties:
  17843. accountid:
  17844. description: 资金账号
  17845. type: integer
  17846. areauserid:
  17847. description: 金融机构ID
  17848. type: integer
  17849. financingdays:
  17850. description: 天数(天)
  17851. type: integer
  17852. interestminlen:
  17853. description: 最小起息天数
  17854. type: integer
  17855. interestrate:
  17856. description: 利率
  17857. type: number
  17858. interestratemode:
  17859. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17860. type: integer
  17861. interestsettlemode:
  17862. description: 结息方式 - 1:按日结息 3:按月结息
  17863. type: integer
  17864. interestsettlevalue:
  17865. description: 结息方式值
  17866. type: integer
  17867. isautoloan:
  17868. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17869. type: integer
  17870. loantag:
  17871. description: '放款标识: "放款快" 或者为空'
  17872. type: string
  17873. marginratio:
  17874. description: 保证金比率质押率 - [仓单质押]
  17875. type: number
  17876. productdetailid:
  17877. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17878. type: integer
  17879. productid:
  17880. description: 金融产品ID
  17881. type: integer
  17882. productname:
  17883. description: 产品名称
  17884. type: string
  17885. updatetime:
  17886. description: 更新时间
  17887. type: string
  17888. username:
  17889. description: 融出方
  17890. type: string
  17891. type: object
  17892. models.WrFactorTypeInfo:
  17893. properties:
  17894. deliverygoodscode:
  17895. description: 品种代码
  17896. type: string
  17897. deliverygoodsname:
  17898. description: 品种名称
  17899. type: string
  17900. dgfactoryitemid:
  17901. description: 选择项id
  17902. type: integer
  17903. dgfactoryitemtypeid:
  17904. description: 要素选择项ID (1-仓库 2-品牌)
  17905. type: integer
  17906. dgfactoryitemvalue:
  17907. description: 要素项值
  17908. type: string
  17909. itemtypename:
  17910. description: 要素项名称
  17911. type: string
  17912. optioncompare:
  17913. description: 选择比较串
  17914. type: string
  17915. warehouseid:
  17916. description: 仓库id
  17917. type: integer
  17918. wrfactortypeid:
  17919. description: 仓单要素ID
  17920. type: string
  17921. wrfactortypename:
  17922. description: 要素名称
  17923. type: string
  17924. wrfactortypename2:
  17925. description: 要素名称(不含仓库)
  17926. type: string
  17927. wrstandardcode:
  17928. description: 品类代码
  17929. type: string
  17930. wrstandardid:
  17931. description: 品类id
  17932. type: integer
  17933. wrstandardname:
  17934. description: 品类名称
  17935. type: string
  17936. type: object
  17937. models.WrFilterItem:
  17938. properties:
  17939. itemcode:
  17940. description: 代码
  17941. type: string
  17942. itemid:
  17943. description: 项id
  17944. type: integer
  17945. itemname:
  17946. description: 名称
  17947. type: string
  17948. itemtype:
  17949. description: 类型 1-品种 2-品类(商品) 3-仓库
  17950. type: integer
  17951. type: object
  17952. models.WrFinanceBuyApply:
  17953. properties:
  17954. applydate:
  17955. description: 申请时间
  17956. type: string
  17957. applystatus:
  17958. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17959. type: integer
  17960. applyuserid:
  17961. description: 申请人
  17962. type: integer
  17963. auditdate:
  17964. description: 审核时间
  17965. type: string
  17966. auditremark:
  17967. description: 审核备注
  17968. type: string
  17969. audituserid:
  17970. description: 审核人
  17971. type: integer
  17972. buyaccountid:
  17973. description: 买方资金账号
  17974. type: integer
  17975. buyorsell:
  17976. description: 买卖 - 0:买 1:卖
  17977. type: integer
  17978. buyuserid:
  17979. description: 买方用户ID
  17980. type: integer
  17981. buyusername:
  17982. description: 买方名称
  17983. type: string
  17984. buywrtradeorderid:
  17985. description: 融资方买委托单ID
  17986. type: string
  17987. deliverygoodscode:
  17988. description: 品种代码
  17989. type: string
  17990. deliverygoodsid:
  17991. description: 品种ID
  17992. type: integer
  17993. deliverygoodsname:
  17994. description: 品种名称
  17995. type: string
  17996. deliverymonth:
  17997. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17998. type: string
  17999. enumdicname:
  18000. description: 单位名称
  18001. type: string
  18002. financeaccountid:
  18003. description: 融资方资金帐户ID
  18004. type: integer
  18005. financeapplyid:
  18006. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18007. type: string
  18008. financeareauserid:
  18009. description: 融资方用户ID
  18010. type: string
  18011. financename:
  18012. description: 融出方名称
  18013. type: string
  18014. financetype:
  18015. description: 融资类型 1-融资回购
  18016. type: integer
  18017. financingdays:
  18018. description: 天数(天)
  18019. type: integer
  18020. freezebuymargin:
  18021. description: 冻结融资保证金(买方)
  18022. type: number
  18023. handleremark:
  18024. description: 处理备注
  18025. type: string
  18026. handlestatus:
  18027. description: 处理状态
  18028. type: integer
  18029. interestminlen:
  18030. description: 最小起息天数
  18031. type: integer
  18032. interestrate:
  18033. description: 利率
  18034. type: number
  18035. interestratemode:
  18036. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18037. type: integer
  18038. interestsettlemode:
  18039. description: 结息方式 - 1:按日结息 3:按月结息
  18040. type: integer
  18041. interestsettlevalue:
  18042. description: 结息方式值
  18043. type: integer
  18044. isautoloan:
  18045. description: 是否自动放款 - 0:手动 1:自动
  18046. type: integer
  18047. marginratio:
  18048. description: 保证金比率质押率 - [仓单质押]
  18049. type: number
  18050. marketid:
  18051. description: 市场ID
  18052. type: integer
  18053. minivalue:
  18054. description: 现货商品最小变动值
  18055. type: integer
  18056. optioncompare:
  18057. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18058. type: string
  18059. orderqty:
  18060. description: 委托数量(商品数量)
  18061. type: number
  18062. productdetailid:
  18063. description: 产品组合ID
  18064. type: integer
  18065. productid:
  18066. description: 金融产品ID
  18067. type: integer
  18068. productname:
  18069. description: 产品名称
  18070. type: string
  18071. remark:
  18072. description: 备注
  18073. type: string
  18074. scfcontractid:
  18075. description: 仓单回购合同ID
  18076. type: string
  18077. sellaccountid:
  18078. description: 卖方资金账号
  18079. type: integer
  18080. selluserid:
  18081. description: 卖方用户ID
  18082. type: integer
  18083. sellwrtradeorderid:
  18084. description: 卖方委托单ID
  18085. type: string
  18086. tradeamount:
  18087. description: 成交金额(借款金额)
  18088. type: number
  18089. tradedate:
  18090. description: 交易日(yyyyMMdd)
  18091. type: string
  18092. tradeprice:
  18093. description: 成交价格
  18094. type: number
  18095. warehouseid:
  18096. description: 仓库ID
  18097. type: integer
  18098. warehousename:
  18099. description: 仓库名称
  18100. type: string
  18101. wrfactortypeid:
  18102. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18103. type: string
  18104. wrfactortypename:
  18105. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18106. type: string
  18107. wrpricetype:
  18108. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18109. type: integer
  18110. wrstandardcode:
  18111. description: 现货商品代码
  18112. type: string
  18113. wrstandardid:
  18114. description: 现货商品ID
  18115. type: integer
  18116. wrstandardname:
  18117. description: 商品名称
  18118. type: string
  18119. wrtypename:
  18120. description: 商品
  18121. type: string
  18122. type: object
  18123. models.WrFriendApply:
  18124. properties:
  18125. applicantid:
  18126. description: 申请人
  18127. type: integer
  18128. applyname:
  18129. description: 申请人名称
  18130. type: string
  18131. applysrc:
  18132. description: 申请来源 - 1:管理端 2:终端
  18133. type: integer
  18134. applystatus:
  18135. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18136. type: integer
  18137. applytime:
  18138. description: 申请时间
  18139. type: string
  18140. auditname:
  18141. description: 审核人名称
  18142. type: string
  18143. auditorid:
  18144. description: 审核人
  18145. type: integer
  18146. auditremark:
  18147. description: 审核备注
  18148. type: string
  18149. auditsrc:
  18150. description: 审核来源 - 1:管理端 2:终端
  18151. type: integer
  18152. audittime:
  18153. description: 审核时间
  18154. type: string
  18155. friendapplyid:
  18156. description: 申请ID(SEQ_FRIENDAPPLY)
  18157. type: string
  18158. friendname:
  18159. description: 好友名字(已脱敏)
  18160. type: string
  18161. frienduserid:
  18162. description: 好友用户ID
  18163. type: string
  18164. remark:
  18165. description: 备注
  18166. type: string
  18167. userid:
  18168. description: 申请人用户ID
  18169. type: integer
  18170. type: object
  18171. models.WrFtDeliveryGoods:
  18172. properties:
  18173. deliverygoodscode:
  18174. description: 品种代码
  18175. type: string
  18176. deliverygoodsid:
  18177. description: 品种ID
  18178. type: integer
  18179. deliverygoodsname:
  18180. description: 品种名称
  18181. type: string
  18182. wdlst:
  18183. description: 商品列表
  18184. items:
  18185. $ref: '#/definitions/models.WrFtWrstandard'
  18186. type: array
  18187. type: object
  18188. models.WrFtWrstandard:
  18189. properties:
  18190. enumdicname:
  18191. description: 单位名称
  18192. type: string
  18193. minivalue:
  18194. description: 最小变动值
  18195. type: integer
  18196. wrstandardcode:
  18197. description: 现货商品代码
  18198. type: string
  18199. wrstandardid:
  18200. description: 现货商品ID
  18201. type: integer
  18202. wrstandardname:
  18203. description: 商品名称
  18204. type: string
  18205. type: object
  18206. models.WrGoodsInfo:
  18207. properties:
  18208. haswr:
  18209. description: 0:仓单预售 1:仓单贸易
  18210. type: integer
  18211. lstitem:
  18212. description: 商品信息项
  18213. items:
  18214. $ref: '#/definitions/models.WrTypeItem'
  18215. type: array
  18216. lststep:
  18217. description: 履约规则
  18218. items:
  18219. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18220. type: array
  18221. marketid:
  18222. description: 市场id
  18223. type: integer
  18224. type: object
  18225. models.WrGoodsPerformanceStep:
  18226. properties:
  18227. autoid:
  18228. description: AutoID
  18229. type: integer
  18230. isauto:
  18231. description: 是否自动 - 0:不自动 1:自动
  18232. type: integer
  18233. remark:
  18234. description: 备注
  18235. type: string
  18236. stepdate:
  18237. description: 天数信息(T+N)
  18238. type: string
  18239. stepdays:
  18240. description: 距离上一步天数
  18241. type: integer
  18242. stepindex:
  18243. description: 步骤序号
  18244. type: integer
  18245. stepinfo:
  18246. description: 步骤信息(步骤名称+步骤值)
  18247. type: string
  18248. steptypeid:
  18249. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18250. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18251. type: integer
  18252. steptypename:
  18253. description: 步骤名称
  18254. type: string
  18255. stepvalue:
  18256. description: 期初均价
  18257. type: number
  18258. templateid:
  18259. description: 履约计划模板ID
  18260. type: integer
  18261. type: object
  18262. models.WrHoldLB:
  18263. properties:
  18264. accountid:
  18265. description: 持有人帐户ID
  18266. type: integer
  18267. bannerpicurl:
  18268. description: Banner图
  18269. type: string
  18270. createtime:
  18271. description: 创建时间(过户时间)
  18272. type: string
  18273. deliverygoodscode:
  18274. description: 品种代码
  18275. type: string
  18276. deliverygoodsid:
  18277. description: 品种ID
  18278. type: integer
  18279. deliverygoodsname:
  18280. description: 品种名称
  18281. type: string
  18282. enableqty:
  18283. description: 可用数量
  18284. type: number
  18285. enumdicname:
  18286. description: 单位名称
  18287. type: string
  18288. freezerqty:
  18289. description: 冻结数量
  18290. type: number
  18291. ladingbillid:
  18292. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18293. type: string
  18294. minivalue:
  18295. description: 现货商品最小变动值
  18296. type: integer
  18297. optioncompare:
  18298. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18299. type: string
  18300. parentsubnum:
  18301. description: 拆分父子单号
  18302. type: integer
  18303. pledgeqty:
  18304. description: 质押数量
  18305. type: number
  18306. qty:
  18307. description: 数量
  18308. type: number
  18309. subnum:
  18310. description: 提单子单号
  18311. type: integer
  18312. thumurls:
  18313. description: 缩略图
  18314. type: string
  18315. tradedate:
  18316. description: 交易日(yyyyMMdd)
  18317. type: string
  18318. userid:
  18319. description: 持有人ID
  18320. type: integer
  18321. warehouseid:
  18322. description: 仓库ID
  18323. type: integer
  18324. warehousename:
  18325. description: 仓库名称
  18326. type: string
  18327. wrfactortypeid:
  18328. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18329. type: string
  18330. wrfactortypename:
  18331. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18332. type: string
  18333. wrholdeno:
  18334. description: 仓单编号
  18335. type: string
  18336. wrid:
  18337. description: 仓单变更ID
  18338. type: string
  18339. wrstandardcode:
  18340. description: 现货商品代码
  18341. type: string
  18342. wrstandardid:
  18343. description: 现货商品ID
  18344. type: integer
  18345. wrstandardname:
  18346. description: 商品名称
  18347. type: string
  18348. wrtypename:
  18349. description: 商品
  18350. type: string
  18351. type: object
  18352. models.WrMarketTradeConfig:
  18353. properties:
  18354. basisdownratio:
  18355. description: 浮动价基差下限比例(仓单贸易)
  18356. type: number
  18357. basisupratio:
  18358. description: 浮动价基差上限比例(仓单贸易)
  18359. type: number
  18360. buychargealgorithm:
  18361. description: 买方手续费收取方式 1:比率 2:固定
  18362. type: integer
  18363. buychargealgorithm2:
  18364. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18365. type: integer
  18366. buychargealgorithmvalue:
  18367. description: 买方手续费设置值(交易所部分)
  18368. type: number
  18369. buychargealgorithmvalue2:
  18370. description: 买方手续费设置值(会员部分)
  18371. type: number
  18372. buychargealgorithmvalue3:
  18373. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18374. type: number
  18375. buychargealgorithmvalue4:
  18376. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18377. type: number
  18378. buyfirstmarginalgorithm:
  18379. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18380. type: integer
  18381. buyfirstmarginvalue:
  18382. description: 买方出价保证金设置值 - [竞拍]
  18383. type: number
  18384. buymarginalgorithm:
  18385. description: 买方保证金方式 - 1:比率 2:固定
  18386. type: integer
  18387. buymarginvalue:
  18388. description: 买方保证金设置值
  18389. type: number
  18390. buyreleaseratio:
  18391. description: 买方释放比率[2:分步履约]
  18392. type: number
  18393. executemode:
  18394. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18395. type: integer
  18396. executeside:
  18397. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18398. type: integer
  18399. failedchargealgorithm:
  18400. description: 流拍手续费收取方式 1:比率 2:固定
  18401. type: integer
  18402. failedchargevalue:
  18403. description: 流拍手续费设置值
  18404. type: number
  18405. failedchargevalue2:
  18406. description: 流拍卖方手续费设置值
  18407. type: number
  18408. holddays:
  18409. description: 合同期限[2:分步履约]
  18410. type: integer
  18411. listingmode:
  18412. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18413. type: integer
  18414. marketid:
  18415. description: 市场ID-仓单贸易、竞拍、预售
  18416. type: integer
  18417. minqty:
  18418. description: 最小执行量[2:分步履约]
  18419. type: number
  18420. modifierid:
  18421. description: 修改人
  18422. type: integer
  18423. nowrquotaflag:
  18424. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18425. type: integer
  18426. performancetempid:
  18427. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18428. 立即执行(-1)
  18429. type: integer
  18430. performancetempid2:
  18431. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18432. 立即执行
  18433. type: integer
  18434. performancetempid2s:
  18435. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18436. - 履约方式: 立即执行
  18437. type: string
  18438. performancetempids:
  18439. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18440. - 履约方式: 立即执行(-1)
  18441. type: string
  18442. performanceway:
  18443. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18444. type: integer
  18445. sellchargealgorithm:
  18446. description: 卖方手续费收取方式 1:比率 2:固定
  18447. type: integer
  18448. sellchargealgorithm2:
  18449. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18450. type: integer
  18451. sellchargealgorithmvalue:
  18452. description: 卖方手续费设置值(交易所部分)
  18453. type: number
  18454. sellchargealgorithmvalue2:
  18455. description: 卖方手续费设置值(会员部分)
  18456. type: number
  18457. sellchargealgorithmvalue3:
  18458. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18459. type: number
  18460. sellchargealgorithmvalue4:
  18461. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18462. type: number
  18463. sellmarginalgorithm:
  18464. description: 卖方保证金方式 - 1:比率 2:固定
  18465. type: integer
  18466. sellmarginvalue:
  18467. description: 卖方保证金设置值
  18468. type: number
  18469. sellmarginvalue2:
  18470. description: 卖方保证金设置值(无仓单)
  18471. type: number
  18472. sellreleaseratio:
  18473. description: 卖方释放比率[2:分步履约]
  18474. type: number
  18475. updatetime:
  18476. description: 更新时间
  18477. type: string
  18478. type: object
  18479. models.WrOrderDetail:
  18480. properties:
  18481. accountid:
  18482. description: 交易账号(资金账号)
  18483. type: integer
  18484. allfriendsflag:
  18485. description: 是否全好友可见 - 0:否 1:是
  18486. type: integer
  18487. amount:
  18488. description: 期初均价
  18489. type: number
  18490. bannerpicurl:
  18491. description: Banner图
  18492. type: string
  18493. begindate:
  18494. description: 开始交易日(yyyymmdd)
  18495. type: string
  18496. buyorsell:
  18497. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18498. type: integer
  18499. canbargain:
  18500. description: 是否可议价 - 0:不可 1:可
  18501. type: integer
  18502. cancelqty:
  18503. description: 撤销数量
  18504. type: number
  18505. canpart:
  18506. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18507. type: integer
  18508. delistminqty:
  18509. description: 起摘数量
  18510. type: integer
  18511. deliverygoodscode:
  18512. description: 品种代码
  18513. type: string
  18514. deliverygoodsid:
  18515. description: 品种ID
  18516. type: integer
  18517. deliverygoodsname:
  18518. description: 品种名称
  18519. type: string
  18520. deliverymonth:
  18521. description: 交收月
  18522. type: string
  18523. enddate:
  18524. description: 结束交易日(yyyymmdd)
  18525. type: string
  18526. enumdicname:
  18527. description: 单位名称
  18528. type: string
  18529. fixedprice:
  18530. description: 固定价格 - [挂牌]
  18531. type: number
  18532. freezecharge:
  18533. description: 期初均价
  18534. type: number
  18535. freezemargin:
  18536. description: 期初均价
  18537. type: number
  18538. futupricemove:
  18539. description: 期货升贴水
  18540. type: number
  18541. futushow:
  18542. description: 期货合约/升贴水
  18543. type: string
  18544. goodscode:
  18545. description: 期货合约
  18546. type: string
  18547. goodsid:
  18548. description: 期货商品id
  18549. type: integer
  18550. goodsname:
  18551. description: 商品名称
  18552. type: string
  18553. haswr:
  18554. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18555. type: integer
  18556. isspecified:
  18557. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18558. type: integer
  18559. ladingbillid:
  18560. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18561. type: string
  18562. marginvalue:
  18563. description: 期初均价
  18564. type: number
  18565. marketid:
  18566. description: 市场ID
  18567. type: integer
  18568. matchusername:
  18569. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18570. type: string
  18571. minivalue:
  18572. description: 现货商品最小变动值
  18573. type: integer
  18574. optioncompare:
  18575. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18576. type: string
  18577. orderqty:
  18578. description: 委托数量
  18579. type: number
  18580. ordertime:
  18581. description: 委托时间(挂牌时间)
  18582. type: string
  18583. performancetemplateid:
  18584. description: 履约模板id
  18585. type: integer
  18586. pricemove:
  18587. description: 升贴水(浮动价时填写) - [挂牌]
  18588. type: number
  18589. taname:
  18590. description: 交易用户名称(资金账号名称)
  18591. type: string
  18592. thumurls:
  18593. description: 缩略图
  18594. type: string
  18595. tradedate:
  18596. description: 交易日(yyyyMMdd)
  18597. type: string
  18598. tradeprice:
  18599. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18600. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18601. type: number
  18602. tradeqty:
  18603. description: 成交数量
  18604. type: number
  18605. userid:
  18606. description: 用户ID
  18607. type: integer
  18608. validtime:
  18609. description: 挂牌有效期
  18610. type: string
  18611. validtype:
  18612. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18613. type: integer
  18614. warehouseid:
  18615. description: 仓库ID
  18616. type: integer
  18617. warehousename:
  18618. description: 仓库名称
  18619. type: string
  18620. wrfactortypeid:
  18621. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18622. type: string
  18623. wrfactortypename:
  18624. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18625. type: string
  18626. wrpricetype:
  18627. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18628. type: integer
  18629. wrstandardcode:
  18630. description: 现货商品代码
  18631. type: string
  18632. wrstandardid:
  18633. description: 现货商品ID
  18634. type: integer
  18635. wrstandardname:
  18636. description: 商品名称
  18637. type: string
  18638. wrtradeorderid:
  18639. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18640. type: string
  18641. wrtradeorderstatus:
  18642. 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:撤单解冻贷款失败
  18643. type: integer
  18644. wrtradetype:
  18645. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18646. type: integer
  18647. wrtypename:
  18648. description: 商品
  18649. type: string
  18650. type: object
  18651. models.WrOrderQuote:
  18652. properties:
  18653. bannerpicurl:
  18654. description: Banner图
  18655. type: string
  18656. buyprice:
  18657. description: 买价
  18658. type: number
  18659. buypricemove:
  18660. description: 买升贴水(基差)
  18661. type: number
  18662. buyqty:
  18663. description: 买量
  18664. type: number
  18665. deliverygoodscode:
  18666. description: 品种代码
  18667. type: string
  18668. deliverygoodsid:
  18669. description: 品种id
  18670. type: integer
  18671. deliverygoodsname:
  18672. description: 品种名称
  18673. type: string
  18674. deliverymonth:
  18675. description: 交收月
  18676. type: string
  18677. enumdicname:
  18678. description: 单位名称
  18679. type: string
  18680. goodscode:
  18681. description: 商品合约(浮动价列表才有)
  18682. type: string
  18683. goodsid:
  18684. description: 商品id(浮动价列表才有)
  18685. type: integer
  18686. minivalue:
  18687. description: 现货商品最小变动值
  18688. type: integer
  18689. pictureurls:
  18690. description: 详情图片(逗号分隔)
  18691. type: string
  18692. sellprice:
  18693. description: 卖价
  18694. type: number
  18695. sellpricemove:
  18696. description: 卖升贴水(基差)
  18697. type: number
  18698. sellqty:
  18699. description: 卖量
  18700. type: number
  18701. thumurls:
  18702. description: 缩略图片(1:1)(逗号分隔)
  18703. type: string
  18704. warehousecode:
  18705. description: 仓库代码
  18706. type: string
  18707. warehouseid:
  18708. description: 仓库id
  18709. type: integer
  18710. warehousename:
  18711. description: 仓库名称
  18712. type: string
  18713. wrfactortypeid:
  18714. description: 仓单要素id
  18715. type: string
  18716. wrfactortypename:
  18717. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18718. type: string
  18719. wrgoodsname:
  18720. description: 商品(商品名称+仓库要素名称 拼接)
  18721. type: string
  18722. wrstandardcode:
  18723. description: 商品代码
  18724. type: string
  18725. wrstandardid:
  18726. description: 商品id
  18727. type: integer
  18728. wrstandardname:
  18729. description: 商品名称
  18730. type: string
  18731. type: object
  18732. models.WrOrderQuoteDetail:
  18733. properties:
  18734. buyorsell:
  18735. description: 买卖 - 0:买 1:卖
  18736. type: integer
  18737. delistminqty:
  18738. description: 期初均价
  18739. type: number
  18740. deliverymonth:
  18741. description: 交收月
  18742. type: string
  18743. enumdicname:
  18744. description: 单位名称
  18745. type: string
  18746. fixedprice:
  18747. description: 买(卖)价
  18748. type: number
  18749. marketid:
  18750. description: 市场id
  18751. type: integer
  18752. minivalue:
  18753. description: 现货商品最小变动值
  18754. type: integer
  18755. orderqty:
  18756. description: 买(卖)量(=委托量-成交量)
  18757. type: number
  18758. ordertime:
  18759. description: 委托时间
  18760. type: string
  18761. pricemove:
  18762. description: 买(卖)升贴水- 基差
  18763. type: number
  18764. userid:
  18765. description: 购买方(销售方)用户ID
  18766. type: integer
  18767. username:
  18768. description: 购买方(销售方)
  18769. type: string
  18770. wrtradeorderid:
  18771. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18772. type: string
  18773. type: object
  18774. models.WrOutInApply:
  18775. properties:
  18776. applyid:
  18777. description: 申请单id
  18778. type: string
  18779. applystatus:
  18780. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18781. 8:已撤销
  18782. type: integer
  18783. applytime:
  18784. description: 申请时间
  18785. type: string
  18786. applytype:
  18787. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18788. type: integer
  18789. bannerpicurl:
  18790. description: Banner图
  18791. type: string
  18792. begindate:
  18793. description: 开始交易日(yyyymmdd)
  18794. type: string
  18795. deliverygoodscode:
  18796. description: 品种代码
  18797. type: string
  18798. deliverygoodsid:
  18799. description: 品种ID
  18800. type: integer
  18801. deliverygoodsname:
  18802. description: 品种名称
  18803. type: string
  18804. enddate:
  18805. description: 结束交易日(yyyymmdd)
  18806. type: string
  18807. enumdicname:
  18808. description: 单位名称
  18809. type: string
  18810. expresscompany:
  18811. description: 物流公司
  18812. type: string
  18813. expressnum:
  18814. description: 物流单号
  18815. type: string
  18816. minivalue:
  18817. description: 现货商品最小变动值
  18818. type: integer
  18819. optioncompare:
  18820. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18821. type: string
  18822. qty:
  18823. description: 数量
  18824. type: integer
  18825. userid:
  18826. description: 用户id
  18827. type: integer
  18828. warehouseid:
  18829. description: 仓库ID
  18830. type: integer
  18831. warehousename:
  18832. description: 仓库名称
  18833. type: string
  18834. wrfactortypeid:
  18835. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18836. type: string
  18837. wrfactortypename:
  18838. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18839. type: string
  18840. wrstandardcode:
  18841. description: 现货商品代码
  18842. type: string
  18843. wrstandardid:
  18844. description: 现货商品ID
  18845. type: integer
  18846. wrstandardname:
  18847. description: 商品名称
  18848. type: string
  18849. wrtypename:
  18850. description: 商品
  18851. type: string
  18852. type: object
  18853. models.WrPerformancePlan:
  18854. properties:
  18855. activatemonth:
  18856. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18857. type: string
  18858. amount:
  18859. description: 履约金额(总金额)
  18860. type: number
  18861. begindate:
  18862. description: 开始交易日(yyyymmdd)
  18863. type: string
  18864. buyaccountid:
  18865. description: 买方账号
  18866. type: integer
  18867. buyerfreezeamount:
  18868. description: 履约冻结(买履约)
  18869. type: number
  18870. buyerfreezeamountremain:
  18871. description: 履约冻结剩余(买履约)
  18872. type: number
  18873. buyorsell:
  18874. description: 买卖方向 0-买 1-卖
  18875. type: integer
  18876. buypaidamount:
  18877. description: 买方已冻/已扣金额 (已付金额)
  18878. type: number
  18879. buyusername:
  18880. description: 买方名字
  18881. type: string
  18882. contractid:
  18883. description: 合同ID
  18884. type: integer
  18885. createtime:
  18886. description: 创建时间
  18887. type: string
  18888. creatorid:
  18889. description: 创建人
  18890. type: integer
  18891. curstepdeadline:
  18892. description: 当前步骤到期时间
  18893. type: string
  18894. curstepid:
  18895. description: 当前步骤ID
  18896. type: string
  18897. curstepname:
  18898. description: 当前步骤名称
  18899. type: string
  18900. deliverygoodscode:
  18901. description: 品种代码
  18902. type: string
  18903. deliverygoodsid:
  18904. description: 品种ID
  18905. type: integer
  18906. deliverygoodsname:
  18907. description: 品种名称
  18908. type: string
  18909. enddate:
  18910. description: 结束交易日(yyyymmdd)
  18911. type: string
  18912. enumdicname:
  18913. description: 单位名称
  18914. type: string
  18915. expressfee:
  18916. description: 运费
  18917. type: number
  18918. expressfeeconfirmed:
  18919. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18920. type: integer
  18921. hasovershort:
  18922. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18923. type: integer
  18924. haswr:
  18925. description: 类型 0-仓单预售 1-仓单贸易
  18926. type: integer
  18927. marketid:
  18928. description: 市场ID
  18929. type: integer
  18930. middleaccountid:
  18931. description: 中间商资金账号ID
  18932. type: integer
  18933. middleuserid:
  18934. description: 中间商用户ID
  18935. type: integer
  18936. minivalue:
  18937. description: 现货商品最小变动值
  18938. type: integer
  18939. optioncompare:
  18940. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18941. type: string
  18942. overshortamount:
  18943. description: 溢短金额
  18944. type: number
  18945. overshortqty:
  18946. description: 溢短数量
  18947. type: number
  18948. paymenttype:
  18949. description: 付款方式 - 1:冻结 2:扣款
  18950. type: integer
  18951. performanceplanid:
  18952. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18953. type: string
  18954. performancestatus:
  18955. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18956. 9:超时待处理 10:超时关闭
  18957. type: integer
  18958. performancetype:
  18959. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18960. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18961. type: integer
  18962. qty:
  18963. description: 履约数量
  18964. type: number
  18965. relatedorderid:
  18966. description: 关联单号(履约类型的关联单号)
  18967. type: string
  18968. remark:
  18969. description: 备注
  18970. type: string
  18971. sellaccountid:
  18972. description: 卖方账号
  18973. type: integer
  18974. sellerfreezeamount:
  18975. description: 履约冻结(卖履约)
  18976. type: number
  18977. sellerfreezeamountremain:
  18978. description: 履约冻结剩余(卖履约)
  18979. type: number
  18980. sellreceivedamount:
  18981. description: 卖方已收金额
  18982. type: number
  18983. sellusername:
  18984. description: 卖方名字
  18985. type: string
  18986. shipremark:
  18987. description: 发货备注[物流单号]
  18988. type: string
  18989. starttime:
  18990. description: 开始时间
  18991. type: string
  18992. steptypeid:
  18993. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18994. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18995. type: integer
  18996. typename:
  18997. description: 履约类型 名称
  18998. type: string
  18999. unpaidamount:
  19000. description: 期初均价
  19001. type: number
  19002. userid:
  19003. description: 用户id
  19004. type: integer
  19005. warehouseid:
  19006. description: 仓库ID
  19007. type: integer
  19008. warehousename:
  19009. description: 仓库名称
  19010. type: string
  19011. wrfactortypeid:
  19012. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19013. type: string
  19014. wrfactortypename:
  19015. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19016. type: string
  19017. wrstandardcode:
  19018. description: 现货商品代码
  19019. type: string
  19020. wrstandardid:
  19021. description: 现货商品ID
  19022. type: integer
  19023. wrstandardname:
  19024. description: 商品名称
  19025. type: string
  19026. wrtransferuserid:
  19027. description: 仓单受让用户
  19028. type: integer
  19029. wrtypename:
  19030. description: 商品
  19031. type: string
  19032. required:
  19033. - userid
  19034. type: object
  19035. models.WrPerformancePlanStep:
  19036. properties:
  19037. delaydays:
  19038. description: 延期申请天数
  19039. type: integer
  19040. deliverygoodscode:
  19041. description: 品种代码
  19042. type: string
  19043. deliverygoodsid:
  19044. description: 品种ID
  19045. type: integer
  19046. deliverygoodsname:
  19047. description: 品种名称
  19048. type: string
  19049. endtime:
  19050. description: 结束日期
  19051. type: string
  19052. enumdicname:
  19053. description: 单位名称
  19054. type: string
  19055. executeside:
  19056. description: 步骤执行方 - 1:买方 2:卖方
  19057. type: integer
  19058. handlestatus:
  19059. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19060. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19061. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19062. type: integer
  19063. isauto:
  19064. description: 是否自动 - 0:不自动 1:自动
  19065. type: integer
  19066. islastreceivestep:
  19067. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19068. type: integer
  19069. minivalue:
  19070. description: 现货商品最小变动值
  19071. type: integer
  19072. optioncompare:
  19073. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19074. type: string
  19075. overdays:
  19076. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19077. type: integer
  19078. performancestepid:
  19079. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19080. type: string
  19081. planid:
  19082. description: 所属履约计划ID
  19083. type: string
  19084. realamount:
  19085. description: 实际完成金额
  19086. type: number
  19087. relatedorderid:
  19088. description: 关联单号
  19089. type: string
  19090. remaindays:
  19091. description: 剩余天数
  19092. type: integer
  19093. remark:
  19094. description: 错误备注
  19095. type: string
  19096. starttime:
  19097. description: 开始日期
  19098. type: string
  19099. stepamount:
  19100. description: 步骤金额
  19101. type: number
  19102. stepdays:
  19103. description: 距离上一步天数(分钟)
  19104. type: integer
  19105. stepindex:
  19106. description: 步骤序号
  19107. type: integer
  19108. steplanchtype:
  19109. description: 步骤启动类型 - 1:系统自动 2:手动
  19110. type: integer
  19111. stepremark:
  19112. description: 步骤备注
  19113. type: string
  19114. stepstatus:
  19115. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19116. type: integer
  19117. steptypeid:
  19118. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19119. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19120. type: integer
  19121. steptypename:
  19122. description: 步骤名称
  19123. type: string
  19124. stepvalue:
  19125. description: 步骤值
  19126. type: number
  19127. warehouseid:
  19128. description: 仓库ID
  19129. type: integer
  19130. warehousename:
  19131. description: 仓库名称
  19132. type: string
  19133. wrfactortypeid:
  19134. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19135. type: string
  19136. wrfactortypename:
  19137. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19138. type: string
  19139. wrstandardcode:
  19140. description: 现货商品代码
  19141. type: string
  19142. wrstandardid:
  19143. description: 现货商品ID
  19144. type: integer
  19145. wrstandardname:
  19146. description: 商品名称
  19147. type: string
  19148. wrtypename:
  19149. description: 商品
  19150. type: string
  19151. type: object
  19152. models.WrPerformanceStepType:
  19153. properties:
  19154. canauto:
  19155. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19156. type: integer
  19157. steptypeid:
  19158. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19159. type: integer
  19160. steptypename:
  19161. description: 步骤类型名称
  19162. type: string
  19163. type: object
  19164. models.WrPerformanceTemplateEx:
  19165. properties:
  19166. autoid:
  19167. description: AutoID 模板id
  19168. type: integer
  19169. createtime:
  19170. description: 创建时间
  19171. type: string
  19172. creatorid:
  19173. description: 创建人
  19174. type: integer
  19175. lstStep:
  19176. description: 步骤信息列表
  19177. items:
  19178. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19179. type: array
  19180. paymenttype:
  19181. description: 支付方式 - 1:冻结 2:扣款
  19182. type: integer
  19183. takemode:
  19184. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19185. type: integer
  19186. templatename:
  19187. description: 模板名称
  19188. type: string
  19189. templatetype:
  19190. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19191. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19192. type: integer
  19193. userid:
  19194. description: 所属用户
  19195. type: integer
  19196. type: object
  19197. models.WrPosition:
  19198. properties:
  19199. accountid:
  19200. description: 帐户ID
  19201. type: integer
  19202. buyexcuteqty:
  19203. description: 采购履约中数量
  19204. type: number
  19205. creditcurqty:
  19206. description: 授信当前数量(预售仓单:预售当前量)
  19207. type: number
  19208. creditenableqty:
  19209. description: '授信可用数量(预售仓单: 可用数量)'
  19210. type: number
  19211. creditfreezeqty:
  19212. description: '授信冻结数量(预售仓单: 当前数量)'
  19213. type: number
  19214. credittotalqty:
  19215. description: 授信总数量(预售仓单:预售总量)
  19216. type: number
  19217. credittradeqty:
  19218. description: 授信成交数量(预售仓单:成交总量)
  19219. type: number
  19220. deliverygoodscode:
  19221. description: 品种代码
  19222. type: string
  19223. deliverygoodsid:
  19224. description: 品种ID
  19225. type: integer
  19226. deliverygoodsname:
  19227. description: 品种名称
  19228. type: string
  19229. enalbeqty:
  19230. description: 可用数量
  19231. type: number
  19232. enumdicname:
  19233. description: 单位名称
  19234. type: string
  19235. freezeqty:
  19236. description: 总冻结数量
  19237. type: number
  19238. haswr:
  19239. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19240. type: integer
  19241. minivalue:
  19242. description: 现货商品最小变动值
  19243. type: integer
  19244. modifytime:
  19245. description: 修改时间(过户时间)
  19246. type: string
  19247. optioncompare:
  19248. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19249. type: string
  19250. pledgeqty:
  19251. description: 质押数量
  19252. type: number
  19253. querytype:
  19254. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19255. type: integer
  19256. sellexcuteqty:
  19257. description: 销售履约中数量
  19258. type: number
  19259. totalqty:
  19260. description: 总数量(库存数量)
  19261. type: number
  19262. warehouseid:
  19263. description: 仓库ID
  19264. type: integer
  19265. warehousename:
  19266. description: 仓库名称
  19267. type: string
  19268. wrfactortypeid:
  19269. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19270. type: string
  19271. wrfactortypename:
  19272. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19273. type: string
  19274. wrpositionid:
  19275. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19276. type: string
  19277. wrpositionno:
  19278. description: 仓单编号
  19279. type: string
  19280. wrstandardcode:
  19281. description: 现货商品代码
  19282. type: string
  19283. wrstandardid:
  19284. description: 现货商品ID
  19285. type: integer
  19286. wrstandardname:
  19287. description: 商品名称
  19288. type: string
  19289. wrtypename:
  19290. description: 商品
  19291. type: string
  19292. wruserid:
  19293. description: 持有人ID
  19294. type: integer
  19295. type: object
  19296. models.WrPreSaleInfo:
  19297. properties:
  19298. bannerpicurl:
  19299. description: Banner图
  19300. type: string
  19301. baseqty:
  19302. description: 中签基数
  19303. type: number
  19304. createtime:
  19305. description: 创建时间
  19306. type: string
  19307. deliverygoodsid:
  19308. description: 现货品种ID
  19309. type: integer
  19310. enddate:
  19311. description: 预售结束日期
  19312. type: string
  19313. enumdicname:
  19314. description: 单位名称
  19315. type: string
  19316. lotteryflag:
  19317. description: 摇号标识 - 0:未摇号 1:已摇号
  19318. type: integer
  19319. lotteryqty:
  19320. description: 摇号总量
  19321. type: number
  19322. luckyqty:
  19323. description: 已中签量
  19324. type: number
  19325. marketid:
  19326. description: 市场ID
  19327. type: integer
  19328. maxbuyqty:
  19329. description: 单人最大申购量
  19330. type: number
  19331. maxluckyqty:
  19332. description: 单人最大中签量
  19333. type: number
  19334. pictureurls:
  19335. description: 详情图片(逗号分隔)
  19336. type: string
  19337. placeqty:
  19338. description: 已配售量
  19339. type: number
  19340. presaleapplyid:
  19341. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19342. example: "0"
  19343. type: string
  19344. presaleqty:
  19345. description: 预售总量
  19346. type: number
  19347. presalestatus:
  19348. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19349. type: integer
  19350. sellaccountid:
  19351. description: 发行方资金账户ID
  19352. type: integer
  19353. selluserid:
  19354. description: 发行方用户ID
  19355. type: integer
  19356. sellwrtradeorderid:
  19357. description: 发行方卖委托单ID
  19358. type: string
  19359. startdate:
  19360. description: 预售开始日期
  19361. type: string
  19362. takestartdate:
  19363. description: 提货开始日期
  19364. type: string
  19365. thumurls:
  19366. description: 缩略图片(1:1)(逗号分隔)
  19367. type: string
  19368. tradedate:
  19369. description: 交易日
  19370. type: string
  19371. unitid:
  19372. description: 单位ID
  19373. type: integer
  19374. unitprice:
  19375. description: 商品单价
  19376. type: number
  19377. username:
  19378. description: 发行方用户名称
  19379. type: string
  19380. warehousecode:
  19381. description: 仓库代码(仓库简称)
  19382. type: string
  19383. warehouseid:
  19384. description: 仓库ID
  19385. type: integer
  19386. warehousename:
  19387. description: 仓库名称
  19388. type: string
  19389. wrfactortypeid:
  19390. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19391. example: "0"
  19392. type: string
  19393. wrstandardid:
  19394. description: 现货商品ID
  19395. type: integer
  19396. wrstandardname:
  19397. description: 现货商品名称
  19398. type: string
  19399. type: object
  19400. models.WrQuoteOrderMyq:
  19401. properties:
  19402. buyorsell:
  19403. description: 买卖 - 0:买 1:卖
  19404. type: integer
  19405. canbargain:
  19406. description: 是否可议价 - 0:不可 1:可
  19407. type: integer
  19408. canpart:
  19409. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19410. type: integer
  19411. delistminqty:
  19412. description: 期初均价
  19413. type: number
  19414. deliverygoodscode:
  19415. description: 品种代码
  19416. type: string
  19417. deliverygoodsid:
  19418. description: 品种ID
  19419. type: integer
  19420. deliverygoodsname:
  19421. description: 品种名称
  19422. type: string
  19423. deliverymonth:
  19424. description: 交收月
  19425. type: string
  19426. enumdicname:
  19427. description: 单位名称
  19428. type: string
  19429. fixedprice:
  19430. description: 买(卖)价
  19431. type: number
  19432. goodscode:
  19433. description: 商品合约代码
  19434. type: string
  19435. marginflag:
  19436. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19437. type: integer
  19438. marginvalue:
  19439. description: 保证金设置值
  19440. type: number
  19441. minivalue:
  19442. description: 现货商品最小变动值
  19443. type: integer
  19444. orderqty:
  19445. description: 买(卖)量(=委托量-成交量)
  19446. type: number
  19447. ordertime:
  19448. description: 委托时间
  19449. type: string
  19450. performancetemplateid:
  19451. description: 履约模板id
  19452. type: integer
  19453. pricemove:
  19454. description: 买(卖)升贴水- 基差
  19455. type: number
  19456. templatename:
  19457. description: 履约模板名称
  19458. type: string
  19459. userid:
  19460. description: 购买方(销售方)用户ID
  19461. type: integer
  19462. username:
  19463. description: 购买方(销售方)
  19464. type: string
  19465. validtime:
  19466. description: 有效期限
  19467. type: string
  19468. validtype:
  19469. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19470. type: integer
  19471. warehousename:
  19472. description: 仓库名称
  19473. type: string
  19474. wrfactortypeid:
  19475. description: 仓单要素id
  19476. type: string
  19477. wrstandardcode:
  19478. description: 现货商品代码
  19479. type: string
  19480. wrstandardid:
  19481. description: 现货商品ID
  19482. type: integer
  19483. wrstandardname:
  19484. description: 商品名称
  19485. type: string
  19486. wrtradeorderid:
  19487. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19488. type: string
  19489. wrtypename:
  19490. description: 商品
  19491. type: string
  19492. type: object
  19493. models.WrReckonSpotGoodsTradeSum:
  19494. properties:
  19495. begindate:
  19496. description: 开始日期(结果含开始日期) yyyymmdd
  19497. type: string
  19498. enddate:
  19499. description: 结束日期(结果含结束日期) yyyymmdd
  19500. type: string
  19501. istoday:
  19502. description: 是否当日
  19503. type: boolean
  19504. marketid:
  19505. description: 市场ID
  19506. type: integer
  19507. price:
  19508. description: 价格 = 日成交金额 / 日成交数量
  19509. type: string
  19510. reckondate:
  19511. description: 日期 格式 yyyymmdd
  19512. type: string
  19513. tradeamount:
  19514. description: 期初均价
  19515. type: number
  19516. tradeqty:
  19517. description: 期初均价
  19518. type: number
  19519. wrstandardid:
  19520. description: 现货商品ID
  19521. type: integer
  19522. type: object
  19523. models.WrScfContract:
  19524. properties:
  19525. borroweruserid:
  19526. description: 借款用户ID
  19527. type: integer
  19528. buybackwrpositionqty:
  19529. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19530. type: number
  19531. closeinterest:
  19532. description: 已结利息 -> 已结费用
  19533. type: number
  19534. currisklevel:
  19535. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19536. type: integer
  19537. deadline:
  19538. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19539. type: string
  19540. deliverygoodscode:
  19541. description: 品种代码
  19542. type: string
  19543. deliverygoodsid:
  19544. description: 品种ID
  19545. type: integer
  19546. deliverygoodsname:
  19547. description: 品种名称
  19548. type: string
  19549. enumdicname:
  19550. description: 单位名称
  19551. type: string
  19552. financingdays:
  19553. description: 天数(天)
  19554. type: integer
  19555. initmargin:
  19556. description: 保证金 - [仓单回购]
  19557. type: number
  19558. interestamount:
  19559. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19560. type: number
  19561. interestdebt:
  19562. description: 利息欠款(记录负数) -> 费用欠款
  19563. type: number
  19564. interestminlen:
  19565. description: 最小起息天数
  19566. type: integer
  19567. interestrate:
  19568. description: 利率
  19569. type: number
  19570. interestratemode:
  19571. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19572. type: integer
  19573. interestsettlemode:
  19574. description: 结息方式 - 1:按日结息 3:按月结息
  19575. type: integer
  19576. interestsettlevalue:
  19577. description: 结息方式值
  19578. type: integer
  19579. isautoloan:
  19580. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19581. type: integer
  19582. lastcloseinterestday:
  19583. description: 最近结息日(yyyyMMdd)
  19584. type: string
  19585. lenderamount:
  19586. description: 贷款金额 -> 借款金额
  19587. type: number
  19588. lenderuserid:
  19589. description: 贷款方用户ID -> 融出方用户ID
  19590. type: integer
  19591. lenderusername:
  19592. description: 融出方
  19593. type: string
  19594. marginratio:
  19595. description: 保证金比率质押率 - [仓单质押]
  19596. type: number
  19597. marketid:
  19598. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19599. type: integer
  19600. minivalue:
  19601. description: 现货商品最小变动值
  19602. type: integer
  19603. optioncompare:
  19604. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19605. type: string
  19606. pricemove:
  19607. description: 估值升贴水值
  19608. type: number
  19609. productdetailid:
  19610. description: 产品组合ID
  19611. type: integer
  19612. productid:
  19613. description: 金融产品ID
  19614. type: integer
  19615. productname:
  19616. description: 产品名称
  19617. type: string
  19618. remainamount:
  19619. description: 合同剩余金额 -> 剩余金额
  19620. type: number
  19621. remainwrpositionqty:
  19622. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19623. type: number
  19624. remark:
  19625. description: 备注
  19626. type: string
  19627. scfcontractid:
  19628. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19629. type: string
  19630. scfcontractstatus:
  19631. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19632. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19633. type: integer
  19634. scfcontracttype:
  19635. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19636. type: integer
  19637. startinterestday:
  19638. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19639. type: string
  19640. totalinterest:
  19641. description: 已计利息 -> 已计费用
  19642. type: number
  19643. unpaidinterest:
  19644. description: 期初均价
  19645. type: number
  19646. updatetime:
  19647. description: 更新时间
  19648. type: string
  19649. warehouseid:
  19650. description: 仓库ID
  19651. type: integer
  19652. warehousename:
  19653. description: 仓库名称
  19654. type: string
  19655. wrfactortypeid:
  19656. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19657. type: string
  19658. wrfactortypename:
  19659. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19660. type: string
  19661. wrqty:
  19662. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19663. type: number
  19664. wrstandardcode:
  19665. description: 现货商品代码
  19666. type: string
  19667. wrstandardid:
  19668. description: 现货商品ID
  19669. type: integer
  19670. wrstandardname:
  19671. description: 商品名称
  19672. type: string
  19673. wrtypename:
  19674. description: 商品
  19675. type: string
  19676. type: object
  19677. models.WrScfContractInterest:
  19678. properties:
  19679. closeinterest:
  19680. description: 已结利息
  19681. type: number
  19682. closeintereststatus:
  19683. description: 结息状态 - 1:未结 2:已结
  19684. type: integer
  19685. closetime:
  19686. description: 结息时间
  19687. type: string
  19688. closetradedate:
  19689. description: 结息交易日
  19690. type: string
  19691. creatorid:
  19692. description: 操作人ID
  19693. type: integer
  19694. dayrate:
  19695. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19696. type: number
  19697. interest:
  19698. description: 利息
  19699. type: number
  19700. interestamount:
  19701. description: 计息金额
  19702. type: number
  19703. interestday:
  19704. description: 计息日(yyyyMMdd)
  19705. type: string
  19706. scfcontractid:
  19707. description: SCF合同ID
  19708. type: string
  19709. scfcontractinterestid:
  19710. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19711. type: integer
  19712. updatetime:
  19713. description: 更新时间
  19714. type: string
  19715. type: object
  19716. models.WrSearchUser:
  19717. properties:
  19718. userid:
  19719. description: 用户ID
  19720. type: integer
  19721. username:
  19722. description: 用户名称(已脱敏)
  19723. type: string
  19724. username2:
  19725. description: 用户名称(未脱敏)
  19726. type: string
  19727. usertype:
  19728. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19729. type: integer
  19730. required:
  19731. - username
  19732. type: object
  19733. models.WrSiteColumnDetail:
  19734. properties:
  19735. brief:
  19736. description: 简介
  19737. type: string
  19738. context:
  19739. description: 内容
  19740. type: string
  19741. coverimage:
  19742. description: 封面图片
  19743. type: string
  19744. creaedate:
  19745. description: 创建时间
  19746. type: string
  19747. id:
  19748. description: ID(SEQ_SITE_COLUMNDETAIL)
  19749. type: integer
  19750. istop:
  19751. description: 是否置顶 - 0:不置 1:置顶
  19752. type: integer
  19753. publishdate:
  19754. description: 发布日期
  19755. type: string
  19756. title:
  19757. description: 标题
  19758. type: string
  19759. updatedate:
  19760. description: 修改时间
  19761. type: string
  19762. type: object
  19763. models.WrSpecialMatchOrder:
  19764. properties:
  19765. amount:
  19766. description: 金额 = 数量 * 价格
  19767. type: number
  19768. buyorsell:
  19769. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19770. type: integer
  19771. cancelqty:
  19772. description: 撤销数量
  19773. type: number
  19774. deliverygoodscode:
  19775. description: 品种代码
  19776. type: string
  19777. deliverygoodsid:
  19778. description: 品种ID
  19779. type: integer
  19780. deliverygoodsname:
  19781. description: 品种名称
  19782. type: string
  19783. enumdicname:
  19784. description: 单位名称
  19785. type: string
  19786. fixedprice:
  19787. description: 固定价格(价格)
  19788. type: number
  19789. haswr:
  19790. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19791. type: integer
  19792. isspecified:
  19793. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19794. type: integer
  19795. marketid:
  19796. description: 市场ID
  19797. type: integer
  19798. matchuserid:
  19799. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19800. type: integer
  19801. matchusername:
  19802. description: 指定方
  19803. type: string
  19804. minivalue:
  19805. description: 现货商品最小变动值
  19806. type: integer
  19807. optioncompare:
  19808. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19809. type: string
  19810. orderqty:
  19811. description: 委托数量
  19812. type: number
  19813. ordertime:
  19814. description: 委托时间
  19815. type: string
  19816. pricemove:
  19817. description: 升贴水(浮动价时填写) - [挂牌]
  19818. type: number
  19819. tradedate:
  19820. description: 交易日(yyyyMMdd)
  19821. type: string
  19822. tradeprice:
  19823. description: 成交价格
  19824. type: number
  19825. tradeqty:
  19826. description: 成交数量
  19827. type: number
  19828. userid:
  19829. description: 用户ID
  19830. type: integer
  19831. username:
  19832. description: 发起方
  19833. type: string
  19834. warehouseid:
  19835. description: 仓库ID
  19836. type: integer
  19837. warehousename:
  19838. description: 仓库名称
  19839. type: string
  19840. wrfactortypeid:
  19841. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19842. type: string
  19843. wrfactortypename:
  19844. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19845. type: string
  19846. wrpricetype:
  19847. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19848. type: integer
  19849. wrstandardcode:
  19850. description: 现货商品代码
  19851. type: string
  19852. wrstandardid:
  19853. description: 现货商品ID
  19854. type: integer
  19855. wrstandardname:
  19856. description: 商品名称
  19857. type: string
  19858. wrtradeorderid:
  19859. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19860. type: string
  19861. wrtradeorderstatus:
  19862. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19863. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19864. type: integer
  19865. wrtradetype:
  19866. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19867. type: integer
  19868. wrtypename:
  19869. description: 商品
  19870. type: string
  19871. type: object
  19872. models.WrSpotGroupTradeSum:
  19873. properties:
  19874. deliverygoodscode:
  19875. description: 现货品种代码
  19876. type: string
  19877. deliverygoodsid:
  19878. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19879. type: integer
  19880. deliverygoodsname:
  19881. description: 现货品种名称
  19882. type: string
  19883. lastavgprice:
  19884. description: 上上个交易日价格(前2天价格)
  19885. type: string
  19886. lastreckondate:
  19887. description: 上上个交易日(前2天交易日)
  19888. type: string
  19889. reckondate:
  19890. description: 上个交易日(前1天交易日)
  19891. type: string
  19892. todayavgprice:
  19893. description: 上个交易日价格(前1天价格)
  19894. type: string
  19895. updown:
  19896. description: 涨跌
  19897. type: string
  19898. updownratio:
  19899. description: 涨幅(已格式化, 直接显示即可)
  19900. type: string
  19901. type: object
  19902. models.WrSpotGroupTradeSumDetail:
  19903. properties:
  19904. deliverygoodsid:
  19905. description: 现货商品id
  19906. type: integer
  19907. price:
  19908. description: 价格
  19909. type: number
  19910. reckondate:
  19911. description: 日期(yyymmdd, 如:20211031)
  19912. type: string
  19913. type: object
  19914. models.WrSpotGroupTradeSumEx:
  19915. properties:
  19916. lst:
  19917. description: 指数列表
  19918. items:
  19919. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19920. type: array
  19921. prereckondate:
  19922. description: 上上个交易日(yyymmdd)
  19923. type: string
  19924. reckondate:
  19925. description: 上个交易日(yyyymmdd)
  19926. type: string
  19927. type: object
  19928. models.WrStandardFactoryItem:
  19929. properties:
  19930. dgfactoryitemid:
  19931. description: 选择项id
  19932. type: integer
  19933. dgfactoryitemvalue:
  19934. description: 要素项值
  19935. type: string
  19936. warehouseid:
  19937. description: 仓库id
  19938. type: integer
  19939. type: object
  19940. models.WrStandardFactoryItemEx:
  19941. properties:
  19942. dgfactoryitemtypeid:
  19943. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19944. type: integer
  19945. itemlst:
  19946. description: 要素项列表
  19947. items:
  19948. $ref: '#/definitions/models.WrStandardFactoryItem'
  19949. type: array
  19950. itemtypename:
  19951. description: 要素项类型名称
  19952. type: string
  19953. wrstandardid:
  19954. description: 品类
  19955. type: integer
  19956. type: object
  19957. models.WrTradeDetail:
  19958. properties:
  19959. accountid:
  19960. description: 资金账号
  19961. type: integer
  19962. bannerpicurl:
  19963. description: Banner图
  19964. type: string
  19965. begindate:
  19966. description: 开始交易日(yyyymmdd)
  19967. type: string
  19968. buyorsell:
  19969. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19970. type: integer
  19971. chargevalue:
  19972. description: 手续费
  19973. type: number
  19974. deliverygoodscode:
  19975. description: 品种代码
  19976. type: string
  19977. deliverygoodsid:
  19978. description: 品种ID
  19979. type: integer
  19980. deliverygoodsname:
  19981. description: 品种名称
  19982. type: string
  19983. deliverymonth:
  19984. description: 交收月
  19985. type: string
  19986. enddate:
  19987. description: 结束交易日(yyyymmdd)
  19988. type: string
  19989. enumdicname:
  19990. description: 单位名称
  19991. type: string
  19992. haswr:
  19993. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19994. type: integer
  19995. marketid:
  19996. description: 市场ID
  19997. type: integer
  19998. matchaccountid:
  19999. description: 对手账号
  20000. type: integer
  20001. matchusername:
  20002. description: 对手方
  20003. type: string
  20004. minivalue:
  20005. description: 现货商品最小变动值
  20006. type: integer
  20007. optioncompare:
  20008. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20009. type: string
  20010. thumurls:
  20011. description: 缩略图
  20012. type: string
  20013. tradedate:
  20014. description: 交易日(yyyyMMdd)
  20015. type: string
  20016. tradeprice:
  20017. description: 成交价格
  20018. type: number
  20019. tradeqty:
  20020. description: 成交数量
  20021. type: number
  20022. tradetime:
  20023. description: 成交时间
  20024. type: string
  20025. userid:
  20026. description: 用户ID
  20027. type: integer
  20028. warehouseid:
  20029. description: 仓库ID
  20030. type: integer
  20031. warehousename:
  20032. description: 仓库名称
  20033. type: string
  20034. wrfactortypeid:
  20035. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20036. type: string
  20037. wrfactortypename:
  20038. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20039. type: string
  20040. wrstandardcode:
  20041. description: 现货商品代码
  20042. type: string
  20043. wrstandardid:
  20044. description: 现货商品ID
  20045. type: integer
  20046. wrstandardname:
  20047. description: 商品名称
  20048. type: string
  20049. wrtradedetailid:
  20050. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20051. type: string
  20052. wrtradetype:
  20053. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20054. type: integer
  20055. wrtypename:
  20056. description: 商品
  20057. type: string
  20058. type: object
  20059. models.WrTradeOrderDetail:
  20060. properties:
  20061. buyorsell:
  20062. description: 买卖方向 0-买 1-卖
  20063. type: integer
  20064. goodsid:
  20065. description: 商品id
  20066. type: integer
  20067. orderid:
  20068. description: 委托单号
  20069. type: string
  20070. orderprice:
  20071. description: 期初均价
  20072. type: number
  20073. orderqty:
  20074. description: 委托数量
  20075. type: integer
  20076. userid:
  20077. description: 用户id
  20078. type: integer
  20079. username:
  20080. description: 用户名称(已脱敏)
  20081. type: string
  20082. type: object
  20083. models.WrTypeItem:
  20084. properties:
  20085. name:
  20086. description: 名称
  20087. type: string
  20088. value:
  20089. description: 值
  20090. type: string
  20091. type: object
  20092. models.WrUserFriend:
  20093. properties:
  20094. friendname:
  20095. description: 朋友名称(已脱敏)
  20096. type: string
  20097. frienduserid:
  20098. description: 朋友id
  20099. type: integer
  20100. isfriend:
  20101. description: 是否好友 0-不是 1-是
  20102. type: integer
  20103. userid:
  20104. description: 用户id
  20105. type: integer
  20106. type: object
  20107. models.WrUserReceiptInfo:
  20108. properties:
  20109. address:
  20110. description: 地址[发票类型:企业]
  20111. type: string
  20112. autoid:
  20113. description: AutoID
  20114. type: integer
  20115. contactinfo:
  20116. description: 联系方式
  20117. type: string
  20118. idnum:
  20119. description: 身份证号码[发票类型:个人]
  20120. type: string
  20121. isdefault:
  20122. description: 是否默认地址 - 0:否 1:是
  20123. type: integer
  20124. receiptaccount:
  20125. description: 发票帐号[发票类型:企业]
  20126. type: string
  20127. receiptbank:
  20128. description: 发票开户行[发票类型:企业]
  20129. type: string
  20130. receipttype:
  20131. description: 发票类型 - 1:个人 2:企业
  20132. type: integer
  20133. taxpayerid:
  20134. description: 纳税人识别号
  20135. type: string
  20136. userid:
  20137. description: 用户ID
  20138. type: integer
  20139. username:
  20140. description: 户名(个人姓名或企业名称)
  20141. type: string
  20142. type: object
  20143. models.Wrtradetradequote:
  20144. properties:
  20145. buyaccountid:
  20146. description: 买方账号ID
  20147. type: integer
  20148. buychargevalue:
  20149. description: 买方手续费
  20150. type: number
  20151. buyuserid:
  20152. description: 买方用户ID
  20153. type: integer
  20154. deliverygoodsid:
  20155. description: 现货品种ID
  20156. type: integer
  20157. exchangerate:
  20158. description: 汇率
  20159. type: number
  20160. marketid:
  20161. description: 市场ID
  20162. type: integer
  20163. oritradeamount:
  20164. description: 成交金额[商品币种]
  20165. type: number
  20166. performanceplanid:
  20167. description: 履约计划ID/合同ID
  20168. type: integer
  20169. sellaccountid:
  20170. description: 卖方账号ID
  20171. type: integer
  20172. sellchargevalue:
  20173. description: 卖方手续费
  20174. type: number
  20175. selluserid:
  20176. description: 卖方用户ID
  20177. type: integer
  20178. tradeamount:
  20179. description: 成交金额
  20180. type: number
  20181. tradedate:
  20182. description: 交易日(yyyyMMdd)
  20183. type: string
  20184. tradeprice:
  20185. description: 成交价格
  20186. type: number
  20187. tradeqty:
  20188. description: 成交数量
  20189. type: integer
  20190. tradetime:
  20191. description: 成交时间
  20192. type: string
  20193. wrfactortypeid:
  20194. description: 仓单要素类型ID
  20195. type: integer
  20196. wrstandardid:
  20197. description: 现货商品ID
  20198. type: integer
  20199. wrtradedetailid:
  20200. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20201. type: integer
  20202. type: object
  20203. models.XHBRAND:
  20204. properties:
  20205. brandid:
  20206. description: 品牌id
  20207. type: integer
  20208. brandname:
  20209. description: 品牌名称
  20210. type: string
  20211. isvalid:
  20212. description: 是否有效 0-无效 1-有效
  20213. type: integer
  20214. type: object
  20215. models.XHDeliveryGoods:
  20216. properties:
  20217. areauserid:
  20218. description: 所属机构
  20219. type: integer
  20220. bdlst:
  20221. description: 品牌列表
  20222. items:
  20223. $ref: '#/definitions/models.XHBRAND'
  20224. type: array
  20225. deliverygoodscode:
  20226. description: 现货品种代码
  20227. type: string
  20228. deliverygoodsid:
  20229. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20230. type: integer
  20231. deliverygoodsname:
  20232. description: 现货品种名称
  20233. type: string
  20234. dgstatus:
  20235. description: 品种状态 - 作废 - 0:未激活 1:正常
  20236. type: integer
  20237. filterSubEmpty:
  20238. description: 过滤下级为空的
  20239. type: integer
  20240. isvalid:
  20241. description: 是否有效 - 0:无效 1:有效
  20242. type: integer
  20243. remark:
  20244. description: 备注
  20245. type: string
  20246. unitid:
  20247. description: 单位id(目前看,数据库中是空值)
  20248. type: integer
  20249. wdlst:
  20250. description: 品类(现货商品)列表
  20251. items:
  20252. $ref: '#/definitions/models.XHWrstandard'
  20253. type: array
  20254. type: object
  20255. models.XHMiddleGoods:
  20256. properties:
  20257. GPLST:
  20258. description: 期货品种列表
  20259. items:
  20260. $ref: '#/definitions/models.TBGoodsGroup'
  20261. type: array
  20262. convertratio:
  20263. description: 拆算系数
  20264. type: number
  20265. costratio:
  20266. description: 成本权重
  20267. type: number
  20268. deliverygoodsid:
  20269. description: 现货商品id
  20270. type: integer
  20271. enumdicname:
  20272. description: 单位名称
  20273. type: string
  20274. middlegoodscode:
  20275. description: 套保品种代码
  20276. type: string
  20277. middlegoodsid:
  20278. description: 套保品种id
  20279. type: integer
  20280. middlegoodsname:
  20281. description: 套保品种名称
  20282. type: string
  20283. unitid:
  20284. description: 单位id
  20285. type: integer
  20286. type: object
  20287. models.XHWrstandard:
  20288. properties:
  20289. bannerpicurl:
  20290. description: banner图
  20291. type: string
  20292. deliverygoodsid:
  20293. description: 品种ID
  20294. type: integer
  20295. enumdicname:
  20296. description: 单位名称
  20297. type: string
  20298. mglst:
  20299. description: 套保品列表
  20300. items:
  20301. $ref: '#/definitions/models.XHMiddleGoods'
  20302. type: array
  20303. pictureurls:
  20304. description: 详情图片(逗号分隔)
  20305. type: string
  20306. thumurls:
  20307. description: 缩略图片(1:1)(逗号分隔)
  20308. type: string
  20309. unitid:
  20310. description: 单位id
  20311. type: integer
  20312. vatrate:
  20313. description: 增值税率
  20314. type: number
  20315. wrstandardcode:
  20316. description: 现货商品代码
  20317. type: string
  20318. wrstandardid:
  20319. description: 现货商品ID(SEQ_WRSTANDARD)
  20320. type: integer
  20321. wrstandardname:
  20322. description: 现货商品名称
  20323. type: string
  20324. type: object
  20325. models.XhcpSellBackApplyEx:
  20326. properties:
  20327. applyremark:
  20328. description: 申请备注
  20329. type: string
  20330. expirytype:
  20331. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20332. type: integer
  20333. goodsspec:
  20334. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20335. type: integer
  20336. holeflag:
  20337. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20338. type: integer
  20339. isunopened:
  20340. description: 是否原封 - 1:否 2:是
  20341. type: integer
  20342. mpflag:
  20343. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20344. type: integer
  20345. openflag:
  20346. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20347. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20348. type: integer
  20349. phonenum:
  20350. description: 联系电话
  20351. type: string
  20352. userid:
  20353. description: 所属用户ID
  20354. type: integer
  20355. zpflag:
  20356. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20357. type: integer
  20358. required:
  20359. - userid
  20360. type: object
  20361. models.Xhcpsellbackapply:
  20362. properties:
  20363. applyid:
  20364. description: 申请人
  20365. type: integer
  20366. applyremark:
  20367. description: 申请备注
  20368. type: string
  20369. applysrc:
  20370. description: 申请来源 - 1:管理端 2:终端
  20371. type: integer
  20372. applystatus:
  20373. description: 申请状态 - 1:待确认 2:已处理
  20374. type: integer
  20375. applytime:
  20376. description: 申请时间
  20377. type: string
  20378. auditremark:
  20379. description: 审核备注
  20380. type: string
  20381. auditsrc:
  20382. description: 审核来源 - 1:管理端 2:终端
  20383. type: integer
  20384. expirytype:
  20385. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20386. type: integer
  20387. goodsspec:
  20388. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20389. type: integer
  20390. holeflag:
  20391. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20392. type: integer
  20393. isunopened:
  20394. description: 是否原封 - 1:否 2:是
  20395. type: integer
  20396. mpflag:
  20397. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20398. type: integer
  20399. openflag:
  20400. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20401. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20402. type: integer
  20403. phonenum:
  20404. description: 联系电话
  20405. type: string
  20406. sellbackapplyid:
  20407. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20408. type: string
  20409. userid:
  20410. description: 所属用户ID
  20411. type: integer
  20412. zpflag:
  20413. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20414. type: integer
  20415. required:
  20416. - userid
  20417. type: object
  20418. order.QueryHisTradeDetailRsp:
  20419. properties:
  20420. accountid:
  20421. description: 账户ID[报价币种]
  20422. type: integer
  20423. advanceratio:
  20424. description: 首付比率
  20425. type: number
  20426. buildtype:
  20427. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20428. type: integer
  20429. buyorsell:
  20430. description: 方向 - 0:买 1:卖
  20431. type: integer
  20432. charge:
  20433. description: 手续费
  20434. type: number
  20435. closecharge:
  20436. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20437. type: number
  20438. closeexchagechargevalue:
  20439. description: 平仓交易所手续费设置值
  20440. type: number
  20441. closefeealgorithm:
  20442. description: 平仓手续费收取方式 1:比率 2:固定
  20443. type: integer
  20444. closememberchargevalue:
  20445. description: 平仓会员手续费设置值
  20446. type: number
  20447. closepl:
  20448. description: 平仓盈亏
  20449. type: number
  20450. closepl2:
  20451. description: 平仓盈亏[逐笔]
  20452. type: number
  20453. closeqty:
  20454. description: 平仓数量(先建后平操作 需要记录)
  20455. type: number
  20456. creditamount:
  20457. description: 授信金额
  20458. type: number
  20459. decimalplace:
  20460. description: 商品报价小数位
  20461. type: integer
  20462. enumdicname:
  20463. description: 单位名称
  20464. type: string
  20465. gcaccountid:
  20466. description: 账户ID[合约币种]
  20467. type: integer
  20468. goodscode:
  20469. description: 商品代码
  20470. type: string
  20471. goodsid:
  20472. description: 商品ID
  20473. type: integer
  20474. goodsname:
  20475. description: 商品名称
  20476. type: string
  20477. goodunitid:
  20478. description: 商品单位id
  20479. type: integer
  20480. histradedate:
  20481. description: 历史交易日
  20482. type: string
  20483. intclosepl:
  20484. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20485. type: integer
  20486. isconfirmexercise:
  20487. description: 是否确认行权- 0:否 1:是
  20488. type: integer
  20489. ismain:
  20490. description: 是否主单 - 0:不是 1:是
  20491. type: integer
  20492. ispreexercise:
  20493. description: 是否预申报- 0:否 1:是
  20494. type: integer
  20495. isreckoned:
  20496. description: 是否结算 - 0:未结算 1:已结算
  20497. type: integer
  20498. isvaliddata:
  20499. description: 是否有效 - 0:无效 1:有效
  20500. type: integer
  20501. listingselecttype:
  20502. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20503. type: integer
  20504. marketid:
  20505. description: 市场ID
  20506. type: integer
  20507. marketname:
  20508. description: 市场名称
  20509. type: string
  20510. matchaccountid:
  20511. description: 对手账号id
  20512. type: integer
  20513. memberuserid:
  20514. description: 会员id 个人投资者 需要填写
  20515. type: integer
  20516. opencharge:
  20517. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20518. type: number
  20519. openexchagechargevalue:
  20520. description: 建仓交易所手续费设置值
  20521. type: number
  20522. openfeealgorithm:
  20523. description: 建仓手续费收取方式 1:比率 2:固定
  20524. type: integer
  20525. openmemberchargevalue:
  20526. description: 建仓会员手续费设置值
  20527. type: number
  20528. openqty:
  20529. description: 开仓数量(先建后平操作 需要记录)
  20530. type: number
  20531. optiontype:
  20532. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20533. type: integer
  20534. orderid:
  20535. description: 委托单号
  20536. type: string
  20537. payamount:
  20538. description: 支付金额(付款金额)
  20539. type: number
  20540. performanceplanid:
  20541. description: 履约计划ID[期权]
  20542. type: integer
  20543. performancestatus:
  20544. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20545. type: integer
  20546. preexerciseprice:
  20547. description: 预申报价格
  20548. type: number
  20549. premium:
  20550. description: 权利金 - [持仓单的权利金]
  20551. type: number
  20552. qtydecimalplace:
  20553. description: 商品报价小数位
  20554. type: integer
  20555. recvamount:
  20556. description: 到账金额 = 成交金额 - 手续费
  20557. type: number
  20558. relatedouttradeid:
  20559. description: 关联外部成交单ID
  20560. type: integer
  20561. status:
  20562. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20563. type: integer
  20564. totalamount:
  20565. description: 订单总额 = 成交金额 + 手续费
  20566. type: number
  20567. tradeamount:
  20568. description: 成交金额[账户币种,用于所有权]
  20569. type: number
  20570. tradedate:
  20571. description: 交易日(yyyyMMdd)
  20572. type: string
  20573. tradeid:
  20574. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20575. type: string
  20576. trademode:
  20577. description: 交易模式
  20578. type: integer
  20579. tradeprice:
  20580. description: 成交价格
  20581. type: number
  20582. tradeproperty:
  20583. description: 交易属性
  20584. type: integer
  20585. tradeqty:
  20586. description: 成交数量
  20587. type: number
  20588. tradetime:
  20589. description: 成交时间
  20590. type: string
  20591. tradetype:
  20592. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20593. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20594. type: integer
  20595. required:
  20596. - accountid
  20597. - buyorsell
  20598. - goodsid
  20599. - histradedate
  20600. - marketid
  20601. - memberuserid
  20602. - orderid
  20603. - tradeamount
  20604. - tradedate
  20605. - tradeid
  20606. - tradeprice
  20607. - tradeqty
  20608. - tradetime
  20609. type: object
  20610. order.QueryHisTradeOrderDetailRsp:
  20611. properties:
  20612. accountid:
  20613. description: 账户ID[报价币种]
  20614. type: integer
  20615. buildtype:
  20616. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20617. type: integer
  20618. buyorsell:
  20619. description: 买卖 - 0:买 1:卖
  20620. type: integer
  20621. cancelorderid:
  20622. description: 撤单单号(撤单时填写)
  20623. type: string
  20624. cancelqty:
  20625. description: 撤单数量
  20626. type: number
  20627. clientordertime:
  20628. description: 客户端委托时间
  20629. type: string
  20630. clientticket:
  20631. description: 客户端流水号
  20632. type: string
  20633. clienttype:
  20634. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20635. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20636. type: integer
  20637. closeexchagechargevalue:
  20638. description: 平仓交易所手续费设置值
  20639. type: number
  20640. closefeealgorithm:
  20641. description: 平仓手续费收取方式 1:比率 2:固定
  20642. type: integer
  20643. closefreezecharge:
  20644. description: 平仓冻结手续费(先建后平操作,需要记录)
  20645. type: number
  20646. closememberchargevalue:
  20647. description: 平仓会员手续费设置值
  20648. type: number
  20649. closeqty:
  20650. description: 平仓数量(先建后平操作 需要记录)
  20651. type: number
  20652. closetradeqty:
  20653. description: 平仓成交数量(先建后平操作,需要记录)
  20654. type: number
  20655. closeunfreezecharge:
  20656. description: 平仓解冻手续费(先建后平操作,需要记录)
  20657. type: number
  20658. decimalplace:
  20659. description: 商品报价小数位
  20660. type: integer
  20661. delistingtype:
  20662. description: 摘牌类型 - 1:价格最优 2:点选成交
  20663. type: integer
  20664. enumdicname:
  20665. description: 单位名称
  20666. type: string
  20667. freezecharge:
  20668. description: 冻结手续费
  20669. type: number
  20670. freezemargin:
  20671. description: 冻结保证金(冻结交易金额)
  20672. type: number
  20673. gcaccountid:
  20674. description: 账户ID[合约币种]
  20675. type: integer
  20676. goodscode:
  20677. description: 商品代码
  20678. type: string
  20679. goodsid:
  20680. description: 商品ID
  20681. type: integer
  20682. goodsname:
  20683. description: 商品名称
  20684. type: string
  20685. goodunitid:
  20686. description: 商品单位id
  20687. type: integer
  20688. histradedate:
  20689. description: 历史交易日
  20690. type: string
  20691. isconfirmexercise:
  20692. description: 是否确认行权- 0:否 1:是
  20693. type: integer
  20694. ispreexercise:
  20695. description: 是否预申报- 0:否 1:是
  20696. type: integer
  20697. isvaliddata:
  20698. description: 是否有效 - 0:无效 1:有效
  20699. type: integer
  20700. listingselecttype:
  20701. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20702. type: integer
  20703. marginalgorithm:
  20704. description: 保证金收取方式 1:比率 2:固定
  20705. type: integer
  20706. marginvalue:
  20707. description: 即市保证金设置值
  20708. type: number
  20709. marketid:
  20710. description: 市场ID
  20711. type: integer
  20712. marketmaxsub:
  20713. description: 市价最大偏移范围
  20714. type: number
  20715. marketname:
  20716. description: 市场名称
  20717. type: string
  20718. memberuserid:
  20719. description: 所属会员UserID
  20720. type: integer
  20721. openexchagechargevalue:
  20722. description: 建仓交易所手续费设置值
  20723. type: number
  20724. openfeealgorithm:
  20725. description: 建仓手续费收取方式 1:比率 2:固定
  20726. type: integer
  20727. openfreezecharge:
  20728. description: 开仓冻结手续费(先建后平操作,需要记录)
  20729. type: number
  20730. openmemberchargevalue:
  20731. description: 建仓会员手续费设置值
  20732. type: number
  20733. openqty:
  20734. description: 开仓数量(先建后平操作,需要记录)
  20735. type: number
  20736. opentradeqty:
  20737. description: 开仓成交数量(先建后平操作,需要记录)
  20738. type: number
  20739. openunfreezecharge:
  20740. description: 开仓解冻手续费(先建后平操作,需要记录)
  20741. type: number
  20742. operatetype:
  20743. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20744. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20745. 15:管理端协议转让
  20746. type: integer
  20747. operatorid:
  20748. description: 登录账号(LoginID)
  20749. type: integer
  20750. optiontype:
  20751. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20752. type: integer
  20753. orderid:
  20754. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20755. type: string
  20756. orderprice:
  20757. description: 委托价格
  20758. type: number
  20759. orderqty:
  20760. description: 委托数量
  20761. type: number
  20762. ordersrc:
  20763. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20764. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20765. type: integer
  20766. orderstatus:
  20767. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20768. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20769. 16:成交失败违约(荷兰式竞拍专用)
  20770. type: integer
  20771. ordertime:
  20772. description: 委托时间
  20773. type: string
  20774. preexerciseprice:
  20775. description: 预申报价格
  20776. type: number
  20777. premium:
  20778. description: 权利金
  20779. type: number
  20780. preorderid:
  20781. description: 关联预埋单号(止盈止损单时填写)
  20782. type: string
  20783. pricemode:
  20784. description: '取价方式 - 1:市价 2: 限价'
  20785. type: integer
  20786. qtydecimalplace:
  20787. description: 成交量小数位
  20788. type: integer
  20789. quoteid:
  20790. description: 报价单ID
  20791. type: integer
  20792. relatedid:
  20793. description: 关联单号(交割单)
  20794. type: string
  20795. retcode:
  20796. description: 错误代码
  20797. type: integer
  20798. sessionid:
  20799. description: 会话ID
  20800. type: integer
  20801. tradedate:
  20802. description: 交易日(yyyyMMdd)
  20803. type: string
  20804. trademode:
  20805. description: 交易模式
  20806. type: integer
  20807. tradeproperty:
  20808. description: 交易属性
  20809. type: integer
  20810. tradeqty:
  20811. description: 成交数量
  20812. type: number
  20813. unfreezecharge:
  20814. description: 解冻手续费
  20815. type: number
  20816. unfreezemargin:
  20817. description: 解冻保证金
  20818. type: number
  20819. updatetime:
  20820. description: 更新时间
  20821. type: string
  20822. uuid:
  20823. description: 发起端唯一id
  20824. type: string
  20825. validtime:
  20826. description: 有效期限
  20827. type: string
  20828. validtype:
  20829. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20830. type: integer
  20831. volumetype:
  20832. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20833. type: integer
  20834. required:
  20835. - accountid
  20836. - buildtype
  20837. - buyorsell
  20838. - goodsid
  20839. - histradedate
  20840. - marketid
  20841. - memberuserid
  20842. - operatetype
  20843. - orderid
  20844. - orderqty
  20845. - ordertime
  20846. - pricemode
  20847. - tradedate
  20848. - validtype
  20849. type: object
  20850. order.QueryTradeDetailRsp:
  20851. properties:
  20852. accountid:
  20853. description: 账户ID[报价币种]
  20854. type: integer
  20855. advanceratio:
  20856. description: 首付比率
  20857. type: number
  20858. buildtype:
  20859. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20860. type: integer
  20861. buyorsell:
  20862. description: 方向 - 0:买 1:卖
  20863. type: integer
  20864. charge:
  20865. description: 手续费
  20866. type: number
  20867. closecharge:
  20868. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20869. type: number
  20870. closeexchagechargevalue:
  20871. description: 平仓交易所手续费设置值
  20872. type: number
  20873. closefeealgorithm:
  20874. description: 平仓手续费收取方式 1:比率 2:固定
  20875. type: integer
  20876. closememberchargevalue:
  20877. description: 平仓会员手续费设置值
  20878. type: number
  20879. closepl:
  20880. description: 平仓盈亏
  20881. type: number
  20882. closepl2:
  20883. description: 平仓盈亏[逐笔]
  20884. type: number
  20885. closeqty:
  20886. description: 平仓数量(先建后平操作 需要记录)
  20887. type: number
  20888. creditamount:
  20889. description: 授信金额
  20890. type: number
  20891. decimalplace:
  20892. description: 商品报价小数位
  20893. type: integer
  20894. enumdicname:
  20895. description: 单位名称
  20896. type: string
  20897. gcaccountid:
  20898. description: 账户ID[合约币种]
  20899. type: integer
  20900. goodscode:
  20901. description: 商品代码
  20902. type: string
  20903. goodsid:
  20904. description: 商品ID
  20905. type: integer
  20906. goodsname:
  20907. description: 商品名称
  20908. type: string
  20909. goodunitid:
  20910. description: 商品单位id
  20911. type: integer
  20912. intclosepl:
  20913. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20914. type: integer
  20915. isconfirmexercise:
  20916. description: 是否确认行权- 0:否 1:是
  20917. type: integer
  20918. ismain:
  20919. description: 是否主单 - 0:不是 1:是
  20920. type: integer
  20921. ispreexercise:
  20922. description: 是否预申报- 0:否 1:是
  20923. type: integer
  20924. isreckoned:
  20925. description: 是否结算 - 0:未结算 1:已结算
  20926. type: integer
  20927. listingselecttype:
  20928. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20929. type: integer
  20930. marketid:
  20931. description: 市场ID
  20932. type: integer
  20933. marketname:
  20934. description: 市场名称
  20935. type: string
  20936. matchaccountid:
  20937. description: 对手账号id
  20938. type: integer
  20939. memberuserid:
  20940. description: 会员id 个人投资者 需要填写
  20941. type: integer
  20942. opencharge:
  20943. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20944. type: number
  20945. openexchagechargevalue:
  20946. description: 建仓交易所手续费设置值
  20947. type: number
  20948. openfeealgorithm:
  20949. description: 建仓手续费收取方式 1:比率 2:固定
  20950. type: integer
  20951. openmemberchargevalue:
  20952. description: 建仓会员手续费设置值
  20953. type: number
  20954. openqty:
  20955. description: 开仓数量(先建后平操作 需要记录)
  20956. type: number
  20957. optiontype:
  20958. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20959. type: integer
  20960. orderid:
  20961. description: 委托单号
  20962. type: string
  20963. payamount:
  20964. description: 支付金额(付款金额)
  20965. type: number
  20966. performanceplanid:
  20967. description: 履约计划ID[期权]
  20968. type: integer
  20969. performancestatus:
  20970. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20971. type: integer
  20972. preexerciseprice:
  20973. description: 预申报价格
  20974. type: number
  20975. premium:
  20976. description: 权利金 - [持仓单的权利金]
  20977. type: number
  20978. qtydecimalplace:
  20979. description: 商品报价小数位
  20980. type: integer
  20981. recvamount:
  20982. description: 到账金额 = 成交金额 - 手续费
  20983. type: number
  20984. relatedouttradeid:
  20985. description: 关联外部成交单ID
  20986. type: integer
  20987. status:
  20988. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20989. type: integer
  20990. totalamount:
  20991. description: 订单总额 = 成交金额 + 手续费
  20992. type: number
  20993. tradeamount:
  20994. description: 成交金额[账户币种,用于所有权]
  20995. type: number
  20996. tradedate:
  20997. description: 交易日(yyyyMMdd)
  20998. type: string
  20999. tradeid:
  21000. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21001. type: string
  21002. trademode:
  21003. description: 交易模式
  21004. type: integer
  21005. tradeprice:
  21006. description: 成交价格
  21007. type: number
  21008. tradeproperty:
  21009. description: 交易属性
  21010. type: integer
  21011. tradeqty:
  21012. description: 成交数量
  21013. type: number
  21014. tradetime:
  21015. description: 成交时间
  21016. type: string
  21017. tradetype:
  21018. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21019. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21020. type: integer
  21021. required:
  21022. - accountid
  21023. - buyorsell
  21024. - goodsid
  21025. - marketid
  21026. - memberuserid
  21027. - orderid
  21028. - tradeamount
  21029. - tradedate
  21030. - tradeid
  21031. - tradeprice
  21032. - tradeqty
  21033. - tradetime
  21034. type: object
  21035. order.QueryTradeOrderDetailRsp:
  21036. properties:
  21037. accountid:
  21038. description: 账户ID[报价币种]
  21039. type: integer
  21040. buildtype:
  21041. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21042. type: integer
  21043. buyorsell:
  21044. description: 买卖 - 0:买 1:卖
  21045. type: integer
  21046. cancelorderid:
  21047. description: 撤单单号(撤单时填写)
  21048. type: string
  21049. cancelqty:
  21050. description: 撤单数量
  21051. type: number
  21052. clienttype:
  21053. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21054. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21055. type: integer
  21056. closefreezecharge:
  21057. description: 平仓冻结手续费(先建后平操作,需要记录)
  21058. type: number
  21059. closeqty:
  21060. description: 平仓数量(先建后平操作 需要记录)
  21061. type: number
  21062. closetradeqty:
  21063. description: 平仓成交数量(先建后平操作,需要记录)
  21064. type: number
  21065. closeunfreezecharge:
  21066. description: 平仓解冻手续费(先建后平操作,需要记录)
  21067. type: number
  21068. decimalplace:
  21069. description: 商品报价小数位
  21070. type: integer
  21071. delistingtype:
  21072. description: 摘牌类型 - 1:价格最优 2:点选成交
  21073. type: integer
  21074. enableqty:
  21075. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21076. type: number
  21077. enumdicname:
  21078. description: 单位名称
  21079. type: string
  21080. freezecharge:
  21081. description: 冻结手续费
  21082. type: number
  21083. freezemargin:
  21084. description: 冻结保证金(冻结交易金额)
  21085. type: number
  21086. goodscode:
  21087. description: 商品代码
  21088. type: string
  21089. goodsid:
  21090. description: 商品ID
  21091. type: integer
  21092. goodsname:
  21093. description: 商品名称
  21094. type: string
  21095. goodunitid:
  21096. description: 商品单位id
  21097. type: integer
  21098. listingselecttype:
  21099. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21100. type: integer
  21101. marketid:
  21102. description: 市场ID
  21103. type: integer
  21104. marketname:
  21105. description: 市场名称
  21106. type: string
  21107. openfreezecharge:
  21108. description: 开仓冻结手续费(先建后平操作,需要记录)
  21109. type: number
  21110. openqty:
  21111. description: 开仓数量(先建后平操作,需要记录)
  21112. type: number
  21113. opentradeqty:
  21114. description: 开仓成交数量(先建后平操作,需要记录)
  21115. type: number
  21116. openunfreezecharge:
  21117. description: 开仓解冻手续费(先建后平操作,需要记录)
  21118. type: number
  21119. operatetype:
  21120. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21121. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21122. 15:管理端协议转让
  21123. type: integer
  21124. operatorid:
  21125. description: 登录账号(LoginID)
  21126. type: integer
  21127. orderid:
  21128. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21129. type: string
  21130. orderprice:
  21131. description: 委托价格
  21132. type: number
  21133. orderqty:
  21134. description: 委托数量
  21135. type: number
  21136. ordersrc:
  21137. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21138. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21139. type: integer
  21140. orderstatus:
  21141. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21142. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21143. 16:成交失败违约(荷兰式竞拍专用)
  21144. type: integer
  21145. ordertime:
  21146. description: 委托时间
  21147. type: string
  21148. preorderid:
  21149. description: 关联预埋单号(止盈止损单时填写)
  21150. type: string
  21151. pricemode:
  21152. description: '取价方式 - 1:市价 2: 限价'
  21153. type: integer
  21154. qtydecimalplace:
  21155. description: 商品报价小数位
  21156. type: integer
  21157. relatedid:
  21158. description: 关联单号(交割单)
  21159. type: string
  21160. tradedate:
  21161. description: 交易日(yyyyMMdd)
  21162. type: string
  21163. trademode:
  21164. description: 交易模式
  21165. type: integer
  21166. tradeqty:
  21167. description: 成交数量
  21168. type: number
  21169. unfreezecharge:
  21170. description: 解冻手续费
  21171. type: number
  21172. unfreezemargin:
  21173. description: 解冻保证金
  21174. type: number
  21175. validtime:
  21176. description: 有效期限
  21177. type: string
  21178. validtype:
  21179. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21180. type: integer
  21181. volumetype:
  21182. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21183. type: integer
  21184. required:
  21185. - accountid
  21186. - buildtype
  21187. - buyorsell
  21188. - goodsid
  21189. - marketid
  21190. - operatetype
  21191. - orderqty
  21192. - ordertime
  21193. - pricemode
  21194. - tradedate
  21195. - validtype
  21196. type: object
  21197. order.QueryTradePositionRsp:
  21198. properties:
  21199. accountid:
  21200. description: 资金账户
  21201. type: integer
  21202. agreeunit:
  21203. description: 合约单位
  21204. type: number
  21205. averageprice:
  21206. description: 持仓均价
  21207. type: number
  21208. buyorsell:
  21209. description: 方向 - 0:买 1:卖
  21210. type: integer
  21211. closetotalqty:
  21212. description: 平仓总数量
  21213. type: number
  21214. curholderamount:
  21215. description: 当前持仓总金额[商品币种]
  21216. type: number
  21217. curpositionqty:
  21218. description: 当前持仓总数量
  21219. type: number
  21220. currencyid:
  21221. description: 报价货币ID
  21222. type: integer
  21223. curtdposition:
  21224. description: 期末今日头寸
  21225. type: number
  21226. decimalplace:
  21227. description: 报价小数位
  21228. type: integer
  21229. enableqty:
  21230. description: 可用量
  21231. type: number
  21232. fretdposition:
  21233. description: 冻结今日头寸
  21234. type: number
  21235. frozenqty:
  21236. description: 持仓冻结数量
  21237. type: number
  21238. goodscode:
  21239. description: 商品代码
  21240. type: string
  21241. goodsid:
  21242. description: 商品Id
  21243. type: integer
  21244. goodsname:
  21245. description: 商品名称
  21246. type: string
  21247. goodunit:
  21248. description: 报价单位
  21249. type: string
  21250. goodunitid:
  21251. description: 报价单位ID
  21252. type: integer
  21253. holderamount:
  21254. description: 期初持仓总金额[商品币种]
  21255. type: number
  21256. lastprice:
  21257. description: 最新价
  21258. type: number
  21259. marketamount:
  21260. description: 市值
  21261. type: number
  21262. marketid:
  21263. description: 所属市场ID
  21264. type: integer
  21265. openreqqty:
  21266. description: 开仓申请数量(用于比较最大持仓数量)
  21267. type: number
  21268. opentotalqty:
  21269. description: 开仓总数量
  21270. type: number
  21271. otherfrozenqty:
  21272. description: 持仓其他冻结数量(交割冻结)
  21273. type: number
  21274. positionpl:
  21275. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21276. * 合约单位
  21277. type: number
  21278. positionplrate:
  21279. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21280. type: number
  21281. positionqty:
  21282. description: 期初持仓数量
  21283. type: number
  21284. qtydecimalplace:
  21285. description: 成交量小数位
  21286. type: integer
  21287. refgoodscode:
  21288. description: 参考商品代码
  21289. type: string
  21290. refgoodsid:
  21291. description: 参考商品ID
  21292. type: integer
  21293. tnqty:
  21294. description: T+N冻结总量
  21295. type: number
  21296. tnusedqty:
  21297. description: T+N使用量(可以使用T+N的冻结数量)
  21298. type: number
  21299. trademode:
  21300. description: 交易模式
  21301. type: integer
  21302. tradeproperty:
  21303. description: 交易属性
  21304. type: integer
  21305. usedmargin:
  21306. description: 占用保证金[商品币种]
  21307. type: number
  21308. required:
  21309. - goodsid
  21310. type: object
  21311. pb.GoodsMarginCfgStruct:
  21312. properties:
  21313. CustomerTypeID:
  21314. description: 投资者客户类型
  21315. type: integer
  21316. GoodsID:
  21317. description: 商品ID
  21318. type: integer
  21319. IsDefault:
  21320. description: 是否默认标志位
  21321. type: integer
  21322. LockMarginValue:
  21323. description: 锁仓保证金
  21324. type: number
  21325. MarginAlgorithm:
  21326. description: 保证金计算方式
  21327. type: integer
  21328. MarketMarginValue:
  21329. description: 即市保证金值
  21330. type: number
  21331. RealMarginAlgorithm:
  21332. description: 实付保证金计算方式
  21333. type: integer
  21334. RealMarginValue:
  21335. description: 实付比例
  21336. type: number
  21337. ReckonMarginValue:
  21338. description: 结算保证金值
  21339. type: number
  21340. type: object
  21341. quote.HistoryData:
  21342. properties:
  21343. c:
  21344. description: 收盘价
  21345. type: number
  21346. f:
  21347. description: 是否补充数据
  21348. type: boolean
  21349. h:
  21350. description: 最高价
  21351. type: number
  21352. hv:
  21353. description: 持仓量
  21354. type: integer
  21355. l:
  21356. description: 最低价
  21357. type: number
  21358. o:
  21359. description: 开盘价
  21360. type: number
  21361. s:
  21362. description: 结算价,日线周期(包括)以上才有
  21363. type: number
  21364. ts:
  21365. description: 时间
  21366. type: string
  21367. tt:
  21368. description: 总金额
  21369. type: number
  21370. tv:
  21371. description: 总量(成交量)
  21372. type: integer
  21373. type: object
  21374. quote.HistoryTikData:
  21375. properties:
  21376. AV:
  21377. description: 卖量
  21378. type: integer
  21379. Ask:
  21380. description: 卖价
  21381. type: number
  21382. BV:
  21383. description: 买量
  21384. type: integer
  21385. Bid:
  21386. description: 买价
  21387. type: number
  21388. HI:
  21389. description: 单笔持仓
  21390. type: integer
  21391. HV:
  21392. description: 持仓量
  21393. type: integer
  21394. PE:
  21395. description: 现价
  21396. type: number
  21397. TDR:
  21398. description: 交易方向,0:买 1:卖
  21399. type: integer
  21400. TK:
  21401. description: 交易类型
  21402. type: integer
  21403. TS:
  21404. description: 行情时间文本
  21405. type: string
  21406. TT:
  21407. description: 现金额
  21408. type: number
  21409. Vol:
  21410. description: 现量
  21411. type: integer
  21412. type: object
  21413. quote.QueryQuoteDayRsp:
  21414. properties:
  21415. ask:
  21416. description: 卖1
  21417. type: number
  21418. ask2:
  21419. description: 卖2
  21420. type: number
  21421. ask3:
  21422. description: 卖3
  21423. type: number
  21424. ask4:
  21425. description: 卖4
  21426. type: number
  21427. ask5:
  21428. description: 卖5
  21429. type: number
  21430. ask6:
  21431. description: 卖6
  21432. type: number
  21433. ask7:
  21434. description: 卖7
  21435. type: number
  21436. ask8:
  21437. description: 卖8
  21438. type: number
  21439. ask9:
  21440. description: 卖9
  21441. type: number
  21442. ask10:
  21443. description: 卖10
  21444. type: number
  21445. askorderid:
  21446. description: 卖单号1
  21447. type: integer
  21448. askorderid2:
  21449. description: 卖单号2
  21450. type: integer
  21451. askorderid3:
  21452. description: 卖单号3
  21453. type: integer
  21454. askorderid4:
  21455. description: 卖单号4
  21456. type: integer
  21457. askorderid5:
  21458. description: 卖单号5
  21459. type: integer
  21460. askordervolume:
  21461. description: 卖单量1
  21462. type: integer
  21463. askordervolume2:
  21464. description: 卖单量2
  21465. type: integer
  21466. askordervolume3:
  21467. description: 卖单量3
  21468. type: integer
  21469. askordervolume4:
  21470. description: 卖单量4
  21471. type: integer
  21472. askordervolume5:
  21473. description: 卖单量5
  21474. type: integer
  21475. askordervolume6:
  21476. description: 卖单量6
  21477. type: integer
  21478. askordervolume7:
  21479. description: 卖单量7
  21480. type: integer
  21481. askordervolume8:
  21482. description: 卖单量8
  21483. type: integer
  21484. askordervolume9:
  21485. description: 卖单量9
  21486. type: integer
  21487. askordervolume10:
  21488. description: 卖单量10
  21489. type: integer
  21490. askqueueinfo:
  21491. description: 大利市卖港股用
  21492. type: string
  21493. askvolume:
  21494. description: 卖量1
  21495. type: integer
  21496. askvolume2:
  21497. description: 卖量2
  21498. type: integer
  21499. askvolume3:
  21500. description: 卖量3
  21501. type: integer
  21502. askvolume4:
  21503. description: 卖量4
  21504. type: integer
  21505. askvolume5:
  21506. description: 卖量5
  21507. type: integer
  21508. askvolume6:
  21509. description: 卖量6
  21510. type: integer
  21511. askvolume7:
  21512. description: 卖量7
  21513. type: integer
  21514. askvolume8:
  21515. description: 卖量8
  21516. type: integer
  21517. askvolume9:
  21518. description: 卖量9
  21519. type: integer
  21520. askvolume10:
  21521. description: 卖量10
  21522. type: integer
  21523. averageprice:
  21524. description: 均价
  21525. type: number
  21526. bid:
  21527. description: 买1
  21528. type: number
  21529. bid2:
  21530. description: 买2
  21531. type: number
  21532. bid3:
  21533. description: 买3
  21534. type: number
  21535. bid4:
  21536. description: 买4
  21537. type: number
  21538. bid5:
  21539. description: 买5
  21540. type: number
  21541. bid6:
  21542. description: 买6
  21543. type: number
  21544. bid7:
  21545. description: 买7
  21546. type: number
  21547. bid8:
  21548. description: 买8
  21549. type: number
  21550. bid9:
  21551. description: 买9
  21552. type: number
  21553. bid10:
  21554. description: 买10
  21555. type: number
  21556. bidorderid:
  21557. description: 买单号1
  21558. type: integer
  21559. bidorderid2:
  21560. description: 买单号2
  21561. type: integer
  21562. bidorderid3:
  21563. description: 买单号3
  21564. type: integer
  21565. bidorderid4:
  21566. description: 买单号4
  21567. type: integer
  21568. bidorderid5:
  21569. description: 买单号5
  21570. type: integer
  21571. bidordervolume:
  21572. description: 买单量1
  21573. type: integer
  21574. bidordervolume2:
  21575. description: 买单量2
  21576. type: integer
  21577. bidordervolume3:
  21578. description: 买单量3
  21579. type: integer
  21580. bidordervolume4:
  21581. description: 买单量4
  21582. type: integer
  21583. bidordervolume5:
  21584. description: 买单量5
  21585. type: integer
  21586. bidordervolume6:
  21587. description: 买单量6
  21588. type: integer
  21589. bidordervolume7:
  21590. description: 买单量7
  21591. type: integer
  21592. bidordervolume8:
  21593. description: 买单量8
  21594. type: integer
  21595. bidordervolume9:
  21596. description: 买单量9
  21597. type: integer
  21598. bidordervolume10:
  21599. description: 买单量10
  21600. type: integer
  21601. bidqueueinfo:
  21602. description: 大利市买港股用
  21603. type: string
  21604. bidvolume:
  21605. description: 买量1
  21606. type: integer
  21607. bidvolume2:
  21608. description: 买量2
  21609. type: integer
  21610. bidvolume3:
  21611. description: 买量3
  21612. type: integer
  21613. bidvolume4:
  21614. description: 买量4
  21615. type: integer
  21616. bidvolume5:
  21617. description: 买量5
  21618. type: integer
  21619. bidvolume6:
  21620. description: 买量6
  21621. type: integer
  21622. bidvolume7:
  21623. description: 买量7
  21624. type: integer
  21625. bidvolume8:
  21626. description: 买量8
  21627. type: integer
  21628. bidvolume9:
  21629. description: 买量9
  21630. type: integer
  21631. bidvolume10:
  21632. description: 买量10
  21633. type: integer
  21634. calloptionpremiums:
  21635. description: 认购期权1
  21636. type: integer
  21637. calloptionpremiums2:
  21638. description: 认购期权2
  21639. type: integer
  21640. calloptionpremiums3:
  21641. description: 认购期权3
  21642. type: integer
  21643. calloptionpremiums4:
  21644. description: 认购期权4
  21645. type: integer
  21646. calloptionpremiums5:
  21647. description: 认购期权5
  21648. type: integer
  21649. cleartime:
  21650. description: 清盘时间
  21651. type: integer
  21652. exchangecode:
  21653. description: 交易所代码
  21654. type: integer
  21655. exchangedate:
  21656. description: 交易日
  21657. type: integer
  21658. goodscode:
  21659. description: 商品代码
  21660. type: string
  21661. grepmarketprice:
  21662. description: 暗盘价 港股专用
  21663. type: number
  21664. highest:
  21665. description: 最高价
  21666. type: number
  21667. holdincrement:
  21668. description: 单笔持仓
  21669. type: integer
  21670. holdvolume:
  21671. description: 持仓
  21672. type: integer
  21673. iep:
  21674. description: 平衡价 港股专用
  21675. type: number
  21676. iev:
  21677. description: 平衡量 港股专用
  21678. type: number
  21679. inventory:
  21680. description: 库存
  21681. type: integer
  21682. iscleared:
  21683. description: 是否清盘标志
  21684. type: integer
  21685. issettled:
  21686. description: 是否结算标志
  21687. type: integer
  21688. last:
  21689. description: 最新价
  21690. type: number
  21691. lastlot:
  21692. description: 最新成交手数
  21693. type: integer
  21694. lasttime:
  21695. description: 行情时间(只有现价变化行情时间才变化)
  21696. type: string
  21697. lastturnover:
  21698. description: 最新成交金额
  21699. type: number
  21700. lastvolume:
  21701. description: 最新成交量
  21702. type: integer
  21703. limitdown:
  21704. description: 跌停价
  21705. type: number
  21706. limitup:
  21707. description: 涨停价
  21708. type: number
  21709. lowest:
  21710. description: 最低价
  21711. type: number
  21712. nontotalholdervolume:
  21713. description: 非交易持仓量
  21714. type: integer
  21715. nontotallot:
  21716. description: 非交易总手数
  21717. type: integer
  21718. nontotalturnover:
  21719. description: 非交易总金额
  21720. type: integer
  21721. nontotalvolume:
  21722. description: 非交易总量
  21723. type: integer
  21724. opened:
  21725. description: 开盘价
  21726. type: number
  21727. opentime:
  21728. description: 开盘时间
  21729. type: string
  21730. orderid:
  21731. description: 序号
  21732. type: integer
  21733. preclose:
  21734. description: 昨收
  21735. type: number
  21736. preholdvolume:
  21737. description: 昨持仓
  21738. type: integer
  21739. presettle:
  21740. description: 昨结价
  21741. type: number
  21742. publictradetype:
  21743. description: 公共交易标志类型 港股专用
  21744. type: string
  21745. putoptionpremiums:
  21746. description: 认沽期权1
  21747. type: integer
  21748. putoptionpremiums2:
  21749. description: 认沽期权2
  21750. type: integer
  21751. putoptionpremiums3:
  21752. description: 认沽期权3
  21753. type: integer
  21754. putoptionpremiums4:
  21755. description: 认沽期权4
  21756. type: integer
  21757. putoptionpremiums5:
  21758. description: 认沽期权5
  21759. type: integer
  21760. settle:
  21761. description: 结算价
  21762. type: number
  21763. strikeprice:
  21764. description: 发行价
  21765. type: number
  21766. totalaskvolume:
  21767. description: 内盘
  21768. type: integer
  21769. totalbidvolume:
  21770. description: 外盘
  21771. type: integer
  21772. totallot:
  21773. description: 总手数
  21774. type: integer
  21775. totalturnover:
  21776. description: 总金额
  21777. type: number
  21778. totalvolume:
  21779. description: 总量
  21780. type: integer
  21781. utclasttime:
  21782. description: utc的行情时间
  21783. type: string
  21784. type: object
  21785. quote.QueryTSDataRsp:
  21786. properties:
  21787. Count:
  21788. description: 交易日应有数据个数
  21789. type: integer
  21790. decimalPlace:
  21791. description: 小数位
  21792. type: integer
  21793. endTime:
  21794. description: 结束时间
  21795. type: string
  21796. goodsCode:
  21797. description: 商品代码
  21798. type: string
  21799. historyDatas:
  21800. description: 历史数据
  21801. items:
  21802. $ref: '#/definitions/quote.HistoryData'
  21803. type: array
  21804. outGoodsCode:
  21805. description: 外部商品代码
  21806. type: string
  21807. preSettle:
  21808. description: 昨结价
  21809. type: number
  21810. runSteps:
  21811. description: 交易日开休市计划
  21812. items:
  21813. $ref: '#/definitions/quote.TSDataRunStep'
  21814. type: array
  21815. startTime:
  21816. description: 开始时间
  21817. type: string
  21818. tradeDate:
  21819. description: 交易日
  21820. type: string
  21821. type: object
  21822. quote.TSDataRunStep:
  21823. properties:
  21824. end:
  21825. description: 真实结束时间
  21826. type: string
  21827. endflag:
  21828. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21829. type: integer
  21830. endtime:
  21831. description: 结束时间(HH:mm)
  21832. type: string
  21833. endweekday:
  21834. description: 结束周几
  21835. type: integer
  21836. groupid:
  21837. description: 分组ID
  21838. type: integer
  21839. runstep:
  21840. description: 运行阶段 - 2:连续交易
  21841. type: integer
  21842. sectionid:
  21843. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21844. 结束时间=结算时间 结束周几=结算周几
  21845. type: integer
  21846. start:
  21847. description: 真实开始时间
  21848. type: string
  21849. startflag:
  21850. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21851. type: integer
  21852. starttime:
  21853. description: 起始时间(HH:mm)
  21854. type: string
  21855. startweekday:
  21856. description: 起始周几
  21857. type: integer
  21858. tradeweekday:
  21859. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21860. type: integer
  21861. type: object
  21862. szdz.QueryConvertLogRsp:
  21863. properties:
  21864. accountid:
  21865. description: 资金账户ID
  21866. type: integer
  21867. clientticket:
  21868. description: 客户端流水号
  21869. type: string
  21870. converttype:
  21871. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21872. type: integer
  21873. createtime:
  21874. description: 记账时间
  21875. type: string
  21876. daymaxvalue:
  21877. description: 配置当日最大转入限制
  21878. type: number
  21879. daymaxvalue2:
  21880. description: 配置当日最大转入限制(转入)
  21881. type: number
  21882. goodscode:
  21883. description: 商品代码
  21884. type: string
  21885. goodsname:
  21886. description: 商品名称
  21887. type: string
  21888. handlestatus:
  21889. description: 处理状态
  21890. type: integer
  21891. innergoodsid:
  21892. description: 内部商品ID
  21893. type: integer
  21894. inratio:
  21895. description: 配置转入比值
  21896. type: integer
  21897. invalue:
  21898. description: 目标值
  21899. type: number
  21900. logid:
  21901. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21902. type: integer
  21903. mobile:
  21904. description: 手机号码(加密存储)
  21905. type: string
  21906. outergoodscode:
  21907. description: 外部商品代码[JD\PD]
  21908. type: string
  21909. outratio:
  21910. description: 配置转出比值
  21911. type: integer
  21912. outvalue:
  21913. description: 源值
  21914. type: number
  21915. pddecimalplace:
  21916. description: PD小数位
  21917. type: integer
  21918. qty:
  21919. description: 数量
  21920. type: string
  21921. remark:
  21922. description: 备注
  21923. type: string
  21924. sessionid:
  21925. description: 会话ID
  21926. type: integer
  21927. timemaxvalue:
  21928. description: 配置单次最大转入限制
  21929. type: number
  21930. timemaxvalue2:
  21931. description: 配置单次最大转入限制(转入)
  21932. type: number
  21933. timeminvalue:
  21934. description: 配置单次最小数量限制
  21935. type: number
  21936. timeminvalue2:
  21937. description: 配置单次最小数量限制(转入)
  21938. type: number
  21939. tradedate:
  21940. description: 交易日(yyyyMMdd)
  21941. type: string
  21942. userid:
  21943. description: 用户ID
  21944. type: integer
  21945. required:
  21946. - logid
  21947. type: object
  21948. szdz.QueryGoodsPickupRsp:
  21949. properties:
  21950. accountid:
  21951. description: 账户ID
  21952. type: integer
  21953. address:
  21954. description: 提货人详细地址
  21955. type: string
  21956. auditer:
  21957. description: 审核人
  21958. type: integer
  21959. audittime:
  21960. description: 审核时间
  21961. type: string
  21962. cardnum:
  21963. description: 提货人证件号码
  21964. type: string
  21965. cardtypeid:
  21966. description: 提货人证件类型
  21967. type: integer
  21968. checkremark:
  21969. description: 审核备注
  21970. type: string
  21971. goodscode:
  21972. description: 商品代码
  21973. type: string
  21974. goodsid:
  21975. description: 商品ID
  21976. type: integer
  21977. goodsname:
  21978. description: 商品名称
  21979. type: string
  21980. handlestatus:
  21981. description: 处理状态
  21982. type: integer
  21983. marketid:
  21984. description: 市场ID
  21985. type: integer
  21986. phonenum:
  21987. description: 提货人联系方式
  21988. type: string
  21989. qty:
  21990. description: 提货数量
  21991. type: number
  21992. recivername:
  21993. description: 提货人姓名
  21994. type: string
  21995. reqtime:
  21996. description: 更新时间
  21997. type: string
  21998. takemode:
  21999. description: 提货方式 - 2:自提 3:配送
  22000. type: integer
  22001. takeorderid:
  22002. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22003. type: string
  22004. takeorderstatus:
  22005. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22006. type: integer
  22007. takeremark:
  22008. description: 提货备注
  22009. type: string
  22010. tradedate:
  22011. description: 交易日(yyyyMMdd)
  22012. type: string
  22013. userid:
  22014. description: 用户ID
  22015. type: integer
  22016. required:
  22017. - takeorderid
  22018. type: object
  22019. szdz.QueryRecieptOrderRsp:
  22020. properties:
  22021. accountName:
  22022. description: 所属账号名称(已脱敏)
  22023. type: string
  22024. accountid:
  22025. description: 资金账号
  22026. type: integer
  22027. buyorsell:
  22028. description: 方向 - 0:买 1:卖
  22029. type: integer
  22030. enableqty:
  22031. description: 可摘数量
  22032. type: integer
  22033. goodscode:
  22034. description: 商品代码
  22035. type: string
  22036. goodsid:
  22037. description: 商品ID
  22038. type: integer
  22039. goodsname:
  22040. description: 商品名称
  22041. type: string
  22042. orderid:
  22043. description: 委托单号
  22044. type: string
  22045. orderprice:
  22046. description: 委托价格
  22047. type: number
  22048. ordertime:
  22049. description: 委托时间
  22050. type: string
  22051. tradedate:
  22052. description: 交易日(yyyyMMdd)
  22053. type: string
  22054. required:
  22055. - ordertime
  22056. type: object
  22057. szdz.QuerySZDZTradePositionRsp:
  22058. properties:
  22059. accountid:
  22060. description: 账号Id
  22061. type: integer
  22062. agreeunit:
  22063. description: 合约单位
  22064. type: number
  22065. averageprice:
  22066. description: 持仓均价
  22067. type: number
  22068. buyorsell:
  22069. description: 方向 - 0:买 1:卖
  22070. type: integer
  22071. closetotalqty:
  22072. description: 平仓总数量
  22073. type: integer
  22074. curholderamount:
  22075. description: 当前持仓总金额
  22076. type: number
  22077. curpositionqty:
  22078. description: 当前持仓总数量
  22079. type: integer
  22080. currencyid:
  22081. description: 报价货币ID
  22082. type: integer
  22083. curtdposition:
  22084. description: 期末今日头寸
  22085. type: integer
  22086. decimalplace:
  22087. description: 报价小数位
  22088. type: integer
  22089. enableqty:
  22090. description: 可用量
  22091. type: integer
  22092. fretdposition:
  22093. description: 冻结今日头寸
  22094. type: integer
  22095. frozenqty:
  22096. description: 持仓冻结数量
  22097. type: integer
  22098. goodscode:
  22099. description: 商品代码(内部)
  22100. type: string
  22101. goodsid:
  22102. description: 商品Id
  22103. type: integer
  22104. goodsname:
  22105. description: 商品名称
  22106. type: string
  22107. goodunit:
  22108. description: 报价单位
  22109. type: string
  22110. goodunitid:
  22111. description: 报价单位ID
  22112. type: integer
  22113. holderamount:
  22114. description: 期初持仓总金额
  22115. type: number
  22116. marketid:
  22117. description: 市场ID
  22118. type: integer
  22119. openreqqty:
  22120. description: 开仓申请数量
  22121. type: integer
  22122. opentotalqty:
  22123. description: 开仓总数量
  22124. type: integer
  22125. otherfrozenqty:
  22126. description: 持仓其他冻结数量(交割冻结)
  22127. type: integer
  22128. positionqty:
  22129. description: 期初持仓数量
  22130. type: integer
  22131. szdz3freezqty:
  22132. description: 尚志大宗转换冻结总数量
  22133. type: integer
  22134. tnqty:
  22135. description: T+N冻结总量
  22136. type: integer
  22137. tnusedqty:
  22138. description: T+N使用量
  22139. type: integer
  22140. trademode:
  22141. description: 交易模式
  22142. type: integer
  22143. usedmargin:
  22144. description: 占用保证金
  22145. type: number
  22146. type: object
  22147. taaccount.QueryAmountLogRsp:
  22148. properties:
  22149. OPERATETYPENAME:
  22150. description: 资金操作类型名称
  22151. type: string
  22152. accountid:
  22153. description: 资金账户ID
  22154. type: integer
  22155. agoodscode:
  22156. description: 竞拍商品代码
  22157. type: string
  22158. agoodsname:
  22159. description: 竞拍商品名称
  22160. type: string
  22161. amount:
  22162. description: 资金金额
  22163. type: number
  22164. amountadjusttype:
  22165. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22166. type: integer
  22167. autoid:
  22168. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22169. type: integer
  22170. balance:
  22171. description: 期初余额
  22172. type: number
  22173. businesscode:
  22174. description: 业务编号
  22175. type: integer
  22176. createtime:
  22177. description: 发生时间
  22178. type: string
  22179. currencyid:
  22180. description: 币种ID
  22181. type: integer
  22182. currentbalance:
  22183. description: 期末余额(变动后金额)
  22184. type: number
  22185. dgoodscode:
  22186. description: 交割商品代码
  22187. type: string
  22188. dgoodsname:
  22189. description: 交割商品名称
  22190. type: string
  22191. goodscode:
  22192. description: 商品代码
  22193. type: string
  22194. goodsid:
  22195. description: 商品ID
  22196. type: integer
  22197. goodsname:
  22198. description: 商品名称
  22199. type: string
  22200. marketid:
  22201. description: 市场ID
  22202. type: integer
  22203. marketname:
  22204. description: 市场名称
  22205. type: string
  22206. moneyticket:
  22207. description: 资金流水号:银行端流水号
  22208. type: integer
  22209. operatetype:
  22210. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22211. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22212. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22213. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22214. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22215. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22216. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22217. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22218. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22219. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22220. type: integer
  22221. relationorderid:
  22222. description: 关联单号
  22223. type: string
  22224. remark:
  22225. description: 备注
  22226. type: string
  22227. trademode:
  22228. description: 交易模式
  22229. type: integer
  22230. required:
  22231. - accountid
  22232. - amount
  22233. - amountadjusttype
  22234. - autoid
  22235. - balance
  22236. - createtime
  22237. - currentbalance
  22238. - operatetype
  22239. type: object
  22240. taaccount.QueryHisAmountLogRsp:
  22241. properties:
  22242. OPERATETYPENAME:
  22243. description: 资金操作类型名称
  22244. type: string
  22245. accountid:
  22246. description: 资金账户ID
  22247. type: integer
  22248. agoodscode:
  22249. description: 竞拍商品代码
  22250. type: string
  22251. agoodsname:
  22252. description: 竞拍商品名称
  22253. type: string
  22254. amount:
  22255. description: 资金金额
  22256. type: number
  22257. amountadjusttype:
  22258. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22259. type: integer
  22260. autoid:
  22261. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22262. type: integer
  22263. balance:
  22264. description: 期初余额
  22265. type: number
  22266. businesscode:
  22267. description: 业务编号
  22268. type: integer
  22269. createtime:
  22270. description: 发生时间
  22271. type: string
  22272. currencyid:
  22273. description: 币种ID
  22274. type: integer
  22275. currentbalance:
  22276. description: 期末余额(变动后金额)
  22277. type: number
  22278. dgoodscode:
  22279. description: 交割商品代码
  22280. type: string
  22281. dgoodsname:
  22282. description: 交割商品名称
  22283. type: string
  22284. goodscode:
  22285. description: 商品代码
  22286. type: string
  22287. goodsid:
  22288. description: 商品ID
  22289. type: integer
  22290. goodsname:
  22291. description: 商品名称
  22292. type: string
  22293. histradedate:
  22294. description: 历史交易日
  22295. type: string
  22296. isvaliddata:
  22297. description: 是否有效 - 0:无效 1:有效
  22298. type: integer
  22299. marketid:
  22300. description: 市场ID
  22301. type: integer
  22302. marketname:
  22303. description: 市场名称
  22304. type: string
  22305. moneyticket:
  22306. description: 资金流水号:银行端流水号
  22307. type: integer
  22308. operatetype:
  22309. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22310. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22311. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22312. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22313. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22314. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22315. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22316. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22317. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22318. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22319. type: integer
  22320. relationorderid:
  22321. description: 关联单号
  22322. type: string
  22323. remark:
  22324. description: 备注
  22325. type: string
  22326. trademode:
  22327. description: 交易模式
  22328. type: integer
  22329. required:
  22330. - accountid
  22331. - amount
  22332. - amountadjusttype
  22333. - autoid
  22334. - balance
  22335. - createtime
  22336. - currentbalance
  22337. - histradedate
  22338. - operatetype
  22339. type: object
  22340. trade.QueryRecieptOrderRsp:
  22341. properties:
  22342. accountName:
  22343. description: 所属账号名称(已脱敏)
  22344. type: string
  22345. accountid:
  22346. description: 资金账号
  22347. type: integer
  22348. buyorsell:
  22349. description: 方向 - 0:买 1:卖
  22350. type: integer
  22351. enableqty:
  22352. description: 可摘数量
  22353. type: integer
  22354. goodscode:
  22355. description: 商品代码
  22356. type: string
  22357. goodsid:
  22358. description: 商品ID
  22359. type: integer
  22360. goodsname:
  22361. description: 商品名称
  22362. type: string
  22363. orderid:
  22364. description: 委托单号
  22365. type: string
  22366. orderprice:
  22367. description: 委托价格
  22368. type: number
  22369. ordertime:
  22370. description: 委托时间
  22371. type: string
  22372. tradedate:
  22373. description: 交易日(yyyyMMdd)
  22374. type: string
  22375. required:
  22376. - ordertime
  22377. type: object
  22378. user.LoginQueryRsp:
  22379. properties:
  22380. areaRoles:
  22381. description: 所属角色信息
  22382. items:
  22383. $ref: '#/definitions/models.Arearole'
  22384. type: array
  22385. externalExchanges:
  22386. description: 外部交易所
  22387. items:
  22388. $ref: '#/definitions/models.Externalexchange'
  22389. type: array
  22390. goodsgroups:
  22391. description: 商品组
  22392. items:
  22393. $ref: '#/definitions/models.Goodsgroup'
  22394. type: array
  22395. loginAccount:
  22396. $ref: '#/definitions/models.Loginaccount'
  22397. description: 登录账号
  22398. markets:
  22399. description: 市场
  22400. items:
  22401. $ref: '#/definitions/models.Market'
  22402. type: array
  22403. systemParams:
  22404. description: 系统参数
  22405. items:
  22406. $ref: '#/definitions/models.Systemparam'
  22407. type: array
  22408. userAccount:
  22409. $ref: '#/definitions/models.Useraccount'
  22410. description: 用户账号
  22411. userInfo:
  22412. $ref: '#/definitions/models.Userinfo'
  22413. description: 用户信息
  22414. username:
  22415. description: 用户姓名
  22416. type: string
  22417. type: object
  22418. info:
  22419. contact: {}
  22420. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22421. termsOfService: http://www.muchinfo.cn
  22422. title: MTP2.0 查询服务 API
  22423. version: "1.0"
  22424. paths:
  22425. /CPTrade/QueryCPTradeMyBidInfos:
  22426. get:
  22427. parameters:
  22428. - description: 资金账户
  22429. in: query
  22430. name: accountid
  22431. required: true
  22432. type: integer
  22433. - description: 预售市场ID
  22434. in: query
  22435. name: marketid
  22436. type: integer
  22437. - description: 预售商品ID
  22438. in: query
  22439. name: goodsid
  22440. type: integer
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22448. "500":
  22449. description: Internal Server Error
  22450. schema:
  22451. $ref: '#/definitions/app.Response'
  22452. security:
  22453. - ApiKeyAuth: []
  22454. summary: 查询产能预售我的出价信息
  22455. tags:
  22456. - 产能预售
  22457. /CPTrade/QueryCPTradeOrderDetail:
  22458. get:
  22459. parameters:
  22460. - description: 预售商品ID
  22461. in: query
  22462. name: goodsid
  22463. type: integer
  22464. - description: 预售市场ID
  22465. in: query
  22466. name: marketid
  22467. type: integer
  22468. - description: 预售商品ID列表 - 格式:1,2,3
  22469. in: query
  22470. name: goodsids
  22471. type: string
  22472. produces:
  22473. - application/json
  22474. responses:
  22475. "200":
  22476. description: OK
  22477. schema:
  22478. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22479. "500":
  22480. description: Internal Server Error
  22481. schema:
  22482. $ref: '#/definitions/app.Response'
  22483. security:
  22484. - ApiKeyAuth: []
  22485. summary: 查询产能预售委托单信息
  22486. tags:
  22487. - 产能预售
  22488. /CPTrade/QueryMyCPTradeGoods:
  22489. get:
  22490. parameters:
  22491. - description: 资金账户
  22492. in: query
  22493. name: accountid
  22494. required: true
  22495. type: integer
  22496. produces:
  22497. - application/json
  22498. responses:
  22499. "200":
  22500. description: OK
  22501. schema:
  22502. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22503. "500":
  22504. description: Internal Server Error
  22505. schema:
  22506. $ref: '#/definitions/app.Response'
  22507. security:
  22508. - ApiKeyAuth: []
  22509. summary: 查询我的预售信息
  22510. tags:
  22511. - 产能预售
  22512. /CPTrade/QueryPositionCancel:
  22513. get:
  22514. parameters:
  22515. - description: 账户ID
  22516. in: query
  22517. name: userid
  22518. required: true
  22519. type: integer
  22520. - description: 注销ID
  22521. in: query
  22522. name: cancelid
  22523. type: integer
  22524. - description: 资金账户ID
  22525. in: query
  22526. name: accountid
  22527. type: integer
  22528. produces:
  22529. - application/json
  22530. responses:
  22531. "200":
  22532. description: OK
  22533. schema:
  22534. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22535. "500":
  22536. description: Internal Server Error
  22537. schema:
  22538. $ref: '#/definitions/app.Response'
  22539. security:
  22540. - ApiKeyAuth: []
  22541. summary: 查询远期订单注销申请信息
  22542. tags:
  22543. - 产能预售
  22544. /CPTrade/QueryPreasleApply:
  22545. get:
  22546. parameters:
  22547. - description: 账户ID
  22548. in: query
  22549. name: userid
  22550. required: true
  22551. type: integer
  22552. - description: 申请ID
  22553. in: query
  22554. name: applyid
  22555. type: integer
  22556. - description: 资金账户ID
  22557. in: query
  22558. name: accountid
  22559. type: integer
  22560. produces:
  22561. - application/json
  22562. responses:
  22563. "200":
  22564. description: OK
  22565. schema:
  22566. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22567. "500":
  22568. description: Internal Server Error
  22569. schema:
  22570. $ref: '#/definitions/app.Response'
  22571. security:
  22572. - ApiKeyAuth: []
  22573. summary: 查询产能预售申请信息
  22574. tags:
  22575. - 产能预售
  22576. /CPTrade/QueryPresaleGoodsEx:
  22577. get:
  22578. parameters:
  22579. - description: 预售商品ID
  22580. in: query
  22581. name: goodsid
  22582. type: integer
  22583. - description: 预售市场ID
  22584. in: query
  22585. name: marketid
  22586. type: integer
  22587. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22588. in: query
  22589. name: presalemode
  22590. type: integer
  22591. - description: 预售商品ID列表 - 格式:1,2,3
  22592. in: query
  22593. name: goodsids
  22594. type: string
  22595. - description: 预售商品代码
  22596. in: query
  22597. name: goodscode
  22598. type: string
  22599. produces:
  22600. - application/json
  22601. responses:
  22602. "200":
  22603. description: OK
  22604. schema:
  22605. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22606. "500":
  22607. description: Internal Server Error
  22608. schema:
  22609. $ref: '#/definitions/app.Response'
  22610. security:
  22611. - ApiKeyAuth: []
  22612. summary: 查询产能预售商品扩展信息
  22613. tags:
  22614. - 产能预售
  22615. /CPTrade/QueryUserGoodsData:
  22616. get:
  22617. parameters:
  22618. - description: 资金账户ID
  22619. in: query
  22620. name: accountid
  22621. required: true
  22622. type: integer
  22623. produces:
  22624. - application/json
  22625. responses:
  22626. "200":
  22627. description: OK
  22628. schema:
  22629. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22630. "500":
  22631. description: Internal Server Error
  22632. schema:
  22633. $ref: '#/definitions/app.Response'
  22634. security:
  22635. - ApiKeyAuth: []
  22636. summary: 查询远期订单信息
  22637. tags:
  22638. - 产能预售
  22639. /Common/DeleteNewFuncmenu:
  22640. delete:
  22641. consumes:
  22642. - application/json
  22643. parameters:
  22644. - description: 菜单表数据,只需要resourcecode字段即可
  22645. in: body
  22646. name: data
  22647. required: true
  22648. schema:
  22649. $ref: '#/definitions/models.NewFuncmenulist'
  22650. produces:
  22651. - application/json
  22652. responses:
  22653. "200":
  22654. description: OK
  22655. schema:
  22656. $ref: '#/definitions/app.Response'
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 删除菜单表数据
  22664. tags:
  22665. - 通用服务
  22666. /Common/FindNewFuncmenu:
  22667. get:
  22668. parameters:
  22669. - description: 资源代码
  22670. in: query
  22671. name: resourcecode
  22672. type: string
  22673. - description: 上级资源代码
  22674. in: query
  22675. name: parentcode
  22676. type: string
  22677. - description: 资源名(Title), 模糊查询
  22678. in: query
  22679. name: resourcename
  22680. type: string
  22681. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22682. in: query
  22683. name: menutype
  22684. type: string
  22685. produces:
  22686. - application/json
  22687. responses:
  22688. "200":
  22689. description: OK
  22690. schema:
  22691. items:
  22692. $ref: '#/definitions/models.NewFuncmenulist'
  22693. type: array
  22694. "500":
  22695. description: Internal Server Error
  22696. schema:
  22697. $ref: '#/definitions/app.Response'
  22698. security:
  22699. - ApiKeyAuth: []
  22700. summary: 获取菜单表数据
  22701. tags:
  22702. - 通用服务
  22703. /Common/GetAllEnums:
  22704. get:
  22705. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22706. parameters:
  22707. - description: 起始自增ID
  22708. in: query
  22709. name: autoid
  22710. type: integer
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. $ref: '#/definitions/models.Enumdicitem'
  22718. "500":
  22719. description: Internal Server Error
  22720. schema:
  22721. $ref: '#/definitions/app.Response'
  22722. summary: 获取所有枚举信息
  22723. tags:
  22724. - 通用服务
  22725. /Common/GetClientMenus:
  22726. get:
  22727. parameters:
  22728. - description: 登录账号
  22729. in: query
  22730. name: loginID
  22731. required: true
  22732. type: integer
  22733. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22734. in: query
  22735. name: clientType
  22736. type: integer
  22737. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22738. in: query
  22739. name: name
  22740. type: string
  22741. produces:
  22742. - application/json
  22743. responses:
  22744. "200":
  22745. description: OK
  22746. schema:
  22747. items:
  22748. $ref: '#/definitions/common.ClientMenu'
  22749. type: array
  22750. "500":
  22751. description: Internal Server Error
  22752. schema:
  22753. $ref: '#/definitions/app.Response'
  22754. security:
  22755. - ApiKeyAuth: []
  22756. summary: 获取交易端菜单
  22757. tags:
  22758. - 通用服务
  22759. /Common/GetClientNewFuncmenu:
  22760. get:
  22761. parameters:
  22762. - description: 登录账号
  22763. in: query
  22764. name: loginid
  22765. required: true
  22766. type: integer
  22767. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22768. in: query
  22769. name: menutype
  22770. required: true
  22771. type: integer
  22772. produces:
  22773. - application/json
  22774. responses:
  22775. "200":
  22776. description: OK
  22777. schema:
  22778. items:
  22779. $ref: '#/definitions/models.NewFuncmenulist'
  22780. type: array
  22781. "500":
  22782. description: Internal Server Error
  22783. schema:
  22784. $ref: '#/definitions/app.Response'
  22785. security:
  22786. - ApiKeyAuth: []
  22787. summary: 获取终端菜单
  22788. tags:
  22789. - 通用服务
  22790. /Common/GetDivisions:
  22791. get:
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/models.Division'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. summary: 查询区域信息
  22804. tags:
  22805. - 通用服务
  22806. /Common/GetPCWebMenus:
  22807. get:
  22808. parameters:
  22809. - description: 登录账号
  22810. in: query
  22811. name: loginID
  22812. required: true
  22813. type: integer
  22814. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22815. in: query
  22816. name: name
  22817. type: string
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. items:
  22825. $ref: '#/definitions/common.PCWebMenu'
  22826. type: array
  22827. "500":
  22828. description: Internal Server Error
  22829. schema:
  22830. $ref: '#/definitions/app.Response'
  22831. security:
  22832. - ApiKeyAuth: []
  22833. summary: 获取PCWeb交易端菜单
  22834. tags:
  22835. - 通用服务
  22836. /Common/GetServerTime:
  22837. get:
  22838. produces:
  22839. - application/json
  22840. responses:
  22841. "200":
  22842. description: OK
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. "500":
  22846. description: Internal Server Error
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. summary: 获取服务器时间
  22850. tags:
  22851. - 通用服务
  22852. /Common/InsertNewFuncmenu:
  22853. post:
  22854. consumes:
  22855. - application/json
  22856. parameters:
  22857. - description: 菜单表数据
  22858. in: body
  22859. name: data
  22860. required: true
  22861. schema:
  22862. $ref: '#/definitions/models.NewFuncmenulist'
  22863. produces:
  22864. - application/json
  22865. responses:
  22866. "200":
  22867. description: OK
  22868. schema:
  22869. $ref: '#/definitions/app.Response'
  22870. "500":
  22871. description: Internal Server Error
  22872. schema:
  22873. $ref: '#/definitions/app.Response'
  22874. security:
  22875. - ApiKeyAuth: []
  22876. summary: 插入菜单表数据
  22877. tags:
  22878. - 通用服务
  22879. /Common/NoticeReaded:
  22880. post:
  22881. parameters:
  22882. - description: 登录账号
  22883. in: query
  22884. name: loginID
  22885. required: true
  22886. type: integer
  22887. - description: 通知公告ID
  22888. in: query
  22889. name: noticeID
  22890. required: true
  22891. type: integer
  22892. produces:
  22893. - application/json
  22894. responses:
  22895. "200":
  22896. description: OK
  22897. schema:
  22898. $ref: '#/definitions/app.Response'
  22899. "500":
  22900. description: Internal Server Error
  22901. schema:
  22902. $ref: '#/definitions/app.Response'
  22903. security:
  22904. - ApiKeyAuth: []
  22905. summary: 通知公告设置已读请求
  22906. tags:
  22907. - 通用服务
  22908. /Common/QueryErrorInfos:
  22909. get:
  22910. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22911. parameters:
  22912. - description: 起始行号前索引
  22913. in: query
  22914. name: rowNumber
  22915. type: string
  22916. produces:
  22917. - application/json
  22918. responses:
  22919. "200":
  22920. description: OK
  22921. schema:
  22922. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22923. "500":
  22924. description: Internal Server Error
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. summary: 获取数据库错误信息
  22928. tags:
  22929. - 通用服务
  22930. /Common/QueryImageConfigs:
  22931. get:
  22932. parameters:
  22933. - description: 用户id
  22934. in: query
  22935. name: userId
  22936. type: integer
  22937. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22938. in: query
  22939. name: imageType
  22940. type: integer
  22941. produces:
  22942. - application/json
  22943. responses:
  22944. "200":
  22945. description: OK
  22946. schema:
  22947. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22948. "500":
  22949. description: Internal Server Error
  22950. schema:
  22951. $ref: '#/definitions/app.Response'
  22952. summary: 查询轮播图配置信息
  22953. tags:
  22954. - 通用服务
  22955. /Common/QueryNotice:
  22956. get:
  22957. parameters:
  22958. - description: 页码
  22959. in: query
  22960. name: page
  22961. type: integer
  22962. - description: 每页条数
  22963. in: query
  22964. name: pagesize
  22965. type: integer
  22966. - description: 登录账号
  22967. in: query
  22968. name: loginID
  22969. required: true
  22970. type: integer
  22971. - description: 消息类型 - 1:公告通知 2:系统消息
  22972. in: query
  22973. name: msgType
  22974. type: integer
  22975. - description: 是否只获取未读信息
  22976. in: query
  22977. name: onlyUnRead
  22978. type: boolean
  22979. - description: 自增ID,传入后会返回这个ID后面的记录
  22980. in: query
  22981. name: lastID
  22982. type: integer
  22983. produces:
  22984. - application/json
  22985. responses:
  22986. "200":
  22987. description: OK
  22988. schema:
  22989. $ref: '#/definitions/common.QueryNoticeRsp'
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 通知公告系统消息查询
  22997. tags:
  22998. - 通用服务
  22999. /Common/QueryProvincesAndCities:
  23000. get:
  23001. parameters:
  23002. - description: 省ID
  23003. in: query
  23004. name: provinceID
  23005. type: integer
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23013. "500":
  23014. description: Internal Server Error
  23015. schema:
  23016. $ref: '#/definitions/app.Response'
  23017. summary: 查询省市信息(不包括区)
  23018. tags:
  23019. - 通用服务
  23020. /Common/QueryRates:
  23021. get:
  23022. parameters:
  23023. - description: 页码
  23024. in: query
  23025. name: page
  23026. type: integer
  23027. - description: 每页条数
  23028. in: query
  23029. name: pagesize
  23030. type: integer
  23031. - description: 源币种ID
  23032. in: query
  23033. name: oricurrencyid
  23034. type: integer
  23035. - description: 目标币种ID
  23036. in: query
  23037. name: descurrencyid
  23038. type: integer
  23039. produces:
  23040. - application/json
  23041. responses:
  23042. "200":
  23043. description: OK
  23044. schema:
  23045. items:
  23046. $ref: '#/definitions/models.Exchangerateconfig'
  23047. type: array
  23048. "500":
  23049. description: Internal Server Error
  23050. schema:
  23051. $ref: '#/definitions/app.Response'
  23052. security:
  23053. - ApiKeyAuth: []
  23054. - LoginID: []
  23055. - Group: []
  23056. summary: 查询汇率信息
  23057. tags:
  23058. - 通用服务
  23059. /Common/QueryTableDefine:
  23060. get:
  23061. parameters:
  23062. - description: 表key
  23063. in: query
  23064. name: tableKey
  23065. type: string
  23066. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23067. in: query
  23068. name: tableType
  23069. type: integer
  23070. produces:
  23071. - application/json
  23072. responses:
  23073. "200":
  23074. description: OK
  23075. schema:
  23076. $ref: '#/definitions/common.QueryTableDefineRsp'
  23077. "500":
  23078. description: Internal Server Error
  23079. schema:
  23080. $ref: '#/definitions/app.Response'
  23081. summary: 查询交易端列表头信息
  23082. tags:
  23083. - 通用服务
  23084. /Common/QueryTraderMenu:
  23085. get:
  23086. parameters:
  23087. - description: 登录账号
  23088. in: query
  23089. name: loginid
  23090. required: true
  23091. type: integer
  23092. produces:
  23093. - application/json
  23094. responses:
  23095. "200":
  23096. description: OK
  23097. schema:
  23098. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23099. "500":
  23100. description: Internal Server Error
  23101. schema:
  23102. $ref: '#/definitions/app.Response'
  23103. summary: 查询交易端菜单
  23104. tags:
  23105. - 通用服务
  23106. /Common/UpdateNewFuncmenu:
  23107. put:
  23108. consumes:
  23109. - application/json
  23110. parameters:
  23111. - description: 菜单表数据
  23112. in: body
  23113. name: data
  23114. required: true
  23115. schema:
  23116. $ref: '#/definitions/models.NewFuncmenulist'
  23117. produces:
  23118. - application/json
  23119. responses:
  23120. "200":
  23121. description: OK
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. "500":
  23125. description: Internal Server Error
  23126. schema:
  23127. $ref: '#/definitions/app.Response'
  23128. security:
  23129. - ApiKeyAuth: []
  23130. summary: 更新菜单表数据
  23131. tags:
  23132. - 通用服务
  23133. /Delivery/QueryDeliveryRelation:
  23134. get:
  23135. parameters:
  23136. - description: 商品ID
  23137. in: query
  23138. name: goodsid
  23139. type: integer
  23140. - description: 品种ID
  23141. in: query
  23142. name: deliverygoodsid
  23143. type: integer
  23144. - description: 市场ID
  23145. in: query
  23146. name: marketid
  23147. type: integer
  23148. produces:
  23149. - application/json
  23150. responses:
  23151. "200":
  23152. description: OK
  23153. schema:
  23154. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23155. "500":
  23156. description: Internal Server Error
  23157. schema:
  23158. $ref: '#/definitions/app.Response'
  23159. security:
  23160. - ApiKeyAuth: []
  23161. summary: 查询商品交割关系表
  23162. tags:
  23163. - 交割服务
  23164. /Ermcp/GetErmcpGoods:
  23165. get:
  23166. parameters:
  23167. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23168. in: query
  23169. name: userid
  23170. type: integer
  23171. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23172. in: query
  23173. name: lastUpdateTime
  23174. type: string
  23175. produces:
  23176. - application/json
  23177. responses:
  23178. "200":
  23179. description: OK
  23180. schema:
  23181. $ref: '#/definitions/models.ErmcpGoods'
  23182. "500":
  23183. description: Internal Server Error
  23184. schema:
  23185. $ref: '#/definitions/app.Response'
  23186. security:
  23187. - ApiKeyAuth: []
  23188. summary: 查询企业风管期货商品信息
  23189. tags:
  23190. - 企业风险管理(app)
  23191. /Ermcp/GetErmcpGoodsSortByPosition:
  23192. get:
  23193. parameters:
  23194. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23195. in: query
  23196. name: sortIndex
  23197. type: string
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. $ref: '#/definitions/models.Goodssortbypreposition'
  23205. "500":
  23206. description: Internal Server Error
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. security:
  23210. - ApiKeyAuth: []
  23211. summary: 查询企业风管期货主力、次主力商品信息
  23212. tags:
  23213. - 企业风险管理(app)
  23214. /Ermcp/GetErmcpOutAccountStatus:
  23215. get:
  23216. parameters:
  23217. - description: 登录账号
  23218. in: query
  23219. name: loginID
  23220. required: true
  23221. type: integer
  23222. produces:
  23223. - application/json
  23224. responses:
  23225. "200":
  23226. description: OK
  23227. schema:
  23228. $ref: '#/definitions/models.Hedgemarketopenlog'
  23229. "500":
  23230. description: Internal Server Error
  23231. schema:
  23232. $ref: '#/definitions/app.Response'
  23233. security:
  23234. - ApiKeyAuth: []
  23235. summary: 获取目标登录账号当前对冲账号在线状态
  23236. tags:
  23237. - 企业风险管理(app)
  23238. /Ermcp/GetErmcpRoleFuncMenuLists:
  23239. get:
  23240. parameters:
  23241. - description: 登录账号
  23242. in: query
  23243. name: loginID
  23244. required: true
  23245. type: integer
  23246. produces:
  23247. - application/json
  23248. responses:
  23249. "200":
  23250. description: OK
  23251. schema:
  23252. $ref: '#/definitions/models.Funcmenulist'
  23253. "500":
  23254. description: Internal Server Error
  23255. schema:
  23256. $ref: '#/definitions/app.Response'
  23257. security:
  23258. - ApiKeyAuth: []
  23259. summary: 获取企业风管终端权限
  23260. tags:
  23261. - 企业风险管理(app)
  23262. /Ermcp/QueryAccMgrBizGroupSet:
  23263. get:
  23264. parameters:
  23265. - description: 用户ID
  23266. in: query
  23267. name: userid
  23268. required: true
  23269. type: integer
  23270. - description: 现货商品id
  23271. in: query
  23272. name: deliverygoodsid
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. items:
  23281. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23282. type: array
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询业务类型分组(账户管理/账户设置)
  23290. tags:
  23291. - 企业风险管理(app)
  23292. /Ermcp/QueryAccMgrLoginUser:
  23293. get:
  23294. parameters:
  23295. - description: 用户ID
  23296. in: query
  23297. name: userid
  23298. required: true
  23299. type: integer
  23300. - description: 用户类型 2-机构 7-企业成员
  23301. in: query
  23302. name: usertype
  23303. type: integer
  23304. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23305. in: query
  23306. name: querytype
  23307. required: true
  23308. type: integer
  23309. produces:
  23310. - application/json
  23311. responses:
  23312. "200":
  23313. description: OK
  23314. schema:
  23315. items:
  23316. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23317. type: array
  23318. "500":
  23319. description: Internal Server Error
  23320. schema:
  23321. $ref: '#/definitions/app.Response'
  23322. security:
  23323. - ApiKeyAuth: []
  23324. summary: 查询账户管理登录账号(账户管理/登录账号)
  23325. tags:
  23326. - 企业风险管理(app)
  23327. /Ermcp/QueryAccMgrMainAccountInfo:
  23328. get:
  23329. parameters:
  23330. - description: 用户ID
  23331. in: query
  23332. name: userid
  23333. type: integer
  23334. - description: 主账号id
  23335. in: query
  23336. name: accountid
  23337. type: integer
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. items:
  23345. $ref: '#/definitions/models.MainAccountInfo'
  23346. type: array
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23354. tags:
  23355. - 企业风险管理(app)
  23356. /Ermcp/QueryAccMgrRole:
  23357. get:
  23358. parameters:
  23359. - description: 用户ID
  23360. in: query
  23361. name: userid
  23362. required: true
  23363. type: integer
  23364. produces:
  23365. - application/json
  23366. responses:
  23367. "200":
  23368. description: OK
  23369. schema:
  23370. items:
  23371. $ref: '#/definitions/models.ErmcpRole'
  23372. type: array
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 查询账户管理角色设置(账户管理/角色设置)
  23380. tags:
  23381. - 企业风险管理(app)
  23382. /Ermcp/QueryAccMgrRoleMenu:
  23383. get:
  23384. parameters:
  23385. - description: 用户ID
  23386. in: query
  23387. name: userid
  23388. required: true
  23389. type: integer
  23390. - description: 角色id(可多个,逗号隔开)
  23391. in: query
  23392. name: roleid
  23393. type: string
  23394. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23395. in: query
  23396. name: menutype
  23397. type: integer
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. items:
  23405. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23406. type: array
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23414. tags:
  23415. - 企业风险管理(app)
  23416. /Ermcp/QueryAccMgrTaAccountInfo:
  23417. get:
  23418. parameters:
  23419. - description: 用户ID
  23420. in: query
  23421. name: userid
  23422. required: true
  23423. type: integer
  23424. - description: 账号id
  23425. in: query
  23426. name: accountid
  23427. type: integer
  23428. produces:
  23429. - application/json
  23430. responses:
  23431. "200":
  23432. description: OK
  23433. schema:
  23434. items:
  23435. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23436. type: array
  23437. "500":
  23438. description: Internal Server Error
  23439. schema:
  23440. $ref: '#/definitions/app.Response'
  23441. security:
  23442. - ApiKeyAuth: []
  23443. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23444. tags:
  23445. - 企业风险管理(app)
  23446. /Ermcp/QueryAccMgrTaaccount:
  23447. get:
  23448. parameters:
  23449. - description: 用户ID
  23450. in: query
  23451. name: userid
  23452. required: true
  23453. type: integer
  23454. produces:
  23455. - application/json
  23456. responses:
  23457. "200":
  23458. description: OK
  23459. schema:
  23460. items:
  23461. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23462. type: array
  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/QueryAvaildGoodsGroup:
  23473. get:
  23474. parameters:
  23475. - description: 所属机构ID
  23476. in: query
  23477. name: userid
  23478. required: true
  23479. type: integer
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23488. type: array
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23496. tags:
  23497. - 企业风险管理(app)
  23498. /Ermcp/QueryBusinessDj:
  23499. get:
  23500. parameters:
  23501. - description: 用户ID
  23502. in: query
  23503. name: UserId
  23504. required: true
  23505. type: integer
  23506. - description: 用户类型 2-机构 7-企业成员
  23507. in: query
  23508. name: usertype
  23509. type: integer
  23510. - description: 现货合同ID, 不填则查所有
  23511. in: query
  23512. name: relatedid
  23513. type: string
  23514. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23515. in: query
  23516. name: applystatus
  23517. type: string
  23518. produces:
  23519. - application/json
  23520. responses:
  23521. "200":
  23522. description: OK
  23523. schema:
  23524. items:
  23525. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23526. type: array
  23527. "500":
  23528. description: Internal Server Error
  23529. schema:
  23530. $ref: '#/definitions/app.Response'
  23531. security:
  23532. - ApiKeyAuth: []
  23533. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23534. tags:
  23535. - 企业风险管理(app)
  23536. /Ermcp/QueryBusinessFp:
  23537. get:
  23538. parameters:
  23539. - description: 用户ID
  23540. in: query
  23541. name: UserId
  23542. required: true
  23543. type: integer
  23544. - description: 用户类型 2-机构 7-企业成员
  23545. in: query
  23546. name: usertype
  23547. type: integer
  23548. - description: 现货合同ID, 不填则查所有
  23549. in: query
  23550. name: relatedid
  23551. type: string
  23552. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23553. in: query
  23554. name: applystatus
  23555. type: string
  23556. produces:
  23557. - application/json
  23558. responses:
  23559. "200":
  23560. description: OK
  23561. schema:
  23562. items:
  23563. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23564. type: array
  23565. "500":
  23566. description: Internal Server Error
  23567. schema:
  23568. $ref: '#/definitions/app.Response'
  23569. security:
  23570. - ApiKeyAuth: []
  23571. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23572. tags:
  23573. - 企业风险管理(app)
  23574. /Ermcp/QueryBusinessJs:
  23575. get:
  23576. parameters:
  23577. - description: 用户ID
  23578. in: query
  23579. name: UserId
  23580. required: true
  23581. type: integer
  23582. - description: 用户类型 2-机构 7-企业成员
  23583. in: query
  23584. name: usertype
  23585. type: integer
  23586. - description: 现货合同ID, 不填则查所有
  23587. in: query
  23588. name: relatedid
  23589. type: string
  23590. - description: 操作申请id
  23591. in: query
  23592. name: operateapplyid
  23593. type: string
  23594. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23595. in: query
  23596. name: applystatus
  23597. type: string
  23598. produces:
  23599. - application/json
  23600. responses:
  23601. "200":
  23602. description: OK
  23603. schema:
  23604. items:
  23605. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23606. type: array
  23607. "500":
  23608. description: Internal Server Error
  23609. schema:
  23610. $ref: '#/definitions/app.Response'
  23611. security:
  23612. - ApiKeyAuth: []
  23613. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23614. tags:
  23615. - 企业风险管理(app)
  23616. /Ermcp/QueryBusinessJsEx:
  23617. get:
  23618. parameters:
  23619. - description: 用户ID
  23620. in: query
  23621. name: UserId
  23622. required: true
  23623. type: integer
  23624. - description: 用户类型 2-机构 7-企业成员
  23625. in: query
  23626. name: usertype
  23627. type: integer
  23628. - description: 现货合同ID, 不填则查所有
  23629. in: query
  23630. name: relatedid
  23631. type: string
  23632. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23633. in: query
  23634. name: applystatus
  23635. type: string
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. items:
  23643. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23644. type: array
  23645. "500":
  23646. description: Internal Server Error
  23647. schema:
  23648. $ref: '#/definitions/app.Response'
  23649. security:
  23650. - ApiKeyAuth: []
  23651. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23652. tags:
  23653. - 企业风险管理(app)
  23654. /Ermcp/QueryBusinessKx:
  23655. get:
  23656. parameters:
  23657. - description: 用户ID
  23658. in: query
  23659. name: UserId
  23660. required: true
  23661. type: integer
  23662. - description: 用户类型 2-机构 7-企业成员
  23663. in: query
  23664. name: usertype
  23665. type: integer
  23666. - description: 现货合同ID, 不填则查所有
  23667. in: query
  23668. name: relatedid
  23669. type: string
  23670. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23671. in: query
  23672. name: applystatus
  23673. type: string
  23674. produces:
  23675. - application/json
  23676. responses:
  23677. "200":
  23678. description: OK
  23679. schema:
  23680. items:
  23681. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23682. type: array
  23683. "500":
  23684. description: Internal Server Error
  23685. schema:
  23686. $ref: '#/definitions/app.Response'
  23687. security:
  23688. - ApiKeyAuth: []
  23689. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23690. tags:
  23691. - 企业风险管理(app)
  23692. /Ermcp/QueryChangeLog:
  23693. get:
  23694. parameters:
  23695. - description: 合同ID
  23696. in: query
  23697. name: RelatedId
  23698. required: true
  23699. type: string
  23700. produces:
  23701. - application/json
  23702. responses:
  23703. "200":
  23704. description: OK
  23705. schema:
  23706. items:
  23707. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23708. type: array
  23709. "500":
  23710. description: Internal Server Error
  23711. schema:
  23712. $ref: '#/definitions/app.Response'
  23713. security:
  23714. - ApiKeyAuth: []
  23715. summary: 查询变更记录
  23716. tags:
  23717. - 企业风险管理(app)
  23718. /Ermcp/QueryErmcpHisOrderDetails:
  23719. get:
  23720. parameters:
  23721. - description: 资金账户ID
  23722. in: query
  23723. name: accountID
  23724. required: true
  23725. type: integer
  23726. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23727. in: query
  23728. name: startDate
  23729. type: string
  23730. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23731. in: query
  23732. name: endDate
  23733. type: string
  23734. produces:
  23735. - application/json
  23736. responses:
  23737. "200":
  23738. description: OK
  23739. schema:
  23740. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 获取企业风管期货历史委托单信息
  23748. tags:
  23749. - 企业风险管理(app)
  23750. /Ermcp/QueryErmcpHisTradeDetails:
  23751. get:
  23752. parameters:
  23753. - description: 资金账户ID
  23754. in: query
  23755. name: accountID
  23756. required: true
  23757. type: integer
  23758. - description: 商品ID
  23759. in: query
  23760. name: goodsID
  23761. type: integer
  23762. - description: 买卖方向,0:买 1:卖
  23763. in: query
  23764. name: buyOrSell
  23765. type: integer
  23766. - description: 关联委托单号
  23767. in: query
  23768. name: orderID
  23769. type: integer
  23770. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23771. in: query
  23772. name: startDate
  23773. type: string
  23774. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23775. in: query
  23776. name: endDate
  23777. type: string
  23778. produces:
  23779. - application/json
  23780. responses:
  23781. "200":
  23782. description: OK
  23783. schema:
  23784. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 获取企业风管期货历史成交单信息
  23792. tags:
  23793. - 企业风险管理(app)
  23794. /Ermcp/QueryErmcpInnerHolderDetails:
  23795. get:
  23796. parameters:
  23797. - description: 资金账户ID
  23798. in: query
  23799. name: accountID
  23800. required: true
  23801. type: integer
  23802. - description: 商品ID
  23803. in: query
  23804. name: goodsID
  23805. type: integer
  23806. - description: 买卖方向,0:买 1:卖
  23807. in: query
  23808. name: buyOrSell
  23809. type: integer
  23810. produces:
  23811. - application/json
  23812. responses:
  23813. "200":
  23814. description: OK
  23815. schema:
  23816. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23817. "500":
  23818. description: Internal Server Error
  23819. schema:
  23820. $ref: '#/definitions/app.Response'
  23821. security:
  23822. - ApiKeyAuth: []
  23823. summary: 获取企业风管期货内部持仓单信息
  23824. tags:
  23825. - 企业风险管理(app)
  23826. /Ermcp/QueryErmcpOrderDetails:
  23827. get:
  23828. parameters:
  23829. - description: 资金账户ID
  23830. in: query
  23831. name: accountID
  23832. required: true
  23833. type: integer
  23834. produces:
  23835. - application/json
  23836. responses:
  23837. "200":
  23838. description: OK
  23839. schema:
  23840. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23841. "500":
  23842. description: Internal Server Error
  23843. schema:
  23844. $ref: '#/definitions/app.Response'
  23845. security:
  23846. - ApiKeyAuth: []
  23847. summary: 获取企业风管期货委托单信息
  23848. tags:
  23849. - 企业风险管理(app)
  23850. /Ermcp/QueryErmcpTradeDetails:
  23851. get:
  23852. parameters:
  23853. - description: 资金账户ID
  23854. in: query
  23855. name: accountID
  23856. required: true
  23857. type: integer
  23858. - description: 商品ID
  23859. in: query
  23860. name: goodsID
  23861. type: integer
  23862. - description: 买卖方向,0:买 1:卖
  23863. in: query
  23864. name: buyOrSell
  23865. type: integer
  23866. - description: 关联委托单号
  23867. in: query
  23868. name: orderID
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 获取企业风管期货成交单信息
  23884. tags:
  23885. - 企业风险管理(app)
  23886. /Ermcp/QueryErmcpTradePosition:
  23887. get:
  23888. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23889. parameters:
  23890. - description: 资金账户ID
  23891. in: query
  23892. name: accountID
  23893. required: true
  23894. type: integer
  23895. - description: 所属市场ID
  23896. in: query
  23897. name: marketID
  23898. type: integer
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23906. "500":
  23907. description: Internal Server Error
  23908. schema:
  23909. $ref: '#/definitions/app.Response'
  23910. security:
  23911. - ApiKeyAuth: []
  23912. summary: 获取企业风管期货持仓头寸信息
  23913. tags:
  23914. - 企业风险管理(app)
  23915. /Ermcp/QueryExposureDetail:
  23916. get:
  23917. parameters:
  23918. - description: 所属机构ID
  23919. in: query
  23920. name: areaUserId
  23921. required: true
  23922. type: integer
  23923. - description: 套保商品
  23924. in: query
  23925. name: middleGoodsId
  23926. required: true
  23927. type: integer
  23928. produces:
  23929. - application/json
  23930. responses:
  23931. "200":
  23932. description: OK
  23933. schema:
  23934. items:
  23935. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23936. type: array
  23937. "500":
  23938. description: Internal Server Error
  23939. schema:
  23940. $ref: '#/definitions/app.Response'
  23941. security:
  23942. - ApiKeyAuth: []
  23943. summary: 查询敞口现货明细
  23944. tags:
  23945. - 企业风险管理(app)
  23946. /Ermcp/QueryExposureGoods:
  23947. get:
  23948. parameters:
  23949. - description: 套保商品id
  23950. in: query
  23951. name: middlegoodsid
  23952. required: true
  23953. type: integer
  23954. produces:
  23955. - application/json
  23956. responses:
  23957. "200":
  23958. description: OK
  23959. schema:
  23960. items:
  23961. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23962. type: array
  23963. "500":
  23964. description: Internal Server Error
  23965. schema:
  23966. $ref: '#/definitions/app.Response'
  23967. security:
  23968. - ApiKeyAuth: []
  23969. summary: 查询敞口主力合约
  23970. tags:
  23971. - 企业风险管理(app)
  23972. /Ermcp/QueryExposureHedgePosition:
  23973. get:
  23974. parameters:
  23975. - description: 用户id
  23976. in: query
  23977. name: userid
  23978. required: true
  23979. type: integer
  23980. produces:
  23981. - application/json
  23982. responses:
  23983. "200":
  23984. description: OK
  23985. schema:
  23986. items:
  23987. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23988. type: array
  23989. "500":
  23990. description: Internal Server Error
  23991. schema:
  23992. $ref: '#/definitions/app.Response'
  23993. security:
  23994. - ApiKeyAuth: []
  23995. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23996. tags:
  23997. - 企业风险管理(app)
  23998. /Ermcp/QueryExposureHedgePositionDetail:
  23999. get:
  24000. parameters:
  24001. - description: 所属机构ID
  24002. in: query
  24003. name: userid
  24004. required: true
  24005. type: integer
  24006. - description: 商品id
  24007. in: query
  24008. name: goodsId
  24009. required: true
  24010. type: integer
  24011. produces:
  24012. - application/json
  24013. responses:
  24014. "200":
  24015. description: OK
  24016. schema:
  24017. items:
  24018. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24019. type: array
  24020. "500":
  24021. description: Internal Server Error
  24022. schema:
  24023. $ref: '#/definitions/app.Response'
  24024. security:
  24025. - ApiKeyAuth: []
  24026. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24027. tags:
  24028. - 企业风险管理(app)
  24029. /Ermcp/QueryExposureSpot:
  24030. get:
  24031. parameters:
  24032. - description: 所属机构ID
  24033. in: query
  24034. name: areaUserId
  24035. required: true
  24036. type: integer
  24037. produces:
  24038. - application/json
  24039. responses:
  24040. "200":
  24041. description: OK
  24042. schema:
  24043. items:
  24044. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24045. type: array
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. summary: 查询敞口现货头寸(敞口/现货头寸)
  24053. tags:
  24054. - 企业风险管理(app)
  24055. /Ermcp/QueryExposureSpotDetail:
  24056. get:
  24057. parameters:
  24058. - description: 所属机构ID
  24059. in: query
  24060. name: areaUserId
  24061. required: true
  24062. type: integer
  24063. - description: 现货品种ID
  24064. in: query
  24065. name: wrstandardId
  24066. required: true
  24067. type: integer
  24068. produces:
  24069. - application/json
  24070. responses:
  24071. "200":
  24072. description: OK
  24073. schema:
  24074. items:
  24075. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24076. type: array
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. security:
  24082. - ApiKeyAuth: []
  24083. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24084. tags:
  24085. - 企业风险管理(app)
  24086. /Ermcp/QueryFuturesCompany:
  24087. get:
  24088. produces:
  24089. - application/json
  24090. responses:
  24091. "200":
  24092. description: OK
  24093. schema:
  24094. items:
  24095. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24096. type: array
  24097. "500":
  24098. description: Internal Server Error
  24099. schema:
  24100. $ref: '#/definitions/app.Response'
  24101. security:
  24102. - ApiKeyAuth: []
  24103. summary: 查询期货公司
  24104. tags:
  24105. - 企业风险管理(app)
  24106. /Ermcp/QueryGGConvertConfig:
  24107. get:
  24108. parameters:
  24109. - description: 品种id(不填则查所有)
  24110. in: query
  24111. name: goodsgroupid
  24112. type: integer
  24113. produces:
  24114. - application/json
  24115. responses:
  24116. "200":
  24117. description: OK
  24118. schema:
  24119. items:
  24120. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24121. type: array
  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/QueryGoodsBrand:
  24132. get:
  24133. parameters:
  24134. - description: 用户ID
  24135. in: query
  24136. name: userid
  24137. required: true
  24138. type: integer
  24139. - description: 现货商品ID
  24140. in: query
  24141. name: wrstandardid
  24142. type: integer
  24143. produces:
  24144. - application/json
  24145. responses:
  24146. "200":
  24147. description: OK
  24148. schema:
  24149. items:
  24150. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24151. type: array
  24152. "500":
  24153. description: Internal Server Error
  24154. schema:
  24155. $ref: '#/definitions/app.Response'
  24156. security:
  24157. - ApiKeyAuth: []
  24158. summary: 查询商品品牌
  24159. tags:
  24160. - 企业风险管理(app)
  24161. /Ermcp/QueryGoodsModel:
  24162. get:
  24163. parameters:
  24164. - description: 用户ID
  24165. in: query
  24166. name: userid
  24167. required: true
  24168. type: integer
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. items:
  24176. $ref: '#/definitions/models.ErmcpGoodsModel'
  24177. type: array
  24178. "500":
  24179. description: Internal Server Error
  24180. schema:
  24181. $ref: '#/definitions/app.Response'
  24182. security:
  24183. - ApiKeyAuth: []
  24184. summary: 查询商品型号
  24185. tags:
  24186. - 企业风险管理(app)
  24187. /Ermcp/QueryHisExposure:
  24188. get:
  24189. parameters:
  24190. - description: 用户id
  24191. in: query
  24192. name: userid
  24193. required: true
  24194. type: integer
  24195. - description: 每个品种记录数
  24196. in: query
  24197. name: lastNum
  24198. required: true
  24199. type: integer
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. items:
  24207. $ref: '#/definitions/ermcp.HisExposureRsp'
  24208. type: array
  24209. "500":
  24210. description: Internal Server Error
  24211. schema:
  24212. $ref: '#/definitions/app.Response'
  24213. security:
  24214. - ApiKeyAuth: []
  24215. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24216. tags:
  24217. - 企业风险管理(app)
  24218. /Ermcp/QueryMiddleGoods:
  24219. get:
  24220. parameters:
  24221. - description: 所属机构ID
  24222. in: query
  24223. name: userid
  24224. required: true
  24225. type: integer
  24226. - description: 状态 0-停用 1-正常
  24227. in: query
  24228. name: status
  24229. required: true
  24230. type: integer
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. items:
  24238. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24239. type: array
  24240. "500":
  24241. description: Internal Server Error
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. security:
  24245. - ApiKeyAuth: []
  24246. summary: 查询套保品种(菜单:套保品种)
  24247. tags:
  24248. - 企业风险管理(app)
  24249. /Ermcp/QueryMiddleGoodsChangeLog:
  24250. get:
  24251. parameters:
  24252. - description: 所属机构ID
  24253. in: query
  24254. name: userid
  24255. required: true
  24256. type: integer
  24257. - description: 套保品种id
  24258. in: query
  24259. name: middlegoodsid
  24260. required: true
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. items:
  24269. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24270. type: array
  24271. "500":
  24272. description: Internal Server Error
  24273. schema:
  24274. $ref: '#/definitions/app.Response'
  24275. security:
  24276. - ApiKeyAuth: []
  24277. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24278. tags:
  24279. - 企业风险管理(app)
  24280. /Ermcp/QueryMiddleGoodsDetail:
  24281. get:
  24282. parameters:
  24283. - description: 所属机构ID
  24284. in: query
  24285. name: userid
  24286. required: true
  24287. type: integer
  24288. - description: 套保品种id
  24289. in: query
  24290. name: middlegoodsid
  24291. type: integer
  24292. produces:
  24293. - application/json
  24294. responses:
  24295. "200":
  24296. description: OK
  24297. schema:
  24298. items:
  24299. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  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/QueryPendingAuditInfo:
  24311. get:
  24312. parameters:
  24313. - description: 用户ID
  24314. in: query
  24315. name: UserId
  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.PendingAuditCntRsp'
  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/QueryRealtimeExposure:
  24337. get:
  24338. parameters:
  24339. - description: 所属机构ID
  24340. in: query
  24341. name: userid
  24342. required: true
  24343. type: integer
  24344. produces:
  24345. - application/json
  24346. responses:
  24347. "200":
  24348. description: OK
  24349. schema:
  24350. items:
  24351. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24352. type: array
  24353. "500":
  24354. description: Internal Server Error
  24355. schema:
  24356. $ref: '#/definitions/app.Response'
  24357. security:
  24358. - ApiKeyAuth: []
  24359. summary: 查询实时敞口
  24360. tags:
  24361. - 企业风险管理(app)
  24362. /Ermcp/QueryRealtimeExposurePosition:
  24363. get:
  24364. parameters:
  24365. - description: 用户id
  24366. in: query
  24367. name: userid
  24368. required: true
  24369. type: integer
  24370. - description: 套保商品ID
  24371. in: query
  24372. name: middleGoodsId
  24373. required: true
  24374. type: integer
  24375. produces:
  24376. - application/json
  24377. responses:
  24378. "200":
  24379. description: OK
  24380. schema:
  24381. items:
  24382. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24383. type: array
  24384. "500":
  24385. description: Internal Server Error
  24386. schema:
  24387. $ref: '#/definitions/app.Response'
  24388. security:
  24389. - ApiKeyAuth: []
  24390. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24391. tags:
  24392. - 企业风险管理(app)
  24393. /Ermcp/QueryRoleMenu:
  24394. get:
  24395. parameters:
  24396. - description: 登录ID
  24397. in: query
  24398. name: loginid
  24399. required: true
  24400. type: integer
  24401. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24402. in: query
  24403. name: menutype
  24404. type: integer
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. items:
  24412. $ref: '#/definitions/models.RoleMenu'
  24413. type: array
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询角色菜单和权限
  24421. tags:
  24422. - 企业风险管理(app)
  24423. /Ermcp/QueryTradeConfigTMP:
  24424. get:
  24425. parameters:
  24426. - description: 所属机构id
  24427. in: query
  24428. name: areauserid
  24429. type: integer
  24430. produces:
  24431. - application/json
  24432. responses:
  24433. "200":
  24434. description: OK
  24435. schema:
  24436. items:
  24437. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24438. type: array
  24439. "500":
  24440. description: Internal Server Error
  24441. schema:
  24442. $ref: '#/definitions/app.Response'
  24443. security:
  24444. - ApiKeyAuth: []
  24445. summary: 查询交易模板配置
  24446. tags:
  24447. - 企业风险管理(app)
  24448. /Ermcp/QueryUserInfo:
  24449. get:
  24450. parameters:
  24451. - description: 所属机构用户ID
  24452. in: query
  24453. name: MemberUserID
  24454. required: true
  24455. type: integer
  24456. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24457. in: query
  24458. name: queryType
  24459. required: true
  24460. type: integer
  24461. produces:
  24462. - application/json
  24463. responses:
  24464. "200":
  24465. description: OK
  24466. schema:
  24467. items:
  24468. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24469. type: array
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 查询客户资料
  24477. tags:
  24478. - 企业风险管理(app)
  24479. /Ermcp/QueryWarehouseInfo:
  24480. get:
  24481. parameters:
  24482. - description: 用户ID
  24483. in: query
  24484. name: userid
  24485. required: true
  24486. type: integer
  24487. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24488. in: query
  24489. name: status
  24490. type: string
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. items:
  24498. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24499. type: array
  24500. "500":
  24501. description: Internal Server Error
  24502. schema:
  24503. $ref: '#/definitions/app.Response'
  24504. security:
  24505. - ApiKeyAuth: []
  24506. summary: 查询仓库信息
  24507. tags:
  24508. - 企业风险管理(app)
  24509. /Ermcp3/QryAreaExpourseContractDetail:
  24510. get:
  24511. parameters:
  24512. - description: 用户ID
  24513. in: query
  24514. name: userid
  24515. required: true
  24516. type: integer
  24517. - description: 套保商品id
  24518. in: query
  24519. name: middlegoodsid
  24520. required: true
  24521. type: integer
  24522. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24523. in: query
  24524. name: cycletype
  24525. required: true
  24526. type: integer
  24527. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24528. 全(0)【原值】
  24529. in: query
  24530. name: cycletime
  24531. required: true
  24532. type: string
  24533. produces:
  24534. - application/json
  24535. responses:
  24536. "200":
  24537. description: OK
  24538. schema:
  24539. items:
  24540. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24541. type: array
  24542. "500":
  24543. description: Internal Server Error
  24544. schema:
  24545. $ref: '#/definitions/app.Response'
  24546. security:
  24547. - ApiKeyAuth: []
  24548. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24549. tags:
  24550. - 企业风险管理v3(app)
  24551. /Ermcp3/QryAreaExpourseFutuDetail:
  24552. get:
  24553. parameters:
  24554. - description: 用户ID
  24555. in: query
  24556. name: userid
  24557. required: true
  24558. type: integer
  24559. - description: 套保商品id
  24560. in: query
  24561. name: middlegoodsid
  24562. required: true
  24563. type: integer
  24564. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24565. in: query
  24566. name: cycletype
  24567. required: true
  24568. type: integer
  24569. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24570. 全(0)【原值】
  24571. in: query
  24572. name: cycletime
  24573. required: true
  24574. type: string
  24575. produces:
  24576. - application/json
  24577. responses:
  24578. "200":
  24579. description: OK
  24580. schema:
  24581. items:
  24582. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24583. type: array
  24584. "500":
  24585. description: Internal Server Error
  24586. schema:
  24587. $ref: '#/definitions/app.Response'
  24588. security:
  24589. - ApiKeyAuth: []
  24590. summary: 查询敞口期货明细(敞口报表/期货明细)
  24591. tags:
  24592. - 企业风险管理v3(app)
  24593. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24594. get:
  24595. parameters:
  24596. - description: 用户ID
  24597. in: query
  24598. name: userid
  24599. required: true
  24600. type: integer
  24601. - description: 套保商品id
  24602. in: query
  24603. name: middlegoodsid
  24604. required: true
  24605. type: integer
  24606. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24607. in: query
  24608. name: cycletype
  24609. required: true
  24610. type: integer
  24611. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24612. 全(0)【原值】
  24613. in: query
  24614. name: cycletime
  24615. required: true
  24616. type: string
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. items:
  24624. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24625. type: array
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. security:
  24631. - ApiKeyAuth: []
  24632. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24633. tags:
  24634. - 企业风险管理v3(app)
  24635. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24636. get:
  24637. parameters:
  24638. - description: 用户ID
  24639. in: query
  24640. name: userid
  24641. required: true
  24642. type: integer
  24643. - description: 套保商品id
  24644. in: query
  24645. name: middlegoodsid
  24646. required: true
  24647. type: integer
  24648. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24649. in: query
  24650. name: cycletype
  24651. required: true
  24652. type: integer
  24653. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24654. 全(0)【原值】
  24655. in: query
  24656. name: cycletime
  24657. required: true
  24658. type: string
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24675. tags:
  24676. - 企业风险管理v3(app)
  24677. /Ermcp3/QryAreaExpourseReport:
  24678. get:
  24679. parameters:
  24680. - description: 用户ID
  24681. in: query
  24682. name: userid
  24683. required: true
  24684. type: integer
  24685. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24686. in: query
  24687. name: querytype
  24688. required: true
  24689. type: integer
  24690. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24691. in: query
  24692. name: cycletype
  24693. required: true
  24694. type: integer
  24695. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24696. 全(0)【原值】
  24697. in: query
  24698. name: cycletime
  24699. required: true
  24700. type: string
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询敞口报表
  24717. tags:
  24718. - 企业风险管理v3(app)
  24719. /Ermcp3/QryAreaSpotplReport:
  24720. get:
  24721. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24722. parameters:
  24723. - description: 用户ID
  24724. in: query
  24725. name: userid
  24726. required: true
  24727. type: integer
  24728. - description: 查询类型 1-报表 2-报表明细
  24729. in: query
  24730. name: querytype
  24731. required: true
  24732. type: integer
  24733. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24734. in: query
  24735. name: cycletype
  24736. required: true
  24737. type: integer
  24738. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24739. 全(0)【原值】
  24740. in: query
  24741. name: cycletime
  24742. required: true
  24743. type: string
  24744. - description: 现货品种id(明细必填)
  24745. in: query
  24746. name: deliverygoodsid
  24747. type: integer
  24748. - description: 币种id(明细必填)
  24749. in: query
  24750. name: currencyid
  24751. type: integer
  24752. - description: 日/周/月报表汇总维度 1:品种+品类
  24753. in: query
  24754. name: sumflag
  24755. type: integer
  24756. produces:
  24757. - application/json
  24758. responses:
  24759. "200":
  24760. description: OK
  24761. schema:
  24762. items:
  24763. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24764. type: array
  24765. "500":
  24766. description: Internal Server Error
  24767. schema:
  24768. $ref: '#/definitions/app.Response'
  24769. security:
  24770. - ApiKeyAuth: []
  24771. summary: 查询现货报表
  24772. tags:
  24773. - 企业风险管理v3(app)
  24774. /Ermcp3/QryAreaStockReport:
  24775. get:
  24776. parameters:
  24777. - description: 用户ID
  24778. in: query
  24779. name: userid
  24780. required: true
  24781. type: integer
  24782. - description: 查询类型 1-报表 2-报表明细
  24783. in: query
  24784. name: querytype
  24785. required: true
  24786. type: integer
  24787. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24788. in: query
  24789. name: cycletype
  24790. required: true
  24791. type: integer
  24792. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24793. 全(0)【原值】
  24794. in: query
  24795. name: cycletime
  24796. required: true
  24797. type: string
  24798. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24799. in: query
  24800. name: sumfields
  24801. type: string
  24802. - description: 品种ID
  24803. in: query
  24804. name: deliverygoodsid
  24805. type: integer
  24806. - description: 品类ID
  24807. in: query
  24808. name: wrstandardid
  24809. type: integer
  24810. - description: 品牌ID
  24811. in: query
  24812. name: spotgoodsbrandid
  24813. type: integer
  24814. - description: 仓库ID
  24815. in: query
  24816. name: warehouseinfoid
  24817. type: integer
  24818. produces:
  24819. - application/json
  24820. responses:
  24821. "200":
  24822. description: OK
  24823. schema:
  24824. items:
  24825. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24826. type: array
  24827. "500":
  24828. description: Internal Server Error
  24829. schema:
  24830. $ref: '#/definitions/app.Response'
  24831. security:
  24832. - ApiKeyAuth: []
  24833. summary: 查询库存报表
  24834. tags:
  24835. - 企业风险管理v3(app)
  24836. /Ermcp3/QryAreaSumPL:
  24837. get:
  24838. parameters:
  24839. - description: 用户ID
  24840. in: query
  24841. name: userid
  24842. required: true
  24843. type: integer
  24844. - description: 查询类型 1-报表 2-报表明细
  24845. in: query
  24846. name: querytype
  24847. required: true
  24848. type: integer
  24849. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24850. in: query
  24851. name: cycletype
  24852. required: true
  24853. type: integer
  24854. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24855. 全(0)【原值】
  24856. in: query
  24857. name: cycletime
  24858. required: true
  24859. type: string
  24860. - description: 币种id(明细必填)
  24861. in: query
  24862. name: currencyid
  24863. type: integer
  24864. - description: 套保品种ID, 查询类型为2时起效
  24865. in: query
  24866. name: middlegoodsid
  24867. type: integer
  24868. produces:
  24869. - application/json
  24870. responses:
  24871. "200":
  24872. description: OK
  24873. schema:
  24874. items:
  24875. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24876. type: array
  24877. "500":
  24878. description: Internal Server Error
  24879. schema:
  24880. $ref: '#/definitions/app.Response'
  24881. security:
  24882. - ApiKeyAuth: []
  24883. summary: 查询汇总损益表
  24884. tags:
  24885. - 企业风险管理v3(app)
  24886. /Ermcp3/QryFinanceReport:
  24887. get:
  24888. parameters:
  24889. - description: 用户ID
  24890. in: query
  24891. name: userid
  24892. required: true
  24893. type: integer
  24894. - description: 查询类型 1-报表 2-报表明细
  24895. in: query
  24896. name: querytype
  24897. required: true
  24898. type: integer
  24899. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24900. in: query
  24901. name: cycletype
  24902. required: true
  24903. type: integer
  24904. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24905. 全(0)【原值】
  24906. in: query
  24907. name: cycletime
  24908. required: true
  24909. type: string
  24910. - description: 币种id(报表明细必填)
  24911. in: query
  24912. name: currencyid
  24913. type: integer
  24914. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24915. in: query
  24916. name: sumfields
  24917. type: string
  24918. produces:
  24919. - application/json
  24920. responses:
  24921. "200":
  24922. description: OK
  24923. schema:
  24924. items:
  24925. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24926. type: array
  24927. "500":
  24928. description: Internal Server Error
  24929. schema:
  24930. $ref: '#/definitions/app.Response'
  24931. security:
  24932. - ApiKeyAuth: []
  24933. summary: 查询财务报表
  24934. tags:
  24935. - 企业风险管理v3(app)
  24936. /Ermcp3/QrySCMiddleGoodsReport:
  24937. get:
  24938. parameters:
  24939. - description: 用户ID
  24940. in: query
  24941. name: userid
  24942. required: true
  24943. type: integer
  24944. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24945. in: query
  24946. name: cycletype
  24947. required: true
  24948. type: integer
  24949. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24950. 全(0)【原值】
  24951. in: query
  24952. name: cycletime
  24953. required: true
  24954. type: string
  24955. - description: 合同id
  24956. in: query
  24957. name: spotcontractid
  24958. type: integer
  24959. - description: 套保品种id
  24960. in: query
  24961. name: middlegoodsid
  24962. type: integer
  24963. - description: 现货品种id
  24964. in: query
  24965. name: deliverygoodsid
  24966. type: integer
  24967. - description: 现货商品id
  24968. in: query
  24969. name: wrstandardid
  24970. type: integer
  24971. - description: 合同编号(模糊匹配)
  24972. in: query
  24973. name: contractno
  24974. type: string
  24975. produces:
  24976. - application/json
  24977. responses:
  24978. "200":
  24979. description: OK
  24980. schema:
  24981. items:
  24982. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24983. type: array
  24984. "500":
  24985. description: Internal Server Error
  24986. schema:
  24987. $ref: '#/definitions/app.Response'
  24988. security:
  24989. - ApiKeyAuth: []
  24990. summary: 查询定价报表
  24991. tags:
  24992. - 企业风险管理v3(app)
  24993. /Ermcp3/QryTaFutureDataReport:
  24994. get:
  24995. parameters:
  24996. - description: 用户ID
  24997. in: query
  24998. name: userid
  24999. required: true
  25000. type: integer
  25001. - description: 查询类型 1-报表 2-报表明细
  25002. in: query
  25003. name: querytype
  25004. required: true
  25005. type: integer
  25006. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25007. in: query
  25008. name: cycletype
  25009. required: true
  25010. type: integer
  25011. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25012. 全(0)【原值】
  25013. in: query
  25014. name: cycletime
  25015. required: true
  25016. type: string
  25017. - description: 币种id(查明细必填)
  25018. in: query
  25019. name: currencyid
  25020. type: integer
  25021. - description: 品种id(查明细必填)
  25022. in: query
  25023. name: goodsgroupid
  25024. type: integer
  25025. - description: 商品id(查明细必填)
  25026. in: query
  25027. name: goodsid
  25028. type: integer
  25029. - description: 买卖方向(查明细必填)
  25030. in: query
  25031. name: buyorsell
  25032. type: integer
  25033. produces:
  25034. - application/json
  25035. responses:
  25036. "200":
  25037. description: OK
  25038. schema:
  25039. items:
  25040. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25041. type: array
  25042. "500":
  25043. description: Internal Server Error
  25044. schema:
  25045. $ref: '#/definitions/app.Response'
  25046. security:
  25047. - ApiKeyAuth: []
  25048. summary: 查询期货报表
  25049. tags:
  25050. - 企业风险管理v3(app)
  25051. /Ermcp3/QueryAreaStock:
  25052. get:
  25053. parameters:
  25054. - description: 用户ID
  25055. in: query
  25056. name: userid
  25057. required: true
  25058. type: integer
  25059. produces:
  25060. - application/json
  25061. responses:
  25062. "200":
  25063. description: OK
  25064. schema:
  25065. items:
  25066. $ref: '#/definitions/models.Ermcp3AreaStock'
  25067. type: array
  25068. "500":
  25069. description: Internal Server Error
  25070. schema:
  25071. $ref: '#/definitions/app.Response'
  25072. security:
  25073. - ApiKeyAuth: []
  25074. summary: 查询机构库存(库存管理/当前库存)
  25075. tags:
  25076. - 企业风险管理v3(app)
  25077. /Ermcp3/QueryAreaStockApply:
  25078. get:
  25079. parameters:
  25080. - description: 用户ID
  25081. in: query
  25082. name: userid
  25083. required: true
  25084. type: integer
  25085. - description: 用户类型 2-机构 7-企业成员
  25086. in: query
  25087. name: usertype
  25088. type: integer
  25089. - description: 现货商品ID
  25090. in: query
  25091. name: deliverygoodsid
  25092. type: integer
  25093. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25094. in: query
  25095. name: inouttype
  25096. type: string
  25097. - description: 合同ID
  25098. in: query
  25099. name: spotcontractid
  25100. type: integer
  25101. - description: 品类ID
  25102. in: query
  25103. name: wrstandardid
  25104. type: integer
  25105. - description: 品牌ID
  25106. in: query
  25107. name: spotgoodsbrandid
  25108. type: integer
  25109. - description: 仓库ID
  25110. in: query
  25111. name: warehouseinfoid
  25112. type: integer
  25113. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25114. in: query
  25115. name: applystatus
  25116. type: string
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. items:
  25124. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25125. type: array
  25126. "500":
  25127. description: Internal Server Error
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. security:
  25131. - ApiKeyAuth: []
  25132. summary: 查询库存申请(出入库记录|库存审核)
  25133. tags:
  25134. - 企业风险管理v3(app)
  25135. /Ermcp3/QueryAreaStockApplySum:
  25136. get:
  25137. parameters:
  25138. - description: 合同ID
  25139. in: query
  25140. name: spotcontractid
  25141. required: true
  25142. type: integer
  25143. produces:
  25144. - application/json
  25145. responses:
  25146. "200":
  25147. description: OK
  25148. schema:
  25149. items:
  25150. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25151. type: array
  25152. "500":
  25153. description: Internal Server Error
  25154. schema:
  25155. $ref: '#/definitions/app.Response'
  25156. security:
  25157. - ApiKeyAuth: []
  25158. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25159. tags:
  25160. - 企业风险管理v3(app)
  25161. /Ermcp3/QueryDGFactoryItem:
  25162. get:
  25163. parameters:
  25164. - description: 用户id
  25165. in: query
  25166. name: userid
  25167. type: integer
  25168. - description: 用户类型 2-机构 7-企业成员
  25169. in: query
  25170. name: usertype
  25171. type: integer
  25172. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25173. in: query
  25174. name: dgfactoryitemid
  25175. type: integer
  25176. - description: 现货品种ID
  25177. in: query
  25178. name: deliverygoodsid
  25179. type: integer
  25180. - description: 要素项类型
  25181. in: query
  25182. name: dgfactoryitemtypeid
  25183. type: integer
  25184. - description: 顺序
  25185. in: query
  25186. name: orderindex
  25187. type: integer
  25188. produces:
  25189. - application/json
  25190. responses:
  25191. "200":
  25192. description: OK
  25193. schema:
  25194. items:
  25195. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25196. type: array
  25197. "500":
  25198. description: Internal Server Error
  25199. schema:
  25200. $ref: '#/definitions/app.Response'
  25201. security:
  25202. - ApiKeyAuth: []
  25203. summary: 查询品种要素定义项
  25204. tags:
  25205. - 企业风险管理v3(app)
  25206. /Ermcp3/QueryDeliveryGoods:
  25207. get:
  25208. parameters:
  25209. - description: 用户id
  25210. in: query
  25211. name: userid
  25212. required: true
  25213. type: integer
  25214. - description: 用户类型 2-机构 7-企业成员
  25215. in: query
  25216. name: usertype
  25217. type: integer
  25218. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25219. in: query
  25220. name: excludecfg
  25221. type: integer
  25222. produces:
  25223. - application/json
  25224. responses:
  25225. "200":
  25226. description: OK
  25227. schema:
  25228. items:
  25229. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25230. type: array
  25231. "500":
  25232. description: Internal Server Error
  25233. schema:
  25234. $ref: '#/definitions/app.Response'
  25235. security:
  25236. - ApiKeyAuth: []
  25237. summary: 查询现货商品
  25238. tags:
  25239. - 企业风险管理v3(app)
  25240. /Ermcp3/QueryDeliveryGoodsDetail:
  25241. get:
  25242. parameters:
  25243. - description: 用户id
  25244. in: query
  25245. name: userid
  25246. required: true
  25247. type: integer
  25248. - description: 用户类型 2-机构 7-企业成员
  25249. in: query
  25250. name: usertype
  25251. type: integer
  25252. - description: 现货商品id
  25253. in: query
  25254. name: deliverygoodsid
  25255. type: integer
  25256. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25257. in: query
  25258. name: filtersubempty
  25259. type: integer
  25260. produces:
  25261. - application/json
  25262. responses:
  25263. "200":
  25264. description: OK
  25265. schema:
  25266. items:
  25267. $ref: '#/definitions/models.XHDeliveryGoods'
  25268. type: array
  25269. "500":
  25270. description: Internal Server Error
  25271. schema:
  25272. $ref: '#/definitions/app.Response'
  25273. security:
  25274. - ApiKeyAuth: []
  25275. summary: 查询现货商品详情
  25276. tags:
  25277. - 企业风险管理v3(app)
  25278. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25279. get:
  25280. parameters:
  25281. - description: 合同id
  25282. in: query
  25283. name: spotcontractid
  25284. required: true
  25285. type: string
  25286. produces:
  25287. - application/json
  25288. responses:
  25289. "200":
  25290. description: OK
  25291. schema:
  25292. items:
  25293. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25294. type: array
  25295. "500":
  25296. description: Internal Server Error
  25297. schema:
  25298. $ref: '#/definitions/app.Response'
  25299. security:
  25300. - ApiKeyAuth: []
  25301. summary: 查询现货合同期现配置信息
  25302. tags:
  25303. - 企业风险管理v3(app)
  25304. /Ermcp3/QueryExposureDetail:
  25305. get:
  25306. parameters:
  25307. - description: 用户id
  25308. in: query
  25309. name: userid
  25310. required: true
  25311. type: integer
  25312. - description: 用户类型 2-机构 7-企业成员
  25313. in: query
  25314. name: usertype
  25315. type: integer
  25316. - description: 套保商品
  25317. in: query
  25318. name: middlegoodsid
  25319. required: true
  25320. type: integer
  25321. produces:
  25322. - application/json
  25323. responses:
  25324. "200":
  25325. description: OK
  25326. schema:
  25327. items:
  25328. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25329. type: array
  25330. "500":
  25331. description: Internal Server Error
  25332. schema:
  25333. $ref: '#/definitions/app.Response'
  25334. security:
  25335. - ApiKeyAuth: []
  25336. summary: 查询敞口现货明细
  25337. tags:
  25338. - 企业风险管理v3(app)
  25339. /Ermcp3/QueryExposureSpot:
  25340. get:
  25341. parameters:
  25342. - description: 用户id
  25343. in: query
  25344. name: userid
  25345. required: true
  25346. type: integer
  25347. - description: 用户类型 2-机构 7-企业成员
  25348. in: query
  25349. name: usertype
  25350. type: integer
  25351. produces:
  25352. - application/json
  25353. responses:
  25354. "200":
  25355. description: OK
  25356. schema:
  25357. items:
  25358. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25359. type: array
  25360. "500":
  25361. description: Internal Server Error
  25362. schema:
  25363. $ref: '#/definitions/app.Response'
  25364. security:
  25365. - ApiKeyAuth: []
  25366. summary: 查询敞口现货头寸(敞口/现货头寸)
  25367. tags:
  25368. - 企业风险管理v3(app)
  25369. /Ermcp3/QueryExposureSpotDetail:
  25370. get:
  25371. parameters:
  25372. - description: 用户id
  25373. in: query
  25374. name: userid
  25375. required: true
  25376. type: integer
  25377. - description: 用户类型 2-机构 7-企业成员
  25378. in: query
  25379. name: usertype
  25380. type: integer
  25381. - description: 现货商品ID
  25382. in: query
  25383. name: wrstandardid
  25384. required: true
  25385. type: integer
  25386. produces:
  25387. - application/json
  25388. responses:
  25389. "200":
  25390. description: OK
  25391. schema:
  25392. items:
  25393. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25394. type: array
  25395. "500":
  25396. description: Internal Server Error
  25397. schema:
  25398. $ref: '#/definitions/app.Response'
  25399. security:
  25400. - ApiKeyAuth: []
  25401. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25402. tags:
  25403. - 企业风险管理v3(app)
  25404. /Ermcp3/QueryGoodsGroup:
  25405. get:
  25406. parameters:
  25407. - description: 用户id
  25408. in: query
  25409. name: userid
  25410. required: true
  25411. type: integer
  25412. - description: 用户类型 2-机构 7-企业成员
  25413. in: query
  25414. name: usertype
  25415. type: integer
  25416. - description: 排除套保品中已关联的商品组 1-排除
  25417. in: query
  25418. name: excludecfg
  25419. type: integer
  25420. produces:
  25421. - application/json
  25422. responses:
  25423. "200":
  25424. description: OK
  25425. schema:
  25426. items:
  25427. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25428. type: array
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 查询期货商品组
  25436. tags:
  25437. - 企业风险管理v3(app)
  25438. /Ermcp3/QueryGoodsWrstandard:
  25439. get:
  25440. parameters:
  25441. - description: 用户id
  25442. in: query
  25443. name: userid
  25444. required: true
  25445. type: integer
  25446. - description: 用户类型 2-机构 7-企业成员
  25447. in: query
  25448. name: usertype
  25449. type: integer
  25450. - description: 现货商品id
  25451. in: query
  25452. name: deliverygoodsid
  25453. type: integer
  25454. produces:
  25455. - application/json
  25456. responses:
  25457. "200":
  25458. description: OK
  25459. schema:
  25460. items:
  25461. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25462. type: array
  25463. "500":
  25464. description: Internal Server Error
  25465. schema:
  25466. $ref: '#/definitions/app.Response'
  25467. security:
  25468. - ApiKeyAuth: []
  25469. summary: 查询商品品类
  25470. tags:
  25471. - 企业风险管理v3(app)
  25472. /Ermcp3/QueryGoodsbrand:
  25473. get:
  25474. parameters:
  25475. - description: 用户id
  25476. in: query
  25477. name: userid
  25478. required: true
  25479. type: integer
  25480. - description: 用户类型 2-机构 7-企业成员
  25481. in: query
  25482. name: usertype
  25483. type: integer
  25484. produces:
  25485. - application/json
  25486. responses:
  25487. "200":
  25488. description: OK
  25489. schema:
  25490. items:
  25491. $ref: '#/definitions/models.Ermcp3Brand'
  25492. type: array
  25493. "500":
  25494. description: Internal Server Error
  25495. schema:
  25496. $ref: '#/definitions/app.Response'
  25497. security:
  25498. - ApiKeyAuth: []
  25499. summary: 查询商品品牌
  25500. tags:
  25501. - 企业风险管理v3(app)
  25502. /Ermcp3/QueryHPMiddleGoods:
  25503. get:
  25504. parameters:
  25505. - description: 用户ID(填登录用户的userid)
  25506. in: query
  25507. name: userid
  25508. required: true
  25509. type: integer
  25510. - description: 买卖方向 0-买 1-卖
  25511. in: query
  25512. name: buyorsell
  25513. required: true
  25514. type: integer
  25515. - description: 商品组id
  25516. in: query
  25517. name: goodsgroupid
  25518. required: true
  25519. type: integer
  25520. - description: 套保计划编号(模糊匹配)
  25521. in: query
  25522. name: hedgeplanno
  25523. type: string
  25524. - description: 现货商品名称(模糊匹配)
  25525. in: query
  25526. name: wrstandardname
  25527. type: string
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. items:
  25535. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25536. type: array
  25537. "500":
  25538. description: Internal Server Error
  25539. schema:
  25540. $ref: '#/definitions/app.Response'
  25541. security:
  25542. - ApiKeyAuth: []
  25543. summary: 查询可关联套保计划
  25544. tags:
  25545. - 企业风险管理v3(app)
  25546. /Ermcp3/QueryHedgePlan:
  25547. get:
  25548. parameters:
  25549. - description: 用户ID
  25550. in: query
  25551. name: userid
  25552. required: true
  25553. type: integer
  25554. - description: 用户类型 2-机构 7-企业成员
  25555. in: query
  25556. name: usertype
  25557. type: integer
  25558. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25559. in: query
  25560. name: hedgeplanstatus
  25561. required: true
  25562. type: string
  25563. produces:
  25564. - application/json
  25565. responses:
  25566. "200":
  25567. description: OK
  25568. schema:
  25569. items:
  25570. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25571. type: array
  25572. "500":
  25573. description: Internal Server Error
  25574. schema:
  25575. $ref: '#/definitions/app.Response'
  25576. security:
  25577. - ApiKeyAuth: []
  25578. summary: 查询套保计划
  25579. tags:
  25580. - 企业风险管理v3(app)
  25581. /Ermcp3/QueryInnerTradeLink:
  25582. get:
  25583. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25584. parameters:
  25585. - description: 外部成交单号
  25586. in: query
  25587. name: outtradeid
  25588. required: true
  25589. type: integer
  25590. produces:
  25591. - application/json
  25592. responses:
  25593. "200":
  25594. description: OK
  25595. schema:
  25596. items:
  25597. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25598. type: array
  25599. "500":
  25600. description: Internal Server Error
  25601. schema:
  25602. $ref: '#/definitions/app.Response'
  25603. security:
  25604. - ApiKeyAuth: []
  25605. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25606. tags:
  25607. - 企业风险管理v3(app)
  25608. /Ermcp3/QueryMiddleGoodsDetail:
  25609. get:
  25610. parameters:
  25611. - description: 用户id
  25612. in: query
  25613. name: userid
  25614. required: true
  25615. type: integer
  25616. - description: 用户类型 2-机构 7-企业成员
  25617. in: query
  25618. name: usertype
  25619. type: integer
  25620. - description: 套保品种id
  25621. in: query
  25622. name: middlegoodsid
  25623. type: integer
  25624. produces:
  25625. - application/json
  25626. responses:
  25627. "200":
  25628. description: OK
  25629. schema:
  25630. items:
  25631. $ref: '#/definitions/models.TBMiddleGoods'
  25632. type: array
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. security:
  25638. - ApiKeyAuth: []
  25639. summary: 查询套保品种详情(套保品种/商品详情)
  25640. tags:
  25641. - 企业风险管理v3(app)
  25642. /Ermcp3/QueryOutTradeLink:
  25643. get:
  25644. description: 页面 app 现货->期现关联->外部成交单关联
  25645. parameters:
  25646. - description: 用户ID(填登录用户的userid)
  25647. in: query
  25648. name: userid
  25649. required: true
  25650. type: integer
  25651. - description: 外部订单号(模糊匹配)
  25652. in: query
  25653. name: outtradeid
  25654. type: string
  25655. - description: 合约名称/代码(模糊匹配)
  25656. in: query
  25657. name: goodsname
  25658. type: string
  25659. - description: 关联状态 0-未关联 1-已关联
  25660. in: query
  25661. name: hasinnerorder
  25662. type: integer
  25663. produces:
  25664. - application/json
  25665. responses:
  25666. "200":
  25667. description: OK
  25668. schema:
  25669. items:
  25670. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25671. type: array
  25672. "500":
  25673. description: Internal Server Error
  25674. schema:
  25675. $ref: '#/definitions/app.Response'
  25676. security:
  25677. - ApiKeyAuth: []
  25678. summary: 查询外部成交单关联
  25679. tags:
  25680. - 企业风险管理v3(app)
  25681. /Ermcp3/QueryPaAreaAuditCfg:
  25682. get:
  25683. parameters:
  25684. - description: 用户id
  25685. in: query
  25686. name: userid
  25687. required: true
  25688. type: integer
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询审核设置
  25705. tags:
  25706. - 企业风险管理v3(app)
  25707. /Ermcp3/QueryPaAreaSubject:
  25708. get:
  25709. parameters:
  25710. - description: 用户id
  25711. in: query
  25712. name: userid
  25713. required: true
  25714. type: integer
  25715. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25716. in: query
  25717. name: subjectid
  25718. type: integer
  25719. - description: 主体类型 - 1:交易主体 2:业务部门
  25720. in: query
  25721. name: subjecttype
  25722. type: integer
  25723. - description: '主体状态 - 1:正常 2: 停用'
  25724. in: query
  25725. name: subjectstatus
  25726. type: integer
  25727. produces:
  25728. - application/json
  25729. responses:
  25730. "200":
  25731. description: OK
  25732. schema:
  25733. items:
  25734. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25735. type: array
  25736. "500":
  25737. description: Internal Server Error
  25738. schema:
  25739. $ref: '#/definitions/app.Response'
  25740. security:
  25741. - ApiKeyAuth: []
  25742. summary: 查询交易主体
  25743. tags:
  25744. - 企业风险管理v3(app)
  25745. /Ermcp3/QueryPaTradeLink:
  25746. get:
  25747. description: 页面 app 现货->期现关联->期现单据关联
  25748. parameters:
  25749. - description: 用户ID
  25750. in: query
  25751. name: userid
  25752. required: true
  25753. type: integer
  25754. produces:
  25755. - application/json
  25756. responses:
  25757. "200":
  25758. description: OK
  25759. schema:
  25760. items:
  25761. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25762. type: array
  25763. "500":
  25764. description: Internal Server Error
  25765. schema:
  25766. $ref: '#/definitions/app.Response'
  25767. security:
  25768. - ApiKeyAuth: []
  25769. summary: 查询期现单据关联
  25770. tags:
  25771. - 企业风险管理v3(app)
  25772. /Ermcp3/QueryPaTradeLinkDetail:
  25773. get:
  25774. description: 页面 app 现货->期现关联->关联记录
  25775. parameters:
  25776. - description: 用户ID(填登录用户的userid)
  25777. in: query
  25778. name: userid
  25779. required: true
  25780. type: integer
  25781. - description: 关联状态 1:成功 2:失败 3:解绑
  25782. in: query
  25783. name: linkstatus
  25784. type: integer
  25785. - description: 期货订单号(模糊匹配)
  25786. in: query
  25787. name: tradeid
  25788. type: string
  25789. - description: 现货编号(模糊匹配)
  25790. in: query
  25791. name: contractno
  25792. type: string
  25793. - description: 期货账户(模糊匹配)
  25794. in: query
  25795. name: taname
  25796. type: string
  25797. produces:
  25798. - application/json
  25799. responses:
  25800. "200":
  25801. description: OK
  25802. schema:
  25803. items:
  25804. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25805. type: array
  25806. "500":
  25807. description: Internal Server Error
  25808. schema:
  25809. $ref: '#/definitions/app.Response'
  25810. security:
  25811. - ApiKeyAuth: []
  25812. summary: 查询期现关联记录
  25813. tags:
  25814. - 企业风险管理v3(app)
  25815. /Ermcp3/QueryParamChangeApp:
  25816. get:
  25817. description: |-
  25818. 原型页面:
  25819. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25820. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25821. parameters:
  25822. - description: 用户ID
  25823. in: query
  25824. name: userid
  25825. required: true
  25826. type: integer
  25827. - description: 现货品种id
  25828. in: query
  25829. name: deliverygoodsid
  25830. type: integer
  25831. - description: 现货商品id
  25832. in: query
  25833. name: wrstandardid
  25834. type: integer
  25835. - description: 套保商品id
  25836. in: query
  25837. name: middlegoodsid
  25838. type: integer
  25839. - description: 操作类型 1:新增 2:修改
  25840. in: query
  25841. name: operatetype
  25842. type: integer
  25843. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25844. in: query
  25845. name: paramchangetype
  25846. type: integer
  25847. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25848. in: query
  25849. name: ftstatus
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询现货商品参数变更申请(流水)
  25867. tags:
  25868. - 企业风险管理v3(app)
  25869. /Ermcp3/QueryRootUserAccount:
  25870. get:
  25871. parameters:
  25872. - description: 用户ID
  25873. in: query
  25874. name: userid
  25875. required: true
  25876. type: integer
  25877. produces:
  25878. - application/json
  25879. responses:
  25880. "200":
  25881. description: OK
  25882. schema:
  25883. items:
  25884. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25885. type: array
  25886. "500":
  25887. description: Internal Server Error
  25888. schema:
  25889. $ref: '#/definitions/app.Response'
  25890. security:
  25891. - ApiKeyAuth: []
  25892. summary: 查询顶级用户信息
  25893. tags:
  25894. - 企业风险管理v3(app)
  25895. /Ermcp3/QuerySCMiddleGoods:
  25896. get:
  25897. description: |-
  25898. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25899. 现货编号 即 合同编号
  25900. parameters:
  25901. - description: 用户ID(填登录用户的userid)
  25902. in: query
  25903. name: userid
  25904. required: true
  25905. type: integer
  25906. - description: 买卖方向 0-买 1-卖
  25907. in: query
  25908. name: buyorsell
  25909. required: true
  25910. type: integer
  25911. - description: 商品组id
  25912. in: query
  25913. name: goodsgroupid
  25914. required: true
  25915. type: integer
  25916. - description: 业务类型 1:套保 2:套利
  25917. in: query
  25918. name: biztype
  25919. type: integer
  25920. - description: 现货编号(模糊匹配)
  25921. in: query
  25922. name: contractno
  25923. type: string
  25924. - description: 对手方(模糊匹配)
  25925. in: query
  25926. name: customername
  25927. type: string
  25928. - description: 现货商品名称(模糊匹配)
  25929. in: query
  25930. name: wrstandardname
  25931. type: string
  25932. produces:
  25933. - application/json
  25934. responses:
  25935. "200":
  25936. description: OK
  25937. schema:
  25938. items:
  25939. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25940. type: array
  25941. "500":
  25942. description: Internal Server Error
  25943. schema:
  25944. $ref: '#/definitions/app.Response'
  25945. security:
  25946. - ApiKeyAuth: []
  25947. summary: 查询现货订单
  25948. tags:
  25949. - 企业风险管理v3(app)
  25950. /Ermcp3/QuerySpotContract:
  25951. get:
  25952. parameters:
  25953. - description: 用户id(当指定contractid, userid可不填)
  25954. in: query
  25955. name: userid
  25956. required: true
  25957. type: integer
  25958. - description: 用户类型 2-机构 7-企业成员
  25959. in: query
  25960. name: usertype
  25961. type: integer
  25962. - description: 合同类型 1-采购, -1-销售
  25963. in: query
  25964. name: contracttype
  25965. type: integer
  25966. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25967. in: query
  25968. name: querytype
  25969. type: string
  25970. - description: 合同ID(SpotContractId)
  25971. in: query
  25972. name: contractid
  25973. type: string
  25974. - description: 合同编号(模糊匹配)
  25975. in: query
  25976. name: contractno
  25977. type: string
  25978. - description: 商品名称(模糊匹配)
  25979. in: query
  25980. name: wrstandardname
  25981. type: string
  25982. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25983. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25984. in: query
  25985. name: status
  25986. type: string
  25987. - description: 是否只查今日的合同 1-查今日合同
  25988. in: query
  25989. name: istoday
  25990. type: integer
  25991. produces:
  25992. - application/json
  25993. responses:
  25994. "200":
  25995. description: OK
  25996. schema:
  25997. items:
  25998. $ref: '#/definitions/models.Ermcp3Contract'
  25999. type: array
  26000. "500":
  26001. description: Internal Server Error
  26002. schema:
  26003. $ref: '#/definitions/app.Response'
  26004. security:
  26005. - ApiKeyAuth: []
  26006. summary: 查询现货合同
  26007. tags:
  26008. - 企业风险管理v3(app)
  26009. /Ermcp3/QuerySpotContractBS:
  26010. get:
  26011. parameters:
  26012. - description: 用户id
  26013. in: query
  26014. name: userid
  26015. required: true
  26016. type: integer
  26017. - description: 用户类型 2-机构 7-企业成员
  26018. in: query
  26019. name: usertype
  26020. type: integer
  26021. - description: 合同类型 1-采购, -1-销售
  26022. in: query
  26023. name: contracttype
  26024. required: true
  26025. type: integer
  26026. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26027. in: query
  26028. name: querytype
  26029. type: integer
  26030. - description: 合同ID(SpotContractId)
  26031. in: query
  26032. name: contractid
  26033. type: string
  26034. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26035. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26036. in: query
  26037. name: status
  26038. type: string
  26039. - description: 是否只查今日的合同 1-查今日合同
  26040. in: query
  26041. name: istoday
  26042. type: integer
  26043. produces:
  26044. - application/json
  26045. responses:
  26046. "200":
  26047. description: OK
  26048. schema:
  26049. items:
  26050. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26051. type: array
  26052. "500":
  26053. description: Internal Server Error
  26054. schema:
  26055. $ref: '#/definitions/app.Response'
  26056. security:
  26057. - ApiKeyAuth: []
  26058. summary: 查询合同(采购/销售)
  26059. tags:
  26060. - 企业风险管理v3(app)
  26061. /Ermcp3/QuerySpotGoodsPrice:
  26062. get:
  26063. parameters:
  26064. - description: 用户ID
  26065. in: query
  26066. name: userid
  26067. required: true
  26068. type: integer
  26069. produces:
  26070. - application/json
  26071. responses:
  26072. "200":
  26073. description: OK
  26074. schema:
  26075. items:
  26076. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26077. type: array
  26078. "500":
  26079. description: Internal Server Error
  26080. schema:
  26081. $ref: '#/definitions/app.Response'
  26082. security:
  26083. - ApiKeyAuth: []
  26084. summary: 查询现货市价(现货市价)
  26085. tags:
  26086. - 企业风险管理v3(app)
  26087. /Ermcp3/QuerySpotGoodsPriceLog:
  26088. get:
  26089. parameters:
  26090. - description: 用户ID
  26091. in: query
  26092. name: userid
  26093. required: true
  26094. type: integer
  26095. - description: 现货商品ID
  26096. in: query
  26097. name: deliverygoodsid
  26098. required: true
  26099. type: integer
  26100. - description: 品牌ID
  26101. in: query
  26102. name: brandid
  26103. type: integer
  26104. - description: 品类ID
  26105. in: query
  26106. name: wrstandardid
  26107. type: integer
  26108. produces:
  26109. - application/json
  26110. responses:
  26111. "200":
  26112. description: OK
  26113. schema:
  26114. items:
  26115. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26116. type: array
  26117. "500":
  26118. description: Internal Server Error
  26119. schema:
  26120. $ref: '#/definitions/app.Response'
  26121. security:
  26122. - ApiKeyAuth: []
  26123. summary: 查询现货市价详情(现货市价/详情)
  26124. tags:
  26125. - 企业风险管理v3(app)
  26126. /Ermcp3/QuerySubTaaccount:
  26127. get:
  26128. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26129. parameters:
  26130. - description: 母账号id
  26131. in: query
  26132. name: parentaccountid
  26133. type: integer
  26134. - description: 母账号代码
  26135. in: query
  26136. name: parentaccountcode
  26137. type: string
  26138. produces:
  26139. - application/json
  26140. responses:
  26141. "200":
  26142. description: OK
  26143. schema:
  26144. items:
  26145. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26146. type: array
  26147. "500":
  26148. description: Internal Server Error
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. security:
  26152. - ApiKeyAuth: []
  26153. summary: 查询期货子账户
  26154. tags:
  26155. - 企业风险管理v3(app)
  26156. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26157. get:
  26158. parameters:
  26159. - description: 套期项目ID
  26160. in: query
  26161. name: hedgeditemid
  26162. required: true
  26163. type: integer
  26164. produces:
  26165. - application/json
  26166. responses:
  26167. "200":
  26168. description: OK
  26169. schema:
  26170. items:
  26171. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26172. type: array
  26173. "500":
  26174. description: Internal Server Error
  26175. schema:
  26176. $ref: '#/definitions/app.Response'
  26177. security:
  26178. - ApiKeyAuth: []
  26179. summary: 现货成交明细查询
  26180. tags:
  26181. - 企业风险管理v8
  26182. /Ermcp8/QueryERMCP2HedgedItemspot:
  26183. get:
  26184. parameters:
  26185. - description: 套期项目ID
  26186. in: query
  26187. name: hedgeditemid
  26188. required: true
  26189. type: integer
  26190. produces:
  26191. - application/json
  26192. responses:
  26193. "200":
  26194. description: OK
  26195. schema:
  26196. items:
  26197. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26198. type: array
  26199. "500":
  26200. description: Internal Server Error
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. security:
  26204. - ApiKeyAuth: []
  26205. summary: 套期计划明细查询
  26206. tags:
  26207. - 企业风险管理v8
  26208. /Ermcp8/QueryERMCPJRLinkPos:
  26209. get:
  26210. parameters:
  26211. - description: 套期项目ID
  26212. in: query
  26213. name: hedgeditemid
  26214. required: true
  26215. type: integer
  26216. produces:
  26217. - application/json
  26218. responses:
  26219. "200":
  26220. description: OK
  26221. schema:
  26222. items:
  26223. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26224. type: array
  26225. "500":
  26226. description: Internal Server Error
  26227. schema:
  26228. $ref: '#/definitions/app.Response'
  26229. security:
  26230. - ApiKeyAuth: []
  26231. summary: 期货持仓明细查询
  26232. tags:
  26233. - 企业风险管理v8
  26234. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26235. get:
  26236. parameters:
  26237. - description: 套期项目ID
  26238. in: query
  26239. name: hedgeditemid
  26240. required: true
  26241. type: integer
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. items:
  26249. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26250. type: array
  26251. "500":
  26252. description: Internal Server Error
  26253. schema:
  26254. $ref: '#/definitions/app.Response'
  26255. security:
  26256. - ApiKeyAuth: []
  26257. summary: 期货成交单明细查询
  26258. tags:
  26259. - 企业风险管理v8
  26260. /Ermcp8/QueryErmcp2AreaExposure:
  26261. get:
  26262. parameters:
  26263. - description: 用户ID
  26264. in: query
  26265. name: userid
  26266. required: true
  26267. type: string
  26268. produces:
  26269. - application/json
  26270. responses:
  26271. "200":
  26272. description: OK
  26273. schema:
  26274. items:
  26275. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26276. type: array
  26277. "500":
  26278. description: Internal Server Error
  26279. schema:
  26280. $ref: '#/definitions/app.Response'
  26281. security:
  26282. - ApiKeyAuth: []
  26283. summary: 企业敞口查询
  26284. tags:
  26285. - 企业风险管理v8
  26286. /Ermcp8/QueryErmcp2HedgedItem:
  26287. get:
  26288. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26289. parameters:
  26290. - description: 用户ID
  26291. in: query
  26292. name: userid
  26293. required: true
  26294. type: string
  26295. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26296. in: query
  26297. name: hedgedtype
  26298. type: integer
  26299. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26300. in: query
  26301. name: hedgeditemstatus
  26302. type: integer
  26303. produces:
  26304. - application/json
  26305. responses:
  26306. "200":
  26307. description: OK
  26308. schema:
  26309. items:
  26310. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26311. type: array
  26312. "500":
  26313. description: Internal Server Error
  26314. schema:
  26315. $ref: '#/definitions/app.Response'
  26316. security:
  26317. - ApiKeyAuth: []
  26318. summary: 查询被套期项目信息
  26319. tags:
  26320. - 企业风险管理v8
  26321. /Ermcp8/QueryErmcp2HedgedItemLink:
  26322. get:
  26323. parameters:
  26324. - description: 现货合同ID
  26325. in: query
  26326. name: spotcontractid
  26327. required: true
  26328. type: integer
  26329. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. items:
  26336. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26337. type: array
  26338. "500":
  26339. description: Internal Server Error
  26340. schema:
  26341. $ref: '#/definitions/app.Response'
  26342. security:
  26343. - ApiKeyAuth: []
  26344. summary: 现货合同关联被套期项目查询
  26345. tags:
  26346. - 企业风险管理v8
  26347. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26348. get:
  26349. parameters:
  26350. - description: 用户ID
  26351. in: query
  26352. name: userid
  26353. required: true
  26354. type: integer
  26355. - description: 套保品种ID
  26356. in: query
  26357. name: middlegoodsid
  26358. required: true
  26359. type: integer
  26360. produces:
  26361. - application/json
  26362. responses:
  26363. "200":
  26364. description: OK
  26365. schema:
  26366. items:
  26367. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26368. type: array
  26369. "500":
  26370. description: Internal Server Error
  26371. schema:
  26372. $ref: '#/definitions/app.Response'
  26373. security:
  26374. - ApiKeyAuth: []
  26375. summary: 敞口明细 - 计划变动明细
  26376. tags:
  26377. - 企业风险管理v8
  26378. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26379. get:
  26380. parameters:
  26381. - description: 用户ID
  26382. in: query
  26383. name: userid
  26384. required: true
  26385. type: integer
  26386. - description: 套保品种ID
  26387. in: query
  26388. name: middlegoodsid
  26389. required: true
  26390. type: integer
  26391. produces:
  26392. - application/json
  26393. responses:
  26394. "200":
  26395. description: OK
  26396. schema:
  26397. items:
  26398. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26399. type: array
  26400. "500":
  26401. description: Internal Server Error
  26402. schema:
  26403. $ref: '#/definitions/app.Response'
  26404. security:
  26405. - ApiKeyAuth: []
  26406. summary: 敞口明细 - 现货变动明细查询
  26407. tags:
  26408. - 企业风险管理v8
  26409. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26410. get:
  26411. parameters:
  26412. - description: 用户ID
  26413. in: query
  26414. name: userid
  26415. required: true
  26416. type: integer
  26417. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26418. in: query
  26419. name: spottype
  26420. required: true
  26421. type: integer
  26422. - description: 现货商品ID
  26423. in: query
  26424. name: wrstandardid
  26425. type: integer
  26426. produces:
  26427. - application/json
  26428. responses:
  26429. "200":
  26430. description: OK
  26431. schema:
  26432. items:
  26433. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26434. type: array
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. security:
  26440. - ApiKeyAuth: []
  26441. summary: 可关联项目查询
  26442. tags:
  26443. - 企业风险管理v8
  26444. /Ermcp8/QueryErmcp8HedgeditemReport:
  26445. get:
  26446. parameters:
  26447. - description: 用户ID
  26448. in: query
  26449. name: userid
  26450. required: true
  26451. type: integer
  26452. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26453. in: query
  26454. name: cycletype
  26455. type: integer
  26456. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26457. 全(0)【原值】
  26458. in: query
  26459. name: cycletime
  26460. required: true
  26461. type: string
  26462. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26463. in: query
  26464. name: hedgedtype
  26465. type: integer
  26466. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26467. in: query
  26468. name: hedgeditemstatus
  26469. type: integer
  26470. - description: 项目编号,模糊查询
  26471. in: query
  26472. name: hedgeditemnum
  26473. type: string
  26474. - description: 现货商品ID
  26475. in: query
  26476. name: wrstandardid
  26477. type: integer
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. items:
  26485. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26486. type: array
  26487. "500":
  26488. description: Internal Server Error
  26489. schema:
  26490. $ref: '#/definitions/app.Response'
  26491. security:
  26492. - ApiKeyAuth: []
  26493. summary: 套期项目报表查询
  26494. tags:
  26495. - 企业风险管理v8
  26496. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26497. get:
  26498. parameters:
  26499. - description: 用户ID
  26500. in: query
  26501. name: userid
  26502. required: true
  26503. type: string
  26504. produces:
  26505. - application/json
  26506. responses:
  26507. "200":
  26508. description: OK
  26509. schema:
  26510. items:
  26511. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26512. type: array
  26513. "500":
  26514. description: Internal Server Error
  26515. schema:
  26516. $ref: '#/definitions/app.Response'
  26517. security:
  26518. - ApiKeyAuth: []
  26519. summary: 查询执行中项目查询信息
  26520. tags:
  26521. - 企业风险管理v8
  26522. /Ermcp8/QueryInternalEnableTradeDetail:
  26523. get:
  26524. parameters:
  26525. - description: 企业ID
  26526. in: query
  26527. name: areauserid
  26528. required: true
  26529. type: integer
  26530. - description: 期货合约ID
  26531. in: query
  26532. name: goodsid
  26533. required: true
  26534. type: integer
  26535. - description: 交易用户ID
  26536. in: query
  26537. name: tradeuserid
  26538. required: true
  26539. type: integer
  26540. produces:
  26541. - application/json
  26542. responses:
  26543. "200":
  26544. description: OK
  26545. schema:
  26546. items:
  26547. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26548. type: array
  26549. "500":
  26550. description: Internal Server Error
  26551. schema:
  26552. $ref: '#/definitions/app.Response'
  26553. security:
  26554. - ApiKeyAuth: []
  26555. summary: 内部成交单可关联项目查询
  26556. tags:
  26557. - 企业风险管理v8
  26558. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26559. get:
  26560. parameters:
  26561. - description: 用户编号
  26562. in: query
  26563. name: userid
  26564. required: true
  26565. type: integer
  26566. - description: 起始日期(格式yyyymmdd)
  26567. in: query
  26568. name: begindate
  26569. type: string
  26570. - description: 终止日期(格式yyyymmdd)
  26571. in: query
  26572. name: enddate
  26573. type: string
  26574. - description: 合约代码
  26575. in: query
  26576. name: goodscode
  26577. type: string
  26578. - description: 合约名称
  26579. in: query
  26580. name: goodsname
  26581. type: string
  26582. - description: 成交单号
  26583. in: query
  26584. name: tradeid
  26585. type: integer
  26586. - description: 方向 - 0:买 1:卖
  26587. in: query
  26588. name: buyorsell
  26589. type: integer
  26590. - description: 套期主体
  26591. in: query
  26592. name: accountname
  26593. type: string
  26594. produces:
  26595. - application/json
  26596. responses:
  26597. "200":
  26598. description: OK
  26599. schema:
  26600. items:
  26601. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26602. type: array
  26603. "500":
  26604. description: Internal Server Error
  26605. schema:
  26606. $ref: '#/definitions/app.Response'
  26607. security:
  26608. - ApiKeyAuth: []
  26609. summary: 内部未关联成交单查询
  26610. tags:
  26611. - 企业风险管理v8
  26612. /Ermcp8/QueryMarketCalendar:
  26613. get:
  26614. parameters:
  26615. - description: 市场ID
  26616. in: query
  26617. name: marketid
  26618. type: integer
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. items:
  26626. $ref: '#/definitions/models.Marketcalendar'
  26627. type: array
  26628. "500":
  26629. description: Internal Server Error
  26630. schema:
  26631. $ref: '#/definitions/app.Response'
  26632. security:
  26633. - ApiKeyAuth: []
  26634. summary: 市场节假日查询
  26635. tags:
  26636. - 企业风险管理v8
  26637. /Ermcp8/QueryPatradeLinkDetail:
  26638. get:
  26639. parameters:
  26640. - description: 用户ID
  26641. in: query
  26642. name: userid
  26643. required: true
  26644. type: integer
  26645. - description: 套保品种ID
  26646. in: query
  26647. name: middlegoodsid
  26648. required: true
  26649. type: integer
  26650. produces:
  26651. - application/json
  26652. responses:
  26653. "200":
  26654. description: OK
  26655. schema:
  26656. items:
  26657. $ref: '#/definitions/models.Patradelinkdetail'
  26658. type: array
  26659. "500":
  26660. description: Internal Server Error
  26661. schema:
  26662. $ref: '#/definitions/app.Response'
  26663. security:
  26664. - ApiKeyAuth: []
  26665. summary: 敞口明细 - 期货变动明细
  26666. tags:
  26667. - 企业风险管理v8
  26668. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26669. get:
  26670. parameters:
  26671. - description: 企业ID
  26672. in: query
  26673. name: areauserid
  26674. required: true
  26675. type: integer
  26676. - description: 计划类型 - 1:采购 -1:销售
  26677. in: query
  26678. name: contracttype
  26679. type: integer
  26680. - description: 计划编号,模糊查询
  26681. in: query
  26682. name: hedgeplanno
  26683. type: string
  26684. - description: 现货商品,模糊查询
  26685. in: query
  26686. name: wrstandardname
  26687. type: string
  26688. produces:
  26689. - application/json
  26690. responses:
  26691. "200":
  26692. description: OK
  26693. schema:
  26694. items:
  26695. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26696. type: array
  26697. "500":
  26698. description: Internal Server Error
  26699. schema:
  26700. $ref: '#/definitions/app.Response'
  26701. security:
  26702. - ApiKeyAuth: []
  26703. summary: 未关联购销计划
  26704. tags:
  26705. - 企业风险管理v8
  26706. /Ermcp8/QueryUnLinkSpotContract:
  26707. get:
  26708. parameters:
  26709. - description: 用户ID
  26710. in: query
  26711. name: userid
  26712. required: true
  26713. type: integer
  26714. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26715. in: query
  26716. name: pricetype
  26717. type: integer
  26718. - description: 合同编号, 模拟查询
  26719. in: query
  26720. name: contractno
  26721. type: string
  26722. - description: 对手方, 模拟查询
  26723. in: query
  26724. name: customername
  26725. type: string
  26726. - description: 项合同类型 - 1:采购 -1:销售
  26727. in: query
  26728. name: contracttype
  26729. type: integer
  26730. produces:
  26731. - application/json
  26732. responses:
  26733. "200":
  26734. description: OK
  26735. schema:
  26736. items:
  26737. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26738. type: array
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. summary: 未关联合同查询
  26746. tags:
  26747. - 企业风险管理v8
  26748. /Erms2/QueryArbitrageStrategy:
  26749. get:
  26750. parameters:
  26751. - description: 账户ID
  26752. in: query
  26753. name: userid
  26754. required: true
  26755. type: integer
  26756. - description: 商品组ID(品种ID)
  26757. in: query
  26758. name: goodsgroupid
  26759. type: string
  26760. produces:
  26761. - application/json
  26762. responses:
  26763. "200":
  26764. description: OK
  26765. schema:
  26766. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26767. "500":
  26768. description: Internal Server Error
  26769. schema:
  26770. $ref: '#/definitions/app.Response'
  26771. security:
  26772. - ApiKeyAuth: []
  26773. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26774. tags:
  26775. - 风险管理
  26776. /Erms2/QueryInnerTradeDetail:
  26777. get:
  26778. parameters:
  26779. - description: 资金账户
  26780. in: query
  26781. name: accountid
  26782. required: true
  26783. type: integer
  26784. produces:
  26785. - application/json
  26786. responses:
  26787. "200":
  26788. description: OK
  26789. schema:
  26790. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26791. "500":
  26792. description: Internal Server Error
  26793. schema:
  26794. $ref: '#/definitions/app.Response'
  26795. security:
  26796. - ApiKeyAuth: []
  26797. summary: 查询内部成交单信息
  26798. tags:
  26799. - 风险管理
  26800. /Erms2/QuerySpotContract:
  26801. get:
  26802. parameters:
  26803. - description: 策略申请ID
  26804. in: query
  26805. name: asapplyid
  26806. required: true
  26807. type: integer
  26808. - description: 现货合同ID
  26809. in: query
  26810. name: spotcontractid
  26811. type: integer
  26812. produces:
  26813. - application/json
  26814. responses:
  26815. "200":
  26816. description: OK
  26817. schema:
  26818. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26819. "500":
  26820. description: Internal Server Error
  26821. schema:
  26822. $ref: '#/definitions/app.Response'
  26823. security:
  26824. - ApiKeyAuth: []
  26825. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26826. tags:
  26827. - 风险管理
  26828. /Erms3/AddErms2ASApply:
  26829. post:
  26830. parameters:
  26831. - description: 申请参数
  26832. in: body
  26833. name: jsonBody
  26834. required: true
  26835. schema:
  26836. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26837. produces:
  26838. - application/json
  26839. responses:
  26840. "200":
  26841. description: OK
  26842. schema:
  26843. $ref: '#/definitions/app.Response'
  26844. "500":
  26845. description: Internal Server Error
  26846. schema:
  26847. $ref: '#/definitions/app.Response'
  26848. security:
  26849. - ApiKeyAuth: []
  26850. summary: 新增期现套利业务申请
  26851. tags:
  26852. - 风险管理v3
  26853. /Erms3/AddErms2SpotTradeApply:
  26854. post:
  26855. parameters:
  26856. - description: 申请参数
  26857. in: body
  26858. name: jsonBody
  26859. required: true
  26860. schema:
  26861. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26862. produces:
  26863. - application/json
  26864. responses:
  26865. "200":
  26866. description: OK
  26867. schema:
  26868. $ref: '#/definitions/app.Response'
  26869. "500":
  26870. description: Internal Server Error
  26871. schema:
  26872. $ref: '#/definitions/app.Response'
  26873. security:
  26874. - ApiKeyAuth: []
  26875. summary: 新增现货贸易业务申请
  26876. tags:
  26877. - 风险管理v3
  26878. /Erms3/AddSpotContractApply:
  26879. post:
  26880. parameters:
  26881. - description: 申请参数
  26882. in: body
  26883. name: jsonBody
  26884. required: true
  26885. schema:
  26886. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26887. produces:
  26888. - application/json
  26889. responses:
  26890. "200":
  26891. description: OK
  26892. schema:
  26893. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26894. "500":
  26895. description: Internal Server Error
  26896. schema:
  26897. $ref: '#/definitions/app.Response'
  26898. security:
  26899. - ApiKeyAuth: []
  26900. summary: 新增现货合同申请
  26901. tags:
  26902. - 风险管理v3
  26903. /Erms3/AddUserInfoApply:
  26904. post:
  26905. parameters:
  26906. - description: 用户信息
  26907. in: body
  26908. name: jsonBody
  26909. required: true
  26910. schema:
  26911. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26912. produces:
  26913. - application/json
  26914. responses:
  26915. "200":
  26916. description: OK
  26917. schema:
  26918. $ref: '#/definitions/app.Response'
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 新增客户申请
  26926. tags:
  26927. - 风险管理v3
  26928. /Erms3/DeleteUserInfoApply:
  26929. get:
  26930. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26931. parameters:
  26932. - description: 用户ID
  26933. in: query
  26934. name: userID
  26935. required: true
  26936. type: integer
  26937. produces:
  26938. - application/json
  26939. responses:
  26940. "200":
  26941. description: OK
  26942. schema:
  26943. $ref: '#/definitions/app.Response'
  26944. "500":
  26945. description: Internal Server Error
  26946. schema:
  26947. $ref: '#/definitions/app.Response'
  26948. security:
  26949. - ApiKeyAuth: []
  26950. summary: 删除客户申请
  26951. tags:
  26952. - 风险管理v3
  26953. /Erms3/ModifyUserInfoApply:
  26954. post:
  26955. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26956. int, "userstate": 2 }'
  26957. parameters:
  26958. - description: 用户信息
  26959. in: body
  26960. name: jsonBody
  26961. required: true
  26962. schema:
  26963. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26964. produces:
  26965. - application/json
  26966. responses:
  26967. "200":
  26968. description: OK
  26969. schema:
  26970. $ref: '#/definitions/app.Response'
  26971. "500":
  26972. description: Internal Server Error
  26973. schema:
  26974. $ref: '#/definitions/app.Response'
  26975. security:
  26976. - ApiKeyAuth: []
  26977. summary: 修改客户申请
  26978. tags:
  26979. - 风险管理v3
  26980. /Erms3/QueryBusinessInfo:
  26981. get:
  26982. parameters:
  26983. - description: 资金账号ID列表,用逗号分隔
  26984. in: query
  26985. name: accountids
  26986. required: true
  26987. type: string
  26988. - description: 状态,0为未结束 1为已结束
  26989. in: query
  26990. name: status
  26991. required: true
  26992. type: integer
  26993. produces:
  26994. - application/json
  26995. responses:
  26996. "200":
  26997. description: OK
  26998. schema:
  26999. items:
  27000. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27001. type: array
  27002. "500":
  27003. description: Internal Server Error
  27004. schema:
  27005. $ref: '#/definitions/app.Response'
  27006. security:
  27007. - ApiKeyAuth: []
  27008. summary: 查询业务表单数据
  27009. tags:
  27010. - 风险管理v3
  27011. /Erms3/QueryPendingAuditContract:
  27012. get:
  27013. parameters:
  27014. - description: 资金账号ID列表,逗号隔开
  27015. in: query
  27016. name: accountids
  27017. required: true
  27018. type: string
  27019. - description: 合同类型 1-采购 -1-销售
  27020. in: query
  27021. name: contracttype
  27022. required: true
  27023. type: integer
  27024. - description: 合同模式 1-普通 2-回购
  27025. in: query
  27026. name: contractmode
  27027. required: true
  27028. type: integer
  27029. produces:
  27030. - application/json
  27031. responses:
  27032. "200":
  27033. description: OK
  27034. schema:
  27035. items:
  27036. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27037. type: array
  27038. "500":
  27039. description: Internal Server Error
  27040. schema:
  27041. $ref: '#/definitions/app.Response'
  27042. security:
  27043. - ApiKeyAuth: []
  27044. summary: 查询待审核合同
  27045. tags:
  27046. - 风险管理v3
  27047. /Erms3/QueryPendingBusiness:
  27048. get:
  27049. parameters:
  27050. - description: 资金账号ID列表,逗号隔开
  27051. in: query
  27052. name: accountids
  27053. required: true
  27054. type: string
  27055. produces:
  27056. - application/json
  27057. responses:
  27058. "200":
  27059. description: OK
  27060. schema:
  27061. items:
  27062. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27063. type: array
  27064. "500":
  27065. description: Internal Server Error
  27066. schema:
  27067. $ref: '#/definitions/app.Response'
  27068. security:
  27069. - ApiKeyAuth: []
  27070. summary: 查询待审核基差贸易业务
  27071. tags:
  27072. - 风险管理v3
  27073. /Erms3/QuerySpotContractAppleForm:
  27074. get:
  27075. parameters:
  27076. - description: 登录账号
  27077. in: query
  27078. name: loginID
  27079. required: true
  27080. type: integer
  27081. produces:
  27082. - application/json
  27083. responses:
  27084. "200":
  27085. description: OK
  27086. schema:
  27087. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 查询合同申请表单数据
  27095. tags:
  27096. - 风险管理v3
  27097. /Erms3/QuerySpotContractDetail:
  27098. get:
  27099. parameters:
  27100. - description: 资金账号ID列表,用逗号分隔
  27101. in: query
  27102. name: accountids
  27103. required: true
  27104. type: string
  27105. - description: 合同类型,1为采购合同 -1为销售合同
  27106. in: query
  27107. name: contracttype
  27108. required: true
  27109. type: integer
  27110. - description: 合同模式,1为普通合同 2为回购销售合同
  27111. in: query
  27112. name: contractmode
  27113. required: true
  27114. type: integer
  27115. - description: 状态,0为履约中 1为已完成
  27116. in: query
  27117. name: status
  27118. required: true
  27119. type: integer
  27120. produces:
  27121. - application/json
  27122. responses:
  27123. "200":
  27124. description: OK
  27125. schema:
  27126. items:
  27127. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27128. type: array
  27129. "500":
  27130. description: Internal Server Error
  27131. schema:
  27132. $ref: '#/definitions/app.Response'
  27133. security:
  27134. - ApiKeyAuth: []
  27135. summary: 查询合同详细信息
  27136. tags:
  27137. - 风险管理v3
  27138. /Erms3/QueryUserInfoApplies:
  27139. get:
  27140. parameters:
  27141. - description: 页码
  27142. in: query
  27143. name: page
  27144. type: integer
  27145. - description: 每页条数
  27146. in: query
  27147. name: pagesize
  27148. type: integer
  27149. - description: 客户名称,支持模糊查询
  27150. in: query
  27151. name: userName
  27152. type: string
  27153. produces:
  27154. - application/json
  27155. responses:
  27156. "200":
  27157. description: OK
  27158. schema:
  27159. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27160. "500":
  27161. description: Internal Server Error
  27162. schema:
  27163. $ref: '#/definitions/app.Response'
  27164. security:
  27165. - ApiKeyAuth: []
  27166. summary: 客户申请信息查询
  27167. tags:
  27168. - 风险管理v3
  27169. /Erms3/QueryUserInfos:
  27170. get:
  27171. parameters:
  27172. - description: 页码
  27173. in: query
  27174. name: page
  27175. type: integer
  27176. - description: 每页条数
  27177. in: query
  27178. name: pagesize
  27179. type: integer
  27180. - description: 客户名称,支持模糊查询
  27181. in: query
  27182. name: userName
  27183. type: string
  27184. produces:
  27185. - application/json
  27186. responses:
  27187. "200":
  27188. description: OK
  27189. schema:
  27190. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27191. "500":
  27192. description: Internal Server Error
  27193. schema:
  27194. $ref: '#/definitions/app.Response'
  27195. security:
  27196. - ApiKeyAuth: []
  27197. summary: 客户信息查询
  27198. tags:
  27199. - 风险管理v3
  27200. /Guangzuan/GetGoods:
  27201. get:
  27202. parameters:
  27203. - description: 商品编号
  27204. in: query
  27205. name: goodsno
  27206. required: true
  27207. type: string
  27208. produces:
  27209. - application/json
  27210. responses:
  27211. "200":
  27212. description: OK
  27213. schema:
  27214. $ref: '#/definitions/models.GZGoods'
  27215. "500":
  27216. description: Internal Server Error
  27217. schema:
  27218. $ref: '#/definitions/app.Response'
  27219. security:
  27220. - ApiKeyAuth: []
  27221. - LoginID: []
  27222. - Group: []
  27223. summary: 获取钻石详情
  27224. tags:
  27225. - 广钻
  27226. /Guangzuan/GzCertAddressConfig:
  27227. get:
  27228. produces:
  27229. - application/json
  27230. responses:
  27231. "200":
  27232. description: OK
  27233. schema:
  27234. items:
  27235. $ref: '#/definitions/models.Gzcertaddressconfig'
  27236. type: array
  27237. "500":
  27238. description: Internal Server Error
  27239. schema:
  27240. $ref: '#/definitions/app.Response'
  27241. security:
  27242. - ApiKeyAuth: []
  27243. - LoginID: []
  27244. - Group: []
  27245. summary: Rapaport最新报价表(广钻)
  27246. tags:
  27247. - 广钻
  27248. /Guangzuan/GzCertAddressParam:
  27249. get:
  27250. produces:
  27251. - application/json
  27252. responses:
  27253. "200":
  27254. description: OK
  27255. schema:
  27256. items:
  27257. $ref: '#/definitions/models.Gzcertaddressparam'
  27258. type: array
  27259. "500":
  27260. description: Internal Server Error
  27261. schema:
  27262. $ref: '#/definitions/app.Response'
  27263. security:
  27264. - ApiKeyAuth: []
  27265. - LoginID: []
  27266. - Group: []
  27267. summary: 钻石证书地址参数
  27268. tags:
  27269. - 广钻
  27270. /Guangzuan/HomeData:
  27271. get:
  27272. parameters:
  27273. - description: 用户ID
  27274. in: query
  27275. name: userid
  27276. required: true
  27277. type: integer
  27278. produces:
  27279. - application/json
  27280. responses:
  27281. "200":
  27282. description: OK
  27283. schema:
  27284. $ref: '#/definitions/models.GZHomeData'
  27285. "500":
  27286. description: Internal Server Error
  27287. schema:
  27288. $ref: '#/definitions/app.Response'
  27289. security:
  27290. - ApiKeyAuth: []
  27291. - LoginID: []
  27292. - Group: []
  27293. summary: 首页统计数据
  27294. tags:
  27295. - 广钻
  27296. /Guangzuan/PriceCalc:
  27297. get:
  27298. parameters:
  27299. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  27300. in: query
  27301. name: zsshape
  27302. required: true
  27303. type: integer
  27304. - description: 颜色(D-M)
  27305. in: query
  27306. name: zscolor
  27307. required: true
  27308. type: string
  27309. - description: 净度
  27310. in: query
  27311. name: zsclarity
  27312. required: true
  27313. type: string
  27314. - description: 重量
  27315. in: query
  27316. name: weight
  27317. required: true
  27318. type: number
  27319. - description: 汇率
  27320. in: query
  27321. name: rate
  27322. required: true
  27323. type: number
  27324. - description: 折扣(%), 方向(加:10, 减:-10 )
  27325. in: query
  27326. name: discount
  27327. type: number
  27328. produces:
  27329. - application/json
  27330. responses:
  27331. "200":
  27332. description: OK
  27333. schema:
  27334. items:
  27335. $ref: '#/definitions/models.Gzrapaportprice'
  27336. type: array
  27337. "500":
  27338. description: Internal Server Error
  27339. schema:
  27340. $ref: '#/definitions/app.Response'
  27341. security:
  27342. - ApiKeyAuth: []
  27343. - LoginID: []
  27344. - Group: []
  27345. summary: 钻石价格计算器
  27346. tags:
  27347. - 广钻
  27348. /Guangzuan/QueryBuyOrder:
  27349. get:
  27350. parameters:
  27351. - description: 页码
  27352. in: query
  27353. name: page
  27354. type: integer
  27355. - description: 每页条数
  27356. in: query
  27357. name: pagesize
  27358. type: integer
  27359. - description: 商品(查询字段-模糊查询)
  27360. in: query
  27361. name: zsallproperties
  27362. type: string
  27363. - description: 钻石分类, 格式:1,2,3
  27364. in: query
  27365. name: zscategorys
  27366. type: string
  27367. - description: 委托单号
  27368. in: query
  27369. name: wrtradeorderid
  27370. type: integer
  27371. - description: 买方(查询字段-模糊查询)
  27372. in: query
  27373. name: buyusername
  27374. type: string
  27375. produces:
  27376. - application/json
  27377. responses:
  27378. "200":
  27379. description: OK
  27380. schema:
  27381. items:
  27382. $ref: '#/definitions/models.BuyOrder'
  27383. type: array
  27384. "500":
  27385. description: Internal Server Error
  27386. schema:
  27387. $ref: '#/definitions/app.Response'
  27388. security:
  27389. - ApiKeyAuth: []
  27390. - LoginID: []
  27391. - Group: []
  27392. summary: 查询求购大厅委托单
  27393. tags:
  27394. - 广钻
  27395. /Guangzuan/QueryDiamond:
  27396. post:
  27397. parameters:
  27398. - description: 钻石搜索入参
  27399. in: body
  27400. name: data
  27401. required: true
  27402. schema:
  27403. $ref: '#/definitions/models.SellOrderQueryReq'
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.SellOrder'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. - LoginID: []
  27420. - Group: []
  27421. summary: 钻石搜索
  27422. tags:
  27423. - 广钻
  27424. /Guangzuan/QueryMyBargainApply:
  27425. get:
  27426. parameters:
  27427. - description: 用户ID
  27428. in: query
  27429. name: userid
  27430. required: true
  27431. type: integer
  27432. - description: 页码
  27433. in: query
  27434. name: page
  27435. type: integer
  27436. - description: 每页条数
  27437. in: query
  27438. name: pagesize
  27439. type: integer
  27440. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27441. in: query
  27442. name: applystatus
  27443. type: integer
  27444. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27445. in: query
  27446. name: type
  27447. type: integer
  27448. - description: 关联委托单ID
  27449. in: query
  27450. name: wrtradeorderid
  27451. type: string
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. items:
  27459. $ref: '#/definitions/models.MyBargainApply'
  27460. type: array
  27461. "500":
  27462. description: Internal Server Error
  27463. schema:
  27464. $ref: '#/definitions/app.Response'
  27465. security:
  27466. - ApiKeyAuth: []
  27467. - LoginID: []
  27468. - Group: []
  27469. summary: 查询询价-求购
  27470. tags:
  27471. - 广钻
  27472. /Guangzuan/QueryMyBuyOrder:
  27473. get:
  27474. parameters:
  27475. - description: 用户ID
  27476. in: query
  27477. name: userid
  27478. required: true
  27479. type: integer
  27480. - description: 页码
  27481. in: query
  27482. name: page
  27483. type: integer
  27484. - description: 每页条数
  27485. in: query
  27486. name: pagesize
  27487. type: integer
  27488. - description: 商品(查询字段-模糊查询)
  27489. in: query
  27490. name: zsallproperties
  27491. type: string
  27492. - description: 钻石分类, 格式:1,2,3
  27493. in: query
  27494. name: zscategorys
  27495. type: string
  27496. - description: 委托单号
  27497. in: query
  27498. name: wrtradeorderid
  27499. type: integer
  27500. - description: 是否历史查询
  27501. in: query
  27502. name: ishis
  27503. type: boolean
  27504. - description: 开始交易日(yyyymmdd)
  27505. in: query
  27506. name: begindate
  27507. type: string
  27508. - description: 结束交易日(yyyymmdd)
  27509. in: query
  27510. name: enddate
  27511. type: string
  27512. produces:
  27513. - application/json
  27514. responses:
  27515. "200":
  27516. description: OK
  27517. schema:
  27518. items:
  27519. $ref: '#/definitions/models.MyBuyOrder'
  27520. type: array
  27521. "500":
  27522. description: Internal Server Error
  27523. schema:
  27524. $ref: '#/definitions/app.Response'
  27525. security:
  27526. - ApiKeyAuth: []
  27527. - LoginID: []
  27528. - Group: []
  27529. summary: 查询我的求购
  27530. tags:
  27531. - 广钻
  27532. /Guangzuan/QueryMyDeListing:
  27533. get:
  27534. parameters:
  27535. - description: 用户ID
  27536. in: query
  27537. name: userid
  27538. required: true
  27539. type: integer
  27540. - description: 页码
  27541. in: query
  27542. name: page
  27543. type: integer
  27544. - description: 每页条数
  27545. in: query
  27546. name: pagesize
  27547. type: integer
  27548. - description: 商品(查询字段-模糊查询)
  27549. in: query
  27550. name: zsallproperties
  27551. type: string
  27552. - description: 钻石分类, 格式:1,2,3
  27553. in: query
  27554. name: zscategorys
  27555. type: string
  27556. - description: 成交单号
  27557. in: query
  27558. name: wrtradedetailid
  27559. type: integer
  27560. - description: 方向,0-购买 1-出售
  27561. in: query
  27562. name: buyorsell
  27563. type: integer
  27564. - description: 对手方(模糊匹配)
  27565. in: query
  27566. name: matchusername
  27567. type: string
  27568. - description: 开始交易日(yyyymmdd)
  27569. in: query
  27570. name: begindate
  27571. type: string
  27572. - description: 结束交易日(yyyymmdd)
  27573. in: query
  27574. name: enddate
  27575. type: string
  27576. produces:
  27577. - application/json
  27578. responses:
  27579. "200":
  27580. description: OK
  27581. schema:
  27582. items:
  27583. $ref: '#/definitions/models.MyDeListing'
  27584. type: array
  27585. "500":
  27586. description: Internal Server Error
  27587. schema:
  27588. $ref: '#/definitions/app.Response'
  27589. security:
  27590. - ApiKeyAuth: []
  27591. - LoginID: []
  27592. - Group: []
  27593. summary: 查询我的摘牌
  27594. tags:
  27595. - 广钻
  27596. /Guangzuan/QueryMyDelistingApply:
  27597. get:
  27598. parameters:
  27599. - description: 用户ID
  27600. in: query
  27601. name: userid
  27602. required: true
  27603. type: integer
  27604. - description: 页码
  27605. in: query
  27606. name: page
  27607. type: integer
  27608. - description: 每页条数
  27609. in: query
  27610. name: pagesize
  27611. type: integer
  27612. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27613. in: query
  27614. name: applystatus
  27615. type: integer
  27616. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27617. in: query
  27618. name: type
  27619. type: integer
  27620. - description: 买委托单ID
  27621. in: query
  27622. name: buywrtradeorderid
  27623. type: string
  27624. produces:
  27625. - application/json
  27626. responses:
  27627. "200":
  27628. description: OK
  27629. schema:
  27630. items:
  27631. $ref: '#/definitions/models.MyDelistingApply'
  27632. type: array
  27633. "500":
  27634. description: Internal Server Error
  27635. schema:
  27636. $ref: '#/definitions/app.Response'
  27637. security:
  27638. - ApiKeyAuth: []
  27639. - LoginID: []
  27640. - Group: []
  27641. summary: 查询询价-出售
  27642. tags:
  27643. - 广钻
  27644. /Guangzuan/QueryMyFavorite:
  27645. get:
  27646. parameters:
  27647. - description: 用户ID
  27648. in: query
  27649. name: userid
  27650. required: true
  27651. type: integer
  27652. - description: 页码
  27653. in: query
  27654. name: page
  27655. type: integer
  27656. - description: 每页条数
  27657. in: query
  27658. name: pagesize
  27659. type: integer
  27660. - description: 钻石分类, 格式:1,2,3
  27661. in: query
  27662. name: zscategorys
  27663. type: string
  27664. produces:
  27665. - application/json
  27666. responses:
  27667. "200":
  27668. description: OK
  27669. schema:
  27670. items:
  27671. $ref: '#/definitions/models.MyFavorite'
  27672. type: array
  27673. "500":
  27674. description: Internal Server Error
  27675. schema:
  27676. $ref: '#/definitions/app.Response'
  27677. security:
  27678. - ApiKeyAuth: []
  27679. - LoginID: []
  27680. - Group: []
  27681. summary: 查询我的收藏
  27682. tags:
  27683. - 广钻
  27684. /Guangzuan/QueryMyPerformanc:
  27685. get:
  27686. parameters:
  27687. - description: 用户ID
  27688. in: query
  27689. name: userid
  27690. required: true
  27691. type: integer
  27692. - description: 页码
  27693. in: query
  27694. name: page
  27695. type: integer
  27696. - description: 每页条数
  27697. in: query
  27698. name: pagesize
  27699. type: integer
  27700. - description: 商品(查询字段-模糊查询)
  27701. in: query
  27702. name: zsallproperties
  27703. type: string
  27704. - description: 方向,0-买 1-卖
  27705. in: query
  27706. name: buyorsell
  27707. type: integer
  27708. - description: 是否历史查询
  27709. in: query
  27710. name: ishis
  27711. type: boolean
  27712. - description: 开始交易日(yyyymmdd)
  27713. in: query
  27714. name: begindate
  27715. type: string
  27716. - description: 结束交易日(yyyymmdd)
  27717. in: query
  27718. name: enddate
  27719. type: string
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/models.MyPerformanc'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. - LoginID: []
  27736. - Group: []
  27737. summary: 查询我的履约
  27738. tags:
  27739. - 广钻
  27740. /Guangzuan/QueryMySellOrder:
  27741. get:
  27742. parameters:
  27743. - description: 用户ID
  27744. in: query
  27745. name: userid
  27746. required: true
  27747. type: integer
  27748. - description: 页码
  27749. in: query
  27750. name: page
  27751. type: integer
  27752. - description: 每页条数
  27753. in: query
  27754. name: pagesize
  27755. type: integer
  27756. - description: 商品(查询字段-模糊查询)
  27757. in: query
  27758. name: zsallproperties
  27759. type: string
  27760. - description: 钻石分类, 格式:1,2,3
  27761. in: query
  27762. name: zscategorys
  27763. type: string
  27764. - description: 委托单号
  27765. in: query
  27766. name: wrtradeorderid
  27767. type: integer
  27768. - description: 是否历史查询
  27769. in: query
  27770. name: ishis
  27771. type: boolean
  27772. - description: 开始交易日(yyyymmdd)
  27773. in: query
  27774. name: begindate
  27775. type: string
  27776. - description: 结束交易日(yyyymmdd)
  27777. in: query
  27778. name: enddate
  27779. type: string
  27780. produces:
  27781. - application/json
  27782. responses:
  27783. "200":
  27784. description: OK
  27785. schema:
  27786. items:
  27787. $ref: '#/definitions/models.MySellOrder'
  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. /Guangzuan/QueryMyWRPosition:
  27801. get:
  27802. parameters:
  27803. - description: 页码
  27804. in: query
  27805. name: page
  27806. type: integer
  27807. - description: 每页条数
  27808. in: query
  27809. name: pagesize
  27810. type: integer
  27811. - description: 登录用户ID
  27812. in: query
  27813. name: wruserid
  27814. required: true
  27815. type: integer
  27816. - description: 商品(查询字段-模糊查询)
  27817. in: query
  27818. name: zsallproperties
  27819. type: string
  27820. - description: 钻石分类, 格式:1,2,3
  27821. in: query
  27822. name: zscategorys
  27823. type: string
  27824. - description: 仓库ID
  27825. in: query
  27826. name: warehouseid
  27827. type: integer
  27828. - description: 是否上架,0-全部 1-是 2-否
  27829. in: query
  27830. name: marketflag
  27831. type: integer
  27832. produces:
  27833. - application/json
  27834. responses:
  27835. "200":
  27836. description: OK
  27837. schema:
  27838. items:
  27839. $ref: '#/definitions/models.MyWRPosition'
  27840. type: array
  27841. "500":
  27842. description: Internal Server Error
  27843. schema:
  27844. $ref: '#/definitions/app.Response'
  27845. security:
  27846. - ApiKeyAuth: []
  27847. - LoginID: []
  27848. - Group: []
  27849. summary: 查询我的库存
  27850. tags:
  27851. - 广钻
  27852. /Guangzuan/QuerySellOrder:
  27853. get:
  27854. parameters:
  27855. - description: 页码
  27856. in: query
  27857. name: page
  27858. type: integer
  27859. - description: 每页条数
  27860. in: query
  27861. name: pagesize
  27862. type: integer
  27863. - description: 商品(查询字段-模糊查询)
  27864. in: query
  27865. name: zsallproperties
  27866. type: string
  27867. - description: 钻石分类, 格式:1,2,3
  27868. in: query
  27869. name: zscategorys
  27870. type: string
  27871. - description: 委托单号
  27872. in: query
  27873. name: wrtradeorderid
  27874. type: integer
  27875. - description: 卖方(查询字段-模糊查询)
  27876. in: query
  27877. name: buyusername
  27878. type: string
  27879. produces:
  27880. - application/json
  27881. responses:
  27882. "200":
  27883. description: OK
  27884. schema:
  27885. items:
  27886. $ref: '#/definitions/models.SellOrder'
  27887. type: array
  27888. "500":
  27889. description: Internal Server Error
  27890. schema:
  27891. $ref: '#/definitions/app.Response'
  27892. security:
  27893. - ApiKeyAuth: []
  27894. - LoginID: []
  27895. - Group: []
  27896. summary: 查询出售大厅委托单
  27897. tags:
  27898. - 广钻
  27899. /Guangzuan/QueryWarehouseInfo:
  27900. get:
  27901. parameters:
  27902. - description: 页码
  27903. in: query
  27904. name: page
  27905. type: integer
  27906. - description: 每页条数
  27907. in: query
  27908. name: pagesize
  27909. type: integer
  27910. - description: 用户ID
  27911. in: query
  27912. name: userid
  27913. required: true
  27914. type: integer
  27915. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27916. in: query
  27917. name: status
  27918. type: string
  27919. - description: 是返回交易所仓库
  27920. in: query
  27921. name: isincludeexchange
  27922. type: boolean
  27923. produces:
  27924. - application/json
  27925. responses:
  27926. "200":
  27927. description: OK
  27928. schema:
  27929. items:
  27930. $ref: '#/definitions/models.GZWarehouseinfo'
  27931. type: array
  27932. "500":
  27933. description: Internal Server Error
  27934. schema:
  27935. $ref: '#/definitions/app.Response'
  27936. security:
  27937. - ApiKeyAuth: []
  27938. - LoginID: []
  27939. - Group: []
  27940. summary: 查询仓库信息
  27941. tags:
  27942. - 广钻
  27943. /Market/GetAllExExchanges:
  27944. get:
  27945. produces:
  27946. - application/json
  27947. responses:
  27948. "200":
  27949. description: OK
  27950. schema:
  27951. $ref: '#/definitions/models.Goods'
  27952. "500":
  27953. description: Internal Server Error
  27954. schema:
  27955. $ref: '#/definitions/app.Response'
  27956. security:
  27957. - ApiKeyAuth: []
  27958. summary: 获取所有外部交易所信息
  27959. tags:
  27960. - 通用市场
  27961. /Market/QueryGoodsesByLoginID:
  27962. get:
  27963. parameters:
  27964. - description: 登录账号
  27965. in: query
  27966. name: loginID
  27967. required: true
  27968. type: integer
  27969. - description: 市场ID列表,格式:1,2,3
  27970. in: query
  27971. name: marketIDs
  27972. type: string
  27973. produces:
  27974. - application/json
  27975. responses:
  27976. "200":
  27977. description: OK
  27978. schema:
  27979. $ref: '#/definitions/models.Goods'
  27980. "500":
  27981. description: Internal Server Error
  27982. schema:
  27983. $ref: '#/definitions/app.Response'
  27984. security:
  27985. - ApiKeyAuth: []
  27986. summary: 获取登录账号有权限的商品信息
  27987. tags:
  27988. - 通用市场
  27989. /Market/QueryMarketRun:
  27990. get:
  27991. parameters:
  27992. - description: 市场ID,不传返回所有
  27993. in: query
  27994. name: marketID
  27995. type: integer
  27996. produces:
  27997. - application/json
  27998. responses:
  27999. "200":
  28000. description: OK
  28001. schema:
  28002. $ref: '#/definitions/models.Marketrun'
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 查询市场运行信息
  28010. tags:
  28011. - 通用市场
  28012. /Market/QueryMarketsByLoginID:
  28013. get:
  28014. parameters:
  28015. - description: 登录账号
  28016. in: query
  28017. name: loginID
  28018. required: true
  28019. type: integer
  28020. produces:
  28021. - application/json
  28022. responses:
  28023. "200":
  28024. description: OK
  28025. schema:
  28026. $ref: '#/definitions/models.Market'
  28027. "500":
  28028. description: Internal Server Error
  28029. schema:
  28030. $ref: '#/definitions/app.Response'
  28031. security:
  28032. - ApiKeyAuth: []
  28033. summary: 获取登录账号有权限的市场信息
  28034. tags:
  28035. - 通用市场
  28036. /Order/QueryHisTradeDetail:
  28037. get:
  28038. parameters:
  28039. - description: 资金账户 - 格式:1,2,3
  28040. in: query
  28041. name: accountID
  28042. required: true
  28043. type: string
  28044. - description: 成交单号
  28045. in: query
  28046. name: tradeID
  28047. type: integer
  28048. - description: 委托单号
  28049. in: query
  28050. name: orderID
  28051. type: integer
  28052. - description: 商品ID
  28053. in: query
  28054. name: goodsID
  28055. type: integer
  28056. - description: 交易模式 - 格式:1,2,3
  28057. in: query
  28058. name: tradeMode
  28059. type: string
  28060. - description: 委托单据类型
  28061. in: query
  28062. name: buildType
  28063. type: integer
  28064. - description: 成交类别 - 格式:1,2,3
  28065. in: query
  28066. name: tradeType
  28067. type: string
  28068. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28069. in: query
  28070. name: startDate
  28071. type: string
  28072. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28073. in: query
  28074. name: endDate
  28075. type: string
  28076. produces:
  28077. - application/json
  28078. responses:
  28079. "200":
  28080. description: OK
  28081. schema:
  28082. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28083. "500":
  28084. description: Internal Server Error
  28085. schema:
  28086. $ref: '#/definitions/app.Response'
  28087. security:
  28088. - ApiKeyAuth: []
  28089. summary: 历史成交单查询(合约市场)
  28090. tags:
  28091. - 通用单据
  28092. /Order/QueryHisTradeOrderDetail:
  28093. get:
  28094. parameters:
  28095. - description: 资金账户 - 格式:1,2,3
  28096. in: query
  28097. name: accountID
  28098. required: true
  28099. type: string
  28100. - description: 交易模式 - 格式:1,2,3
  28101. in: query
  28102. name: tradeMode
  28103. type: string
  28104. - description: 委托状态 - 格式:1,2,3
  28105. in: query
  28106. name: orderStatus
  28107. type: string
  28108. - description: 委托单号
  28109. in: query
  28110. name: orderID
  28111. type: integer
  28112. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28113. in: query
  28114. name: startDate
  28115. type: string
  28116. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28117. in: query
  28118. name: endDate
  28119. type: string
  28120. produces:
  28121. - application/json
  28122. responses:
  28123. "200":
  28124. description: OK
  28125. schema:
  28126. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28127. "500":
  28128. description: Internal Server Error
  28129. schema:
  28130. $ref: '#/definitions/app.Response'
  28131. security:
  28132. - ApiKeyAuth: []
  28133. summary: 历史委托单查询请求(合约市场)
  28134. tags:
  28135. - 通用单据
  28136. /Order/QueryTradeDetail:
  28137. get:
  28138. parameters:
  28139. - description: 资金账户 - 格式:1,2,3
  28140. in: query
  28141. name: accountID
  28142. required: true
  28143. type: string
  28144. - description: 成交单号
  28145. in: query
  28146. name: tradeID
  28147. type: integer
  28148. - description: 委托单号
  28149. in: query
  28150. name: orderID
  28151. type: integer
  28152. - description: 交易模式 - 格式:1,2,3
  28153. in: query
  28154. name: tradeMode
  28155. type: string
  28156. - description: 委托单据类型
  28157. in: query
  28158. name: buildType
  28159. type: integer
  28160. - description: 成交类别 - 格式:1,2,3
  28161. in: query
  28162. name: tradeType
  28163. type: string
  28164. - description: 商品ID
  28165. in: query
  28166. name: goodsID
  28167. type: integer
  28168. produces:
  28169. - application/json
  28170. responses:
  28171. "200":
  28172. description: OK
  28173. schema:
  28174. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. summary: 成交单查询(合约市场)
  28182. tags:
  28183. - 通用单据
  28184. /Order/QueryTradeHolderDetail:
  28185. get:
  28186. parameters:
  28187. - description: 用户id
  28188. in: query
  28189. name: userid
  28190. type: integer
  28191. - description: 资金账号, 格式 1,2,3
  28192. in: query
  28193. name: accids
  28194. type: string
  28195. - description: 交易模式, 格式 1,2,3
  28196. in: query
  28197. name: trademodes
  28198. type: string
  28199. - description: 市场id, 格式 1,2,3
  28200. in: query
  28201. name: marketids
  28202. type: string
  28203. - description: 商品id
  28204. in: query
  28205. name: goodsid
  28206. type: integer
  28207. - description: 买卖方向 0-买 1-卖
  28208. in: query
  28209. name: buyorsell
  28210. type: integer
  28211. produces:
  28212. - application/json
  28213. responses:
  28214. "200":
  28215. description: OK
  28216. schema:
  28217. items:
  28218. $ref: '#/definitions/models.TradeHolderDetail'
  28219. type: array
  28220. "500":
  28221. description: Internal Server Error
  28222. schema:
  28223. $ref: '#/definitions/app.Response'
  28224. security:
  28225. - ApiKeyAuth: []
  28226. summary: 查询持仓明细
  28227. tags:
  28228. - 通用单据
  28229. /Order/QueryTradeOrderDetail:
  28230. get:
  28231. parameters:
  28232. - description: 资金账户 - 格式:1,2,3
  28233. in: query
  28234. name: accountID
  28235. required: true
  28236. type: string
  28237. - description: 交易模式 - 格式:1,2,3
  28238. in: query
  28239. name: tradeMode
  28240. type: string
  28241. - description: 委托状态 - 格式:1,2,3
  28242. in: query
  28243. name: orderStatus
  28244. type: string
  28245. - description: 委托单号
  28246. in: query
  28247. name: orderID
  28248. type: integer
  28249. produces:
  28250. - application/json
  28251. responses:
  28252. "200":
  28253. description: OK
  28254. schema:
  28255. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28256. "500":
  28257. description: Internal Server Error
  28258. schema:
  28259. $ref: '#/definitions/app.Response'
  28260. security:
  28261. - ApiKeyAuth: []
  28262. summary: 委托单查询请求(合约市场)
  28263. tags:
  28264. - 通用单据
  28265. /Order/QueryTradePosition:
  28266. get:
  28267. parameters:
  28268. - description: 资金账户 - 格式:1,2,3
  28269. in: query
  28270. name: accountID
  28271. required: true
  28272. type: string
  28273. - description: 交易模式 - 格式:1,2,3
  28274. in: query
  28275. name: tradeMode
  28276. type: string
  28277. produces:
  28278. - application/json
  28279. responses:
  28280. "200":
  28281. description: OK
  28282. schema:
  28283. $ref: '#/definitions/order.QueryTradePositionRsp'
  28284. "500":
  28285. description: Internal Server Error
  28286. schema:
  28287. $ref: '#/definitions/app.Response'
  28288. security:
  28289. - ApiKeyAuth: []
  28290. summary: 持仓汇总查询(合约市场)
  28291. tags:
  28292. - 通用单据
  28293. /Qhj/QueryAccountInOutApply:
  28294. get:
  28295. parameters:
  28296. - description: 用户ID
  28297. in: query
  28298. name: userid
  28299. required: true
  28300. type: integer
  28301. - description: 申请起始日期(格式yyyymmdd)
  28302. in: query
  28303. name: begindate
  28304. type: string
  28305. - description: 申请截止日期(格式yyyymmdd)
  28306. in: query
  28307. name: enddate
  28308. type: string
  28309. - description: 模糊搜索名称
  28310. in: query
  28311. name: likename
  28312. type: string
  28313. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28314. in: query
  28315. name: applystatus
  28316. type: integer
  28317. - description: 查询类型 1-提现(出金) 2-充值(入金)
  28318. in: query
  28319. name: querytype
  28320. type: integer
  28321. produces:
  28322. - application/json
  28323. responses:
  28324. "200":
  28325. description: OK
  28326. schema:
  28327. items:
  28328. $ref: '#/definitions/models.QhjAccountOutInApply'
  28329. type: array
  28330. "500":
  28331. description: Internal Server Error
  28332. schema:
  28333. $ref: '#/definitions/app.Response'
  28334. security:
  28335. - ApiKeyAuth: []
  28336. summary: 查询充值提现
  28337. tags:
  28338. - 大连千海金
  28339. /Qhj/QueryAreaFinanceConfig:
  28340. get:
  28341. parameters:
  28342. - description: 机构用户ID 其他做市关系,都设置为 1
  28343. in: query
  28344. name: userid
  28345. type: integer
  28346. produces:
  28347. - application/json
  28348. responses:
  28349. "200":
  28350. description: OK
  28351. schema:
  28352. items:
  28353. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28354. type: array
  28355. "500":
  28356. description: Internal Server Error
  28357. schema:
  28358. $ref: '#/definitions/app.Response'
  28359. security:
  28360. - ApiKeyAuth: []
  28361. summary: 查询企业配置表
  28362. tags:
  28363. - 大连千海金
  28364. /Qhj/QueryBankAccountSign:
  28365. get:
  28366. parameters:
  28367. - description: 用户ID
  28368. in: query
  28369. name: userid
  28370. required: true
  28371. type: integer
  28372. produces:
  28373. - application/json
  28374. responses:
  28375. "200":
  28376. description: OK
  28377. schema:
  28378. items:
  28379. $ref: '#/definitions/models.QhjBankAccountSign'
  28380. type: array
  28381. "500":
  28382. description: Internal Server Error
  28383. schema:
  28384. $ref: '#/definitions/app.Response'
  28385. security:
  28386. - ApiKeyAuth: []
  28387. summary: 查询签约银行信息(提现账户管理)
  28388. tags:
  28389. - 大连千海金
  28390. /Qhj/QueryBankInfo:
  28391. get:
  28392. produces:
  28393. - application/json
  28394. responses:
  28395. "200":
  28396. description: OK
  28397. schema:
  28398. items:
  28399. $ref: '#/definitions/models.QhjBankInfo'
  28400. type: array
  28401. "500":
  28402. description: Internal Server Error
  28403. schema:
  28404. $ref: '#/definitions/app.Response'
  28405. security:
  28406. - ApiKeyAuth: []
  28407. summary: 查询开户行
  28408. tags:
  28409. - 大连千海金
  28410. /Qhj/QueryBrokerApply:
  28411. get:
  28412. parameters:
  28413. - description: 所属机构ID
  28414. in: query
  28415. name: userid
  28416. type: integer
  28417. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28418. in: query
  28419. name: filterstatus
  28420. type: string
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. items:
  28428. $ref: '#/definitions/models.QhjBrokerApply'
  28429. type: array
  28430. "500":
  28431. description: Internal Server Error
  28432. schema:
  28433. $ref: '#/definitions/app.Response'
  28434. security:
  28435. - ApiKeyAuth: []
  28436. summary: 查询经纪人申请
  28437. tags:
  28438. - 大连千海金
  28439. /Qhj/QueryBrokerApplyEx:
  28440. get:
  28441. parameters:
  28442. - description: 所属机构ID
  28443. in: query
  28444. name: userid
  28445. type: integer
  28446. produces:
  28447. - application/json
  28448. responses:
  28449. "200":
  28450. description: OK
  28451. schema:
  28452. items:
  28453. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28454. type: array
  28455. "500":
  28456. description: Internal Server Error
  28457. schema:
  28458. $ref: '#/definitions/app.Response'
  28459. security:
  28460. - ApiKeyAuth: []
  28461. summary: 查询经纪人信息和申请记录
  28462. tags:
  28463. - 大连千海金
  28464. /Qhj/QueryBrokerRewardLog:
  28465. get:
  28466. parameters:
  28467. - description: 用户ID
  28468. in: query
  28469. name: userid
  28470. required: true
  28471. type: integer
  28472. - description: 开始交易日(yyyymmdd)
  28473. in: query
  28474. name: begindate
  28475. type: string
  28476. - description: 结束交易日(yyyymmdd)
  28477. in: query
  28478. name: enddate
  28479. type: string
  28480. produces:
  28481. - application/json
  28482. responses:
  28483. "200":
  28484. description: OK
  28485. schema:
  28486. items:
  28487. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28488. type: array
  28489. "500":
  28490. description: Internal Server Error
  28491. schema:
  28492. $ref: '#/definitions/app.Response'
  28493. security:
  28494. - ApiKeyAuth: []
  28495. summary: 查询奖励流水(我的奖励)
  28496. tags:
  28497. - 大连千海金
  28498. /Qhj/QueryContract:
  28499. get:
  28500. parameters:
  28501. - description: 用户ID
  28502. in: query
  28503. name: userid
  28504. type: integer
  28505. - description: scf合同id
  28506. in: query
  28507. name: scfcontractid
  28508. type: integer
  28509. produces:
  28510. - application/json
  28511. responses:
  28512. "200":
  28513. description: OK
  28514. schema:
  28515. items:
  28516. $ref: '#/definitions/models.QhjContract'
  28517. type: array
  28518. "500":
  28519. description: Internal Server Error
  28520. schema:
  28521. $ref: '#/definitions/app.Response'
  28522. security:
  28523. - ApiKeyAuth: []
  28524. summary: 查询融资明细(合同)
  28525. tags:
  28526. - 大连千海金
  28527. /Qhj/QueryContractLog:
  28528. get:
  28529. parameters:
  28530. - description: scf合同id
  28531. in: query
  28532. name: scfcontractid
  28533. required: true
  28534. type: integer
  28535. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28536. in: query
  28537. name: amounttype
  28538. type: string
  28539. produces:
  28540. - application/json
  28541. responses:
  28542. "200":
  28543. description: OK
  28544. schema:
  28545. items:
  28546. $ref: '#/definitions/models.QhjContractLog'
  28547. type: array
  28548. "500":
  28549. description: Internal Server Error
  28550. schema:
  28551. $ref: '#/definitions/app.Response'
  28552. security:
  28553. - ApiKeyAuth: []
  28554. summary: 查询融资明细流水(融资明细详情页中的流水)
  28555. tags:
  28556. - 大连千海金
  28557. /Qhj/QueryCusBankSignBank:
  28558. get:
  28559. produces:
  28560. - application/json
  28561. responses:
  28562. "200":
  28563. description: OK
  28564. schema:
  28565. items:
  28566. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28567. type: array
  28568. "500":
  28569. description: Internal Server Error
  28570. schema:
  28571. $ref: '#/definitions/app.Response'
  28572. security:
  28573. - ApiKeyAuth: []
  28574. summary: 查询托管银行
  28575. tags:
  28576. - 大连千海金
  28577. /Qhj/QueryCustomerInfo:
  28578. get:
  28579. parameters:
  28580. - description: 用户ID
  28581. in: query
  28582. name: userid
  28583. required: true
  28584. type: integer
  28585. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28586. in: query
  28587. name: querytype
  28588. required: true
  28589. type: integer
  28590. - description: 客户类型 1-个人 2-企业
  28591. in: query
  28592. name: userinfotype
  28593. type: integer
  28594. - description: 客户名称(模糊匹配)
  28595. in: query
  28596. name: customername
  28597. type: string
  28598. - description: 昵称(模糊匹配)
  28599. in: query
  28600. name: nickname
  28601. type: string
  28602. - description: 是否包含子级 1-包含
  28603. in: query
  28604. name: includesub
  28605. type: integer
  28606. produces:
  28607. - application/json
  28608. responses:
  28609. "200":
  28610. description: OK
  28611. schema:
  28612. items:
  28613. $ref: '#/definitions/models.QhjCustomer'
  28614. type: array
  28615. "500":
  28616. description: Internal Server Error
  28617. schema:
  28618. $ref: '#/definitions/app.Response'
  28619. security:
  28620. - ApiKeyAuth: []
  28621. summary: 查询客户资料
  28622. tags:
  28623. - 大连千海金
  28624. /Qhj/QueryGoodsEx:
  28625. get:
  28626. parameters:
  28627. - description: 商品id
  28628. in: query
  28629. name: goodsid
  28630. type: integer
  28631. produces:
  28632. - application/json
  28633. responses:
  28634. "200":
  28635. description: OK
  28636. schema:
  28637. items:
  28638. $ref: '#/definitions/models.Qhjgoodsex'
  28639. type: array
  28640. "500":
  28641. description: Internal Server Error
  28642. schema:
  28643. $ref: '#/definitions/app.Response'
  28644. security:
  28645. - ApiKeyAuth: []
  28646. summary: 交易商品扩展表
  28647. tags:
  28648. - 大连千海金
  28649. /Qhj/QueryMyTeam:
  28650. get:
  28651. parameters:
  28652. - description: 用户ID
  28653. in: query
  28654. name: userid
  28655. required: true
  28656. type: integer
  28657. produces:
  28658. - application/json
  28659. responses:
  28660. "200":
  28661. description: OK
  28662. schema:
  28663. items:
  28664. $ref: '#/definitions/models.QhjMyTeamEx'
  28665. type: array
  28666. "500":
  28667. description: Internal Server Error
  28668. schema:
  28669. $ref: '#/definitions/app.Response'
  28670. security:
  28671. - ApiKeyAuth: []
  28672. summary: 查询我的团队
  28673. tags:
  28674. - 大连千海金
  28675. /Qhj/QueryMyTeamOrder:
  28676. get:
  28677. parameters:
  28678. - description: 页码
  28679. in: query
  28680. name: page
  28681. type: integer
  28682. - description: 每页条数
  28683. in: query
  28684. name: pagesize
  28685. type: integer
  28686. - description: 用户ID
  28687. in: query
  28688. name: userid
  28689. required: true
  28690. type: integer
  28691. - description: 交易模式
  28692. in: query
  28693. name: trademode
  28694. type: integer
  28695. - description: 名称(模糊搜索账户)
  28696. in: query
  28697. name: filtername
  28698. type: string
  28699. produces:
  28700. - application/json
  28701. responses:
  28702. "200":
  28703. description: OK
  28704. schema:
  28705. items:
  28706. $ref: '#/definitions/models.QhjTeamOrder'
  28707. type: array
  28708. "500":
  28709. description: Internal Server Error
  28710. schema:
  28711. $ref: '#/definitions/app.Response'
  28712. security:
  28713. - ApiKeyAuth: []
  28714. summary: 查询团队订单(我的团队/团队订单)
  28715. tags:
  28716. - 大连千海金
  28717. /Qhj/QueryParentAreaList:
  28718. get:
  28719. parameters:
  28720. - description: 用户ID
  28721. in: query
  28722. name: userid
  28723. required: true
  28724. type: integer
  28725. produces:
  28726. - application/json
  28727. responses:
  28728. "200":
  28729. description: OK
  28730. schema:
  28731. items:
  28732. $ref: '#/definitions/models.QhjParentAreaList'
  28733. type: array
  28734. "500":
  28735. description: Internal Server Error
  28736. schema:
  28737. $ref: '#/definitions/app.Response'
  28738. security:
  28739. - ApiKeyAuth: []
  28740. summary: 查询所属机构列表
  28741. tags:
  28742. - 大连千海金
  28743. /Qhj/QueryPayOrder:
  28744. get:
  28745. parameters:
  28746. - description: 资金账号id
  28747. in: query
  28748. name: accountid
  28749. required: true
  28750. type: integer
  28751. - description: 成交单号
  28752. in: query
  28753. name: tradeid
  28754. type: integer
  28755. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28756. in: query
  28757. name: payflag
  28758. type: string
  28759. produces:
  28760. - application/json
  28761. responses:
  28762. "200":
  28763. description: OK
  28764. schema:
  28765. items:
  28766. $ref: '#/definitions/models.QhjPayOrder'
  28767. type: array
  28768. "500":
  28769. description: Internal Server Error
  28770. schema:
  28771. $ref: '#/definitions/app.Response'
  28772. security:
  28773. - ApiKeyAuth: []
  28774. summary: 查询待付款单据
  28775. tags:
  28776. - 大连千海金
  28777. /Qhj/QueryPickArea:
  28778. get:
  28779. parameters:
  28780. - description: 用户ID
  28781. in: query
  28782. name: userid
  28783. type: integer
  28784. produces:
  28785. - application/json
  28786. responses:
  28787. "200":
  28788. description: OK
  28789. schema:
  28790. items:
  28791. $ref: '#/definitions/models.QhjPickArea'
  28792. type: array
  28793. "500":
  28794. description: Internal Server Error
  28795. schema:
  28796. $ref: '#/definitions/app.Response'
  28797. security:
  28798. - ApiKeyAuth: []
  28799. summary: 查询提货门店
  28800. tags:
  28801. - 大连千海金
  28802. /Qhj/QueryPickGoods:
  28803. get:
  28804. parameters:
  28805. - description: 交易商品id
  28806. in: query
  28807. name: goodsid
  28808. required: true
  28809. type: integer
  28810. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28811. in: query
  28812. name: status
  28813. type: string
  28814. produces:
  28815. - application/json
  28816. responses:
  28817. "200":
  28818. description: OK
  28819. schema:
  28820. items:
  28821. $ref: '#/definitions/models.QhjPickGoods'
  28822. type: array
  28823. "500":
  28824. description: Internal Server Error
  28825. schema:
  28826. $ref: '#/definitions/app.Response'
  28827. security:
  28828. - ApiKeyAuth: []
  28829. summary: 查询提货商品
  28830. tags:
  28831. - 大连千海金
  28832. /Qhj/QueryRSTriggerLog:
  28833. get:
  28834. parameters:
  28835. - description: 用户ID
  28836. in: query
  28837. name: userid
  28838. type: integer
  28839. - description: 定投策略id
  28840. in: query
  28841. name: regularlystrategyid
  28842. type: integer
  28843. - description: 商品id
  28844. in: query
  28845. name: goodsid
  28846. type: integer
  28847. - description: 开始交易日(yyyymmdd)
  28848. in: query
  28849. name: begindate
  28850. type: string
  28851. - description: 结束交易日(yyyymmdd)
  28852. in: query
  28853. name: enddate
  28854. type: string
  28855. - description: 名称(模糊搜索账户)
  28856. in: query
  28857. name: filtername
  28858. type: string
  28859. produces:
  28860. - application/json
  28861. responses:
  28862. "200":
  28863. description: OK
  28864. schema:
  28865. items:
  28866. $ref: '#/definitions/models.QhjRSTriggerLog'
  28867. type: array
  28868. "500":
  28869. description: Internal Server Error
  28870. schema:
  28871. $ref: '#/definitions/app.Response'
  28872. security:
  28873. - ApiKeyAuth: []
  28874. summary: 查询定投记录(定投管理/详情/定投记录)
  28875. tags:
  28876. - 大连千海金
  28877. /Qhj/QueryRStrategy:
  28878. get:
  28879. parameters:
  28880. - description: 用户ID
  28881. in: query
  28882. name: userid
  28883. type: integer
  28884. - description: 商品id
  28885. in: query
  28886. name: goodsid
  28887. type: integer
  28888. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28889. in: query
  28890. name: status
  28891. type: string
  28892. - description: 名称(模糊搜索账户)
  28893. in: query
  28894. name: filtername
  28895. type: string
  28896. produces:
  28897. - application/json
  28898. responses:
  28899. "200":
  28900. description: OK
  28901. schema:
  28902. items:
  28903. $ref: '#/definitions/models.QhjRStrategy'
  28904. type: array
  28905. "500":
  28906. description: Internal Server Error
  28907. schema:
  28908. $ref: '#/definitions/app.Response'
  28909. security:
  28910. - ApiKeyAuth: []
  28911. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28912. tags:
  28913. - 大连千海金
  28914. /Qhj/QueryReckonPriceLog:
  28915. get:
  28916. parameters:
  28917. - description: 商品ID
  28918. in: query
  28919. name: goodsid
  28920. type: integer
  28921. - description: 交易日 格式(yyyymmdd)
  28922. in: query
  28923. name: tradedate
  28924. type: string
  28925. produces:
  28926. - application/json
  28927. responses:
  28928. "200":
  28929. description: OK
  28930. schema:
  28931. items:
  28932. $ref: '#/definitions/models.QhjReckonPriceLog'
  28933. type: array
  28934. "500":
  28935. description: Internal Server Error
  28936. schema:
  28937. $ref: '#/definitions/app.Response'
  28938. security:
  28939. - ApiKeyAuth: []
  28940. summary: 查询定投价(结算价)
  28941. tags:
  28942. - 大连千海金
  28943. /Qhj/QueryScoreLog:
  28944. get:
  28945. parameters:
  28946. - description: 用户ID
  28947. in: query
  28948. name: userid
  28949. required: true
  28950. type: integer
  28951. - description: 开始交易日(yyyymmdd)
  28952. in: query
  28953. name: begindate
  28954. type: string
  28955. - description: 结束交易日(yyyymmdd)
  28956. in: query
  28957. name: enddate
  28958. type: string
  28959. - description: 最近多少条
  28960. in: query
  28961. name: lastnum
  28962. type: integer
  28963. produces:
  28964. - application/json
  28965. responses:
  28966. "200":
  28967. description: OK
  28968. schema:
  28969. items:
  28970. $ref: '#/definitions/models.QhjScoreLog'
  28971. type: array
  28972. "500":
  28973. description: Internal Server Error
  28974. schema:
  28975. $ref: '#/definitions/app.Response'
  28976. security:
  28977. - ApiKeyAuth: []
  28978. summary: 查询积分流水(我的积分)
  28979. tags:
  28980. - 大连千海金
  28981. /Qhj/QuerySiteColumnDetail:
  28982. get:
  28983. parameters:
  28984. - description: 用户ID
  28985. in: query
  28986. name: userid
  28987. required: true
  28988. type: integer
  28989. produces:
  28990. - application/json
  28991. responses:
  28992. "200":
  28993. description: OK
  28994. schema:
  28995. items:
  28996. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28997. type: array
  28998. "500":
  28999. description: Internal Server Error
  29000. schema:
  29001. $ref: '#/definitions/app.Response'
  29002. security:
  29003. - ApiKeyAuth: []
  29004. summary: 查询资讯
  29005. tags:
  29006. - 大连千海金
  29007. /Qhj/QueryTradeGoodsPickup:
  29008. get:
  29009. parameters:
  29010. - description: 用户ID
  29011. in: query
  29012. name: userid
  29013. required: true
  29014. type: integer
  29015. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29016. 7:已拒绝 8:已撤销
  29017. in: query
  29018. name: takeorderstatus
  29019. type: integer
  29020. produces:
  29021. - application/json
  29022. responses:
  29023. "200":
  29024. description: OK
  29025. schema:
  29026. items:
  29027. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29028. type: array
  29029. "500":
  29030. description: Internal Server Error
  29031. schema:
  29032. $ref: '#/definitions/app.Response'
  29033. security:
  29034. - ApiKeyAuth: []
  29035. summary: 查询提货
  29036. tags:
  29037. - 大连千海金
  29038. /Qhj/QueryUserCollectConfig:
  29039. get:
  29040. parameters:
  29041. - description: 用户ID
  29042. in: query
  29043. name: userid
  29044. required: true
  29045. type: integer
  29046. produces:
  29047. - application/json
  29048. responses:
  29049. "200":
  29050. description: OK
  29051. schema:
  29052. items:
  29053. $ref: '#/definitions/models.UserCollectConfig'
  29054. type: array
  29055. "500":
  29056. description: Internal Server Error
  29057. schema:
  29058. $ref: '#/definitions/app.Response'
  29059. security:
  29060. - ApiKeyAuth: []
  29061. summary: 查询提现账户设置
  29062. tags:
  29063. - 大连千海金
  29064. /Qhj/QueryUserReceiveInfo:
  29065. get:
  29066. parameters:
  29067. - description: 用户ID
  29068. in: query
  29069. name: userid
  29070. required: true
  29071. type: integer
  29072. produces:
  29073. - application/json
  29074. responses:
  29075. "200":
  29076. description: OK
  29077. schema:
  29078. items:
  29079. $ref: '#/definitions/models.UserReceiveInfo'
  29080. type: array
  29081. "500":
  29082. description: Internal Server Error
  29083. schema:
  29084. $ref: '#/definitions/app.Response'
  29085. security:
  29086. - ApiKeyAuth: []
  29087. summary: 查询收货地址信息
  29088. tags:
  29089. - 大连千海金
  29090. /QhjMgr/QueryAccountInOutApply:
  29091. get:
  29092. parameters:
  29093. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29094. in: query
  29095. name: querytype
  29096. required: true
  29097. type: integer
  29098. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29099. in: query
  29100. name: applystatus
  29101. type: integer
  29102. - description: 申请起始日期(格式yyyymmdd)
  29103. in: query
  29104. name: begindate
  29105. type: string
  29106. - description: 申请截止日期(格式yyyymmdd)
  29107. in: query
  29108. name: enddate
  29109. type: string
  29110. - description: 模糊搜索名称
  29111. in: query
  29112. name: likename
  29113. type: string
  29114. produces:
  29115. - application/json
  29116. responses:
  29117. "200":
  29118. description: OK
  29119. schema:
  29120. items:
  29121. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29122. type: array
  29123. "500":
  29124. description: Internal Server Error
  29125. schema:
  29126. $ref: '#/definitions/app.Response'
  29127. security:
  29128. - ApiKeyAuth: []
  29129. summary: 查询充值提现
  29130. tags:
  29131. - 大连千海金(PCWeb)
  29132. /QhjMgr/QueryBrokerApply:
  29133. get:
  29134. parameters:
  29135. - description: 所属机构ID
  29136. in: query
  29137. name: userid
  29138. type: integer
  29139. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29140. in: query
  29141. name: filterstatus
  29142. type: string
  29143. - description: 名称(模糊匹配)
  29144. in: query
  29145. name: filtername
  29146. type: string
  29147. - description: 是否包含子级 1-包含
  29148. in: query
  29149. name: includesub
  29150. type: integer
  29151. produces:
  29152. - application/json
  29153. responses:
  29154. "200":
  29155. description: OK
  29156. schema:
  29157. items:
  29158. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29159. type: array
  29160. "500":
  29161. description: Internal Server Error
  29162. schema:
  29163. $ref: '#/definitions/app.Response'
  29164. security:
  29165. - ApiKeyAuth: []
  29166. summary: 查询经纪人申请
  29167. tags:
  29168. - 大连千海金(PCWeb)
  29169. /QhjMgr/QueryBrokerRewardReport:
  29170. get:
  29171. parameters:
  29172. - description: 所属机构ID
  29173. in: query
  29174. name: userid
  29175. required: true
  29176. type: integer
  29177. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29178. in: query
  29179. name: cycletype
  29180. required: true
  29181. type: integer
  29182. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29183. in: query
  29184. name: cycletime
  29185. required: true
  29186. type: string
  29187. - description: 名称(模糊匹配)
  29188. in: query
  29189. name: filtername
  29190. type: string
  29191. - description: 是否包含子级 1-包含
  29192. in: query
  29193. name: includesub
  29194. type: integer
  29195. produces:
  29196. - application/json
  29197. responses:
  29198. "200":
  29199. description: OK
  29200. schema:
  29201. items:
  29202. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29203. type: array
  29204. "500":
  29205. description: Internal Server Error
  29206. schema:
  29207. $ref: '#/definitions/app.Response'
  29208. security:
  29209. - ApiKeyAuth: []
  29210. summary: 查询经纪人奖励报表(废弃)
  29211. tags:
  29212. - 大连千海金(PCWeb)
  29213. /QhjMgr/QueryContract:
  29214. get:
  29215. parameters:
  29216. - description: 用户ID
  29217. in: query
  29218. name: userid
  29219. type: integer
  29220. - description: 商品id
  29221. in: query
  29222. name: goodsid
  29223. type: integer
  29224. - description: 名称(模糊搜索账户)
  29225. in: query
  29226. name: filtername
  29227. type: string
  29228. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29229. in: query
  29230. name: risklevel
  29231. type: string
  29232. - description: 开始交易日(yyyymmdd)
  29233. in: query
  29234. name: begindate
  29235. type: string
  29236. - description: 结束交易日(yyyymmdd)
  29237. in: query
  29238. name: enddate
  29239. type: string
  29240. produces:
  29241. - application/json
  29242. responses:
  29243. "200":
  29244. description: OK
  29245. schema:
  29246. items:
  29247. $ref: '#/definitions/models.QhjMgrContract'
  29248. type: array
  29249. "500":
  29250. description: Internal Server Error
  29251. schema:
  29252. $ref: '#/definitions/app.Response'
  29253. security:
  29254. - ApiKeyAuth: []
  29255. summary: 查询融资信息(合同)
  29256. tags:
  29257. - 大连千海金(PCWeb)
  29258. /QhjMgr/QueryCustomerInfo:
  29259. get:
  29260. parameters:
  29261. - description: 用户ID
  29262. in: query
  29263. name: userid
  29264. required: true
  29265. type: integer
  29266. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29267. in: query
  29268. name: querytype
  29269. required: true
  29270. type: integer
  29271. - description: 客户类型 1-个人 2-企业
  29272. in: query
  29273. name: userinfotype
  29274. type: integer
  29275. - description: 客户名称(模糊匹配)
  29276. in: query
  29277. name: customername
  29278. type: string
  29279. - description: 昵称(模糊匹配)
  29280. in: query
  29281. name: nickname
  29282. type: string
  29283. - description: 所属客户经理(模糊匹配)
  29284. in: query
  29285. name: brokername
  29286. type: string
  29287. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29288. 如0503 -5月3日)
  29289. in: query
  29290. name: birthday
  29291. type: string
  29292. - description: 是否包含子级 1-包含
  29293. in: query
  29294. name: includesub
  29295. type: integer
  29296. produces:
  29297. - application/json
  29298. responses:
  29299. "200":
  29300. description: OK
  29301. schema:
  29302. items:
  29303. $ref: '#/definitions/models.QhjMgrCustomer'
  29304. type: array
  29305. "500":
  29306. description: Internal Server Error
  29307. schema:
  29308. $ref: '#/definitions/app.Response'
  29309. security:
  29310. - ApiKeyAuth: []
  29311. summary: 查询客户资料
  29312. tags:
  29313. - 大连千海金(PCWeb)
  29314. /QhjMgr/QueryPickGoods:
  29315. get:
  29316. parameters:
  29317. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29318. in: query
  29319. name: status
  29320. type: string
  29321. produces:
  29322. - application/json
  29323. responses:
  29324. "200":
  29325. description: OK
  29326. schema:
  29327. items:
  29328. $ref: '#/definitions/models.QhjMgrPickGoods'
  29329. type: array
  29330. "500":
  29331. description: Internal Server Error
  29332. schema:
  29333. $ref: '#/definitions/app.Response'
  29334. security:
  29335. - ApiKeyAuth: []
  29336. summary: 查询提货商品
  29337. tags:
  29338. - 大连千海金(PCWeb)
  29339. /QhjMgr/QuerySubArea:
  29340. get:
  29341. parameters:
  29342. - description: 用户ID
  29343. in: query
  29344. name: userid
  29345. required: true
  29346. type: integer
  29347. produces:
  29348. - application/json
  29349. responses:
  29350. "200":
  29351. description: OK
  29352. schema:
  29353. items:
  29354. $ref: '#/definitions/models.QhjMgrSubArea'
  29355. type: array
  29356. "500":
  29357. description: Internal Server Error
  29358. schema:
  29359. $ref: '#/definitions/app.Response'
  29360. security:
  29361. - ApiKeyAuth: []
  29362. summary: 查询子机构列表
  29363. tags:
  29364. - 大连千海金(PCWeb)
  29365. /QhjMgr/QueryTradeDetail:
  29366. get:
  29367. parameters:
  29368. - description: 用户ID
  29369. in: query
  29370. name: userid
  29371. required: true
  29372. type: integer
  29373. - description: 用户类型 1-个人 2-企业
  29374. in: query
  29375. name: userinfotype
  29376. type: integer
  29377. - description: 交易模式
  29378. in: query
  29379. name: trademode
  29380. type: integer
  29381. - description: 商品id
  29382. in: query
  29383. name: goodsid
  29384. type: integer
  29385. - description: 名称(模糊搜索账户)
  29386. in: query
  29387. name: filtername
  29388. type: string
  29389. - description: 开始交易日(yyyymmdd)
  29390. in: query
  29391. name: begindate
  29392. type: string
  29393. - description: 结束交易日(yyyymmdd)
  29394. in: query
  29395. name: enddate
  29396. type: string
  29397. - description: 是否包含子级 1-包含
  29398. in: query
  29399. name: includesub
  29400. type: integer
  29401. produces:
  29402. - application/json
  29403. responses:
  29404. "200":
  29405. description: OK
  29406. schema:
  29407. items:
  29408. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29409. type: array
  29410. "500":
  29411. description: Internal Server Error
  29412. schema:
  29413. $ref: '#/definitions/app.Response'
  29414. security:
  29415. - ApiKeyAuth: []
  29416. summary: 查询成交明细
  29417. tags:
  29418. - 大连千海金(PCWeb)
  29419. /QhjMgr/QueryTradeOrderDetail:
  29420. get:
  29421. parameters:
  29422. - description: 用户ID
  29423. in: query
  29424. name: userid
  29425. required: true
  29426. type: integer
  29427. - description: 用户类型 1-个人 2-企业
  29428. in: query
  29429. name: userinfotype
  29430. type: integer
  29431. - description: 交易模式
  29432. in: query
  29433. name: trademode
  29434. type: integer
  29435. - description: 商品id
  29436. in: query
  29437. name: goodsid
  29438. type: integer
  29439. - description: 名称(模糊搜索账户)
  29440. in: query
  29441. name: filtername
  29442. type: string
  29443. - description: 开始交易日(yyyymmdd)
  29444. in: query
  29445. name: begindate
  29446. type: string
  29447. - description: 结束交易日(yyyymmdd)
  29448. in: query
  29449. name: enddate
  29450. type: string
  29451. - description: 是否包含子级 1-包含
  29452. in: query
  29453. name: includesub
  29454. type: integer
  29455. produces:
  29456. - application/json
  29457. responses:
  29458. "200":
  29459. description: OK
  29460. schema:
  29461. items:
  29462. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29463. type: array
  29464. "500":
  29465. description: Internal Server Error
  29466. schema:
  29467. $ref: '#/definitions/app.Response'
  29468. security:
  29469. - ApiKeyAuth: []
  29470. summary: 查询委托明细
  29471. tags:
  29472. - 大连千海金(PCWeb)
  29473. /QhjMgr/QueryTradePayOrder:
  29474. get:
  29475. parameters:
  29476. - description: 用户ID
  29477. in: query
  29478. name: userid
  29479. required: true
  29480. type: integer
  29481. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29482. in: query
  29483. name: payflag
  29484. type: string
  29485. - description: 用户类型 1-个人 2-企业
  29486. in: query
  29487. name: userinfotype
  29488. type: integer
  29489. - description: 交易模式
  29490. in: query
  29491. name: trademode
  29492. type: integer
  29493. - description: 商品id
  29494. in: query
  29495. name: goodsid
  29496. type: integer
  29497. - description: 名称(模糊搜索账户)
  29498. in: query
  29499. name: filtername
  29500. type: string
  29501. - description: 开始交易日(yyyymmdd)
  29502. in: query
  29503. name: begindate
  29504. type: string
  29505. - description: 结束交易日(yyyymmdd)
  29506. in: query
  29507. name: enddate
  29508. type: string
  29509. - description: 是否包含子级 1-包含
  29510. in: query
  29511. name: includesub
  29512. type: integer
  29513. produces:
  29514. - application/json
  29515. responses:
  29516. "200":
  29517. description: OK
  29518. schema:
  29519. items:
  29520. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29521. type: array
  29522. "500":
  29523. description: Internal Server Error
  29524. schema:
  29525. $ref: '#/definitions/app.Response'
  29526. security:
  29527. - ApiKeyAuth: []
  29528. summary: 查询待付款单
  29529. tags:
  29530. - 大连千海金(PCWeb)
  29531. /QhjMgr/QueryTradePosition:
  29532. get:
  29533. parameters:
  29534. - description: 用户ID
  29535. in: query
  29536. name: userid
  29537. required: true
  29538. type: integer
  29539. - description: 用户类型 1-个人 2-企业
  29540. in: query
  29541. name: userinfotype
  29542. type: integer
  29543. - description: 交易模式
  29544. in: query
  29545. name: trademode
  29546. type: integer
  29547. - description: 商品id
  29548. in: query
  29549. name: goodsid
  29550. type: integer
  29551. - description: 名称(模糊搜索账户)
  29552. in: query
  29553. name: filtername
  29554. type: string
  29555. - description: 是否包含子级 1-包含
  29556. in: query
  29557. name: includesub
  29558. type: integer
  29559. produces:
  29560. - application/json
  29561. responses:
  29562. "200":
  29563. description: OK
  29564. schema:
  29565. items:
  29566. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29567. type: array
  29568. "500":
  29569. description: Internal Server Error
  29570. schema:
  29571. $ref: '#/definitions/app.Response'
  29572. security:
  29573. - ApiKeyAuth: []
  29574. summary: 查询持仓汇总
  29575. tags:
  29576. - 大连千海金(PCWeb)
  29577. /QhjSys/QueryAgreementChangeLog:
  29578. get:
  29579. parameters:
  29580. - description: 协议ID
  29581. in: query
  29582. name: agreementid
  29583. type: integer
  29584. - description: 协议版本号
  29585. in: query
  29586. name: agreementversion
  29587. type: integer
  29588. - description: 协议类型 - 1:注册 2:登录 3:交易
  29589. in: query
  29590. name: agreementtype
  29591. type: integer
  29592. - description: 协议编号(模糊匹配)
  29593. in: query
  29594. name: agreementno
  29595. type: string
  29596. - description: 协议名称(模糊匹配)
  29597. in: query
  29598. name: agreementname
  29599. type: string
  29600. produces:
  29601. - application/json
  29602. responses:
  29603. "200":
  29604. description: OK
  29605. schema:
  29606. items:
  29607. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29608. type: array
  29609. "500":
  29610. description: Internal Server Error
  29611. schema:
  29612. $ref: '#/definitions/app.Response'
  29613. security:
  29614. - ApiKeyAuth: []
  29615. summary: 查询协议配置变更流水
  29616. tags:
  29617. - 大连千海金(协议和签约信息)
  29618. /QhjSys/QueryAgreementConfig:
  29619. get:
  29620. parameters:
  29621. - description: 协议ID
  29622. in: query
  29623. name: agreementid
  29624. type: integer
  29625. - description: 协议版本号
  29626. in: query
  29627. name: agreementversion
  29628. type: integer
  29629. - description: 协议类型 - 1:注册 2:登录 3:交易
  29630. in: query
  29631. name: agreementtype
  29632. type: integer
  29633. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29634. in: query
  29635. name: isvalid
  29636. type: integer
  29637. - description: 协议编号(模糊匹配)
  29638. in: query
  29639. name: agreementno
  29640. type: string
  29641. - description: 协议名称(模糊匹配)
  29642. in: query
  29643. name: agreementname
  29644. type: string
  29645. produces:
  29646. - application/json
  29647. responses:
  29648. "200":
  29649. description: OK
  29650. schema:
  29651. items:
  29652. $ref: '#/definitions/models.QhjAgreementConfig'
  29653. type: array
  29654. "500":
  29655. description: Internal Server Error
  29656. schema:
  29657. $ref: '#/definitions/app.Response'
  29658. security:
  29659. - ApiKeyAuth: []
  29660. summary: 查询协议配置
  29661. tags:
  29662. - 大连千海金(协议和签约信息)
  29663. /QhjSys/QueryCustomerSignStatus:
  29664. get:
  29665. parameters:
  29666. - description: 客户ID
  29667. in: query
  29668. name: userid
  29669. type: integer
  29670. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29671. in: query
  29672. name: nodetype
  29673. type: integer
  29674. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29675. in: query
  29676. name: goodsid
  29677. type: integer
  29678. - description: 创建交易日(yyyyMMdd)
  29679. in: query
  29680. name: tradedate
  29681. type: string
  29682. - description: 用户名称(模糊匹配)
  29683. in: query
  29684. name: username
  29685. type: string
  29686. produces:
  29687. - application/json
  29688. responses:
  29689. "200":
  29690. description: OK
  29691. schema:
  29692. items:
  29693. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29694. type: array
  29695. "500":
  29696. description: Internal Server Error
  29697. schema:
  29698. $ref: '#/definitions/app.Response'
  29699. security:
  29700. - ApiKeyAuth: []
  29701. summary: 查询客户协议签约状态
  29702. tags:
  29703. - 大连千海金(协议和签约信息)
  29704. /QhjSys/QueryNodeAgreementConfig:
  29705. get:
  29706. parameters:
  29707. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29708. in: query
  29709. name: configid
  29710. type: integer
  29711. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29712. in: query
  29713. name: nodetype
  29714. type: integer
  29715. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29716. in: query
  29717. name: goodsid
  29718. type: integer
  29719. - description: 协议ID
  29720. in: query
  29721. name: agreementid
  29722. type: integer
  29723. - description: 协议类型 - 1:注册 2:登录 3:交易
  29724. in: query
  29725. name: agreementtype
  29726. type: integer
  29727. - description: 协议版本号
  29728. in: query
  29729. name: agreementversion
  29730. type: integer
  29731. - description: 协议编号(模糊匹配)
  29732. in: query
  29733. name: agreementno
  29734. type: string
  29735. - description: 协议名称(模糊匹配)
  29736. in: query
  29737. name: agreementname
  29738. type: string
  29739. produces:
  29740. - application/json
  29741. responses:
  29742. "200":
  29743. description: OK
  29744. schema:
  29745. items:
  29746. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29747. type: array
  29748. "500":
  29749. description: Internal Server Error
  29750. schema:
  29751. $ref: '#/definitions/app.Response'
  29752. security:
  29753. - ApiKeyAuth: []
  29754. summary: 查询协议节点配置
  29755. tags:
  29756. - 大连千海金(协议和签约信息)
  29757. /QhjSys/QueryQhjCustomerSignLog:
  29758. get:
  29759. parameters:
  29760. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29761. in: query
  29762. name: logid
  29763. type: integer
  29764. - description: 客户ID
  29765. in: query
  29766. name: userid
  29767. type: integer
  29768. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29769. in: query
  29770. name: nodetype
  29771. type: integer
  29772. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29773. in: query
  29774. name: goodsid
  29775. type: integer
  29776. - description: 协议ID
  29777. in: query
  29778. name: agreementid
  29779. type: integer
  29780. - description: 用户名称(模糊匹配)
  29781. in: query
  29782. name: username
  29783. type: string
  29784. - description: 协议编号(模糊匹配)
  29785. in: query
  29786. name: agreementno
  29787. type: string
  29788. - description: 协议名称(模糊匹配)
  29789. in: query
  29790. name: agreementname
  29791. type: string
  29792. produces:
  29793. - application/json
  29794. responses:
  29795. "200":
  29796. description: OK
  29797. schema:
  29798. items:
  29799. $ref: '#/definitions/models.QhjCustomerSignLog'
  29800. type: array
  29801. "500":
  29802. description: Internal Server Error
  29803. schema:
  29804. $ref: '#/definitions/app.Response'
  29805. security:
  29806. - ApiKeyAuth: []
  29807. summary: 查询客户协议签约流水
  29808. tags:
  29809. - 大连千海金(协议和签约信息)
  29810. /QhjSys/QueryUserNodeCfgAndStatus:
  29811. get:
  29812. parameters:
  29813. - description: 客户ID
  29814. in: query
  29815. name: userid
  29816. type: integer
  29817. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29818. in: query
  29819. name: configid
  29820. type: integer
  29821. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29822. in: query
  29823. name: nodetype
  29824. type: string
  29825. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29826. in: query
  29827. name: goodsid
  29828. type: integer
  29829. - description: 协议ID
  29830. in: query
  29831. name: agreementid
  29832. type: integer
  29833. - description: 协议类型 - 1:注册 2:登录 3:交易
  29834. in: query
  29835. name: agreementtype
  29836. type: integer
  29837. - description: 协议版本号
  29838. in: query
  29839. name: agreementversion
  29840. type: integer
  29841. - description: 协议编号(模糊匹配)
  29842. in: query
  29843. name: agreementno
  29844. type: string
  29845. - description: 协议名称(模糊匹配)
  29846. in: query
  29847. name: agreementname
  29848. type: string
  29849. produces:
  29850. - application/json
  29851. responses:
  29852. "200":
  29853. description: OK
  29854. schema:
  29855. items:
  29856. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29857. type: array
  29858. "500":
  29859. description: Internal Server Error
  29860. schema:
  29861. $ref: '#/definitions/app.Response'
  29862. security:
  29863. - ApiKeyAuth: []
  29864. summary: 查询用户协议节点配置和状态
  29865. tags:
  29866. - 大连千海金(协议和签约信息)
  29867. /Quote/QueryHistoryDatas:
  29868. get:
  29869. parameters:
  29870. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29871. 日线 12:周线 13:月线 14:年线'
  29872. in: query
  29873. name: cycleType
  29874. required: true
  29875. type: integer
  29876. - description: 商品代码
  29877. in: query
  29878. name: goodsCode
  29879. required: true
  29880. type: string
  29881. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29882. in: query
  29883. name: startTime
  29884. type: string
  29885. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29886. in: query
  29887. name: endTime
  29888. type: string
  29889. - description: 条数
  29890. in: query
  29891. name: count
  29892. type: integer
  29893. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29894. in: query
  29895. name: isAsc
  29896. type: boolean
  29897. produces:
  29898. - application/json
  29899. responses:
  29900. "200":
  29901. description: OK
  29902. schema:
  29903. $ref: '#/definitions/quote.HistoryData'
  29904. "500":
  29905. description: Internal Server Error
  29906. schema:
  29907. $ref: '#/definitions/app.Response'
  29908. security:
  29909. - ApiKeyAuth: []
  29910. summary: 查询行情历史数据
  29911. tags:
  29912. - 行情服务
  29913. /Quote/QueryHistoryTikDatas:
  29914. get:
  29915. parameters:
  29916. - description: 商品代码
  29917. in: query
  29918. name: goodsCode
  29919. required: true
  29920. type: string
  29921. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29922. in: query
  29923. name: startTime
  29924. type: string
  29925. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29926. in: query
  29927. name: endTime
  29928. type: string
  29929. - description: 条数
  29930. in: query
  29931. name: count
  29932. type: integer
  29933. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29934. in: query
  29935. name: isAsc
  29936. type: boolean
  29937. produces:
  29938. - application/json
  29939. responses:
  29940. "200":
  29941. description: OK
  29942. schema:
  29943. $ref: '#/definitions/quote.HistoryTikData'
  29944. "500":
  29945. description: Internal Server Error
  29946. schema:
  29947. $ref: '#/definitions/app.Response'
  29948. security:
  29949. - ApiKeyAuth: []
  29950. summary: 查询行情Tik数据
  29951. tags:
  29952. - 行情服务
  29953. /Quote/QueryQuoteDay:
  29954. get:
  29955. parameters:
  29956. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29957. in: query
  29958. name: goodsCodes
  29959. type: string
  29960. produces:
  29961. - application/json
  29962. responses:
  29963. "200":
  29964. description: OK
  29965. schema:
  29966. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29967. "500":
  29968. description: Internal Server Error
  29969. schema:
  29970. $ref: '#/definitions/app.Response'
  29971. security:
  29972. - ApiKeyAuth: []
  29973. summary: 获取商品盘面信息
  29974. tags:
  29975. - 行情服务
  29976. /Quote/QueryTSData:
  29977. get:
  29978. parameters:
  29979. - description: 商品代码
  29980. in: query
  29981. name: goodsCode
  29982. required: true
  29983. type: string
  29984. produces:
  29985. - application/json
  29986. responses:
  29987. "200":
  29988. description: OK
  29989. schema:
  29990. $ref: '#/definitions/quote.QueryTSDataRsp'
  29991. "500":
  29992. description: Internal Server Error
  29993. schema:
  29994. $ref: '#/definitions/app.Response'
  29995. security:
  29996. - ApiKeyAuth: []
  29997. summary: 分时图数据查询
  29998. tags:
  29999. - 行情服务
  30000. /SZDZ/QueryConvertConfig:
  30001. get:
  30002. parameters:
  30003. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30004. 6:交易转花生米(不设置)
  30005. in: query
  30006. name: convertType
  30007. type: integer
  30008. - description: 外部商品代码[JD\PD]
  30009. in: query
  30010. name: outerGoodsCode
  30011. type: string
  30012. - description: 内部商品ID列表[交易],格式:1,2,3
  30013. in: query
  30014. name: innerGoodsIDs
  30015. type: string
  30016. produces:
  30017. - application/json
  30018. responses:
  30019. "200":
  30020. description: OK
  30021. schema:
  30022. $ref: '#/definitions/models.Szdz3convertconfig'
  30023. "500":
  30024. description: Internal Server Error
  30025. schema:
  30026. $ref: '#/definitions/app.Response'
  30027. security:
  30028. - ApiKeyAuth: []
  30029. summary: 查询交易系统转换设置
  30030. tags:
  30031. - 定制【尚志大宗】
  30032. /SZDZ/QueryConvertLog:
  30033. get:
  30034. parameters:
  30035. - description: 资金账户 - 格式:1,2,3
  30036. in: query
  30037. name: accountID
  30038. required: true
  30039. type: string
  30040. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30041. in: query
  30042. name: startDate
  30043. type: string
  30044. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30045. in: query
  30046. name: endDate
  30047. type: string
  30048. produces:
  30049. - application/json
  30050. responses:
  30051. "200":
  30052. description: OK
  30053. schema:
  30054. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30055. "500":
  30056. description: Internal Server Error
  30057. schema:
  30058. $ref: '#/definitions/app.Response'
  30059. security:
  30060. - ApiKeyAuth: []
  30061. summary: 交易系统转换流水查询
  30062. tags:
  30063. - 定制【尚志大宗】
  30064. /SZDZ/QueryGoodsPickup:
  30065. get:
  30066. parameters:
  30067. - description: 资金账户 - 格式:1,2,3
  30068. in: query
  30069. name: accountID
  30070. required: true
  30071. type: string
  30072. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30073. in: query
  30074. name: takeOrderStatus
  30075. type: integer
  30076. produces:
  30077. - application/json
  30078. responses:
  30079. "200":
  30080. description: OK
  30081. schema:
  30082. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30083. "500":
  30084. description: Internal Server Error
  30085. schema:
  30086. $ref: '#/definitions/app.Response'
  30087. security:
  30088. - ApiKeyAuth: []
  30089. summary: 商品提货单查询
  30090. tags:
  30091. - 定制【尚志大宗】
  30092. /SZDZ/QueryRecieptOrder:
  30093. get:
  30094. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30095. parameters:
  30096. - description: 页码
  30097. in: query
  30098. name: page
  30099. type: integer
  30100. - description: 每页条数
  30101. in: query
  30102. name: pagesize
  30103. type: integer
  30104. - description: 商品ID
  30105. in: query
  30106. name: goodsID
  30107. required: true
  30108. type: integer
  30109. - description: 所属账户名称
  30110. in: query
  30111. name: accountName
  30112. type: string
  30113. - description: 市场ID
  30114. in: query
  30115. name: marketID
  30116. type: integer
  30117. - description: 方向 - 0:买 1:卖
  30118. in: query
  30119. name: buyorsell
  30120. required: true
  30121. type: integer
  30122. produces:
  30123. - application/json
  30124. responses:
  30125. "200":
  30126. description: OK
  30127. schema:
  30128. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30129. "500":
  30130. description: Internal Server Error
  30131. schema:
  30132. $ref: '#/definitions/app.Response'
  30133. security:
  30134. - ApiKeyAuth: []
  30135. summary: 点选挂牌委托单据查询(摘牌大厅)
  30136. tags:
  30137. - 定制【尚志大宗】
  30138. /SZDZ/QuerySZDZTradePosition:
  30139. get:
  30140. parameters:
  30141. - description: 资金账户
  30142. in: query
  30143. name: accountID
  30144. required: true
  30145. type: integer
  30146. produces:
  30147. - application/json
  30148. responses:
  30149. "200":
  30150. description: OK
  30151. schema:
  30152. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30153. "500":
  30154. description: Internal Server Error
  30155. schema:
  30156. $ref: '#/definitions/app.Response'
  30157. security:
  30158. - ApiKeyAuth: []
  30159. summary: 持仓汇总查询(尚志大宗)
  30160. tags:
  30161. - 定制【尚志大宗】
  30162. /SZDZ/SearchWhite:
  30163. get:
  30164. parameters:
  30165. - description: 用户ID
  30166. in: query
  30167. name: userID
  30168. required: true
  30169. type: integer
  30170. produces:
  30171. - application/json
  30172. responses:
  30173. "200":
  30174. description: OK
  30175. schema:
  30176. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30177. "500":
  30178. description: Internal Server Error
  30179. schema:
  30180. $ref: '#/definitions/app.Response'
  30181. security:
  30182. - ApiKeyAuth: []
  30183. summary: 搜索白名单
  30184. tags:
  30185. - 定制【尚志大宗】
  30186. /Search/SearchGoodses:
  30187. get:
  30188. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30189. parameters:
  30190. - description: 检索内容
  30191. in: query
  30192. name: content
  30193. required: true
  30194. type: string
  30195. - description: 交易模式,格式:1,2,3
  30196. in: query
  30197. name: tradeModes
  30198. type: string
  30199. produces:
  30200. - application/json
  30201. responses:
  30202. "200":
  30203. description: OK
  30204. schema:
  30205. $ref: '#/definitions/models.SearchGoods'
  30206. "500":
  30207. description: Internal Server Error
  30208. schema:
  30209. $ref: '#/definitions/app.Response'
  30210. summary: 检索商品信息
  30211. tags:
  30212. - 检索服务
  30213. /TaAccount/GetTaAccounts:
  30214. get:
  30215. parameters:
  30216. - description: 登录账户
  30217. in: query
  30218. name: loginID
  30219. required: true
  30220. type: integer
  30221. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30222. in: query
  30223. name: taAccountType
  30224. type: integer
  30225. produces:
  30226. - application/json
  30227. responses:
  30228. "200":
  30229. description: OK
  30230. schema:
  30231. $ref: '#/definitions/models.Taaccount'
  30232. "500":
  30233. description: Internal Server Error
  30234. schema:
  30235. $ref: '#/definitions/app.Response'
  30236. security:
  30237. - ApiKeyAuth: []
  30238. summary: 获取资金账户信息
  30239. tags:
  30240. - 资金账户
  30241. /TaAccount/QueryAmountLog:
  30242. get:
  30243. parameters:
  30244. - description: 页码
  30245. in: query
  30246. name: page
  30247. type: integer
  30248. - description: 每页条数
  30249. in: query
  30250. name: pagesize
  30251. type: integer
  30252. - description: 资金账户 - 格式:1,2,3
  30253. in: query
  30254. name: accountID
  30255. required: true
  30256. type: string
  30257. - description: 资金操作类型 - 格式:1,2,3
  30258. in: query
  30259. name: OperateType
  30260. type: string
  30261. produces:
  30262. - application/json
  30263. responses:
  30264. "200":
  30265. description: OK
  30266. schema:
  30267. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30268. "500":
  30269. description: Internal Server Error
  30270. schema:
  30271. $ref: '#/definitions/app.Response'
  30272. security:
  30273. - ApiKeyAuth: []
  30274. summary: 资金流水查询(当前)
  30275. tags:
  30276. - 资金账户
  30277. /TaAccount/QueryHisAmountLog:
  30278. get:
  30279. parameters:
  30280. - description: 页码
  30281. in: query
  30282. name: page
  30283. type: integer
  30284. - description: 每页条数
  30285. in: query
  30286. name: pagesize
  30287. type: integer
  30288. - description: 资金账户 - 格式:1,2,3
  30289. in: query
  30290. name: accountID
  30291. required: true
  30292. type: string
  30293. - description: 资金操作类型 - 格式:1,2,3
  30294. in: query
  30295. name: OperateType
  30296. type: string
  30297. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30298. in: query
  30299. name: startDate
  30300. type: string
  30301. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30302. in: query
  30303. name: endDate
  30304. type: string
  30305. produces:
  30306. - application/json
  30307. responses:
  30308. "200":
  30309. description: OK
  30310. schema:
  30311. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30312. "500":
  30313. description: Internal Server Error
  30314. schema:
  30315. $ref: '#/definitions/app.Response'
  30316. security:
  30317. - ApiKeyAuth: []
  30318. summary: 资金流水查询(历史)
  30319. tags:
  30320. - 资金账户
  30321. /TaAccount/QueryRelatedTaAccount:
  30322. get:
  30323. parameters:
  30324. - description: 关联UserID
  30325. in: query
  30326. name: relateduserid
  30327. required: true
  30328. type: integer
  30329. produces:
  30330. - application/json
  30331. responses:
  30332. "200":
  30333. description: OK
  30334. schema:
  30335. items:
  30336. $ref: '#/definitions/models.RelatedTaAccount'
  30337. type: array
  30338. "500":
  30339. description: Internal Server Error
  30340. schema:
  30341. $ref: '#/definitions/app.Response'
  30342. security:
  30343. - ApiKeyAuth: []
  30344. summary: 查询关联资金账户信息
  30345. tags:
  30346. - 资金账户
  30347. /Tjmd/QueryQuoteGoodsList:
  30348. get:
  30349. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30350. parameters:
  30351. - description: 用户类型
  30352. in: query
  30353. name: usertype
  30354. required: true
  30355. type: integer
  30356. - description: 市场id, 格式 1,2,3
  30357. in: query
  30358. name: marketids
  30359. type: string
  30360. - description: 商品组id
  30361. in: query
  30362. name: goodsgroupid
  30363. type: integer
  30364. - description: 商品id
  30365. in: query
  30366. name: goodsid
  30367. type: integer
  30368. produces:
  30369. - application/json
  30370. responses:
  30371. "200":
  30372. description: OK
  30373. schema:
  30374. items:
  30375. $ref: '#/definitions/models.TjmdQuoteGoods'
  30376. type: array
  30377. "500":
  30378. description: Internal Server Error
  30379. schema:
  30380. $ref: '#/definitions/app.Response'
  30381. security:
  30382. - ApiKeyAuth: []
  30383. summary: 查询掉期报价列表
  30384. tags:
  30385. - 天津麦顿
  30386. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30387. get:
  30388. parameters:
  30389. - description: 成交单号
  30390. in: query
  30391. name: tradeid
  30392. required: true
  30393. type: string
  30394. produces:
  30395. - application/json
  30396. responses:
  30397. "200":
  30398. description: OK
  30399. schema:
  30400. items:
  30401. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30402. type: array
  30403. "500":
  30404. description: Internal Server Error
  30405. schema:
  30406. $ref: '#/definitions/app.Response'
  30407. security:
  30408. - ApiKeyAuth: []
  30409. summary: 掉期商品订单详情(交易确认书)
  30410. tags:
  30411. - 天津麦顿
  30412. /Tjmd/QueryTjmdMarketSection:
  30413. get:
  30414. produces:
  30415. - application/json
  30416. responses:
  30417. "200":
  30418. description: OK
  30419. schema:
  30420. items:
  30421. $ref: '#/definitions/models.TjmdMarketSection'
  30422. type: array
  30423. "500":
  30424. description: Internal Server Error
  30425. schema:
  30426. $ref: '#/definitions/app.Response'
  30427. security:
  30428. - ApiKeyAuth: []
  30429. summary: 查询市场板块
  30430. tags:
  30431. - 天津麦顿
  30432. /Tjmd/QueryTjmdTodayAccountMargin:
  30433. get:
  30434. parameters:
  30435. - description: 市场id
  30436. in: query
  30437. name: marketid
  30438. type: string
  30439. - description: 商品id
  30440. in: query
  30441. name: goodsid
  30442. type: string
  30443. - description: 资金账号
  30444. in: query
  30445. name: accountid
  30446. type: string
  30447. produces:
  30448. - application/json
  30449. responses:
  30450. "200":
  30451. description: OK
  30452. schema:
  30453. items:
  30454. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  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. /Tjmd/QueryTjmdTradeOrderDetail:
  30466. get:
  30467. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30468. parameters:
  30469. - description: 页码
  30470. in: query
  30471. name: page
  30472. type: integer
  30473. - description: 每页条数
  30474. in: query
  30475. name: pagesize
  30476. type: integer
  30477. - description: 用户id
  30478. in: query
  30479. name: userid
  30480. required: true
  30481. type: integer
  30482. - description: 用户类型
  30483. in: query
  30484. name: usertype
  30485. required: true
  30486. type: integer
  30487. - description: 市场id, 格式 1,2,3
  30488. in: query
  30489. name: marketids
  30490. type: string
  30491. - description: 商品id
  30492. in: query
  30493. name: goodsid
  30494. required: true
  30495. type: integer
  30496. - description: 买卖方向 0-买 1-卖
  30497. in: query
  30498. name: buyorsell
  30499. required: true
  30500. type: integer
  30501. produces:
  30502. - application/json
  30503. responses:
  30504. "200":
  30505. description: OK
  30506. schema:
  30507. items:
  30508. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30509. type: array
  30510. "500":
  30511. description: Internal Server Error
  30512. schema:
  30513. $ref: '#/definitions/app.Response'
  30514. security:
  30515. - ApiKeyAuth: []
  30516. summary: 查询掉期买卖大厅
  30517. tags:
  30518. - 天津麦顿
  30519. /Tjmd/QueryTjmdTransferApply:
  30520. get:
  30521. parameters:
  30522. - description: 类型 1-我的申请 2-对方申请
  30523. in: query
  30524. name: applytype
  30525. required: true
  30526. type: integer
  30527. - description: 市场id, 格式 1,2,3
  30528. in: query
  30529. name: marketids
  30530. type: string
  30531. - description: 资金账号, 格式 25000000001,25000000003
  30532. in: query
  30533. name: accountids
  30534. type: string
  30535. - description: 开始交易日(yyyymmdd)
  30536. in: query
  30537. name: begindate
  30538. type: string
  30539. - description: 结束交易日(yyyymmdd)
  30540. in: query
  30541. name: enddate
  30542. type: string
  30543. produces:
  30544. - application/json
  30545. responses:
  30546. "200":
  30547. description: OK
  30548. schema:
  30549. items:
  30550. $ref: '#/definitions/models.TjmdTransferApply'
  30551. type: array
  30552. "500":
  30553. description: Internal Server Error
  30554. schema:
  30555. $ref: '#/definitions/app.Response'
  30556. security:
  30557. - ApiKeyAuth: []
  30558. summary: 查询掉期协议单
  30559. tags:
  30560. - 天津麦顿
  30561. /Trade/QueryRecieptOrder:
  30562. get:
  30563. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30564. parameters:
  30565. - description: 页码
  30566. in: query
  30567. name: page
  30568. type: integer
  30569. - description: 每页条数
  30570. in: query
  30571. name: pagesize
  30572. type: integer
  30573. - description: 商品ID
  30574. in: query
  30575. name: goodsID
  30576. required: true
  30577. type: integer
  30578. - description: 所属账户名称
  30579. in: query
  30580. name: accountName
  30581. type: string
  30582. - description: 市场ID
  30583. in: query
  30584. name: marketID
  30585. type: integer
  30586. - description: 方向 - 0:买 1:卖
  30587. in: query
  30588. name: buyorsell
  30589. required: true
  30590. type: integer
  30591. produces:
  30592. - application/json
  30593. responses:
  30594. "200":
  30595. description: OK
  30596. schema:
  30597. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30605. tags:
  30606. - 通用交易
  30607. /User/AddMessageBoard:
  30608. post:
  30609. parameters:
  30610. - description: 用户ID
  30611. in: query
  30612. name: userID
  30613. required: true
  30614. type: integer
  30615. - description: 留言信息
  30616. in: query
  30617. name: message
  30618. required: true
  30619. type: string
  30620. - description: 联系电话
  30621. in: query
  30622. name: contactNum
  30623. required: true
  30624. type: string
  30625. produces:
  30626. - application/json
  30627. responses:
  30628. "200":
  30629. description: OK
  30630. schema:
  30631. $ref: '#/definitions/app.Response'
  30632. "500":
  30633. description: Internal Server Error
  30634. schema:
  30635. $ref: '#/definitions/app.Response'
  30636. security:
  30637. - ApiKeyAuth: []
  30638. summary: 添加用户留言板信息
  30639. tags:
  30640. - 用户信息
  30641. /User/AddUserFavoriteGoods:
  30642. post:
  30643. parameters:
  30644. - description: 用户ID
  30645. in: query
  30646. name: userID
  30647. required: true
  30648. type: integer
  30649. - description: 商品ID
  30650. in: query
  30651. name: goodsID
  30652. required: true
  30653. type: integer
  30654. produces:
  30655. - application/json
  30656. responses:
  30657. "200":
  30658. description: OK
  30659. schema:
  30660. $ref: '#/definitions/app.Response'
  30661. "500":
  30662. description: Internal Server Error
  30663. schema:
  30664. $ref: '#/definitions/app.Response'
  30665. security:
  30666. - ApiKeyAuth: []
  30667. summary: 添加用户商品收藏信息
  30668. tags:
  30669. - 用户信息
  30670. /User/GetLoginID:
  30671. get:
  30672. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30673. parameters:
  30674. - description: 登录代码
  30675. in: query
  30676. name: username
  30677. required: true
  30678. type: string
  30679. produces:
  30680. - application/json
  30681. responses:
  30682. "200":
  30683. description: OK
  30684. schema:
  30685. $ref: '#/definitions/app.Response'
  30686. "500":
  30687. description: Internal Server Error
  30688. schema:
  30689. $ref: '#/definitions/app.Response'
  30690. summary: 获取登录ID
  30691. tags:
  30692. - 用户信息
  30693. /User/GetUserAccount:
  30694. get:
  30695. parameters:
  30696. - description: 用户ID
  30697. in: query
  30698. name: userID
  30699. required: true
  30700. type: integer
  30701. produces:
  30702. - application/json
  30703. responses:
  30704. "200":
  30705. description: OK
  30706. schema:
  30707. $ref: '#/definitions/models.Useraccount'
  30708. "500":
  30709. description: Internal Server Error
  30710. schema:
  30711. $ref: '#/definitions/app.Response'
  30712. security:
  30713. - ApiKeyAuth: []
  30714. summary: 获取用户账号信息
  30715. tags:
  30716. - 用户信息
  30717. /User/GetUserAuthStatus:
  30718. get:
  30719. parameters:
  30720. - description: 用户ID
  30721. in: query
  30722. name: userID
  30723. required: true
  30724. type: integer
  30725. produces:
  30726. - application/json
  30727. responses:
  30728. "200":
  30729. description: OK
  30730. schema:
  30731. $ref: '#/definitions/app.Response'
  30732. "500":
  30733. description: Internal Server Error
  30734. schema:
  30735. $ref: '#/definitions/app.Response'
  30736. security:
  30737. - ApiKeyAuth: []
  30738. summary: 获取用户实名认证状态
  30739. tags:
  30740. - 用户信息
  30741. /User/LoginQuery:
  30742. get:
  30743. parameters:
  30744. - description: 登录账号
  30745. in: query
  30746. name: loginID
  30747. required: true
  30748. type: integer
  30749. produces:
  30750. - application/json
  30751. responses:
  30752. "200":
  30753. description: OK
  30754. schema:
  30755. $ref: '#/definitions/user.LoginQueryRsp'
  30756. "500":
  30757. description: Internal Server Error
  30758. schema:
  30759. $ref: '#/definitions/app.Response'
  30760. security:
  30761. - ApiKeyAuth: []
  30762. summary: 账户登录后信息查询
  30763. tags:
  30764. - 用户信息
  30765. /User/QueryMessageBoard:
  30766. get:
  30767. parameters:
  30768. - description: 用户ID
  30769. in: query
  30770. name: userID
  30771. required: true
  30772. type: integer
  30773. produces:
  30774. - application/json
  30775. responses:
  30776. "200":
  30777. description: OK
  30778. schema:
  30779. $ref: '#/definitions/models.Messageboard'
  30780. "500":
  30781. description: Internal Server Error
  30782. schema:
  30783. $ref: '#/definitions/app.Response'
  30784. security:
  30785. - ApiKeyAuth: []
  30786. summary: 获取用户留言板信息
  30787. tags:
  30788. - 用户信息
  30789. /User/QueryUserFavoriteGoodses:
  30790. get:
  30791. parameters:
  30792. - description: 用户ID
  30793. in: query
  30794. name: userID
  30795. required: true
  30796. type: integer
  30797. produces:
  30798. - application/json
  30799. responses:
  30800. "200":
  30801. description: OK
  30802. schema:
  30803. $ref: '#/definitions/models.Userfavoritegoods'
  30804. "500":
  30805. description: Internal Server Error
  30806. schema:
  30807. $ref: '#/definitions/app.Response'
  30808. security:
  30809. - ApiKeyAuth: []
  30810. summary: 获取用户商品收藏信息
  30811. tags:
  30812. - 用户信息
  30813. /User/QueryUserInfo:
  30814. get:
  30815. parameters:
  30816. - description: 用户ID
  30817. in: query
  30818. name: userID
  30819. required: true
  30820. type: integer
  30821. - description: 是否解密
  30822. in: query
  30823. name: isDecrypt
  30824. type: boolean
  30825. produces:
  30826. - application/json
  30827. responses:
  30828. "200":
  30829. description: OK
  30830. schema:
  30831. $ref: '#/definitions/models.Userinfo'
  30832. "500":
  30833. description: Internal Server Error
  30834. schema:
  30835. $ref: '#/definitions/app.Response'
  30836. security:
  30837. - ApiKeyAuth: []
  30838. summary: 获取用户信息
  30839. tags:
  30840. - 用户信息
  30841. /User/QueryUserReferNum:
  30842. get:
  30843. parameters:
  30844. - description: 用户ID
  30845. in: query
  30846. name: userID
  30847. required: true
  30848. type: integer
  30849. produces:
  30850. - application/json
  30851. responses:
  30852. "200":
  30853. description: OK
  30854. schema:
  30855. $ref: '#/definitions/app.Response'
  30856. "500":
  30857. description: Internal Server Error
  30858. schema:
  30859. $ref: '#/definitions/app.Response'
  30860. summary: 获取用户邀请码
  30861. tags:
  30862. - 用户信息
  30863. /User/RemoveUserFavoriteGoods:
  30864. post:
  30865. parameters:
  30866. - description: 用户ID
  30867. in: query
  30868. name: userID
  30869. required: true
  30870. type: integer
  30871. - description: 商品ID
  30872. in: query
  30873. name: goodsID
  30874. required: true
  30875. type: integer
  30876. produces:
  30877. - application/json
  30878. responses:
  30879. "200":
  30880. description: OK
  30881. schema:
  30882. $ref: '#/definitions/app.Response'
  30883. "500":
  30884. description: Internal Server Error
  30885. schema:
  30886. $ref: '#/definitions/app.Response'
  30887. security:
  30888. - ApiKeyAuth: []
  30889. summary: 移除用户商品收藏信息
  30890. tags:
  30891. - 用户信息
  30892. /User/UpdateUserAccountStatus:
  30893. post:
  30894. parameters:
  30895. - description: 用户ID
  30896. in: query
  30897. name: userID
  30898. required: true
  30899. type: integer
  30900. - description: 账户状态 - 4:正常 6:注销(停用)
  30901. in: query
  30902. name: accountStatus
  30903. required: true
  30904. type: integer
  30905. produces:
  30906. - application/json
  30907. responses:
  30908. "200":
  30909. description: OK
  30910. schema:
  30911. $ref: '#/definitions/app.Response'
  30912. "500":
  30913. description: Internal Server Error
  30914. schema:
  30915. $ref: '#/definitions/app.Response'
  30916. security:
  30917. - ApiKeyAuth: []
  30918. summary: 更新用户状态
  30919. tags:
  30920. - 用户信息
  30921. /WRTrade/GetAllDeliveryGoods:
  30922. get:
  30923. produces:
  30924. - application/json
  30925. responses:
  30926. "200":
  30927. description: OK
  30928. schema:
  30929. $ref: '#/definitions/app.Response'
  30930. "500":
  30931. description: Internal Server Error
  30932. schema:
  30933. $ref: '#/definitions/app.Response'
  30934. security:
  30935. - ApiKeyAuth: []
  30936. summary: 获取带仓单分类的种类信息
  30937. tags:
  30938. - 仓单贸易
  30939. - 仓单贸易
  30940. /WrTrade2/InsertXhcpSellBackApply:
  30941. post:
  30942. parameters:
  30943. - description: 回收申请
  30944. in: body
  30945. name: jsonBody
  30946. required: true
  30947. schema:
  30948. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30949. produces:
  30950. - application/json
  30951. responses:
  30952. "200":
  30953. description: OK
  30954. schema:
  30955. $ref: '#/definitions/app.Response'
  30956. "500":
  30957. description: Internal Server Error
  30958. schema:
  30959. $ref: '#/definitions/app.Response'
  30960. security:
  30961. - ApiKeyAuth: []
  30962. summary: 新增回收申请(新会陈皮)
  30963. tags:
  30964. - 仓单贸易v2
  30965. /WrTrade2/QueryDeliveryGoodsSection:
  30966. get:
  30967. produces:
  30968. - application/json
  30969. responses:
  30970. "200":
  30971. description: OK
  30972. schema:
  30973. items:
  30974. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30975. type: array
  30976. "500":
  30977. description: Internal Server Error
  30978. schema:
  30979. $ref: '#/definitions/app.Response'
  30980. security:
  30981. - ApiKeyAuth: []
  30982. summary: 查询板块(分类)
  30983. tags:
  30984. - 仓单贸易v2
  30985. /WrTrade2/QueryFaProductDetail:
  30986. get:
  30987. description: 页面 买卖大厅 -> 选择融资方案
  30988. parameters:
  30989. - description: 仓单要素id
  30990. in: query
  30991. name: wrfactortypeid
  30992. required: true
  30993. type: integer
  30994. produces:
  30995. - application/json
  30996. responses:
  30997. "200":
  30998. description: OK
  30999. schema:
  31000. items:
  31001. $ref: '#/definitions/models.WrFAProductDetail'
  31002. type: array
  31003. "500":
  31004. description: Internal Server Error
  31005. schema:
  31006. $ref: '#/definitions/app.Response'
  31007. security:
  31008. - ApiKeyAuth: []
  31009. summary: 查询融资产品列表
  31010. tags:
  31011. - 仓单贸易v2
  31012. /WrTrade2/QueryFilterItem:
  31013. get:
  31014. parameters:
  31015. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31016. in: query
  31017. name: itype
  31018. required: true
  31019. type: string
  31020. produces:
  31021. - application/json
  31022. responses:
  31023. "200":
  31024. description: OK
  31025. schema:
  31026. items:
  31027. $ref: '#/definitions/models.WrFilterItem'
  31028. type: array
  31029. "500":
  31030. description: Internal Server Error
  31031. schema:
  31032. $ref: '#/definitions/app.Response'
  31033. security:
  31034. - ApiKeyAuth: []
  31035. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31036. tags:
  31037. - 仓单贸易v2
  31038. /WrTrade2/QueryFtDeliveryGoods:
  31039. get:
  31040. produces:
  31041. - application/json
  31042. responses:
  31043. "200":
  31044. description: OK
  31045. schema:
  31046. items:
  31047. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31048. type: array
  31049. "500":
  31050. description: Internal Server Error
  31051. schema:
  31052. $ref: '#/definitions/app.Response'
  31053. security:
  31054. - ApiKeyAuth: []
  31055. summary: 查询品种品类筛选框列表
  31056. tags:
  31057. - 仓单贸易v2
  31058. /WrTrade2/QueryHoldLB:
  31059. get:
  31060. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31061. parameters:
  31062. - description: 资金账号
  31063. in: query
  31064. name: accountid
  31065. required: true
  31066. type: integer
  31067. - description: 仓库id
  31068. in: query
  31069. name: warehouseid
  31070. type: integer
  31071. - description: 品种id
  31072. in: query
  31073. name: deliverygoodsid
  31074. type: integer
  31075. - description: 品类id
  31076. in: query
  31077. name: wrstandardid
  31078. type: integer
  31079. - description: 仓单要素id
  31080. in: query
  31081. name: wrfactortypeid
  31082. type: integer
  31083. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31084. in: query
  31085. name: dgitemname
  31086. type: string
  31087. produces:
  31088. - application/json
  31089. responses:
  31090. "200":
  31091. description: OK
  31092. schema:
  31093. items:
  31094. $ref: '#/definitions/models.WrHoldLB'
  31095. type: array
  31096. "500":
  31097. description: Internal Server Error
  31098. schema:
  31099. $ref: '#/definitions/app.Response'
  31100. security:
  31101. - ApiKeyAuth: []
  31102. summary: 查询仓单持有记录
  31103. tags:
  31104. - 仓单贸易v2
  31105. /WrTrade2/QueryOrderQuote:
  31106. get:
  31107. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31108. 唯一确定1条记录
  31109. parameters:
  31110. - description: 页码
  31111. in: query
  31112. name: page
  31113. type: integer
  31114. - description: 每页条数
  31115. in: query
  31116. name: pagesize
  31117. type: integer
  31118. - description: 仓单贸易市场id
  31119. in: query
  31120. name: marketid
  31121. type: integer
  31122. - description: 价格方式 - 1:固定价 2-浮动价
  31123. in: query
  31124. name: wrpricetype
  31125. required: true
  31126. type: integer
  31127. - description: 0:仓单预售 1:仓单贸易
  31128. in: query
  31129. name: haswr
  31130. type: integer
  31131. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31132. in: query
  31133. name: dgitemname
  31134. type: string
  31135. - description: 仓库id(筛选条件)
  31136. in: query
  31137. name: warehouseid
  31138. type: integer
  31139. - description: 品种id
  31140. in: query
  31141. name: deliverygoodsid
  31142. type: integer
  31143. - description: 品类id
  31144. in: query
  31145. name: wrstandardid
  31146. type: integer
  31147. - description: 品牌id(dgfactoryitemid)
  31148. in: query
  31149. name: brandid
  31150. type: integer
  31151. - description: 年份id(dgfactoryitemid)
  31152. in: query
  31153. name: yearsid
  31154. type: integer
  31155. - description: 仓单要素id
  31156. in: query
  31157. name: wrfactortypeid
  31158. type: integer
  31159. - description: 交收月(yyyy-mm) 仓单预售填写
  31160. in: query
  31161. name: deliverymonth
  31162. type: string
  31163. produces:
  31164. - application/json
  31165. responses:
  31166. "200":
  31167. description: OK
  31168. schema:
  31169. items:
  31170. $ref: '#/definitions/models.WrOrderQuote'
  31171. type: array
  31172. "500":
  31173. description: Internal Server Error
  31174. schema:
  31175. $ref: '#/definitions/app.Response'
  31176. security:
  31177. - ApiKeyAuth: []
  31178. summary: 查询大厅行情列表
  31179. tags:
  31180. - 仓单贸易v2
  31181. /WrTrade2/QueryOrderQuoteDetail:
  31182. get:
  31183. parameters:
  31184. - description: 页码
  31185. in: query
  31186. name: page
  31187. type: integer
  31188. - description: 每页条数
  31189. in: query
  31190. name: pagesize
  31191. type: integer
  31192. - description: 仓单贸易市场id
  31193. in: query
  31194. name: marketid
  31195. type: integer
  31196. - description: 价格方式 - 1:固定价 2-浮动价
  31197. in: query
  31198. name: wrpricetype
  31199. required: true
  31200. type: integer
  31201. - description: 0:仓单预售 1:仓单贸易
  31202. in: query
  31203. name: haswr
  31204. type: integer
  31205. - description: 仓单要素id
  31206. in: query
  31207. name: wrfactortypeid
  31208. required: true
  31209. type: integer
  31210. - description: 期货商品id(浮动价方式时填)
  31211. in: query
  31212. name: goodsid
  31213. type: integer
  31214. - description: 买卖方向 0-买 1-卖
  31215. in: query
  31216. name: buyorsell
  31217. required: true
  31218. type: integer
  31219. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31220. in: query
  31221. name: deliverymonth
  31222. type: string
  31223. produces:
  31224. - application/json
  31225. responses:
  31226. "200":
  31227. description: OK
  31228. schema:
  31229. items:
  31230. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31231. type: array
  31232. "500":
  31233. description: Internal Server Error
  31234. schema:
  31235. $ref: '#/definitions/app.Response'
  31236. security:
  31237. - ApiKeyAuth: []
  31238. summary: 查询买卖大厅
  31239. tags:
  31240. - 仓单贸易v2
  31241. /WrTrade2/QueryOrderQuoteMyq:
  31242. get:
  31243. parameters:
  31244. - description: 页码
  31245. in: query
  31246. name: page
  31247. type: integer
  31248. - description: 每页条数
  31249. in: query
  31250. name: pagesize
  31251. type: integer
  31252. - description: 用户id
  31253. in: query
  31254. name: userid
  31255. required: true
  31256. type: integer
  31257. - description: 仓单贸易市场id
  31258. in: query
  31259. name: marketid
  31260. type: integer
  31261. - description: 0:仓单预售 1:仓单贸易
  31262. in: query
  31263. name: haswr
  31264. type: integer
  31265. - description: 买卖方向 0-买 1-卖
  31266. in: query
  31267. name: buyorsell
  31268. required: true
  31269. type: integer
  31270. - description: 品种id
  31271. in: query
  31272. name: deliverygoodsid
  31273. type: integer
  31274. - description: 品类id
  31275. in: query
  31276. name: wrstandardid
  31277. type: integer
  31278. - description: 交收月(yyyy-mm) 仓单预售填写
  31279. in: query
  31280. name: deliverymonth
  31281. type: string
  31282. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31283. in: query
  31284. name: dgitemname
  31285. type: string
  31286. produces:
  31287. - application/json
  31288. responses:
  31289. "200":
  31290. description: OK
  31291. schema:
  31292. items:
  31293. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31294. type: array
  31295. "500":
  31296. description: Internal Server Error
  31297. schema:
  31298. $ref: '#/definitions/app.Response'
  31299. security:
  31300. - ApiKeyAuth: []
  31301. summary: 查询贸易圈挂牌大厅
  31302. tags:
  31303. - 仓单贸易v2
  31304. /WrTrade2/QueryPerformancePlan:
  31305. get:
  31306. parameters:
  31307. - description: 用户id
  31308. in: query
  31309. name: userid
  31310. required: true
  31311. type: integer
  31312. - description: 买卖方向 0-买 1-卖
  31313. in: query
  31314. name: buyorsell
  31315. required: true
  31316. type: integer
  31317. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31318. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31319. in: query
  31320. name: status
  31321. type: string
  31322. - description: 开始交易日(yyyymmdd)
  31323. in: query
  31324. name: begindate
  31325. type: string
  31326. - description: 结束交易日(yyyymmdd)
  31327. in: query
  31328. name: enddate
  31329. type: string
  31330. produces:
  31331. - application/json
  31332. responses:
  31333. "200":
  31334. description: OK
  31335. schema:
  31336. items:
  31337. $ref: '#/definitions/models.WrPerformancePlan'
  31338. type: array
  31339. "500":
  31340. description: Internal Server Error
  31341. schema:
  31342. $ref: '#/definitions/app.Response'
  31343. security:
  31344. - ApiKeyAuth: []
  31345. summary: 查询履约信息
  31346. tags:
  31347. - 仓单贸易v2
  31348. /WrTrade2/QueryPermancePlanTmp:
  31349. get:
  31350. description: |-
  31351. 返回指定用户的模板和公共模板(用户id为空)
  31352. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31353. parameters:
  31354. - description: 用户id
  31355. in: query
  31356. name: userid
  31357. type: integer
  31358. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31359. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31360. in: query
  31361. name: tmptype
  31362. type: string
  31363. - description: 是否包含公共模板(用户id为空的) 1-包含
  31364. in: query
  31365. name: includepub
  31366. type: integer
  31367. - description: 市场id(天津麦顿指定此参数,其它不用)
  31368. in: query
  31369. name: marketid
  31370. type: integer
  31371. produces:
  31372. - application/json
  31373. responses:
  31374. "200":
  31375. description: OK
  31376. schema:
  31377. items:
  31378. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31379. type: array
  31380. "500":
  31381. description: Internal Server Error
  31382. schema:
  31383. $ref: '#/definitions/app.Response'
  31384. security:
  31385. - ApiKeyAuth: []
  31386. summary: 查询履约模板
  31387. tags:
  31388. - 仓单贸易v2
  31389. /WrTrade2/QuerySiteColumnDetail:
  31390. get:
  31391. parameters:
  31392. - description: 页码
  31393. in: query
  31394. name: page
  31395. type: integer
  31396. - description: 每页条数
  31397. in: query
  31398. name: pagesize
  31399. type: integer
  31400. - description: 所属栏目id
  31401. in: query
  31402. name: columnid
  31403. type: integer
  31404. produces:
  31405. - application/json
  31406. responses:
  31407. "200":
  31408. description: OK
  31409. schema:
  31410. items:
  31411. $ref: '#/definitions/models.WrSiteColumnDetail'
  31412. type: array
  31413. "500":
  31414. description: Internal Server Error
  31415. schema:
  31416. $ref: '#/definitions/app.Response'
  31417. security:
  31418. - ApiKeyAuth: []
  31419. summary: 查询资讯
  31420. tags:
  31421. - 仓单贸易v2
  31422. /WrTrade2/QuerySpotGroupTradeSum:
  31423. get:
  31424. produces:
  31425. - application/json
  31426. responses:
  31427. "200":
  31428. description: OK
  31429. schema:
  31430. items:
  31431. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31432. type: array
  31433. "500":
  31434. description: Internal Server Error
  31435. schema:
  31436. $ref: '#/definitions/app.Response'
  31437. security:
  31438. - ApiKeyAuth: []
  31439. summary: 查询指数
  31440. tags:
  31441. - 仓单贸易v2
  31442. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31443. get:
  31444. description: 查询的结果将会按日期 从小到大 排序
  31445. parameters:
  31446. - description: 现货商品id
  31447. in: query
  31448. name: deliverygoodsid
  31449. required: true
  31450. type: integer
  31451. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31452. in: query
  31453. name: lastnum
  31454. type: integer
  31455. produces:
  31456. - application/json
  31457. responses:
  31458. "200":
  31459. description: OK
  31460. schema:
  31461. items:
  31462. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31463. type: array
  31464. "500":
  31465. description: Internal Server Error
  31466. schema:
  31467. $ref: '#/definitions/app.Response'
  31468. security:
  31469. - ApiKeyAuth: []
  31470. summary: 查询指数详细(价格走势图)
  31471. tags:
  31472. - 仓单贸易v2
  31473. /WrTrade2/QueryWrAverageTradePrice:
  31474. get:
  31475. parameters:
  31476. - description: 页码
  31477. in: query
  31478. name: page
  31479. type: integer
  31480. - description: 每页条数
  31481. in: query
  31482. name: pagesize
  31483. type: integer
  31484. - description: 0:仓单预售 1:仓单贸易
  31485. in: query
  31486. name: haswr
  31487. required: true
  31488. type: integer
  31489. - description: 仓单要素id
  31490. in: query
  31491. name: wrfactortypeid
  31492. required: true
  31493. type: integer
  31494. produces:
  31495. - application/json
  31496. responses:
  31497. "200":
  31498. description: OK
  31499. schema:
  31500. items:
  31501. $ref: '#/definitions/models.WrAverageTradePrice'
  31502. type: array
  31503. "500":
  31504. description: Internal Server Error
  31505. schema:
  31506. $ref: '#/definitions/app.Response'
  31507. security:
  31508. - ApiKeyAuth: []
  31509. summary: 查询成交价(历史走势)
  31510. tags:
  31511. - 仓单贸易v2
  31512. /WrTrade2/QueryWrBrandAndYears:
  31513. get:
  31514. produces:
  31515. - application/json
  31516. responses:
  31517. "200":
  31518. description: OK
  31519. schema:
  31520. items:
  31521. $ref: '#/definitions/models.WrBrandAndYears'
  31522. type: array
  31523. "500":
  31524. description: Internal Server Error
  31525. schema:
  31526. $ref: '#/definitions/app.Response'
  31527. security:
  31528. - ApiKeyAuth: []
  31529. summary: 查询品牌和年份
  31530. tags:
  31531. - 仓单贸易v2
  31532. /WrTrade2/QueryWrBsGoodsInfo:
  31533. get:
  31534. description: 合约交易/买卖大厅/详情
  31535. parameters:
  31536. - description: 商品id
  31537. in: query
  31538. name: goodsid
  31539. required: true
  31540. type: integer
  31541. produces:
  31542. - application/json
  31543. responses:
  31544. "200":
  31545. description: OK
  31546. schema:
  31547. items:
  31548. $ref: '#/definitions/models.WrBsGoodsInfo'
  31549. type: array
  31550. "500":
  31551. description: Internal Server Error
  31552. schema:
  31553. $ref: '#/definitions/app.Response'
  31554. security:
  31555. - ApiKeyAuth: []
  31556. summary: 查询合约交易买卖大厅详情
  31557. tags:
  31558. - 仓单贸易v2
  31559. /WrTrade2/QueryWrBuybackDetail:
  31560. get:
  31561. parameters:
  31562. - description: 融资合同id
  31563. in: query
  31564. name: scfcontractid
  31565. type: integer
  31566. produces:
  31567. - application/json
  31568. responses:
  31569. "200":
  31570. description: OK
  31571. schema:
  31572. items:
  31573. $ref: '#/definitions/models.WrBuybackDetail'
  31574. type: array
  31575. "500":
  31576. description: Internal Server Error
  31577. schema:
  31578. $ref: '#/definitions/app.Response'
  31579. security:
  31580. - ApiKeyAuth: []
  31581. summary: 查询仓单回购明细
  31582. tags:
  31583. - 仓单贸易v2
  31584. /WrTrade2/QueryWrClientAdSpaceConfig:
  31585. get:
  31586. produces:
  31587. - application/json
  31588. responses:
  31589. "200":
  31590. description: OK
  31591. schema:
  31592. items:
  31593. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31594. type: array
  31595. "500":
  31596. description: Internal Server Error
  31597. schema:
  31598. $ref: '#/definitions/app.Response'
  31599. security:
  31600. - ApiKeyAuth: []
  31601. summary: 查询固定广告配置
  31602. tags:
  31603. - 仓单贸易v2
  31604. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31605. get:
  31606. parameters:
  31607. - description: 资金账号
  31608. in: query
  31609. name: accountid
  31610. required: true
  31611. type: integer
  31612. - description: 商品id
  31613. in: query
  31614. name: goodsid
  31615. required: true
  31616. type: integer
  31617. produces:
  31618. - application/json
  31619. responses:
  31620. "200":
  31621. description: OK
  31622. schema:
  31623. items:
  31624. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31625. type: array
  31626. "500":
  31627. description: Internal Server Error
  31628. schema:
  31629. $ref: '#/definitions/app.Response'
  31630. security:
  31631. - ApiKeyAuth: []
  31632. summary: 查询合约交收可点选仓单
  31633. tags:
  31634. - 仓单贸易v2
  31635. /WrTrade2/QueryWrDeliveryDetail:
  31636. get:
  31637. parameters:
  31638. - description: 用户id
  31639. in: query
  31640. name: userid
  31641. required: true
  31642. type: integer
  31643. - description: 资金账号id
  31644. in: query
  31645. name: accountid
  31646. type: integer
  31647. - description: 开始交易日(yyyymmdd)
  31648. in: query
  31649. name: begindate
  31650. type: string
  31651. - description: 结束交易日(yyyymmdd)
  31652. in: query
  31653. name: enddate
  31654. type: string
  31655. produces:
  31656. - application/json
  31657. responses:
  31658. "200":
  31659. description: OK
  31660. schema:
  31661. items:
  31662. $ref: '#/definitions/models.WrDeliveryDetail'
  31663. type: array
  31664. "500":
  31665. description: Internal Server Error
  31666. schema:
  31667. $ref: '#/definitions/app.Response'
  31668. security:
  31669. - ApiKeyAuth: []
  31670. summary: 查询交收
  31671. tags:
  31672. - 仓单贸易v2
  31673. /WrTrade2/QueryWrDraftUserInfo:
  31674. get:
  31675. parameters:
  31676. - description: 用户ID
  31677. in: query
  31678. name: userid
  31679. required: true
  31680. type: integer
  31681. - description: 用户状态 1:正常 2:注销
  31682. in: query
  31683. name: userstatus
  31684. type: integer
  31685. produces:
  31686. - application/json
  31687. responses:
  31688. "200":
  31689. description: OK
  31690. schema:
  31691. items:
  31692. $ref: '#/definitions/models.WrDraftUserInfo'
  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/QueryWrFactorTypeInfo:
  31704. get:
  31705. parameters:
  31706. - description: 仓单要素id
  31707. in: query
  31708. name: wrfactortypeid
  31709. required: true
  31710. type: integer
  31711. produces:
  31712. - application/json
  31713. responses:
  31714. "200":
  31715. description: OK
  31716. schema:
  31717. items:
  31718. $ref: '#/definitions/models.WrFactorTypeInfo'
  31719. type: array
  31720. "500":
  31721. description: Internal Server Error
  31722. schema:
  31723. $ref: '#/definitions/app.Response'
  31724. security:
  31725. - ApiKeyAuth: []
  31726. summary: 查询仓单要素详细信息
  31727. tags:
  31728. - 仓单贸易v2
  31729. /WrTrade2/QueryWrFactorTypeInfoEx:
  31730. get:
  31731. parameters:
  31732. - description: 仓单要素id
  31733. in: query
  31734. name: wrfactortypeid
  31735. required: true
  31736. type: integer
  31737. produces:
  31738. - application/json
  31739. responses:
  31740. "200":
  31741. description: OK
  31742. schema:
  31743. items:
  31744. $ref: '#/definitions/models.WrTypeItem'
  31745. type: array
  31746. "500":
  31747. description: Internal Server Error
  31748. schema:
  31749. $ref: '#/definitions/app.Response'
  31750. security:
  31751. - ApiKeyAuth: []
  31752. summary: 查询仓单要素详细信息列表项
  31753. tags:
  31754. - 仓单贸易v2
  31755. /WrTrade2/QueryWrFinanceBuyApply:
  31756. get:
  31757. description: 页面 融资信息+ / 申请单
  31758. parameters:
  31759. - description: 用户id
  31760. in: query
  31761. name: userid
  31762. required: true
  31763. type: integer
  31764. produces:
  31765. - application/json
  31766. responses:
  31767. "200":
  31768. description: OK
  31769. schema:
  31770. items:
  31771. $ref: '#/definitions/models.WrFinanceBuyApply'
  31772. type: array
  31773. "500":
  31774. description: Internal Server Error
  31775. schema:
  31776. $ref: '#/definitions/app.Response'
  31777. security:
  31778. - ApiKeyAuth: []
  31779. summary: 查询融资购买申请
  31780. tags:
  31781. - 仓单贸易v2
  31782. /WrTrade2/QueryWrFriendApply:
  31783. get:
  31784. parameters:
  31785. - description: 用户id
  31786. in: query
  31787. name: userid
  31788. required: true
  31789. type: integer
  31790. produces:
  31791. - application/json
  31792. responses:
  31793. "200":
  31794. description: OK
  31795. schema:
  31796. items:
  31797. $ref: '#/definitions/models.WrFriendApply'
  31798. type: array
  31799. "500":
  31800. description: Internal Server Error
  31801. schema:
  31802. $ref: '#/definitions/app.Response'
  31803. security:
  31804. - ApiKeyAuth: []
  31805. summary: 查询好友申请记录
  31806. tags:
  31807. - 仓单贸易v2
  31808. /WrTrade2/QueryWrGoodsInfo:
  31809. get:
  31810. parameters:
  31811. - description: 仓单贸易市场id
  31812. in: query
  31813. name: marketid
  31814. type: integer
  31815. - description: 0:仓单预售 1:仓单贸易
  31816. in: query
  31817. name: haswr
  31818. required: true
  31819. type: integer
  31820. - description: 仓单要素id
  31821. in: query
  31822. name: wrfactortypeid
  31823. required: true
  31824. type: integer
  31825. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31826. in: query
  31827. name: tmplateid
  31828. type: integer
  31829. produces:
  31830. - application/json
  31831. responses:
  31832. "200":
  31833. description: OK
  31834. schema:
  31835. items:
  31836. $ref: '#/definitions/models.WrGoodsInfo'
  31837. type: array
  31838. "500":
  31839. description: Internal Server Error
  31840. schema:
  31841. $ref: '#/definitions/app.Response'
  31842. security:
  31843. - ApiKeyAuth: []
  31844. summary: 查询仓单商品信息
  31845. tags:
  31846. - 仓单贸易v2
  31847. /WrTrade2/QueryWrMarketTradeConfig:
  31848. get:
  31849. parameters:
  31850. - description: 市场id
  31851. in: query
  31852. name: marketid
  31853. type: integer
  31854. produces:
  31855. - application/json
  31856. responses:
  31857. "200":
  31858. description: OK
  31859. schema:
  31860. items:
  31861. $ref: '#/definitions/models.WrMarketTradeConfig'
  31862. type: array
  31863. "500":
  31864. description: Internal Server Error
  31865. schema:
  31866. $ref: '#/definitions/app.Response'
  31867. security:
  31868. - ApiKeyAuth: []
  31869. summary: 查询市场交易参数配置
  31870. tags:
  31871. - 仓单贸易v2
  31872. /WrTrade2/QueryWrOrderDetail:
  31873. get:
  31874. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31875. parameters:
  31876. - description: 页码
  31877. in: query
  31878. name: page
  31879. type: integer
  31880. - description: 每页条数
  31881. in: query
  31882. name: pagesize
  31883. type: integer
  31884. - description: 用户id
  31885. in: query
  31886. name: userid
  31887. required: true
  31888. type: integer
  31889. - description: 仓单贸易市场id
  31890. in: query
  31891. name: marketid
  31892. type: integer
  31893. - description: 0:仓单预售 1:仓单贸易
  31894. in: query
  31895. name: haswr
  31896. required: true
  31897. type: integer
  31898. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31899. in: query
  31900. name: bcancel
  31901. type: integer
  31902. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31903. in: query
  31904. name: wrtradetype
  31905. type: integer
  31906. - description: 开始交易日(yyyymmdd)
  31907. in: query
  31908. name: begindate
  31909. type: string
  31910. - description: 结束交易日(yyyymmdd)
  31911. in: query
  31912. name: enddate
  31913. type: string
  31914. produces:
  31915. - application/json
  31916. responses:
  31917. "200":
  31918. description: OK
  31919. schema:
  31920. items:
  31921. $ref: '#/definitions/models.WrOrderDetail'
  31922. type: array
  31923. "500":
  31924. description: Internal Server Error
  31925. schema:
  31926. $ref: '#/definitions/app.Response'
  31927. security:
  31928. - ApiKeyAuth: []
  31929. summary: 查询仓单委托单
  31930. tags:
  31931. - 仓单贸易v2
  31932. /WrTrade2/QueryWrOutInApply:
  31933. get:
  31934. parameters:
  31935. - description: 页码
  31936. in: query
  31937. name: page
  31938. type: integer
  31939. - description: 每页条数
  31940. in: query
  31941. name: pagesize
  31942. type: integer
  31943. - description: 用户id
  31944. in: query
  31945. name: userid
  31946. required: true
  31947. type: integer
  31948. - description: 开始交易日(yyyymmdd)
  31949. in: query
  31950. name: begindate
  31951. type: string
  31952. - description: 结束交易日(yyyymmdd)
  31953. in: query
  31954. name: enddate
  31955. type: string
  31956. produces:
  31957. - application/json
  31958. responses:
  31959. "200":
  31960. description: OK
  31961. schema:
  31962. items:
  31963. $ref: '#/definitions/models.WrOutInApply'
  31964. type: array
  31965. "500":
  31966. description: Internal Server Error
  31967. schema:
  31968. $ref: '#/definitions/app.Response'
  31969. security:
  31970. - ApiKeyAuth: []
  31971. summary: 查询提货申请
  31972. tags:
  31973. - 仓单贸易v2
  31974. /WrTrade2/QueryWrPerformancePlanStep:
  31975. get:
  31976. parameters:
  31977. - description: 履约计划id(performanceplanid)
  31978. in: query
  31979. name: planid
  31980. required: true
  31981. type: integer
  31982. - description: 当前步骤id
  31983. in: query
  31984. name: curstepid
  31985. type: integer
  31986. produces:
  31987. - application/json
  31988. responses:
  31989. "200":
  31990. description: OK
  31991. schema:
  31992. items:
  31993. $ref: '#/definitions/models.WrPerformancePlanStep'
  31994. type: array
  31995. "500":
  31996. description: Internal Server Error
  31997. schema:
  31998. $ref: '#/definitions/app.Response'
  31999. security:
  32000. - ApiKeyAuth: []
  32001. summary: 查询履约信息详情
  32002. tags:
  32003. - 仓单贸易v2
  32004. /WrTrade2/QueryWrPerformanceStepType:
  32005. get:
  32006. produces:
  32007. - application/json
  32008. responses:
  32009. "200":
  32010. description: OK
  32011. schema:
  32012. items:
  32013. $ref: '#/definitions/models.WrPerformanceStepType'
  32014. type: array
  32015. "500":
  32016. description: Internal Server Error
  32017. schema:
  32018. $ref: '#/definitions/app.Response'
  32019. security:
  32020. - ApiKeyAuth: []
  32021. summary: 查询履约步骤枚举
  32022. tags:
  32023. - 仓单贸易v2
  32024. /WrTrade2/QueryWrPosition:
  32025. get:
  32026. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32027. parameters:
  32028. - description: 用户id
  32029. in: query
  32030. name: userid
  32031. required: true
  32032. type: integer
  32033. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32034. in: query
  32035. name: querytype
  32036. required: true
  32037. type: integer
  32038. - description: 0:仓单预售 1:仓单贸易
  32039. in: query
  32040. name: haswr
  32041. required: true
  32042. type: integer
  32043. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32044. in: query
  32045. name: dgitemname
  32046. type: string
  32047. - description: 仓库id(筛选条件)
  32048. in: query
  32049. name: warehouseid
  32050. type: integer
  32051. - description: 品种id
  32052. in: query
  32053. name: deliverygoodsid
  32054. type: integer
  32055. - description: 品类id
  32056. in: query
  32057. name: wrstandardid
  32058. type: integer
  32059. produces:
  32060. - application/json
  32061. responses:
  32062. "200":
  32063. description: OK
  32064. schema:
  32065. items:
  32066. $ref: '#/definitions/models.WrPosition'
  32067. type: array
  32068. "500":
  32069. description: Internal Server Error
  32070. schema:
  32071. $ref: '#/definitions/app.Response'
  32072. security:
  32073. - ApiKeyAuth: []
  32074. summary: 查询现货(预售)仓单持仓
  32075. tags:
  32076. - 仓单贸易v2
  32077. /WrTrade2/QueryWrPreSaleInfo:
  32078. get:
  32079. parameters:
  32080. - description: 市场id
  32081. in: query
  32082. name: marketid
  32083. type: integer
  32084. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32085. in: query
  32086. name: presalestatus
  32087. type: string
  32088. - description: 摇号标识 - 0:未摇号 1:已摇号
  32089. in: query
  32090. name: lotteryflag
  32091. type: integer
  32092. - description: 最近多少条记录(按创建时间倒序)
  32093. in: query
  32094. name: lastnum
  32095. type: integer
  32096. produces:
  32097. - application/json
  32098. responses:
  32099. "200":
  32100. description: OK
  32101. schema:
  32102. items:
  32103. $ref: '#/definitions/models.WrPreSaleInfo'
  32104. type: array
  32105. "500":
  32106. description: Internal Server Error
  32107. schema:
  32108. $ref: '#/definitions/app.Response'
  32109. security:
  32110. - ApiKeyAuth: []
  32111. summary: 查询新品发布
  32112. tags:
  32113. - 仓单贸易v2
  32114. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32115. get:
  32116. parameters:
  32117. - description: 市场id
  32118. in: query
  32119. name: marketid
  32120. required: true
  32121. type: integer
  32122. - description: 现货商品id
  32123. in: query
  32124. name: wrstandardid
  32125. required: true
  32126. type: integer
  32127. - description: 开始交易日(yyyymmdd)
  32128. in: query
  32129. name: begindate
  32130. type: string
  32131. - description: 结束交易日(yyyymmdd)
  32132. in: query
  32133. name: enddate
  32134. type: string
  32135. - description: 最近多少条记录(按交易日倒序)
  32136. in: query
  32137. name: lastnum
  32138. type: integer
  32139. - description: 是否今日
  32140. in: query
  32141. name: istoday
  32142. type: boolean
  32143. produces:
  32144. - application/json
  32145. responses:
  32146. "200":
  32147. description: OK
  32148. schema:
  32149. items:
  32150. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32151. type: array
  32152. "500":
  32153. description: Internal Server Error
  32154. schema:
  32155. $ref: '#/definitions/app.Response'
  32156. security:
  32157. - ApiKeyAuth: []
  32158. summary: 查询价格走势
  32159. tags:
  32160. - 仓单贸易v2
  32161. /WrTrade2/QueryWrScfContract:
  32162. get:
  32163. parameters:
  32164. - description: 用户id
  32165. in: query
  32166. name: userid
  32167. required: true
  32168. type: integer
  32169. - description: 融资合同id
  32170. in: query
  32171. name: scfcontractid
  32172. type: integer
  32173. produces:
  32174. - application/json
  32175. responses:
  32176. "200":
  32177. description: OK
  32178. schema:
  32179. items:
  32180. $ref: '#/definitions/models.WrScfContract'
  32181. type: array
  32182. "500":
  32183. description: Internal Server Error
  32184. schema:
  32185. $ref: '#/definitions/app.Response'
  32186. security:
  32187. - ApiKeyAuth: []
  32188. summary: 查询仓单贸易融资合同
  32189. tags:
  32190. - 仓单贸易v2
  32191. /WrTrade2/QueryWrScfContractInterest:
  32192. get:
  32193. parameters:
  32194. - description: 融资合同id
  32195. in: query
  32196. name: scfcontractid
  32197. type: integer
  32198. produces:
  32199. - application/json
  32200. responses:
  32201. "200":
  32202. description: OK
  32203. schema:
  32204. items:
  32205. $ref: '#/definitions/models.WrScfContractInterest'
  32206. type: array
  32207. "500":
  32208. description: Internal Server Error
  32209. schema:
  32210. $ref: '#/definitions/app.Response'
  32211. security:
  32212. - ApiKeyAuth: []
  32213. summary: 查询融资合同费用明细
  32214. tags:
  32215. - 仓单贸易v2
  32216. /WrTrade2/QueryWrSearchUser:
  32217. get:
  32218. parameters:
  32219. - description: 用户名称(模糊匹配)
  32220. in: query
  32221. name: username
  32222. required: true
  32223. type: string
  32224. produces:
  32225. - application/json
  32226. responses:
  32227. "200":
  32228. description: OK
  32229. schema:
  32230. items:
  32231. $ref: '#/definitions/models.WrSearchUser'
  32232. type: array
  32233. "500":
  32234. description: Internal Server Error
  32235. schema:
  32236. $ref: '#/definitions/app.Response'
  32237. security:
  32238. - ApiKeyAuth: []
  32239. summary: 查询用户
  32240. tags:
  32241. - 仓单贸易v2
  32242. /WrTrade2/QueryWrSpecialMatchOrder:
  32243. get:
  32244. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32245. parameters:
  32246. - description: 页码
  32247. in: query
  32248. name: page
  32249. type: integer
  32250. - description: 每页条数
  32251. in: query
  32252. name: pagesize
  32253. type: integer
  32254. - description: 用户id
  32255. in: query
  32256. name: userid
  32257. required: true
  32258. type: integer
  32259. - description: 仓单贸易市场id
  32260. in: query
  32261. name: marketid
  32262. type: integer
  32263. - description: 0:仓单预售 1:仓单贸易
  32264. in: query
  32265. name: haswr
  32266. required: true
  32267. type: integer
  32268. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32269. in: query
  32270. name: isspecified
  32271. type: integer
  32272. produces:
  32273. - application/json
  32274. responses:
  32275. "200":
  32276. description: OK
  32277. schema:
  32278. items:
  32279. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32280. type: array
  32281. "500":
  32282. description: Internal Server Error
  32283. schema:
  32284. $ref: '#/definitions/app.Response'
  32285. security:
  32286. - ApiKeyAuth: []
  32287. summary: 查询指定成交
  32288. tags:
  32289. - 仓单贸易v2
  32290. /WrTrade2/QueryWrStandardFactoryItem:
  32291. get:
  32292. parameters:
  32293. - description: 品类id
  32294. in: query
  32295. name: wrstandardid
  32296. required: true
  32297. type: integer
  32298. produces:
  32299. - application/json
  32300. responses:
  32301. "200":
  32302. description: OK
  32303. schema:
  32304. items:
  32305. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32306. type: array
  32307. "500":
  32308. description: Internal Server Error
  32309. schema:
  32310. $ref: '#/definitions/app.Response'
  32311. security:
  32312. - ApiKeyAuth: []
  32313. summary: 查询品类要素定义项
  32314. tags:
  32315. - 仓单贸易v2
  32316. /WrTrade2/QueryWrTradeBargainApply:
  32317. get:
  32318. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32319. 议价->对方议价 填写matchuserid=登录用户id
  32320. parameters:
  32321. - description: 议价人id(摘牌方)
  32322. in: query
  32323. name: userid
  32324. type: integer
  32325. - description: 挂牌方id(查对方议价时,填写此项)
  32326. in: query
  32327. name: matchuserid
  32328. type: integer
  32329. - description: 关联委托单id
  32330. in: query
  32331. name: wrtradeorderid
  32332. type: integer
  32333. - description: 0:仓单预售 1:仓单贸易
  32334. in: query
  32335. name: haswr
  32336. required: true
  32337. type: integer
  32338. - description: 开始交易日(yyyymmdd)
  32339. in: query
  32340. name: begindate
  32341. type: string
  32342. - description: 结束交易日(yyyymmdd)
  32343. in: query
  32344. name: enddate
  32345. type: string
  32346. produces:
  32347. - application/json
  32348. responses:
  32349. "200":
  32350. description: OK
  32351. schema:
  32352. items:
  32353. $ref: '#/definitions/models.WRTradeBargainApply'
  32354. type: array
  32355. "500":
  32356. description: Internal Server Error
  32357. schema:
  32358. $ref: '#/definitions/app.Response'
  32359. security:
  32360. - ApiKeyAuth: []
  32361. summary: 查询议价单
  32362. tags:
  32363. - 仓单贸易v2
  32364. /WrTrade2/QueryWrTradeDetail:
  32365. get:
  32366. parameters:
  32367. - description: 页码
  32368. in: query
  32369. name: page
  32370. type: integer
  32371. - description: 每页条数
  32372. in: query
  32373. name: pagesize
  32374. type: integer
  32375. - description: 用户id
  32376. in: query
  32377. name: userid
  32378. required: true
  32379. type: integer
  32380. - description: 仓单贸易市场id
  32381. in: query
  32382. name: marketid
  32383. type: integer
  32384. - description: 0:仓单预售 1:仓单贸易
  32385. in: query
  32386. name: haswr
  32387. required: true
  32388. type: integer
  32389. - description: 开始交易日(yyyymmdd)
  32390. in: query
  32391. name: begindate
  32392. type: string
  32393. - description: 结束交易日(yyyymmdd)
  32394. in: query
  32395. name: enddate
  32396. type: string
  32397. produces:
  32398. - application/json
  32399. responses:
  32400. "200":
  32401. description: OK
  32402. schema:
  32403. items:
  32404. $ref: '#/definitions/models.WrTradeDetail'
  32405. type: array
  32406. "500":
  32407. description: Internal Server Error
  32408. schema:
  32409. $ref: '#/definitions/app.Response'
  32410. security:
  32411. - ApiKeyAuth: []
  32412. summary: 查询仓单成交明细
  32413. tags:
  32414. - 仓单贸易v2
  32415. /WrTrade2/QueryWrTradeOrderDetail:
  32416. get:
  32417. parameters:
  32418. - description: 页码
  32419. in: query
  32420. name: page
  32421. type: integer
  32422. - description: 每页条数
  32423. in: query
  32424. name: pagesize
  32425. type: integer
  32426. - description: 商品id
  32427. in: query
  32428. name: goodsid
  32429. required: true
  32430. type: integer
  32431. - description: 买卖方向 0-买 1-卖
  32432. in: query
  32433. name: buyorsell
  32434. required: true
  32435. type: integer
  32436. produces:
  32437. - application/json
  32438. responses:
  32439. "200":
  32440. description: OK
  32441. schema:
  32442. items:
  32443. $ref: '#/definitions/models.WrTradeOrderDetail'
  32444. type: array
  32445. "500":
  32446. description: Internal Server Error
  32447. schema:
  32448. $ref: '#/definitions/app.Response'
  32449. security:
  32450. - ApiKeyAuth: []
  32451. summary: 查询合约交易买卖大厅
  32452. tags:
  32453. - 仓单贸易v2
  32454. /WrTrade2/QueryWrTradeQuote:
  32455. get:
  32456. parameters:
  32457. - description: 现货商品id
  32458. in: query
  32459. name: wrstandardid
  32460. required: true
  32461. type: integer
  32462. - description: 开始日期(yyyymmdd)
  32463. in: query
  32464. name: begindate
  32465. required: true
  32466. type: string
  32467. - description: 结束日期(yyyymmdd)
  32468. in: query
  32469. name: enddate
  32470. required: true
  32471. type: string
  32472. - description: 市场id
  32473. in: query
  32474. name: marketid
  32475. type: integer
  32476. produces:
  32477. - application/json
  32478. responses:
  32479. "200":
  32480. description: OK
  32481. schema:
  32482. items:
  32483. $ref: '#/definitions/models.Wrtradetradequote'
  32484. type: array
  32485. "500":
  32486. description: Internal Server Error
  32487. schema:
  32488. $ref: '#/definitions/app.Response'
  32489. security:
  32490. - ApiKeyAuth: []
  32491. summary: 查询仓单贸易成交行情
  32492. tags:
  32493. - 仓单贸易v2
  32494. /WrTrade2/QueryWrUserFriend:
  32495. get:
  32496. parameters:
  32497. - description: 用户id
  32498. in: query
  32499. name: userid
  32500. required: true
  32501. type: integer
  32502. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32503. in: query
  32504. name: newuserid
  32505. type: integer
  32506. produces:
  32507. - application/json
  32508. responses:
  32509. "200":
  32510. description: OK
  32511. schema:
  32512. items:
  32513. $ref: '#/definitions/models.WrUserFriend'
  32514. type: array
  32515. "500":
  32516. description: Internal Server Error
  32517. schema:
  32518. $ref: '#/definitions/app.Response'
  32519. security:
  32520. - ApiKeyAuth: []
  32521. summary: 查询我的朋友
  32522. tags:
  32523. - 仓单贸易v2
  32524. /WrTrade2/QueryWrUserReceiptInfo:
  32525. get:
  32526. parameters:
  32527. - description: 用户id
  32528. in: query
  32529. name: userid
  32530. type: integer
  32531. - description: 发票类型 - 1:个人 2:企业
  32532. in: query
  32533. name: receipttype
  32534. type: integer
  32535. produces:
  32536. - application/json
  32537. responses:
  32538. "200":
  32539. description: OK
  32540. schema:
  32541. items:
  32542. $ref: '#/definitions/models.WrUserReceiptInfo'
  32543. type: array
  32544. "500":
  32545. description: Internal Server Error
  32546. schema:
  32547. $ref: '#/definitions/app.Response'
  32548. security:
  32549. - ApiKeyAuth: []
  32550. summary: 查询发票信息
  32551. tags:
  32552. - 仓单贸易v2
  32553. /WrTrade2/QueryXhcpSellBackApply:
  32554. get:
  32555. parameters:
  32556. - description: 用户ID
  32557. in: query
  32558. name: userid
  32559. required: true
  32560. type: integer
  32561. produces:
  32562. - application/json
  32563. responses:
  32564. "200":
  32565. description: OK
  32566. schema:
  32567. items:
  32568. $ref: '#/definitions/models.Xhcpsellbackapply'
  32569. type: array
  32570. "500":
  32571. description: Internal Server Error
  32572. schema:
  32573. $ref: '#/definitions/app.Response'
  32574. security:
  32575. - ApiKeyAuth: []
  32576. summary: 查询我的回收申请(新会陈皮)
  32577. tags:
  32578. - 仓单贸易v2
  32579. /ZJ/GetBankTip:
  32580. get:
  32581. produces:
  32582. - application/json
  32583. responses:
  32584. "200":
  32585. description: OK
  32586. schema:
  32587. type: string
  32588. "500":
  32589. description: Internal Server Error
  32590. schema:
  32591. $ref: '#/definitions/app.Response'
  32592. summary: 获取中江网银端出入金提示信息
  32593. tags:
  32594. - 中江
  32595. /ZJ/GetCusBankChannels:
  32596. get:
  32597. produces:
  32598. - application/json
  32599. responses:
  32600. "200":
  32601. description: OK
  32602. schema:
  32603. items:
  32604. type: string
  32605. type: array
  32606. "500":
  32607. description: Internal Server Error
  32608. schema:
  32609. $ref: '#/definitions/app.Response'
  32610. summary: 获取中江出入金渠道显示列表
  32611. tags:
  32612. - 中江
  32613. securityDefinitions:
  32614. ApiKeyAuth:
  32615. in: header
  32616. name: Authorization
  32617. type: apiKey
  32618. Group:
  32619. in: header
  32620. name: Group
  32621. type: apiKey
  32622. LoginID:
  32623. in: header
  32624. name: LoginID
  32625. type: apiKey
  32626. swagger: "2.0"