swagger.yaml 899 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385
  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. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. 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、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remainqty:
  9682. description: 剩余重量
  9683. type: number
  9684. remark:
  9685. description: 备注
  9686. type: string
  9687. sellusername:
  9688. description: 账户名称(机构名称)
  9689. type: string
  9690. settingmaterial:
  9691. description: 镶嵌材料 - 类型:4
  9692. type: string
  9693. size1:
  9694. description: 尺寸1 - 类型:2,4,5
  9695. type: string
  9696. size2:
  9697. description: 尺寸2 - 类型:2,4,5
  9698. type: string
  9699. size3:
  9700. description: 尺寸3 - 类型:2,4,5
  9701. type: string
  9702. stonedesc:
  9703. description: 配石描述 - 类型:4
  9704. type: string
  9705. userid:
  9706. description: 用户ID
  9707. type: integer
  9708. warehouseid:
  9709. description: 仓库ID
  9710. type: integer
  9711. warehousenamedisplay:
  9712. type: string
  9713. weight:
  9714. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9715. type: number
  9716. weightavg:
  9717. description: 平均单颗重量 - 类型:1,3
  9718. type: number
  9719. wrpath:
  9720. description: 仓单扫描件(相对地址)
  9721. type: string
  9722. wrstandardid:
  9723. description: 现货商品ID
  9724. type: integer
  9725. wrtradeorderid:
  9726. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9727. type: string
  9728. zscategory:
  9729. description: 钻石分类 - 枚举”ZSCategory“
  9730. type: integer
  9731. zscategorydisplay:
  9732. type: string
  9733. zscerttype:
  9734. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9735. type: integer
  9736. zscerttypedisplay:
  9737. type: string
  9738. zsclaritytype1:
  9739. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9740. type: integer
  9741. zsclaritytype1display:
  9742. type: string
  9743. zsclaritytype2:
  9744. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9745. type: integer
  9746. zsclaritytype2display:
  9747. type: string
  9748. zscolortype1:
  9749. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9750. type: integer
  9751. zscolortype1display:
  9752. type: string
  9753. zscolortype2:
  9754. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9755. type: integer
  9756. zscolortype2display:
  9757. type: string
  9758. zscrystaltype:
  9759. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9760. type: string
  9761. zscrystaltypedisplay:
  9762. type: string
  9763. zscurrencytype:
  9764. description: 货币类型 - 枚举“ZSCurrencyType”
  9765. type: integer
  9766. zscurrencytypedisplay:
  9767. type: string
  9768. zscurrencytypedisplayunit:
  9769. type: string
  9770. zscuttype1:
  9771. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9772. type: integer
  9773. zscuttype1display:
  9774. type: string
  9775. zscuttype2:
  9776. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9777. type: integer
  9778. zscuttype2display:
  9779. type: string
  9780. zsczcolor1type:
  9781. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9782. type: integer
  9783. zsczcolor1typedisplay:
  9784. type: string
  9785. zsczcolor2type:
  9786. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9787. type: integer
  9788. zsczcolor2typedisplay:
  9789. type: string
  9790. zsczcolor3type:
  9791. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9792. type: integer
  9793. zsczcolor3typedisplay:
  9794. type: string
  9795. zsfluorescencetype1:
  9796. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9797. type: integer
  9798. zsfluorescencetype1display:
  9799. type: string
  9800. zsfluorescencetype2:
  9801. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9802. type: integer
  9803. zsfluorescencetype2display:
  9804. type: string
  9805. zspolishtype1:
  9806. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9807. type: integer
  9808. zspolishtype1display:
  9809. type: string
  9810. zspolishtype2:
  9811. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9812. type: integer
  9813. zspolishtype2display:
  9814. type: string
  9815. zsshapetype:
  9816. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9817. type: string
  9818. zsshapetypedisplay:
  9819. type: string
  9820. zsstyletype:
  9821. description: 款式 - 类型:4
  9822. type: integer
  9823. zsstyletypedisplay:
  9824. type: string
  9825. zssymmetrytype1:
  9826. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9827. type: integer
  9828. zssymmetrytype1display:
  9829. type: string
  9830. zssymmetrytype2:
  9831. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9832. type: integer
  9833. zssymmetrytype2display:
  9834. type: string
  9835. required:
  9836. - goodsno
  9837. type: object
  9838. models.GZWarehouseinfo:
  9839. properties:
  9840. address:
  9841. description: 详细地址
  9842. type: string
  9843. areauserid:
  9844. description: 所属机构
  9845. type: integer
  9846. autoid:
  9847. description: 自增ID
  9848. type: integer
  9849. cityid:
  9850. description: 市
  9851. type: integer
  9852. contactname:
  9853. description: 联系人
  9854. type: string
  9855. contactnum:
  9856. description: 联系电话
  9857. type: string
  9858. countryid:
  9859. description: 国家
  9860. type: integer
  9861. createtime:
  9862. description: 创建时间
  9863. type: string
  9864. districtid:
  9865. description: 区
  9866. type: integer
  9867. hasvideo:
  9868. description: 是否有视频 - 0:无 1:有
  9869. type: integer
  9870. provinceid:
  9871. description: 省
  9872. type: integer
  9873. remark:
  9874. description: 审核备注
  9875. type: string
  9876. videourl:
  9877. description: 视频地址
  9878. type: string
  9879. warehousecode:
  9880. description: 仓库代码
  9881. type: string
  9882. warehousename:
  9883. description: 仓库名称
  9884. type: string
  9885. warehousestatus:
  9886. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9887. type: integer
  9888. warehousetype:
  9889. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9890. type: integer
  9891. type: object
  9892. models.Goods:
  9893. properties:
  9894. agreeunit:
  9895. description: 合约单位
  9896. type: number
  9897. areauserid:
  9898. description: 所属机构
  9899. type: integer
  9900. auditaccountid:
  9901. description: 审核操作员账号
  9902. type: integer
  9903. audittime:
  9904. description: 审核时间
  9905. type: string
  9906. cancelaccountid:
  9907. description: 注销操作员账号
  9908. type: integer
  9909. canceltime:
  9910. description: 注销时间
  9911. type: string
  9912. closepricemode:
  9913. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9914. type: integer
  9915. closepriceparam:
  9916. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9917. type: number
  9918. createtime:
  9919. description: 创建时间
  9920. type: string
  9921. creatorid:
  9922. description: 创建人
  9923. type: integer
  9924. currencyid:
  9925. description: 报价货币ID
  9926. type: integer
  9927. cutmode:
  9928. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9929. type: integer
  9930. decimalplace:
  9931. description: 报价小数位
  9932. type: integer
  9933. delistingdate:
  9934. description: 商品退市时间(状态:退市) -- 已作废
  9935. type: string
  9936. delistingmode:
  9937. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9938. type: integer
  9939. deliveryflag:
  9940. description: 交割标志 - 0:不可交割 1:可交割
  9941. type: integer
  9942. forceclosemode:
  9943. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9944. type: integer
  9945. forceclosevalue:
  9946. description: 定期强平参数 [收益权]
  9947. type: integer
  9948. goodscode:
  9949. description: 商品代码(内部)
  9950. type: string
  9951. goodscurrencyid:
  9952. description: 合约货币ID
  9953. type: integer
  9954. goodsgroupid:
  9955. description: 所属商品组ID
  9956. type: integer
  9957. goodsid:
  9958. description: 商品ID(自增ID SEQ_GOODS)
  9959. type: integer
  9960. goodsname:
  9961. description: 商品名称
  9962. type: string
  9963. goodsquotetype:
  9964. description: '合约报价类型: 1-直接报价 2-间接报价'
  9965. type: integer
  9966. goodsstatus:
  9967. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9968. type: integer
  9969. goodstradetype:
  9970. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9971. type: integer
  9972. goodunitid:
  9973. description: 报价单位ID
  9974. type: integer
  9975. hasquoter:
  9976. description: 是否有报价商 - 0:无报价商 1:有报价商
  9977. type: integer
  9978. hqprotecttime:
  9979. description: 行情保护时间(秒)
  9980. type: integer
  9981. innerdealmode:
  9982. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9983. type: integer
  9984. isbuylimited:
  9985. description: 是否限制建仓量 - 0:不限制 1:限制
  9986. type: integer
  9987. isvisible:
  9988. description: 游客是否可见 - 0:不可见 1:可见
  9989. type: integer
  9990. lasttradedate:
  9991. description: 最后交易日期(状态:待退市)
  9992. type: string
  9993. listingdate:
  9994. description: 交易开始日期
  9995. type: string
  9996. marketid:
  9997. description: 所属市场ID
  9998. type: integer
  9999. modifierid:
  10000. description: 修改人
  10001. type: integer
  10002. modifystatus:
  10003. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10004. type: integer
  10005. modifytime:
  10006. description: 修改时间
  10007. type: string
  10008. outerdealmode:
  10009. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10010. type: integer
  10011. outgoodscode:
  10012. description: 商品代码(外部)
  10013. type: string
  10014. pictureurl:
  10015. description: 商品图片
  10016. type: string
  10017. qtydecimalplace:
  10018. description: 成交量小数位
  10019. type: integer
  10020. quotegear:
  10021. description: 行情档位(1-10)
  10022. type: integer
  10023. quoteminunit:
  10024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10025. type: integer
  10026. quoteshowtype:
  10027. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10028. type: integer
  10029. quoteshowtypeinterval:
  10030. description: 行情报价间隔时间(秒)(成交价时为0)
  10031. type: integer
  10032. remark:
  10033. description: 备注
  10034. type: string
  10035. required:
  10036. - goodscode
  10037. - goodsid
  10038. - goodsname
  10039. - marketid
  10040. type: object
  10041. models.GoodsIDAndName:
  10042. properties:
  10043. goodscode:
  10044. description: 商品代码(内部)
  10045. type: string
  10046. goodsid:
  10047. description: 商品ID(自增ID SEQ_GOODS)
  10048. type: integer
  10049. goodsname:
  10050. description: 商品名称
  10051. type: string
  10052. marketid:
  10053. description: 所属市场ID
  10054. type: integer
  10055. required:
  10056. - goodscode
  10057. - goodsid
  10058. - goodsname
  10059. - marketid
  10060. type: object
  10061. models.Goodsgroup:
  10062. properties:
  10063. agreeunit:
  10064. description: 合约单位
  10065. type: number
  10066. canshort:
  10067. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10068. type: integer
  10069. closepricemode:
  10070. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10071. type: integer
  10072. closepriceparam:
  10073. description: 强平最新价浮动比例 - 方式为2时使用
  10074. type: number
  10075. createtime:
  10076. description: 创建时间
  10077. type: string
  10078. creatorid:
  10079. description: 创建人
  10080. type: integer
  10081. currencyid:
  10082. description: 报价货币ID
  10083. type: integer
  10084. decimalplace:
  10085. description: 报价小数位
  10086. type: integer
  10087. exercisetype:
  10088. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10089. type: integer
  10090. exexchangeid:
  10091. description: 外部交易所ID[通道交易]
  10092. type: integer
  10093. goodsgroupid:
  10094. description: 商品组ID(自增ID)
  10095. type: integer
  10096. goodsgroupname:
  10097. description: 商品组名称
  10098. type: string
  10099. goodsgroupstatus:
  10100. description: 商品组状态 - 1:正常 2:注销
  10101. type: integer
  10102. goodunitid:
  10103. description: 报价单位ID
  10104. type: integer
  10105. innerdealmode:
  10106. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10107. type: integer
  10108. isbuylimited:
  10109. description: 是否限制建仓量 - 0:不限制 1:限制
  10110. type: integer
  10111. marketid:
  10112. description: 所属市场ID
  10113. type: integer
  10114. modifierid:
  10115. description: 修改人
  10116. type: integer
  10117. modifytime:
  10118. description: 修改时间
  10119. type: string
  10120. outerdealmode:
  10121. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10122. type: integer
  10123. outergroupcode:
  10124. description: 外部商品组代码[通道交易]
  10125. type: string
  10126. premiumdecimalplace:
  10127. description: 权利金小数位[场外期权]
  10128. type: integer
  10129. premiumspreadalgorithm:
  10130. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10131. type: integer
  10132. premiumspreadvalue:
  10133. description: 权利金点差值[场外期权]
  10134. type: number
  10135. qtydecimalplace:
  10136. description: 成交量小数位
  10137. type: integer
  10138. quotegear:
  10139. description: 行情档位(1-10)
  10140. type: integer
  10141. quoteminunit:
  10142. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10143. type: integer
  10144. quoterid:
  10145. description: 报价商ID[场外期权]
  10146. type: integer
  10147. quotesourcegroupid:
  10148. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10149. type: integer
  10150. syncgoodsqty:
  10151. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10152. type: integer
  10153. required:
  10154. - goodsgroupid
  10155. - goodsgroupname
  10156. - goodsgroupstatus
  10157. - marketid
  10158. type: object
  10159. models.Goodssortbypreposition:
  10160. properties:
  10161. goodscode:
  10162. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10163. type: string
  10164. goodsgroupcode:
  10165. description: 品种代码
  10166. type: string
  10167. prepositionqty:
  10168. description: 昨持仓量
  10169. type: integer
  10170. sortindex:
  10171. description: 排序
  10172. type: integer
  10173. tradedate:
  10174. description: 交易日
  10175. type: string
  10176. updatetime:
  10177. description: 更新时间
  10178. type: string
  10179. required:
  10180. - goodscode
  10181. - tradedate
  10182. type: object
  10183. models.Hedgeinnerholderdetail:
  10184. properties:
  10185. accountid:
  10186. description: 账号ID
  10187. type: integer
  10188. buyorsell:
  10189. description: 方向 - 0:买 1:卖
  10190. type: integer
  10191. freezeqty:
  10192. description: 冻结数量 - 按单平使用
  10193. type: integer
  10194. goodsid:
  10195. description: 商品ID
  10196. type: integer
  10197. holderamount:
  10198. description: 持仓金额 [商品币种]
  10199. type: number
  10200. holderdays:
  10201. description: 剩余冻结天数
  10202. type: integer
  10203. holderprice:
  10204. description: 持仓价格
  10205. type: number
  10206. holderqty:
  10207. description: 持仓数量
  10208. type: integer
  10209. marketid:
  10210. description: 市场ID
  10211. type: integer
  10212. openprice:
  10213. description: 建仓价格
  10214. type: number
  10215. openqty:
  10216. description: 建仓数量
  10217. type: integer
  10218. parentaccountid:
  10219. description: 所属母账户
  10220. type: integer
  10221. releaseamount:
  10222. description: 释放持仓金额[商品币种]
  10223. type: number
  10224. tradeamount:
  10225. description: 成交金额[账户]
  10226. type: number
  10227. tradedate:
  10228. description: 交易日(yyyyMMdd)
  10229. type: string
  10230. tradeid:
  10231. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10232. type: string
  10233. tradetime:
  10234. description: 交易时间
  10235. type: string
  10236. required:
  10237. - buyorsell
  10238. - tradeid
  10239. type: object
  10240. models.Hedgemarketopenlog:
  10241. properties:
  10242. accountid:
  10243. description: 资金账号[外部母账户]
  10244. type: integer
  10245. fcname:
  10246. description: 期货公司名称
  10247. type: string
  10248. handlestatus:
  10249. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10250. type: integer
  10251. marketid:
  10252. description: 市场ID
  10253. type: integer
  10254. status:
  10255. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10256. type: integer
  10257. tradedate:
  10258. description: 交易日(yyyyMMdd)
  10259. type: string
  10260. updatetime:
  10261. description: 更新时间
  10262. type: string
  10263. required:
  10264. - accountid
  10265. type: object
  10266. models.InternalEnableTradeDetail:
  10267. properties:
  10268. agreeunit:
  10269. description: 合约乘数
  10270. type: number
  10271. areauserid:
  10272. description: 企业ID
  10273. type: integer
  10274. convertratio:
  10275. description: 品种系数
  10276. type: number
  10277. deliverygoodscode:
  10278. description: 现货品种代码
  10279. type: string
  10280. deliverygoodsid:
  10281. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10282. type: integer
  10283. deliverygoodsname:
  10284. description: 现货品种名称
  10285. type: string
  10286. futurehedgeqty:
  10287. description: '[已关联数量]期货持仓套期量'
  10288. type: number
  10289. goodsid:
  10290. description: 期货合约ID
  10291. type: integer
  10292. hedgeditemid:
  10293. description: 被套期项目ID
  10294. type: string
  10295. hedgeditemnum:
  10296. description: 项目编号
  10297. type: string
  10298. tradeuserid:
  10299. description: 交易用户ID
  10300. type: integer
  10301. unexehedgeqty:
  10302. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10303. type: number
  10304. unexespotqty:
  10305. description: 未执行现货量
  10306. type: number
  10307. wrstandardcode:
  10308. description: 现货品类代码
  10309. type: string
  10310. wrstandardid:
  10311. description: 现货品类ID(SEQ_WRSTANDARD)
  10312. type: integer
  10313. wrstandardname:
  10314. description: 现货品类名称
  10315. type: string
  10316. required:
  10317. - areauserid
  10318. - goodsid
  10319. - tradeuserid
  10320. type: object
  10321. models.InternalUncorrelatedTradeDetail:
  10322. properties:
  10323. accountid:
  10324. description: 账号ID
  10325. type: integer
  10326. accountname:
  10327. description: 套期主体
  10328. type: string
  10329. agreeunit:
  10330. description: 合约乘数
  10331. type: number
  10332. areauserid:
  10333. description: 所属机构
  10334. type: integer
  10335. bizsubjectid:
  10336. description: 归属业务部门ID - SubjectID
  10337. type: integer
  10338. buyorsell:
  10339. description: 方向 - 0:买 1:卖
  10340. type: integer
  10341. channelbuildtype:
  10342. description: 委托单据类型 0:无 1:建仓 2:平仓
  10343. type: integer
  10344. convertratio:
  10345. description: 品种系数
  10346. type: number
  10347. createtime:
  10348. description: 创建时间
  10349. type: string
  10350. creatorid:
  10351. description: 创建人ID
  10352. type: integer
  10353. creatorsrc:
  10354. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10355. type: integer
  10356. enableqty:
  10357. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10358. type: number
  10359. enumdicname:
  10360. description: 单位
  10361. type: string
  10362. goodscode:
  10363. description: 合约代码
  10364. type: string
  10365. goodsgroupid:
  10366. description: 对冲品种ID[期货合约商品组ID]
  10367. type: integer
  10368. goodsid:
  10369. description: 商品ID
  10370. type: integer
  10371. goodsname:
  10372. description: 合约名称
  10373. type: string
  10374. hedgeditemid:
  10375. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10376. type: integer
  10377. hedgeflag:
  10378. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10379. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10380. type: integer
  10381. linkdetailid:
  10382. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10383. type: string
  10384. linkstatus:
  10385. description: 关联状态 - 1:成功 2:失败 3:解绑
  10386. type: integer
  10387. middlegoodsid:
  10388. description: 套保品种ID
  10389. type: integer
  10390. middlegoodsqty:
  10391. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10392. type: number
  10393. relatedlot:
  10394. description: '[数量]关联手数'
  10395. type: number
  10396. relatedmode:
  10397. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10398. type: integer
  10399. relatedqty:
  10400. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10401. type: number
  10402. retcode:
  10403. description: 返回码
  10404. type: integer
  10405. saleuserid:
  10406. description: 业务员ID
  10407. type: integer
  10408. tradedate:
  10409. description: 关联交易日(yyyyMMdd)
  10410. type: string
  10411. tradeid:
  10412. description: 成交单号
  10413. type: string
  10414. tradelot:
  10415. description: 成交手数
  10416. type: integer
  10417. tradeprice:
  10418. description: 成交价
  10419. type: number
  10420. tradetime:
  10421. description: 成交时间
  10422. type: string
  10423. tradetradedate:
  10424. description: 成交交易日(yyyyMMdd)
  10425. type: string
  10426. tradeuserid:
  10427. description: 交易用户ID
  10428. type: integer
  10429. type: object
  10430. models.Loginaccount:
  10431. properties:
  10432. accountname:
  10433. description: 账户名称
  10434. type: string
  10435. canoutin:
  10436. description: 是否可出入金 - 0:不可 1:可
  10437. type: integer
  10438. clientroleid:
  10439. description: 终端角色ID
  10440. type: integer
  10441. haslogined:
  10442. description: 是否已登录 - 0:未登录 1:已登录
  10443. type: integer
  10444. hasupdatedpwd:
  10445. description: 是否已更改密码 - 0:未修改 1:已修改
  10446. type: integer
  10447. lastloginip:
  10448. description: 最新登录地址
  10449. type: string
  10450. lastloginmode:
  10451. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10452. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10453. type: integer
  10454. lastloginremark:
  10455. description: 最新登录描述
  10456. type: string
  10457. lastlogintime:
  10458. description: 最新登录时间
  10459. type: string
  10460. logincode:
  10461. description: 登录代码
  10462. type: string
  10463. loginfailnum:
  10464. description: 连续登录失败次数(登录成功时清零)
  10465. type: integer
  10466. loginid:
  10467. description: 登陆账号
  10468. type: integer
  10469. loginport:
  10470. description: 最新登录端口
  10471. type: integer
  10472. loginstatus:
  10473. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10474. type: integer
  10475. loginusertype:
  10476. description: 登录账号类型 - 1:投资者 2:机构交易员
  10477. type: integer
  10478. mobile:
  10479. description: 手机号码(加密存储)
  10480. type: string
  10481. modifierid:
  10482. description: 修改人
  10483. type: integer
  10484. modifysrc:
  10485. description: 审核来源 - 1:管理端 2:终端
  10486. type: integer
  10487. modifytime:
  10488. description: 修改时间
  10489. type: string
  10490. password:
  10491. description: 登陆密码
  10492. type: string
  10493. pwdwrongcount:
  10494. description: 密码错误次数
  10495. type: integer
  10496. relateduserid:
  10497. description: 关联用户ID(机构)
  10498. type: integer
  10499. taaccountrighttype:
  10500. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10501. type: integer
  10502. unfreezetime:
  10503. description: 账户解冻时间
  10504. type: string
  10505. userid:
  10506. description: 用户ID
  10507. type: integer
  10508. required:
  10509. - loginid
  10510. type: object
  10511. models.MainAccountInfo:
  10512. properties:
  10513. accountid:
  10514. description: 账号id
  10515. type: integer
  10516. accountname:
  10517. description: 账号名称(taaccount表中的名称)
  10518. type: string
  10519. appid:
  10520. description: AppID
  10521. type: string
  10522. authcode:
  10523. description: 授权码
  10524. type: string
  10525. brokerid:
  10526. description: 经纪商id
  10527. type: string
  10528. fcid:
  10529. description: 期货公司id
  10530. type: integer
  10531. fcname:
  10532. description: 期货公司代码
  10533. type: string
  10534. hedgeaccountcode:
  10535. description: 外部账号代码(主账号登录代码)
  10536. type: string
  10537. hedgeaccountpwd:
  10538. description: 密码
  10539. type: string
  10540. ismain:
  10541. description: 是否主账号
  10542. type: integer
  10543. relateduserid:
  10544. description: 关联用户id
  10545. type: integer
  10546. userid:
  10547. description: 关联用户id
  10548. type: integer
  10549. type: object
  10550. models.Market:
  10551. properties:
  10552. auctionwrtype:
  10553. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10554. type: integer
  10555. canacceptquote:
  10556. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10557. type: integer
  10558. cangoodsexercise:
  10559. description: '[期权]是否可现货行权- 0:否 1:是'
  10560. type: integer
  10561. cangoodsexercisetype:
  10562. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10563. type: integer
  10564. canmanualquotestrike:
  10565. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10566. type: integer
  10567. canmutistage:
  10568. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10569. type: integer
  10570. canpreexercise:
  10571. description: '[期权]是否可预申报- 0:否 1:是'
  10572. type: integer
  10573. clearinterval:
  10574. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10575. type: integer
  10576. contracttmp:
  10577. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10578. type: string
  10579. exchareaid:
  10580. description: 所属交易所,可以没有
  10581. type: integer
  10582. goodstype:
  10583. description: 商品类型 - 1:交易商品 2:仓单商品
  10584. type: integer
  10585. hasrebate:
  10586. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10587. type: integer
  10588. hastradecredit:
  10589. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10590. type: integer
  10591. haswr:
  10592. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10593. type: integer
  10594. isdeductmargin:
  10595. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10596. type: integer
  10597. isrecordsource:
  10598. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10599. type: integer
  10600. isreleasemargin:
  10601. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10602. type: integer
  10603. marginformula:
  10604. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marginformula2:
  10607. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10608. type: integer
  10609. marketid:
  10610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10612. type: integer
  10613. marketname:
  10614. description: 市场名称
  10615. type: string
  10616. marketserviceid:
  10617. description: 市场服务ID
  10618. type: integer
  10619. marketstatus:
  10620. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10621. type: integer
  10622. markettype:
  10623. description: 市场类型- 1:非交易服务 2:交易服务
  10624. type: integer
  10625. matchermode:
  10626. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10627. type: integer
  10628. openmethod:
  10629. description: 开盘模式 - 0 自动 1手动
  10630. type: integer
  10631. otcuserid:
  10632. description: 场外期权做市商[场外期权]
  10633. type: integer
  10634. outersynctime:
  10635. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10636. type: string
  10637. pendingflag:
  10638. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10639. type: integer
  10640. pendingtime:
  10641. description: 待开市时间[通道交易-对冲](HH:mm)
  10642. type: string
  10643. performancetempid:
  10644. description: 履约计划模板ID - 作废
  10645. type: integer
  10646. premiumquotemode:
  10647. description: 权利金报价方式 - 1:自动 2:手动
  10648. type: integer
  10649. rebateratio:
  10650. description: 返利比率[竞价式]
  10651. type: number
  10652. reckonorder:
  10653. description: 结算顺序
  10654. type: integer
  10655. reckonpricealgorithm:
  10656. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10657. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10658. type: integer
  10659. reckonpriceparam:
  10660. description: 结算价参数
  10661. type: integer
  10662. reckontime:
  10663. description: 结算时间[通道交易-对冲](HH:mm)
  10664. type: string
  10665. roleprioritytype:
  10666. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10667. type: integer
  10668. selllistingauditflag:
  10669. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10670. type: integer
  10671. trademarkettype:
  10672. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10673. type: integer
  10674. trademode:
  10675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10676. 21:竞拍-大宗式 22:受托竞价
  10677. type: integer
  10678. tradeproperty:
  10679. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10680. 8:场外期权
  10681. type: integer
  10682. tradetype:
  10683. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10684. type: integer
  10685. required:
  10686. - marketid
  10687. - marketstatus
  10688. - openmethod
  10689. - reckonpricealgorithm
  10690. - trademode
  10691. - tradeproperty
  10692. type: object
  10693. models.Marketcalendar:
  10694. properties:
  10695. holidaydate:
  10696. description: 节假日期(yyyy-MM-dd)
  10697. type: string
  10698. marketid:
  10699. description: 市场ID
  10700. type: integer
  10701. type: object
  10702. models.Marketrun:
  10703. properties:
  10704. afternexttradedate:
  10705. description: 下下交易日
  10706. type: string
  10707. clearquoteflag:
  10708. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10709. type: integer
  10710. lastreckondate:
  10711. description: 最新交易日(结算成功)
  10712. type: string
  10713. machinedate:
  10714. description: 机器时间
  10715. type: string
  10716. manualflag:
  10717. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10718. type: integer
  10719. marketid:
  10720. description: 市场ID
  10721. type: integer
  10722. nexttradedate:
  10723. description: 下一交易日
  10724. type: string
  10725. pretradedate:
  10726. description: 上一交易日
  10727. type: string
  10728. reckonflag:
  10729. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10730. type: integer
  10731. runstatus:
  10732. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10733. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10734. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10735. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10736. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10737. 62.今日免清算
  10738. type: integer
  10739. sectionid:
  10740. description: 时间段号[多时段时用]
  10741. type: integer
  10742. tradedate:
  10743. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10744. type: string
  10745. tradedate2:
  10746. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10747. type: string
  10748. updatetime:
  10749. description: 更新时间
  10750. type: string
  10751. required:
  10752. - marketid
  10753. - nexttradedate
  10754. - reckonflag
  10755. - runstatus
  10756. - tradedate
  10757. - tradedate2
  10758. type: object
  10759. models.Messageboard:
  10760. properties:
  10761. contactnum:
  10762. description: 联系电话
  10763. type: string
  10764. createtime:
  10765. description: 创建时间
  10766. type: string
  10767. message:
  10768. description: 留言信息
  10769. type: string
  10770. messageboardid:
  10771. description: 留言簿ID(SEQ_MessageBoard)
  10772. type: integer
  10773. userid:
  10774. description: 用户ID
  10775. type: integer
  10776. required:
  10777. - messageboardid
  10778. type: object
  10779. models.MyBargainApply:
  10780. properties:
  10781. accountid:
  10782. description: 摘牌资金账号
  10783. type: integer
  10784. applyprice:
  10785. description: 申请价格
  10786. type: string
  10787. applyremark:
  10788. description: 申请备注
  10789. type: string
  10790. applystatus:
  10791. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10792. type: integer
  10793. applytime:
  10794. description: 申请时间
  10795. type: string
  10796. buyorsell:
  10797. description: 买卖 - 0:买 1:卖
  10798. type: integer
  10799. confirmprice:
  10800. description: 可接受价格(拒绝时填写)-作废
  10801. type: number
  10802. confirmqty:
  10803. description: 可接受数量(拒绝时填写)-作废
  10804. type: integer
  10805. confirmremark:
  10806. description: 确认备注
  10807. type: string
  10808. confirmtime:
  10809. description: 确认时间
  10810. type: string
  10811. confirmuserid:
  10812. description: 确认人
  10813. type: integer
  10814. handlestatus:
  10815. description: 处理状态
  10816. type: integer
  10817. ladingbillid:
  10818. description: 摘牌方提单ID [卖]
  10819. type: integer
  10820. marketid:
  10821. description: 市场ID
  10822. type: integer
  10823. matchaccountid:
  10824. description: 挂牌方资金账号
  10825. type: integer
  10826. matchuserid:
  10827. description: 挂牌方用户ID
  10828. type: integer
  10829. price:
  10830. description: 价格
  10831. type: number
  10832. priceper:
  10833. description: 克拉单价 - 类型:1,2,3,5
  10834. type: string
  10835. qty:
  10836. description: 申请数量
  10837. type: number
  10838. refprice:
  10839. description: 参考价格
  10840. type: string
  10841. retcode:
  10842. description: 委托返回代码
  10843. type: integer
  10844. sellusername:
  10845. description: 卖方
  10846. type: string
  10847. sizedisplay:
  10848. description: 尺寸
  10849. type: string
  10850. subnum:
  10851. description: 摘牌方提单子单号 [卖]
  10852. type: integer
  10853. tradedate:
  10854. description: 交易日(yyyyMMdd)
  10855. type: string
  10856. userid:
  10857. description: 摘牌人用户ID
  10858. type: integer
  10859. warehousenamedisplay:
  10860. type: string
  10861. wrbargainid:
  10862. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10863. type: string
  10864. wrtradeorderid:
  10865. description: 关联委托单ID
  10866. type: integer
  10867. zscerttypedisplay:
  10868. type: string
  10869. zsclaritytype1display:
  10870. type: string
  10871. zsclaritytype2display:
  10872. type: string
  10873. zscolortype1display:
  10874. type: string
  10875. zscolortype2display:
  10876. type: string
  10877. zscrystaltypedisplay:
  10878. type: string
  10879. zscurrencytypedisplay:
  10880. type: string
  10881. zscurrencytypedisplayunit:
  10882. type: string
  10883. zscuttype1display:
  10884. type: string
  10885. zscuttype2display:
  10886. type: string
  10887. zsczcolor1typedisplay:
  10888. type: string
  10889. zsczcolor2typedisplay:
  10890. type: string
  10891. zsczcolor3typedisplay:
  10892. type: string
  10893. zsfluorescencetype1display:
  10894. type: string
  10895. zsfluorescencetype2display:
  10896. type: string
  10897. zspolishtype1display:
  10898. type: string
  10899. zspolishtype2display:
  10900. type: string
  10901. zsshapetypedisplay:
  10902. type: string
  10903. zsstyletypedisplay:
  10904. type: string
  10905. zssymmetrytype1display:
  10906. type: string
  10907. zssymmetrytype2display:
  10908. type: string
  10909. required:
  10910. - userid
  10911. type: object
  10912. models.MyBuyOrder:
  10913. properties:
  10914. accountid:
  10915. description: 资金账户ID
  10916. type: integer
  10917. marketid:
  10918. description: 市场ID
  10919. type: integer
  10920. ordertime:
  10921. description: 委托时间
  10922. type: string
  10923. origin:
  10924. description: 原产地
  10925. type: string
  10926. remark:
  10927. description: 备注
  10928. type: string
  10929. userid:
  10930. description: 用户ID
  10931. type: integer
  10932. validtime:
  10933. description: 有效期限
  10934. type: string
  10935. warehouseids:
  10936. description: 仓库ID - 多个, 逗号分隔
  10937. type: string
  10938. warehouseinfosdisplay:
  10939. type: string
  10940. wrtradeorderid:
  10941. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10942. type: string
  10943. wrtradeorderstatus:
  10944. 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、
  10945. type: integer
  10946. zscategory:
  10947. description: 钻石分类 - 枚举”ZSCategory“
  10948. type: integer
  10949. zscategorydisplay:
  10950. type: string
  10951. zsclaritytype:
  10952. description: 净度 - 两个, 逗号分隔
  10953. type: string
  10954. zsclaritytypedisplay:
  10955. type: string
  10956. zscolortype:
  10957. description: 颜色 - 两个, 逗号分隔
  10958. type: string
  10959. zscolortypedisplay:
  10960. type: string
  10961. zscrystaltype:
  10962. description: 晶型 - 多个,逗号分隔
  10963. type: string
  10964. zscrystaltypedisplay:
  10965. type: string
  10966. zscurrencytype:
  10967. description: 货币类型 - 多个, 逗号分隔
  10968. type: string
  10969. zscurrencytypedisplay:
  10970. type: string
  10971. zscuttype:
  10972. description: 切工 - 两个, 逗号分隔
  10973. type: string
  10974. zscuttypedisplay:
  10975. type: string
  10976. zsczcolor1type:
  10977. description: 彩钻颜色1, 逗号分隔
  10978. type: string
  10979. zsczcolor1typedisplay:
  10980. type: string
  10981. zsczcolor2type:
  10982. description: 彩钻颜色2, 逗号分隔
  10983. type: string
  10984. zsczcolor2typedisplay:
  10985. type: string
  10986. zsczcolor3type:
  10987. description: 彩钻颜色3, 逗号分隔
  10988. type: string
  10989. zsczcolor3typedisplay:
  10990. type: string
  10991. zsfluorescencetype:
  10992. description: 荧光 - 多个, 逗号分隔
  10993. type: string
  10994. zsfluorescencetypedisplay:
  10995. type: string
  10996. zspolishtype:
  10997. description: 抛光度 - 两个, 逗号分隔
  10998. type: string
  10999. zspolishtypedisplay:
  11000. type: string
  11001. zsshapetype:
  11002. description: 形状 - 多个, 逗号分隔
  11003. type: string
  11004. zsshapetypedisplay:
  11005. type: string
  11006. zssize:
  11007. description: 尺寸 - 两个小数, 逗号分隔
  11008. type: string
  11009. zsstyletype:
  11010. description: 款式 - 多个, 逗号分隔
  11011. type: string
  11012. zsstyletypedisplay:
  11013. type: string
  11014. zssymmetrytype:
  11015. description: 对称度 - 两个, 逗号分隔
  11016. type: string
  11017. zssymmetrytypedisplay:
  11018. type: string
  11019. zstabledisplay:
  11020. description: 求购信息
  11021. type: string
  11022. required:
  11023. - userid
  11024. type: object
  11025. models.MyDeListing:
  11026. properties:
  11027. buyaccountid:
  11028. description: 买方账号ID
  11029. type: integer
  11030. buychargevalue:
  11031. description: 买方手续费
  11032. type: number
  11033. buyorsell:
  11034. description: 方向 - 0:买 1:卖
  11035. type: integer
  11036. buyuserid:
  11037. description: 买方用户ID
  11038. type: integer
  11039. deliverygoodsid:
  11040. description: 现货品种ID
  11041. type: integer
  11042. exchangerate:
  11043. description: 汇率
  11044. type: number
  11045. goodsno:
  11046. description: 商品编号
  11047. type: string
  11048. marketid:
  11049. description: 市场ID
  11050. type: integer
  11051. matchusername:
  11052. description: 对手方
  11053. type: string
  11054. oritradeamount:
  11055. description: 成交金额[商品币种]
  11056. type: number
  11057. performanceplanid:
  11058. description: 履约计划ID/合同ID
  11059. type: integer
  11060. price:
  11061. description: 价格
  11062. type: number
  11063. qty:
  11064. description: 成交重量
  11065. type: number
  11066. sellaccountid:
  11067. description: 卖方账号ID
  11068. type: integer
  11069. sellchargevalue:
  11070. description: 卖方手续费
  11071. type: number
  11072. selluserid:
  11073. description: 卖方用户ID
  11074. type: integer
  11075. sizedisplay:
  11076. description: 尺寸
  11077. type: string
  11078. tradeamount:
  11079. description: 成交金额
  11080. type: number
  11081. tradedate:
  11082. description: 交易日(yyyyMMdd)
  11083. type: string
  11084. tradeprice:
  11085. description: 成交价格
  11086. type: number
  11087. tradetime:
  11088. description: 成交时间
  11089. type: string
  11090. userid:
  11091. description: 用户ID
  11092. type: integer
  11093. warehousenamedisplay:
  11094. type: string
  11095. wrfactortypeid:
  11096. description: 仓单要素类型ID
  11097. type: integer
  11098. wrstandardid:
  11099. description: 现货商品ID
  11100. type: integer
  11101. wrtradedetailid:
  11102. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11103. type: string
  11104. zscategory:
  11105. description: 钻石分类 - 枚举”ZSCategory“
  11106. type: integer
  11107. zscategorydisplay:
  11108. type: string
  11109. zscerttypedisplay:
  11110. type: string
  11111. zsclaritytype1display:
  11112. type: string
  11113. zsclaritytype2display:
  11114. type: string
  11115. zscolortype1display:
  11116. type: string
  11117. zscolortype2display:
  11118. type: string
  11119. zscrystaltypedisplay:
  11120. type: string
  11121. zscurrencytype:
  11122. description: 货币类型 - 枚举“ZSCurrencyType”
  11123. type: integer
  11124. zscurrencytypedisplay:
  11125. type: string
  11126. zscurrencytypedisplayunit:
  11127. type: string
  11128. zscuttype1display:
  11129. type: string
  11130. zscuttype2display:
  11131. type: string
  11132. zsczcolor1typedisplay:
  11133. type: string
  11134. zsczcolor2typedisplay:
  11135. type: string
  11136. zsczcolor3typedisplay:
  11137. type: string
  11138. zsfluorescencetype1display:
  11139. type: string
  11140. zsfluorescencetype2display:
  11141. type: string
  11142. zspolishtype1display:
  11143. type: string
  11144. zspolishtype2display:
  11145. type: string
  11146. zsshapetypedisplay:
  11147. type: string
  11148. zsstyletypedisplay:
  11149. type: string
  11150. zssymmetrytype1display:
  11151. type: string
  11152. zssymmetrytype2display:
  11153. type: string
  11154. required:
  11155. - userid
  11156. type: object
  11157. models.MyDelistingApply:
  11158. properties:
  11159. applyprice:
  11160. description: 申请价格
  11161. type: number
  11162. applyqty:
  11163. description: 申请数量
  11164. type: number
  11165. applyremark:
  11166. description: 申请备注
  11167. type: string
  11168. applystatus:
  11169. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11170. type: integer
  11171. applytime:
  11172. description: 申请时间
  11173. type: string
  11174. auditremark:
  11175. description: 确认备注
  11176. type: string
  11177. audittime:
  11178. description: 确认时间
  11179. type: string
  11180. buyuserid:
  11181. description: 买方用户ID
  11182. type: integer
  11183. buyusername:
  11184. type: string
  11185. buywrtradeorderid:
  11186. description: 买委托单ID
  11187. type: string
  11188. goodsno:
  11189. description: -- view_GZ_WRStandard_Ex_Query --
  11190. type: string
  11191. ladingbillid:
  11192. description: 卖方提单ID
  11193. type: string
  11194. marketid:
  11195. description: 市场ID
  11196. type: integer
  11197. price:
  11198. description: 价格
  11199. type: number
  11200. sellaccountid:
  11201. description: 卖方账户ID
  11202. type: integer
  11203. selldelistingapplyid:
  11204. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11205. type: string
  11206. selltradeorderid:
  11207. description: 卖方委托ID(买方确认成交后更新)
  11208. type: string
  11209. selluserid:
  11210. description: 卖方用户ID
  11211. type: integer
  11212. subnum:
  11213. description: 卖方提单子单号
  11214. type: integer
  11215. warehouseinfosdisplay:
  11216. type: string
  11217. weight:
  11218. description: 克拉重量
  11219. type: number
  11220. wrfactortypeid:
  11221. description: 仓单要素类型ID
  11222. type: string
  11223. wrstandardid:
  11224. description: 现货商品ID
  11225. type: integer
  11226. zsallproperties:
  11227. description: -- VIEW_GZ_BUYORDERDETAIL_QUERY
  11228. type: string
  11229. zscategorydisplay:
  11230. type: string
  11231. zsclaritytypedisplay:
  11232. type: string
  11233. zscolortypedisplay:
  11234. type: string
  11235. zscrystaltypedisplay:
  11236. type: string
  11237. zscurrencytypedisplay:
  11238. type: string
  11239. zscuttypedisplay:
  11240. type: string
  11241. zsczcolor1typedisplay:
  11242. type: string
  11243. zsczcolor2typedisplay:
  11244. type: string
  11245. zsczcolor3typedisplay:
  11246. type: string
  11247. zsfluorescencetypedisplay:
  11248. type: string
  11249. zspolishtypedisplay:
  11250. type: string
  11251. zsshapetypedisplay:
  11252. type: string
  11253. zssizedisplay:
  11254. type: string
  11255. zsstyletypedisplay:
  11256. type: string
  11257. zssymmetrytypedisplay:
  11258. type: string
  11259. zstabledisplay:
  11260. type: string
  11261. required:
  11262. - selluserid
  11263. type: object
  11264. models.MyFavorite:
  11265. properties:
  11266. buyorsell:
  11267. description: 买卖 - 0:买 1:卖
  11268. type: integer
  11269. favoritestatus:
  11270. description: 收藏状态 - 1:正常 2:失效
  11271. type: integer
  11272. goodsno:
  11273. description: 商品编号
  11274. type: string
  11275. marketid:
  11276. description: 市场ID
  11277. type: integer
  11278. price:
  11279. description: 价格
  11280. type: number
  11281. priceper:
  11282. description: 克拉单价
  11283. type: string
  11284. sizedisplay:
  11285. description: 尺寸
  11286. type: string
  11287. userid:
  11288. description: 用户ID
  11289. type: integer
  11290. warehousenamedisplay:
  11291. type: string
  11292. weight:
  11293. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11294. type: number
  11295. weightavg:
  11296. description: 平均单颗重量 - 类型:1,3
  11297. type: number
  11298. wrfactortypeid:
  11299. description: 仓单要素类型ID/商品ID(77)
  11300. type: string
  11301. wrstandardid:
  11302. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11303. type: integer
  11304. wrtradeorderid:
  11305. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11306. type: string
  11307. zscategorydisplay:
  11308. type: string
  11309. zscerttypedisplay:
  11310. type: string
  11311. zsclaritytype1display:
  11312. type: string
  11313. zsclaritytype2display:
  11314. type: string
  11315. zscolortype1display:
  11316. type: string
  11317. zscolortype2display:
  11318. type: string
  11319. zscrystaltypedisplay:
  11320. type: string
  11321. zscurrencytypedisplay:
  11322. type: string
  11323. zscurrencytypedisplayunit:
  11324. type: string
  11325. zscuttype1display:
  11326. type: string
  11327. zscuttype2display:
  11328. type: string
  11329. zsczcolor1typedisplay:
  11330. type: string
  11331. zsczcolor2typedisplay:
  11332. type: string
  11333. zsczcolor3typedisplay:
  11334. type: string
  11335. zsfluorescencetype1display:
  11336. type: string
  11337. zsfluorescencetype2display:
  11338. type: string
  11339. zspolishtype1display:
  11340. type: string
  11341. zspolishtype2display:
  11342. type: string
  11343. zsshapetypedisplay:
  11344. type: string
  11345. zsstyletypedisplay:
  11346. type: string
  11347. zssymmetrytype1display:
  11348. type: string
  11349. zssymmetrytype2display:
  11350. type: string
  11351. required:
  11352. - userid
  11353. type: object
  11354. models.MyPerformanc:
  11355. properties:
  11356. accountname:
  11357. description: useraccount
  11358. type: string
  11359. amount:
  11360. description: 履约金额
  11361. type: number
  11362. buyerfreezeamount:
  11363. description: 买方履约前冻结资金
  11364. type: number
  11365. buyerfreezeamountremain:
  11366. description: 买方履约前冻结资金剩余
  11367. type: number
  11368. buyerinfo:
  11369. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11370. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11371. type: string
  11372. buyorsell:
  11373. description: 方向 - 0:买 1:卖
  11374. type: integer
  11375. buypaidamount:
  11376. description: 买方已冻/已扣金额
  11377. type: number
  11378. curstepid:
  11379. description: 当前步骤ID
  11380. type: string
  11381. overshortamount:
  11382. description: 溢短金额
  11383. type: number
  11384. paymenttype:
  11385. description: 买方支付方式 - 1:冻结 2:扣款
  11386. type: integer
  11387. performanceplanid:
  11388. description: PerformancePlan
  11389. type: string
  11390. performancestatus:
  11391. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11392. 9:超时待处理 10:超时关闭
  11393. type: integer
  11394. price:
  11395. description: 价格
  11396. type: number
  11397. priceper:
  11398. description: 克拉单价
  11399. type: string
  11400. relatedorderid:
  11401. description: 关联单号(履约类型的关联单号)
  11402. type: string
  11403. remaindays:
  11404. description: 剩余天数
  11405. type: integer
  11406. sellerfreezeamount:
  11407. description: 卖方履约前冻结资金
  11408. type: number
  11409. sellerfreezeamountremain:
  11410. description: 卖方履约前冻结资金剩余
  11411. type: number
  11412. sellerinfo:
  11413. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11414. "xxxxxxxx"}'
  11415. type: string
  11416. sellreceivedamount:
  11417. description: 卖方已收金额
  11418. type: number
  11419. sizedisplay:
  11420. description: 尺寸
  11421. type: string
  11422. steptypeid:
  11423. description: PerformanceStep
  11424. type: integer
  11425. warehousenamedisplay:
  11426. type: string
  11427. zscategorydisplay:
  11428. type: string
  11429. zscerttypedisplay:
  11430. type: string
  11431. zsclaritytype1display:
  11432. type: string
  11433. zsclaritytype2display:
  11434. type: string
  11435. zscolortype1display:
  11436. type: string
  11437. zscolortype2display:
  11438. type: string
  11439. zscrystaltypedisplay:
  11440. type: string
  11441. zscurrencytypedisplay:
  11442. type: string
  11443. zscurrencytypedisplayunit:
  11444. type: string
  11445. zscuttype1display:
  11446. type: string
  11447. zscuttype2display:
  11448. type: string
  11449. zsczcolor1typedisplay:
  11450. type: string
  11451. zsczcolor2typedisplay:
  11452. type: string
  11453. zsczcolor3typedisplay:
  11454. type: string
  11455. zsfluorescencetype1display:
  11456. type: string
  11457. zsfluorescencetype2display:
  11458. type: string
  11459. zspolishtype1display:
  11460. type: string
  11461. zspolishtype2display:
  11462. type: string
  11463. zsshapetypedisplay:
  11464. type: string
  11465. zsstyletypedisplay:
  11466. type: string
  11467. zssymmetrytype1display:
  11468. type: string
  11469. zssymmetrytype2display:
  11470. type: string
  11471. type: object
  11472. models.MySellOrder:
  11473. properties:
  11474. accountid:
  11475. description: 资金账号
  11476. type: integer
  11477. applyid:
  11478. description: 申请单ID
  11479. type: integer
  11480. attachment1:
  11481. description: 附件1
  11482. type: string
  11483. attachment2:
  11484. description: 附件2
  11485. type: string
  11486. buyorsell:
  11487. description: 买卖 - 0:买 1:卖
  11488. type: integer
  11489. canbargain:
  11490. description: 是否可议价 - 0:不可 1:可
  11491. type: integer
  11492. cancelqty:
  11493. description: 撤销数量
  11494. type: integer
  11495. canceltime:
  11496. description: 撤销时间
  11497. type: string
  11498. cerno:
  11499. type: string
  11500. chargealgorithm:
  11501. description: 手续费收取方式 1:比率 2:固定
  11502. type: integer
  11503. chargealgorithmvalue:
  11504. description: 手续费设置值(交易所部分)
  11505. type: number
  11506. chargealgorithmvalue2:
  11507. description: 手续费设置值(会员部分)
  11508. type: number
  11509. clientordertime:
  11510. description: 客户端委托时间
  11511. type: string
  11512. cpcertno:
  11513. type: string
  11514. exchangerate:
  11515. description: 汇率[67]
  11516. type: number
  11517. firstratio:
  11518. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11519. type: number
  11520. fixedprice:
  11521. description: '[克拉单价]固定价格 - [挂牌]'
  11522. type: number
  11523. freezecharge:
  11524. description: 冻结手续费
  11525. type: number
  11526. freezefirstamount:
  11527. description: 冻结首付金额 - [摘牌]
  11528. type: number
  11529. freezemargin:
  11530. description: 冻结保证金
  11531. type: number
  11532. goodsno:
  11533. description: 商品编号
  11534. type: string
  11535. imagepath:
  11536. type: string
  11537. isspecified:
  11538. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11539. type: integer
  11540. kppath:
  11541. type: string
  11542. kpweight:
  11543. type: string
  11544. marginalgorithm:
  11545. description: 保证金方式 - 1:比率 2:固定
  11546. type: integer
  11547. marginvalue:
  11548. description: 保证金设置值
  11549. type: number
  11550. marketid:
  11551. description: 市场ID
  11552. type: integer
  11553. marketprice:
  11554. type: string
  11555. orderamount:
  11556. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11557. type: number
  11558. ordertime:
  11559. description: 委托时间
  11560. type: string
  11561. performancetemplateid:
  11562. description: 履约计划模板ID
  11563. type: integer
  11564. price:
  11565. description: 价格
  11566. type: number
  11567. pricefactor:
  11568. description: 价格系数(浮动价时填写) - [挂牌]
  11569. type: number
  11570. pricemove:
  11571. description: 升贴水(浮动价时填写) - [挂牌]
  11572. type: number
  11573. priceper:
  11574. type: string
  11575. relatedwrtradeorderid:
  11576. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11577. type: integer
  11578. remark:
  11579. type: string
  11580. retcode:
  11581. description: 错误代码
  11582. type: integer
  11583. selledqty:
  11584. description: 成交重量
  11585. type: number
  11586. settingmaterial:
  11587. type: string
  11588. size1:
  11589. type: string
  11590. size2:
  11591. type: string
  11592. size3:
  11593. type: string
  11594. stonedesc:
  11595. type: string
  11596. totalqty:
  11597. description: 总重量
  11598. type: number
  11599. tradedate:
  11600. description: 交易日(yyyyMMdd)
  11601. type: string
  11602. tradeprice:
  11603. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11604. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11605. type: number
  11606. unfreezecharge:
  11607. description: 解冻手续费
  11608. type: number
  11609. unfreezefirstamount:
  11610. description: 解冻首付金额 - [摘牌]
  11611. type: number
  11612. unfreezemargin:
  11613. description: 解冻保证金
  11614. type: number
  11615. userid:
  11616. description: 用户ID
  11617. type: integer
  11618. uuid:
  11619. description: 发起端唯一id
  11620. type: string
  11621. validtime:
  11622. description: 有效期限
  11623. type: string
  11624. validtype:
  11625. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11626. type: integer
  11627. warehousenamedisplay:
  11628. type: string
  11629. wrbargainid:
  11630. description: 议价申请单ID
  11631. type: integer
  11632. wrfactortypeid:
  11633. description: 仓单要素类型ID/商品ID(77)
  11634. type: integer
  11635. wrpath:
  11636. type: string
  11637. wrpricetype:
  11638. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11639. type: integer
  11640. wrstandardid:
  11641. description: 现货商品ID
  11642. type: integer
  11643. wrtradeorderid:
  11644. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11645. type: string
  11646. wrtradeorderstatus:
  11647. 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:撤单解冻贷款失败
  11648. type: integer
  11649. wrtradetype:
  11650. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11651. type: integer
  11652. wrtransferuserid:
  11653. description: 仓单受让用户 - [摘牌]
  11654. type: integer
  11655. zscategory:
  11656. description: 钻石分类 - 枚举”ZSCategory“
  11657. type: integer
  11658. zscategorydisplay:
  11659. description: 钻石分类 - 描述
  11660. type: string
  11661. zscerttypedisplay:
  11662. type: string
  11663. zsclaritytype1display:
  11664. type: string
  11665. zsclaritytype2display:
  11666. type: string
  11667. zscolortype1display:
  11668. type: string
  11669. zscolortype2display:
  11670. type: string
  11671. zscrystaltype:
  11672. type: string
  11673. zscrystaltypedisplay:
  11674. type: string
  11675. zscurrencytype:
  11676. description: 货币类型 - 枚举“ZSCurrencyType”
  11677. type: integer
  11678. zscurrencytypedisplay:
  11679. type: string
  11680. zscurrencytypedisplayunit:
  11681. type: string
  11682. zscuttype1display:
  11683. type: string
  11684. zscuttype2display:
  11685. type: string
  11686. zsczcolor1typedisplay:
  11687. type: string
  11688. zsczcolor2typedisplay:
  11689. type: string
  11690. zsczcolor3typedisplay:
  11691. type: string
  11692. zsfluorescencetype1display:
  11693. type: string
  11694. zsfluorescencetype2display:
  11695. type: string
  11696. zspolishtype1display:
  11697. type: string
  11698. zspolishtype2display:
  11699. type: string
  11700. zsshapetypedisplay:
  11701. type: string
  11702. zsstyletypedisplay:
  11703. type: string
  11704. zssymmetrytype1display:
  11705. type: string
  11706. zssymmetrytype2display:
  11707. type: string
  11708. required:
  11709. - userid
  11710. type: object
  11711. models.MyWRPosition:
  11712. properties:
  11713. cerno:
  11714. description: 证书编号 - 类型:2,4,5
  11715. type: string
  11716. cpcertno:
  11717. description: 金伯利证书编号 - 类型:3
  11718. type: string
  11719. ffreezeqty:
  11720. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11721. type: number
  11722. ftotalqty:
  11723. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11724. type: number
  11725. goodsno:
  11726. description: 商品编号
  11727. type: string
  11728. imagepath:
  11729. description: 商品照片(相对地址)
  11730. type: string
  11731. isvalid:
  11732. description: 是否有效 - 0:无效 1:有效
  11733. type: integer
  11734. kppath:
  11735. description: 金伯利证书图片(相对地址) - 类型:3
  11736. type: string
  11737. kpweight:
  11738. description: 金伯利证书重量 - 类型:3
  11739. type: string
  11740. ladingbillid:
  11741. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11742. type: string
  11743. marketflag:
  11744. description: 是否上架,0-全部 1-是 2-否
  11745. type: integer
  11746. marketprice:
  11747. description: 市场价
  11748. type: string
  11749. origin:
  11750. description: 原产地 - 类型:3
  11751. type: string
  11752. price:
  11753. description: 总价(价格) - 类型:1,2,3,4,5
  11754. type: number
  11755. priceper:
  11756. description: 克拉单价 - 类型:1,2,3,5
  11757. type: string
  11758. remark:
  11759. description: 备注
  11760. type: string
  11761. sellmobile:
  11762. description: 手机号码(加密存储)
  11763. type: string
  11764. sellusername:
  11765. description: 账户名称(机构名称)
  11766. type: string
  11767. settingmaterial:
  11768. description: 镶嵌材料 - 类型:4
  11769. type: string
  11770. size1:
  11771. description: 尺寸1 - 类型:2,4,5
  11772. type: string
  11773. size2:
  11774. description: 尺寸2 - 类型:2,4,5
  11775. type: string
  11776. size3:
  11777. description: 尺寸3 - 类型:2,4,5
  11778. type: string
  11779. stonedesc:
  11780. description: 配石描述 - 类型:4
  11781. type: string
  11782. subnum:
  11783. description: 提单子单号
  11784. type: integer
  11785. userid:
  11786. description: 用户ID
  11787. type: integer
  11788. warehouseid:
  11789. description: 仓库ID
  11790. type: integer
  11791. warehousenamedisplay:
  11792. type: string
  11793. weight:
  11794. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11795. type: number
  11796. weightavg:
  11797. description: 平均单颗重量 - 类型:1,3
  11798. type: number
  11799. wrpath:
  11800. description: 仓单扫描件(相对地址)
  11801. type: string
  11802. wrstandardid:
  11803. description: 现货商品ID
  11804. type: integer
  11805. wrtradeorderid:
  11806. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11807. type: string
  11808. wruserid:
  11809. description: 登录用户ID
  11810. type: integer
  11811. zscategory:
  11812. description: 钻石分类 - 枚举”ZSCategory“
  11813. type: integer
  11814. zscategorydisplay:
  11815. type: string
  11816. zscerttype:
  11817. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11818. type: integer
  11819. zscerttypedisplay:
  11820. type: string
  11821. zsclaritytype1:
  11822. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11823. type: integer
  11824. zsclaritytype1display:
  11825. type: string
  11826. zsclaritytype2:
  11827. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11828. type: integer
  11829. zsclaritytype2display:
  11830. type: string
  11831. zscolortype1:
  11832. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11833. type: integer
  11834. zscolortype1display:
  11835. type: string
  11836. zscolortype2:
  11837. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11838. type: integer
  11839. zscolortype2display:
  11840. type: string
  11841. zscrystaltype:
  11842. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11843. type: string
  11844. zscrystaltypedisplay:
  11845. type: string
  11846. zscurrencytype:
  11847. description: 货币类型 - 枚举“ZSCurrencyType”
  11848. type: integer
  11849. zscurrencytypedisplay:
  11850. type: string
  11851. zscurrencytypedisplayunit:
  11852. type: string
  11853. zscuttype1:
  11854. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11855. type: integer
  11856. zscuttype1display:
  11857. type: string
  11858. zscuttype2:
  11859. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11860. type: integer
  11861. zscuttype2display:
  11862. type: string
  11863. zsczcolor1type:
  11864. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11865. type: integer
  11866. zsczcolor1typedisplay:
  11867. type: string
  11868. zsczcolor2type:
  11869. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11870. type: integer
  11871. zsczcolor2typedisplay:
  11872. type: string
  11873. zsczcolor3type:
  11874. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11875. type: integer
  11876. zsczcolor3typedisplay:
  11877. type: string
  11878. zsfluorescencetype1:
  11879. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11880. type: integer
  11881. zsfluorescencetype1display:
  11882. type: string
  11883. zsfluorescencetype2:
  11884. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11885. type: integer
  11886. zsfluorescencetype2display:
  11887. type: string
  11888. zspolishtype1:
  11889. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11890. type: integer
  11891. zspolishtype1display:
  11892. type: string
  11893. zspolishtype2:
  11894. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11895. type: integer
  11896. zspolishtype2display:
  11897. type: string
  11898. zsshapetype:
  11899. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11900. type: string
  11901. zsshapetypedisplay:
  11902. type: string
  11903. zsstyletype:
  11904. description: 款式 - 类型:4
  11905. type: integer
  11906. zsstyletypedisplay:
  11907. type: string
  11908. zssymmetrytype1:
  11909. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11910. type: integer
  11911. zssymmetrytype1display:
  11912. type: string
  11913. zssymmetrytype2:
  11914. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11915. type: integer
  11916. zssymmetrytype2display:
  11917. type: string
  11918. required:
  11919. - wruserid
  11920. type: object
  11921. models.NewFuncmenulist:
  11922. properties:
  11923. authtype:
  11924. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11925. type: integer
  11926. buttonname:
  11927. description: 按钮名称
  11928. type: string
  11929. buttontype:
  11930. description: 按钮类型 - 存按钮样式
  11931. type: string
  11932. component:
  11933. description: 组件名或组件地址
  11934. type: string
  11935. hidden:
  11936. description: 是否隐藏 - 0:显示 1:隐藏
  11937. type: integer
  11938. iconame:
  11939. description: 菜单图标
  11940. type: string
  11941. menutype:
  11942. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11943. type: integer
  11944. parentcode:
  11945. description: 上级资源代码
  11946. type: string
  11947. remark:
  11948. description: Remark
  11949. type: string
  11950. resourcecode:
  11951. description: 资源代码
  11952. type: string
  11953. resourcelevel:
  11954. description: 级别1-一级 2-二级 3-三级4-四级
  11955. type: integer
  11956. resourcename:
  11957. description: 资源名(Title)
  11958. type: string
  11959. sort:
  11960. description: 排序
  11961. type: integer
  11962. url:
  11963. description: Url
  11964. type: string
  11965. urltype:
  11966. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11967. type: integer
  11968. required:
  11969. - resourcecode
  11970. type: object
  11971. models.OperationPrimaryMenu:
  11972. properties:
  11973. Children:
  11974. description: 二级功能菜单
  11975. items:
  11976. $ref: '#/definitions/models.OperationSecondaryMenu'
  11977. type: array
  11978. Key:
  11979. description: 菜单KEY
  11980. type: string
  11981. Label:
  11982. description: 菜单标题
  11983. type: string
  11984. type: object
  11985. models.OperationSecondaryMenu:
  11986. properties:
  11987. Key:
  11988. description: 菜单KEY
  11989. type: string
  11990. Label:
  11991. description: 菜单标题
  11992. type: string
  11993. TabList:
  11994. description: 三级功能菜单
  11995. items:
  11996. $ref: '#/definitions/models.OperationTabMenu'
  11997. type: array
  11998. type: object
  11999. models.OperationTabMenu:
  12000. properties:
  12001. Key:
  12002. description: 菜单KEY
  12003. type: string
  12004. Label:
  12005. description: 菜单标题
  12006. type: string
  12007. type: object
  12008. models.Patradelinkdetail:
  12009. properties:
  12010. accountname:
  12011. description: 套期主体
  12012. type: string
  12013. agreeunit:
  12014. description: 合约乘数
  12015. type: number
  12016. amount:
  12017. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12018. type: number
  12019. areauserid:
  12020. description: 所属机构
  12021. type: integer
  12022. bizsubjectid:
  12023. description: 归属业务部门ID - SubjectID
  12024. type: integer
  12025. buyorsell:
  12026. description: 方向 - 0:买 1:卖
  12027. type: integer
  12028. convertratio:
  12029. description: 品种系数
  12030. type: number
  12031. convertratiochange:
  12032. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12033. type: number
  12034. createtime:
  12035. description: '[日期时间]创建时间'
  12036. type: string
  12037. creatorid:
  12038. description: 创建人ID
  12039. type: integer
  12040. creatorsrc:
  12041. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12042. type: integer
  12043. goodscode:
  12044. description: 商品代码(内部)
  12045. type: string
  12046. goodsgroupid:
  12047. description: 对冲品种ID[期货合约商品组ID]
  12048. type: integer
  12049. goodsid:
  12050. description: 商品ID
  12051. type: integer
  12052. hedgeditemid:
  12053. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12054. type: integer
  12055. hedgeflag:
  12056. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12057. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12058. type: integer
  12059. linkdetailid:
  12060. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12061. type: string
  12062. linkstatus:
  12063. description: 关联状态 - 1:成功 2:失败 3:解绑
  12064. type: integer
  12065. middlegoodsid:
  12066. description: 套保品种ID
  12067. type: integer
  12068. name:
  12069. description: 账户名/子账户
  12070. type: string
  12071. optioncode:
  12072. description: '[期货合约]期权代码 [期权]'
  12073. type: string
  12074. ordertype:
  12075. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12076. type: integer
  12077. relatedlot:
  12078. description: '[数量]关联手数'
  12079. type: number
  12080. relatedmode:
  12081. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12082. type: integer
  12083. relatedqty:
  12084. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12085. type: number
  12086. retcode:
  12087. description: 返回码
  12088. type: integer
  12089. saleuserid:
  12090. description: 业务员ID
  12091. type: integer
  12092. tradedate:
  12093. description: 关联交易日(yyyyMMdd)
  12094. type: string
  12095. tradeid:
  12096. description: '[成交单号]内部成交单ID'
  12097. type: string
  12098. tradelot:
  12099. description: 成交手数
  12100. type: integer
  12101. tradeprice:
  12102. description: '[价格]成交价格'
  12103. type: number
  12104. tradetradedate:
  12105. description: 成交交易日(yyyyMMdd)
  12106. type: string
  12107. type: object
  12108. models.QhjAccountOutInApply:
  12109. properties:
  12110. accountcode:
  12111. description: 资金账号
  12112. type: string
  12113. accountname:
  12114. description: 用户名称(名称)
  12115. type: string
  12116. accountpwd:
  12117. description: 资金密码
  12118. type: string
  12119. accountticket:
  12120. description: 最新账户服务流水号
  12121. type: string
  12122. amount:
  12123. description: 金额
  12124. type: number
  12125. applyremark:
  12126. description: 申请备注
  12127. type: string
  12128. applystatus:
  12129. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12130. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12131. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12132. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12133. type: integer
  12134. auditid:
  12135. description: 审核人
  12136. type: integer
  12137. audittime:
  12138. description: 审核时间
  12139. type: string
  12140. bank_apply_ticket:
  12141. description: 银行申请流水
  12142. type: string
  12143. bankaccountname:
  12144. description: 银行账户名
  12145. type: string
  12146. bankaccountno:
  12147. description: 银行卡号
  12148. type: string
  12149. bankid:
  12150. description: 银行编号
  12151. type: string
  12152. bankticket:
  12153. description: 银行流水
  12154. type: string
  12155. branchbankid:
  12156. description: 银行支行号
  12157. type: string
  12158. branchbankname:
  12159. description: 银行支行名称
  12160. type: string
  12161. capamountout:
  12162. description: 出金(劣后本金) - 外部子账户
  12163. type: number
  12164. certificatephotourl:
  12165. description: 凭证地址
  12166. type: string
  12167. charge:
  12168. description: 手续费
  12169. type: number
  12170. checkerrorflag:
  12171. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12172. type: integer
  12173. currency:
  12174. description: 币种
  12175. type: string
  12176. cusbankid:
  12177. description: 托管银行编号
  12178. type: string
  12179. exchticket:
  12180. description: 银行服务流水号
  12181. type: string
  12182. executetype:
  12183. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12184. 7:外部子账户:入金 8:外部子账户:出金'
  12185. type: integer
  12186. extendinfo:
  12187. description: 扩展信息
  12188. type: string
  12189. extoperateid:
  12190. description: 交易服务流水号
  12191. type: integer
  12192. infamount:
  12193. description: 劣后金额(自有)
  12194. type: number
  12195. logincode:
  12196. description: 登录账号(账号)
  12197. type: string
  12198. netaddr:
  12199. description: 调转网址
  12200. type: string
  12201. priamount:
  12202. description: 优先金额(授信)
  12203. type: number
  12204. reauditid:
  12205. description: 复审人
  12206. type: integer
  12207. reauditremark:
  12208. description: 复审备注
  12209. type: string
  12210. reaudittime:
  12211. description: 复审时间
  12212. type: string
  12213. relatedorderid:
  12214. description: 三方关联ID
  12215. type: string
  12216. remark:
  12217. description: 备注
  12218. type: string
  12219. remark2:
  12220. description: 备注(失败原因)
  12221. type: string
  12222. soucreamount:
  12223. description: 原始出入金金额
  12224. type: number
  12225. soucrecurrencyid:
  12226. description: 原始出入金币种
  12227. type: integer
  12228. tradedate:
  12229. description: 交易日(yyyyMMdd)
  12230. type: string
  12231. updatetime:
  12232. description: 更新时间(申请时间)
  12233. type: string
  12234. userid:
  12235. description: 用户id
  12236. type: integer
  12237. userinfotype:
  12238. description: 账户类型 1-个人 2-企业
  12239. type: integer
  12240. type: object
  12241. models.QhjAgreementChangeLog:
  12242. properties:
  12243. agreementcontent:
  12244. description: 协议内容
  12245. type: string
  12246. agreementfrequency:
  12247. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12248. type: integer
  12249. agreementid:
  12250. description: 协议ID
  12251. type: integer
  12252. agreementname:
  12253. description: 协议名称
  12254. type: string
  12255. agreementno:
  12256. description: 协议编号
  12257. type: string
  12258. agreementtype:
  12259. description: 协议类型 - 1:注册 2:登录 3:交易
  12260. type: integer
  12261. agreementversion:
  12262. description: 协议版本号
  12263. type: integer
  12264. logid:
  12265. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12266. type: integer
  12267. reviserid:
  12268. description: 修改人
  12269. type: integer
  12270. revisersrc:
  12271. description: 修改来源 - 1:管理端 2:终端
  12272. type: integer
  12273. updatetime:
  12274. description: 更新时间
  12275. type: string
  12276. type: object
  12277. models.QhjAgreementConfig:
  12278. properties:
  12279. agreementcontent:
  12280. description: 协议内容
  12281. type: string
  12282. agreementfrequency:
  12283. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12284. type: integer
  12285. agreementid:
  12286. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12287. type: integer
  12288. agreementname:
  12289. description: 协议名称
  12290. type: string
  12291. agreementno:
  12292. description: 协议编号
  12293. type: string
  12294. agreementtype:
  12295. description: 协议类型 - 1:注册 2:登录 3:交易
  12296. type: integer
  12297. agreementversion:
  12298. description: 协议版本号(从1开始每次修改加1)
  12299. type: integer
  12300. createtime:
  12301. description: 创建时间
  12302. type: string
  12303. creatorid:
  12304. description: 创建人
  12305. type: integer
  12306. creatorsrc:
  12307. description: 创建来源 - 1:管理端 2:终端
  12308. type: integer
  12309. isvalid:
  12310. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12311. type: integer
  12312. reviserid:
  12313. description: 修改人
  12314. type: integer
  12315. revisersrc:
  12316. description: 修改来源 - 1:管理端 2:终端
  12317. type: integer
  12318. updatetime:
  12319. description: 更新时间
  12320. type: string
  12321. type: object
  12322. models.QhjAreaFinanceConfig:
  12323. properties:
  12324. additionalratio:
  12325. description: 追加款比例
  12326. type: number
  12327. advanceratio:
  12328. description: 预付款比例
  12329. type: number
  12330. alarmratio:
  12331. description: 告警比例
  12332. type: number
  12333. consumptiondirectreward:
  12334. description: 消费直推奖励值
  12335. type: number
  12336. consumptionenabled:
  12337. description: 是否启用消费奖励 - 0:不启用 1:启用
  12338. type: integer
  12339. consumptionindirectreward:
  12340. description: 消费间推奖励值
  12341. type: number
  12342. consumptionmodel:
  12343. description: 消费奖励方式 - 1:比率 2:固定
  12344. type: integer
  12345. customerservicenum:
  12346. description: 客服电话
  12347. type: string
  12348. dayinterestrate:
  12349. description: 日利率
  12350. type: number
  12351. disableconsumptiontips:
  12352. description: 关闭消费奖励提示
  12353. type: string
  12354. modifierid:
  12355. description: 修改人ID
  12356. type: integer
  12357. modifysrc:
  12358. description: 审核来源 - 1:管理端 2:终端
  12359. type: integer
  12360. modifytime:
  12361. description: 修改时间
  12362. type: string
  12363. promotionvalue:
  12364. description: 推广奖励值(固定)
  12365. type: number
  12366. scoreconfigvalue1:
  12367. description: 提货积分配置1
  12368. type: integer
  12369. scoreconfigvalue2:
  12370. description: 提货积分配置2
  12371. type: integer
  12372. userid:
  12373. description: 机构用户ID其他做市关系,都设置为 1
  12374. type: integer
  12375. username:
  12376. description: 用户名称
  12377. type: string
  12378. type: object
  12379. models.QhjBankAccountSign:
  12380. properties:
  12381. accountcode:
  12382. description: 资金账号
  12383. type: string
  12384. accountname:
  12385. description: 资金账号对应的账号名(UserName)
  12386. type: string
  12387. accountname2:
  12388. description: 资金账号对应的账号名(UserName) - 密文
  12389. type: string
  12390. accounttype:
  12391. description: 账户类型(UserType)
  12392. type: integer
  12393. applicationtime:
  12394. description: 最后一次更新的时间
  12395. type: string
  12396. applyexchticket:
  12397. description: 申请流水
  12398. type: string
  12399. auditid:
  12400. description: 审核人
  12401. type: integer
  12402. audittime:
  12403. description: 审核时间
  12404. type: string
  12405. bankaccountname:
  12406. description: 签约银行卡账号名
  12407. type: string
  12408. bankaccountname2:
  12409. description: 签约银行卡账号名 - 密文
  12410. type: string
  12411. bankaccountno:
  12412. description: 银行卡号
  12413. type: string
  12414. bankaccountno2:
  12415. description: 银行卡号 - 密文
  12416. type: string
  12417. bankaccounttype:
  12418. description: 银行账户类型 - 1-对私; 2-对公
  12419. type: integer
  12420. bankcardtype:
  12421. description: 银行卡类型
  12422. type: integer
  12423. bankchildaccount:
  12424. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12425. type: string
  12426. bankcity:
  12427. description: 开户行城市
  12428. type: string
  12429. bankid:
  12430. description: 签约银行ID
  12431. type: string
  12432. bankname:
  12433. description: 签约银行名称
  12434. type: string
  12435. bankprovince:
  12436. description: 开户行省份
  12437. type: string
  12438. branchbankid:
  12439. description: 签约银行支行号
  12440. type: string
  12441. branchbankname:
  12442. description: 签约银行支行名称
  12443. type: string
  12444. cardno:
  12445. description: 证件号码
  12446. type: string
  12447. cardno2:
  12448. description: 证件号码 - 密文
  12449. type: string
  12450. cardtype:
  12451. description: 证件类型
  12452. type: string
  12453. currency:
  12454. description: 币种
  12455. type: string
  12456. cusbankid:
  12457. description: 托管银行编号
  12458. type: string
  12459. direct:
  12460. description: 方向(可以判断那方先发起的签约)
  12461. type: integer
  12462. exchticket:
  12463. description: 最后一次签约成功的流水号
  12464. type: string
  12465. extendinfo:
  12466. description: 扩展信息(JSON字符串)
  12467. type: string
  12468. mobilephone:
  12469. description: 手机号
  12470. type: string
  12471. mobilephone2:
  12472. description: 手机号 - 密文
  12473. type: string
  12474. netaddr:
  12475. description: 调转网址
  12476. type: string
  12477. relateduserid:
  12478. description: 关联使用者userid
  12479. type: integer
  12480. signstatus:
  12481. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12482. 10:审核拒绝 11:换签待审核
  12483. type: integer
  12484. updatetime:
  12485. description: 更新时间(签解约更新时间)
  12486. type: string
  12487. type: object
  12488. models.QhjBankInfo:
  12489. properties:
  12490. bankid:
  12491. description: 银行ID
  12492. type: string
  12493. bankname:
  12494. description: 银行名称
  12495. type: string
  12496. clearbankno:
  12497. description: 清算系统银行编号
  12498. type: string
  12499. orderindex:
  12500. description: 排序顺序
  12501. type: integer
  12502. status:
  12503. description: 状态 - 0:正常 1:注销
  12504. type: integer
  12505. type: object
  12506. models.QhjBrokerApply:
  12507. properties:
  12508. applicantid:
  12509. description: 申请人
  12510. type: integer
  12511. applysrc:
  12512. description: 申请来源 - 1:管理端 2:终端
  12513. type: integer
  12514. applystatus:
  12515. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12516. type: integer
  12517. applytime:
  12518. description: 申请时间
  12519. type: string
  12520. auditorid:
  12521. description: 审核人
  12522. type: integer
  12523. auditremark:
  12524. description: 审核备注
  12525. type: string
  12526. auditsrc:
  12527. description: 审核来源 - 1:管理端 2:终端
  12528. type: integer
  12529. audittime:
  12530. description: 审核时间
  12531. type: string
  12532. audittradedate:
  12533. description: 审核交易日(yyyyMMdd)
  12534. type: string
  12535. brokerapplyid:
  12536. description: 申请ID(SEQ_BROKERAPPLY)
  12537. type: integer
  12538. cardbackphotourl:
  12539. description: 证件背面图片地址
  12540. type: string
  12541. cardfrontphotourl:
  12542. description: 证件正面图片地址
  12543. type: string
  12544. cardnum:
  12545. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12546. type: string
  12547. customername:
  12548. description: 姓名
  12549. type: string
  12550. logincode:
  12551. description: 登录代码
  12552. type: string
  12553. mobile:
  12554. description: 手机号码
  12555. type: string
  12556. parentuserid:
  12557. description: 所属机构id
  12558. type: integer
  12559. parentusername:
  12560. description: 所属机构名称
  12561. type: string
  12562. refereeuserid:
  12563. description: 推荐人id(经纪人)
  12564. type: integer
  12565. refernum:
  12566. description: 推荐码
  12567. type: string
  12568. remark:
  12569. description: 备注
  12570. type: string
  12571. subarealevelpath:
  12572. description: 层级路径
  12573. type: string
  12574. tradedate:
  12575. description: 交易日(yyyyMMdd)
  12576. type: string
  12577. userid:
  12578. description: 申请人用户ID
  12579. type: integer
  12580. userinfotype:
  12581. description: 用户类型 1-个人 2-企业
  12582. type: integer
  12583. username:
  12584. description: 用户名称
  12585. type: string
  12586. type: object
  12587. models.QhjBrokerApplyEx:
  12588. properties:
  12589. applylist:
  12590. description: 经纪人申请记录(只返回最新一条)
  12591. items:
  12592. $ref: '#/definitions/models.QhjBrokerApply'
  12593. type: array
  12594. canrecommend:
  12595. description: 是否经纪人 0-不是 1-是
  12596. type: integer
  12597. refernum:
  12598. description: 推荐码
  12599. type: string
  12600. userid:
  12601. description: 用户id
  12602. type: integer
  12603. userinfotype:
  12604. description: 用户类型 1-个人 2-企业
  12605. type: integer
  12606. type: object
  12607. models.QhjBrokerRewardLog:
  12608. properties:
  12609. accountid:
  12610. description: 资金账号ID
  12611. type: integer
  12612. createtime:
  12613. description: 创建时间(时间)
  12614. type: string
  12615. handlestatus:
  12616. description: 处理状态
  12617. type: integer
  12618. logid:
  12619. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12620. type: string
  12621. marketid:
  12622. description: 市场ID
  12623. type: integer
  12624. mmaccountid:
  12625. description: 做市商资金账号ID
  12626. type: string
  12627. mmuserid:
  12628. description: 做市商用户ID
  12629. type: string
  12630. rewardamount:
  12631. description: 奖励金额
  12632. type: number
  12633. rewardmodel:
  12634. description: 消费奖励方式 - 1:比率 2:固定
  12635. type: integer
  12636. rewardtype:
  12637. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12638. type: integer
  12639. rewardvalue:
  12640. description: 配置奖励值
  12641. type: number
  12642. srcamount:
  12643. description: 成交金额 [消费奖励] (金额)
  12644. type: number
  12645. srcgoodsid:
  12646. description: 来源商品ID [消费奖励]
  12647. type: string
  12648. srctime:
  12649. description: 来源时间 (成交时间) [消费奖励]
  12650. type: string
  12651. srctradeid:
  12652. description: 来源成交单ID [消费奖励] - 排除提货成交
  12653. type: string
  12654. srcuserid:
  12655. description: 来源用户ID(推广账户)
  12656. type: string
  12657. srcusername:
  12658. description: 推广账户名称
  12659. type: string
  12660. tradedate:
  12661. description: 交易日(yyyyMMdd)
  12662. type: string
  12663. userid:
  12664. description: 经纪人用户ID
  12665. type: integer
  12666. type: object
  12667. models.QhjContract:
  12668. properties:
  12669. contractconfirmtime:
  12670. description: 合同确认时间(时间)
  12671. type: string
  12672. currisklevel:
  12673. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12674. type: integer
  12675. decimalplace:
  12676. description: 商品报价小数位
  12677. type: integer
  12678. enumdicname:
  12679. description: 单位名称
  12680. type: string
  12681. goodscode:
  12682. description: 商品代码
  12683. type: string
  12684. goodsid:
  12685. description: 商品ID [5:融资单]
  12686. type: integer
  12687. goodsname:
  12688. description: 商品名称
  12689. type: string
  12690. goodunitid:
  12691. description: 商品单位id
  12692. type: integer
  12693. initmargin:
  12694. description: 初始保证金(首付款)
  12695. type: number
  12696. lenderamount:
  12697. description: 贷款金额(总额|订单总额)
  12698. type: number
  12699. marginratio:
  12700. description: 保证金比率(首付比例)
  12701. type: number
  12702. payamount:
  12703. description: 已付(已付货款)
  12704. type: number
  12705. reckonrecovermargin:
  12706. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12707. type: number
  12708. recoveredmargin:
  12709. description: 已追缴保证金
  12710. type: number
  12711. remainamount:
  12712. description: 合同剩余金额(融资额)
  12713. type: number
  12714. scfcontractid:
  12715. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12716. type: string
  12717. scfcontractstatus:
  12718. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12719. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12720. type: integer
  12721. scfcontracttype:
  12722. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12723. type: integer
  12724. totalinterest:
  12725. description: 已计总利息(利息)
  12726. type: number
  12727. tradeprice:
  12728. description: 成交价格(成本价格)
  12729. type: number
  12730. userid:
  12731. description: 用户ID
  12732. type: integer
  12733. username:
  12734. description: 用户名称
  12735. type: string
  12736. wrqty:
  12737. description: 仓单数量(数量)
  12738. type: number
  12739. type: object
  12740. models.QhjContractLog:
  12741. properties:
  12742. amount:
  12743. description: 支付金额
  12744. type: number
  12745. amounttype:
  12746. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12747. type: integer
  12748. logid:
  12749. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12750. type: string
  12751. remainamount:
  12752. description: 剩余货款
  12753. type: number
  12754. scfcontractid:
  12755. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12756. type: integer
  12757. updatetime:
  12758. description: 更新时间
  12759. type: string
  12760. type: object
  12761. models.QhjCusBankSignBankEx:
  12762. properties:
  12763. banklst:
  12764. description: 银行列表
  12765. items:
  12766. $ref: '#/definitions/models.QhjBankInfo'
  12767. type: array
  12768. canallot:
  12769. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12770. type: integer
  12771. canallotquery:
  12772. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12773. type: integer
  12774. canbindcard:
  12775. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12776. type: integer
  12777. caninamount:
  12778. description: 是否可入金 - 0:不可 1:可以
  12779. type: integer
  12780. caninamount2:
  12781. description: 是否可入金(网银端) - 0:不可 1:可以
  12782. type: integer
  12783. canmodifybankcard:
  12784. description: 是否可修改银行卡号 - 0:不可 1:可以
  12785. type: integer
  12786. canmodifyphone:
  12787. description: 是否可修改手机号 - 0:不可 1:可以
  12788. type: integer
  12789. canmodifysigninfo:
  12790. description: 是否可修改签约信息 - 0:不可 1:可以
  12791. type: integer
  12792. canoutamount:
  12793. description: 是否可出金 - 0:不可 1:可以
  12794. type: integer
  12795. canoutamount2:
  12796. description: 是否可出金(网银端) - 0:不可 1:可以
  12797. type: integer
  12798. canrelease:
  12799. description: 是否可解约 - 0:不可 1:可以
  12800. type: integer
  12801. canrelease2:
  12802. description: 是否可解约(网银端) - 0:不可 1:可以
  12803. type: integer
  12804. cansign:
  12805. description: 是否可签约 - 0:不可 1:可以
  12806. type: integer
  12807. cansign2:
  12808. description: 是否可签约(网银端) - 0:不可 1:可以
  12809. type: integer
  12810. currency:
  12811. description: 币种
  12812. type: string
  12813. cusbankid:
  12814. description: 托管银行编号(对应清算中心TRAN_NO)
  12815. type: string
  12816. cusbankname:
  12817. description: 银行业务名称
  12818. type: string
  12819. cusbankshortname:
  12820. description: 银行业务简称
  12821. type: string
  12822. exchbankid:
  12823. description: 交易所开户银行ID
  12824. type: string
  12825. exchpaybankaccname:
  12826. description: 交易所支出结算账户户名
  12827. type: string
  12828. exchpaybankaccno:
  12829. description: 交易所支出结算账户
  12830. type: string
  12831. isneedcheck:
  12832. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12833. type: integer
  12834. isneedclear:
  12835. description: 是否需要清算 - 0:不需要 1:需要
  12836. type: integer
  12837. lastcheckstatus:
  12838. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12839. type: integer
  12840. lastchecktime:
  12841. description: 最后对账时间
  12842. type: string
  12843. lastclearstatus:
  12844. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12845. type: integer
  12846. lastcleartime:
  12847. description: 最后清算时间
  12848. type: string
  12849. lastsignintime:
  12850. description: 最后签到时间
  12851. type: string
  12852. lastsignouttime:
  12853. description: 最后签退时间
  12854. type: string
  12855. riskinfo:
  12856. description: 签约风险提示书
  12857. type: string
  12858. signstatus:
  12859. description: 当前签到/签退状态 - 1:签到 2:签退
  12860. type: integer
  12861. tradedate:
  12862. description: 交易日(yyyyMMdd)
  12863. type: string
  12864. updatetime:
  12865. description: 当前签到/签退更新时间
  12866. type: string
  12867. type: object
  12868. models.QhjCustomer:
  12869. properties:
  12870. address:
  12871. description: 通讯地址
  12872. type: string
  12873. attachment1:
  12874. description: 附件1
  12875. type: string
  12876. attachment2:
  12877. description: 附件2
  12878. type: string
  12879. audittime:
  12880. description: 审核时间
  12881. type: string
  12882. cardbackphotourl:
  12883. description: 证件反面图片地址
  12884. type: string
  12885. cardfrontphotourl:
  12886. description: 证件正面图片地址
  12887. type: string
  12888. cardnum:
  12889. description: 证件号码
  12890. type: string
  12891. cardtype:
  12892. description: 证件类型
  12893. type: integer
  12894. cardtypename:
  12895. description: 证件类型名称
  12896. type: string
  12897. cityid:
  12898. description: 市
  12899. type: integer
  12900. cityname:
  12901. description: 城市名称
  12902. type: string
  12903. contactname:
  12904. description: 联系人
  12905. type: string
  12906. countryid:
  12907. description: 国家
  12908. type: integer
  12909. countryname:
  12910. description: 国家名称
  12911. type: string
  12912. createtime:
  12913. description: 创建时间
  12914. type: string
  12915. customername:
  12916. description: 客户名称
  12917. type: string
  12918. districtid:
  12919. description: 区域
  12920. type: integer
  12921. districtname:
  12922. description: 地区名称
  12923. type: string
  12924. email:
  12925. description: 邮件
  12926. type: string
  12927. legalpersonname:
  12928. description: 法人姓名(企业)
  12929. type: string
  12930. logincode:
  12931. description: 登录账号(代码)
  12932. type: string
  12933. memberuserid:
  12934. description: 所属机构ID(所属会员)
  12935. type: integer
  12936. memberusername:
  12937. description: 所属会员名称
  12938. type: string
  12939. mobile:
  12940. description: 手机号码
  12941. type: string
  12942. modifytime:
  12943. description: 修改时间
  12944. type: string
  12945. nickname:
  12946. description: 昵称
  12947. type: string
  12948. parentuserid:
  12949. description: 上级机构(所属机构)
  12950. type: integer
  12951. parentusername:
  12952. description: 所属机构名称
  12953. type: string
  12954. provinceid:
  12955. description: 省
  12956. type: integer
  12957. provincename:
  12958. description: 省名称
  12959. type: string
  12960. proxystatementurl:
  12961. description: 授权委托书
  12962. type: string
  12963. remark:
  12964. description: 备注
  12965. type: string
  12966. status:
  12967. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12968. type: integer
  12969. statusdesc:
  12970. description: 账户状态中文描述
  12971. type: string
  12972. taxpayernum:
  12973. description: 纳税人识别号
  12974. type: string
  12975. telphone:
  12976. description: 联系电话
  12977. type: string
  12978. userid:
  12979. description: 用户ID
  12980. type: integer
  12981. userinfotype:
  12982. description: 客户类型 1-个人 2-企业
  12983. type: integer
  12984. username:
  12985. description: 用户名称
  12986. type: string
  12987. type: object
  12988. models.QhjCustomerSignLog:
  12989. properties:
  12990. agreementcontent:
  12991. description: 协议内容
  12992. type: string
  12993. agreementid:
  12994. description: 协议ID
  12995. type: integer
  12996. agreementname:
  12997. description: 协议名称
  12998. type: string
  12999. agreementno:
  13000. description: 协议编号
  13001. type: string
  13002. agreementtype:
  13003. description: 协议类型 - 1:注册 2:登录 3:交易
  13004. type: integer
  13005. agreementversion:
  13006. description: 协议版本号
  13007. type: integer
  13008. createtime:
  13009. description: 创建时间
  13010. type: string
  13011. goodscode:
  13012. description: 商品代码
  13013. type: string
  13014. goodsid:
  13015. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13016. type: integer
  13017. goodsname:
  13018. description: 商品名称
  13019. type: string
  13020. logid:
  13021. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13022. type: integer
  13023. nodetype:
  13024. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13025. type: integer
  13026. signadressurl:
  13027. description: 签约文件地址
  13028. type: string
  13029. signtimestamp:
  13030. description: 签约状态时间戳
  13031. type: string
  13032. userid:
  13033. description: 客户ID
  13034. type: integer
  13035. username:
  13036. description: 客户名称
  13037. type: string
  13038. type: object
  13039. models.QhjCustomerSignStatus:
  13040. properties:
  13041. createtime:
  13042. description: 创建时间
  13043. type: string
  13044. goodscode:
  13045. description: 商品代码
  13046. type: string
  13047. goodsid:
  13048. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13049. type: integer
  13050. goodsname:
  13051. description: 商品名称
  13052. type: string
  13053. nodetype:
  13054. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13055. type: integer
  13056. signtimestamp:
  13057. description: 签约状态时间戳
  13058. type: string
  13059. tradedate:
  13060. description: 创建交易日(yyyyMMdd)
  13061. type: string
  13062. updatetime:
  13063. description: 更新时间
  13064. type: string
  13065. userid:
  13066. description: 客户ID
  13067. type: integer
  13068. username:
  13069. description: 客户名称
  13070. type: string
  13071. type: object
  13072. models.QhjMgrAccountOutInApply:
  13073. properties:
  13074. accountcode:
  13075. description: 资金账号
  13076. type: string
  13077. accountname:
  13078. description: 用户名称(名称)
  13079. type: string
  13080. accountpwd:
  13081. description: 资金密码
  13082. type: string
  13083. accountticket:
  13084. description: 最新账户服务流水号
  13085. type: string
  13086. amount:
  13087. description: 金额
  13088. type: number
  13089. applyremark:
  13090. description: 申请备注
  13091. type: string
  13092. applystatus:
  13093. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13094. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13095. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13096. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13097. type: integer
  13098. auditid:
  13099. description: 审核人
  13100. type: integer
  13101. audittime:
  13102. description: 审核时间
  13103. type: string
  13104. bank_apply_ticket:
  13105. description: 银行申请流水
  13106. type: string
  13107. bankaccountname:
  13108. description: 银行账户名
  13109. type: string
  13110. bankaccountno:
  13111. description: 银行卡号
  13112. type: string
  13113. bankid:
  13114. description: 银行编号
  13115. type: string
  13116. bankname:
  13117. description: 银行名称
  13118. type: string
  13119. bankticket:
  13120. description: 银行流水
  13121. type: string
  13122. branchbankid:
  13123. description: 银行支行号
  13124. type: string
  13125. branchbankname:
  13126. description: 银行支行名称
  13127. type: string
  13128. capamountout:
  13129. description: 出金(劣后本金) - 外部子账户
  13130. type: number
  13131. certificatephotourl:
  13132. description: 凭证地址
  13133. type: string
  13134. charge:
  13135. description: 手续费
  13136. type: number
  13137. checkerrorflag:
  13138. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13139. type: integer
  13140. currency:
  13141. description: 币种
  13142. type: string
  13143. cusbankid:
  13144. description: 托管银行编号
  13145. type: string
  13146. exchticket:
  13147. description: 银行服务流水号
  13148. type: string
  13149. executetype:
  13150. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13151. 7:外部子账户:入金 8:外部子账户:出金'
  13152. type: integer
  13153. extendinfo:
  13154. description: 扩展信息
  13155. type: string
  13156. extoperateid:
  13157. description: 交易服务流水号
  13158. type: integer
  13159. infamount:
  13160. description: 劣后金额(自有)
  13161. type: number
  13162. logincode:
  13163. description: 登录账号(账号)
  13164. type: string
  13165. netaddr:
  13166. description: 调转网址
  13167. type: string
  13168. priamount:
  13169. description: 优先金额(授信)
  13170. type: number
  13171. reauditid:
  13172. description: 复审人
  13173. type: integer
  13174. reauditremark:
  13175. description: 复审备注
  13176. type: string
  13177. reaudittime:
  13178. description: 复审时间
  13179. type: string
  13180. relatedorderid:
  13181. description: 三方关联ID
  13182. type: string
  13183. remark:
  13184. description: 备注
  13185. type: string
  13186. remark2:
  13187. description: 备注(失败原因)
  13188. type: string
  13189. soucreamount:
  13190. description: 原始出入金金额
  13191. type: number
  13192. soucrecurrencyid:
  13193. description: 原始出入金币种
  13194. type: integer
  13195. tradedate:
  13196. description: 交易日(yyyyMMdd)
  13197. type: string
  13198. updatetime:
  13199. description: 更新时间(申请时间)
  13200. type: string
  13201. userid:
  13202. description: 用户id
  13203. type: integer
  13204. userinfotype:
  13205. description: 账户类型 1-个人 2-企业
  13206. type: integer
  13207. type: object
  13208. models.QhjMgrBrokerApply:
  13209. properties:
  13210. applicantid:
  13211. description: 申请人
  13212. type: integer
  13213. applysrc:
  13214. description: 申请来源 - 1:管理端 2:终端
  13215. type: integer
  13216. applystatus:
  13217. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13218. type: integer
  13219. applytime:
  13220. description: 申请时间
  13221. type: string
  13222. auditorid:
  13223. description: 审核人
  13224. type: integer
  13225. auditremark:
  13226. description: 审核备注
  13227. type: string
  13228. auditsrc:
  13229. description: 审核来源 - 1:管理端 2:终端
  13230. type: integer
  13231. audittime:
  13232. description: 审核时间
  13233. type: string
  13234. audittradedate:
  13235. description: 审核交易日(yyyyMMdd)
  13236. type: string
  13237. brokerapplyid:
  13238. description: 申请ID(SEQ_BROKERAPPLY)
  13239. type: integer
  13240. cardbackphotourl:
  13241. description: 证件背面图片地址
  13242. type: string
  13243. cardfrontphotourl:
  13244. description: 证件正面图片地址
  13245. type: string
  13246. cardnum:
  13247. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13248. type: string
  13249. customername:
  13250. description: 姓名
  13251. type: string
  13252. filterstatus:
  13253. description: 筛选条件
  13254. type: string
  13255. logincode:
  13256. description: 登录代码
  13257. type: string
  13258. mobile:
  13259. description: 手机号码
  13260. type: string
  13261. parentuserid:
  13262. description: 所属机构id
  13263. type: integer
  13264. parentusername:
  13265. description: 所属机构名称
  13266. type: string
  13267. refereeuserid:
  13268. description: 推荐人id(经纪人)
  13269. type: integer
  13270. refernum:
  13271. description: 推荐码
  13272. type: string
  13273. remark:
  13274. description: 备注
  13275. type: string
  13276. subarealevelpath:
  13277. description: 层级路径
  13278. type: string
  13279. tradedate:
  13280. description: 交易日(yyyyMMdd)
  13281. type: string
  13282. userid:
  13283. description: 申请人用户ID
  13284. type: integer
  13285. userinfotype:
  13286. description: 用户类型 1-个人 2-企业
  13287. type: integer
  13288. username:
  13289. description: 用户名称
  13290. type: string
  13291. type: object
  13292. models.QhjMgrBrokerRewardReport:
  13293. properties:
  13294. createtime:
  13295. description: 创建时间(注册时间)
  13296. type: string
  13297. cycletime:
  13298. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13299. type: string
  13300. cycletype:
  13301. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13302. type: integer
  13303. directtotalnum:
  13304. description: 直推总人数【期末】
  13305. type: integer
  13306. indirecttotalnum:
  13307. description: 间推总人数【期末】
  13308. type: integer
  13309. mobile:
  13310. description: 电话号码
  13311. type: string
  13312. refereeuserid:
  13313. description: 推荐人id(经纪人id)
  13314. type: integer
  13315. refereeusername:
  13316. description: 推荐人名称(经纪人) 上级经纪人名称
  13317. type: string
  13318. refernum:
  13319. description: 推荐码
  13320. type: string
  13321. subarealevelpath:
  13322. description: 用户层级路径
  13323. type: string
  13324. todayrewardamount:
  13325. description: 奖励总金额【汇总】
  13326. type: number
  13327. updatetime:
  13328. description: 更新时间
  13329. type: string
  13330. userid:
  13331. description: 经纪人用户ID
  13332. type: integer
  13333. userinfotype:
  13334. description: 用户类型 1-个人 2-企业
  13335. type: integer
  13336. username:
  13337. description: 用户名称
  13338. type: string
  13339. type: object
  13340. models.QhjMgrContract:
  13341. properties:
  13342. contractconfirmtime:
  13343. description: 合同确认时间(时间)
  13344. type: string
  13345. currisklevel:
  13346. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13347. type: integer
  13348. decimalplace:
  13349. description: 商品报价小数位
  13350. type: integer
  13351. enumdicname:
  13352. description: 单位名称
  13353. type: string
  13354. goodscode:
  13355. description: 商品代码
  13356. type: string
  13357. goodsid:
  13358. description: 商品ID [5:融资单]
  13359. type: integer
  13360. goodsname:
  13361. description: 商品名称
  13362. type: string
  13363. goodunitid:
  13364. description: 商品单位id
  13365. type: integer
  13366. initmargin:
  13367. description: 初始保证金(首付款)
  13368. type: number
  13369. lenderamount:
  13370. description: 贷款金额(总额|订单总额)
  13371. type: number
  13372. logincode:
  13373. description: 账号(登录代码)
  13374. type: string
  13375. marginratio:
  13376. description: 保证金比率(首付比例)
  13377. type: number
  13378. mobile:
  13379. description: 电话号码(用户资料里的电话)
  13380. type: string
  13381. payamount:
  13382. description: 已付(已付货款)
  13383. type: number
  13384. reckonrecovermargin:
  13385. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13386. type: number
  13387. recoveredmargin:
  13388. description: 已追缴保证金
  13389. type: number
  13390. remainamount:
  13391. description: 合同剩余金额(融资额)
  13392. type: number
  13393. scfcontractid:
  13394. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13395. type: string
  13396. scfcontractstatus:
  13397. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13398. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13399. type: integer
  13400. scfcontracttype:
  13401. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13402. type: integer
  13403. totalinterest:
  13404. description: 已计总利息(利息)
  13405. type: number
  13406. tradedate:
  13407. description: 交易日
  13408. type: string
  13409. tradeprice:
  13410. description: 成交价格(成本价格)
  13411. type: number
  13412. userid:
  13413. description: 用户ID
  13414. type: integer
  13415. userinfotype:
  13416. description: 用户类型 1-个人 2-企业
  13417. type: integer
  13418. username:
  13419. description: 用户名称
  13420. type: string
  13421. wrqty:
  13422. description: 仓单数量(数量)
  13423. type: number
  13424. type: object
  13425. models.QhjMgrCustomer:
  13426. properties:
  13427. address:
  13428. description: 通讯地址
  13429. type: string
  13430. attachment1:
  13431. description: 附件1
  13432. type: string
  13433. audittime:
  13434. description: 审核时间
  13435. type: string
  13436. birthday:
  13437. description: 生日
  13438. type: string
  13439. brokerid:
  13440. description: 所属客户经理id
  13441. type: integer
  13442. brokername:
  13443. description: 所属客户经理名称
  13444. type: string
  13445. cardbackphotourl:
  13446. description: 证件反面图片地址
  13447. type: string
  13448. cardfrontphotourl:
  13449. description: 证件正面图片地址
  13450. type: string
  13451. cardnum:
  13452. description: 证件号码
  13453. type: string
  13454. cardtype:
  13455. description: 证件类型
  13456. type: integer
  13457. cardtypename:
  13458. description: 证件类型名称
  13459. type: string
  13460. cityid:
  13461. description: 市
  13462. type: integer
  13463. cityname:
  13464. description: 城市名称
  13465. type: string
  13466. contactname:
  13467. description: 联系人
  13468. type: string
  13469. countryid:
  13470. description: 国家
  13471. type: integer
  13472. countryname:
  13473. description: 国家名称
  13474. type: string
  13475. createtime:
  13476. description: 创建时间
  13477. type: string
  13478. customername:
  13479. description: 客户名称
  13480. type: string
  13481. districtid:
  13482. description: 区域
  13483. type: integer
  13484. districtname:
  13485. description: 地区名称
  13486. type: string
  13487. email:
  13488. description: 邮件
  13489. type: string
  13490. legalpersonname:
  13491. description: 法人姓名(企业)
  13492. type: string
  13493. logincode:
  13494. description: 登录账号(代码)
  13495. type: string
  13496. memberuserid:
  13497. description: 所属机构ID(所属会员)
  13498. type: integer
  13499. memberusername:
  13500. description: 所属会员名称
  13501. type: string
  13502. mobile:
  13503. description: 手机号码
  13504. type: string
  13505. modifytime:
  13506. description: 修改时间
  13507. type: string
  13508. nickname:
  13509. description: 昵称
  13510. type: string
  13511. parentuserid:
  13512. description: 上级机构(所属机构)
  13513. type: integer
  13514. parentusername:
  13515. description: 所属机构名称
  13516. type: string
  13517. provinceid:
  13518. description: 省
  13519. type: integer
  13520. provincename:
  13521. description: 省名称
  13522. type: string
  13523. proxystatementurl:
  13524. description: 授权委托书
  13525. type: string
  13526. querytype:
  13527. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13528. type: integer
  13529. remark:
  13530. description: 备注
  13531. type: string
  13532. sex:
  13533. description: 性别 0-女 1-男
  13534. type: integer
  13535. status:
  13536. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13537. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13538. type: integer
  13539. statusdesc:
  13540. description: 账户状态中文描述
  13541. type: string
  13542. taxpayernum:
  13543. description: 纳税人识别号
  13544. type: string
  13545. telphone:
  13546. description: 联系电话
  13547. type: string
  13548. userid:
  13549. description: 用户ID
  13550. type: integer
  13551. userinfotype:
  13552. description: 客户类型 1-个人 2-企业
  13553. type: integer
  13554. username:
  13555. description: 用户名称
  13556. type: string
  13557. type: object
  13558. models.QhjMgrPickGoods:
  13559. properties:
  13560. enumdicname:
  13561. description: 单位名称(提货商品)
  13562. type: string
  13563. goodsid:
  13564. description: 商品id
  13565. type: integer
  13566. imageaddress:
  13567. description: 图片
  13568. type: string
  13569. modifierid:
  13570. description: 修改人
  13571. type: integer
  13572. modifiername:
  13573. description: 修改人名称
  13574. type: string
  13575. modifysrc:
  13576. description: 修改来源 - 1:管理端 2:终端
  13577. type: integer
  13578. pickupgoodsagreeunit:
  13579. description: 合约乘数
  13580. type: number
  13581. pickupgoodsdesc:
  13582. description: 描述
  13583. type: string
  13584. pickupgoodsid:
  13585. description: 提货商品ID
  13586. type: string
  13587. pickupgoodsname:
  13588. description: 提货商品名称
  13589. type: string
  13590. pickupgoodsstatus:
  13591. description: 状态 - 1:正常 2:停用 3:注销
  13592. type: integer
  13593. pickupgoodsunitid:
  13594. description: 单位ID
  13595. type: integer
  13596. pickupratio:
  13597. description: 提货系数
  13598. type: number
  13599. preparedays:
  13600. description: 备货期(天)
  13601. type: integer
  13602. remark:
  13603. description: 备注
  13604. type: string
  13605. updatetime:
  13606. description: 更新时间
  13607. type: string
  13608. type: object
  13609. models.QhjMgrPositionRsp:
  13610. properties:
  13611. accountid:
  13612. description: 账号Id
  13613. type: integer
  13614. accountname:
  13615. description: 用户名称
  13616. type: string
  13617. agreeunit:
  13618. description: 合约乘数
  13619. type: number
  13620. averageprice:
  13621. description: 均价
  13622. type: number
  13623. avialqty:
  13624. description: 可用数量
  13625. type: number
  13626. decimalplace:
  13627. description: 报价小数位
  13628. type: integer
  13629. enumdicname:
  13630. description: 单位名称(商品)
  13631. type: string
  13632. frozenqty:
  13633. description: 冻结数量
  13634. type: number
  13635. goodscode:
  13636. description: 商品代码(内部)
  13637. type: string
  13638. goodsid:
  13639. description: 商品Id
  13640. type: integer
  13641. goodsname:
  13642. description: 商品名称
  13643. type: string
  13644. goodunitid:
  13645. description: 报价单位ID
  13646. type: integer
  13647. holderamount:
  13648. description: 金额
  13649. type: number
  13650. holderqty:
  13651. description: 持有数量
  13652. type: number
  13653. holdertype:
  13654. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13655. type: integer
  13656. logincode:
  13657. description: 登录代码(账户)
  13658. type: string
  13659. marketid:
  13660. description: 市场id
  13661. type: integer
  13662. qtydecimalplace:
  13663. description: 成交量小数位
  13664. type: integer
  13665. trademode:
  13666. description: 交易模式
  13667. type: integer
  13668. userid:
  13669. description: 用户id
  13670. type: integer
  13671. userinfotype:
  13672. description: 账户类型 1-个人 2-企业
  13673. type: integer
  13674. type: object
  13675. models.QhjMgrSubArea:
  13676. properties:
  13677. accountname:
  13678. description: 账户名称(机构名称)
  13679. type: string
  13680. memberuserid:
  13681. description: 所属会员ID
  13682. type: integer
  13683. parenttopuser:
  13684. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13685. type: string
  13686. parentuserid:
  13687. description: 所属机构ID
  13688. type: integer
  13689. rootuserid:
  13690. description: 根用户ID
  13691. type: string
  13692. subaccountlevel:
  13693. description: 子账户层数
  13694. type: integer
  13695. subarealevelpath:
  13696. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13697. type: string
  13698. userid:
  13699. description: 用户ID
  13700. type: integer
  13701. usertype:
  13702. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13703. type: integer
  13704. type: object
  13705. models.QhjMgrTradeDetailRsp:
  13706. properties:
  13707. accountid:
  13708. description: 资金账号
  13709. type: integer
  13710. accountname:
  13711. description: 用户名称
  13712. type: string
  13713. agreeunit:
  13714. description: 合约乘数
  13715. type: number
  13716. buyorsell:
  13717. description: 成交类型(方向) 0:买 1:卖
  13718. type: integer
  13719. decimalplace:
  13720. description: 报价小数位
  13721. type: integer
  13722. enumdicname:
  13723. description: 单位名称(商品)
  13724. type: string
  13725. goodscode:
  13726. description: 商品代码(内部)
  13727. type: string
  13728. goodsid:
  13729. description: 商品id
  13730. type: integer
  13731. goodsname:
  13732. description: 商品名称
  13733. type: string
  13734. goodunitid:
  13735. description: 报价单位ID
  13736. type: integer
  13737. logincode:
  13738. description: 登录代码(账户)
  13739. type: string
  13740. marketid:
  13741. description: 市场id
  13742. type: integer
  13743. orderid:
  13744. description: 关联委托单号
  13745. type: string
  13746. qtydecimalplace:
  13747. description: 成交量小数位
  13748. type: integer
  13749. tradeamount:
  13750. description: 金额
  13751. type: number
  13752. tradedate:
  13753. description: 交易日
  13754. type: string
  13755. tradeid:
  13756. description: 成交单号
  13757. type: string
  13758. trademode:
  13759. description: 交易模式
  13760. type: integer
  13761. tradeprice:
  13762. description: 价格
  13763. type: number
  13764. tradeqty:
  13765. description: 数量
  13766. type: number
  13767. tradetime:
  13768. description: 成交时间
  13769. type: string
  13770. userid:
  13771. description: 用户id
  13772. type: integer
  13773. userinfotype:
  13774. description: 账户类型 1-个人 2-企业
  13775. type: integer
  13776. type: object
  13777. models.QhjMgrTradeOrderDetailRsp:
  13778. properties:
  13779. accountid:
  13780. description: 资金账号
  13781. type: integer
  13782. accountname:
  13783. description: 用户名称
  13784. type: string
  13785. agreeunit:
  13786. description: 合约乘数
  13787. type: number
  13788. amount:
  13789. description: 金额
  13790. type: number
  13791. decimalplace:
  13792. description: 报价小数位
  13793. type: integer
  13794. enumdicname:
  13795. description: 单位名称(商品)
  13796. type: string
  13797. goodscode:
  13798. description: 商品代码(内部)
  13799. type: string
  13800. goodsid:
  13801. description: 商品id
  13802. type: integer
  13803. goodsname:
  13804. description: 商品名称
  13805. type: string
  13806. goodunitid:
  13807. description: 报价单位ID
  13808. type: integer
  13809. logincode:
  13810. description: 登录代码(账户)
  13811. type: string
  13812. marketid:
  13813. description: 市场id
  13814. type: integer
  13815. orderid:
  13816. description: 关联委托单号
  13817. type: string
  13818. orderprice:
  13819. description: 价格
  13820. type: number
  13821. orderqty:
  13822. description: 数量
  13823. type: number
  13824. orderstatus:
  13825. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13826. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13827. 16:成交失败违约(荷兰式竞拍专用)
  13828. type: integer
  13829. ordertime:
  13830. description: 委托时间
  13831. type: string
  13832. qtydecimalplace:
  13833. description: 成交量小数位
  13834. type: integer
  13835. tradedate:
  13836. description: 交易日
  13837. type: string
  13838. trademode:
  13839. description: 交易模式
  13840. type: integer
  13841. userid:
  13842. description: 用户id
  13843. type: integer
  13844. userinfotype:
  13845. description: 账户类型 1-个人 2-企业
  13846. type: integer
  13847. type: object
  13848. models.QhjMgrTradePayOrder:
  13849. properties:
  13850. accountname:
  13851. description: 用户名称
  13852. type: string
  13853. advanceratio:
  13854. description: 首付比率
  13855. type: number
  13856. agreeunit:
  13857. description: 合约乘数
  13858. type: number
  13859. buyaccountid:
  13860. description: 买方账号ID[报价币种]
  13861. type: integer
  13862. buyorderid:
  13863. description: 买方委托单号(关联单号)
  13864. type: string
  13865. createtime:
  13866. description: 创建时间
  13867. type: string
  13868. decimalplace:
  13869. description: 报价小数位
  13870. type: integer
  13871. enumdicname:
  13872. description: 单位名称(商品)
  13873. type: string
  13874. goodscode:
  13875. description: 商品代码(内部)
  13876. type: string
  13877. goodsid:
  13878. description: 商品ID
  13879. type: integer
  13880. goodsname:
  13881. description: 商品名称
  13882. type: string
  13883. goodunitid:
  13884. description: 报价单位ID
  13885. type: integer
  13886. logincode:
  13887. description: 登录代码(账户)
  13888. type: string
  13889. marketid:
  13890. description: 市场id
  13891. type: integer
  13892. offamount:
  13893. description: 优惠金额
  13894. type: number
  13895. operatetype:
  13896. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13897. type: integer
  13898. payamount:
  13899. description: 支付金额(金额)
  13900. type: number
  13901. payflag:
  13902. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13903. type: integer
  13904. paylimitedtime:
  13905. description: 支付期限
  13906. type: string
  13907. paytime:
  13908. description: 付款时间
  13909. type: string
  13910. qtydecimalplace:
  13911. description: 成交量小数位
  13912. type: integer
  13913. sellaccountid:
  13914. description: 卖方账号ID[报价币种]
  13915. type: integer
  13916. sellorderid:
  13917. description: 卖方委托单号
  13918. type: string
  13919. tradeamount:
  13920. description: 成交金额(优惠后金额)
  13921. type: number
  13922. tradecharge:
  13923. description: 成交手续费(买方)
  13924. type: number
  13925. tradedate:
  13926. description: 交易日(yyyyMMdd)
  13927. type: string
  13928. tradeid:
  13929. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13930. type: string
  13931. trademode:
  13932. description: 交易模式
  13933. type: integer
  13934. tradeprice:
  13935. description: 成交价格(价格)
  13936. type: number
  13937. tradeqty:
  13938. description: 成交数量(数量)
  13939. type: number
  13940. tradetime:
  13941. description: 成交时间
  13942. type: string
  13943. userid:
  13944. description: 用户id
  13945. type: integer
  13946. userinfotype:
  13947. description: 账户类型 1-个人 2-企业
  13948. type: integer
  13949. type: object
  13950. models.QhjMyTeamEx:
  13951. properties:
  13952. accountname:
  13953. description: 用户名称
  13954. type: string
  13955. accountstatus:
  13956. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13957. type: integer
  13958. createtime:
  13959. description: 创建时间
  13960. type: string
  13961. mobile:
  13962. description: 手机号码
  13963. type: string
  13964. refereeuserid:
  13965. description: 推荐人id
  13966. type: integer
  13967. refernum:
  13968. description: 推荐码
  13969. type: string
  13970. subList:
  13971. items:
  13972. $ref: '#/definitions/models.QhjMyTeamEx'
  13973. type: array
  13974. userid:
  13975. description: 用户id
  13976. type: integer
  13977. userinfotype:
  13978. description: 用户类型 1-个人 2-企业
  13979. type: integer
  13980. type: object
  13981. models.QhjNodeAgreementConfig:
  13982. properties:
  13983. agreementcontent:
  13984. description: 协议内容
  13985. type: string
  13986. agreementid:
  13987. description: 协议ID
  13988. type: integer
  13989. agreementname:
  13990. description: 协议名称
  13991. type: string
  13992. agreementno:
  13993. description: 协议编号
  13994. type: string
  13995. agreementtype:
  13996. description: 协议类型 - 1:注册 2:登录 3:交易
  13997. type: integer
  13998. agreementversion:
  13999. description: 协议版本号
  14000. type: integer
  14001. configid:
  14002. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14003. type: integer
  14004. createtime:
  14005. description: 创建时间
  14006. type: string
  14007. goodsid:
  14008. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14009. type: integer
  14010. nodetype:
  14011. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14012. type: integer
  14013. type: object
  14014. models.QhjParentAreaList:
  14015. properties:
  14016. accountname:
  14017. description: 账户名称(机构名称)
  14018. type: string
  14019. userid:
  14020. description: 用户ID
  14021. type: integer
  14022. usertype:
  14023. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14024. type: integer
  14025. type: object
  14026. models.QhjPayOrder:
  14027. properties:
  14028. advanceratio:
  14029. description: 首付比率
  14030. type: number
  14031. buyaccountid:
  14032. description: 买方账号ID[报价币种]
  14033. type: integer
  14034. buyorderid:
  14035. description: 买方委托单号
  14036. type: string
  14037. createtime:
  14038. description: 创建时间
  14039. type: string
  14040. decimalplace:
  14041. description: 商品报价小数位
  14042. type: integer
  14043. enumdicname:
  14044. description: 单位名称
  14045. type: string
  14046. goodscode:
  14047. description: 商品代码
  14048. type: string
  14049. goodsid:
  14050. description: 商品ID
  14051. type: integer
  14052. goodsname:
  14053. description: 商品名称
  14054. type: string
  14055. goodunitid:
  14056. description: 商品单位id
  14057. type: integer
  14058. marketid:
  14059. description: 市场ID
  14060. type: integer
  14061. offamount:
  14062. description: 优惠金额
  14063. type: number
  14064. operatetype:
  14065. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14066. type: integer
  14067. payamount:
  14068. description: 支付金额
  14069. type: number
  14070. payflag:
  14071. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14072. type: integer
  14073. paylimitedtime:
  14074. description: 支付期限
  14075. type: string
  14076. paytime:
  14077. description: 付款时间
  14078. type: string
  14079. qtydecimalplace:
  14080. description: 成交量小数位
  14081. type: integer
  14082. sellaccountid:
  14083. description: 卖方账号ID[报价币种]
  14084. type: integer
  14085. sellorderid:
  14086. description: 卖方委托单号
  14087. type: string
  14088. tradeamount:
  14089. description: 成交金额(优惠后金额)
  14090. type: number
  14091. tradecharge:
  14092. description: 成交手续费(买方)
  14093. type: number
  14094. tradedate:
  14095. description: 交易日(yyyyMMdd)
  14096. type: string
  14097. tradeid:
  14098. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14099. type: string
  14100. tradeprice:
  14101. description: 成交价格
  14102. type: number
  14103. tradeqty:
  14104. description: 成交数量
  14105. type: number
  14106. type: object
  14107. models.QhjPickArea:
  14108. properties:
  14109. address:
  14110. description: 详细地址
  14111. type: string
  14112. cityid:
  14113. description: 市
  14114. type: integer
  14115. cityname:
  14116. description: 城市名称
  14117. type: string
  14118. countryid:
  14119. description: 国家
  14120. type: integer
  14121. countryname:
  14122. description: 国家名称
  14123. type: string
  14124. districtid:
  14125. description: 地区
  14126. type: integer
  14127. districtname:
  14128. description: 地区名称
  14129. type: string
  14130. fromuserid:
  14131. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14132. type: integer
  14133. fromusername:
  14134. description: 所属机构名称
  14135. type: string
  14136. provinceid:
  14137. description: 省
  14138. type: integer
  14139. provincename:
  14140. description: 省名称
  14141. type: string
  14142. suborgtype:
  14143. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14144. type: integer
  14145. userid:
  14146. description: 机构用户ID 其他做市关系,都设置为 1
  14147. type: integer
  14148. username:
  14149. description: 机构用户名称(门店门称)
  14150. type: string
  14151. type: object
  14152. models.QhjPickGoods:
  14153. properties:
  14154. enumdicname:
  14155. description: 单位名称(提货商品)
  14156. type: string
  14157. goodsid:
  14158. description: 商品id
  14159. type: integer
  14160. imageaddress:
  14161. description: 图片
  14162. type: string
  14163. modifierid:
  14164. description: 修改人
  14165. type: integer
  14166. modifiername:
  14167. description: 修改人名称
  14168. type: string
  14169. modifysrc:
  14170. description: 修改来源 - 1:管理端 2:终端
  14171. type: integer
  14172. pickupgoodsagreeunit:
  14173. description: 合约乘数
  14174. type: number
  14175. pickupgoodsdesc:
  14176. description: 描述
  14177. type: string
  14178. pickupgoodsid:
  14179. description: 提货商品ID
  14180. type: string
  14181. pickupgoodsname:
  14182. description: 提货商品名称
  14183. type: string
  14184. pickupgoodsstatus:
  14185. description: 状态 - 1:正常 2:停用 3:注销
  14186. type: integer
  14187. pickupgoodsunitid:
  14188. description: 单位ID
  14189. type: integer
  14190. pickupratio:
  14191. description: 提货系数
  14192. type: number
  14193. preparedays:
  14194. description: 备货期(天)
  14195. type: integer
  14196. remark:
  14197. description: 备注
  14198. type: string
  14199. updatetime:
  14200. description: 更新时间
  14201. type: string
  14202. type: object
  14203. models.QhjRSTriggerLog:
  14204. properties:
  14205. accountid:
  14206. description: 用户资金账户
  14207. type: integer
  14208. accountname:
  14209. description: 账号名称(ACCOUNTID对应的名称)
  14210. type: string
  14211. currencyid:
  14212. description: 币种id
  14213. type: integer
  14214. currencyname:
  14215. description: 币种名称
  14216. type: string
  14217. decimalplace:
  14218. description: 商品报价小数位
  14219. type: integer
  14220. enumdicname:
  14221. description: 单位名称
  14222. type: string
  14223. goodscode:
  14224. description: 定投商品代码
  14225. type: string
  14226. goodsid:
  14227. description: 定投商品ID
  14228. type: integer
  14229. goodsname:
  14230. description: 定投商品名称
  14231. type: string
  14232. goodunitid:
  14233. description: 定投商品单位id
  14234. type: integer
  14235. logid:
  14236. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14237. type: string
  14238. logincode:
  14239. description: 账号(登录代码)
  14240. type: string
  14241. qtydecimalplace:
  14242. description: 成交量小数位
  14243. type: integer
  14244. regularlycycle:
  14245. description: 定投频率 - 1:每周 2:每月
  14246. type: integer
  14247. regularlycyclevalue:
  14248. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14249. type: string
  14250. regularlymode:
  14251. description: 定投方式 - 1:按数量 2:按金额
  14252. type: integer
  14253. regularlymodevalue:
  14254. description: 定投方式值 - 数量或金额
  14255. type: number
  14256. regularlystrategyid:
  14257. description: 定投策略ID
  14258. type: integer
  14259. retcode:
  14260. description: 错误码
  14261. type: string
  14262. tradeid:
  14263. description: 成交单ID
  14264. type: string
  14265. triggeramount:
  14266. description: 触发金额
  14267. type: number
  14268. triggerqty:
  14269. description: 触发数量
  14270. type: number
  14271. triggerstatus:
  14272. description: 触发状态 - 1:成功 2:失败
  14273. type: integer
  14274. triggertime:
  14275. description: 触发时间
  14276. type: string
  14277. triggertradedate:
  14278. description: 触发交易日
  14279. type: string
  14280. userid:
  14281. description: 所属用户ID
  14282. type: integer
  14283. userinfotype:
  14284. description: 用户类型 1-个人 2-企业
  14285. type: integer
  14286. username:
  14287. description: 用户名称(userid对应的名称)
  14288. type: string
  14289. type: object
  14290. models.QhjRStrategy:
  14291. properties:
  14292. accountid:
  14293. description: 用户资金账户
  14294. type: integer
  14295. accountname:
  14296. description: 账号名称(ACCOUNTID对应的名称)
  14297. type: string
  14298. currencyid:
  14299. description: 币种id
  14300. type: integer
  14301. currencyname:
  14302. description: 币种名称
  14303. type: string
  14304. decimalplace:
  14305. description: 商品报价小数位
  14306. type: integer
  14307. enumdicname:
  14308. description: 单位名称
  14309. type: string
  14310. goodscode:
  14311. description: 定投商品代码
  14312. type: string
  14313. goodsid:
  14314. description: 定投商品ID
  14315. type: integer
  14316. goodsname:
  14317. description: 定投商品名称
  14318. type: string
  14319. goodunitid:
  14320. description: 定投商品单位id
  14321. type: integer
  14322. lasteffecttradedate:
  14323. description: 最新生效交易日
  14324. type: string
  14325. laststoptradedate:
  14326. description: 最新暂停交易日
  14327. type: string
  14328. lasttriggertradedate:
  14329. description: 最新触发交易日
  14330. type: string
  14331. logincode:
  14332. description: 账号(登录代码)
  14333. type: string
  14334. nexttriggeramount:
  14335. description: 下次触发金额
  14336. type: number
  14337. nexttriggerdate:
  14338. description: 下次触发日期
  14339. type: string
  14340. nexttriggerqty:
  14341. description: 下次触发数量 [按小数位放大值]
  14342. type: number
  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 (SEQ_QHJ_REGULARLYSTRATEGY)
  14360. type: integer
  14361. regularlystrategystatus:
  14362. description: 策略状态 - 1:正常 2:暂停 3:终止
  14363. type: integer
  14364. remark:
  14365. description: 备注
  14366. type: string
  14367. triggersuccesstimes:
  14368. description: 累计定投成功次数
  14369. type: string
  14370. triggertotalamount:
  14371. description: 累计定投金额(成功)
  14372. type: number
  14373. triggertotalqty:
  14374. description: 累计定投数量(成功) [按小数位放大值]
  14375. type: number
  14376. triggertotaltimes:
  14377. description: 累计定投总次数
  14378. type: string
  14379. updatesrc:
  14380. description: 更新来源 - 1:管理端 2:终端
  14381. type: integer
  14382. updatetime:
  14383. description: 更新时间
  14384. type: string
  14385. updatorid:
  14386. description: 更新人
  14387. type: string
  14388. userid:
  14389. description: 所属用户ID
  14390. type: integer
  14391. userinfotype:
  14392. description: 用户类型 1-个人 2-企业
  14393. type: integer
  14394. username:
  14395. description: 用户名称(userid对应的名称)
  14396. type: string
  14397. type: object
  14398. models.QhjReckonPriceLog:
  14399. properties:
  14400. decimalplace:
  14401. description: 商品报价小数位
  14402. type: integer
  14403. goodscode:
  14404. description: 商品代码
  14405. type: string
  14406. goodsid:
  14407. description: 商品ID
  14408. type: integer
  14409. goodsname:
  14410. description: 商品名称
  14411. type: string
  14412. lastreckonprice:
  14413. description: 上日结算价
  14414. type: number
  14415. nextdnlimitprice:
  14416. description: 下个交易日跌停价
  14417. type: number
  14418. nexttrade:
  14419. description: 下个交易日
  14420. type: string
  14421. nextuplimitprice:
  14422. description: 下个交易日涨停价
  14423. type: number
  14424. reckonprice:
  14425. description: 今日结算价(定投价)
  14426. type: number
  14427. reckontime:
  14428. description: 结算时间
  14429. type: string
  14430. totalholderqty:
  14431. description: 总持仓数
  14432. type: integer
  14433. totalstock:
  14434. description: 总库存
  14435. type: integer
  14436. tradedate:
  14437. description: 交易日
  14438. type: string
  14439. updowncount:
  14440. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14441. type: integer
  14442. updownflag:
  14443. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14444. type: integer
  14445. updownrate:
  14446. description: 今日涨跌幅
  14447. type: number
  14448. updownrate_2d:
  14449. description: 连续两日涨跌幅
  14450. type: number
  14451. updownrate_3d:
  14452. description: 连续三日涨跌幅
  14453. type: number
  14454. type: object
  14455. models.QhjScoreLog:
  14456. properties:
  14457. accountid:
  14458. description: 账户ID
  14459. type: integer
  14460. createtime:
  14461. description: 创建时间(时间)
  14462. type: string
  14463. goodsid:
  14464. description: 商品ID
  14465. type: integer
  14466. hasuploaded:
  14467. description: 是否已同步(千海金) 0:未同步 1;已同步
  14468. type: integer
  14469. logid:
  14470. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14471. type: string
  14472. marketid:
  14473. description: 市场ID
  14474. type: integer
  14475. relatedamount:
  14476. description: 关联金额
  14477. type: number
  14478. relatedorderid:
  14479. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14480. type: string
  14481. scoreconfigvalue1:
  14482. description: 积分配置1
  14483. type: integer
  14484. scoreconfigvalue2:
  14485. description: 积分配置1
  14486. type: integer
  14487. scoretype:
  14488. description: 积分类型 - 1:提货积分
  14489. type: integer
  14490. scorevalue:
  14491. description: 积分
  14492. type: number
  14493. tradedate:
  14494. description: 交易日(yyyyMMdd)
  14495. type: string
  14496. uploadedtime:
  14497. description: 同步时间
  14498. type: string
  14499. userid:
  14500. description: 用户ID
  14501. type: integer
  14502. type: object
  14503. models.QhjSiteColumnDetail:
  14504. properties:
  14505. author:
  14506. description: 作者
  14507. type: string
  14508. brief:
  14509. description: 简介
  14510. type: string
  14511. columnid:
  14512. description: 所属栏目
  14513. type: integer
  14514. context:
  14515. description: 内容
  14516. type: string
  14517. coverimage:
  14518. description: 封面图片
  14519. type: string
  14520. creaedate:
  14521. description: 创建时间
  14522. type: string
  14523. creatorid:
  14524. description: 创建人
  14525. type: integer
  14526. hits:
  14527. description: 点击数
  14528. type: integer
  14529. id:
  14530. description: ID(SEQ_SITE_COLUMNDETAIL)
  14531. type: integer
  14532. isshow:
  14533. description: 是否展示 - 0:不展示 1:展示
  14534. type: integer
  14535. istop:
  14536. description: 是否置顶 - 0:不置 1:置顶
  14537. type: integer
  14538. modifierid:
  14539. description: 操作人
  14540. type: integer
  14541. publishdate:
  14542. description: 发布日期
  14543. type: string
  14544. status:
  14545. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14546. type: integer
  14547. title:
  14548. description: 标题
  14549. type: string
  14550. updatedate:
  14551. description: 修改时间
  14552. type: string
  14553. userid:
  14554. description: 用户ID(默认为0, 核心为为机构用户ID)
  14555. type: integer
  14556. username:
  14557. description: 用户名称
  14558. type: string
  14559. type: object
  14560. models.QhjTeamOrder:
  14561. properties:
  14562. accountid:
  14563. description: 账户ID[报价币种]
  14564. type: integer
  14565. accountname:
  14566. description: 账户名称
  14567. type: string
  14568. agreeunit:
  14569. description: 合约乘数
  14570. type: number
  14571. buyorsell:
  14572. description: 方向 - 0:买 1:卖
  14573. type: integer
  14574. decimalplace:
  14575. description: 报价小数位
  14576. type: integer
  14577. enumdicname:
  14578. description: 单位名称
  14579. type: string
  14580. goodscode:
  14581. description: 商品代码(内部)
  14582. type: string
  14583. goodsid:
  14584. description: 商品ID
  14585. type: integer
  14586. goodsname:
  14587. description: 商品名称
  14588. type: string
  14589. goodunitid:
  14590. description: 报价单位ID
  14591. type: integer
  14592. marketid:
  14593. description: 市场ID
  14594. type: integer
  14595. marketname:
  14596. description: 市场名称
  14597. type: string
  14598. qtydecimalplace:
  14599. description: 成交量小数位
  14600. type: integer
  14601. refereeuserid:
  14602. description: 推荐人ID
  14603. type: integer
  14604. tradeamount:
  14605. description: 成交金额[账户币种,用于所有权]
  14606. type: number
  14607. tradedate:
  14608. description: 交易日(yyyyMMdd)
  14609. type: string
  14610. trademode:
  14611. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14612. 21:竞拍-大宗式 22:受托竞价
  14613. type: integer
  14614. tradeprice:
  14615. description: 成交价格
  14616. type: number
  14617. tradeqty:
  14618. description: 成交数量
  14619. type: number
  14620. tradetime:
  14621. description: 成交时间
  14622. type: string
  14623. userid:
  14624. description: 用户ID
  14625. type: integer
  14626. type: object
  14627. models.QhjTradeGoodsPickup:
  14628. properties:
  14629. accountid:
  14630. description: 账户ID
  14631. type: integer
  14632. address:
  14633. description: 提货人详细地址
  14634. type: string
  14635. amount:
  14636. description: 提货金额
  14637. type: number
  14638. artradedate:
  14639. description: 自动收货交易日(yyyyMMdd)
  14640. type: string
  14641. auditer:
  14642. description: 审核人
  14643. type: integer
  14644. auditsrc:
  14645. description: 更新来源 - 1:管理端 2:终端
  14646. type: integer
  14647. audittime:
  14648. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14649. type: string
  14650. audittradedate:
  14651. description: 审核交易日(yyyyMMdd)
  14652. type: string
  14653. cardnum:
  14654. description: 提货人证件号码
  14655. type: string
  14656. cardtypeid:
  14657. description: 提货人证件类型
  14658. type: integer
  14659. checkremark:
  14660. description: 审核备注
  14661. type: string
  14662. cityid:
  14663. description: 市
  14664. type: integer
  14665. cityname:
  14666. description: 城市名称
  14667. type: string
  14668. confirmtime:
  14669. description: 取货时间 或 收货时间
  14670. type: string
  14671. countryid:
  14672. description: 国家
  14673. type: integer
  14674. countryname:
  14675. description: 国家名称
  14676. type: string
  14677. decimalplace:
  14678. description: 商品报价小数位
  14679. type: integer
  14680. districtid:
  14681. description: 地区
  14682. type: integer
  14683. districtname:
  14684. description: 地区名称
  14685. type: string
  14686. enumdicname:
  14687. description: 单位名称(提货商品)
  14688. type: string
  14689. expresscompany:
  14690. description: 物流公司
  14691. type: string
  14692. expressnum:
  14693. description: 物流单号
  14694. type: string
  14695. goodsagreeunit:
  14696. description: 交易商品乘数
  14697. type: number
  14698. goodscode:
  14699. description: 商品代码
  14700. type: string
  14701. goodsid:
  14702. description: 商品ID
  14703. type: integer
  14704. goodsname:
  14705. description: 商品名称
  14706. type: string
  14707. goodsqty:
  14708. description: 交易商品手数(69模式按成交量小数位放大取整)
  14709. type: number
  14710. handlestatus:
  14711. description: 处理状态
  14712. type: integer
  14713. logincode:
  14714. description: 账号(登录代码, 有可能为空)
  14715. type: string
  14716. marketid:
  14717. description: 市场ID
  14718. type: integer
  14719. phonenum:
  14720. description: 提货人联系方式
  14721. type: string
  14722. pickupgoodsagreeunit:
  14723. description: 提货商品合约乘数
  14724. type: number
  14725. pickupgoodsid:
  14726. description: 提货商品ID
  14727. type: string
  14728. pickupgoodsname:
  14729. description: 提货商品名称
  14730. type: string
  14731. pickupgoodsqty:
  14732. description: 提货商品手数(数量)
  14733. type: number
  14734. pickupgoodsunitid:
  14735. description: 单位ID(提货商品)
  14736. type: integer
  14737. pickupratio:
  14738. description: 提货系数
  14739. type: number
  14740. preparedays:
  14741. description: 备货期(天)-提货单明细表
  14742. type: integer
  14743. provinceid:
  14744. description: 省
  14745. type: integer
  14746. provincename:
  14747. description: 省名称
  14748. type: string
  14749. qty:
  14750. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14751. type: number
  14752. qtydecimalplace:
  14753. description: 商品数量小数位
  14754. type: integer
  14755. recivername:
  14756. description: 提货人姓名
  14757. type: string
  14758. reqtime:
  14759. description: 提货申请时间
  14760. type: string
  14761. storeuserid:
  14762. description: 门店用户ID (千海金)
  14763. type: integer
  14764. storeusername:
  14765. description: 门店用户名称
  14766. type: string
  14767. takemode:
  14768. description: 提货方式 - 2:自提 3:配送(邮寄)
  14769. type: integer
  14770. takeorderid:
  14771. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14772. type: string
  14773. takeorderstatus:
  14774. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14775. 7:已拒绝 8:已撤销
  14776. type: integer
  14777. takeremark:
  14778. description: 提货备注
  14779. type: string
  14780. tradedate:
  14781. description: 交易日(yyyyMMdd)
  14782. type: string
  14783. updatetime:
  14784. description: 更新时间
  14785. type: string
  14786. userid:
  14787. description: 用户ID
  14788. type: integer
  14789. userinfotype:
  14790. description: 客户类型 1-个人 2-企业
  14791. type: integer
  14792. username:
  14793. description: 用户名称
  14794. type: string
  14795. type: object
  14796. models.QhjUserNodeCfgAndStatus:
  14797. properties:
  14798. agreementcontent:
  14799. description: 协议内容
  14800. type: string
  14801. agreementid:
  14802. description: 协议ID
  14803. type: integer
  14804. agreementname:
  14805. description: 协议名称
  14806. type: string
  14807. agreementno:
  14808. description: 协议编号
  14809. type: string
  14810. agreementtype:
  14811. description: 协议类型 - 1:注册 2:登录 3:交易
  14812. type: integer
  14813. agreementversion:
  14814. description: 协议版本号
  14815. type: integer
  14816. configid:
  14817. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14818. type: integer
  14819. createtime:
  14820. description: 创建时间
  14821. type: string
  14822. goodsid:
  14823. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14824. type: integer
  14825. nodetype:
  14826. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14827. type: integer
  14828. signtimestamp:
  14829. description: 签约状态时间戳(最近一次)
  14830. type: string
  14831. tradedate:
  14832. description: 签约交易日(yyyyMMdd)
  14833. type: string
  14834. userid:
  14835. description: 客户ID
  14836. type: integer
  14837. type: object
  14838. models.Qhjgoodsex:
  14839. properties:
  14840. canfinance:
  14841. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14842. type: integer
  14843. canregularlybuy:
  14844. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14845. type: integer
  14846. defaulttradeuserid:
  14847. description: 默认交易用户ID
  14848. type: integer
  14849. deliverygoodsid:
  14850. description: 现货品种ID
  14851. type: integer
  14852. goodsid:
  14853. description: 商品ID(自增ID SEQ_GOODS)
  14854. type: integer
  14855. minamount:
  14856. description: 最小购买金额
  14857. type: number
  14858. regularlybuyminamount:
  14859. description: 定投最小金额
  14860. type: number
  14861. regularlybuyminqty:
  14862. description: 定投最小数量
  14863. type: number
  14864. spotgoodsbrandid:
  14865. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14866. type: integer
  14867. visibilityforenterprise:
  14868. description: 企业客户是否可见 - 0:不可见 1:可见
  14869. type: integer
  14870. visibilityforpersonal:
  14871. description: 个人客户是否可见 - 0:不可见 1:可见
  14872. type: integer
  14873. wrstandardid:
  14874. description: 现货商品ID
  14875. type: integer
  14876. type: object
  14877. models.QueryErrorInfosRsp:
  14878. properties:
  14879. description:
  14880. description: 异常描述
  14881. type: string
  14882. errorcode:
  14883. description: 异常代码
  14884. type: string
  14885. errorid:
  14886. description: 异常ID
  14887. type: integer
  14888. modulecode:
  14889. description: 所属模块
  14890. type: string
  14891. operatecode:
  14892. description: 所属操作
  14893. type: string
  14894. rownumber:
  14895. description: 行号
  14896. type: string
  14897. required:
  14898. - errorid
  14899. type: object
  14900. models.QueryHedgeOrderDetailRsp:
  14901. properties:
  14902. accountid:
  14903. description: 账户ID
  14904. type: integer
  14905. buyorsell:
  14906. description: 买卖 - 0:买 1:卖
  14907. type: integer
  14908. cancellogincode:
  14909. description: 撤单人
  14910. type: string
  14911. channelbuildtype:
  14912. description: 开平标志 - 0:无 1:建仓 2:平仓
  14913. type: integer
  14914. channelinnerorderstatus:
  14915. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14916. 9:全部成交
  14917. type: integer
  14918. channeloperatetype:
  14919. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14920. type: integer
  14921. closetype:
  14922. description: 平仓方式 - 0:无 1:平今 2:平昨
  14923. type: integer
  14924. curexchangerate:
  14925. description: 当前汇率
  14926. type: number
  14927. decimalplace:
  14928. description: 商品报价小数位
  14929. type: integer
  14930. exchangefullname:
  14931. description: 外部交易所全称
  14932. type: string
  14933. goodscode:
  14934. description: 商品代码(内部)
  14935. type: string
  14936. goodsid:
  14937. description: 商品ID
  14938. type: integer
  14939. goodsname:
  14940. description: 商品名称
  14941. type: string
  14942. marketid:
  14943. description: 市场ID
  14944. type: integer
  14945. openfreezemargin:
  14946. description: 冻结保证金(冻结交易金额)
  14947. type: number
  14948. orderid:
  14949. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14950. type: string
  14951. orderlogincode:
  14952. description: 委托人
  14953. type: string
  14954. orderprice:
  14955. description: 委托价格(账户)
  14956. type: number
  14957. orderqty:
  14958. description: 委托数量
  14959. type: integer
  14960. ordertime:
  14961. description: 委托时间
  14962. type: string
  14963. pricemode:
  14964. description: '取价方式 - 1:市价 2: 限价'
  14965. type: integer
  14966. tradedate:
  14967. description: 交易日(yyyyMMdd)
  14968. type: string
  14969. tradeqty:
  14970. description: 成交数量
  14971. type: integer
  14972. type: object
  14973. models.QueryHedgeTradeDetailRsp:
  14974. properties:
  14975. accountid:
  14976. description: 账号ID
  14977. type: integer
  14978. buyorsell:
  14979. description: 方向 - 0:买 1:卖
  14980. type: integer
  14981. channelbuildtype:
  14982. description: 委托单据类型 0:无 1:建仓 2:平仓
  14983. type: integer
  14984. closecharge:
  14985. description: 平仓手续费(账户)
  14986. type: number
  14987. closecharge2:
  14988. description: 平仓手续费(商品)
  14989. type: number
  14990. closepl:
  14991. description: 平仓盈亏(账户)
  14992. type: number
  14993. closepl2:
  14994. description: 平仓盈亏(商品)
  14995. type: number
  14996. closepl3:
  14997. description: 平仓盈亏(账户)(逐笔)
  14998. type: number
  14999. closepl4:
  15000. description: 平仓盈亏(商品)(逐笔)
  15001. type: number
  15002. closetype:
  15003. description: 平仓方式 - 0:无 1:平今 2:平昨
  15004. type: integer
  15005. curexchangerate:
  15006. description: 当前汇率
  15007. type: number
  15008. decimalplace:
  15009. description: 商品报价小数位
  15010. type: integer
  15011. exchangefullname:
  15012. description: 外部交易所全称
  15013. type: string
  15014. goodscode:
  15015. description: 商品代码(内部)
  15016. type: string
  15017. goodsid:
  15018. description: 商品ID
  15019. type: integer
  15020. goodsname:
  15021. description: 商品名称
  15022. type: string
  15023. marketid:
  15024. description: 市场ID
  15025. type: integer
  15026. opencharge:
  15027. description: 建仓手续费(账户)
  15028. type: number
  15029. opencharge2:
  15030. description: 建仓手续费(商品)
  15031. type: number
  15032. orderid:
  15033. description: 委托单号
  15034. type: string
  15035. orderlogincode:
  15036. description: 委托人
  15037. type: string
  15038. tradeamount:
  15039. description: 成交金额(账户)
  15040. type: number
  15041. tradedate:
  15042. description: 交易日(yyyyMMdd)
  15043. type: string
  15044. tradeid:
  15045. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15046. type: string
  15047. tradeprice:
  15048. description: 成交价格
  15049. type: number
  15050. tradeqty:
  15051. description: 成交数量
  15052. type: integer
  15053. tradetime:
  15054. description: 成交时间
  15055. type: string
  15056. tradetype:
  15057. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15058. type: integer
  15059. type: object
  15060. models.QuotePrimaryMenu:
  15061. properties:
  15062. Index:
  15063. description: 序号
  15064. type: integer
  15065. Key:
  15066. description: 键名
  15067. type: string
  15068. Name:
  15069. description: 菜单名称
  15070. type: string
  15071. SubMenus:
  15072. description: 子菜单
  15073. items:
  15074. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15075. type: array
  15076. SubTitleType:
  15077. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15078. type: integer
  15079. TradeModes:
  15080. description: 包含市场交易类型
  15081. type: string
  15082. type: object
  15083. models.QuoteSecondaryMenu:
  15084. properties:
  15085. ExExchangeCode:
  15086. description: 外部交易所代码
  15087. type: string
  15088. ExExchangeID:
  15089. description: 外部交易所ID
  15090. type: integer
  15091. GoodsGroupIDs:
  15092. description: 商品组ID列表
  15093. items:
  15094. type: integer
  15095. type: array
  15096. Index:
  15097. description: 序号
  15098. type: integer
  15099. MarketID:
  15100. description: 市场ID
  15101. type: integer
  15102. MenuTitle:
  15103. description: 菜单标题(市场名称或外部交易所名称)
  15104. type: string
  15105. TradeMode:
  15106. description: 交易模式
  15107. type: integer
  15108. type: object
  15109. models.RelatedTaAccount:
  15110. properties:
  15111. accountid:
  15112. description: 资金账户ID
  15113. type: integer
  15114. type: object
  15115. models.RoleMenu:
  15116. properties:
  15117. hasright:
  15118. description: 是否有权限 0-没有权限 1-有权限
  15119. type: integer
  15120. iconame:
  15121. description: 菜单图标
  15122. type: string
  15123. menutype:
  15124. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15125. type: integer
  15126. parentcode:
  15127. description: 上级资源代码
  15128. type: string
  15129. remark:
  15130. description: 菜单备注
  15131. type: string
  15132. resourcecode:
  15133. description: 菜单代码
  15134. type: string
  15135. resourcelevel:
  15136. description: 级别
  15137. type: integer
  15138. resourcename:
  15139. description: 菜单名称
  15140. type: string
  15141. roleid:
  15142. description: 角色id
  15143. type: integer
  15144. sort:
  15145. description: 排序
  15146. type: integer
  15147. subMenu:
  15148. description: 子级菜单(结构同上层一样, swag解析不出来)
  15149. items:
  15150. $ref: '#/definitions/models.RoleMenu'
  15151. type: array
  15152. url:
  15153. description: URL
  15154. type: string
  15155. userid:
  15156. description: 用户id
  15157. type: integer
  15158. type: object
  15159. models.SearchGoods:
  15160. properties:
  15161. goodscode:
  15162. description: 商品代码(内部)
  15163. type: string
  15164. goodsid:
  15165. description: 商品ID(自增ID SEQ_GOODS)
  15166. type: integer
  15167. goodsname:
  15168. description: 商品名称
  15169. type: string
  15170. marketid:
  15171. description: 所属市场ID
  15172. type: integer
  15173. marketname:
  15174. description: 市场名称
  15175. type: string
  15176. trademode:
  15177. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15178. 21:竞拍-大宗式 22:受托竞价
  15179. type: integer
  15180. required:
  15181. - goodscode
  15182. - goodsid
  15183. - goodsname
  15184. - marketid
  15185. - trademode
  15186. type: object
  15187. models.SellOrder:
  15188. properties:
  15189. accountid:
  15190. description: 资金账号
  15191. type: integer
  15192. applyid:
  15193. description: 申请单ID
  15194. type: integer
  15195. attachment1:
  15196. description: 附件1
  15197. type: string
  15198. attachment2:
  15199. description: 附件2
  15200. type: string
  15201. buyorsell:
  15202. description: 买卖 - 0:买 1:卖
  15203. type: integer
  15204. canbargain:
  15205. description: 是否可议价 - 0:不可 1:可
  15206. type: integer
  15207. cancelqty:
  15208. description: 撤销数量
  15209. type: integer
  15210. canceltime:
  15211. description: 撤销时间
  15212. type: string
  15213. cerno:
  15214. type: string
  15215. chargealgorithm:
  15216. description: 手续费收取方式 1:比率 2:固定
  15217. type: integer
  15218. chargealgorithmvalue:
  15219. description: 手续费设置值(交易所部分)
  15220. type: number
  15221. chargealgorithmvalue2:
  15222. description: 手续费设置值(会员部分)
  15223. type: number
  15224. clientordertime:
  15225. description: 客户端委托时间
  15226. type: string
  15227. cpcertno:
  15228. type: string
  15229. exchangerate:
  15230. description: 汇率[67]
  15231. type: number
  15232. firstratio:
  15233. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15234. type: number
  15235. fixedprice:
  15236. description: '[克拉单价]固定价格 - [挂牌]'
  15237. type: number
  15238. freezecharge:
  15239. description: 冻结手续费
  15240. type: number
  15241. freezefirstamount:
  15242. description: 冻结首付金额 - [摘牌]
  15243. type: number
  15244. freezemargin:
  15245. description: 冻结保证金
  15246. type: number
  15247. goodsno:
  15248. description: 商品编号
  15249. type: string
  15250. imagepath:
  15251. type: string
  15252. isQueryDiamond:
  15253. description: 是否钻石查询
  15254. type: boolean
  15255. isspecified:
  15256. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15257. type: integer
  15258. kppath:
  15259. type: string
  15260. kpweight:
  15261. type: string
  15262. marginalgorithm:
  15263. description: 保证金方式 - 1:比率 2:固定
  15264. type: integer
  15265. marginvalue:
  15266. description: 保证金设置值
  15267. type: number
  15268. marketid:
  15269. description: 市场ID
  15270. type: integer
  15271. marketprice:
  15272. type: string
  15273. orderamount:
  15274. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15275. type: number
  15276. ordertime:
  15277. description: 委托时间
  15278. type: string
  15279. performancetemplateid:
  15280. description: 履约计划模板ID
  15281. type: integer
  15282. price:
  15283. description: 价格
  15284. type: number
  15285. pricefactor:
  15286. description: 价格系数(浮动价时填写) - [挂牌]
  15287. type: number
  15288. pricemove:
  15289. description: 升贴水(浮动价时填写) - [挂牌]
  15290. type: number
  15291. priceper:
  15292. type: string
  15293. relatedwrtradeorderid:
  15294. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15295. type: integer
  15296. remainqty:
  15297. description: 剩余重量
  15298. type: number
  15299. remark:
  15300. type: string
  15301. retcode:
  15302. description: 错误代码
  15303. type: integer
  15304. sellusername:
  15305. description: 卖方(查询字段-模糊查询)
  15306. type: string
  15307. settingmaterial:
  15308. type: string
  15309. size1:
  15310. type: string
  15311. size2:
  15312. type: string
  15313. size3:
  15314. type: string
  15315. sizedisplay:
  15316. description: 尺寸
  15317. type: string
  15318. stonedesc:
  15319. type: string
  15320. totalqty:
  15321. description: 总重量
  15322. type: number
  15323. tradedate:
  15324. description: 交易日(yyyyMMdd)
  15325. type: string
  15326. tradeprice:
  15327. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15328. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15329. type: number
  15330. unfreezecharge:
  15331. description: 解冻手续费
  15332. type: number
  15333. unfreezefirstamount:
  15334. description: 解冻首付金额 - [摘牌]
  15335. type: number
  15336. unfreezemargin:
  15337. description: 解冻保证金
  15338. type: number
  15339. userid:
  15340. description: 用户ID
  15341. type: integer
  15342. uuid:
  15343. description: 发起端唯一id
  15344. type: string
  15345. validtime:
  15346. description: 有效期限
  15347. type: string
  15348. validtype:
  15349. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15350. type: integer
  15351. warehousenamedisplay:
  15352. type: string
  15353. wrbargainid:
  15354. description: 议价申请单ID
  15355. type: integer
  15356. wrfactortypeid:
  15357. description: 仓单要素类型ID/商品ID(77)
  15358. type: integer
  15359. wrpath:
  15360. type: string
  15361. wrpricetype:
  15362. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15363. type: integer
  15364. wrstandardid:
  15365. description: 现货商品ID
  15366. type: integer
  15367. wrtradeorderid:
  15368. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15369. type: string
  15370. wrtradeorderstatus:
  15371. 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:撤单解冻贷款失败
  15372. type: integer
  15373. wrtradetype:
  15374. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15375. type: integer
  15376. wrtransferuserid:
  15377. description: 仓单受让用户 - [摘牌]
  15378. type: integer
  15379. zscategory:
  15380. description: 钻石分类 - 枚举”ZSCategory“
  15381. type: integer
  15382. zscategorydisplay:
  15383. description: 钻石分类 - 描述
  15384. type: string
  15385. zscerttypedisplay:
  15386. type: string
  15387. zsclaritytype1display:
  15388. type: string
  15389. zsclaritytype2display:
  15390. type: string
  15391. zscolortype1display:
  15392. type: string
  15393. zscolortype2display:
  15394. type: string
  15395. zscrystaltype:
  15396. type: string
  15397. zscrystaltypedisplay:
  15398. type: string
  15399. zscurrencytype:
  15400. description: 货币类型 - 枚举“ZSCurrencyType”
  15401. type: integer
  15402. zscurrencytypedisplay:
  15403. type: string
  15404. zscurrencytypedisplayunit:
  15405. type: string
  15406. zscuttype1display:
  15407. type: string
  15408. zscuttype2display:
  15409. type: string
  15410. zsczcolor1typedisplay:
  15411. type: string
  15412. zsczcolor2typedisplay:
  15413. type: string
  15414. zsczcolor3typedisplay:
  15415. type: string
  15416. zsfluorescencetype1display:
  15417. type: string
  15418. zsfluorescencetype2display:
  15419. type: string
  15420. zspolishtype1display:
  15421. type: string
  15422. zspolishtype2display:
  15423. type: string
  15424. zsshapetypedisplay:
  15425. type: string
  15426. zsstyletypedisplay:
  15427. type: string
  15428. zssymmetrytype1display:
  15429. type: string
  15430. zssymmetrytype2display:
  15431. type: string
  15432. type: object
  15433. models.SellOrderQueryReq:
  15434. properties:
  15435. origin:
  15436. description: 原产地
  15437. type: string
  15438. page:
  15439. description: 页码
  15440. type: integer
  15441. pagesize:
  15442. description: 每页大小
  15443. type: integer
  15444. total:
  15445. description: 总条数
  15446. type: integer
  15447. warehouseid:
  15448. description: 仓库ID
  15449. type: integer
  15450. weight1:
  15451. description: 总重量(克拉重量)-从
  15452. type: number
  15453. weight2:
  15454. description: 总重量(克拉重量)-至
  15455. type: number
  15456. weightavg1:
  15457. description: 平均单颗重量-从
  15458. type: number
  15459. weightavg2:
  15460. description: 平均单颗重量-至
  15461. type: number
  15462. zscategory:
  15463. description: 钻石分类 - 枚举”ZSCategory“
  15464. type: integer
  15465. zscerttype:
  15466. description: 证书类型
  15467. items:
  15468. type: string
  15469. type: array
  15470. zsclaritytype:
  15471. description: 净度
  15472. items:
  15473. type: integer
  15474. type: array
  15475. zscolortype:
  15476. description: 颜色
  15477. items:
  15478. type: integer
  15479. type: array
  15480. zscurrencytype:
  15481. description: 货币类型 - 枚举“ZSCurrencyType”
  15482. items:
  15483. type: string
  15484. type: array
  15485. zscuttype:
  15486. description: 切工
  15487. items:
  15488. type: integer
  15489. type: array
  15490. zsczcolor1type:
  15491. description: 彩钻颜色1
  15492. items:
  15493. type: string
  15494. type: array
  15495. zsfluorescencetype:
  15496. description: 荧光
  15497. items:
  15498. type: integer
  15499. type: array
  15500. zspolishtype:
  15501. description: 抛光度
  15502. items:
  15503. type: integer
  15504. type: array
  15505. zsshapetype:
  15506. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15507. items:
  15508. type: string
  15509. type: array
  15510. zsstyletype:
  15511. description: 款式
  15512. items:
  15513. type: string
  15514. type: array
  15515. zssymmetrytype:
  15516. description: 对称度
  15517. items:
  15518. type: integer
  15519. type: array
  15520. required:
  15521. - zscategory
  15522. type: object
  15523. models.Systemparam:
  15524. properties:
  15525. loginid:
  15526. description: 更新用户账号,登录账号
  15527. type: string
  15528. modifyflag:
  15529. description: 修改标志0 不允许修改 1 允许修改
  15530. type: integer
  15531. paramcode:
  15532. description: 参数代码
  15533. type: string
  15534. paramname:
  15535. description: 参数名
  15536. type: string
  15537. paramtype:
  15538. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15539. type: integer
  15540. paramvalue:
  15541. description: 参数值
  15542. type: string
  15543. paramvalue2:
  15544. description: 参数值(CLOB)
  15545. type: string
  15546. regexpress:
  15547. description: 正则表达式
  15548. type: string
  15549. remark:
  15550. description: 备注
  15551. type: string
  15552. serverip:
  15553. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15554. type: string
  15555. showflag:
  15556. description: 是否显示0 不显示 1 显示
  15557. type: integer
  15558. updatetime:
  15559. description: 更新时间
  15560. type: string
  15561. userid:
  15562. description: 更新用户ID
  15563. type: integer
  15564. required:
  15565. - paramcode
  15566. type: object
  15567. models.Szdz3convertconfig:
  15568. properties:
  15569. canin:
  15570. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15571. type: integer
  15572. canout:
  15573. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15574. type: integer
  15575. converttype:
  15576. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15577. 6:交易转花生米(不设置)
  15578. type: integer
  15579. createtime:
  15580. description: 创建时间
  15581. type: string
  15582. creatorid:
  15583. description: 创建人
  15584. type: integer
  15585. daymaxvalue:
  15586. description: 当日最大转入限制
  15587. type: number
  15588. freezedays:
  15589. description: 冻结天数 [5:花生米转交易]
  15590. type: integer
  15591. innergoodsid:
  15592. description: 内部商品ID[交易]
  15593. type: integer
  15594. inratio:
  15595. description: 目标值
  15596. type: integer
  15597. modifierid:
  15598. description: 修改人
  15599. type: integer
  15600. modifytime:
  15601. description: 修改时间
  15602. type: string
  15603. outergoodscode:
  15604. description: 外部商品代码[JD\PD]
  15605. type: string
  15606. outratio:
  15607. description: 源值
  15608. type: integer
  15609. pddecimalplace:
  15610. description: PD小数位
  15611. type: integer
  15612. timemaxvalue:
  15613. description: 单次最大转入限制
  15614. type: number
  15615. timeminvalue:
  15616. description: 单次最小转入限制
  15617. type: number
  15618. required:
  15619. - converttype
  15620. - innergoodsid
  15621. - outergoodscode
  15622. type: object
  15623. models.Szdz3searchwhitelist:
  15624. properties:
  15625. createtime:
  15626. description: 创建时间
  15627. type: string
  15628. creatorid:
  15629. description: 创建人
  15630. type: integer
  15631. modifierid:
  15632. description: 修改人
  15633. type: integer
  15634. modifytime:
  15635. description: 修改时间
  15636. type: string
  15637. userid:
  15638. description: 用户ID
  15639. type: integer
  15640. required:
  15641. - userid
  15642. type: object
  15643. models.TBGoods:
  15644. properties:
  15645. agreeunit:
  15646. description: 合约乘数
  15647. type: number
  15648. enumdicname:
  15649. description: 单位名称
  15650. type: string
  15651. goodscode:
  15652. description: 商品代码(内部)
  15653. type: string
  15654. goodsid:
  15655. description: 商品ID(自增ID SEQ_GOODS)
  15656. type: integer
  15657. goodsname:
  15658. description: 商品名称
  15659. type: string
  15660. type: object
  15661. models.TBGoodsGroup:
  15662. properties:
  15663. GDLST:
  15664. description: 商品列表
  15665. items:
  15666. $ref: '#/definitions/models.TBGoods'
  15667. type: array
  15668. convertratio:
  15669. description: 折算系数
  15670. type: number
  15671. enumdicname:
  15672. description: 单位名称
  15673. type: string
  15674. exexchangecode:
  15675. description: 交易所代码
  15676. type: string
  15677. exexchangename:
  15678. description: 交易所名称
  15679. type: string
  15680. goodsgroupid:
  15681. description: 商品组ID(自增ID)
  15682. type: integer
  15683. goodsgroupname:
  15684. description: 商品组名称
  15685. type: string
  15686. goodunitid:
  15687. description: 报价单位ID
  15688. type: integer
  15689. type: object
  15690. models.TBMiddleGoods:
  15691. properties:
  15692. GPLST:
  15693. description: 期货品种列表
  15694. items:
  15695. $ref: '#/definitions/models.TBGoodsGroup'
  15696. type: array
  15697. WDLST:
  15698. description: 商品信息列表(现货品类)
  15699. items:
  15700. $ref: '#/definitions/models.TBWrstandard'
  15701. type: array
  15702. areauserid:
  15703. description: 机构用户ID
  15704. type: integer
  15705. enumdicname:
  15706. description: 单位名称
  15707. type: string
  15708. goodsunitid:
  15709. description: 套保品种单位id
  15710. type: integer
  15711. middlegoodscode:
  15712. description: 套保品种代码
  15713. type: string
  15714. middlegoodsid:
  15715. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15716. type: integer
  15717. middlegoodsname:
  15718. description: 套保品种名称
  15719. type: string
  15720. needarbitrageratio:
  15721. description: 套利比率
  15722. type: number
  15723. needhedgeratio:
  15724. description: 套保比率
  15725. type: number
  15726. type: object
  15727. models.TBWrstandard:
  15728. properties:
  15729. convertratio:
  15730. description: 折算系数
  15731. type: number
  15732. deliverygoodsname:
  15733. description: 品种名称
  15734. type: string
  15735. enumdicname:
  15736. description: 单位名称
  15737. type: string
  15738. vatrate:
  15739. description: 增值税率
  15740. type: number
  15741. wrstandardcode:
  15742. description: 现货商品代码
  15743. type: string
  15744. wrstandardid:
  15745. description: 现货商品ID(SEQ_WRSTANDARD)
  15746. type: integer
  15747. wrstandardname:
  15748. description: 现货商品名称
  15749. type: string
  15750. type: object
  15751. models.Taaccount:
  15752. properties:
  15753. accountflag:
  15754. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15755. type: integer
  15756. accountid:
  15757. description: 资金账户ID
  15758. type: integer
  15759. accountname:
  15760. description: 账户名称
  15761. type: string
  15762. balance:
  15763. description: 期初余额
  15764. type: number
  15765. capitalbalance:
  15766. description: 本金余额[外部子账户实际出入金余额]
  15767. type: number
  15768. changeflag:
  15769. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15770. type: integer
  15771. changetime:
  15772. description: 账户状态变更时间
  15773. type: string
  15774. closepl:
  15775. description: 今日平仓盈亏
  15776. type: number
  15777. creditdecrease:
  15778. description: 今日授信减少
  15779. type: number
  15780. creditincrease:
  15781. description: 今日授信增加
  15782. type: number
  15783. curamount:
  15784. description: 总市值(从持仓中统计)
  15785. type: number
  15786. currencyid:
  15787. description: 货币ID
  15788. type: integer
  15789. currentbalance:
  15790. description: 期末余额
  15791. type: number
  15792. freezecharge:
  15793. description: 手续费冻结
  15794. type: number
  15795. freezemargin:
  15796. description: 冻结保证金
  15797. type: number
  15798. fromaccountid:
  15799. description: 所属上级账户
  15800. type: integer
  15801. inamount:
  15802. description: 今日入金金额(包括三方入金)
  15803. type: number
  15804. ismain:
  15805. description: 是否母账号 0:不是母账户 1:是母账户
  15806. type: integer
  15807. ismarketaccount:
  15808. description: 是否机构接单账号 0:不是 1:是
  15809. type: integer
  15810. isreckonaccount:
  15811. description: 是否机构分润账号 0:不是 1:是
  15812. type: integer
  15813. mortgagecredit:
  15814. description: 授信金额
  15815. type: number
  15816. orifreezecharge:
  15817. description: 期初手续费冻结
  15818. type: number
  15819. orifreezemargin:
  15820. description: 期初冻结保证金
  15821. type: number
  15822. orimortgagecredit:
  15823. description: 期初授信金额
  15824. type: number
  15825. oriothercredit:
  15826. description: 期初其它授信金额
  15827. type: number
  15828. oriotherfreezemargin:
  15829. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15830. type: number
  15831. orioutamountfreeze:
  15832. description: 期初出金冻结
  15833. type: number
  15834. oriusedmargin:
  15835. description: 期初占用保证金
  15836. type: number
  15837. othercredit:
  15838. description: 其它授信金额
  15839. type: number
  15840. othercreditdecrease:
  15841. description: 今日其它授信减少
  15842. type: number
  15843. othercreditincrease:
  15844. description: 今日其它授信增加
  15845. type: number
  15846. otherfreezemargin:
  15847. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15848. type: number
  15849. otherincome:
  15850. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15851. type: number
  15852. otherpay:
  15853. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15854. type: number
  15855. outamount:
  15856. description: 今日出金金额(包括三方出金)
  15857. type: number
  15858. outamountfreeze:
  15859. description: 出金冻结
  15860. type: number
  15861. outthreshold:
  15862. description: 出金阈值
  15863. type: number
  15864. parentaccountid:
  15865. description: 所属根账号
  15866. type: integer
  15867. paycharge:
  15868. description: 今日手续费支出
  15869. type: number
  15870. relatedaccountstatus:
  15871. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15872. type: integer
  15873. relateduserid:
  15874. description: 关联用户
  15875. type: integer
  15876. remainamount:
  15877. description: 融资额(从融资合同中统计)
  15878. type: number
  15879. serivcegroup:
  15880. description: 服务分组
  15881. type: integer
  15882. signstatus:
  15883. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15884. type: integer
  15885. sublevelpath:
  15886. description: 账号层级路径(逗号分隔,首尾加逗号)
  15887. type: string
  15888. taaccounttype:
  15889. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15890. type: integer
  15891. thirdinamount:
  15892. description: 今日三方入金
  15893. type: number
  15894. thirdoutamount:
  15895. description: 今日三方出金
  15896. type: number
  15897. tradestatus:
  15898. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15899. type: integer
  15900. tradestatuschangetime:
  15901. description: 激活时间
  15902. type: string
  15903. transferamount:
  15904. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15905. type: number
  15906. usedmargin:
  15907. description: 占用保证金
  15908. type: number
  15909. userid:
  15910. description: 用户ID
  15911. type: integer
  15912. required:
  15913. - accountid
  15914. - userid
  15915. type: object
  15916. models.Tablecolumnconfig:
  15917. properties:
  15918. aligntype:
  15919. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15920. type: integer
  15921. autoid:
  15922. description: AutoID
  15923. type: integer
  15924. columnfield:
  15925. description: 列字段
  15926. type: string
  15927. columntitle:
  15928. description: 列Title
  15929. type: string
  15930. columnwidth:
  15931. description: 列宽
  15932. type: string
  15933. fixed:
  15934. description: 固定类型 - 空 | left | right
  15935. type: string
  15936. formatterstring:
  15937. description: 格式化字符
  15938. type: string
  15939. formattertype:
  15940. description: 格式化类型
  15941. type: string
  15942. groupname:
  15943. description: 表头分组名称
  15944. type: string
  15945. ismerge:
  15946. description: 是否合并显示 - 0:不合并 1:合并
  15947. type: integer
  15948. isshow:
  15949. description: 是否显示 - 0:不显示 1:显示
  15950. type: integer
  15951. needsummary:
  15952. description: 是否需要汇总 - 0:不需要 1:需要
  15953. type: integer
  15954. orderindex:
  15955. description: 顺序
  15956. type: integer
  15957. remark:
  15958. description: 备注
  15959. type: string
  15960. summarytype:
  15961. description: 汇总类型 - 1:加总 2:最后一个
  15962. type: integer
  15963. tablekey:
  15964. description: 列表Key
  15965. type: string
  15966. required:
  15967. - autoid
  15968. type: object
  15969. models.TjmdHolderDetailTradeInfo:
  15970. properties:
  15971. agreeunit:
  15972. description: 合约乘数
  15973. type: number
  15974. buyaccountid:
  15975. description: 买方账户
  15976. type: string
  15977. buyusername:
  15978. description: 买方
  15979. type: string
  15980. delistingdate:
  15981. description: 最后结算日
  15982. type: string
  15983. expiredate:
  15984. description: 到期结算价定价日
  15985. type: string
  15986. exprieprice:
  15987. description: 到期清算价格
  15988. type: string
  15989. goodscode:
  15990. description: 商品代码
  15991. type: string
  15992. goodsid:
  15993. description: 商品ID
  15994. type: integer
  15995. goodsname:
  15996. description: 商品名称(交易标的)
  15997. type: string
  15998. lasttradedate:
  15999. description: 最后交易日
  16000. type: string
  16001. listingdate:
  16002. description: 开始交易日
  16003. type: string
  16004. openprice:
  16005. description: 成交价
  16006. type: number
  16007. openqty:
  16008. description: 交易数量
  16009. type: integer
  16010. sellaccountid:
  16011. description: 卖方账户
  16012. type: string
  16013. sellusername:
  16014. description: 卖方
  16015. type: string
  16016. tradeamount:
  16017. description: 初始名义价值
  16018. type: number
  16019. tradedate:
  16020. description: 成交日期
  16021. type: string
  16022. tradeid:
  16023. description: 成交编号
  16024. type: string
  16025. type: object
  16026. models.TjmdMarketSection:
  16027. properties:
  16028. marketsectionid:
  16029. description: 市场版块ID(SEQ_MARKETSECTION)
  16030. type: integer
  16031. marketsectionname:
  16032. description: 市场版块名称
  16033. type: string
  16034. mlist:
  16035. description: 市场列表(板块下面有多少个市场)
  16036. items:
  16037. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16038. type: array
  16039. orderindex:
  16040. description: 排序
  16041. type: integer
  16042. pictureurl:
  16043. description: 图片url, 规格(90*90)
  16044. type: string
  16045. remark:
  16046. description: 备注
  16047. type: string
  16048. type: object
  16049. models.TjmdMarketSectionConfig:
  16050. properties:
  16051. auctionwrtype:
  16052. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16053. type: integer
  16054. canacceptquote:
  16055. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16056. type: integer
  16057. cangoodsexercise:
  16058. description: '[期权]是否可现货行权- 0:否 1:是'
  16059. type: integer
  16060. cangoodsexercisetype:
  16061. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16062. type: integer
  16063. canmanualquotestrike:
  16064. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16065. type: integer
  16066. canmutistage:
  16067. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16068. type: integer
  16069. canpreexercise:
  16070. description: '[期权]是否可预申报- 0:否 1:是'
  16071. type: integer
  16072. clearinterval:
  16073. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16074. type: integer
  16075. contracttmp:
  16076. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16077. type: string
  16078. exchareaid:
  16079. description: 所属交易所,可以没有
  16080. type: integer
  16081. financemarketid:
  16082. description: 融资回购市场ID [仓单贸易]
  16083. type: integer
  16084. goodstype:
  16085. description: 商品类型 - 1:交易商品 2:仓单商品
  16086. type: integer
  16087. hasrebate:
  16088. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16089. type: integer
  16090. hastradecredit:
  16091. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16092. type: integer
  16093. haswr:
  16094. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16095. type: integer
  16096. isdeductmargin:
  16097. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16098. type: integer
  16099. isrecordsource:
  16100. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16101. type: integer
  16102. isreleasemargin:
  16103. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16104. type: integer
  16105. isupdatereckonprice:
  16106. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16107. type: integer
  16108. listingmode:
  16109. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16110. type: integer
  16111. marginformula:
  16112. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16113. type: integer
  16114. marginformula2:
  16115. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16116. type: integer
  16117. marketid:
  16118. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16119. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16120. type: integer
  16121. marketname:
  16122. description: 市场名称
  16123. type: string
  16124. marketsectionid:
  16125. description: 市场版块ID(SEQ_MARKETSECTION)
  16126. type: integer
  16127. marketserviceid:
  16128. description: 市场服务ID
  16129. type: integer
  16130. marketstatus:
  16131. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16132. type: integer
  16133. markettype:
  16134. description: 市场类型- 1:非交易服务 2:交易服务
  16135. type: integer
  16136. matchermode:
  16137. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16138. type: integer
  16139. nowrquotaflag:
  16140. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16141. type: integer
  16142. openmethod:
  16143. description: 开盘模式 - 0 自动 1手动
  16144. type: integer
  16145. orderindex:
  16146. description: 排序
  16147. type: integer
  16148. otcuserid:
  16149. description: 场外期权做市商[场外期权]
  16150. type: integer
  16151. outersynctime:
  16152. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16153. type: string
  16154. paylaterflag:
  16155. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16156. type: integer
  16157. pendingflag:
  16158. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16159. type: integer
  16160. pendingtime:
  16161. description: 待开市时间[通道交易-对冲](HH:mm)
  16162. type: string
  16163. performancetempid:
  16164. description: 履约计划模板ID - 作废
  16165. type: integer
  16166. premiumquotemode:
  16167. description: 权利金报价方式 - 1:自动 2:手动
  16168. type: integer
  16169. rebateratio:
  16170. description: 返利比率[竞价式]
  16171. type: number
  16172. reckonorder:
  16173. description: 结算顺序
  16174. type: integer
  16175. reckonpricealgorithm:
  16176. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16177. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16178. type: integer
  16179. reckonpriceparam:
  16180. description: 结算价参数
  16181. type: integer
  16182. reckontime:
  16183. description: 结算时间[通道交易-对冲](HH:mm)
  16184. type: string
  16185. roleprioritytype:
  16186. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16187. type: integer
  16188. selllistingauditflag:
  16189. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16190. type: integer
  16191. trademarkettype:
  16192. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16193. type: integer
  16194. trademode:
  16195. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16196. 21:竞拍-大宗式 22:受托竞价
  16197. type: integer
  16198. tradeproperty:
  16199. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16200. 8:场外期权
  16201. type: integer
  16202. tradetype:
  16203. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16204. type: integer
  16205. updatereckonpriceinterval:
  16206. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16207. type: integer
  16208. type: object
  16209. models.TjmdQuoteGoods:
  16210. properties:
  16211. buyqty:
  16212. description: 买量(暂不做, 无值, 保留字段)
  16213. type: number
  16214. decimalplace:
  16215. description: 报价小数位
  16216. type: integer
  16217. goodscode:
  16218. description: 合约代码
  16219. type: string
  16220. goodsgroupid:
  16221. description: 商品组ID(自增ID)
  16222. type: integer
  16223. goodsgroupname:
  16224. description: 商品组名称
  16225. type: string
  16226. goodsid:
  16227. description: 合约id
  16228. type: integer
  16229. goodsname:
  16230. description: 合约名称
  16231. type: string
  16232. refgoodscode:
  16233. description: 标的合约代码
  16234. type: string
  16235. refgoodsid:
  16236. description: 标的合约id
  16237. type: integer
  16238. refgoodsname:
  16239. description: 标的合约名称
  16240. type: string
  16241. sellqty:
  16242. description: 卖量(暂不做, 无值, 保留字段)
  16243. type: number
  16244. type: object
  16245. models.TjmdTodayAccountMargin:
  16246. properties:
  16247. accountid:
  16248. description: 账号ID
  16249. type: integer
  16250. goodsid:
  16251. description: 商品ID
  16252. type: integer
  16253. infoc:
  16254. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16255. description: 配置参数
  16256. marketid:
  16257. description: 市场ID
  16258. type: integer
  16259. type: object
  16260. models.TjmdTradeOrderDetail:
  16261. properties:
  16262. buyorsell:
  16263. description: 买卖方向 0-买 1-卖
  16264. type: integer
  16265. goodsid:
  16266. description: 商品id
  16267. type: integer
  16268. marketmaxsub:
  16269. description: 市价最大偏移范围 [浮动价 - 点差]
  16270. type: number
  16271. orderid:
  16272. description: 委托单号
  16273. type: string
  16274. orderprice:
  16275. description: 期初均价
  16276. type: number
  16277. orderqty:
  16278. description: 委托数量
  16279. type: integer
  16280. pricemode:
  16281. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16282. type: integer
  16283. userid:
  16284. description: 用户id
  16285. type: integer
  16286. username:
  16287. description: 用户名称(已脱敏)
  16288. type: string
  16289. type: object
  16290. models.TjmdTransferApply:
  16291. properties:
  16292. applyid:
  16293. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16294. type: integer
  16295. applystatus:
  16296. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16297. type: integer
  16298. applytime:
  16299. description: 申请时间(时间)
  16300. type: string
  16301. auditremark:
  16302. description: 审核备注(拒绝原因?)
  16303. type: string
  16304. begindate:
  16305. description: 开始交易日(yyyymmdd)
  16306. type: string
  16307. buyorsell:
  16308. description: 买卖 - 0:买 1:卖
  16309. type: integer
  16310. enddate:
  16311. description: 结束交易日(yyyymmdd)
  16312. type: string
  16313. goodscode:
  16314. description: 商品代码
  16315. type: string
  16316. goodsid:
  16317. description: 商品ID
  16318. type: integer
  16319. goodsname:
  16320. description: 商品名称
  16321. type: string
  16322. marketid:
  16323. description: 市场ID
  16324. type: integer
  16325. qty:
  16326. description: 期初均价
  16327. type: number
  16328. tradeid:
  16329. description: 成交单号(关联持仓)
  16330. type: string
  16331. transferamount:
  16332. description: 转让总金额(金额)
  16333. type: number
  16334. transferprice:
  16335. description: 转让价格(协议价格)
  16336. type: number
  16337. type: object
  16338. models.TradeHolderDetail:
  16339. properties:
  16340. accountid:
  16341. description: 账号ID
  16342. type: integer
  16343. agreeunit:
  16344. description: 合约乘数
  16345. type: number
  16346. buyorsell:
  16347. description: 方向 - 0:买 1:卖
  16348. type: integer
  16349. currencyid:
  16350. description: 商品币种id
  16351. type: integer
  16352. currencyname:
  16353. description: 币种名称
  16354. type: string
  16355. decimalplace:
  16356. description: 商品价格小数位
  16357. type: integer
  16358. enumdicname:
  16359. description: 商品单位名称
  16360. type: string
  16361. expirecycle:
  16362. description: 行权周期(天) - 1:滚动行权时填写
  16363. type: integer
  16364. expiredate:
  16365. description: 行权日(yyyyMMdd) - 到期日
  16366. type: string
  16367. expiretype:
  16368. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16369. type: integer
  16370. freezeqty:
  16371. description: 期初均价
  16372. type: number
  16373. goodscode:
  16374. description: 商品代码
  16375. type: string
  16376. goodsid:
  16377. description: 商品ID
  16378. type: integer
  16379. goodsname:
  16380. description: 商品名称
  16381. type: string
  16382. goodunitid:
  16383. description: 商品单位id
  16384. type: integer
  16385. holderamount:
  16386. description: 持仓金额
  16387. type: number
  16388. holdercredit:
  16389. description: 持仓授信金额
  16390. type: number
  16391. holderdays:
  16392. description: 剩余冻结天数
  16393. type: integer
  16394. holderprice:
  16395. description: 持仓价格
  16396. type: number
  16397. holderqty:
  16398. description: 期初均价
  16399. type: number
  16400. isconfirmexercise:
  16401. description: 是否确认行权- 0:否 1:是
  16402. type: integer
  16403. ispreexercise:
  16404. description: 是否预申报- 0:否 1:是 2:不可行权
  16405. type: integer
  16406. marketid:
  16407. description: 市场id
  16408. type: integer
  16409. marketname:
  16410. description: 市场名称
  16411. type: string
  16412. openprice:
  16413. description: 建仓价格
  16414. type: number
  16415. openqty:
  16416. description: 期初均价
  16417. type: number
  16418. optiontype:
  16419. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16420. type: integer
  16421. preexerciseprice:
  16422. description: 预申报价格
  16423. type: number
  16424. premium:
  16425. description: 权利金
  16426. type: number
  16427. qtydecimalplace:
  16428. description: 商品成交量小数位
  16429. type: integer
  16430. refgoodscode:
  16431. description: 标的合约代码
  16432. type: string
  16433. refgoodsid:
  16434. description: 标的合约id
  16435. type: integer
  16436. releaseamount:
  16437. description: 释放持仓金额
  16438. type: number
  16439. releaseholdercredit:
  16440. description: 释放持仓授信金额
  16441. type: number
  16442. taname:
  16443. description: 资金账号名称
  16444. type: string
  16445. tradeamount:
  16446. description: 成交金额
  16447. type: number
  16448. tradedate:
  16449. description: 交易日(yyyyMMdd)
  16450. type: string
  16451. tradeid:
  16452. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16453. type: string
  16454. trademode:
  16455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16456. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16457. type: integer
  16458. tradeproperty:
  16459. description: 交易属性
  16460. type: integer
  16461. tradetime:
  16462. description: 交易时间
  16463. type: string
  16464. userid:
  16465. description: 用户id
  16466. type: integer
  16467. username:
  16468. description: 用户名称
  16469. type: string
  16470. type: object
  16471. models.Unlinkermcphedgeplan:
  16472. properties:
  16473. accountid:
  16474. description: 期货账户ID - 作废
  16475. type: integer
  16476. accountname:
  16477. description: 交易用户
  16478. type: string
  16479. applyid:
  16480. description: 申请人
  16481. type: integer
  16482. applysrc:
  16483. description: 申请来源 - 1:管理端 2:终端
  16484. type: integer
  16485. applytime:
  16486. description: 申请时间
  16487. type: string
  16488. areauserid:
  16489. description: '[企业ID]机构ID'
  16490. type: integer
  16491. auditid:
  16492. description: 审核人
  16493. type: integer
  16494. auditremark:
  16495. description: 审核备注
  16496. type: string
  16497. auditsrc:
  16498. description: 审核来源 - 1:管理端 2:终端
  16499. type: integer
  16500. audittime:
  16501. description: 审核时间
  16502. type: string
  16503. audittradedate:
  16504. description: 审核交易日(yyyyMMdd)
  16505. type: string
  16506. biztype:
  16507. description: 业务类型 - 1:套保
  16508. type: integer
  16509. contracttype:
  16510. description: 计划类型 - 1:采购 -1:销售
  16511. type: integer
  16512. convertfactor:
  16513. description: 标仓系数 - 作废
  16514. type: number
  16515. createtime:
  16516. description: 创建时间
  16517. type: string
  16518. currencyid:
  16519. description: 结算币种ID - 作废
  16520. type: integer
  16521. deliverygoodsid:
  16522. description: 现货品种ID
  16523. type: integer
  16524. enumdicname:
  16525. description: 结算币种
  16526. type: string
  16527. hedgeplanid:
  16528. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16529. type: string
  16530. hedgeplanno:
  16531. description: '[计划编号]套保计划编号,模糊查询'
  16532. type: string
  16533. hedgeplanstatus:
  16534. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16535. type: integer
  16536. isrelated:
  16537. description: 是否已关联计划项目 - 0:否 1:是
  16538. type: integer
  16539. planqty:
  16540. description: '[计划量]计划数量'
  16541. type: number
  16542. plantime:
  16543. description: 计划时间
  16544. type: string
  16545. producttype:
  16546. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16547. type: integer
  16548. remark:
  16549. description: 备注
  16550. type: string
  16551. spotgoodsdesc:
  16552. description: 商品型号
  16553. type: string
  16554. tradedate:
  16555. description: 交易日(yyyyMMdd)
  16556. type: string
  16557. tradeuserid:
  16558. description: 交易用户ID
  16559. type: integer
  16560. updatetime:
  16561. description: 更新时间
  16562. type: string
  16563. wrstandardid:
  16564. description: 现货商品ID
  16565. type: integer
  16566. wrstandardname:
  16567. description: 现货商品,模糊查询
  16568. type: string
  16569. required:
  16570. - areauserid
  16571. type: object
  16572. models.UserCollectConfig:
  16573. properties:
  16574. accountstatus:
  16575. description: 账户状态 - 1:正常 2:停用 3:注销
  16576. type: integer
  16577. collectaccountname:
  16578. description: 收款人账户名称
  16579. type: string
  16580. collectaccountno:
  16581. description: 收款人账户
  16582. type: string
  16583. collectbankname:
  16584. description: 收款人开户行
  16585. type: string
  16586. collectbranchbankname:
  16587. description: 收款人开户支行
  16588. type: string
  16589. collectconfigid:
  16590. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16591. type: string
  16592. remark:
  16593. description: 备注
  16594. type: string
  16595. userid:
  16596. description: 收款人用户ID
  16597. type: integer
  16598. type: object
  16599. models.UserReceiveInfo:
  16600. properties:
  16601. address:
  16602. description: 提货人详细地址
  16603. type: string
  16604. autoid:
  16605. description: AutoID
  16606. type: integer
  16607. cardnum:
  16608. description: 证件号码(加密存储)
  16609. type: string
  16610. cardtypeid:
  16611. description: 证件类型
  16612. type: integer
  16613. cityid:
  16614. description: 市
  16615. type: integer
  16616. cityname:
  16617. description: 城市名称
  16618. type: string
  16619. countryid:
  16620. description: 国家
  16621. type: integer
  16622. countryname:
  16623. description: 国家名称
  16624. type: string
  16625. districtid:
  16626. description: 地区
  16627. type: integer
  16628. districtname:
  16629. description: 地区名称
  16630. type: string
  16631. hasencrypt:
  16632. description: 数据是否已加密 - 0:未加密 1:已加密
  16633. type: integer
  16634. isdefault:
  16635. description: 是否默认地址 - 0:否 1:是
  16636. type: integer
  16637. phonenum:
  16638. description: 提货人联系方式(加密存储)
  16639. type: string
  16640. provinceid:
  16641. description: 省
  16642. type: integer
  16643. provincename:
  16644. description: 省名称
  16645. type: string
  16646. receivername:
  16647. description: 提货人姓名
  16648. type: string
  16649. takeremark:
  16650. description: 提货备注
  16651. type: string
  16652. userid:
  16653. description: 用户ID
  16654. type: integer
  16655. type: object
  16656. models.Useraccount:
  16657. properties:
  16658. accountname:
  16659. description: 账户名称(机构名称)
  16660. type: string
  16661. accountstatus:
  16662. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16663. type: integer
  16664. applysrc:
  16665. description: 申请来源 - 1:管理端 2:终端
  16666. type: integer
  16667. auditremark:
  16668. description: 审核备注
  16669. type: string
  16670. auditsrc:
  16671. description: 审核来源 - 1:管理端 2:终端
  16672. type: integer
  16673. audittime:
  16674. description: 审核时间
  16675. type: string
  16676. audituserid:
  16677. description: 审核人
  16678. type: integer
  16679. broker:
  16680. description: 所属经纪人ID
  16681. type: integer
  16682. canceltime:
  16683. description: 销户时间
  16684. type: string
  16685. canceluserid:
  16686. description: 销户人
  16687. type: integer
  16688. canrecommend:
  16689. description: 是否可推荐 - 0:不可 1;可
  16690. type: integer
  16691. createtime:
  16692. description: 创建时间
  16693. type: string
  16694. creatorid:
  16695. description: 创建人
  16696. type: integer
  16697. hasauth:
  16698. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16699. type: integer
  16700. isanonymous:
  16701. description: 是否匿名下单 - 0:否 1:是
  16702. type: integer
  16703. maxinvestornum:
  16704. description: 最大用户数(经纪会员下投资者个数)
  16705. type: integer
  16706. memberuserid:
  16707. description: 所属会员ID
  16708. type: integer
  16709. modifierid:
  16710. description: 修改人
  16711. type: integer
  16712. modifyremark:
  16713. description: 变更备注
  16714. type: string
  16715. modifystatus:
  16716. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16717. type: integer
  16718. modifytime:
  16719. description: 修改时间
  16720. type: string
  16721. parenttopuser:
  16722. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16723. type: string
  16724. parentuserid:
  16725. description: 所属机构ID
  16726. type: integer
  16727. reckonaccountid:
  16728. description: 默认结算资金账号ID(机构分润使用) 作废
  16729. type: integer
  16730. refercount:
  16731. description: 推荐总人数
  16732. type: integer
  16733. refereeuserid:
  16734. description: 推荐人ID
  16735. type: integer
  16736. refernum:
  16737. description: 推荐码
  16738. type: string
  16739. rootuserid:
  16740. description: 根用户ID
  16741. type: integer
  16742. subaccountlevel:
  16743. description: 子账户层数
  16744. type: integer
  16745. subarealevelpath:
  16746. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16747. type: string
  16748. userid:
  16749. description: 用户ID
  16750. type: integer
  16751. usertype:
  16752. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16753. type: integer
  16754. required:
  16755. - userid
  16756. type: object
  16757. models.Userfavoritegoods:
  16758. properties:
  16759. goodsid:
  16760. description: 商品ID
  16761. type: integer
  16762. required:
  16763. - goodsid
  16764. type: object
  16765. models.Userinfo:
  16766. properties:
  16767. address:
  16768. description: 地址
  16769. type: string
  16770. attachment1:
  16771. description: 附件1
  16772. type: string
  16773. attachment2:
  16774. description: 附件2
  16775. type: string
  16776. bankaccount:
  16777. description: 银行帐号 (加密存储)
  16778. type: string
  16779. bankaccountname:
  16780. description: 收款人名称
  16781. type: string
  16782. bankcardfrontphotourl:
  16783. description: 银行卡正面照地址
  16784. type: string
  16785. bankid:
  16786. description: 银行编码
  16787. type: string
  16788. bankname:
  16789. description: 银行名称
  16790. type: string
  16791. biznature:
  16792. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16793. type: integer
  16794. bizscope:
  16795. description: 企业经营范围(企业)
  16796. type: string
  16797. cardbackphotourl:
  16798. description: 证件背面图片地址
  16799. type: string
  16800. cardfrontphotourl:
  16801. description: 证件正面图片地址
  16802. type: string
  16803. cardnum:
  16804. description: 证件号码(加密存储)
  16805. type: string
  16806. cardtypeid:
  16807. description: 证件类型ID
  16808. type: integer
  16809. cityid:
  16810. description: 市
  16811. type: integer
  16812. company:
  16813. description: 公司(个人)
  16814. type: string
  16815. contactname:
  16816. description: 联系人
  16817. type: string
  16818. countryid:
  16819. description: 国家
  16820. type: integer
  16821. createtime:
  16822. description: 创建时间
  16823. type: string
  16824. creatorid:
  16825. description: 创建人
  16826. type: integer
  16827. customername:
  16828. description: 客户名称(企业名称)
  16829. type: string
  16830. districtid:
  16831. description: 地区
  16832. type: integer
  16833. email:
  16834. description: 邮件(加密存储)
  16835. type: string
  16836. fax:
  16837. description: 传真(加密存储)
  16838. type: string
  16839. halfbodyphotourl:
  16840. description: 半身照地址
  16841. type: string
  16842. hasencrypt:
  16843. description: 数据是否已加密 - 0:未加密 1:已加密
  16844. type: integer
  16845. headurl:
  16846. description: 头像地址
  16847. type: string
  16848. legalcardbackphotourl:
  16849. description: 法人身份证背面照地址
  16850. type: string
  16851. legalcardfrontphotourl:
  16852. description: 法人身份证正面照地址
  16853. type: string
  16854. legalpersonname:
  16855. description: 法人姓名(企业)
  16856. type: string
  16857. mobile:
  16858. description: 手机号码(加密存储)
  16859. type: string
  16860. mobile2:
  16861. description: 手机号码[明文-尚志]
  16862. type: string
  16863. modifierid:
  16864. description: 修改人
  16865. type: integer
  16866. modifiertime:
  16867. description: 修改时间
  16868. type: string
  16869. needinvoice:
  16870. description: 是否需要发票 - 0:不需要 1:需要
  16871. type: integer
  16872. nickname:
  16873. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16874. type: string
  16875. openmode:
  16876. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16877. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16878. type: integer
  16879. otherurl:
  16880. description: 其它图片地址[使用分号分隔]
  16881. type: string
  16882. postalcode:
  16883. description: 邮政编码
  16884. type: string
  16885. provinceid:
  16886. description: 省
  16887. type: integer
  16888. qq:
  16889. description: QQ(加密存储
  16890. type: string
  16891. remark:
  16892. description: 备注
  16893. type: string
  16894. sex:
  16895. description: '用户性别 0: 女 1: 男'
  16896. type: integer
  16897. signpdfurl:
  16898. description: 签约pdf文件
  16899. type: string
  16900. telphone:
  16901. description: 联系电话(加密存储)
  16902. type: string
  16903. userid:
  16904. description: 用户ID
  16905. type: integer
  16906. userinfotype:
  16907. description: 用户信息类型 - 1:个人 2:企业
  16908. type: integer
  16909. userstatus:
  16910. description: 用户状态 - 1:正常 2:注销
  16911. type: integer
  16912. usertype:
  16913. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16914. type: integer
  16915. wechat:
  16916. description: 微信(加密存储)
  16917. type: string
  16918. wskhinfo:
  16919. description: 开户申请信息(JSON)
  16920. type: string
  16921. required:
  16922. - userid
  16923. type: object
  16924. models.WRSConverTDetail:
  16925. properties:
  16926. convertratio:
  16927. description: 套保系数
  16928. type: number
  16929. deliverygoodscode:
  16930. description: 现货商品代码
  16931. type: string
  16932. deliverygoodsid:
  16933. description: 现货品种ID
  16934. type: integer
  16935. deliverygoodsname:
  16936. description: 现货商品名称
  16937. type: string
  16938. enumdicname:
  16939. description: 单位名称
  16940. type: string
  16941. goodsunitid:
  16942. description: 套保品种单位id
  16943. type: integer
  16944. middlegoodscode:
  16945. description: 套保品种代码
  16946. type: string
  16947. middlegoodsid:
  16948. description: 套保品种ID
  16949. type: integer
  16950. middlegoodsname:
  16951. description: 套保品种名称
  16952. type: string
  16953. modifytime:
  16954. description: 修改时间
  16955. type: string
  16956. wrstandardid:
  16957. description: 品类ID
  16958. type: integer
  16959. type: object
  16960. models.WRStandardInfo:
  16961. properties:
  16962. areauserid:
  16963. description: 所属机构
  16964. type: integer
  16965. convertfactor:
  16966. description: 标仓系数
  16967. type: number
  16968. createtime:
  16969. description: 创建时间
  16970. type: string
  16971. creatorid:
  16972. description: 创建人
  16973. type: integer
  16974. deliverygoodsid:
  16975. description: 品种ID
  16976. type: integer
  16977. deliverygoodsname:
  16978. description: 交割商品名称
  16979. type: string
  16980. factoryitemjson:
  16981. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16982. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16983. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16984. 逗号分隔'
  16985. type: string
  16986. isvalid:
  16987. description: 是否有效 - 0:无效 1:有效
  16988. type: integer
  16989. minivalue:
  16990. description: 最小变动值
  16991. type: integer
  16992. minivaluedp:
  16993. description: 最小变动值小数位
  16994. type: integer
  16995. realminivalue:
  16996. description: 实际最小变动值
  16997. type: integer
  16998. realminivaluedp:
  16999. description: 实际最小变动值小数位
  17000. type: integer
  17001. remark:
  17002. description: 备注
  17003. type: string
  17004. unitid:
  17005. description: 单位ID
  17006. type: integer
  17007. unitname:
  17008. description: 单位
  17009. type: string
  17010. updatetime:
  17011. description: 更新时间
  17012. type: string
  17013. updatorid:
  17014. description: 更新人
  17015. type: integer
  17016. wrsstatus:
  17017. description: 状态 - 作废 - 0:未激活 1:正常
  17018. type: integer
  17019. wrstandardcode:
  17020. description: 现货品类代码
  17021. type: string
  17022. wrstandardid:
  17023. description: 现货品类ID(SEQ_WRSTANDARD)
  17024. type: integer
  17025. wrstandardname:
  17026. description: 现货品类名称
  17027. type: string
  17028. required:
  17029. - wrstandardid
  17030. type: object
  17031. models.WRTradeBargainApply:
  17032. properties:
  17033. accountid:
  17034. description: 摘牌资金账号
  17035. type: integer
  17036. applyprice:
  17037. description: 申请价格(议价价格)
  17038. type: string
  17039. applyqty:
  17040. description: 摘牌数量(议价数量)
  17041. type: number
  17042. applyremark:
  17043. description: 申请备注
  17044. type: string
  17045. applystatus:
  17046. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17047. type: integer
  17048. applytime:
  17049. description: 申请时间(议价时间)
  17050. type: string
  17051. begindate:
  17052. description: 开始交易日(yyyymmdd)
  17053. type: string
  17054. buyorsell:
  17055. description: 买卖(挂牌类型) - 0:买 1:卖
  17056. type: integer
  17057. confirmremark:
  17058. description: 确认备注
  17059. type: string
  17060. confirmtime:
  17061. description: 确认时间
  17062. type: string
  17063. confirmuserid:
  17064. description: 确认人
  17065. type: integer
  17066. deliverygoodscode:
  17067. description: 品种代码
  17068. type: string
  17069. deliverygoodsid:
  17070. description: 品种ID
  17071. type: integer
  17072. deliverygoodsname:
  17073. description: 品种名称
  17074. type: string
  17075. deliverymonth:
  17076. description: 交收月
  17077. type: string
  17078. enddate:
  17079. description: 结束交易日(yyyymmdd)
  17080. type: string
  17081. enumdicname:
  17082. description: 单位名称
  17083. type: string
  17084. fixedprice:
  17085. description: 期初均价
  17086. type: number
  17087. handlestatus:
  17088. description: 处理状态
  17089. type: integer
  17090. marginvalue:
  17091. description: 期初均价
  17092. type: number
  17093. marketid:
  17094. description: 市场ID
  17095. type: integer
  17096. matchaccountid:
  17097. description: 挂牌方资金账号
  17098. type: integer
  17099. matchuserid:
  17100. description: 挂牌方用户id
  17101. type: integer
  17102. matchusername:
  17103. description: 挂牌方用户名称(已脱敏)
  17104. type: string
  17105. minivalue:
  17106. description: 现货商品最小变动值
  17107. type: integer
  17108. optioncompare:
  17109. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17110. type: string
  17111. orderqty:
  17112. description: 挂牌数量
  17113. type: integer
  17114. refprice:
  17115. description: 参考价格
  17116. type: string
  17117. retcode:
  17118. description: 委托返回代码
  17119. type: integer
  17120. templatename:
  17121. description: 履约方式(履约模板名称)
  17122. type: string
  17123. tradedate:
  17124. description: 交易日(yyyyMMdd)
  17125. type: string
  17126. userid:
  17127. description: 摘牌人用户ID(议价人ID)
  17128. type: integer
  17129. username:
  17130. description: 议价人名字(已脱敏)
  17131. type: string
  17132. validtime:
  17133. description: 有效期限
  17134. type: string
  17135. warehouseid:
  17136. description: 仓库ID
  17137. type: integer
  17138. warehousename:
  17139. description: 仓库名称
  17140. type: string
  17141. wrbargainid:
  17142. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17143. type: string
  17144. wrfactortypeid:
  17145. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17146. type: string
  17147. wrfactortypename:
  17148. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17149. type: string
  17150. wrstandardcode:
  17151. description: 现货商品代码
  17152. type: string
  17153. wrstandardid:
  17154. description: 现货商品ID
  17155. type: integer
  17156. wrstandardname:
  17157. description: 商品名称
  17158. type: string
  17159. wrtradeorderid:
  17160. description: 关联委托单ID
  17161. type: string
  17162. wrtypename:
  17163. description: 商品
  17164. type: string
  17165. type: object
  17166. models.Warehouseinfo:
  17167. properties:
  17168. address:
  17169. description: 详细地址
  17170. type: string
  17171. areauserid:
  17172. description: 所属机构
  17173. type: integer
  17174. autoid:
  17175. description: 自增ID
  17176. type: integer
  17177. cityid:
  17178. description: 市
  17179. type: integer
  17180. contactname:
  17181. description: 联系人
  17182. type: string
  17183. contactnum:
  17184. description: 联系电话
  17185. type: string
  17186. countryid:
  17187. description: 国家
  17188. type: integer
  17189. createtime:
  17190. description: 创建时间
  17191. type: string
  17192. districtid:
  17193. description: 区
  17194. type: integer
  17195. hasvideo:
  17196. description: 是否有视频 - 0:无 1:有
  17197. type: integer
  17198. provinceid:
  17199. description: 省
  17200. type: integer
  17201. remark:
  17202. description: 审核备注
  17203. type: string
  17204. videourl:
  17205. description: 视频地址
  17206. type: string
  17207. warehousecode:
  17208. description: 仓库代码
  17209. type: string
  17210. warehousename:
  17211. description: 仓库名称
  17212. type: string
  17213. warehousestatus:
  17214. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17215. type: integer
  17216. warehousetype:
  17217. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17218. type: integer
  17219. required:
  17220. - autoid
  17221. - warehousecode
  17222. type: object
  17223. models.WrAverageTradePrice:
  17224. properties:
  17225. averageprice:
  17226. description: 期初均价
  17227. type: number
  17228. tradedate:
  17229. description: 交易日yyyymm
  17230. type: string
  17231. type: object
  17232. models.WrBrandAndYears:
  17233. properties:
  17234. brandlst:
  17235. description: 品牌列表
  17236. items:
  17237. $ref: '#/definitions/models.DgFactoryItem'
  17238. type: array
  17239. yearslst:
  17240. description: 年份列表
  17241. items:
  17242. $ref: '#/definitions/models.DgFactoryItem'
  17243. type: array
  17244. type: object
  17245. models.WrBsGoodsInfo:
  17246. properties:
  17247. buyorsell:
  17248. description: 买卖方向 0-买 1-卖
  17249. type: integer
  17250. goodsid:
  17251. description: 交易合约ID
  17252. type: integer
  17253. lstitem:
  17254. description: 商品信息项
  17255. items:
  17256. $ref: '#/definitions/models.WrTypeItem'
  17257. type: array
  17258. lststep:
  17259. description: 履约规则
  17260. items:
  17261. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17262. type: array
  17263. type: object
  17264. models.WrBuybackDetail:
  17265. properties:
  17266. buybackamount:
  17267. description: 回购金额
  17268. type: number
  17269. buybackqty:
  17270. description: 回购数量
  17271. type: number
  17272. buybackreleasemargin:
  17273. description: 回购释放保证金
  17274. type: number
  17275. buybacktime:
  17276. description: 回购时间
  17277. type: string
  17278. errordesc:
  17279. description: 错误描述
  17280. type: string
  17281. handlestatus:
  17282. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17283. type: integer
  17284. relatedwrid:
  17285. description: 关联仓单ID
  17286. type: integer
  17287. scfcontractid:
  17288. description: SCF合同ID
  17289. type: string
  17290. scfwrbuybackid:
  17291. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17292. type: integer
  17293. tradedate:
  17294. description: 交易日(yyyyMMdd)
  17295. type: string
  17296. type: object
  17297. models.WrClientAdSpaceConfig:
  17298. properties:
  17299. adspaceid:
  17300. description: 广告位ID
  17301. type: integer
  17302. adspacename:
  17303. description: 广告位名称
  17304. type: string
  17305. adspacetype:
  17306. description: 广告位类型 - 1:固定广告位
  17307. type: integer
  17308. areauserid:
  17309. description: 所属机构ID
  17310. type: integer
  17311. createdate:
  17312. description: 创建时间
  17313. type: string
  17314. imagepath:
  17315. description: 图片
  17316. type: string
  17317. modifierid:
  17318. description: 操作人
  17319. type: integer
  17320. recsize:
  17321. description: 推荐尺寸
  17322. type: string
  17323. title:
  17324. description: 标题
  17325. type: string
  17326. updatedate:
  17327. description: 更新时间
  17328. type: string
  17329. urlcontent:
  17330. description: 链接(地址\商品ID\功能菜单Key\appid)
  17331. type: string
  17332. urltype:
  17333. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17334. type: integer
  17335. type: object
  17336. models.WrDeliveryAvalidHoldLB:
  17337. properties:
  17338. accountid:
  17339. description: 资金账号
  17340. type: integer
  17341. avalidqty:
  17342. description: 数量(可点选数量)
  17343. type: number
  17344. deliverygoodsid:
  17345. description: 品种id
  17346. type: integer
  17347. enumdicname:
  17348. description: 单位名称
  17349. type: string
  17350. goodsid:
  17351. description: x合约商品id
  17352. type: integer
  17353. ladingbillid:
  17354. description: 提单id
  17355. type: string
  17356. pgoodscode:
  17357. description: p商品代码(点价合约)
  17358. type: string
  17359. pgoodsid:
  17360. description: p商品id(点价合约)
  17361. type: integer
  17362. pgoodsname:
  17363. description: p商品名称(点价合约)
  17364. type: string
  17365. pricemove:
  17366. description: 升贴水
  17367. type: number
  17368. subnum:
  17369. description: 提单子id
  17370. type: integer
  17371. userid:
  17372. description: 用户id
  17373. type: integer
  17374. username:
  17375. description: 仓单持有人
  17376. type: string
  17377. warehousecode:
  17378. description: 仓库代码
  17379. type: string
  17380. warehouseid:
  17381. description: 仓库id
  17382. type: integer
  17383. warehousename:
  17384. description: 仓库名称
  17385. type: string
  17386. wrfactortypeid:
  17387. description: 仓单要素id
  17388. type: string
  17389. wrstandardcode:
  17390. description: 品代码
  17391. type: string
  17392. wrstandardid:
  17393. description: 品类d
  17394. type: integer
  17395. wrstandardname:
  17396. description: 品类名称
  17397. type: string
  17398. wrtypename:
  17399. description: 商品
  17400. type: string
  17401. xgoodscode:
  17402. description: x合约代码
  17403. type: string
  17404. xgoodsname:
  17405. description: x合约名称
  17406. type: string
  17407. type: object
  17408. models.WrDeliveryDetail:
  17409. properties:
  17410. accountid:
  17411. description: 账号ID
  17412. type: integer
  17413. averageprice:
  17414. description: 期初均价
  17415. type: number
  17416. begindate:
  17417. description: 开始交易日(yyyymmdd)
  17418. type: string
  17419. buyorsell:
  17420. description: 方向 - 0:买 1:卖
  17421. type: integer
  17422. deliveryamount:
  17423. description: 货款金额(X总货款+P总货款)
  17424. type: number
  17425. deliveryid:
  17426. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17427. type: string
  17428. deliveryorderid:
  17429. description: 申报单号
  17430. type: string
  17431. deliverypricemove:
  17432. description: 升贴水(升贴水总额)
  17433. type: number
  17434. deliveryqty:
  17435. description: 交收数量(点选数量)
  17436. type: number
  17437. deliverystatus:
  17438. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17439. type: integer
  17440. deliverytime:
  17441. description: 交割时间
  17442. type: string
  17443. deliverytotalamount:
  17444. description: 交收金额
  17445. type: number
  17446. enddate:
  17447. description: 结束交易日(yyyymmdd)
  17448. type: string
  17449. enumdicname:
  17450. description: 单位名称
  17451. type: string
  17452. matchaccountid:
  17453. description: 对手账号ID
  17454. type: integer
  17455. matchusername:
  17456. description: 对手方名称(仓单持有人)
  17457. type: string
  17458. p1goodsremainamount:
  17459. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17460. type: number
  17461. pdeliverycloseqty:
  17462. description: p合约平仓数量
  17463. type: number
  17464. pdeliveryprice:
  17465. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17466. type: number
  17467. pgoodscode:
  17468. description: 商品代码
  17469. type: string
  17470. pgoodsid:
  17471. description: p点选合约id
  17472. type: integer
  17473. pgoodsname:
  17474. description: 商品名称
  17475. type: string
  17476. ppricemode:
  17477. description: 点价价格方式 - 1:商品价 2:固定值
  17478. type: integer
  17479. tradedate:
  17480. description: 交易日(yyyymmdd)
  17481. type: string
  17482. userid:
  17483. description: 用户id
  17484. type: integer
  17485. username:
  17486. description: 用户名称
  17487. type: string
  17488. warehousename:
  17489. description: 仓库名称
  17490. type: string
  17491. wrfactortypeid:
  17492. description: 仓单要素类型ID
  17493. type: string
  17494. wrtypename:
  17495. description: 商品
  17496. type: string
  17497. xdeliverycloseqty:
  17498. description: 合约数量
  17499. type: number
  17500. xgoodsamount:
  17501. description: 期初均价
  17502. type: number
  17503. xgoodscode:
  17504. description: 商品代码
  17505. type: string
  17506. xgoodsid:
  17507. description: x交易合约ID
  17508. type: integer
  17509. xgoodsname:
  17510. description: 商品名称
  17511. type: string
  17512. type: object
  17513. models.WrDeliveryGoodsSection:
  17514. properties:
  17515. dglst:
  17516. description: 板块商品列表
  17517. items:
  17518. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17519. type: array
  17520. imagepath:
  17521. description: 图片地址
  17522. type: string
  17523. orderindex:
  17524. description: 排序
  17525. type: integer
  17526. sectionid:
  17527. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17528. = 1的版块1 - 云融指数
  17529. type: integer
  17530. sectionname:
  17531. description: 版块名称
  17532. type: string
  17533. sectiontype:
  17534. description: 版块类型 - 1:指数版块 2:普通版块
  17535. type: integer
  17536. type: object
  17537. models.WrDeliveryGoodsSectionConfig:
  17538. properties:
  17539. deliverygoodscode:
  17540. description: 现货商品代码
  17541. type: string
  17542. deliverygoodsid:
  17543. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17544. type: integer
  17545. deliverygoodsname:
  17546. description: 现货商品名称
  17547. type: string
  17548. orderindex:
  17549. description: 排序
  17550. type: integer
  17551. type: object
  17552. models.WrDraftUserInfo:
  17553. properties:
  17554. address:
  17555. description: 地址
  17556. type: string
  17557. attachment1:
  17558. description: 附件1
  17559. type: string
  17560. attachment2:
  17561. description: 附件2
  17562. type: string
  17563. attachment3:
  17564. description: 附件3
  17565. type: string
  17566. attachment4:
  17567. description: 附件4
  17568. type: string
  17569. attachment5:
  17570. description: 附件5
  17571. type: string
  17572. bankaccount:
  17573. description: 银行帐号 (加密存储)
  17574. type: string
  17575. bankaccountname:
  17576. description: 收款人名称
  17577. type: string
  17578. bankcardfrontphotourl:
  17579. description: 银行卡正面照地址
  17580. type: string
  17581. bankid:
  17582. description: 银行编码
  17583. type: string
  17584. bankname:
  17585. description: 银行名称
  17586. type: string
  17587. birthday:
  17588. description: 生日(个人:年月日)
  17589. type: string
  17590. biznature:
  17591. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17592. type: integer
  17593. bizscope:
  17594. description: 企业经营范围(企业)
  17595. type: string
  17596. biztype:
  17597. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17598. type: integer
  17599. cardbackphotourl:
  17600. description: 证件背面图片地址
  17601. type: string
  17602. cardfrontphotourl:
  17603. description: 证件正面图片地址
  17604. type: string
  17605. cardnum:
  17606. description: 证件号码(加密存储)
  17607. type: string
  17608. cardtypeid:
  17609. description: 证件类型ID
  17610. type: integer
  17611. cityid:
  17612. description: 市
  17613. type: integer
  17614. company:
  17615. description: 公司(个人)
  17616. type: string
  17617. contactcardbackphotourl:
  17618. description: 联系人证件背面图片地址
  17619. type: string
  17620. contactcardfrontphotourl:
  17621. description: 联系人证件正面图片地址
  17622. type: string
  17623. contactname:
  17624. description: 联系人
  17625. type: string
  17626. countryid:
  17627. description: 国家
  17628. type: integer
  17629. createtime:
  17630. description: 创建时间
  17631. type: string
  17632. creatorid:
  17633. description: 创建人
  17634. type: integer
  17635. creditquota:
  17636. description: 授信额度(金瑞)
  17637. type: number
  17638. customername:
  17639. description: 客户名称(企业名称)
  17640. type: string
  17641. districtid:
  17642. description: 地区
  17643. type: integer
  17644. email:
  17645. description: 邮件(加密存储)
  17646. type: string
  17647. fax:
  17648. description: 传真(加密存储)
  17649. type: string
  17650. halfbodyphotourl:
  17651. description: 半身照地址
  17652. type: string
  17653. hasencrypt:
  17654. description: 数据是否已加密 - 0:未加密 1:已加密
  17655. type: integer
  17656. headurl:
  17657. description: 头像地址
  17658. type: string
  17659. legalcardbackphotourl:
  17660. description: 法人身份证背面照地址
  17661. type: string
  17662. legalcardfrontphotourl:
  17663. description: 法人身份证正面照地址
  17664. type: string
  17665. legalpersonname:
  17666. description: 法人姓名(企业)
  17667. type: string
  17668. mobile:
  17669. description: 手机号码(加密存储)
  17670. type: string
  17671. mobile2:
  17672. description: 手机号码[明文-尚志]
  17673. type: string
  17674. modifierid:
  17675. description: 修改人
  17676. type: integer
  17677. modifiertime:
  17678. description: 修改时间
  17679. type: string
  17680. needinvoice:
  17681. description: 是否需要发票 - 0:不需要 1:需要
  17682. type: integer
  17683. nickname:
  17684. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17685. type: string
  17686. openmode:
  17687. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17688. 6:苹果手机端注册 7:PC交易端注册"
  17689. type: integer
  17690. otherurl:
  17691. description: 其它图片地址[使用分号分隔]
  17692. type: string
  17693. postalcode:
  17694. description: 邮政编码
  17695. type: string
  17696. provinceid:
  17697. description: 省
  17698. type: integer
  17699. proxystatementurl:
  17700. description: 授权委托书
  17701. type: string
  17702. qq:
  17703. description: QQ(加密存储
  17704. type: string
  17705. remark:
  17706. description: 备注
  17707. type: string
  17708. sex:
  17709. description: '用户性别 0: 女 1: 男'
  17710. type: integer
  17711. signpdfurl:
  17712. description: 签约pdf文件
  17713. type: string
  17714. taxpayernum:
  17715. description: 纳税人识别号
  17716. type: string
  17717. telphone:
  17718. description: 联系电话(加密存储)
  17719. type: string
  17720. userid:
  17721. description: 用户ID
  17722. type: integer
  17723. userinfotype:
  17724. description: 用户信息类型 - 1:个人 2:企业
  17725. type: integer
  17726. userstatus:
  17727. description: 用户状态 - 1:正常 2:注销
  17728. type: integer
  17729. usertype:
  17730. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17731. type: integer
  17732. wechat:
  17733. description: 微信(加密存储)
  17734. type: string
  17735. wskhinfo:
  17736. description: 开户申请信息(JSON)
  17737. type: string
  17738. type: object
  17739. models.WrFAProductDetail:
  17740. properties:
  17741. accountid:
  17742. description: 资金账号
  17743. type: integer
  17744. areauserid:
  17745. description: 金融机构ID
  17746. type: integer
  17747. financingdays:
  17748. description: 天数(天)
  17749. type: integer
  17750. interestminlen:
  17751. description: 最小起息天数
  17752. type: integer
  17753. interestrate:
  17754. description: 利率
  17755. type: number
  17756. interestratemode:
  17757. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17758. type: integer
  17759. interestsettlemode:
  17760. description: 结息方式 - 1:按日结息 3:按月结息
  17761. type: integer
  17762. interestsettlevalue:
  17763. description: 结息方式值
  17764. type: integer
  17765. isautoloan:
  17766. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17767. type: integer
  17768. loantag:
  17769. description: '放款标识: "放款快" 或者为空'
  17770. type: string
  17771. marginratio:
  17772. description: 保证金比率质押率 - [仓单质押]
  17773. type: number
  17774. productdetailid:
  17775. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17776. type: integer
  17777. productid:
  17778. description: 金融产品ID
  17779. type: integer
  17780. productname:
  17781. description: 产品名称
  17782. type: string
  17783. updatetime:
  17784. description: 更新时间
  17785. type: string
  17786. username:
  17787. description: 融出方
  17788. type: string
  17789. type: object
  17790. models.WrFactorTypeInfo:
  17791. properties:
  17792. deliverygoodscode:
  17793. description: 品种代码
  17794. type: string
  17795. deliverygoodsname:
  17796. description: 品种名称
  17797. type: string
  17798. dgfactoryitemid:
  17799. description: 选择项id
  17800. type: integer
  17801. dgfactoryitemtypeid:
  17802. description: 要素选择项ID (1-仓库 2-品牌)
  17803. type: integer
  17804. dgfactoryitemvalue:
  17805. description: 要素项值
  17806. type: string
  17807. itemtypename:
  17808. description: 要素项名称
  17809. type: string
  17810. optioncompare:
  17811. description: 选择比较串
  17812. type: string
  17813. warehouseid:
  17814. description: 仓库id
  17815. type: integer
  17816. wrfactortypeid:
  17817. description: 仓单要素ID
  17818. type: string
  17819. wrfactortypename:
  17820. description: 要素名称
  17821. type: string
  17822. wrfactortypename2:
  17823. description: 要素名称(不含仓库)
  17824. type: string
  17825. wrstandardcode:
  17826. description: 品类代码
  17827. type: string
  17828. wrstandardid:
  17829. description: 品类id
  17830. type: integer
  17831. wrstandardname:
  17832. description: 品类名称
  17833. type: string
  17834. type: object
  17835. models.WrFilterItem:
  17836. properties:
  17837. itemcode:
  17838. description: 代码
  17839. type: string
  17840. itemid:
  17841. description: 项id
  17842. type: integer
  17843. itemname:
  17844. description: 名称
  17845. type: string
  17846. itemtype:
  17847. description: 类型 1-品种 2-品类(商品) 3-仓库
  17848. type: integer
  17849. type: object
  17850. models.WrFinanceBuyApply:
  17851. properties:
  17852. applydate:
  17853. description: 申请时间
  17854. type: string
  17855. applystatus:
  17856. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17857. type: integer
  17858. applyuserid:
  17859. description: 申请人
  17860. type: integer
  17861. auditdate:
  17862. description: 审核时间
  17863. type: string
  17864. auditremark:
  17865. description: 审核备注
  17866. type: string
  17867. audituserid:
  17868. description: 审核人
  17869. type: integer
  17870. buyaccountid:
  17871. description: 买方资金账号
  17872. type: integer
  17873. buyorsell:
  17874. description: 买卖 - 0:买 1:卖
  17875. type: integer
  17876. buyuserid:
  17877. description: 买方用户ID
  17878. type: integer
  17879. buyusername:
  17880. description: 买方名称
  17881. type: string
  17882. buywrtradeorderid:
  17883. description: 融资方买委托单ID
  17884. type: string
  17885. deliverygoodscode:
  17886. description: 品种代码
  17887. type: string
  17888. deliverygoodsid:
  17889. description: 品种ID
  17890. type: integer
  17891. deliverygoodsname:
  17892. description: 品种名称
  17893. type: string
  17894. deliverymonth:
  17895. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17896. type: string
  17897. enumdicname:
  17898. description: 单位名称
  17899. type: string
  17900. financeaccountid:
  17901. description: 融资方资金帐户ID
  17902. type: integer
  17903. financeapplyid:
  17904. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17905. type: string
  17906. financeareauserid:
  17907. description: 融资方用户ID
  17908. type: string
  17909. financename:
  17910. description: 融出方名称
  17911. type: string
  17912. financetype:
  17913. description: 融资类型 1-融资回购
  17914. type: integer
  17915. financingdays:
  17916. description: 天数(天)
  17917. type: integer
  17918. freezebuymargin:
  17919. description: 冻结融资保证金(买方)
  17920. type: number
  17921. handleremark:
  17922. description: 处理备注
  17923. type: string
  17924. handlestatus:
  17925. description: 处理状态
  17926. type: integer
  17927. interestminlen:
  17928. description: 最小起息天数
  17929. type: integer
  17930. interestrate:
  17931. description: 利率
  17932. type: number
  17933. interestratemode:
  17934. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17935. type: integer
  17936. interestsettlemode:
  17937. description: 结息方式 - 1:按日结息 3:按月结息
  17938. type: integer
  17939. interestsettlevalue:
  17940. description: 结息方式值
  17941. type: integer
  17942. isautoloan:
  17943. description: 是否自动放款 - 0:手动 1:自动
  17944. type: integer
  17945. marginratio:
  17946. description: 保证金比率质押率 - [仓单质押]
  17947. type: number
  17948. marketid:
  17949. description: 市场ID
  17950. type: integer
  17951. minivalue:
  17952. description: 现货商品最小变动值
  17953. type: integer
  17954. optioncompare:
  17955. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17956. type: string
  17957. orderqty:
  17958. description: 委托数量(商品数量)
  17959. type: number
  17960. productdetailid:
  17961. description: 产品组合ID
  17962. type: integer
  17963. productid:
  17964. description: 金融产品ID
  17965. type: integer
  17966. productname:
  17967. description: 产品名称
  17968. type: string
  17969. remark:
  17970. description: 备注
  17971. type: string
  17972. scfcontractid:
  17973. description: 仓单回购合同ID
  17974. type: string
  17975. sellaccountid:
  17976. description: 卖方资金账号
  17977. type: integer
  17978. selluserid:
  17979. description: 卖方用户ID
  17980. type: integer
  17981. sellwrtradeorderid:
  17982. description: 卖方委托单ID
  17983. type: string
  17984. tradeamount:
  17985. description: 成交金额(借款金额)
  17986. type: number
  17987. tradedate:
  17988. description: 交易日(yyyyMMdd)
  17989. type: string
  17990. tradeprice:
  17991. description: 成交价格
  17992. type: number
  17993. warehouseid:
  17994. description: 仓库ID
  17995. type: integer
  17996. warehousename:
  17997. description: 仓库名称
  17998. type: string
  17999. wrfactortypeid:
  18000. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18001. type: string
  18002. wrfactortypename:
  18003. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18004. type: string
  18005. wrpricetype:
  18006. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18007. type: integer
  18008. wrstandardcode:
  18009. description: 现货商品代码
  18010. type: string
  18011. wrstandardid:
  18012. description: 现货商品ID
  18013. type: integer
  18014. wrstandardname:
  18015. description: 商品名称
  18016. type: string
  18017. wrtypename:
  18018. description: 商品
  18019. type: string
  18020. type: object
  18021. models.WrFriendApply:
  18022. properties:
  18023. applicantid:
  18024. description: 申请人
  18025. type: integer
  18026. applyname:
  18027. description: 申请人名称
  18028. type: string
  18029. applysrc:
  18030. description: 申请来源 - 1:管理端 2:终端
  18031. type: integer
  18032. applystatus:
  18033. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18034. type: integer
  18035. applytime:
  18036. description: 申请时间
  18037. type: string
  18038. auditname:
  18039. description: 审核人名称
  18040. type: string
  18041. auditorid:
  18042. description: 审核人
  18043. type: integer
  18044. auditremark:
  18045. description: 审核备注
  18046. type: string
  18047. auditsrc:
  18048. description: 审核来源 - 1:管理端 2:终端
  18049. type: integer
  18050. audittime:
  18051. description: 审核时间
  18052. type: string
  18053. friendapplyid:
  18054. description: 申请ID(SEQ_FRIENDAPPLY)
  18055. type: string
  18056. friendname:
  18057. description: 好友名字(已脱敏)
  18058. type: string
  18059. frienduserid:
  18060. description: 好友用户ID
  18061. type: string
  18062. remark:
  18063. description: 备注
  18064. type: string
  18065. userid:
  18066. description: 申请人用户ID
  18067. type: integer
  18068. type: object
  18069. models.WrFtDeliveryGoods:
  18070. properties:
  18071. deliverygoodscode:
  18072. description: 品种代码
  18073. type: string
  18074. deliverygoodsid:
  18075. description: 品种ID
  18076. type: integer
  18077. deliverygoodsname:
  18078. description: 品种名称
  18079. type: string
  18080. wdlst:
  18081. description: 商品列表
  18082. items:
  18083. $ref: '#/definitions/models.WrFtWrstandard'
  18084. type: array
  18085. type: object
  18086. models.WrFtWrstandard:
  18087. properties:
  18088. enumdicname:
  18089. description: 单位名称
  18090. type: string
  18091. minivalue:
  18092. description: 最小变动值
  18093. type: integer
  18094. wrstandardcode:
  18095. description: 现货商品代码
  18096. type: string
  18097. wrstandardid:
  18098. description: 现货商品ID
  18099. type: integer
  18100. wrstandardname:
  18101. description: 商品名称
  18102. type: string
  18103. type: object
  18104. models.WrGoodsInfo:
  18105. properties:
  18106. haswr:
  18107. description: 0:仓单预售 1:仓单贸易
  18108. type: integer
  18109. lstitem:
  18110. description: 商品信息项
  18111. items:
  18112. $ref: '#/definitions/models.WrTypeItem'
  18113. type: array
  18114. lststep:
  18115. description: 履约规则
  18116. items:
  18117. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18118. type: array
  18119. marketid:
  18120. description: 市场id
  18121. type: integer
  18122. type: object
  18123. models.WrGoodsPerformanceStep:
  18124. properties:
  18125. autoid:
  18126. description: AutoID
  18127. type: integer
  18128. isauto:
  18129. description: 是否自动 - 0:不自动 1:自动
  18130. type: integer
  18131. remark:
  18132. description: 备注
  18133. type: string
  18134. stepdate:
  18135. description: 天数信息(T+N)
  18136. type: string
  18137. stepdays:
  18138. description: 距离上一步天数
  18139. type: integer
  18140. stepindex:
  18141. description: 步骤序号
  18142. type: integer
  18143. stepinfo:
  18144. description: 步骤信息(步骤名称+步骤值)
  18145. type: string
  18146. steptypeid:
  18147. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18148. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18149. type: integer
  18150. steptypename:
  18151. description: 步骤名称
  18152. type: string
  18153. stepvalue:
  18154. description: 期初均价
  18155. type: number
  18156. templateid:
  18157. description: 履约计划模板ID
  18158. type: integer
  18159. type: object
  18160. models.WrHoldLB:
  18161. properties:
  18162. accountid:
  18163. description: 持有人帐户ID
  18164. type: integer
  18165. bannerpicurl:
  18166. description: Banner图
  18167. type: string
  18168. createtime:
  18169. description: 创建时间(过户时间)
  18170. type: string
  18171. deliverygoodscode:
  18172. description: 品种代码
  18173. type: string
  18174. deliverygoodsid:
  18175. description: 品种ID
  18176. type: integer
  18177. deliverygoodsname:
  18178. description: 品种名称
  18179. type: string
  18180. enableqty:
  18181. description: 可用数量
  18182. type: number
  18183. enumdicname:
  18184. description: 单位名称
  18185. type: string
  18186. freezerqty:
  18187. description: 冻结数量
  18188. type: number
  18189. ladingbillid:
  18190. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18191. type: string
  18192. minivalue:
  18193. description: 现货商品最小变动值
  18194. type: integer
  18195. optioncompare:
  18196. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18197. type: string
  18198. parentsubnum:
  18199. description: 拆分父子单号
  18200. type: integer
  18201. pledgeqty:
  18202. description: 质押数量
  18203. type: number
  18204. qty:
  18205. description: 数量
  18206. type: number
  18207. subnum:
  18208. description: 提单子单号
  18209. type: integer
  18210. thumurls:
  18211. description: 缩略图
  18212. type: string
  18213. tradedate:
  18214. description: 交易日(yyyyMMdd)
  18215. type: string
  18216. userid:
  18217. description: 持有人ID
  18218. type: integer
  18219. warehouseid:
  18220. description: 仓库ID
  18221. type: integer
  18222. warehousename:
  18223. description: 仓库名称
  18224. type: string
  18225. wrfactortypeid:
  18226. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18227. type: string
  18228. wrfactortypename:
  18229. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18230. type: string
  18231. wrholdeno:
  18232. description: 仓单编号
  18233. type: string
  18234. wrid:
  18235. description: 仓单变更ID
  18236. type: string
  18237. wrstandardcode:
  18238. description: 现货商品代码
  18239. type: string
  18240. wrstandardid:
  18241. description: 现货商品ID
  18242. type: integer
  18243. wrstandardname:
  18244. description: 商品名称
  18245. type: string
  18246. wrtypename:
  18247. description: 商品
  18248. type: string
  18249. type: object
  18250. models.WrMarketTradeConfig:
  18251. properties:
  18252. basisdownratio:
  18253. description: 浮动价基差下限比例(仓单贸易)
  18254. type: number
  18255. basisupratio:
  18256. description: 浮动价基差上限比例(仓单贸易)
  18257. type: number
  18258. buychargealgorithm:
  18259. description: 买方手续费收取方式 1:比率 2:固定
  18260. type: integer
  18261. buychargealgorithm2:
  18262. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18263. type: integer
  18264. buychargealgorithmvalue:
  18265. description: 买方手续费设置值(交易所部分)
  18266. type: number
  18267. buychargealgorithmvalue2:
  18268. description: 买方手续费设置值(会员部分)
  18269. type: number
  18270. buychargealgorithmvalue3:
  18271. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18272. type: number
  18273. buychargealgorithmvalue4:
  18274. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18275. type: number
  18276. buyfirstmarginalgorithm:
  18277. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18278. type: integer
  18279. buyfirstmarginvalue:
  18280. description: 买方出价保证金设置值 - [竞拍]
  18281. type: number
  18282. buymarginalgorithm:
  18283. description: 买方保证金方式 - 1:比率 2:固定
  18284. type: integer
  18285. buymarginvalue:
  18286. description: 买方保证金设置值
  18287. type: number
  18288. buyreleaseratio:
  18289. description: 买方释放比率[2:分步履约]
  18290. type: number
  18291. executemode:
  18292. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18293. type: integer
  18294. executeside:
  18295. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18296. type: integer
  18297. failedchargealgorithm:
  18298. description: 流拍手续费收取方式 1:比率 2:固定
  18299. type: integer
  18300. failedchargevalue:
  18301. description: 流拍手续费设置值
  18302. type: number
  18303. failedchargevalue2:
  18304. description: 流拍卖方手续费设置值
  18305. type: number
  18306. holddays:
  18307. description: 合同期限[2:分步履约]
  18308. type: integer
  18309. listingmode:
  18310. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18311. type: integer
  18312. marketid:
  18313. description: 市场ID-仓单贸易、竞拍、预售
  18314. type: integer
  18315. minqty:
  18316. description: 最小执行量[2:分步履约]
  18317. type: number
  18318. modifierid:
  18319. description: 修改人
  18320. type: integer
  18321. nowrquotaflag:
  18322. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18323. type: integer
  18324. performancetempid:
  18325. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18326. 立即执行(-1)
  18327. type: integer
  18328. performancetempid2:
  18329. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18330. 立即执行
  18331. type: integer
  18332. performancetempid2s:
  18333. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18334. - 履约方式: 立即执行
  18335. type: string
  18336. performancetempids:
  18337. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18338. - 履约方式: 立即执行(-1)
  18339. type: string
  18340. performanceway:
  18341. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18342. type: integer
  18343. sellchargealgorithm:
  18344. description: 卖方手续费收取方式 1:比率 2:固定
  18345. type: integer
  18346. sellchargealgorithm2:
  18347. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18348. type: integer
  18349. sellchargealgorithmvalue:
  18350. description: 卖方手续费设置值(交易所部分)
  18351. type: number
  18352. sellchargealgorithmvalue2:
  18353. description: 卖方手续费设置值(会员部分)
  18354. type: number
  18355. sellchargealgorithmvalue3:
  18356. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18357. type: number
  18358. sellchargealgorithmvalue4:
  18359. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18360. type: number
  18361. sellmarginalgorithm:
  18362. description: 卖方保证金方式 - 1:比率 2:固定
  18363. type: integer
  18364. sellmarginvalue:
  18365. description: 卖方保证金设置值
  18366. type: number
  18367. sellmarginvalue2:
  18368. description: 卖方保证金设置值(无仓单)
  18369. type: number
  18370. sellreleaseratio:
  18371. description: 卖方释放比率[2:分步履约]
  18372. type: number
  18373. updatetime:
  18374. description: 更新时间
  18375. type: string
  18376. type: object
  18377. models.WrOrderDetail:
  18378. properties:
  18379. accountid:
  18380. description: 交易账号(资金账号)
  18381. type: integer
  18382. allfriendsflag:
  18383. description: 是否全好友可见 - 0:否 1:是
  18384. type: integer
  18385. amount:
  18386. description: 期初均价
  18387. type: number
  18388. bannerpicurl:
  18389. description: Banner图
  18390. type: string
  18391. begindate:
  18392. description: 开始交易日(yyyymmdd)
  18393. type: string
  18394. buyorsell:
  18395. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18396. type: integer
  18397. canbargain:
  18398. description: 是否可议价 - 0:不可 1:可
  18399. type: integer
  18400. cancelqty:
  18401. description: 撤销数量
  18402. type: number
  18403. canpart:
  18404. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18405. type: integer
  18406. delistminqty:
  18407. description: 起摘数量
  18408. type: integer
  18409. deliverygoodscode:
  18410. description: 品种代码
  18411. type: string
  18412. deliverygoodsid:
  18413. description: 品种ID
  18414. type: integer
  18415. deliverygoodsname:
  18416. description: 品种名称
  18417. type: string
  18418. deliverymonth:
  18419. description: 交收月
  18420. type: string
  18421. enddate:
  18422. description: 结束交易日(yyyymmdd)
  18423. type: string
  18424. enumdicname:
  18425. description: 单位名称
  18426. type: string
  18427. fixedprice:
  18428. description: 固定价格 - [挂牌]
  18429. type: number
  18430. freezecharge:
  18431. description: 期初均价
  18432. type: number
  18433. freezemargin:
  18434. description: 期初均价
  18435. type: number
  18436. futupricemove:
  18437. description: 期货升贴水
  18438. type: number
  18439. futushow:
  18440. description: 期货合约/升贴水
  18441. type: string
  18442. goodscode:
  18443. description: 期货合约
  18444. type: string
  18445. goodsid:
  18446. description: 期货商品id
  18447. type: integer
  18448. goodsname:
  18449. description: 商品名称
  18450. type: string
  18451. haswr:
  18452. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18453. type: integer
  18454. isspecified:
  18455. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18456. type: integer
  18457. ladingbillid:
  18458. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18459. type: string
  18460. marginvalue:
  18461. description: 期初均价
  18462. type: number
  18463. marketid:
  18464. description: 市场ID
  18465. type: integer
  18466. matchusername:
  18467. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18468. type: string
  18469. minivalue:
  18470. description: 现货商品最小变动值
  18471. type: integer
  18472. optioncompare:
  18473. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18474. type: string
  18475. orderqty:
  18476. description: 委托数量
  18477. type: number
  18478. ordertime:
  18479. description: 委托时间(挂牌时间)
  18480. type: string
  18481. performancetemplateid:
  18482. description: 履约模板id
  18483. type: integer
  18484. pricemove:
  18485. description: 升贴水(浮动价时填写) - [挂牌]
  18486. type: number
  18487. taname:
  18488. description: 交易用户名称(资金账号名称)
  18489. type: string
  18490. thumurls:
  18491. description: 缩略图
  18492. type: string
  18493. tradedate:
  18494. description: 交易日(yyyyMMdd)
  18495. type: string
  18496. tradeprice:
  18497. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18498. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18499. type: number
  18500. tradeqty:
  18501. description: 成交数量
  18502. type: number
  18503. userid:
  18504. description: 用户ID
  18505. type: integer
  18506. validtime:
  18507. description: 挂牌有效期
  18508. type: string
  18509. validtype:
  18510. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18511. type: integer
  18512. warehouseid:
  18513. description: 仓库ID
  18514. type: integer
  18515. warehousename:
  18516. description: 仓库名称
  18517. type: string
  18518. wrfactortypeid:
  18519. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18520. type: string
  18521. wrfactortypename:
  18522. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18523. type: string
  18524. wrpricetype:
  18525. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18526. type: integer
  18527. wrstandardcode:
  18528. description: 现货商品代码
  18529. type: string
  18530. wrstandardid:
  18531. description: 现货商品ID
  18532. type: integer
  18533. wrstandardname:
  18534. description: 商品名称
  18535. type: string
  18536. wrtradeorderid:
  18537. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18538. type: string
  18539. wrtradeorderstatus:
  18540. 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:撤单解冻贷款失败
  18541. type: integer
  18542. wrtradetype:
  18543. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18544. type: integer
  18545. wrtypename:
  18546. description: 商品
  18547. type: string
  18548. type: object
  18549. models.WrOrderQuote:
  18550. properties:
  18551. bannerpicurl:
  18552. description: Banner图
  18553. type: string
  18554. buyprice:
  18555. description: 买价
  18556. type: number
  18557. buypricemove:
  18558. description: 买升贴水(基差)
  18559. type: number
  18560. buyqty:
  18561. description: 买量
  18562. type: number
  18563. deliverygoodscode:
  18564. description: 品种代码
  18565. type: string
  18566. deliverygoodsid:
  18567. description: 品种id
  18568. type: integer
  18569. deliverygoodsname:
  18570. description: 品种名称
  18571. type: string
  18572. deliverymonth:
  18573. description: 交收月
  18574. type: string
  18575. enumdicname:
  18576. description: 单位名称
  18577. type: string
  18578. goodscode:
  18579. description: 商品合约(浮动价列表才有)
  18580. type: string
  18581. goodsid:
  18582. description: 商品id(浮动价列表才有)
  18583. type: integer
  18584. minivalue:
  18585. description: 现货商品最小变动值
  18586. type: integer
  18587. pictureurls:
  18588. description: 详情图片(逗号分隔)
  18589. type: string
  18590. sellprice:
  18591. description: 卖价
  18592. type: number
  18593. sellpricemove:
  18594. description: 卖升贴水(基差)
  18595. type: number
  18596. sellqty:
  18597. description: 卖量
  18598. type: number
  18599. thumurls:
  18600. description: 缩略图片(1:1)(逗号分隔)
  18601. type: string
  18602. warehousecode:
  18603. description: 仓库代码
  18604. type: string
  18605. warehouseid:
  18606. description: 仓库id
  18607. type: integer
  18608. warehousename:
  18609. description: 仓库名称
  18610. type: string
  18611. wrfactortypeid:
  18612. description: 仓单要素id
  18613. type: string
  18614. wrfactortypename:
  18615. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18616. type: string
  18617. wrgoodsname:
  18618. description: 商品(商品名称+仓库要素名称 拼接)
  18619. type: string
  18620. wrstandardcode:
  18621. description: 商品代码
  18622. type: string
  18623. wrstandardid:
  18624. description: 商品id
  18625. type: integer
  18626. wrstandardname:
  18627. description: 商品名称
  18628. type: string
  18629. type: object
  18630. models.WrOrderQuoteDetail:
  18631. properties:
  18632. buyorsell:
  18633. description: 买卖 - 0:买 1:卖
  18634. type: integer
  18635. delistminqty:
  18636. description: 期初均价
  18637. type: number
  18638. deliverymonth:
  18639. description: 交收月
  18640. type: string
  18641. enumdicname:
  18642. description: 单位名称
  18643. type: string
  18644. fixedprice:
  18645. description: 买(卖)价
  18646. type: number
  18647. marketid:
  18648. description: 市场id
  18649. type: integer
  18650. minivalue:
  18651. description: 现货商品最小变动值
  18652. type: integer
  18653. orderqty:
  18654. description: 买(卖)量(=委托量-成交量)
  18655. type: number
  18656. ordertime:
  18657. description: 委托时间
  18658. type: string
  18659. pricemove:
  18660. description: 买(卖)升贴水- 基差
  18661. type: number
  18662. userid:
  18663. description: 购买方(销售方)用户ID
  18664. type: integer
  18665. username:
  18666. description: 购买方(销售方)
  18667. type: string
  18668. wrtradeorderid:
  18669. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18670. type: string
  18671. type: object
  18672. models.WrOutInApply:
  18673. properties:
  18674. applyid:
  18675. description: 申请单id
  18676. type: string
  18677. applystatus:
  18678. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18679. 8:已撤销
  18680. type: integer
  18681. applytime:
  18682. description: 申请时间
  18683. type: string
  18684. applytype:
  18685. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18686. type: integer
  18687. bannerpicurl:
  18688. description: Banner图
  18689. type: string
  18690. begindate:
  18691. description: 开始交易日(yyyymmdd)
  18692. type: string
  18693. deliverygoodscode:
  18694. description: 品种代码
  18695. type: string
  18696. deliverygoodsid:
  18697. description: 品种ID
  18698. type: integer
  18699. deliverygoodsname:
  18700. description: 品种名称
  18701. type: string
  18702. enddate:
  18703. description: 结束交易日(yyyymmdd)
  18704. type: string
  18705. enumdicname:
  18706. description: 单位名称
  18707. type: string
  18708. expresscompany:
  18709. description: 物流公司
  18710. type: string
  18711. expressnum:
  18712. description: 物流单号
  18713. type: string
  18714. minivalue:
  18715. description: 现货商品最小变动值
  18716. type: integer
  18717. optioncompare:
  18718. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18719. type: string
  18720. qty:
  18721. description: 数量
  18722. type: integer
  18723. userid:
  18724. description: 用户id
  18725. type: integer
  18726. warehouseid:
  18727. description: 仓库ID
  18728. type: integer
  18729. warehousename:
  18730. description: 仓库名称
  18731. type: string
  18732. wrfactortypeid:
  18733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18734. type: string
  18735. wrfactortypename:
  18736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18737. type: string
  18738. wrstandardcode:
  18739. description: 现货商品代码
  18740. type: string
  18741. wrstandardid:
  18742. description: 现货商品ID
  18743. type: integer
  18744. wrstandardname:
  18745. description: 商品名称
  18746. type: string
  18747. wrtypename:
  18748. description: 商品
  18749. type: string
  18750. type: object
  18751. models.WrPerformancePlan:
  18752. properties:
  18753. activatemonth:
  18754. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18755. type: string
  18756. amount:
  18757. description: 履约金额(总金额)
  18758. type: number
  18759. begindate:
  18760. description: 开始交易日(yyyymmdd)
  18761. type: string
  18762. buyaccountid:
  18763. description: 买方账号
  18764. type: integer
  18765. buyerfreezeamount:
  18766. description: 履约冻结(买履约)
  18767. type: number
  18768. buyerfreezeamountremain:
  18769. description: 履约冻结剩余(买履约)
  18770. type: number
  18771. buyorsell:
  18772. description: 买卖方向 0-买 1-卖
  18773. type: integer
  18774. buypaidamount:
  18775. description: 买方已冻/已扣金额 (已付金额)
  18776. type: number
  18777. buyusername:
  18778. description: 买方名字
  18779. type: string
  18780. contractid:
  18781. description: 合同ID
  18782. type: integer
  18783. createtime:
  18784. description: 创建时间
  18785. type: string
  18786. creatorid:
  18787. description: 创建人
  18788. type: integer
  18789. curstepdeadline:
  18790. description: 当前步骤到期时间
  18791. type: string
  18792. curstepid:
  18793. description: 当前步骤ID
  18794. type: string
  18795. curstepname:
  18796. description: 当前步骤名称
  18797. type: string
  18798. deliverygoodscode:
  18799. description: 品种代码
  18800. type: string
  18801. deliverygoodsid:
  18802. description: 品种ID
  18803. type: integer
  18804. deliverygoodsname:
  18805. description: 品种名称
  18806. type: string
  18807. enddate:
  18808. description: 结束交易日(yyyymmdd)
  18809. type: string
  18810. enumdicname:
  18811. description: 单位名称
  18812. type: string
  18813. expressfee:
  18814. description: 运费
  18815. type: number
  18816. expressfeeconfirmed:
  18817. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18818. type: integer
  18819. hasovershort:
  18820. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18821. type: integer
  18822. haswr:
  18823. description: 类型 0-仓单预售 1-仓单贸易
  18824. type: integer
  18825. marketid:
  18826. description: 市场ID
  18827. type: integer
  18828. middleaccountid:
  18829. description: 中间商资金账号ID
  18830. type: integer
  18831. middleuserid:
  18832. description: 中间商用户ID
  18833. type: integer
  18834. minivalue:
  18835. description: 现货商品最小变动值
  18836. type: integer
  18837. optioncompare:
  18838. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18839. type: string
  18840. overshortamount:
  18841. description: 溢短金额
  18842. type: number
  18843. overshortqty:
  18844. description: 溢短数量
  18845. type: number
  18846. paymenttype:
  18847. description: 付款方式 - 1:冻结 2:扣款
  18848. type: integer
  18849. performanceplanid:
  18850. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18851. type: string
  18852. performancestatus:
  18853. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18854. 9:超时待处理 10:超时关闭
  18855. type: integer
  18856. performancetype:
  18857. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18858. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18859. type: integer
  18860. qty:
  18861. description: 履约数量
  18862. type: number
  18863. relatedorderid:
  18864. description: 关联单号(履约类型的关联单号)
  18865. type: string
  18866. remark:
  18867. description: 备注
  18868. type: string
  18869. sellaccountid:
  18870. description: 卖方账号
  18871. type: integer
  18872. sellerfreezeamount:
  18873. description: 履约冻结(卖履约)
  18874. type: number
  18875. sellerfreezeamountremain:
  18876. description: 履约冻结剩余(卖履约)
  18877. type: number
  18878. sellreceivedamount:
  18879. description: 卖方已收金额
  18880. type: number
  18881. sellusername:
  18882. description: 卖方名字
  18883. type: string
  18884. shipremark:
  18885. description: 发货备注[物流单号]
  18886. type: string
  18887. starttime:
  18888. description: 开始时间
  18889. type: string
  18890. steptypeid:
  18891. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18892. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18893. type: integer
  18894. typename:
  18895. description: 履约类型 名称
  18896. type: string
  18897. unpaidamount:
  18898. description: 期初均价
  18899. type: number
  18900. userid:
  18901. description: 用户id
  18902. type: integer
  18903. warehouseid:
  18904. description: 仓库ID
  18905. type: integer
  18906. warehousename:
  18907. description: 仓库名称
  18908. type: string
  18909. wrfactortypeid:
  18910. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18911. type: string
  18912. wrfactortypename:
  18913. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18914. type: string
  18915. wrstandardcode:
  18916. description: 现货商品代码
  18917. type: string
  18918. wrstandardid:
  18919. description: 现货商品ID
  18920. type: integer
  18921. wrstandardname:
  18922. description: 商品名称
  18923. type: string
  18924. wrtransferuserid:
  18925. description: 仓单受让用户
  18926. type: integer
  18927. wrtypename:
  18928. description: 商品
  18929. type: string
  18930. required:
  18931. - userid
  18932. type: object
  18933. models.WrPerformancePlanStep:
  18934. properties:
  18935. delaydays:
  18936. description: 延期申请天数
  18937. type: integer
  18938. deliverygoodscode:
  18939. description: 品种代码
  18940. type: string
  18941. deliverygoodsid:
  18942. description: 品种ID
  18943. type: integer
  18944. deliverygoodsname:
  18945. description: 品种名称
  18946. type: string
  18947. endtime:
  18948. description: 结束日期
  18949. type: string
  18950. enumdicname:
  18951. description: 单位名称
  18952. type: string
  18953. executeside:
  18954. description: 步骤执行方 - 1:买方 2:卖方
  18955. type: integer
  18956. handlestatus:
  18957. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18958. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18959. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18960. type: integer
  18961. isauto:
  18962. description: 是否自动 - 0:不自动 1:自动
  18963. type: integer
  18964. islastreceivestep:
  18965. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18966. type: integer
  18967. minivalue:
  18968. description: 现货商品最小变动值
  18969. type: integer
  18970. optioncompare:
  18971. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18972. type: string
  18973. overdays:
  18974. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18975. type: integer
  18976. performancestepid:
  18977. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18978. type: string
  18979. planid:
  18980. description: 所属履约计划ID
  18981. type: string
  18982. realamount:
  18983. description: 实际完成金额
  18984. type: number
  18985. relatedorderid:
  18986. description: 关联单号
  18987. type: string
  18988. remaindays:
  18989. description: 剩余天数
  18990. type: integer
  18991. remark:
  18992. description: 错误备注
  18993. type: string
  18994. starttime:
  18995. description: 开始日期
  18996. type: string
  18997. stepamount:
  18998. description: 步骤金额
  18999. type: number
  19000. stepdays:
  19001. description: 距离上一步天数(分钟)
  19002. type: integer
  19003. stepindex:
  19004. description: 步骤序号
  19005. type: integer
  19006. steplanchtype:
  19007. description: 步骤启动类型 - 1:系统自动 2:手动
  19008. type: integer
  19009. stepremark:
  19010. description: 步骤备注
  19011. type: string
  19012. stepstatus:
  19013. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19014. type: integer
  19015. steptypeid:
  19016. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19017. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19018. type: integer
  19019. steptypename:
  19020. description: 步骤名称
  19021. type: string
  19022. stepvalue:
  19023. description: 步骤值
  19024. type: number
  19025. warehouseid:
  19026. description: 仓库ID
  19027. type: integer
  19028. warehousename:
  19029. description: 仓库名称
  19030. type: string
  19031. wrfactortypeid:
  19032. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19033. type: string
  19034. wrfactortypename:
  19035. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19036. type: string
  19037. wrstandardcode:
  19038. description: 现货商品代码
  19039. type: string
  19040. wrstandardid:
  19041. description: 现货商品ID
  19042. type: integer
  19043. wrstandardname:
  19044. description: 商品名称
  19045. type: string
  19046. wrtypename:
  19047. description: 商品
  19048. type: string
  19049. type: object
  19050. models.WrPerformanceStepType:
  19051. properties:
  19052. canauto:
  19053. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19054. type: integer
  19055. steptypeid:
  19056. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19057. type: integer
  19058. steptypename:
  19059. description: 步骤类型名称
  19060. type: string
  19061. type: object
  19062. models.WrPerformanceTemplateEx:
  19063. properties:
  19064. autoid:
  19065. description: AutoID 模板id
  19066. type: integer
  19067. createtime:
  19068. description: 创建时间
  19069. type: string
  19070. creatorid:
  19071. description: 创建人
  19072. type: integer
  19073. lstStep:
  19074. description: 步骤信息列表
  19075. items:
  19076. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19077. type: array
  19078. paymenttype:
  19079. description: 支付方式 - 1:冻结 2:扣款
  19080. type: integer
  19081. takemode:
  19082. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19083. type: integer
  19084. templatename:
  19085. description: 模板名称
  19086. type: string
  19087. templatetype:
  19088. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19089. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19090. type: integer
  19091. userid:
  19092. description: 所属用户
  19093. type: integer
  19094. type: object
  19095. models.WrPosition:
  19096. properties:
  19097. accountid:
  19098. description: 帐户ID
  19099. type: integer
  19100. buyexcuteqty:
  19101. description: 采购履约中数量
  19102. type: number
  19103. creditcurqty:
  19104. description: 授信当前数量(预售仓单:预售当前量)
  19105. type: number
  19106. creditenableqty:
  19107. description: '授信可用数量(预售仓单: 可用数量)'
  19108. type: number
  19109. creditfreezeqty:
  19110. description: '授信冻结数量(预售仓单: 当前数量)'
  19111. type: number
  19112. credittotalqty:
  19113. description: 授信总数量(预售仓单:预售总量)
  19114. type: number
  19115. credittradeqty:
  19116. description: 授信成交数量(预售仓单:成交总量)
  19117. type: number
  19118. deliverygoodscode:
  19119. description: 品种代码
  19120. type: string
  19121. deliverygoodsid:
  19122. description: 品种ID
  19123. type: integer
  19124. deliverygoodsname:
  19125. description: 品种名称
  19126. type: string
  19127. enalbeqty:
  19128. description: 可用数量
  19129. type: number
  19130. enumdicname:
  19131. description: 单位名称
  19132. type: string
  19133. freezeqty:
  19134. description: 总冻结数量
  19135. type: number
  19136. haswr:
  19137. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19138. type: integer
  19139. minivalue:
  19140. description: 现货商品最小变动值
  19141. type: integer
  19142. modifytime:
  19143. description: 修改时间(过户时间)
  19144. type: string
  19145. optioncompare:
  19146. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19147. type: string
  19148. pledgeqty:
  19149. description: 质押数量
  19150. type: number
  19151. querytype:
  19152. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19153. type: integer
  19154. sellexcuteqty:
  19155. description: 销售履约中数量
  19156. type: number
  19157. totalqty:
  19158. description: 总数量(库存数量)
  19159. type: number
  19160. warehouseid:
  19161. description: 仓库ID
  19162. type: integer
  19163. warehousename:
  19164. description: 仓库名称
  19165. type: string
  19166. wrfactortypeid:
  19167. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19168. type: string
  19169. wrfactortypename:
  19170. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19171. type: string
  19172. wrpositionid:
  19173. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19174. type: string
  19175. wrpositionno:
  19176. description: 仓单编号
  19177. type: string
  19178. wrstandardcode:
  19179. description: 现货商品代码
  19180. type: string
  19181. wrstandardid:
  19182. description: 现货商品ID
  19183. type: integer
  19184. wrstandardname:
  19185. description: 商品名称
  19186. type: string
  19187. wrtypename:
  19188. description: 商品
  19189. type: string
  19190. wruserid:
  19191. description: 持有人ID
  19192. type: integer
  19193. type: object
  19194. models.WrPreSaleInfo:
  19195. properties:
  19196. bannerpicurl:
  19197. description: Banner图
  19198. type: string
  19199. baseqty:
  19200. description: 中签基数
  19201. type: number
  19202. createtime:
  19203. description: 创建时间
  19204. type: string
  19205. deliverygoodsid:
  19206. description: 现货品种ID
  19207. type: integer
  19208. enddate:
  19209. description: 预售结束日期
  19210. type: string
  19211. enumdicname:
  19212. description: 单位名称
  19213. type: string
  19214. lotteryflag:
  19215. description: 摇号标识 - 0:未摇号 1:已摇号
  19216. type: integer
  19217. lotteryqty:
  19218. description: 摇号总量
  19219. type: number
  19220. luckyqty:
  19221. description: 已中签量
  19222. type: number
  19223. marketid:
  19224. description: 市场ID
  19225. type: integer
  19226. maxbuyqty:
  19227. description: 单人最大申购量
  19228. type: number
  19229. maxluckyqty:
  19230. description: 单人最大中签量
  19231. type: number
  19232. pictureurls:
  19233. description: 详情图片(逗号分隔)
  19234. type: string
  19235. placeqty:
  19236. description: 已配售量
  19237. type: number
  19238. presaleapplyid:
  19239. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19240. example: "0"
  19241. type: string
  19242. presaleqty:
  19243. description: 预售总量
  19244. type: number
  19245. presalestatus:
  19246. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19247. type: integer
  19248. sellaccountid:
  19249. description: 发行方资金账户ID
  19250. type: integer
  19251. selluserid:
  19252. description: 发行方用户ID
  19253. type: integer
  19254. sellwrtradeorderid:
  19255. description: 发行方卖委托单ID
  19256. type: string
  19257. startdate:
  19258. description: 预售开始日期
  19259. type: string
  19260. takestartdate:
  19261. description: 提货开始日期
  19262. type: string
  19263. thumurls:
  19264. description: 缩略图片(1:1)(逗号分隔)
  19265. type: string
  19266. tradedate:
  19267. description: 交易日
  19268. type: string
  19269. unitid:
  19270. description: 单位ID
  19271. type: integer
  19272. unitprice:
  19273. description: 商品单价
  19274. type: number
  19275. username:
  19276. description: 发行方用户名称
  19277. type: string
  19278. warehousecode:
  19279. description: 仓库代码(仓库简称)
  19280. type: string
  19281. warehouseid:
  19282. description: 仓库ID
  19283. type: integer
  19284. warehousename:
  19285. description: 仓库名称
  19286. type: string
  19287. wrfactortypeid:
  19288. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19289. example: "0"
  19290. type: string
  19291. wrstandardid:
  19292. description: 现货商品ID
  19293. type: integer
  19294. wrstandardname:
  19295. description: 现货商品名称
  19296. type: string
  19297. type: object
  19298. models.WrQuoteOrderMyq:
  19299. properties:
  19300. buyorsell:
  19301. description: 买卖 - 0:买 1:卖
  19302. type: integer
  19303. canbargain:
  19304. description: 是否可议价 - 0:不可 1:可
  19305. type: integer
  19306. canpart:
  19307. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19308. type: integer
  19309. delistminqty:
  19310. description: 期初均价
  19311. type: number
  19312. deliverygoodscode:
  19313. description: 品种代码
  19314. type: string
  19315. deliverygoodsid:
  19316. description: 品种ID
  19317. type: integer
  19318. deliverygoodsname:
  19319. description: 品种名称
  19320. type: string
  19321. deliverymonth:
  19322. description: 交收月
  19323. type: string
  19324. enumdicname:
  19325. description: 单位名称
  19326. type: string
  19327. fixedprice:
  19328. description: 买(卖)价
  19329. type: number
  19330. goodscode:
  19331. description: 商品合约代码
  19332. type: string
  19333. marginflag:
  19334. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19335. type: integer
  19336. marginvalue:
  19337. description: 保证金设置值
  19338. type: number
  19339. minivalue:
  19340. description: 现货商品最小变动值
  19341. type: integer
  19342. orderqty:
  19343. description: 买(卖)量(=委托量-成交量)
  19344. type: number
  19345. ordertime:
  19346. description: 委托时间
  19347. type: string
  19348. performancetemplateid:
  19349. description: 履约模板id
  19350. type: integer
  19351. pricemove:
  19352. description: 买(卖)升贴水- 基差
  19353. type: number
  19354. templatename:
  19355. description: 履约模板名称
  19356. type: string
  19357. userid:
  19358. description: 购买方(销售方)用户ID
  19359. type: integer
  19360. username:
  19361. description: 购买方(销售方)
  19362. type: string
  19363. validtime:
  19364. description: 有效期限
  19365. type: string
  19366. validtype:
  19367. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19368. type: integer
  19369. warehousename:
  19370. description: 仓库名称
  19371. type: string
  19372. wrfactortypeid:
  19373. description: 仓单要素id
  19374. type: string
  19375. wrstandardcode:
  19376. description: 现货商品代码
  19377. type: string
  19378. wrstandardid:
  19379. description: 现货商品ID
  19380. type: integer
  19381. wrstandardname:
  19382. description: 商品名称
  19383. type: string
  19384. wrtradeorderid:
  19385. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19386. type: string
  19387. wrtypename:
  19388. description: 商品
  19389. type: string
  19390. type: object
  19391. models.WrReckonSpotGoodsTradeSum:
  19392. properties:
  19393. begindate:
  19394. description: 开始日期(结果含开始日期) yyyymmdd
  19395. type: string
  19396. enddate:
  19397. description: 结束日期(结果含结束日期) yyyymmdd
  19398. type: string
  19399. istoday:
  19400. description: 是否当日
  19401. type: boolean
  19402. marketid:
  19403. description: 市场ID
  19404. type: integer
  19405. price:
  19406. description: 价格 = 日成交金额 / 日成交数量
  19407. type: string
  19408. reckondate:
  19409. description: 日期 格式 yyyymmdd
  19410. type: string
  19411. tradeamount:
  19412. description: 期初均价
  19413. type: number
  19414. tradeqty:
  19415. description: 期初均价
  19416. type: number
  19417. wrstandardid:
  19418. description: 现货商品ID
  19419. type: integer
  19420. type: object
  19421. models.WrScfContract:
  19422. properties:
  19423. borroweruserid:
  19424. description: 借款用户ID
  19425. type: integer
  19426. buybackwrpositionqty:
  19427. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19428. type: number
  19429. closeinterest:
  19430. description: 已结利息 -> 已结费用
  19431. type: number
  19432. currisklevel:
  19433. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19434. type: integer
  19435. deadline:
  19436. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19437. type: string
  19438. deliverygoodscode:
  19439. description: 品种代码
  19440. type: string
  19441. deliverygoodsid:
  19442. description: 品种ID
  19443. type: integer
  19444. deliverygoodsname:
  19445. description: 品种名称
  19446. type: string
  19447. enumdicname:
  19448. description: 单位名称
  19449. type: string
  19450. financingdays:
  19451. description: 天数(天)
  19452. type: integer
  19453. initmargin:
  19454. description: 保证金 - [仓单回购]
  19455. type: number
  19456. interestamount:
  19457. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19458. type: number
  19459. interestdebt:
  19460. description: 利息欠款(记录负数) -> 费用欠款
  19461. type: number
  19462. interestminlen:
  19463. description: 最小起息天数
  19464. type: integer
  19465. interestrate:
  19466. description: 利率
  19467. type: number
  19468. interestratemode:
  19469. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19470. type: integer
  19471. interestsettlemode:
  19472. description: 结息方式 - 1:按日结息 3:按月结息
  19473. type: integer
  19474. interestsettlevalue:
  19475. description: 结息方式值
  19476. type: integer
  19477. isautoloan:
  19478. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19479. type: integer
  19480. lastcloseinterestday:
  19481. description: 最近结息日(yyyyMMdd)
  19482. type: string
  19483. lenderamount:
  19484. description: 贷款金额 -> 借款金额
  19485. type: number
  19486. lenderuserid:
  19487. description: 贷款方用户ID -> 融出方用户ID
  19488. type: integer
  19489. lenderusername:
  19490. description: 融出方
  19491. type: string
  19492. marginratio:
  19493. description: 保证金比率质押率 - [仓单质押]
  19494. type: number
  19495. marketid:
  19496. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19497. type: integer
  19498. minivalue:
  19499. description: 现货商品最小变动值
  19500. type: integer
  19501. optioncompare:
  19502. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19503. type: string
  19504. pricemove:
  19505. description: 估值升贴水值
  19506. type: number
  19507. productdetailid:
  19508. description: 产品组合ID
  19509. type: integer
  19510. productid:
  19511. description: 金融产品ID
  19512. type: integer
  19513. productname:
  19514. description: 产品名称
  19515. type: string
  19516. remainamount:
  19517. description: 合同剩余金额 -> 剩余金额
  19518. type: number
  19519. remainwrpositionqty:
  19520. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19521. type: number
  19522. remark:
  19523. description: 备注
  19524. type: string
  19525. scfcontractid:
  19526. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19527. type: string
  19528. scfcontractstatus:
  19529. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19530. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19531. type: integer
  19532. scfcontracttype:
  19533. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19534. type: integer
  19535. startinterestday:
  19536. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19537. type: string
  19538. totalinterest:
  19539. description: 已计利息 -> 已计费用
  19540. type: number
  19541. unpaidinterest:
  19542. description: 期初均价
  19543. type: number
  19544. updatetime:
  19545. description: 更新时间
  19546. type: string
  19547. warehouseid:
  19548. description: 仓库ID
  19549. type: integer
  19550. warehousename:
  19551. description: 仓库名称
  19552. type: string
  19553. wrfactortypeid:
  19554. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19555. type: string
  19556. wrfactortypename:
  19557. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19558. type: string
  19559. wrqty:
  19560. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19561. type: number
  19562. wrstandardcode:
  19563. description: 现货商品代码
  19564. type: string
  19565. wrstandardid:
  19566. description: 现货商品ID
  19567. type: integer
  19568. wrstandardname:
  19569. description: 商品名称
  19570. type: string
  19571. wrtypename:
  19572. description: 商品
  19573. type: string
  19574. type: object
  19575. models.WrScfContractInterest:
  19576. properties:
  19577. closeinterest:
  19578. description: 已结利息
  19579. type: number
  19580. closeintereststatus:
  19581. description: 结息状态 - 1:未结 2:已结
  19582. type: integer
  19583. closetime:
  19584. description: 结息时间
  19585. type: string
  19586. closetradedate:
  19587. description: 结息交易日
  19588. type: string
  19589. creatorid:
  19590. description: 操作人ID
  19591. type: integer
  19592. dayrate:
  19593. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19594. type: number
  19595. interest:
  19596. description: 利息
  19597. type: number
  19598. interestamount:
  19599. description: 计息金额
  19600. type: number
  19601. interestday:
  19602. description: 计息日(yyyyMMdd)
  19603. type: string
  19604. scfcontractid:
  19605. description: SCF合同ID
  19606. type: string
  19607. scfcontractinterestid:
  19608. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19609. type: integer
  19610. updatetime:
  19611. description: 更新时间
  19612. type: string
  19613. type: object
  19614. models.WrSearchUser:
  19615. properties:
  19616. userid:
  19617. description: 用户ID
  19618. type: integer
  19619. username:
  19620. description: 用户名称(已脱敏)
  19621. type: string
  19622. username2:
  19623. description: 用户名称(未脱敏)
  19624. type: string
  19625. usertype:
  19626. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19627. type: integer
  19628. required:
  19629. - username
  19630. type: object
  19631. models.WrSiteColumnDetail:
  19632. properties:
  19633. brief:
  19634. description: 简介
  19635. type: string
  19636. context:
  19637. description: 内容
  19638. type: string
  19639. coverimage:
  19640. description: 封面图片
  19641. type: string
  19642. creaedate:
  19643. description: 创建时间
  19644. type: string
  19645. id:
  19646. description: ID(SEQ_SITE_COLUMNDETAIL)
  19647. type: integer
  19648. istop:
  19649. description: 是否置顶 - 0:不置 1:置顶
  19650. type: integer
  19651. publishdate:
  19652. description: 发布日期
  19653. type: string
  19654. title:
  19655. description: 标题
  19656. type: string
  19657. updatedate:
  19658. description: 修改时间
  19659. type: string
  19660. type: object
  19661. models.WrSpecialMatchOrder:
  19662. properties:
  19663. amount:
  19664. description: 金额 = 数量 * 价格
  19665. type: number
  19666. buyorsell:
  19667. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19668. type: integer
  19669. cancelqty:
  19670. description: 撤销数量
  19671. type: number
  19672. deliverygoodscode:
  19673. description: 品种代码
  19674. type: string
  19675. deliverygoodsid:
  19676. description: 品种ID
  19677. type: integer
  19678. deliverygoodsname:
  19679. description: 品种名称
  19680. type: string
  19681. enumdicname:
  19682. description: 单位名称
  19683. type: string
  19684. fixedprice:
  19685. description: 固定价格(价格)
  19686. type: number
  19687. haswr:
  19688. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19689. type: integer
  19690. isspecified:
  19691. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19692. type: integer
  19693. marketid:
  19694. description: 市场ID
  19695. type: integer
  19696. matchuserid:
  19697. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19698. type: integer
  19699. matchusername:
  19700. description: 指定方
  19701. type: string
  19702. minivalue:
  19703. description: 现货商品最小变动值
  19704. type: integer
  19705. optioncompare:
  19706. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19707. type: string
  19708. orderqty:
  19709. description: 委托数量
  19710. type: number
  19711. ordertime:
  19712. description: 委托时间
  19713. type: string
  19714. pricemove:
  19715. description: 升贴水(浮动价时填写) - [挂牌]
  19716. type: number
  19717. tradedate:
  19718. description: 交易日(yyyyMMdd)
  19719. type: string
  19720. tradeprice:
  19721. description: 成交价格
  19722. type: number
  19723. tradeqty:
  19724. description: 成交数量
  19725. type: number
  19726. userid:
  19727. description: 用户ID
  19728. type: integer
  19729. username:
  19730. description: 发起方
  19731. type: string
  19732. warehouseid:
  19733. description: 仓库ID
  19734. type: integer
  19735. warehousename:
  19736. description: 仓库名称
  19737. type: string
  19738. wrfactortypeid:
  19739. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19740. type: string
  19741. wrfactortypename:
  19742. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19743. type: string
  19744. wrpricetype:
  19745. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19746. type: integer
  19747. wrstandardcode:
  19748. description: 现货商品代码
  19749. type: string
  19750. wrstandardid:
  19751. description: 现货商品ID
  19752. type: integer
  19753. wrstandardname:
  19754. description: 商品名称
  19755. type: string
  19756. wrtradeorderid:
  19757. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19758. type: string
  19759. wrtradeorderstatus:
  19760. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19761. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19762. type: integer
  19763. wrtradetype:
  19764. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19765. type: integer
  19766. wrtypename:
  19767. description: 商品
  19768. type: string
  19769. type: object
  19770. models.WrSpotGroupTradeSum:
  19771. properties:
  19772. deliverygoodscode:
  19773. description: 现货品种代码
  19774. type: string
  19775. deliverygoodsid:
  19776. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19777. type: integer
  19778. deliverygoodsname:
  19779. description: 现货品种名称
  19780. type: string
  19781. lastavgprice:
  19782. description: 上上个交易日价格(前2天价格)
  19783. type: string
  19784. lastreckondate:
  19785. description: 上上个交易日(前2天交易日)
  19786. type: string
  19787. reckondate:
  19788. description: 上个交易日(前1天交易日)
  19789. type: string
  19790. todayavgprice:
  19791. description: 上个交易日价格(前1天价格)
  19792. type: string
  19793. updown:
  19794. description: 涨跌
  19795. type: string
  19796. updownratio:
  19797. description: 涨幅(已格式化, 直接显示即可)
  19798. type: string
  19799. type: object
  19800. models.WrSpotGroupTradeSumDetail:
  19801. properties:
  19802. deliverygoodsid:
  19803. description: 现货商品id
  19804. type: integer
  19805. price:
  19806. description: 价格
  19807. type: number
  19808. reckondate:
  19809. description: 日期(yyymmdd, 如:20211031)
  19810. type: string
  19811. type: object
  19812. models.WrSpotGroupTradeSumEx:
  19813. properties:
  19814. lst:
  19815. description: 指数列表
  19816. items:
  19817. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19818. type: array
  19819. prereckondate:
  19820. description: 上上个交易日(yyymmdd)
  19821. type: string
  19822. reckondate:
  19823. description: 上个交易日(yyyymmdd)
  19824. type: string
  19825. type: object
  19826. models.WrStandardFactoryItem:
  19827. properties:
  19828. dgfactoryitemid:
  19829. description: 选择项id
  19830. type: integer
  19831. dgfactoryitemvalue:
  19832. description: 要素项值
  19833. type: string
  19834. warehouseid:
  19835. description: 仓库id
  19836. type: integer
  19837. type: object
  19838. models.WrStandardFactoryItemEx:
  19839. properties:
  19840. dgfactoryitemtypeid:
  19841. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19842. type: integer
  19843. itemlst:
  19844. description: 要素项列表
  19845. items:
  19846. $ref: '#/definitions/models.WrStandardFactoryItem'
  19847. type: array
  19848. itemtypename:
  19849. description: 要素项类型名称
  19850. type: string
  19851. wrstandardid:
  19852. description: 品类
  19853. type: integer
  19854. type: object
  19855. models.WrTradeDetail:
  19856. properties:
  19857. accountid:
  19858. description: 资金账号
  19859. type: integer
  19860. bannerpicurl:
  19861. description: Banner图
  19862. type: string
  19863. begindate:
  19864. description: 开始交易日(yyyymmdd)
  19865. type: string
  19866. buyorsell:
  19867. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19868. type: integer
  19869. chargevalue:
  19870. description: 手续费
  19871. type: number
  19872. deliverygoodscode:
  19873. description: 品种代码
  19874. type: string
  19875. deliverygoodsid:
  19876. description: 品种ID
  19877. type: integer
  19878. deliverygoodsname:
  19879. description: 品种名称
  19880. type: string
  19881. deliverymonth:
  19882. description: 交收月
  19883. type: string
  19884. enddate:
  19885. description: 结束交易日(yyyymmdd)
  19886. type: string
  19887. enumdicname:
  19888. description: 单位名称
  19889. type: string
  19890. haswr:
  19891. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19892. type: integer
  19893. marketid:
  19894. description: 市场ID
  19895. type: integer
  19896. matchaccountid:
  19897. description: 对手账号
  19898. type: integer
  19899. matchusername:
  19900. description: 对手方
  19901. type: string
  19902. minivalue:
  19903. description: 现货商品最小变动值
  19904. type: integer
  19905. optioncompare:
  19906. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19907. type: string
  19908. thumurls:
  19909. description: 缩略图
  19910. type: string
  19911. tradedate:
  19912. description: 交易日(yyyyMMdd)
  19913. type: string
  19914. tradeprice:
  19915. description: 成交价格
  19916. type: number
  19917. tradeqty:
  19918. description: 成交数量
  19919. type: number
  19920. tradetime:
  19921. description: 成交时间
  19922. type: string
  19923. userid:
  19924. description: 用户ID
  19925. type: integer
  19926. warehouseid:
  19927. description: 仓库ID
  19928. type: integer
  19929. warehousename:
  19930. description: 仓库名称
  19931. type: string
  19932. wrfactortypeid:
  19933. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19934. type: string
  19935. wrfactortypename:
  19936. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19937. type: string
  19938. wrstandardcode:
  19939. description: 现货商品代码
  19940. type: string
  19941. wrstandardid:
  19942. description: 现货商品ID
  19943. type: integer
  19944. wrstandardname:
  19945. description: 商品名称
  19946. type: string
  19947. wrtradedetailid:
  19948. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19949. type: string
  19950. wrtradetype:
  19951. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19952. type: integer
  19953. wrtypename:
  19954. description: 商品
  19955. type: string
  19956. type: object
  19957. models.WrTradeOrderDetail:
  19958. properties:
  19959. buyorsell:
  19960. description: 买卖方向 0-买 1-卖
  19961. type: integer
  19962. goodsid:
  19963. description: 商品id
  19964. type: integer
  19965. orderid:
  19966. description: 委托单号
  19967. type: string
  19968. orderprice:
  19969. description: 期初均价
  19970. type: number
  19971. orderqty:
  19972. description: 委托数量
  19973. type: integer
  19974. userid:
  19975. description: 用户id
  19976. type: integer
  19977. username:
  19978. description: 用户名称(已脱敏)
  19979. type: string
  19980. type: object
  19981. models.WrTypeItem:
  19982. properties:
  19983. name:
  19984. description: 名称
  19985. type: string
  19986. value:
  19987. description: 值
  19988. type: string
  19989. type: object
  19990. models.WrUserFriend:
  19991. properties:
  19992. friendname:
  19993. description: 朋友名称(已脱敏)
  19994. type: string
  19995. frienduserid:
  19996. description: 朋友id
  19997. type: integer
  19998. isfriend:
  19999. description: 是否好友 0-不是 1-是
  20000. type: integer
  20001. userid:
  20002. description: 用户id
  20003. type: integer
  20004. type: object
  20005. models.WrUserReceiptInfo:
  20006. properties:
  20007. address:
  20008. description: 地址[发票类型:企业]
  20009. type: string
  20010. autoid:
  20011. description: AutoID
  20012. type: integer
  20013. contactinfo:
  20014. description: 联系方式
  20015. type: string
  20016. idnum:
  20017. description: 身份证号码[发票类型:个人]
  20018. type: string
  20019. isdefault:
  20020. description: 是否默认地址 - 0:否 1:是
  20021. type: integer
  20022. receiptaccount:
  20023. description: 发票帐号[发票类型:企业]
  20024. type: string
  20025. receiptbank:
  20026. description: 发票开户行[发票类型:企业]
  20027. type: string
  20028. receipttype:
  20029. description: 发票类型 - 1:个人 2:企业
  20030. type: integer
  20031. taxpayerid:
  20032. description: 纳税人识别号
  20033. type: string
  20034. userid:
  20035. description: 用户ID
  20036. type: integer
  20037. username:
  20038. description: 户名(个人姓名或企业名称)
  20039. type: string
  20040. type: object
  20041. models.Wrtradetradequote:
  20042. properties:
  20043. begindate:
  20044. description: 开始日期(结果含开始日期) yyyymmdd
  20045. type: string
  20046. buyaccountid:
  20047. description: 买方账号ID
  20048. type: integer
  20049. buyuserid:
  20050. description: 买方用户ID
  20051. type: integer
  20052. deliverygoodsid:
  20053. description: 现货品种ID
  20054. type: integer
  20055. enddate:
  20056. description: 结束日期(结果含结束日期) yyyymmdd
  20057. type: string
  20058. marketid:
  20059. description: 市场ID
  20060. type: integer
  20061. sellaccountid:
  20062. description: 卖方账号ID
  20063. type: integer
  20064. selluserid:
  20065. description: 卖方用户ID
  20066. type: integer
  20067. tradeamount:
  20068. description: 成交金额
  20069. type: number
  20070. tradedate:
  20071. description: 交易日(yyyyMMdd)
  20072. type: string
  20073. tradeprice:
  20074. description: 成交价格
  20075. type: number
  20076. tradeqty:
  20077. description: 成交数量
  20078. type: integer
  20079. tradetime:
  20080. description: 成交时间
  20081. type: string
  20082. wrfactortypeid:
  20083. description: 仓单要素类型ID
  20084. type: integer
  20085. wrstandardid:
  20086. description: 现货商品ID
  20087. type: integer
  20088. wrtradedetailid:
  20089. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20090. type: string
  20091. type: object
  20092. models.XHBRAND:
  20093. properties:
  20094. brandid:
  20095. description: 品牌id
  20096. type: integer
  20097. brandname:
  20098. description: 品牌名称
  20099. type: string
  20100. isvalid:
  20101. description: 是否有效 0-无效 1-有效
  20102. type: integer
  20103. type: object
  20104. models.XHDeliveryGoods:
  20105. properties:
  20106. areauserid:
  20107. description: 所属机构
  20108. type: integer
  20109. bdlst:
  20110. description: 品牌列表
  20111. items:
  20112. $ref: '#/definitions/models.XHBRAND'
  20113. type: array
  20114. deliverygoodscode:
  20115. description: 现货品种代码
  20116. type: string
  20117. deliverygoodsid:
  20118. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20119. type: integer
  20120. deliverygoodsname:
  20121. description: 现货品种名称
  20122. type: string
  20123. dgstatus:
  20124. description: 品种状态 - 作废 - 0:未激活 1:正常
  20125. type: integer
  20126. filterSubEmpty:
  20127. description: 过滤下级为空的
  20128. type: integer
  20129. isvalid:
  20130. description: 是否有效 - 0:无效 1:有效
  20131. type: integer
  20132. remark:
  20133. description: 备注
  20134. type: string
  20135. unitid:
  20136. description: 单位id(目前看,数据库中是空值)
  20137. type: integer
  20138. wdlst:
  20139. description: 品类(现货商品)列表
  20140. items:
  20141. $ref: '#/definitions/models.XHWrstandard'
  20142. type: array
  20143. type: object
  20144. models.XHMiddleGoods:
  20145. properties:
  20146. GPLST:
  20147. description: 期货品种列表
  20148. items:
  20149. $ref: '#/definitions/models.TBGoodsGroup'
  20150. type: array
  20151. convertratio:
  20152. description: 拆算系数
  20153. type: number
  20154. costratio:
  20155. description: 成本权重
  20156. type: number
  20157. deliverygoodsid:
  20158. description: 现货商品id
  20159. type: integer
  20160. enumdicname:
  20161. description: 单位名称
  20162. type: string
  20163. middlegoodscode:
  20164. description: 套保品种代码
  20165. type: string
  20166. middlegoodsid:
  20167. description: 套保品种id
  20168. type: integer
  20169. middlegoodsname:
  20170. description: 套保品种名称
  20171. type: string
  20172. unitid:
  20173. description: 单位id
  20174. type: integer
  20175. type: object
  20176. models.XHWrstandard:
  20177. properties:
  20178. bannerpicurl:
  20179. description: banner图
  20180. type: string
  20181. deliverygoodsid:
  20182. description: 品种ID
  20183. type: integer
  20184. enumdicname:
  20185. description: 单位名称
  20186. type: string
  20187. mglst:
  20188. description: 套保品列表
  20189. items:
  20190. $ref: '#/definitions/models.XHMiddleGoods'
  20191. type: array
  20192. pictureurls:
  20193. description: 详情图片(逗号分隔)
  20194. type: string
  20195. thumurls:
  20196. description: 缩略图片(1:1)(逗号分隔)
  20197. type: string
  20198. unitid:
  20199. description: 单位id
  20200. type: integer
  20201. vatrate:
  20202. description: 增值税率
  20203. type: number
  20204. wrstandardcode:
  20205. description: 现货商品代码
  20206. type: string
  20207. wrstandardid:
  20208. description: 现货商品ID(SEQ_WRSTANDARD)
  20209. type: integer
  20210. wrstandardname:
  20211. description: 现货商品名称
  20212. type: string
  20213. type: object
  20214. models.XhcpSellBackApplyEx:
  20215. properties:
  20216. applyremark:
  20217. description: 申请备注
  20218. type: string
  20219. expirytype:
  20220. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20221. type: integer
  20222. goodsspec:
  20223. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20224. type: integer
  20225. holeflag:
  20226. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20227. type: integer
  20228. isunopened:
  20229. description: 是否原封 - 1:否 2:是
  20230. type: integer
  20231. mpflag:
  20232. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20233. type: integer
  20234. openflag:
  20235. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20236. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20237. type: integer
  20238. phonenum:
  20239. description: 联系电话
  20240. type: string
  20241. userid:
  20242. description: 所属用户ID
  20243. type: integer
  20244. zpflag:
  20245. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20246. type: integer
  20247. required:
  20248. - userid
  20249. type: object
  20250. models.Xhcpsellbackapply:
  20251. properties:
  20252. applyid:
  20253. description: 申请人
  20254. type: integer
  20255. applyremark:
  20256. description: 申请备注
  20257. type: string
  20258. applysrc:
  20259. description: 申请来源 - 1:管理端 2:终端
  20260. type: integer
  20261. applystatus:
  20262. description: 申请状态 - 1:待确认 2:已处理
  20263. type: integer
  20264. applytime:
  20265. description: 申请时间
  20266. type: string
  20267. auditremark:
  20268. description: 审核备注
  20269. type: string
  20270. auditsrc:
  20271. description: 审核来源 - 1:管理端 2:终端
  20272. type: integer
  20273. expirytype:
  20274. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20275. type: integer
  20276. goodsspec:
  20277. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20278. type: integer
  20279. holeflag:
  20280. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20281. type: integer
  20282. isunopened:
  20283. description: 是否原封 - 1:否 2:是
  20284. type: integer
  20285. mpflag:
  20286. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20287. type: integer
  20288. openflag:
  20289. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20290. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20291. type: integer
  20292. phonenum:
  20293. description: 联系电话
  20294. type: string
  20295. sellbackapplyid:
  20296. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20297. type: string
  20298. userid:
  20299. description: 所属用户ID
  20300. type: integer
  20301. zpflag:
  20302. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20303. type: integer
  20304. required:
  20305. - userid
  20306. type: object
  20307. order.QueryHisTradeDetailRsp:
  20308. properties:
  20309. accountid:
  20310. description: 账户ID[报价币种]
  20311. type: integer
  20312. advanceratio:
  20313. description: 首付比率
  20314. type: number
  20315. buildtype:
  20316. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20317. type: integer
  20318. buyorsell:
  20319. description: 方向 - 0:买 1:卖
  20320. type: integer
  20321. charge:
  20322. description: 手续费
  20323. type: number
  20324. closecharge:
  20325. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20326. type: number
  20327. closeexchagechargevalue:
  20328. description: 平仓交易所手续费设置值
  20329. type: number
  20330. closefeealgorithm:
  20331. description: 平仓手续费收取方式 1:比率 2:固定
  20332. type: integer
  20333. closememberchargevalue:
  20334. description: 平仓会员手续费设置值
  20335. type: number
  20336. closepl:
  20337. description: 平仓盈亏
  20338. type: number
  20339. closepl2:
  20340. description: 平仓盈亏[逐笔]
  20341. type: number
  20342. closeqty:
  20343. description: 平仓数量(先建后平操作 需要记录)
  20344. type: number
  20345. creditamount:
  20346. description: 授信金额
  20347. type: number
  20348. decimalplace:
  20349. description: 商品报价小数位
  20350. type: integer
  20351. enumdicname:
  20352. description: 单位名称
  20353. type: string
  20354. gcaccountid:
  20355. description: 账户ID[合约币种]
  20356. type: integer
  20357. goodscode:
  20358. description: 商品代码
  20359. type: string
  20360. goodsid:
  20361. description: 商品ID
  20362. type: integer
  20363. goodsname:
  20364. description: 商品名称
  20365. type: string
  20366. goodunitid:
  20367. description: 商品单位id
  20368. type: integer
  20369. histradedate:
  20370. description: 历史交易日
  20371. type: string
  20372. intclosepl:
  20373. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20374. type: integer
  20375. isconfirmexercise:
  20376. description: 是否确认行权- 0:否 1:是
  20377. type: integer
  20378. ismain:
  20379. description: 是否主单 - 0:不是 1:是
  20380. type: integer
  20381. ispreexercise:
  20382. description: 是否预申报- 0:否 1:是
  20383. type: integer
  20384. isreckoned:
  20385. description: 是否结算 - 0:未结算 1:已结算
  20386. type: integer
  20387. isvaliddata:
  20388. description: 是否有效 - 0:无效 1:有效
  20389. type: integer
  20390. listingselecttype:
  20391. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20392. type: integer
  20393. marketid:
  20394. description: 市场ID
  20395. type: integer
  20396. marketname:
  20397. description: 市场名称
  20398. type: string
  20399. matchaccountid:
  20400. description: 对手账号id
  20401. type: integer
  20402. memberuserid:
  20403. description: 会员id 个人投资者 需要填写
  20404. type: integer
  20405. opencharge:
  20406. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20407. type: number
  20408. openexchagechargevalue:
  20409. description: 建仓交易所手续费设置值
  20410. type: number
  20411. openfeealgorithm:
  20412. description: 建仓手续费收取方式 1:比率 2:固定
  20413. type: integer
  20414. openmemberchargevalue:
  20415. description: 建仓会员手续费设置值
  20416. type: number
  20417. openqty:
  20418. description: 开仓数量(先建后平操作 需要记录)
  20419. type: number
  20420. optiontype:
  20421. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20422. type: integer
  20423. orderid:
  20424. description: 委托单号
  20425. type: string
  20426. payamount:
  20427. description: 支付金额(付款金额)
  20428. type: number
  20429. performanceplanid:
  20430. description: 履约计划ID[期权]
  20431. type: integer
  20432. performancestatus:
  20433. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20434. type: integer
  20435. preexerciseprice:
  20436. description: 预申报价格
  20437. type: number
  20438. premium:
  20439. description: 权利金 - [持仓单的权利金]
  20440. type: number
  20441. qtydecimalplace:
  20442. description: 商品报价小数位
  20443. type: integer
  20444. recvamount:
  20445. description: 到账金额 = 成交金额 - 手续费
  20446. type: number
  20447. relatedouttradeid:
  20448. description: 关联外部成交单ID
  20449. type: integer
  20450. status:
  20451. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20452. type: integer
  20453. totalamount:
  20454. description: 订单总额 = 成交金额 + 手续费
  20455. type: number
  20456. tradeamount:
  20457. description: 成交金额[账户币种,用于所有权]
  20458. type: number
  20459. tradedate:
  20460. description: 交易日(yyyyMMdd)
  20461. type: string
  20462. tradeid:
  20463. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20464. type: string
  20465. trademode:
  20466. description: 交易模式
  20467. type: integer
  20468. tradeprice:
  20469. description: 成交价格
  20470. type: number
  20471. tradeproperty:
  20472. description: 交易属性
  20473. type: integer
  20474. tradeqty:
  20475. description: 成交数量
  20476. type: number
  20477. tradetime:
  20478. description: 成交时间
  20479. type: string
  20480. tradetype:
  20481. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20482. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20483. type: integer
  20484. required:
  20485. - accountid
  20486. - buyorsell
  20487. - goodsid
  20488. - histradedate
  20489. - marketid
  20490. - memberuserid
  20491. - orderid
  20492. - tradeamount
  20493. - tradedate
  20494. - tradeid
  20495. - tradeprice
  20496. - tradeqty
  20497. - tradetime
  20498. type: object
  20499. order.QueryHisTradeOrderDetailRsp:
  20500. properties:
  20501. accountid:
  20502. description: 账户ID[报价币种]
  20503. type: integer
  20504. buildtype:
  20505. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20506. type: integer
  20507. buyorsell:
  20508. description: 买卖 - 0:买 1:卖
  20509. type: integer
  20510. cancelorderid:
  20511. description: 撤单单号(撤单时填写)
  20512. type: string
  20513. cancelqty:
  20514. description: 撤单数量
  20515. type: number
  20516. clientordertime:
  20517. description: 客户端委托时间
  20518. type: string
  20519. clientticket:
  20520. description: 客户端流水号
  20521. type: string
  20522. clienttype:
  20523. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20524. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20525. type: integer
  20526. closeexchagechargevalue:
  20527. description: 平仓交易所手续费设置值
  20528. type: number
  20529. closefeealgorithm:
  20530. description: 平仓手续费收取方式 1:比率 2:固定
  20531. type: integer
  20532. closefreezecharge:
  20533. description: 平仓冻结手续费(先建后平操作,需要记录)
  20534. type: number
  20535. closememberchargevalue:
  20536. description: 平仓会员手续费设置值
  20537. type: number
  20538. closeqty:
  20539. description: 平仓数量(先建后平操作 需要记录)
  20540. type: number
  20541. closetradeqty:
  20542. description: 平仓成交数量(先建后平操作,需要记录)
  20543. type: number
  20544. closeunfreezecharge:
  20545. description: 平仓解冻手续费(先建后平操作,需要记录)
  20546. type: number
  20547. decimalplace:
  20548. description: 商品报价小数位
  20549. type: integer
  20550. delistingtype:
  20551. description: 摘牌类型 - 1:价格最优 2:点选成交
  20552. type: integer
  20553. enumdicname:
  20554. description: 单位名称
  20555. type: string
  20556. freezecharge:
  20557. description: 冻结手续费
  20558. type: number
  20559. freezemargin:
  20560. description: 冻结保证金(冻结交易金额)
  20561. type: number
  20562. gcaccountid:
  20563. description: 账户ID[合约币种]
  20564. type: integer
  20565. goodscode:
  20566. description: 商品代码
  20567. type: string
  20568. goodsid:
  20569. description: 商品ID
  20570. type: integer
  20571. goodsname:
  20572. description: 商品名称
  20573. type: string
  20574. goodunitid:
  20575. description: 商品单位id
  20576. type: integer
  20577. histradedate:
  20578. description: 历史交易日
  20579. type: string
  20580. isconfirmexercise:
  20581. description: 是否确认行权- 0:否 1:是
  20582. type: integer
  20583. ispreexercise:
  20584. description: 是否预申报- 0:否 1:是
  20585. type: integer
  20586. isvaliddata:
  20587. description: 是否有效 - 0:无效 1:有效
  20588. type: integer
  20589. listingselecttype:
  20590. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20591. type: integer
  20592. marginalgorithm:
  20593. description: 保证金收取方式 1:比率 2:固定
  20594. type: integer
  20595. marginvalue:
  20596. description: 即市保证金设置值
  20597. type: number
  20598. marketid:
  20599. description: 市场ID
  20600. type: integer
  20601. marketmaxsub:
  20602. description: 市价最大偏移范围
  20603. type: number
  20604. marketname:
  20605. description: 市场名称
  20606. type: string
  20607. memberuserid:
  20608. description: 所属会员UserID
  20609. type: integer
  20610. openexchagechargevalue:
  20611. description: 建仓交易所手续费设置值
  20612. type: number
  20613. openfeealgorithm:
  20614. description: 建仓手续费收取方式 1:比率 2:固定
  20615. type: integer
  20616. openfreezecharge:
  20617. description: 开仓冻结手续费(先建后平操作,需要记录)
  20618. type: number
  20619. openmemberchargevalue:
  20620. description: 建仓会员手续费设置值
  20621. type: number
  20622. openqty:
  20623. description: 开仓数量(先建后平操作,需要记录)
  20624. type: number
  20625. opentradeqty:
  20626. description: 开仓成交数量(先建后平操作,需要记录)
  20627. type: number
  20628. openunfreezecharge:
  20629. description: 开仓解冻手续费(先建后平操作,需要记录)
  20630. type: number
  20631. operatetype:
  20632. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20633. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20634. 15:管理端协议转让
  20635. type: integer
  20636. operatorid:
  20637. description: 登录账号(LoginID)
  20638. type: integer
  20639. optiontype:
  20640. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20641. type: integer
  20642. orderid:
  20643. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20644. type: string
  20645. orderprice:
  20646. description: 委托价格
  20647. type: number
  20648. orderqty:
  20649. description: 委托数量
  20650. type: number
  20651. ordersrc:
  20652. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20653. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20654. type: integer
  20655. orderstatus:
  20656. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20657. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20658. 16:成交失败违约(荷兰式竞拍专用)
  20659. type: integer
  20660. ordertime:
  20661. description: 委托时间
  20662. type: string
  20663. preexerciseprice:
  20664. description: 预申报价格
  20665. type: number
  20666. premium:
  20667. description: 权利金
  20668. type: number
  20669. preorderid:
  20670. description: 关联预埋单号(止盈止损单时填写)
  20671. type: string
  20672. pricemode:
  20673. description: '取价方式 - 1:市价 2: 限价'
  20674. type: integer
  20675. qtydecimalplace:
  20676. description: 成交量小数位
  20677. type: integer
  20678. quoteid:
  20679. description: 报价单ID
  20680. type: integer
  20681. relatedid:
  20682. description: 关联单号(交割单)
  20683. type: string
  20684. retcode:
  20685. description: 错误代码
  20686. type: integer
  20687. sessionid:
  20688. description: 会话ID
  20689. type: integer
  20690. tradedate:
  20691. description: 交易日(yyyyMMdd)
  20692. type: string
  20693. trademode:
  20694. description: 交易模式
  20695. type: integer
  20696. tradeproperty:
  20697. description: 交易属性
  20698. type: integer
  20699. tradeqty:
  20700. description: 成交数量
  20701. type: number
  20702. unfreezecharge:
  20703. description: 解冻手续费
  20704. type: number
  20705. unfreezemargin:
  20706. description: 解冻保证金
  20707. type: number
  20708. updatetime:
  20709. description: 更新时间
  20710. type: string
  20711. uuid:
  20712. description: 发起端唯一id
  20713. type: string
  20714. validtime:
  20715. description: 有效期限
  20716. type: string
  20717. validtype:
  20718. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20719. type: integer
  20720. volumetype:
  20721. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20722. type: integer
  20723. required:
  20724. - accountid
  20725. - buildtype
  20726. - buyorsell
  20727. - goodsid
  20728. - histradedate
  20729. - marketid
  20730. - memberuserid
  20731. - operatetype
  20732. - orderid
  20733. - orderqty
  20734. - ordertime
  20735. - pricemode
  20736. - tradedate
  20737. - validtype
  20738. type: object
  20739. order.QueryTradeDetailRsp:
  20740. properties:
  20741. accountid:
  20742. description: 账户ID[报价币种]
  20743. type: integer
  20744. advanceratio:
  20745. description: 首付比率
  20746. type: number
  20747. buildtype:
  20748. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20749. type: integer
  20750. buyorsell:
  20751. description: 方向 - 0:买 1:卖
  20752. type: integer
  20753. charge:
  20754. description: 手续费
  20755. type: number
  20756. closecharge:
  20757. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20758. type: number
  20759. closeexchagechargevalue:
  20760. description: 平仓交易所手续费设置值
  20761. type: number
  20762. closefeealgorithm:
  20763. description: 平仓手续费收取方式 1:比率 2:固定
  20764. type: integer
  20765. closememberchargevalue:
  20766. description: 平仓会员手续费设置值
  20767. type: number
  20768. closepl:
  20769. description: 平仓盈亏
  20770. type: number
  20771. closepl2:
  20772. description: 平仓盈亏[逐笔]
  20773. type: number
  20774. closeqty:
  20775. description: 平仓数量(先建后平操作 需要记录)
  20776. type: number
  20777. creditamount:
  20778. description: 授信金额
  20779. type: number
  20780. decimalplace:
  20781. description: 商品报价小数位
  20782. type: integer
  20783. enumdicname:
  20784. description: 单位名称
  20785. type: string
  20786. gcaccountid:
  20787. description: 账户ID[合约币种]
  20788. type: integer
  20789. goodscode:
  20790. description: 商品代码
  20791. type: string
  20792. goodsid:
  20793. description: 商品ID
  20794. type: integer
  20795. goodsname:
  20796. description: 商品名称
  20797. type: string
  20798. goodunitid:
  20799. description: 商品单位id
  20800. type: integer
  20801. intclosepl:
  20802. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20803. type: integer
  20804. isconfirmexercise:
  20805. description: 是否确认行权- 0:否 1:是
  20806. type: integer
  20807. ismain:
  20808. description: 是否主单 - 0:不是 1:是
  20809. type: integer
  20810. ispreexercise:
  20811. description: 是否预申报- 0:否 1:是
  20812. type: integer
  20813. isreckoned:
  20814. description: 是否结算 - 0:未结算 1:已结算
  20815. type: integer
  20816. listingselecttype:
  20817. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20818. type: integer
  20819. marketid:
  20820. description: 市场ID
  20821. type: integer
  20822. marketname:
  20823. description: 市场名称
  20824. type: string
  20825. matchaccountid:
  20826. description: 对手账号id
  20827. type: integer
  20828. memberuserid:
  20829. description: 会员id 个人投资者 需要填写
  20830. type: integer
  20831. opencharge:
  20832. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20833. type: number
  20834. openexchagechargevalue:
  20835. description: 建仓交易所手续费设置值
  20836. type: number
  20837. openfeealgorithm:
  20838. description: 建仓手续费收取方式 1:比率 2:固定
  20839. type: integer
  20840. openmemberchargevalue:
  20841. description: 建仓会员手续费设置值
  20842. type: number
  20843. openqty:
  20844. description: 开仓数量(先建后平操作 需要记录)
  20845. type: number
  20846. optiontype:
  20847. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20848. type: integer
  20849. orderid:
  20850. description: 委托单号
  20851. type: string
  20852. payamount:
  20853. description: 支付金额(付款金额)
  20854. type: number
  20855. performanceplanid:
  20856. description: 履约计划ID[期权]
  20857. type: integer
  20858. performancestatus:
  20859. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20860. type: integer
  20861. preexerciseprice:
  20862. description: 预申报价格
  20863. type: number
  20864. premium:
  20865. description: 权利金 - [持仓单的权利金]
  20866. type: number
  20867. qtydecimalplace:
  20868. description: 商品报价小数位
  20869. type: integer
  20870. recvamount:
  20871. description: 到账金额 = 成交金额 - 手续费
  20872. type: number
  20873. relatedouttradeid:
  20874. description: 关联外部成交单ID
  20875. type: integer
  20876. status:
  20877. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20878. type: integer
  20879. totalamount:
  20880. description: 订单总额 = 成交金额 + 手续费
  20881. type: number
  20882. tradeamount:
  20883. description: 成交金额[账户币种,用于所有权]
  20884. type: number
  20885. tradedate:
  20886. description: 交易日(yyyyMMdd)
  20887. type: string
  20888. tradeid:
  20889. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20890. type: string
  20891. trademode:
  20892. description: 交易模式
  20893. type: integer
  20894. tradeprice:
  20895. description: 成交价格
  20896. type: number
  20897. tradeproperty:
  20898. description: 交易属性
  20899. type: integer
  20900. tradeqty:
  20901. description: 成交数量
  20902. type: number
  20903. tradetime:
  20904. description: 成交时间
  20905. type: string
  20906. tradetype:
  20907. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20908. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20909. type: integer
  20910. required:
  20911. - accountid
  20912. - buyorsell
  20913. - goodsid
  20914. - marketid
  20915. - memberuserid
  20916. - orderid
  20917. - tradeamount
  20918. - tradedate
  20919. - tradeid
  20920. - tradeprice
  20921. - tradeqty
  20922. - tradetime
  20923. type: object
  20924. order.QueryTradeOrderDetailRsp:
  20925. properties:
  20926. accountid:
  20927. description: 账户ID[报价币种]
  20928. type: integer
  20929. buildtype:
  20930. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20931. type: integer
  20932. buyorsell:
  20933. description: 买卖 - 0:买 1:卖
  20934. type: integer
  20935. cancelorderid:
  20936. description: 撤单单号(撤单时填写)
  20937. type: string
  20938. cancelqty:
  20939. description: 撤单数量
  20940. type: number
  20941. clienttype:
  20942. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20943. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20944. type: integer
  20945. closefreezecharge:
  20946. description: 平仓冻结手续费(先建后平操作,需要记录)
  20947. type: number
  20948. closeqty:
  20949. description: 平仓数量(先建后平操作 需要记录)
  20950. type: number
  20951. closetradeqty:
  20952. description: 平仓成交数量(先建后平操作,需要记录)
  20953. type: number
  20954. closeunfreezecharge:
  20955. description: 平仓解冻手续费(先建后平操作,需要记录)
  20956. type: number
  20957. decimalplace:
  20958. description: 商品报价小数位
  20959. type: integer
  20960. delistingtype:
  20961. description: 摘牌类型 - 1:价格最优 2:点选成交
  20962. type: integer
  20963. enableqty:
  20964. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20965. type: number
  20966. enumdicname:
  20967. description: 单位名称
  20968. type: string
  20969. freezecharge:
  20970. description: 冻结手续费
  20971. type: number
  20972. freezemargin:
  20973. description: 冻结保证金(冻结交易金额)
  20974. type: number
  20975. goodscode:
  20976. description: 商品代码
  20977. type: string
  20978. goodsid:
  20979. description: 商品ID
  20980. type: integer
  20981. goodsname:
  20982. description: 商品名称
  20983. type: string
  20984. goodunitid:
  20985. description: 商品单位id
  20986. type: integer
  20987. listingselecttype:
  20988. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20989. type: integer
  20990. marketid:
  20991. description: 市场ID
  20992. type: integer
  20993. marketname:
  20994. description: 市场名称
  20995. type: string
  20996. openfreezecharge:
  20997. description: 开仓冻结手续费(先建后平操作,需要记录)
  20998. type: number
  20999. openqty:
  21000. description: 开仓数量(先建后平操作,需要记录)
  21001. type: number
  21002. opentradeqty:
  21003. description: 开仓成交数量(先建后平操作,需要记录)
  21004. type: number
  21005. openunfreezecharge:
  21006. description: 开仓解冻手续费(先建后平操作,需要记录)
  21007. type: number
  21008. operatetype:
  21009. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21010. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21011. 15:管理端协议转让
  21012. type: integer
  21013. operatorid:
  21014. description: 登录账号(LoginID)
  21015. type: integer
  21016. orderid:
  21017. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21018. type: string
  21019. orderprice:
  21020. description: 委托价格
  21021. type: number
  21022. orderqty:
  21023. description: 委托数量
  21024. type: number
  21025. ordersrc:
  21026. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21027. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21028. type: integer
  21029. orderstatus:
  21030. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21031. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21032. 16:成交失败违约(荷兰式竞拍专用)
  21033. type: integer
  21034. ordertime:
  21035. description: 委托时间
  21036. type: string
  21037. preorderid:
  21038. description: 关联预埋单号(止盈止损单时填写)
  21039. type: string
  21040. pricemode:
  21041. description: '取价方式 - 1:市价 2: 限价'
  21042. type: integer
  21043. qtydecimalplace:
  21044. description: 商品报价小数位
  21045. type: integer
  21046. relatedid:
  21047. description: 关联单号(交割单)
  21048. type: string
  21049. tradedate:
  21050. description: 交易日(yyyyMMdd)
  21051. type: string
  21052. trademode:
  21053. description: 交易模式
  21054. type: integer
  21055. tradeqty:
  21056. description: 成交数量
  21057. type: number
  21058. unfreezecharge:
  21059. description: 解冻手续费
  21060. type: number
  21061. unfreezemargin:
  21062. description: 解冻保证金
  21063. type: number
  21064. validtime:
  21065. description: 有效期限
  21066. type: string
  21067. validtype:
  21068. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21069. type: integer
  21070. volumetype:
  21071. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21072. type: integer
  21073. required:
  21074. - accountid
  21075. - buildtype
  21076. - buyorsell
  21077. - goodsid
  21078. - marketid
  21079. - operatetype
  21080. - orderqty
  21081. - ordertime
  21082. - pricemode
  21083. - tradedate
  21084. - validtype
  21085. type: object
  21086. order.QueryTradePositionRsp:
  21087. properties:
  21088. accountid:
  21089. description: 资金账户
  21090. type: integer
  21091. agreeunit:
  21092. description: 合约单位
  21093. type: number
  21094. averageprice:
  21095. description: 持仓均价
  21096. type: number
  21097. buyorsell:
  21098. description: 方向 - 0:买 1:卖
  21099. type: integer
  21100. closetotalqty:
  21101. description: 平仓总数量
  21102. type: number
  21103. curholderamount:
  21104. description: 当前持仓总金额[商品币种]
  21105. type: number
  21106. curpositionqty:
  21107. description: 当前持仓总数量
  21108. type: number
  21109. currencyid:
  21110. description: 报价货币ID
  21111. type: integer
  21112. curtdposition:
  21113. description: 期末今日头寸
  21114. type: number
  21115. decimalplace:
  21116. description: 报价小数位
  21117. type: integer
  21118. enableqty:
  21119. description: 可用量
  21120. type: number
  21121. fretdposition:
  21122. description: 冻结今日头寸
  21123. type: number
  21124. frozenqty:
  21125. description: 持仓冻结数量
  21126. type: number
  21127. goodscode:
  21128. description: 商品代码
  21129. type: string
  21130. goodsid:
  21131. description: 商品Id
  21132. type: integer
  21133. goodsname:
  21134. description: 商品名称
  21135. type: string
  21136. goodunit:
  21137. description: 报价单位
  21138. type: string
  21139. goodunitid:
  21140. description: 报价单位ID
  21141. type: integer
  21142. holderamount:
  21143. description: 期初持仓总金额[商品币种]
  21144. type: number
  21145. lastprice:
  21146. description: 最新价
  21147. type: number
  21148. marketamount:
  21149. description: 市值
  21150. type: number
  21151. marketid:
  21152. description: 所属市场ID
  21153. type: integer
  21154. openreqqty:
  21155. description: 开仓申请数量(用于比较最大持仓数量)
  21156. type: number
  21157. opentotalqty:
  21158. description: 开仓总数量
  21159. type: number
  21160. otherfrozenqty:
  21161. description: 持仓其他冻结数量(交割冻结)
  21162. type: number
  21163. positionpl:
  21164. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21165. * 合约单位
  21166. type: number
  21167. positionplrate:
  21168. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21169. type: number
  21170. positionqty:
  21171. description: 期初持仓数量
  21172. type: number
  21173. qtydecimalplace:
  21174. description: 成交量小数位
  21175. type: integer
  21176. refgoodscode:
  21177. description: 参考商品代码
  21178. type: string
  21179. refgoodsid:
  21180. description: 参考商品ID
  21181. type: integer
  21182. tnqty:
  21183. description: T+N冻结总量
  21184. type: number
  21185. tnusedqty:
  21186. description: T+N使用量(可以使用T+N的冻结数量)
  21187. type: number
  21188. trademode:
  21189. description: 交易模式
  21190. type: integer
  21191. tradeproperty:
  21192. description: 交易属性
  21193. type: integer
  21194. usedmargin:
  21195. description: 占用保证金[商品币种]
  21196. type: number
  21197. required:
  21198. - goodsid
  21199. type: object
  21200. pb.GoodsMarginCfgStruct:
  21201. properties:
  21202. CustomerTypeID:
  21203. description: 投资者客户类型
  21204. type: integer
  21205. GoodsID:
  21206. description: 商品ID
  21207. type: integer
  21208. IsDefault:
  21209. description: 是否默认标志位
  21210. type: integer
  21211. LockMarginValue:
  21212. description: 锁仓保证金
  21213. type: number
  21214. MarginAlgorithm:
  21215. description: 保证金计算方式
  21216. type: integer
  21217. MarketMarginValue:
  21218. description: 即市保证金值
  21219. type: number
  21220. RealMarginAlgorithm:
  21221. description: 实付保证金计算方式
  21222. type: integer
  21223. RealMarginValue:
  21224. description: 实付比例
  21225. type: number
  21226. ReckonMarginValue:
  21227. description: 结算保证金值
  21228. type: number
  21229. type: object
  21230. quote.HistoryData:
  21231. properties:
  21232. c:
  21233. description: 收盘价
  21234. type: number
  21235. f:
  21236. description: 是否补充数据
  21237. type: boolean
  21238. h:
  21239. description: 最高价
  21240. type: number
  21241. hv:
  21242. description: 持仓量
  21243. type: integer
  21244. l:
  21245. description: 最低价
  21246. type: number
  21247. o:
  21248. description: 开盘价
  21249. type: number
  21250. s:
  21251. description: 结算价,日线周期(包括)以上才有
  21252. type: number
  21253. ts:
  21254. description: 时间
  21255. type: string
  21256. tt:
  21257. description: 总金额
  21258. type: number
  21259. tv:
  21260. description: 总量(成交量)
  21261. type: integer
  21262. type: object
  21263. quote.HistoryTikData:
  21264. properties:
  21265. AV:
  21266. description: 卖量
  21267. type: integer
  21268. Ask:
  21269. description: 卖价
  21270. type: number
  21271. BV:
  21272. description: 买量
  21273. type: integer
  21274. Bid:
  21275. description: 买价
  21276. type: number
  21277. HI:
  21278. description: 单笔持仓
  21279. type: integer
  21280. HV:
  21281. description: 持仓量
  21282. type: integer
  21283. PE:
  21284. description: 现价
  21285. type: number
  21286. TDR:
  21287. description: 交易方向,0:买 1:卖
  21288. type: integer
  21289. TK:
  21290. description: 交易类型
  21291. type: integer
  21292. TS:
  21293. description: 行情时间文本
  21294. type: string
  21295. TT:
  21296. description: 现金额
  21297. type: number
  21298. Vol:
  21299. description: 现量
  21300. type: integer
  21301. type: object
  21302. quote.QueryQuoteDayRsp:
  21303. properties:
  21304. ask:
  21305. description: 卖1
  21306. type: number
  21307. ask2:
  21308. description: 卖2
  21309. type: number
  21310. ask3:
  21311. description: 卖3
  21312. type: number
  21313. ask4:
  21314. description: 卖4
  21315. type: number
  21316. ask5:
  21317. description: 卖5
  21318. type: number
  21319. ask6:
  21320. description: 卖6
  21321. type: number
  21322. ask7:
  21323. description: 卖7
  21324. type: number
  21325. ask8:
  21326. description: 卖8
  21327. type: number
  21328. ask9:
  21329. description: 卖9
  21330. type: number
  21331. ask10:
  21332. description: 卖10
  21333. type: number
  21334. askorderid:
  21335. description: 卖单号1
  21336. type: integer
  21337. askorderid2:
  21338. description: 卖单号2
  21339. type: integer
  21340. askorderid3:
  21341. description: 卖单号3
  21342. type: integer
  21343. askorderid4:
  21344. description: 卖单号4
  21345. type: integer
  21346. askorderid5:
  21347. description: 卖单号5
  21348. type: integer
  21349. askordervolume:
  21350. description: 卖单量1
  21351. type: integer
  21352. askordervolume2:
  21353. description: 卖单量2
  21354. type: integer
  21355. askordervolume3:
  21356. description: 卖单量3
  21357. type: integer
  21358. askordervolume4:
  21359. description: 卖单量4
  21360. type: integer
  21361. askordervolume5:
  21362. description: 卖单量5
  21363. type: integer
  21364. askordervolume6:
  21365. description: 卖单量6
  21366. type: integer
  21367. askordervolume7:
  21368. description: 卖单量7
  21369. type: integer
  21370. askordervolume8:
  21371. description: 卖单量8
  21372. type: integer
  21373. askordervolume9:
  21374. description: 卖单量9
  21375. type: integer
  21376. askordervolume10:
  21377. description: 卖单量10
  21378. type: integer
  21379. askqueueinfo:
  21380. description: 大利市卖港股用
  21381. type: string
  21382. askvolume:
  21383. description: 卖量1
  21384. type: integer
  21385. askvolume2:
  21386. description: 卖量2
  21387. type: integer
  21388. askvolume3:
  21389. description: 卖量3
  21390. type: integer
  21391. askvolume4:
  21392. description: 卖量4
  21393. type: integer
  21394. askvolume5:
  21395. description: 卖量5
  21396. type: integer
  21397. askvolume6:
  21398. description: 卖量6
  21399. type: integer
  21400. askvolume7:
  21401. description: 卖量7
  21402. type: integer
  21403. askvolume8:
  21404. description: 卖量8
  21405. type: integer
  21406. askvolume9:
  21407. description: 卖量9
  21408. type: integer
  21409. askvolume10:
  21410. description: 卖量10
  21411. type: integer
  21412. averageprice:
  21413. description: 均价
  21414. type: number
  21415. bid:
  21416. description: 买1
  21417. type: number
  21418. bid2:
  21419. description: 买2
  21420. type: number
  21421. bid3:
  21422. description: 买3
  21423. type: number
  21424. bid4:
  21425. description: 买4
  21426. type: number
  21427. bid5:
  21428. description: 买5
  21429. type: number
  21430. bid6:
  21431. description: 买6
  21432. type: number
  21433. bid7:
  21434. description: 买7
  21435. type: number
  21436. bid8:
  21437. description: 买8
  21438. type: number
  21439. bid9:
  21440. description: 买9
  21441. type: number
  21442. bid10:
  21443. description: 买10
  21444. type: number
  21445. bidorderid:
  21446. description: 买单号1
  21447. type: integer
  21448. bidorderid2:
  21449. description: 买单号2
  21450. type: integer
  21451. bidorderid3:
  21452. description: 买单号3
  21453. type: integer
  21454. bidorderid4:
  21455. description: 买单号4
  21456. type: integer
  21457. bidorderid5:
  21458. description: 买单号5
  21459. type: integer
  21460. bidordervolume:
  21461. description: 买单量1
  21462. type: integer
  21463. bidordervolume2:
  21464. description: 买单量2
  21465. type: integer
  21466. bidordervolume3:
  21467. description: 买单量3
  21468. type: integer
  21469. bidordervolume4:
  21470. description: 买单量4
  21471. type: integer
  21472. bidordervolume5:
  21473. description: 买单量5
  21474. type: integer
  21475. bidordervolume6:
  21476. description: 买单量6
  21477. type: integer
  21478. bidordervolume7:
  21479. description: 买单量7
  21480. type: integer
  21481. bidordervolume8:
  21482. description: 买单量8
  21483. type: integer
  21484. bidordervolume9:
  21485. description: 买单量9
  21486. type: integer
  21487. bidordervolume10:
  21488. description: 买单量10
  21489. type: integer
  21490. bidqueueinfo:
  21491. description: 大利市买港股用
  21492. type: string
  21493. bidvolume:
  21494. description: 买量1
  21495. type: integer
  21496. bidvolume2:
  21497. description: 买量2
  21498. type: integer
  21499. bidvolume3:
  21500. description: 买量3
  21501. type: integer
  21502. bidvolume4:
  21503. description: 买量4
  21504. type: integer
  21505. bidvolume5:
  21506. description: 买量5
  21507. type: integer
  21508. bidvolume6:
  21509. description: 买量6
  21510. type: integer
  21511. bidvolume7:
  21512. description: 买量7
  21513. type: integer
  21514. bidvolume8:
  21515. description: 买量8
  21516. type: integer
  21517. bidvolume9:
  21518. description: 买量9
  21519. type: integer
  21520. bidvolume10:
  21521. description: 买量10
  21522. type: integer
  21523. calloptionpremiums:
  21524. description: 认购期权1
  21525. type: integer
  21526. calloptionpremiums2:
  21527. description: 认购期权2
  21528. type: integer
  21529. calloptionpremiums3:
  21530. description: 认购期权3
  21531. type: integer
  21532. calloptionpremiums4:
  21533. description: 认购期权4
  21534. type: integer
  21535. calloptionpremiums5:
  21536. description: 认购期权5
  21537. type: integer
  21538. cleartime:
  21539. description: 清盘时间
  21540. type: integer
  21541. exchangecode:
  21542. description: 交易所代码
  21543. type: integer
  21544. exchangedate:
  21545. description: 交易日
  21546. type: integer
  21547. goodscode:
  21548. description: 商品代码
  21549. type: string
  21550. grepmarketprice:
  21551. description: 暗盘价 港股专用
  21552. type: number
  21553. highest:
  21554. description: 最高价
  21555. type: number
  21556. holdincrement:
  21557. description: 单笔持仓
  21558. type: integer
  21559. holdvolume:
  21560. description: 持仓
  21561. type: integer
  21562. iep:
  21563. description: 平衡价 港股专用
  21564. type: number
  21565. iev:
  21566. description: 平衡量 港股专用
  21567. type: number
  21568. inventory:
  21569. description: 库存
  21570. type: integer
  21571. iscleared:
  21572. description: 是否清盘标志
  21573. type: integer
  21574. issettled:
  21575. description: 是否结算标志
  21576. type: integer
  21577. last:
  21578. description: 最新价
  21579. type: number
  21580. lastlot:
  21581. description: 最新成交手数
  21582. type: integer
  21583. lasttime:
  21584. description: 行情时间(只有现价变化行情时间才变化)
  21585. type: string
  21586. lastturnover:
  21587. description: 最新成交金额
  21588. type: number
  21589. lastvolume:
  21590. description: 最新成交量
  21591. type: integer
  21592. limitdown:
  21593. description: 跌停价
  21594. type: number
  21595. limitup:
  21596. description: 涨停价
  21597. type: number
  21598. lowest:
  21599. description: 最低价
  21600. type: number
  21601. nontotalholdervolume:
  21602. description: 非交易持仓量
  21603. type: integer
  21604. nontotallot:
  21605. description: 非交易总手数
  21606. type: integer
  21607. nontotalturnover:
  21608. description: 非交易总金额
  21609. type: integer
  21610. nontotalvolume:
  21611. description: 非交易总量
  21612. type: integer
  21613. opened:
  21614. description: 开盘价
  21615. type: number
  21616. opentime:
  21617. description: 开盘时间
  21618. type: string
  21619. orderid:
  21620. description: 序号
  21621. type: integer
  21622. preclose:
  21623. description: 昨收
  21624. type: number
  21625. preholdvolume:
  21626. description: 昨持仓
  21627. type: integer
  21628. presettle:
  21629. description: 昨结价
  21630. type: number
  21631. publictradetype:
  21632. description: 公共交易标志类型 港股专用
  21633. type: string
  21634. putoptionpremiums:
  21635. description: 认沽期权1
  21636. type: integer
  21637. putoptionpremiums2:
  21638. description: 认沽期权2
  21639. type: integer
  21640. putoptionpremiums3:
  21641. description: 认沽期权3
  21642. type: integer
  21643. putoptionpremiums4:
  21644. description: 认沽期权4
  21645. type: integer
  21646. putoptionpremiums5:
  21647. description: 认沽期权5
  21648. type: integer
  21649. settle:
  21650. description: 结算价
  21651. type: number
  21652. strikeprice:
  21653. description: 发行价
  21654. type: number
  21655. totalaskvolume:
  21656. description: 内盘
  21657. type: integer
  21658. totalbidvolume:
  21659. description: 外盘
  21660. type: integer
  21661. totallot:
  21662. description: 总手数
  21663. type: integer
  21664. totalturnover:
  21665. description: 总金额
  21666. type: number
  21667. totalvolume:
  21668. description: 总量
  21669. type: integer
  21670. utclasttime:
  21671. description: utc的行情时间
  21672. type: string
  21673. type: object
  21674. quote.QueryTSDataRsp:
  21675. properties:
  21676. Count:
  21677. description: 交易日应有数据个数
  21678. type: integer
  21679. decimalPlace:
  21680. description: 小数位
  21681. type: integer
  21682. endTime:
  21683. description: 结束时间
  21684. type: string
  21685. goodsCode:
  21686. description: 商品代码
  21687. type: string
  21688. historyDatas:
  21689. description: 历史数据
  21690. items:
  21691. $ref: '#/definitions/quote.HistoryData'
  21692. type: array
  21693. outGoodsCode:
  21694. description: 外部商品代码
  21695. type: string
  21696. preSettle:
  21697. description: 昨结价
  21698. type: number
  21699. runSteps:
  21700. description: 交易日开休市计划
  21701. items:
  21702. $ref: '#/definitions/quote.TSDataRunStep'
  21703. type: array
  21704. startTime:
  21705. description: 开始时间
  21706. type: string
  21707. tradeDate:
  21708. description: 交易日
  21709. type: string
  21710. type: object
  21711. quote.TSDataRunStep:
  21712. properties:
  21713. end:
  21714. description: 真实结束时间
  21715. type: string
  21716. endflag:
  21717. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21718. type: integer
  21719. endtime:
  21720. description: 结束时间(HH:mm)
  21721. type: string
  21722. endweekday:
  21723. description: 结束周几
  21724. type: integer
  21725. groupid:
  21726. description: 分组ID
  21727. type: integer
  21728. runstep:
  21729. description: 运行阶段 - 2:连续交易
  21730. type: integer
  21731. sectionid:
  21732. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21733. 结束时间=结算时间 结束周几=结算周几
  21734. type: integer
  21735. start:
  21736. description: 真实开始时间
  21737. type: string
  21738. startflag:
  21739. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21740. type: integer
  21741. starttime:
  21742. description: 起始时间(HH:mm)
  21743. type: string
  21744. startweekday:
  21745. description: 起始周几
  21746. type: integer
  21747. tradeweekday:
  21748. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21749. type: integer
  21750. type: object
  21751. szdz.QueryConvertLogRsp:
  21752. properties:
  21753. accountid:
  21754. description: 资金账户ID
  21755. type: integer
  21756. clientticket:
  21757. description: 客户端流水号
  21758. type: string
  21759. converttype:
  21760. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21761. type: integer
  21762. createtime:
  21763. description: 记账时间
  21764. type: string
  21765. daymaxvalue:
  21766. description: 配置当日最大转入限制
  21767. type: number
  21768. daymaxvalue2:
  21769. description: 配置当日最大转入限制(转入)
  21770. type: number
  21771. goodscode:
  21772. description: 商品代码
  21773. type: string
  21774. goodsname:
  21775. description: 商品名称
  21776. type: string
  21777. handlestatus:
  21778. description: 处理状态
  21779. type: integer
  21780. innergoodsid:
  21781. description: 内部商品ID
  21782. type: integer
  21783. inratio:
  21784. description: 配置转入比值
  21785. type: integer
  21786. invalue:
  21787. description: 目标值
  21788. type: number
  21789. logid:
  21790. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21791. type: integer
  21792. mobile:
  21793. description: 手机号码(加密存储)
  21794. type: string
  21795. outergoodscode:
  21796. description: 外部商品代码[JD\PD]
  21797. type: string
  21798. outratio:
  21799. description: 配置转出比值
  21800. type: integer
  21801. outvalue:
  21802. description: 源值
  21803. type: number
  21804. pddecimalplace:
  21805. description: PD小数位
  21806. type: integer
  21807. qty:
  21808. description: 数量
  21809. type: string
  21810. remark:
  21811. description: 备注
  21812. type: string
  21813. sessionid:
  21814. description: 会话ID
  21815. type: integer
  21816. timemaxvalue:
  21817. description: 配置单次最大转入限制
  21818. type: number
  21819. timemaxvalue2:
  21820. description: 配置单次最大转入限制(转入)
  21821. type: number
  21822. timeminvalue:
  21823. description: 配置单次最小数量限制
  21824. type: number
  21825. timeminvalue2:
  21826. description: 配置单次最小数量限制(转入)
  21827. type: number
  21828. tradedate:
  21829. description: 交易日(yyyyMMdd)
  21830. type: string
  21831. userid:
  21832. description: 用户ID
  21833. type: integer
  21834. required:
  21835. - logid
  21836. type: object
  21837. szdz.QueryGoodsPickupRsp:
  21838. properties:
  21839. accountid:
  21840. description: 账户ID
  21841. type: integer
  21842. address:
  21843. description: 提货人详细地址
  21844. type: string
  21845. auditer:
  21846. description: 审核人
  21847. type: integer
  21848. audittime:
  21849. description: 审核时间
  21850. type: string
  21851. cardnum:
  21852. description: 提货人证件号码
  21853. type: string
  21854. cardtypeid:
  21855. description: 提货人证件类型
  21856. type: integer
  21857. checkremark:
  21858. description: 审核备注
  21859. type: string
  21860. goodscode:
  21861. description: 商品代码
  21862. type: string
  21863. goodsid:
  21864. description: 商品ID
  21865. type: integer
  21866. goodsname:
  21867. description: 商品名称
  21868. type: string
  21869. handlestatus:
  21870. description: 处理状态
  21871. type: integer
  21872. marketid:
  21873. description: 市场ID
  21874. type: integer
  21875. phonenum:
  21876. description: 提货人联系方式
  21877. type: string
  21878. qty:
  21879. description: 提货数量
  21880. type: number
  21881. recivername:
  21882. description: 提货人姓名
  21883. type: string
  21884. reqtime:
  21885. description: 更新时间
  21886. type: string
  21887. takemode:
  21888. description: 提货方式 - 2:自提 3:配送
  21889. type: integer
  21890. takeorderid:
  21891. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21892. type: string
  21893. takeorderstatus:
  21894. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21895. type: integer
  21896. takeremark:
  21897. description: 提货备注
  21898. type: string
  21899. tradedate:
  21900. description: 交易日(yyyyMMdd)
  21901. type: string
  21902. userid:
  21903. description: 用户ID
  21904. type: integer
  21905. required:
  21906. - takeorderid
  21907. type: object
  21908. szdz.QueryRecieptOrderRsp:
  21909. properties:
  21910. accountName:
  21911. description: 所属账号名称(已脱敏)
  21912. type: string
  21913. accountid:
  21914. description: 资金账号
  21915. type: integer
  21916. buyorsell:
  21917. description: 方向 - 0:买 1:卖
  21918. type: integer
  21919. enableqty:
  21920. description: 可摘数量
  21921. type: integer
  21922. goodscode:
  21923. description: 商品代码
  21924. type: string
  21925. goodsid:
  21926. description: 商品ID
  21927. type: integer
  21928. goodsname:
  21929. description: 商品名称
  21930. type: string
  21931. orderid:
  21932. description: 委托单号
  21933. type: string
  21934. orderprice:
  21935. description: 委托价格
  21936. type: number
  21937. ordertime:
  21938. description: 委托时间
  21939. type: string
  21940. tradedate:
  21941. description: 交易日(yyyyMMdd)
  21942. type: string
  21943. required:
  21944. - ordertime
  21945. type: object
  21946. szdz.QuerySZDZTradePositionRsp:
  21947. properties:
  21948. accountid:
  21949. description: 账号Id
  21950. type: integer
  21951. agreeunit:
  21952. description: 合约单位
  21953. type: number
  21954. averageprice:
  21955. description: 持仓均价
  21956. type: number
  21957. buyorsell:
  21958. description: 方向 - 0:买 1:卖
  21959. type: integer
  21960. closetotalqty:
  21961. description: 平仓总数量
  21962. type: integer
  21963. curholderamount:
  21964. description: 当前持仓总金额
  21965. type: number
  21966. curpositionqty:
  21967. description: 当前持仓总数量
  21968. type: integer
  21969. currencyid:
  21970. description: 报价货币ID
  21971. type: integer
  21972. curtdposition:
  21973. description: 期末今日头寸
  21974. type: integer
  21975. decimalplace:
  21976. description: 报价小数位
  21977. type: integer
  21978. enableqty:
  21979. description: 可用量
  21980. type: integer
  21981. fretdposition:
  21982. description: 冻结今日头寸
  21983. type: integer
  21984. frozenqty:
  21985. description: 持仓冻结数量
  21986. type: integer
  21987. goodscode:
  21988. description: 商品代码(内部)
  21989. type: string
  21990. goodsid:
  21991. description: 商品Id
  21992. type: integer
  21993. goodsname:
  21994. description: 商品名称
  21995. type: string
  21996. goodunit:
  21997. description: 报价单位
  21998. type: string
  21999. goodunitid:
  22000. description: 报价单位ID
  22001. type: integer
  22002. holderamount:
  22003. description: 期初持仓总金额
  22004. type: number
  22005. marketid:
  22006. description: 市场ID
  22007. type: integer
  22008. openreqqty:
  22009. description: 开仓申请数量
  22010. type: integer
  22011. opentotalqty:
  22012. description: 开仓总数量
  22013. type: integer
  22014. otherfrozenqty:
  22015. description: 持仓其他冻结数量(交割冻结)
  22016. type: integer
  22017. positionqty:
  22018. description: 期初持仓数量
  22019. type: integer
  22020. szdz3freezqty:
  22021. description: 尚志大宗转换冻结总数量
  22022. type: integer
  22023. tnqty:
  22024. description: T+N冻结总量
  22025. type: integer
  22026. tnusedqty:
  22027. description: T+N使用量
  22028. type: integer
  22029. trademode:
  22030. description: 交易模式
  22031. type: integer
  22032. usedmargin:
  22033. description: 占用保证金
  22034. type: number
  22035. type: object
  22036. taaccount.QueryAmountLogRsp:
  22037. properties:
  22038. OPERATETYPENAME:
  22039. description: 资金操作类型名称
  22040. type: string
  22041. accountid:
  22042. description: 资金账户ID
  22043. type: integer
  22044. agoodscode:
  22045. description: 竞拍商品代码
  22046. type: string
  22047. agoodsname:
  22048. description: 竞拍商品名称
  22049. type: string
  22050. amount:
  22051. description: 资金金额
  22052. type: number
  22053. amountadjusttype:
  22054. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22055. type: integer
  22056. autoid:
  22057. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22058. type: integer
  22059. balance:
  22060. description: 期初余额
  22061. type: number
  22062. businesscode:
  22063. description: 业务编号
  22064. type: integer
  22065. createtime:
  22066. description: 发生时间
  22067. type: string
  22068. currencyid:
  22069. description: 币种ID
  22070. type: integer
  22071. currentbalance:
  22072. description: 期末余额(变动后金额)
  22073. type: number
  22074. dgoodscode:
  22075. description: 交割商品代码
  22076. type: string
  22077. dgoodsname:
  22078. description: 交割商品名称
  22079. type: string
  22080. goodscode:
  22081. description: 商品代码
  22082. type: string
  22083. goodsid:
  22084. description: 商品ID
  22085. type: integer
  22086. goodsname:
  22087. description: 商品名称
  22088. type: string
  22089. marketid:
  22090. description: 市场ID
  22091. type: integer
  22092. marketname:
  22093. description: 市场名称
  22094. type: string
  22095. moneyticket:
  22096. description: 资金流水号:银行端流水号
  22097. type: integer
  22098. operatetype:
  22099. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22100. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22101. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22102. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22103. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22104. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22105. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22106. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22107. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22108. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22109. type: integer
  22110. relationorderid:
  22111. description: 关联单号
  22112. type: string
  22113. remark:
  22114. description: 备注
  22115. type: string
  22116. trademode:
  22117. description: 交易模式
  22118. type: integer
  22119. required:
  22120. - accountid
  22121. - amount
  22122. - amountadjusttype
  22123. - autoid
  22124. - balance
  22125. - createtime
  22126. - currentbalance
  22127. - operatetype
  22128. type: object
  22129. taaccount.QueryHisAmountLogRsp:
  22130. properties:
  22131. OPERATETYPENAME:
  22132. description: 资金操作类型名称
  22133. type: string
  22134. accountid:
  22135. description: 资金账户ID
  22136. type: integer
  22137. agoodscode:
  22138. description: 竞拍商品代码
  22139. type: string
  22140. agoodsname:
  22141. description: 竞拍商品名称
  22142. type: string
  22143. amount:
  22144. description: 资金金额
  22145. type: number
  22146. amountadjusttype:
  22147. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22148. type: integer
  22149. autoid:
  22150. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22151. type: integer
  22152. balance:
  22153. description: 期初余额
  22154. type: number
  22155. businesscode:
  22156. description: 业务编号
  22157. type: integer
  22158. createtime:
  22159. description: 发生时间
  22160. type: string
  22161. currencyid:
  22162. description: 币种ID
  22163. type: integer
  22164. currentbalance:
  22165. description: 期末余额(变动后金额)
  22166. type: number
  22167. dgoodscode:
  22168. description: 交割商品代码
  22169. type: string
  22170. dgoodsname:
  22171. description: 交割商品名称
  22172. type: string
  22173. goodscode:
  22174. description: 商品代码
  22175. type: string
  22176. goodsid:
  22177. description: 商品ID
  22178. type: integer
  22179. goodsname:
  22180. description: 商品名称
  22181. type: string
  22182. histradedate:
  22183. description: 历史交易日
  22184. type: string
  22185. isvaliddata:
  22186. description: 是否有效 - 0:无效 1:有效
  22187. type: integer
  22188. marketid:
  22189. description: 市场ID
  22190. type: integer
  22191. marketname:
  22192. description: 市场名称
  22193. type: string
  22194. moneyticket:
  22195. description: 资金流水号:银行端流水号
  22196. type: integer
  22197. operatetype:
  22198. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22199. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22200. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22201. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22202. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22203. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22204. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22205. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22206. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22207. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22208. type: integer
  22209. relationorderid:
  22210. description: 关联单号
  22211. type: string
  22212. remark:
  22213. description: 备注
  22214. type: string
  22215. trademode:
  22216. description: 交易模式
  22217. type: integer
  22218. required:
  22219. - accountid
  22220. - amount
  22221. - amountadjusttype
  22222. - autoid
  22223. - balance
  22224. - createtime
  22225. - currentbalance
  22226. - histradedate
  22227. - operatetype
  22228. type: object
  22229. trade.QueryRecieptOrderRsp:
  22230. properties:
  22231. accountName:
  22232. description: 所属账号名称(已脱敏)
  22233. type: string
  22234. accountid:
  22235. description: 资金账号
  22236. type: integer
  22237. buyorsell:
  22238. description: 方向 - 0:买 1:卖
  22239. type: integer
  22240. enableqty:
  22241. description: 可摘数量
  22242. type: integer
  22243. goodscode:
  22244. description: 商品代码
  22245. type: string
  22246. goodsid:
  22247. description: 商品ID
  22248. type: integer
  22249. goodsname:
  22250. description: 商品名称
  22251. type: string
  22252. orderid:
  22253. description: 委托单号
  22254. type: string
  22255. orderprice:
  22256. description: 委托价格
  22257. type: number
  22258. ordertime:
  22259. description: 委托时间
  22260. type: string
  22261. tradedate:
  22262. description: 交易日(yyyyMMdd)
  22263. type: string
  22264. required:
  22265. - ordertime
  22266. type: object
  22267. user.LoginQueryRsp:
  22268. properties:
  22269. areaRoles:
  22270. description: 所属角色信息
  22271. items:
  22272. $ref: '#/definitions/models.Arearole'
  22273. type: array
  22274. externalExchanges:
  22275. description: 外部交易所
  22276. items:
  22277. $ref: '#/definitions/models.Externalexchange'
  22278. type: array
  22279. goodsgroups:
  22280. description: 商品组
  22281. items:
  22282. $ref: '#/definitions/models.Goodsgroup'
  22283. type: array
  22284. loginAccount:
  22285. $ref: '#/definitions/models.Loginaccount'
  22286. description: 登录账号
  22287. markets:
  22288. description: 市场
  22289. items:
  22290. $ref: '#/definitions/models.Market'
  22291. type: array
  22292. systemParams:
  22293. description: 系统参数
  22294. items:
  22295. $ref: '#/definitions/models.Systemparam'
  22296. type: array
  22297. userAccount:
  22298. $ref: '#/definitions/models.Useraccount'
  22299. description: 用户账号
  22300. userInfo:
  22301. $ref: '#/definitions/models.Userinfo'
  22302. description: 用户信息
  22303. username:
  22304. description: 用户姓名
  22305. type: string
  22306. type: object
  22307. info:
  22308. contact: {}
  22309. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22310. termsOfService: http://www.muchinfo.cn
  22311. title: MTP2.0 查询服务 API
  22312. version: "1.0"
  22313. paths:
  22314. /CPTrade/QueryCPTradeMyBidInfos:
  22315. get:
  22316. parameters:
  22317. - description: 资金账户
  22318. in: query
  22319. name: accountid
  22320. required: true
  22321. type: integer
  22322. - description: 预售市场ID
  22323. in: query
  22324. name: marketid
  22325. type: integer
  22326. - description: 预售商品ID
  22327. in: query
  22328. name: goodsid
  22329. type: integer
  22330. produces:
  22331. - application/json
  22332. responses:
  22333. "200":
  22334. description: OK
  22335. schema:
  22336. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22337. "500":
  22338. description: Internal Server Error
  22339. schema:
  22340. $ref: '#/definitions/app.Response'
  22341. security:
  22342. - ApiKeyAuth: []
  22343. summary: 查询产能预售我的出价信息
  22344. tags:
  22345. - 产能预售
  22346. /CPTrade/QueryCPTradeOrderDetail:
  22347. get:
  22348. parameters:
  22349. - description: 预售商品ID
  22350. in: query
  22351. name: goodsid
  22352. type: integer
  22353. - description: 预售市场ID
  22354. in: query
  22355. name: marketid
  22356. type: integer
  22357. - description: 预售商品ID列表 - 格式:1,2,3
  22358. in: query
  22359. name: goodsids
  22360. type: string
  22361. produces:
  22362. - application/json
  22363. responses:
  22364. "200":
  22365. description: OK
  22366. schema:
  22367. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询产能预售委托单信息
  22375. tags:
  22376. - 产能预售
  22377. /CPTrade/QueryMyCPTradeGoods:
  22378. get:
  22379. parameters:
  22380. - description: 资金账户
  22381. in: query
  22382. name: accountid
  22383. required: true
  22384. type: integer
  22385. produces:
  22386. - application/json
  22387. responses:
  22388. "200":
  22389. description: OK
  22390. schema:
  22391. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22392. "500":
  22393. description: Internal Server Error
  22394. schema:
  22395. $ref: '#/definitions/app.Response'
  22396. security:
  22397. - ApiKeyAuth: []
  22398. summary: 查询我的预售信息
  22399. tags:
  22400. - 产能预售
  22401. /CPTrade/QueryPositionCancel:
  22402. get:
  22403. parameters:
  22404. - description: 账户ID
  22405. in: query
  22406. name: userid
  22407. required: true
  22408. type: integer
  22409. - description: 注销ID
  22410. in: query
  22411. name: cancelid
  22412. type: integer
  22413. - description: 资金账户ID
  22414. in: query
  22415. name: accountid
  22416. type: integer
  22417. produces:
  22418. - application/json
  22419. responses:
  22420. "200":
  22421. description: OK
  22422. schema:
  22423. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22424. "500":
  22425. description: Internal Server Error
  22426. schema:
  22427. $ref: '#/definitions/app.Response'
  22428. security:
  22429. - ApiKeyAuth: []
  22430. summary: 查询远期订单注销申请信息
  22431. tags:
  22432. - 产能预售
  22433. /CPTrade/QueryPreasleApply:
  22434. get:
  22435. parameters:
  22436. - description: 账户ID
  22437. in: query
  22438. name: userid
  22439. required: true
  22440. type: integer
  22441. - description: 申请ID
  22442. in: query
  22443. name: applyid
  22444. type: integer
  22445. - description: 资金账户ID
  22446. in: query
  22447. name: accountid
  22448. type: integer
  22449. produces:
  22450. - application/json
  22451. responses:
  22452. "200":
  22453. description: OK
  22454. schema:
  22455. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22456. "500":
  22457. description: Internal Server Error
  22458. schema:
  22459. $ref: '#/definitions/app.Response'
  22460. security:
  22461. - ApiKeyAuth: []
  22462. summary: 查询产能预售申请信息
  22463. tags:
  22464. - 产能预售
  22465. /CPTrade/QueryPresaleGoodsEx:
  22466. get:
  22467. parameters:
  22468. - description: 预售商品ID
  22469. in: query
  22470. name: goodsid
  22471. type: integer
  22472. - description: 预售市场ID
  22473. in: query
  22474. name: marketid
  22475. type: integer
  22476. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22477. in: query
  22478. name: presalemode
  22479. type: integer
  22480. - description: 预售商品ID列表 - 格式:1,2,3
  22481. in: query
  22482. name: goodsids
  22483. type: string
  22484. - description: 预售商品代码
  22485. in: query
  22486. name: goodscode
  22487. type: string
  22488. produces:
  22489. - application/json
  22490. responses:
  22491. "200":
  22492. description: OK
  22493. schema:
  22494. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 查询产能预售商品扩展信息
  22502. tags:
  22503. - 产能预售
  22504. /CPTrade/QueryUserGoodsData:
  22505. get:
  22506. parameters:
  22507. - description: 资金账户ID
  22508. in: query
  22509. name: accountid
  22510. required: true
  22511. type: integer
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22519. "500":
  22520. description: Internal Server Error
  22521. schema:
  22522. $ref: '#/definitions/app.Response'
  22523. security:
  22524. - ApiKeyAuth: []
  22525. summary: 查询远期订单信息
  22526. tags:
  22527. - 产能预售
  22528. /Common/DeleteNewFuncmenu:
  22529. delete:
  22530. consumes:
  22531. - application/json
  22532. parameters:
  22533. - description: 菜单表数据,只需要resourcecode字段即可
  22534. in: body
  22535. name: data
  22536. required: true
  22537. schema:
  22538. $ref: '#/definitions/models.NewFuncmenulist'
  22539. produces:
  22540. - application/json
  22541. responses:
  22542. "200":
  22543. description: OK
  22544. schema:
  22545. $ref: '#/definitions/app.Response'
  22546. "500":
  22547. description: Internal Server Error
  22548. schema:
  22549. $ref: '#/definitions/app.Response'
  22550. security:
  22551. - ApiKeyAuth: []
  22552. summary: 删除菜单表数据
  22553. tags:
  22554. - 通用服务
  22555. /Common/FindNewFuncmenu:
  22556. get:
  22557. parameters:
  22558. - description: 资源代码
  22559. in: query
  22560. name: resourcecode
  22561. type: string
  22562. - description: 上级资源代码
  22563. in: query
  22564. name: parentcode
  22565. type: string
  22566. - description: 资源名(Title), 模糊查询
  22567. in: query
  22568. name: resourcename
  22569. type: string
  22570. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22571. in: query
  22572. name: menutype
  22573. type: string
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. items:
  22581. $ref: '#/definitions/models.NewFuncmenulist'
  22582. type: array
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 获取菜单表数据
  22590. tags:
  22591. - 通用服务
  22592. /Common/GetAllEnums:
  22593. get:
  22594. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22595. parameters:
  22596. - description: 起始自增ID
  22597. in: query
  22598. name: autoid
  22599. type: integer
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. $ref: '#/definitions/models.Enumdicitem'
  22607. "500":
  22608. description: Internal Server Error
  22609. schema:
  22610. $ref: '#/definitions/app.Response'
  22611. summary: 获取所有枚举信息
  22612. tags:
  22613. - 通用服务
  22614. /Common/GetClientMenus:
  22615. get:
  22616. parameters:
  22617. - description: 登录账号
  22618. in: query
  22619. name: loginID
  22620. required: true
  22621. type: integer
  22622. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22623. in: query
  22624. name: clientType
  22625. type: integer
  22626. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22627. in: query
  22628. name: name
  22629. type: string
  22630. produces:
  22631. - application/json
  22632. responses:
  22633. "200":
  22634. description: OK
  22635. schema:
  22636. items:
  22637. $ref: '#/definitions/common.ClientMenu'
  22638. type: array
  22639. "500":
  22640. description: Internal Server Error
  22641. schema:
  22642. $ref: '#/definitions/app.Response'
  22643. security:
  22644. - ApiKeyAuth: []
  22645. summary: 获取交易端菜单
  22646. tags:
  22647. - 通用服务
  22648. /Common/GetClientNewFuncmenu:
  22649. get:
  22650. parameters:
  22651. - description: 登录账号
  22652. in: query
  22653. name: loginid
  22654. required: true
  22655. type: integer
  22656. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22657. in: query
  22658. name: menutype
  22659. required: true
  22660. type: integer
  22661. produces:
  22662. - application/json
  22663. responses:
  22664. "200":
  22665. description: OK
  22666. schema:
  22667. items:
  22668. $ref: '#/definitions/models.NewFuncmenulist'
  22669. type: array
  22670. "500":
  22671. description: Internal Server Error
  22672. schema:
  22673. $ref: '#/definitions/app.Response'
  22674. security:
  22675. - ApiKeyAuth: []
  22676. summary: 获取终端菜单
  22677. tags:
  22678. - 通用服务
  22679. /Common/GetDivisions:
  22680. get:
  22681. produces:
  22682. - application/json
  22683. responses:
  22684. "200":
  22685. description: OK
  22686. schema:
  22687. $ref: '#/definitions/models.Division'
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. summary: 查询区域信息
  22693. tags:
  22694. - 通用服务
  22695. /Common/GetPCWebMenus:
  22696. get:
  22697. parameters:
  22698. - description: 登录账号
  22699. in: query
  22700. name: loginID
  22701. required: true
  22702. type: integer
  22703. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22704. in: query
  22705. name: name
  22706. type: string
  22707. produces:
  22708. - application/json
  22709. responses:
  22710. "200":
  22711. description: OK
  22712. schema:
  22713. items:
  22714. $ref: '#/definitions/common.PCWebMenu'
  22715. type: array
  22716. "500":
  22717. description: Internal Server Error
  22718. schema:
  22719. $ref: '#/definitions/app.Response'
  22720. security:
  22721. - ApiKeyAuth: []
  22722. summary: 获取PCWeb交易端菜单
  22723. tags:
  22724. - 通用服务
  22725. /Common/GetServerTime:
  22726. get:
  22727. produces:
  22728. - application/json
  22729. responses:
  22730. "200":
  22731. description: OK
  22732. schema:
  22733. $ref: '#/definitions/app.Response'
  22734. "500":
  22735. description: Internal Server Error
  22736. schema:
  22737. $ref: '#/definitions/app.Response'
  22738. summary: 获取服务器时间
  22739. tags:
  22740. - 通用服务
  22741. /Common/InsertNewFuncmenu:
  22742. post:
  22743. consumes:
  22744. - application/json
  22745. parameters:
  22746. - description: 菜单表数据
  22747. in: body
  22748. name: data
  22749. required: true
  22750. schema:
  22751. $ref: '#/definitions/models.NewFuncmenulist'
  22752. produces:
  22753. - application/json
  22754. responses:
  22755. "200":
  22756. description: OK
  22757. schema:
  22758. $ref: '#/definitions/app.Response'
  22759. "500":
  22760. description: Internal Server Error
  22761. schema:
  22762. $ref: '#/definitions/app.Response'
  22763. security:
  22764. - ApiKeyAuth: []
  22765. summary: 插入菜单表数据
  22766. tags:
  22767. - 通用服务
  22768. /Common/NoticeReaded:
  22769. post:
  22770. parameters:
  22771. - description: 登录账号
  22772. in: query
  22773. name: loginID
  22774. required: true
  22775. type: integer
  22776. - description: 通知公告ID
  22777. in: query
  22778. name: noticeID
  22779. required: true
  22780. type: integer
  22781. produces:
  22782. - application/json
  22783. responses:
  22784. "200":
  22785. description: OK
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. "500":
  22789. description: Internal Server Error
  22790. schema:
  22791. $ref: '#/definitions/app.Response'
  22792. security:
  22793. - ApiKeyAuth: []
  22794. summary: 通知公告设置已读请求
  22795. tags:
  22796. - 通用服务
  22797. /Common/QueryErrorInfos:
  22798. get:
  22799. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22800. parameters:
  22801. - description: 起始行号前索引
  22802. in: query
  22803. name: rowNumber
  22804. type: string
  22805. produces:
  22806. - application/json
  22807. responses:
  22808. "200":
  22809. description: OK
  22810. schema:
  22811. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22812. "500":
  22813. description: Internal Server Error
  22814. schema:
  22815. $ref: '#/definitions/app.Response'
  22816. summary: 获取数据库错误信息
  22817. tags:
  22818. - 通用服务
  22819. /Common/QueryImageConfigs:
  22820. get:
  22821. parameters:
  22822. - description: 用户id
  22823. in: query
  22824. name: userId
  22825. type: integer
  22826. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22827. in: query
  22828. name: imageType
  22829. type: integer
  22830. produces:
  22831. - application/json
  22832. responses:
  22833. "200":
  22834. description: OK
  22835. schema:
  22836. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22837. "500":
  22838. description: Internal Server Error
  22839. schema:
  22840. $ref: '#/definitions/app.Response'
  22841. summary: 查询轮播图配置信息
  22842. tags:
  22843. - 通用服务
  22844. /Common/QueryNotice:
  22845. get:
  22846. parameters:
  22847. - description: 页码
  22848. in: query
  22849. name: page
  22850. type: integer
  22851. - description: 每页条数
  22852. in: query
  22853. name: pagesize
  22854. type: integer
  22855. - description: 登录账号
  22856. in: query
  22857. name: loginID
  22858. required: true
  22859. type: integer
  22860. - description: 消息类型 - 1:公告通知 2:系统消息
  22861. in: query
  22862. name: msgType
  22863. type: integer
  22864. - description: 是否只获取未读信息
  22865. in: query
  22866. name: onlyUnRead
  22867. type: boolean
  22868. - description: 自增ID,传入后会返回这个ID后面的记录
  22869. in: query
  22870. name: lastID
  22871. type: integer
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. $ref: '#/definitions/common.QueryNoticeRsp'
  22879. "500":
  22880. description: Internal Server Error
  22881. schema:
  22882. $ref: '#/definitions/app.Response'
  22883. security:
  22884. - ApiKeyAuth: []
  22885. summary: 通知公告系统消息查询
  22886. tags:
  22887. - 通用服务
  22888. /Common/QueryProvincesAndCities:
  22889. get:
  22890. parameters:
  22891. - description: 省ID
  22892. in: query
  22893. name: provinceID
  22894. type: integer
  22895. produces:
  22896. - application/json
  22897. responses:
  22898. "200":
  22899. description: OK
  22900. schema:
  22901. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22902. "500":
  22903. description: Internal Server Error
  22904. schema:
  22905. $ref: '#/definitions/app.Response'
  22906. summary: 查询省市信息(不包括区)
  22907. tags:
  22908. - 通用服务
  22909. /Common/QueryRates:
  22910. get:
  22911. parameters:
  22912. - description: 页码
  22913. in: query
  22914. name: page
  22915. type: integer
  22916. - description: 每页条数
  22917. in: query
  22918. name: pagesize
  22919. type: integer
  22920. - description: 源币种ID
  22921. in: query
  22922. name: oricurrencyid
  22923. type: integer
  22924. - description: 目标币种ID
  22925. in: query
  22926. name: descurrencyid
  22927. type: integer
  22928. produces:
  22929. - application/json
  22930. responses:
  22931. "200":
  22932. description: OK
  22933. schema:
  22934. items:
  22935. $ref: '#/definitions/models.Exchangerateconfig'
  22936. type: array
  22937. "500":
  22938. description: Internal Server Error
  22939. schema:
  22940. $ref: '#/definitions/app.Response'
  22941. security:
  22942. - ApiKeyAuth: []
  22943. - LoginID: []
  22944. - Group: []
  22945. summary: 查询汇率信息
  22946. tags:
  22947. - 通用服务
  22948. /Common/QueryTableDefine:
  22949. get:
  22950. parameters:
  22951. - description: 表key
  22952. in: query
  22953. name: tableKey
  22954. type: string
  22955. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22956. in: query
  22957. name: tableType
  22958. type: integer
  22959. produces:
  22960. - application/json
  22961. responses:
  22962. "200":
  22963. description: OK
  22964. schema:
  22965. $ref: '#/definitions/common.QueryTableDefineRsp'
  22966. "500":
  22967. description: Internal Server Error
  22968. schema:
  22969. $ref: '#/definitions/app.Response'
  22970. summary: 查询交易端列表头信息
  22971. tags:
  22972. - 通用服务
  22973. /Common/QueryTraderMenu:
  22974. get:
  22975. parameters:
  22976. - description: 登录账号
  22977. in: query
  22978. name: loginid
  22979. required: true
  22980. type: integer
  22981. produces:
  22982. - application/json
  22983. responses:
  22984. "200":
  22985. description: OK
  22986. schema:
  22987. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22988. "500":
  22989. description: Internal Server Error
  22990. schema:
  22991. $ref: '#/definitions/app.Response'
  22992. summary: 查询交易端菜单
  22993. tags:
  22994. - 通用服务
  22995. /Common/UpdateNewFuncmenu:
  22996. put:
  22997. consumes:
  22998. - application/json
  22999. parameters:
  23000. - description: 菜单表数据
  23001. in: body
  23002. name: data
  23003. required: true
  23004. schema:
  23005. $ref: '#/definitions/models.NewFuncmenulist'
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. $ref: '#/definitions/app.Response'
  23013. "500":
  23014. description: Internal Server Error
  23015. schema:
  23016. $ref: '#/definitions/app.Response'
  23017. security:
  23018. - ApiKeyAuth: []
  23019. summary: 更新菜单表数据
  23020. tags:
  23021. - 通用服务
  23022. /Delivery/QueryDeliveryRelation:
  23023. get:
  23024. parameters:
  23025. - description: 商品ID
  23026. in: query
  23027. name: goodsid
  23028. type: integer
  23029. - description: 品种ID
  23030. in: query
  23031. name: deliverygoodsid
  23032. type: integer
  23033. - description: 市场ID
  23034. in: query
  23035. name: marketid
  23036. type: integer
  23037. produces:
  23038. - application/json
  23039. responses:
  23040. "200":
  23041. description: OK
  23042. schema:
  23043. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23044. "500":
  23045. description: Internal Server Error
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. security:
  23049. - ApiKeyAuth: []
  23050. summary: 查询商品交割关系表
  23051. tags:
  23052. - 交割服务
  23053. /Ermcp/GetErmcpGoods:
  23054. get:
  23055. parameters:
  23056. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23057. in: query
  23058. name: userid
  23059. type: integer
  23060. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23061. in: query
  23062. name: lastUpdateTime
  23063. type: string
  23064. produces:
  23065. - application/json
  23066. responses:
  23067. "200":
  23068. description: OK
  23069. schema:
  23070. $ref: '#/definitions/models.ErmcpGoods'
  23071. "500":
  23072. description: Internal Server Error
  23073. schema:
  23074. $ref: '#/definitions/app.Response'
  23075. security:
  23076. - ApiKeyAuth: []
  23077. summary: 查询企业风管期货商品信息
  23078. tags:
  23079. - 企业风险管理(app)
  23080. /Ermcp/GetErmcpGoodsSortByPosition:
  23081. get:
  23082. parameters:
  23083. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23084. in: query
  23085. name: sortIndex
  23086. type: string
  23087. produces:
  23088. - application/json
  23089. responses:
  23090. "200":
  23091. description: OK
  23092. schema:
  23093. $ref: '#/definitions/models.Goodssortbypreposition'
  23094. "500":
  23095. description: Internal Server Error
  23096. schema:
  23097. $ref: '#/definitions/app.Response'
  23098. security:
  23099. - ApiKeyAuth: []
  23100. summary: 查询企业风管期货主力、次主力商品信息
  23101. tags:
  23102. - 企业风险管理(app)
  23103. /Ermcp/GetErmcpOutAccountStatus:
  23104. get:
  23105. parameters:
  23106. - description: 登录账号
  23107. in: query
  23108. name: loginID
  23109. required: true
  23110. type: integer
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. $ref: '#/definitions/models.Hedgemarketopenlog'
  23118. "500":
  23119. description: Internal Server Error
  23120. schema:
  23121. $ref: '#/definitions/app.Response'
  23122. security:
  23123. - ApiKeyAuth: []
  23124. summary: 获取目标登录账号当前对冲账号在线状态
  23125. tags:
  23126. - 企业风险管理(app)
  23127. /Ermcp/GetErmcpRoleFuncMenuLists:
  23128. get:
  23129. parameters:
  23130. - description: 登录账号
  23131. in: query
  23132. name: loginID
  23133. required: true
  23134. type: integer
  23135. produces:
  23136. - application/json
  23137. responses:
  23138. "200":
  23139. description: OK
  23140. schema:
  23141. $ref: '#/definitions/models.Funcmenulist'
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 获取企业风管终端权限
  23149. tags:
  23150. - 企业风险管理(app)
  23151. /Ermcp/QueryAccMgrBizGroupSet:
  23152. get:
  23153. parameters:
  23154. - description: 用户ID
  23155. in: query
  23156. name: userid
  23157. required: true
  23158. type: integer
  23159. - description: 现货商品id
  23160. in: query
  23161. name: deliverygoodsid
  23162. type: integer
  23163. produces:
  23164. - application/json
  23165. responses:
  23166. "200":
  23167. description: OK
  23168. schema:
  23169. items:
  23170. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23171. type: array
  23172. "500":
  23173. description: Internal Server Error
  23174. schema:
  23175. $ref: '#/definitions/app.Response'
  23176. security:
  23177. - ApiKeyAuth: []
  23178. summary: 查询业务类型分组(账户管理/账户设置)
  23179. tags:
  23180. - 企业风险管理(app)
  23181. /Ermcp/QueryAccMgrLoginUser:
  23182. get:
  23183. parameters:
  23184. - description: 用户ID
  23185. in: query
  23186. name: userid
  23187. required: true
  23188. type: integer
  23189. - description: 用户类型 2-机构 7-企业成员
  23190. in: query
  23191. name: usertype
  23192. type: integer
  23193. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23194. in: query
  23195. name: querytype
  23196. required: true
  23197. type: integer
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. items:
  23205. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23206. type: array
  23207. "500":
  23208. description: Internal Server Error
  23209. schema:
  23210. $ref: '#/definitions/app.Response'
  23211. security:
  23212. - ApiKeyAuth: []
  23213. summary: 查询账户管理登录账号(账户管理/登录账号)
  23214. tags:
  23215. - 企业风险管理(app)
  23216. /Ermcp/QueryAccMgrMainAccountInfo:
  23217. get:
  23218. parameters:
  23219. - description: 用户ID
  23220. in: query
  23221. name: userid
  23222. type: integer
  23223. - description: 主账号id
  23224. in: query
  23225. name: accountid
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. items:
  23234. $ref: '#/definitions/models.MainAccountInfo'
  23235. type: array
  23236. "500":
  23237. description: Internal Server Error
  23238. schema:
  23239. $ref: '#/definitions/app.Response'
  23240. security:
  23241. - ApiKeyAuth: []
  23242. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23243. tags:
  23244. - 企业风险管理(app)
  23245. /Ermcp/QueryAccMgrRole:
  23246. get:
  23247. parameters:
  23248. - description: 用户ID
  23249. in: query
  23250. name: userid
  23251. required: true
  23252. type: integer
  23253. produces:
  23254. - application/json
  23255. responses:
  23256. "200":
  23257. description: OK
  23258. schema:
  23259. items:
  23260. $ref: '#/definitions/models.ErmcpRole'
  23261. type: array
  23262. "500":
  23263. description: Internal Server Error
  23264. schema:
  23265. $ref: '#/definitions/app.Response'
  23266. security:
  23267. - ApiKeyAuth: []
  23268. summary: 查询账户管理角色设置(账户管理/角色设置)
  23269. tags:
  23270. - 企业风险管理(app)
  23271. /Ermcp/QueryAccMgrRoleMenu:
  23272. get:
  23273. parameters:
  23274. - description: 用户ID
  23275. in: query
  23276. name: userid
  23277. required: true
  23278. type: integer
  23279. - description: 角色id(可多个,逗号隔开)
  23280. in: query
  23281. name: roleid
  23282. type: string
  23283. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23284. in: query
  23285. name: menutype
  23286. type: integer
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. items:
  23294. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23295. type: array
  23296. "500":
  23297. description: Internal Server Error
  23298. schema:
  23299. $ref: '#/definitions/app.Response'
  23300. security:
  23301. - ApiKeyAuth: []
  23302. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23303. tags:
  23304. - 企业风险管理(app)
  23305. /Ermcp/QueryAccMgrTaAccountInfo:
  23306. get:
  23307. parameters:
  23308. - description: 用户ID
  23309. in: query
  23310. name: userid
  23311. required: true
  23312. type: integer
  23313. - description: 账号id
  23314. in: query
  23315. name: accountid
  23316. type: integer
  23317. produces:
  23318. - application/json
  23319. responses:
  23320. "200":
  23321. description: OK
  23322. schema:
  23323. items:
  23324. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23325. type: array
  23326. "500":
  23327. description: Internal Server Error
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. security:
  23331. - ApiKeyAuth: []
  23332. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23333. tags:
  23334. - 企业风险管理(app)
  23335. /Ermcp/QueryAccMgrTaaccount:
  23336. get:
  23337. parameters:
  23338. - description: 用户ID
  23339. in: query
  23340. name: userid
  23341. required: true
  23342. type: integer
  23343. produces:
  23344. - application/json
  23345. responses:
  23346. "200":
  23347. description: OK
  23348. schema:
  23349. items:
  23350. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23351. type: array
  23352. "500":
  23353. description: Internal Server Error
  23354. schema:
  23355. $ref: '#/definitions/app.Response'
  23356. security:
  23357. - ApiKeyAuth: []
  23358. summary: 查询账户管理期货账号(账户管理/期货账号)
  23359. tags:
  23360. - 企业风险管理(app)
  23361. /Ermcp/QueryAvaildGoodsGroup:
  23362. get:
  23363. parameters:
  23364. - description: 所属机构ID
  23365. in: query
  23366. name: userid
  23367. required: true
  23368. type: integer
  23369. produces:
  23370. - application/json
  23371. responses:
  23372. "200":
  23373. description: OK
  23374. schema:
  23375. items:
  23376. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23377. type: array
  23378. "500":
  23379. description: Internal Server Error
  23380. schema:
  23381. $ref: '#/definitions/app.Response'
  23382. security:
  23383. - ApiKeyAuth: []
  23384. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23385. tags:
  23386. - 企业风险管理(app)
  23387. /Ermcp/QueryBusinessDj:
  23388. get:
  23389. parameters:
  23390. - description: 用户ID
  23391. in: query
  23392. name: UserId
  23393. required: true
  23394. type: integer
  23395. - description: 用户类型 2-机构 7-企业成员
  23396. in: query
  23397. name: usertype
  23398. type: integer
  23399. - description: 现货合同ID, 不填则查所有
  23400. in: query
  23401. name: relatedid
  23402. type: string
  23403. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23404. in: query
  23405. name: applystatus
  23406. type: string
  23407. produces:
  23408. - application/json
  23409. responses:
  23410. "200":
  23411. description: OK
  23412. schema:
  23413. items:
  23414. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23415. type: array
  23416. "500":
  23417. description: Internal Server Error
  23418. schema:
  23419. $ref: '#/definitions/app.Response'
  23420. security:
  23421. - ApiKeyAuth: []
  23422. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23423. tags:
  23424. - 企业风险管理(app)
  23425. /Ermcp/QueryBusinessFp:
  23426. get:
  23427. parameters:
  23428. - description: 用户ID
  23429. in: query
  23430. name: UserId
  23431. required: true
  23432. type: integer
  23433. - description: 用户类型 2-机构 7-企业成员
  23434. in: query
  23435. name: usertype
  23436. type: integer
  23437. - description: 现货合同ID, 不填则查所有
  23438. in: query
  23439. name: relatedid
  23440. type: string
  23441. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23442. in: query
  23443. name: applystatus
  23444. type: string
  23445. produces:
  23446. - application/json
  23447. responses:
  23448. "200":
  23449. description: OK
  23450. schema:
  23451. items:
  23452. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23453. type: array
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23461. tags:
  23462. - 企业风险管理(app)
  23463. /Ermcp/QueryBusinessJs:
  23464. get:
  23465. parameters:
  23466. - description: 用户ID
  23467. in: query
  23468. name: UserId
  23469. required: true
  23470. type: integer
  23471. - description: 用户类型 2-机构 7-企业成员
  23472. in: query
  23473. name: usertype
  23474. type: integer
  23475. - description: 现货合同ID, 不填则查所有
  23476. in: query
  23477. name: relatedid
  23478. type: string
  23479. - description: 操作申请id
  23480. in: query
  23481. name: operateapplyid
  23482. type: string
  23483. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23484. in: query
  23485. name: applystatus
  23486. type: string
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. items:
  23494. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23495. type: array
  23496. "500":
  23497. description: Internal Server Error
  23498. schema:
  23499. $ref: '#/definitions/app.Response'
  23500. security:
  23501. - ApiKeyAuth: []
  23502. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23503. tags:
  23504. - 企业风险管理(app)
  23505. /Ermcp/QueryBusinessJsEx:
  23506. get:
  23507. parameters:
  23508. - description: 用户ID
  23509. in: query
  23510. name: UserId
  23511. required: true
  23512. type: integer
  23513. - description: 用户类型 2-机构 7-企业成员
  23514. in: query
  23515. name: usertype
  23516. type: integer
  23517. - description: 现货合同ID, 不填则查所有
  23518. in: query
  23519. name: relatedid
  23520. type: string
  23521. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23522. in: query
  23523. name: applystatus
  23524. type: string
  23525. produces:
  23526. - application/json
  23527. responses:
  23528. "200":
  23529. description: OK
  23530. schema:
  23531. items:
  23532. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23533. type: array
  23534. "500":
  23535. description: Internal Server Error
  23536. schema:
  23537. $ref: '#/definitions/app.Response'
  23538. security:
  23539. - ApiKeyAuth: []
  23540. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23541. tags:
  23542. - 企业风险管理(app)
  23543. /Ermcp/QueryBusinessKx:
  23544. get:
  23545. parameters:
  23546. - description: 用户ID
  23547. in: query
  23548. name: UserId
  23549. required: true
  23550. type: integer
  23551. - description: 用户类型 2-机构 7-企业成员
  23552. in: query
  23553. name: usertype
  23554. type: integer
  23555. - description: 现货合同ID, 不填则查所有
  23556. in: query
  23557. name: relatedid
  23558. type: string
  23559. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23560. in: query
  23561. name: applystatus
  23562. type: string
  23563. produces:
  23564. - application/json
  23565. responses:
  23566. "200":
  23567. description: OK
  23568. schema:
  23569. items:
  23570. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23571. type: array
  23572. "500":
  23573. description: Internal Server Error
  23574. schema:
  23575. $ref: '#/definitions/app.Response'
  23576. security:
  23577. - ApiKeyAuth: []
  23578. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23579. tags:
  23580. - 企业风险管理(app)
  23581. /Ermcp/QueryChangeLog:
  23582. get:
  23583. parameters:
  23584. - description: 合同ID
  23585. in: query
  23586. name: RelatedId
  23587. required: true
  23588. type: string
  23589. produces:
  23590. - application/json
  23591. responses:
  23592. "200":
  23593. description: OK
  23594. schema:
  23595. items:
  23596. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23597. type: array
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 查询变更记录
  23605. tags:
  23606. - 企业风险管理(app)
  23607. /Ermcp/QueryErmcpHisOrderDetails:
  23608. get:
  23609. parameters:
  23610. - description: 资金账户ID
  23611. in: query
  23612. name: accountID
  23613. required: true
  23614. type: integer
  23615. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23616. in: query
  23617. name: startDate
  23618. type: string
  23619. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23620. in: query
  23621. name: endDate
  23622. type: string
  23623. produces:
  23624. - application/json
  23625. responses:
  23626. "200":
  23627. description: OK
  23628. schema:
  23629. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23630. "500":
  23631. description: Internal Server Error
  23632. schema:
  23633. $ref: '#/definitions/app.Response'
  23634. security:
  23635. - ApiKeyAuth: []
  23636. summary: 获取企业风管期货历史委托单信息
  23637. tags:
  23638. - 企业风险管理(app)
  23639. /Ermcp/QueryErmcpHisTradeDetails:
  23640. get:
  23641. parameters:
  23642. - description: 资金账户ID
  23643. in: query
  23644. name: accountID
  23645. required: true
  23646. type: integer
  23647. - description: 商品ID
  23648. in: query
  23649. name: goodsID
  23650. type: integer
  23651. - description: 买卖方向,0:买 1:卖
  23652. in: query
  23653. name: buyOrSell
  23654. type: integer
  23655. - description: 关联委托单号
  23656. in: query
  23657. name: orderID
  23658. type: integer
  23659. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23660. in: query
  23661. name: startDate
  23662. type: string
  23663. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23664. in: query
  23665. name: endDate
  23666. type: string
  23667. produces:
  23668. - application/json
  23669. responses:
  23670. "200":
  23671. description: OK
  23672. schema:
  23673. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23674. "500":
  23675. description: Internal Server Error
  23676. schema:
  23677. $ref: '#/definitions/app.Response'
  23678. security:
  23679. - ApiKeyAuth: []
  23680. summary: 获取企业风管期货历史成交单信息
  23681. tags:
  23682. - 企业风险管理(app)
  23683. /Ermcp/QueryErmcpInnerHolderDetails:
  23684. get:
  23685. parameters:
  23686. - description: 资金账户ID
  23687. in: query
  23688. name: accountID
  23689. required: true
  23690. type: integer
  23691. - description: 商品ID
  23692. in: query
  23693. name: goodsID
  23694. type: integer
  23695. - description: 买卖方向,0:买 1:卖
  23696. in: query
  23697. name: buyOrSell
  23698. type: integer
  23699. produces:
  23700. - application/json
  23701. responses:
  23702. "200":
  23703. description: OK
  23704. schema:
  23705. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23706. "500":
  23707. description: Internal Server Error
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. security:
  23711. - ApiKeyAuth: []
  23712. summary: 获取企业风管期货内部持仓单信息
  23713. tags:
  23714. - 企业风险管理(app)
  23715. /Ermcp/QueryErmcpOrderDetails:
  23716. get:
  23717. parameters:
  23718. - description: 资金账户ID
  23719. in: query
  23720. name: accountID
  23721. required: true
  23722. type: integer
  23723. produces:
  23724. - application/json
  23725. responses:
  23726. "200":
  23727. description: OK
  23728. schema:
  23729. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23730. "500":
  23731. description: Internal Server Error
  23732. schema:
  23733. $ref: '#/definitions/app.Response'
  23734. security:
  23735. - ApiKeyAuth: []
  23736. summary: 获取企业风管期货委托单信息
  23737. tags:
  23738. - 企业风险管理(app)
  23739. /Ermcp/QueryErmcpTradeDetails:
  23740. get:
  23741. parameters:
  23742. - description: 资金账户ID
  23743. in: query
  23744. name: accountID
  23745. required: true
  23746. type: integer
  23747. - description: 商品ID
  23748. in: query
  23749. name: goodsID
  23750. type: integer
  23751. - description: 买卖方向,0:买 1:卖
  23752. in: query
  23753. name: buyOrSell
  23754. type: integer
  23755. - description: 关联委托单号
  23756. in: query
  23757. name: orderID
  23758. type: integer
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23766. "500":
  23767. description: Internal Server Error
  23768. schema:
  23769. $ref: '#/definitions/app.Response'
  23770. security:
  23771. - ApiKeyAuth: []
  23772. summary: 获取企业风管期货成交单信息
  23773. tags:
  23774. - 企业风险管理(app)
  23775. /Ermcp/QueryErmcpTradePosition:
  23776. get:
  23777. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23778. parameters:
  23779. - description: 资金账户ID
  23780. in: query
  23781. name: accountID
  23782. required: true
  23783. type: integer
  23784. - description: 所属市场ID
  23785. in: query
  23786. name: marketID
  23787. type: integer
  23788. produces:
  23789. - application/json
  23790. responses:
  23791. "200":
  23792. description: OK
  23793. schema:
  23794. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23795. "500":
  23796. description: Internal Server Error
  23797. schema:
  23798. $ref: '#/definitions/app.Response'
  23799. security:
  23800. - ApiKeyAuth: []
  23801. summary: 获取企业风管期货持仓头寸信息
  23802. tags:
  23803. - 企业风险管理(app)
  23804. /Ermcp/QueryExposureDetail:
  23805. get:
  23806. parameters:
  23807. - description: 所属机构ID
  23808. in: query
  23809. name: areaUserId
  23810. required: true
  23811. type: integer
  23812. - description: 套保商品
  23813. in: query
  23814. name: middleGoodsId
  23815. required: true
  23816. type: integer
  23817. produces:
  23818. - application/json
  23819. responses:
  23820. "200":
  23821. description: OK
  23822. schema:
  23823. items:
  23824. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23825. type: array
  23826. "500":
  23827. description: Internal Server Error
  23828. schema:
  23829. $ref: '#/definitions/app.Response'
  23830. security:
  23831. - ApiKeyAuth: []
  23832. summary: 查询敞口现货明细
  23833. tags:
  23834. - 企业风险管理(app)
  23835. /Ermcp/QueryExposureGoods:
  23836. get:
  23837. parameters:
  23838. - description: 套保商品id
  23839. in: query
  23840. name: middlegoodsid
  23841. required: true
  23842. type: integer
  23843. produces:
  23844. - application/json
  23845. responses:
  23846. "200":
  23847. description: OK
  23848. schema:
  23849. items:
  23850. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23851. type: array
  23852. "500":
  23853. description: Internal Server Error
  23854. schema:
  23855. $ref: '#/definitions/app.Response'
  23856. security:
  23857. - ApiKeyAuth: []
  23858. summary: 查询敞口主力合约
  23859. tags:
  23860. - 企业风险管理(app)
  23861. /Ermcp/QueryExposureHedgePosition:
  23862. get:
  23863. parameters:
  23864. - description: 用户id
  23865. in: query
  23866. name: userid
  23867. required: true
  23868. type: integer
  23869. produces:
  23870. - application/json
  23871. responses:
  23872. "200":
  23873. description: OK
  23874. schema:
  23875. items:
  23876. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23877. type: array
  23878. "500":
  23879. description: Internal Server Error
  23880. schema:
  23881. $ref: '#/definitions/app.Response'
  23882. security:
  23883. - ApiKeyAuth: []
  23884. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23885. tags:
  23886. - 企业风险管理(app)
  23887. /Ermcp/QueryExposureHedgePositionDetail:
  23888. get:
  23889. parameters:
  23890. - description: 所属机构ID
  23891. in: query
  23892. name: userid
  23893. required: true
  23894. type: integer
  23895. - description: 商品id
  23896. in: query
  23897. name: goodsId
  23898. required: true
  23899. type: integer
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. items:
  23907. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23908. type: array
  23909. "500":
  23910. description: Internal Server Error
  23911. schema:
  23912. $ref: '#/definitions/app.Response'
  23913. security:
  23914. - ApiKeyAuth: []
  23915. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23916. tags:
  23917. - 企业风险管理(app)
  23918. /Ermcp/QueryExposureSpot:
  23919. get:
  23920. parameters:
  23921. - description: 所属机构ID
  23922. in: query
  23923. name: areaUserId
  23924. required: true
  23925. type: integer
  23926. produces:
  23927. - application/json
  23928. responses:
  23929. "200":
  23930. description: OK
  23931. schema:
  23932. items:
  23933. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23934. type: array
  23935. "500":
  23936. description: Internal Server Error
  23937. schema:
  23938. $ref: '#/definitions/app.Response'
  23939. security:
  23940. - ApiKeyAuth: []
  23941. summary: 查询敞口现货头寸(敞口/现货头寸)
  23942. tags:
  23943. - 企业风险管理(app)
  23944. /Ermcp/QueryExposureSpotDetail:
  23945. get:
  23946. parameters:
  23947. - description: 所属机构ID
  23948. in: query
  23949. name: areaUserId
  23950. required: true
  23951. type: integer
  23952. - description: 现货品种ID
  23953. in: query
  23954. name: wrstandardId
  23955. required: true
  23956. type: integer
  23957. produces:
  23958. - application/json
  23959. responses:
  23960. "200":
  23961. description: OK
  23962. schema:
  23963. items:
  23964. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23965. type: array
  23966. "500":
  23967. description: Internal Server Error
  23968. schema:
  23969. $ref: '#/definitions/app.Response'
  23970. security:
  23971. - ApiKeyAuth: []
  23972. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23973. tags:
  23974. - 企业风险管理(app)
  23975. /Ermcp/QueryFuturesCompany:
  23976. get:
  23977. produces:
  23978. - application/json
  23979. responses:
  23980. "200":
  23981. description: OK
  23982. schema:
  23983. items:
  23984. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23985. type: array
  23986. "500":
  23987. description: Internal Server Error
  23988. schema:
  23989. $ref: '#/definitions/app.Response'
  23990. security:
  23991. - ApiKeyAuth: []
  23992. summary: 查询期货公司
  23993. tags:
  23994. - 企业风险管理(app)
  23995. /Ermcp/QueryGGConvertConfig:
  23996. get:
  23997. parameters:
  23998. - description: 品种id(不填则查所有)
  23999. in: query
  24000. name: goodsgroupid
  24001. type: integer
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24018. tags:
  24019. - 企业风险管理(app)
  24020. /Ermcp/QueryGoodsBrand:
  24021. get:
  24022. parameters:
  24023. - description: 用户ID
  24024. in: query
  24025. name: userid
  24026. required: true
  24027. type: integer
  24028. - description: 现货商品ID
  24029. in: query
  24030. name: wrstandardid
  24031. type: integer
  24032. produces:
  24033. - application/json
  24034. responses:
  24035. "200":
  24036. description: OK
  24037. schema:
  24038. items:
  24039. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24040. type: array
  24041. "500":
  24042. description: Internal Server Error
  24043. schema:
  24044. $ref: '#/definitions/app.Response'
  24045. security:
  24046. - ApiKeyAuth: []
  24047. summary: 查询商品品牌
  24048. tags:
  24049. - 企业风险管理(app)
  24050. /Ermcp/QueryGoodsModel:
  24051. get:
  24052. parameters:
  24053. - description: 用户ID
  24054. in: query
  24055. name: userid
  24056. required: true
  24057. type: integer
  24058. produces:
  24059. - application/json
  24060. responses:
  24061. "200":
  24062. description: OK
  24063. schema:
  24064. items:
  24065. $ref: '#/definitions/models.ErmcpGoodsModel'
  24066. type: array
  24067. "500":
  24068. description: Internal Server Error
  24069. schema:
  24070. $ref: '#/definitions/app.Response'
  24071. security:
  24072. - ApiKeyAuth: []
  24073. summary: 查询商品型号
  24074. tags:
  24075. - 企业风险管理(app)
  24076. /Ermcp/QueryHisExposure:
  24077. get:
  24078. parameters:
  24079. - description: 用户id
  24080. in: query
  24081. name: userid
  24082. required: true
  24083. type: integer
  24084. - description: 每个品种记录数
  24085. in: query
  24086. name: lastNum
  24087. required: true
  24088. type: integer
  24089. produces:
  24090. - application/json
  24091. responses:
  24092. "200":
  24093. description: OK
  24094. schema:
  24095. items:
  24096. $ref: '#/definitions/ermcp.HisExposureRsp'
  24097. type: array
  24098. "500":
  24099. description: Internal Server Error
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. security:
  24103. - ApiKeyAuth: []
  24104. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24105. tags:
  24106. - 企业风险管理(app)
  24107. /Ermcp/QueryMiddleGoods:
  24108. get:
  24109. parameters:
  24110. - description: 所属机构ID
  24111. in: query
  24112. name: userid
  24113. required: true
  24114. type: integer
  24115. - description: 状态 0-停用 1-正常
  24116. in: query
  24117. name: status
  24118. required: true
  24119. type: integer
  24120. produces:
  24121. - application/json
  24122. responses:
  24123. "200":
  24124. description: OK
  24125. schema:
  24126. items:
  24127. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24128. type: array
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. summary: 查询套保品种(菜单:套保品种)
  24136. tags:
  24137. - 企业风险管理(app)
  24138. /Ermcp/QueryMiddleGoodsChangeLog:
  24139. get:
  24140. parameters:
  24141. - description: 所属机构ID
  24142. in: query
  24143. name: userid
  24144. required: true
  24145. type: integer
  24146. - description: 套保品种id
  24147. in: query
  24148. name: middlegoodsid
  24149. required: true
  24150. type: integer
  24151. produces:
  24152. - application/json
  24153. responses:
  24154. "200":
  24155. description: OK
  24156. schema:
  24157. items:
  24158. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24159. type: array
  24160. "500":
  24161. description: Internal Server Error
  24162. schema:
  24163. $ref: '#/definitions/app.Response'
  24164. security:
  24165. - ApiKeyAuth: []
  24166. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24167. tags:
  24168. - 企业风险管理(app)
  24169. /Ermcp/QueryMiddleGoodsDetail:
  24170. get:
  24171. parameters:
  24172. - description: 所属机构ID
  24173. in: query
  24174. name: userid
  24175. required: true
  24176. type: integer
  24177. - description: 套保品种id
  24178. in: query
  24179. name: middlegoodsid
  24180. type: integer
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24197. tags:
  24198. - 企业风险管理(app)
  24199. /Ermcp/QueryPendingAuditInfo:
  24200. get:
  24201. parameters:
  24202. - description: 用户ID
  24203. in: query
  24204. name: UserId
  24205. required: true
  24206. type: integer
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. items:
  24214. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24215. type: array
  24216. "500":
  24217. description: Internal Server Error
  24218. schema:
  24219. $ref: '#/definitions/app.Response'
  24220. security:
  24221. - ApiKeyAuth: []
  24222. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24223. tags:
  24224. - 企业风险管理(app)
  24225. /Ermcp/QueryRealtimeExposure:
  24226. get:
  24227. parameters:
  24228. - description: 所属机构ID
  24229. in: query
  24230. name: userid
  24231. required: true
  24232. type: integer
  24233. produces:
  24234. - application/json
  24235. responses:
  24236. "200":
  24237. description: OK
  24238. schema:
  24239. items:
  24240. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24241. type: array
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 查询实时敞口
  24249. tags:
  24250. - 企业风险管理(app)
  24251. /Ermcp/QueryRealtimeExposurePosition:
  24252. get:
  24253. parameters:
  24254. - description: 用户id
  24255. in: query
  24256. name: userid
  24257. required: true
  24258. type: integer
  24259. - description: 套保商品ID
  24260. in: query
  24261. name: middleGoodsId
  24262. required: true
  24263. type: integer
  24264. produces:
  24265. - application/json
  24266. responses:
  24267. "200":
  24268. description: OK
  24269. schema:
  24270. items:
  24271. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24272. type: array
  24273. "500":
  24274. description: Internal Server Error
  24275. schema:
  24276. $ref: '#/definitions/app.Response'
  24277. security:
  24278. - ApiKeyAuth: []
  24279. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24280. tags:
  24281. - 企业风险管理(app)
  24282. /Ermcp/QueryRoleMenu:
  24283. get:
  24284. parameters:
  24285. - description: 登录ID
  24286. in: query
  24287. name: loginid
  24288. required: true
  24289. type: integer
  24290. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24291. in: query
  24292. name: menutype
  24293. type: integer
  24294. produces:
  24295. - application/json
  24296. responses:
  24297. "200":
  24298. description: OK
  24299. schema:
  24300. items:
  24301. $ref: '#/definitions/models.RoleMenu'
  24302. type: array
  24303. "500":
  24304. description: Internal Server Error
  24305. schema:
  24306. $ref: '#/definitions/app.Response'
  24307. security:
  24308. - ApiKeyAuth: []
  24309. summary: 查询角色菜单和权限
  24310. tags:
  24311. - 企业风险管理(app)
  24312. /Ermcp/QueryTradeConfigTMP:
  24313. get:
  24314. parameters:
  24315. - description: 所属机构id
  24316. in: query
  24317. name: areauserid
  24318. type: integer
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. items:
  24326. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24327. type: array
  24328. "500":
  24329. description: Internal Server Error
  24330. schema:
  24331. $ref: '#/definitions/app.Response'
  24332. security:
  24333. - ApiKeyAuth: []
  24334. summary: 查询交易模板配置
  24335. tags:
  24336. - 企业风险管理(app)
  24337. /Ermcp/QueryUserInfo:
  24338. get:
  24339. parameters:
  24340. - description: 所属机构用户ID
  24341. in: query
  24342. name: MemberUserID
  24343. required: true
  24344. type: integer
  24345. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24346. in: query
  24347. name: queryType
  24348. required: true
  24349. type: integer
  24350. produces:
  24351. - application/json
  24352. responses:
  24353. "200":
  24354. description: OK
  24355. schema:
  24356. items:
  24357. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24358. type: array
  24359. "500":
  24360. description: Internal Server Error
  24361. schema:
  24362. $ref: '#/definitions/app.Response'
  24363. security:
  24364. - ApiKeyAuth: []
  24365. summary: 查询客户资料
  24366. tags:
  24367. - 企业风险管理(app)
  24368. /Ermcp/QueryWarehouseInfo:
  24369. get:
  24370. parameters:
  24371. - description: 用户ID
  24372. in: query
  24373. name: userid
  24374. required: true
  24375. type: integer
  24376. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24377. in: query
  24378. name: status
  24379. type: string
  24380. produces:
  24381. - application/json
  24382. responses:
  24383. "200":
  24384. description: OK
  24385. schema:
  24386. items:
  24387. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24388. type: array
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 查询仓库信息
  24396. tags:
  24397. - 企业风险管理(app)
  24398. /Ermcp3/QryAreaExpourseContractDetail:
  24399. get:
  24400. parameters:
  24401. - description: 用户ID
  24402. in: query
  24403. name: userid
  24404. required: true
  24405. type: integer
  24406. - description: 套保商品id
  24407. in: query
  24408. name: middlegoodsid
  24409. required: true
  24410. type: integer
  24411. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24412. in: query
  24413. name: cycletype
  24414. required: true
  24415. type: integer
  24416. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24417. 全(0)【原值】
  24418. in: query
  24419. name: cycletime
  24420. required: true
  24421. type: string
  24422. produces:
  24423. - application/json
  24424. responses:
  24425. "200":
  24426. description: OK
  24427. schema:
  24428. items:
  24429. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24430. type: array
  24431. "500":
  24432. description: Internal Server Error
  24433. schema:
  24434. $ref: '#/definitions/app.Response'
  24435. security:
  24436. - ApiKeyAuth: []
  24437. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24438. tags:
  24439. - 企业风险管理v3(app)
  24440. /Ermcp3/QryAreaExpourseFutuDetail:
  24441. get:
  24442. parameters:
  24443. - description: 用户ID
  24444. in: query
  24445. name: userid
  24446. required: true
  24447. type: integer
  24448. - description: 套保商品id
  24449. in: query
  24450. name: middlegoodsid
  24451. required: true
  24452. type: integer
  24453. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24454. in: query
  24455. name: cycletype
  24456. required: true
  24457. type: integer
  24458. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24459. 全(0)【原值】
  24460. in: query
  24461. name: cycletime
  24462. required: true
  24463. type: string
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. items:
  24471. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24472. type: array
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 查询敞口期货明细(敞口报表/期货明细)
  24480. tags:
  24481. - 企业风险管理v3(app)
  24482. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24483. get:
  24484. parameters:
  24485. - description: 用户ID
  24486. in: query
  24487. name: userid
  24488. required: true
  24489. type: integer
  24490. - description: 套保商品id
  24491. in: query
  24492. name: middlegoodsid
  24493. required: true
  24494. type: integer
  24495. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24496. in: query
  24497. name: cycletype
  24498. required: true
  24499. type: integer
  24500. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24501. 全(0)【原值】
  24502. in: query
  24503. name: cycletime
  24504. required: true
  24505. type: string
  24506. produces:
  24507. - application/json
  24508. responses:
  24509. "200":
  24510. description: OK
  24511. schema:
  24512. items:
  24513. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24514. type: array
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24522. tags:
  24523. - 企业风险管理v3(app)
  24524. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24525. get:
  24526. parameters:
  24527. - description: 用户ID
  24528. in: query
  24529. name: userid
  24530. required: true
  24531. type: integer
  24532. - description: 套保商品id
  24533. in: query
  24534. name: middlegoodsid
  24535. required: true
  24536. type: integer
  24537. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24538. in: query
  24539. name: cycletype
  24540. required: true
  24541. type: integer
  24542. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24543. 全(0)【原值】
  24544. in: query
  24545. name: cycletime
  24546. required: true
  24547. type: string
  24548. produces:
  24549. - application/json
  24550. responses:
  24551. "200":
  24552. description: OK
  24553. schema:
  24554. items:
  24555. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24556. type: array
  24557. "500":
  24558. description: Internal Server Error
  24559. schema:
  24560. $ref: '#/definitions/app.Response'
  24561. security:
  24562. - ApiKeyAuth: []
  24563. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24564. tags:
  24565. - 企业风险管理v3(app)
  24566. /Ermcp3/QryAreaExpourseReport:
  24567. get:
  24568. parameters:
  24569. - description: 用户ID
  24570. in: query
  24571. name: userid
  24572. required: true
  24573. type: integer
  24574. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24575. in: query
  24576. name: querytype
  24577. required: true
  24578. type: integer
  24579. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24580. in: query
  24581. name: cycletype
  24582. required: true
  24583. type: integer
  24584. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24585. 全(0)【原值】
  24586. in: query
  24587. name: cycletime
  24588. required: true
  24589. type: string
  24590. produces:
  24591. - application/json
  24592. responses:
  24593. "200":
  24594. description: OK
  24595. schema:
  24596. items:
  24597. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24598. type: array
  24599. "500":
  24600. description: Internal Server Error
  24601. schema:
  24602. $ref: '#/definitions/app.Response'
  24603. security:
  24604. - ApiKeyAuth: []
  24605. summary: 查询敞口报表
  24606. tags:
  24607. - 企业风险管理v3(app)
  24608. /Ermcp3/QryAreaSpotplReport:
  24609. get:
  24610. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24611. parameters:
  24612. - description: 用户ID
  24613. in: query
  24614. name: userid
  24615. required: true
  24616. type: integer
  24617. - description: 查询类型 1-报表 2-报表明细
  24618. in: query
  24619. name: querytype
  24620. required: true
  24621. type: integer
  24622. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24623. in: query
  24624. name: cycletype
  24625. required: true
  24626. type: integer
  24627. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24628. 全(0)【原值】
  24629. in: query
  24630. name: cycletime
  24631. required: true
  24632. type: string
  24633. - description: 现货品种id(明细必填)
  24634. in: query
  24635. name: deliverygoodsid
  24636. type: integer
  24637. - description: 币种id(明细必填)
  24638. in: query
  24639. name: currencyid
  24640. type: integer
  24641. - description: 日/周/月报表汇总维度 1:品种+品类
  24642. in: query
  24643. name: sumflag
  24644. type: integer
  24645. produces:
  24646. - application/json
  24647. responses:
  24648. "200":
  24649. description: OK
  24650. schema:
  24651. items:
  24652. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24653. type: array
  24654. "500":
  24655. description: Internal Server Error
  24656. schema:
  24657. $ref: '#/definitions/app.Response'
  24658. security:
  24659. - ApiKeyAuth: []
  24660. summary: 查询现货报表
  24661. tags:
  24662. - 企业风险管理v3(app)
  24663. /Ermcp3/QryAreaStockReport:
  24664. get:
  24665. parameters:
  24666. - description: 用户ID
  24667. in: query
  24668. name: userid
  24669. required: true
  24670. type: integer
  24671. - description: 查询类型 1-报表 2-报表明细
  24672. in: query
  24673. name: querytype
  24674. required: true
  24675. type: integer
  24676. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24677. in: query
  24678. name: cycletype
  24679. required: true
  24680. type: integer
  24681. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24682. 全(0)【原值】
  24683. in: query
  24684. name: cycletime
  24685. required: true
  24686. type: string
  24687. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24688. in: query
  24689. name: sumfields
  24690. type: string
  24691. - description: 品种ID
  24692. in: query
  24693. name: deliverygoodsid
  24694. type: integer
  24695. - description: 品类ID
  24696. in: query
  24697. name: wrstandardid
  24698. type: integer
  24699. - description: 品牌ID
  24700. in: query
  24701. name: spotgoodsbrandid
  24702. type: integer
  24703. - description: 仓库ID
  24704. in: query
  24705. name: warehouseinfoid
  24706. type: integer
  24707. produces:
  24708. - application/json
  24709. responses:
  24710. "200":
  24711. description: OK
  24712. schema:
  24713. items:
  24714. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24715. type: array
  24716. "500":
  24717. description: Internal Server Error
  24718. schema:
  24719. $ref: '#/definitions/app.Response'
  24720. security:
  24721. - ApiKeyAuth: []
  24722. summary: 查询库存报表
  24723. tags:
  24724. - 企业风险管理v3(app)
  24725. /Ermcp3/QryAreaSumPL:
  24726. get:
  24727. parameters:
  24728. - description: 用户ID
  24729. in: query
  24730. name: userid
  24731. required: true
  24732. type: integer
  24733. - description: 查询类型 1-报表 2-报表明细
  24734. in: query
  24735. name: querytype
  24736. required: true
  24737. type: integer
  24738. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24739. in: query
  24740. name: cycletype
  24741. required: true
  24742. type: integer
  24743. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24744. 全(0)【原值】
  24745. in: query
  24746. name: cycletime
  24747. required: true
  24748. type: string
  24749. - description: 币种id(明细必填)
  24750. in: query
  24751. name: currencyid
  24752. type: integer
  24753. - description: 套保品种ID, 查询类型为2时起效
  24754. in: query
  24755. name: middlegoodsid
  24756. type: integer
  24757. produces:
  24758. - application/json
  24759. responses:
  24760. "200":
  24761. description: OK
  24762. schema:
  24763. items:
  24764. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24765. type: array
  24766. "500":
  24767. description: Internal Server Error
  24768. schema:
  24769. $ref: '#/definitions/app.Response'
  24770. security:
  24771. - ApiKeyAuth: []
  24772. summary: 查询汇总损益表
  24773. tags:
  24774. - 企业风险管理v3(app)
  24775. /Ermcp3/QryFinanceReport:
  24776. get:
  24777. parameters:
  24778. - description: 用户ID
  24779. in: query
  24780. name: userid
  24781. required: true
  24782. type: integer
  24783. - description: 查询类型 1-报表 2-报表明细
  24784. in: query
  24785. name: querytype
  24786. required: true
  24787. type: integer
  24788. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24789. in: query
  24790. name: cycletype
  24791. required: true
  24792. type: integer
  24793. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24794. 全(0)【原值】
  24795. in: query
  24796. name: cycletime
  24797. required: true
  24798. type: string
  24799. - description: 币种id(报表明细必填)
  24800. in: query
  24801. name: currencyid
  24802. type: integer
  24803. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24804. in: query
  24805. name: sumfields
  24806. type: string
  24807. produces:
  24808. - application/json
  24809. responses:
  24810. "200":
  24811. description: OK
  24812. schema:
  24813. items:
  24814. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24815. type: array
  24816. "500":
  24817. description: Internal Server Error
  24818. schema:
  24819. $ref: '#/definitions/app.Response'
  24820. security:
  24821. - ApiKeyAuth: []
  24822. summary: 查询财务报表
  24823. tags:
  24824. - 企业风险管理v3(app)
  24825. /Ermcp3/QrySCMiddleGoodsReport:
  24826. get:
  24827. parameters:
  24828. - description: 用户ID
  24829. in: query
  24830. name: userid
  24831. required: true
  24832. type: integer
  24833. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24834. in: query
  24835. name: cycletype
  24836. required: true
  24837. type: integer
  24838. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24839. 全(0)【原值】
  24840. in: query
  24841. name: cycletime
  24842. required: true
  24843. type: string
  24844. - description: 合同id
  24845. in: query
  24846. name: spotcontractid
  24847. type: integer
  24848. - description: 套保品种id
  24849. in: query
  24850. name: middlegoodsid
  24851. type: integer
  24852. - description: 现货品种id
  24853. in: query
  24854. name: deliverygoodsid
  24855. type: integer
  24856. - description: 现货商品id
  24857. in: query
  24858. name: wrstandardid
  24859. type: integer
  24860. - description: 合同编号(模糊匹配)
  24861. in: query
  24862. name: contractno
  24863. type: string
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. items:
  24871. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24872. type: array
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. summary: 查询定价报表
  24880. tags:
  24881. - 企业风险管理v3(app)
  24882. /Ermcp3/QryTaFutureDataReport:
  24883. get:
  24884. parameters:
  24885. - description: 用户ID
  24886. in: query
  24887. name: userid
  24888. required: true
  24889. type: integer
  24890. - description: 查询类型 1-报表 2-报表明细
  24891. in: query
  24892. name: querytype
  24893. required: true
  24894. type: integer
  24895. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24896. in: query
  24897. name: cycletype
  24898. required: true
  24899. type: integer
  24900. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24901. 全(0)【原值】
  24902. in: query
  24903. name: cycletime
  24904. required: true
  24905. type: string
  24906. - description: 币种id(查明细必填)
  24907. in: query
  24908. name: currencyid
  24909. type: integer
  24910. - description: 品种id(查明细必填)
  24911. in: query
  24912. name: goodsgroupid
  24913. type: integer
  24914. - description: 商品id(查明细必填)
  24915. in: query
  24916. name: goodsid
  24917. type: integer
  24918. - description: 买卖方向(查明细必填)
  24919. in: query
  24920. name: buyorsell
  24921. type: integer
  24922. produces:
  24923. - application/json
  24924. responses:
  24925. "200":
  24926. description: OK
  24927. schema:
  24928. items:
  24929. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24930. type: array
  24931. "500":
  24932. description: Internal Server Error
  24933. schema:
  24934. $ref: '#/definitions/app.Response'
  24935. security:
  24936. - ApiKeyAuth: []
  24937. summary: 查询期货报表
  24938. tags:
  24939. - 企业风险管理v3(app)
  24940. /Ermcp3/QueryAreaStock:
  24941. get:
  24942. parameters:
  24943. - description: 用户ID
  24944. in: query
  24945. name: userid
  24946. required: true
  24947. type: integer
  24948. produces:
  24949. - application/json
  24950. responses:
  24951. "200":
  24952. description: OK
  24953. schema:
  24954. items:
  24955. $ref: '#/definitions/models.Ermcp3AreaStock'
  24956. type: array
  24957. "500":
  24958. description: Internal Server Error
  24959. schema:
  24960. $ref: '#/definitions/app.Response'
  24961. security:
  24962. - ApiKeyAuth: []
  24963. summary: 查询机构库存(库存管理/当前库存)
  24964. tags:
  24965. - 企业风险管理v3(app)
  24966. /Ermcp3/QueryAreaStockApply:
  24967. get:
  24968. parameters:
  24969. - description: 用户ID
  24970. in: query
  24971. name: userid
  24972. required: true
  24973. type: integer
  24974. - description: 用户类型 2-机构 7-企业成员
  24975. in: query
  24976. name: usertype
  24977. type: integer
  24978. - description: 现货商品ID
  24979. in: query
  24980. name: deliverygoodsid
  24981. type: integer
  24982. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24983. in: query
  24984. name: inouttype
  24985. type: string
  24986. - description: 合同ID
  24987. in: query
  24988. name: spotcontractid
  24989. type: integer
  24990. - description: 品类ID
  24991. in: query
  24992. name: wrstandardid
  24993. type: integer
  24994. - description: 品牌ID
  24995. in: query
  24996. name: spotgoodsbrandid
  24997. type: integer
  24998. - description: 仓库ID
  24999. in: query
  25000. name: warehouseinfoid
  25001. type: integer
  25002. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25003. in: query
  25004. name: applystatus
  25005. type: string
  25006. produces:
  25007. - application/json
  25008. responses:
  25009. "200":
  25010. description: OK
  25011. schema:
  25012. items:
  25013. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25014. type: array
  25015. "500":
  25016. description: Internal Server Error
  25017. schema:
  25018. $ref: '#/definitions/app.Response'
  25019. security:
  25020. - ApiKeyAuth: []
  25021. summary: 查询库存申请(出入库记录|库存审核)
  25022. tags:
  25023. - 企业风险管理v3(app)
  25024. /Ermcp3/QueryAreaStockApplySum:
  25025. get:
  25026. parameters:
  25027. - description: 合同ID
  25028. in: query
  25029. name: spotcontractid
  25030. required: true
  25031. type: integer
  25032. produces:
  25033. - application/json
  25034. responses:
  25035. "200":
  25036. description: OK
  25037. schema:
  25038. items:
  25039. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25040. type: array
  25041. "500":
  25042. description: Internal Server Error
  25043. schema:
  25044. $ref: '#/definitions/app.Response'
  25045. security:
  25046. - ApiKeyAuth: []
  25047. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25048. tags:
  25049. - 企业风险管理v3(app)
  25050. /Ermcp3/QueryDGFactoryItem:
  25051. get:
  25052. parameters:
  25053. - description: 用户id
  25054. in: query
  25055. name: userid
  25056. type: integer
  25057. - description: 用户类型 2-机构 7-企业成员
  25058. in: query
  25059. name: usertype
  25060. type: integer
  25061. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25062. in: query
  25063. name: dgfactoryitemid
  25064. type: integer
  25065. - description: 现货品种ID
  25066. in: query
  25067. name: deliverygoodsid
  25068. type: integer
  25069. - description: 要素项类型
  25070. in: query
  25071. name: dgfactoryitemtypeid
  25072. type: integer
  25073. - description: 顺序
  25074. in: query
  25075. name: orderindex
  25076. type: integer
  25077. produces:
  25078. - application/json
  25079. responses:
  25080. "200":
  25081. description: OK
  25082. schema:
  25083. items:
  25084. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25085. type: array
  25086. "500":
  25087. description: Internal Server Error
  25088. schema:
  25089. $ref: '#/definitions/app.Response'
  25090. security:
  25091. - ApiKeyAuth: []
  25092. summary: 查询品种要素定义项
  25093. tags:
  25094. - 企业风险管理v3(app)
  25095. /Ermcp3/QueryDeliveryGoods:
  25096. get:
  25097. parameters:
  25098. - description: 用户id
  25099. in: query
  25100. name: userid
  25101. required: true
  25102. type: integer
  25103. - description: 用户类型 2-机构 7-企业成员
  25104. in: query
  25105. name: usertype
  25106. type: integer
  25107. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25108. in: query
  25109. name: excludecfg
  25110. type: integer
  25111. produces:
  25112. - application/json
  25113. responses:
  25114. "200":
  25115. description: OK
  25116. schema:
  25117. items:
  25118. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25119. type: array
  25120. "500":
  25121. description: Internal Server Error
  25122. schema:
  25123. $ref: '#/definitions/app.Response'
  25124. security:
  25125. - ApiKeyAuth: []
  25126. summary: 查询现货商品
  25127. tags:
  25128. - 企业风险管理v3(app)
  25129. /Ermcp3/QueryDeliveryGoodsDetail:
  25130. get:
  25131. parameters:
  25132. - description: 用户id
  25133. in: query
  25134. name: userid
  25135. required: true
  25136. type: integer
  25137. - description: 用户类型 2-机构 7-企业成员
  25138. in: query
  25139. name: usertype
  25140. type: integer
  25141. - description: 现货商品id
  25142. in: query
  25143. name: deliverygoodsid
  25144. type: integer
  25145. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25146. in: query
  25147. name: filtersubempty
  25148. type: integer
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. items:
  25156. $ref: '#/definitions/models.XHDeliveryGoods'
  25157. type: array
  25158. "500":
  25159. description: Internal Server Error
  25160. schema:
  25161. $ref: '#/definitions/app.Response'
  25162. security:
  25163. - ApiKeyAuth: []
  25164. summary: 查询现货商品详情
  25165. tags:
  25166. - 企业风险管理v3(app)
  25167. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25168. get:
  25169. parameters:
  25170. - description: 合同id
  25171. in: query
  25172. name: spotcontractid
  25173. required: true
  25174. type: string
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. items:
  25182. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25183. type: array
  25184. "500":
  25185. description: Internal Server Error
  25186. schema:
  25187. $ref: '#/definitions/app.Response'
  25188. security:
  25189. - ApiKeyAuth: []
  25190. summary: 查询现货合同期现配置信息
  25191. tags:
  25192. - 企业风险管理v3(app)
  25193. /Ermcp3/QueryExposureDetail:
  25194. get:
  25195. parameters:
  25196. - description: 用户id
  25197. in: query
  25198. name: userid
  25199. required: true
  25200. type: integer
  25201. - description: 用户类型 2-机构 7-企业成员
  25202. in: query
  25203. name: usertype
  25204. type: integer
  25205. - description: 套保商品
  25206. in: query
  25207. name: middlegoodsid
  25208. required: true
  25209. type: integer
  25210. produces:
  25211. - application/json
  25212. responses:
  25213. "200":
  25214. description: OK
  25215. schema:
  25216. items:
  25217. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25218. type: array
  25219. "500":
  25220. description: Internal Server Error
  25221. schema:
  25222. $ref: '#/definitions/app.Response'
  25223. security:
  25224. - ApiKeyAuth: []
  25225. summary: 查询敞口现货明细
  25226. tags:
  25227. - 企业风险管理v3(app)
  25228. /Ermcp3/QueryExposureSpot:
  25229. get:
  25230. parameters:
  25231. - description: 用户id
  25232. in: query
  25233. name: userid
  25234. required: true
  25235. type: integer
  25236. - description: 用户类型 2-机构 7-企业成员
  25237. in: query
  25238. name: usertype
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25248. type: array
  25249. "500":
  25250. description: Internal Server Error
  25251. schema:
  25252. $ref: '#/definitions/app.Response'
  25253. security:
  25254. - ApiKeyAuth: []
  25255. summary: 查询敞口现货头寸(敞口/现货头寸)
  25256. tags:
  25257. - 企业风险管理v3(app)
  25258. /Ermcp3/QueryExposureSpotDetail:
  25259. get:
  25260. parameters:
  25261. - description: 用户id
  25262. in: query
  25263. name: userid
  25264. required: true
  25265. type: integer
  25266. - description: 用户类型 2-机构 7-企业成员
  25267. in: query
  25268. name: usertype
  25269. type: integer
  25270. - description: 现货商品ID
  25271. in: query
  25272. name: wrstandardid
  25273. required: true
  25274. type: integer
  25275. produces:
  25276. - application/json
  25277. responses:
  25278. "200":
  25279. description: OK
  25280. schema:
  25281. items:
  25282. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25283. type: array
  25284. "500":
  25285. description: Internal Server Error
  25286. schema:
  25287. $ref: '#/definitions/app.Response'
  25288. security:
  25289. - ApiKeyAuth: []
  25290. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25291. tags:
  25292. - 企业风险管理v3(app)
  25293. /Ermcp3/QueryGoodsGroup:
  25294. get:
  25295. parameters:
  25296. - description: 用户id
  25297. in: query
  25298. name: userid
  25299. required: true
  25300. type: integer
  25301. - description: 用户类型 2-机构 7-企业成员
  25302. in: query
  25303. name: usertype
  25304. type: integer
  25305. - description: 排除套保品中已关联的商品组 1-排除
  25306. in: query
  25307. name: excludecfg
  25308. type: integer
  25309. produces:
  25310. - application/json
  25311. responses:
  25312. "200":
  25313. description: OK
  25314. schema:
  25315. items:
  25316. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25317. type: array
  25318. "500":
  25319. description: Internal Server Error
  25320. schema:
  25321. $ref: '#/definitions/app.Response'
  25322. security:
  25323. - ApiKeyAuth: []
  25324. summary: 查询期货商品组
  25325. tags:
  25326. - 企业风险管理v3(app)
  25327. /Ermcp3/QueryGoodsWrstandard:
  25328. get:
  25329. parameters:
  25330. - description: 用户id
  25331. in: query
  25332. name: userid
  25333. required: true
  25334. type: integer
  25335. - description: 用户类型 2-机构 7-企业成员
  25336. in: query
  25337. name: usertype
  25338. type: integer
  25339. - description: 现货商品id
  25340. in: query
  25341. name: deliverygoodsid
  25342. type: integer
  25343. produces:
  25344. - application/json
  25345. responses:
  25346. "200":
  25347. description: OK
  25348. schema:
  25349. items:
  25350. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25351. type: array
  25352. "500":
  25353. description: Internal Server Error
  25354. schema:
  25355. $ref: '#/definitions/app.Response'
  25356. security:
  25357. - ApiKeyAuth: []
  25358. summary: 查询商品品类
  25359. tags:
  25360. - 企业风险管理v3(app)
  25361. /Ermcp3/QueryGoodsbrand:
  25362. get:
  25363. parameters:
  25364. - description: 用户id
  25365. in: query
  25366. name: userid
  25367. required: true
  25368. type: integer
  25369. - description: 用户类型 2-机构 7-企业成员
  25370. in: query
  25371. name: usertype
  25372. type: integer
  25373. produces:
  25374. - application/json
  25375. responses:
  25376. "200":
  25377. description: OK
  25378. schema:
  25379. items:
  25380. $ref: '#/definitions/models.Ermcp3Brand'
  25381. type: array
  25382. "500":
  25383. description: Internal Server Error
  25384. schema:
  25385. $ref: '#/definitions/app.Response'
  25386. security:
  25387. - ApiKeyAuth: []
  25388. summary: 查询商品品牌
  25389. tags:
  25390. - 企业风险管理v3(app)
  25391. /Ermcp3/QueryHPMiddleGoods:
  25392. get:
  25393. parameters:
  25394. - description: 用户ID(填登录用户的userid)
  25395. in: query
  25396. name: userid
  25397. required: true
  25398. type: integer
  25399. - description: 买卖方向 0-买 1-卖
  25400. in: query
  25401. name: buyorsell
  25402. required: true
  25403. type: integer
  25404. - description: 商品组id
  25405. in: query
  25406. name: goodsgroupid
  25407. required: true
  25408. type: integer
  25409. - description: 套保计划编号(模糊匹配)
  25410. in: query
  25411. name: hedgeplanno
  25412. type: string
  25413. - description: 现货商品名称(模糊匹配)
  25414. in: query
  25415. name: wrstandardname
  25416. type: string
  25417. produces:
  25418. - application/json
  25419. responses:
  25420. "200":
  25421. description: OK
  25422. schema:
  25423. items:
  25424. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25425. type: array
  25426. "500":
  25427. description: Internal Server Error
  25428. schema:
  25429. $ref: '#/definitions/app.Response'
  25430. security:
  25431. - ApiKeyAuth: []
  25432. summary: 查询可关联套保计划
  25433. tags:
  25434. - 企业风险管理v3(app)
  25435. /Ermcp3/QueryHedgePlan:
  25436. get:
  25437. parameters:
  25438. - description: 用户ID
  25439. in: query
  25440. name: userid
  25441. required: true
  25442. type: integer
  25443. - description: 用户类型 2-机构 7-企业成员
  25444. in: query
  25445. name: usertype
  25446. type: integer
  25447. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25448. in: query
  25449. name: hedgeplanstatus
  25450. required: true
  25451. type: string
  25452. produces:
  25453. - application/json
  25454. responses:
  25455. "200":
  25456. description: OK
  25457. schema:
  25458. items:
  25459. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25460. type: array
  25461. "500":
  25462. description: Internal Server Error
  25463. schema:
  25464. $ref: '#/definitions/app.Response'
  25465. security:
  25466. - ApiKeyAuth: []
  25467. summary: 查询套保计划
  25468. tags:
  25469. - 企业风险管理v3(app)
  25470. /Ermcp3/QueryInnerTradeLink:
  25471. get:
  25472. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25473. parameters:
  25474. - description: 外部成交单号
  25475. in: query
  25476. name: outtradeid
  25477. required: true
  25478. type: integer
  25479. produces:
  25480. - application/json
  25481. responses:
  25482. "200":
  25483. description: OK
  25484. schema:
  25485. items:
  25486. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25487. type: array
  25488. "500":
  25489. description: Internal Server Error
  25490. schema:
  25491. $ref: '#/definitions/app.Response'
  25492. security:
  25493. - ApiKeyAuth: []
  25494. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25495. tags:
  25496. - 企业风险管理v3(app)
  25497. /Ermcp3/QueryMiddleGoodsDetail:
  25498. get:
  25499. parameters:
  25500. - description: 用户id
  25501. in: query
  25502. name: userid
  25503. required: true
  25504. type: integer
  25505. - description: 用户类型 2-机构 7-企业成员
  25506. in: query
  25507. name: usertype
  25508. type: integer
  25509. - description: 套保品种id
  25510. in: query
  25511. name: middlegoodsid
  25512. type: integer
  25513. produces:
  25514. - application/json
  25515. responses:
  25516. "200":
  25517. description: OK
  25518. schema:
  25519. items:
  25520. $ref: '#/definitions/models.TBMiddleGoods'
  25521. type: array
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 查询套保品种详情(套保品种/商品详情)
  25529. tags:
  25530. - 企业风险管理v3(app)
  25531. /Ermcp3/QueryOutTradeLink:
  25532. get:
  25533. description: 页面 app 现货->期现关联->外部成交单关联
  25534. parameters:
  25535. - description: 用户ID(填登录用户的userid)
  25536. in: query
  25537. name: userid
  25538. required: true
  25539. type: integer
  25540. - description: 外部订单号(模糊匹配)
  25541. in: query
  25542. name: outtradeid
  25543. type: string
  25544. - description: 合约名称/代码(模糊匹配)
  25545. in: query
  25546. name: goodsname
  25547. type: string
  25548. - description: 关联状态 0-未关联 1-已关联
  25549. in: query
  25550. name: hasinnerorder
  25551. type: integer
  25552. produces:
  25553. - application/json
  25554. responses:
  25555. "200":
  25556. description: OK
  25557. schema:
  25558. items:
  25559. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25560. type: array
  25561. "500":
  25562. description: Internal Server Error
  25563. schema:
  25564. $ref: '#/definitions/app.Response'
  25565. security:
  25566. - ApiKeyAuth: []
  25567. summary: 查询外部成交单关联
  25568. tags:
  25569. - 企业风险管理v3(app)
  25570. /Ermcp3/QueryPaAreaAuditCfg:
  25571. get:
  25572. parameters:
  25573. - description: 用户id
  25574. in: query
  25575. name: userid
  25576. required: true
  25577. type: integer
  25578. produces:
  25579. - application/json
  25580. responses:
  25581. "200":
  25582. description: OK
  25583. schema:
  25584. items:
  25585. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25586. type: array
  25587. "500":
  25588. description: Internal Server Error
  25589. schema:
  25590. $ref: '#/definitions/app.Response'
  25591. security:
  25592. - ApiKeyAuth: []
  25593. summary: 查询审核设置
  25594. tags:
  25595. - 企业风险管理v3(app)
  25596. /Ermcp3/QueryPaAreaSubject:
  25597. get:
  25598. parameters:
  25599. - description: 用户id
  25600. in: query
  25601. name: userid
  25602. required: true
  25603. type: integer
  25604. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25605. in: query
  25606. name: subjectid
  25607. type: integer
  25608. - description: 主体类型 - 1:交易主体 2:业务部门
  25609. in: query
  25610. name: subjecttype
  25611. type: integer
  25612. - description: '主体状态 - 1:正常 2: 停用'
  25613. in: query
  25614. name: subjectstatus
  25615. type: integer
  25616. produces:
  25617. - application/json
  25618. responses:
  25619. "200":
  25620. description: OK
  25621. schema:
  25622. items:
  25623. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25624. type: array
  25625. "500":
  25626. description: Internal Server Error
  25627. schema:
  25628. $ref: '#/definitions/app.Response'
  25629. security:
  25630. - ApiKeyAuth: []
  25631. summary: 查询交易主体
  25632. tags:
  25633. - 企业风险管理v3(app)
  25634. /Ermcp3/QueryPaTradeLink:
  25635. get:
  25636. description: 页面 app 现货->期现关联->期现单据关联
  25637. parameters:
  25638. - description: 用户ID
  25639. in: query
  25640. name: userid
  25641. required: true
  25642. type: integer
  25643. produces:
  25644. - application/json
  25645. responses:
  25646. "200":
  25647. description: OK
  25648. schema:
  25649. items:
  25650. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25651. type: array
  25652. "500":
  25653. description: Internal Server Error
  25654. schema:
  25655. $ref: '#/definitions/app.Response'
  25656. security:
  25657. - ApiKeyAuth: []
  25658. summary: 查询期现单据关联
  25659. tags:
  25660. - 企业风险管理v3(app)
  25661. /Ermcp3/QueryPaTradeLinkDetail:
  25662. get:
  25663. description: 页面 app 现货->期现关联->关联记录
  25664. parameters:
  25665. - description: 用户ID(填登录用户的userid)
  25666. in: query
  25667. name: userid
  25668. required: true
  25669. type: integer
  25670. - description: 关联状态 1:成功 2:失败 3:解绑
  25671. in: query
  25672. name: linkstatus
  25673. type: integer
  25674. - description: 期货订单号(模糊匹配)
  25675. in: query
  25676. name: tradeid
  25677. type: string
  25678. - description: 现货编号(模糊匹配)
  25679. in: query
  25680. name: contractno
  25681. type: string
  25682. - description: 期货账户(模糊匹配)
  25683. in: query
  25684. name: taname
  25685. type: string
  25686. produces:
  25687. - application/json
  25688. responses:
  25689. "200":
  25690. description: OK
  25691. schema:
  25692. items:
  25693. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25694. type: array
  25695. "500":
  25696. description: Internal Server Error
  25697. schema:
  25698. $ref: '#/definitions/app.Response'
  25699. security:
  25700. - ApiKeyAuth: []
  25701. summary: 查询期现关联记录
  25702. tags:
  25703. - 企业风险管理v3(app)
  25704. /Ermcp3/QueryParamChangeApp:
  25705. get:
  25706. description: |-
  25707. 原型页面:
  25708. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25709. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25710. parameters:
  25711. - description: 用户ID
  25712. in: query
  25713. name: userid
  25714. required: true
  25715. type: integer
  25716. - description: 现货品种id
  25717. in: query
  25718. name: deliverygoodsid
  25719. type: integer
  25720. - description: 现货商品id
  25721. in: query
  25722. name: wrstandardid
  25723. type: integer
  25724. - description: 套保商品id
  25725. in: query
  25726. name: middlegoodsid
  25727. type: integer
  25728. - description: 操作类型 1:新增 2:修改
  25729. in: query
  25730. name: operatetype
  25731. type: integer
  25732. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25733. in: query
  25734. name: paramchangetype
  25735. type: integer
  25736. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25737. in: query
  25738. name: ftstatus
  25739. type: string
  25740. produces:
  25741. - application/json
  25742. responses:
  25743. "200":
  25744. description: OK
  25745. schema:
  25746. items:
  25747. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25748. type: array
  25749. "500":
  25750. description: Internal Server Error
  25751. schema:
  25752. $ref: '#/definitions/app.Response'
  25753. security:
  25754. - ApiKeyAuth: []
  25755. summary: 查询现货商品参数变更申请(流水)
  25756. tags:
  25757. - 企业风险管理v3(app)
  25758. /Ermcp3/QueryRootUserAccount:
  25759. get:
  25760. parameters:
  25761. - description: 用户ID
  25762. in: query
  25763. name: userid
  25764. required: true
  25765. type: integer
  25766. produces:
  25767. - application/json
  25768. responses:
  25769. "200":
  25770. description: OK
  25771. schema:
  25772. items:
  25773. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25774. type: array
  25775. "500":
  25776. description: Internal Server Error
  25777. schema:
  25778. $ref: '#/definitions/app.Response'
  25779. security:
  25780. - ApiKeyAuth: []
  25781. summary: 查询顶级用户信息
  25782. tags:
  25783. - 企业风险管理v3(app)
  25784. /Ermcp3/QuerySCMiddleGoods:
  25785. get:
  25786. description: |-
  25787. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25788. 现货编号 即 合同编号
  25789. parameters:
  25790. - description: 用户ID(填登录用户的userid)
  25791. in: query
  25792. name: userid
  25793. required: true
  25794. type: integer
  25795. - description: 买卖方向 0-买 1-卖
  25796. in: query
  25797. name: buyorsell
  25798. required: true
  25799. type: integer
  25800. - description: 商品组id
  25801. in: query
  25802. name: goodsgroupid
  25803. required: true
  25804. type: integer
  25805. - description: 业务类型 1:套保 2:套利
  25806. in: query
  25807. name: biztype
  25808. type: integer
  25809. - description: 现货编号(模糊匹配)
  25810. in: query
  25811. name: contractno
  25812. type: string
  25813. - description: 对手方(模糊匹配)
  25814. in: query
  25815. name: customername
  25816. type: string
  25817. - description: 现货商品名称(模糊匹配)
  25818. in: query
  25819. name: wrstandardname
  25820. type: string
  25821. produces:
  25822. - application/json
  25823. responses:
  25824. "200":
  25825. description: OK
  25826. schema:
  25827. items:
  25828. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25829. type: array
  25830. "500":
  25831. description: Internal Server Error
  25832. schema:
  25833. $ref: '#/definitions/app.Response'
  25834. security:
  25835. - ApiKeyAuth: []
  25836. summary: 查询现货订单
  25837. tags:
  25838. - 企业风险管理v3(app)
  25839. /Ermcp3/QuerySpotContract:
  25840. get:
  25841. parameters:
  25842. - description: 用户id(当指定contractid, userid可不填)
  25843. in: query
  25844. name: userid
  25845. required: true
  25846. type: integer
  25847. - description: 用户类型 2-机构 7-企业成员
  25848. in: query
  25849. name: usertype
  25850. type: integer
  25851. - description: 合同类型 1-采购, -1-销售
  25852. in: query
  25853. name: contracttype
  25854. type: integer
  25855. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25856. in: query
  25857. name: querytype
  25858. type: string
  25859. - description: 合同ID(SpotContractId)
  25860. in: query
  25861. name: contractid
  25862. type: string
  25863. - description: 合同编号(模糊匹配)
  25864. in: query
  25865. name: contractno
  25866. type: string
  25867. - description: 商品名称(模糊匹配)
  25868. in: query
  25869. name: wrstandardname
  25870. type: string
  25871. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25872. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25873. in: query
  25874. name: status
  25875. type: string
  25876. - description: 是否只查今日的合同 1-查今日合同
  25877. in: query
  25878. name: istoday
  25879. type: integer
  25880. produces:
  25881. - application/json
  25882. responses:
  25883. "200":
  25884. description: OK
  25885. schema:
  25886. items:
  25887. $ref: '#/definitions/models.Ermcp3Contract'
  25888. type: array
  25889. "500":
  25890. description: Internal Server Error
  25891. schema:
  25892. $ref: '#/definitions/app.Response'
  25893. security:
  25894. - ApiKeyAuth: []
  25895. summary: 查询现货合同
  25896. tags:
  25897. - 企业风险管理v3(app)
  25898. /Ermcp3/QuerySpotContractBS:
  25899. get:
  25900. parameters:
  25901. - description: 用户id
  25902. in: query
  25903. name: userid
  25904. required: true
  25905. type: integer
  25906. - description: 用户类型 2-机构 7-企业成员
  25907. in: query
  25908. name: usertype
  25909. type: integer
  25910. - description: 合同类型 1-采购, -1-销售
  25911. in: query
  25912. name: contracttype
  25913. required: true
  25914. type: integer
  25915. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25916. in: query
  25917. name: querytype
  25918. type: integer
  25919. - description: 合同ID(SpotContractId)
  25920. in: query
  25921. name: contractid
  25922. type: string
  25923. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25924. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25925. in: query
  25926. name: status
  25927. type: string
  25928. - description: 是否只查今日的合同 1-查今日合同
  25929. in: query
  25930. name: istoday
  25931. type: integer
  25932. produces:
  25933. - application/json
  25934. responses:
  25935. "200":
  25936. description: OK
  25937. schema:
  25938. items:
  25939. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  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/QuerySpotGoodsPrice:
  25951. get:
  25952. parameters:
  25953. - description: 用户ID
  25954. in: query
  25955. name: userid
  25956. required: true
  25957. type: integer
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. items:
  25965. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25966. type: array
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 查询现货市价(现货市价)
  25974. tags:
  25975. - 企业风险管理v3(app)
  25976. /Ermcp3/QuerySpotGoodsPriceLog:
  25977. get:
  25978. parameters:
  25979. - description: 用户ID
  25980. in: query
  25981. name: userid
  25982. required: true
  25983. type: integer
  25984. - description: 现货商品ID
  25985. in: query
  25986. name: deliverygoodsid
  25987. required: true
  25988. type: integer
  25989. - description: 品牌ID
  25990. in: query
  25991. name: brandid
  25992. type: integer
  25993. - description: 品类ID
  25994. in: query
  25995. name: wrstandardid
  25996. type: integer
  25997. produces:
  25998. - application/json
  25999. responses:
  26000. "200":
  26001. description: OK
  26002. schema:
  26003. items:
  26004. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26005. type: array
  26006. "500":
  26007. description: Internal Server Error
  26008. schema:
  26009. $ref: '#/definitions/app.Response'
  26010. security:
  26011. - ApiKeyAuth: []
  26012. summary: 查询现货市价详情(现货市价/详情)
  26013. tags:
  26014. - 企业风险管理v3(app)
  26015. /Ermcp3/QuerySubTaaccount:
  26016. get:
  26017. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26018. parameters:
  26019. - description: 母账号id
  26020. in: query
  26021. name: parentaccountid
  26022. type: integer
  26023. - description: 母账号代码
  26024. in: query
  26025. name: parentaccountcode
  26026. type: string
  26027. produces:
  26028. - application/json
  26029. responses:
  26030. "200":
  26031. description: OK
  26032. schema:
  26033. items:
  26034. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26035. type: array
  26036. "500":
  26037. description: Internal Server Error
  26038. schema:
  26039. $ref: '#/definitions/app.Response'
  26040. security:
  26041. - ApiKeyAuth: []
  26042. summary: 查询期货子账户
  26043. tags:
  26044. - 企业风险管理v3(app)
  26045. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26046. get:
  26047. parameters:
  26048. - description: 套期项目ID
  26049. in: query
  26050. name: hedgeditemid
  26051. required: true
  26052. type: integer
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 现货成交明细查询
  26069. tags:
  26070. - 企业风险管理v8
  26071. /Ermcp8/QueryERMCP2HedgedItemspot:
  26072. get:
  26073. parameters:
  26074. - description: 套期项目ID
  26075. in: query
  26076. name: hedgeditemid
  26077. required: true
  26078. type: integer
  26079. produces:
  26080. - application/json
  26081. responses:
  26082. "200":
  26083. description: OK
  26084. schema:
  26085. items:
  26086. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26087. type: array
  26088. "500":
  26089. description: Internal Server Error
  26090. schema:
  26091. $ref: '#/definitions/app.Response'
  26092. security:
  26093. - ApiKeyAuth: []
  26094. summary: 套期计划明细查询
  26095. tags:
  26096. - 企业风险管理v8
  26097. /Ermcp8/QueryERMCPJRLinkPos:
  26098. get:
  26099. parameters:
  26100. - description: 套期项目ID
  26101. in: query
  26102. name: hedgeditemid
  26103. required: true
  26104. type: integer
  26105. produces:
  26106. - application/json
  26107. responses:
  26108. "200":
  26109. description: OK
  26110. schema:
  26111. items:
  26112. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26113. type: array
  26114. "500":
  26115. description: Internal Server Error
  26116. schema:
  26117. $ref: '#/definitions/app.Response'
  26118. security:
  26119. - ApiKeyAuth: []
  26120. summary: 期货持仓明细查询
  26121. tags:
  26122. - 企业风险管理v8
  26123. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26124. get:
  26125. parameters:
  26126. - description: 套期项目ID
  26127. in: query
  26128. name: hedgeditemid
  26129. required: true
  26130. type: integer
  26131. produces:
  26132. - application/json
  26133. responses:
  26134. "200":
  26135. description: OK
  26136. schema:
  26137. items:
  26138. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26139. type: array
  26140. "500":
  26141. description: Internal Server Error
  26142. schema:
  26143. $ref: '#/definitions/app.Response'
  26144. security:
  26145. - ApiKeyAuth: []
  26146. summary: 期货成交单明细查询
  26147. tags:
  26148. - 企业风险管理v8
  26149. /Ermcp8/QueryErmcp2AreaExposure:
  26150. get:
  26151. parameters:
  26152. - description: 用户ID
  26153. in: query
  26154. name: userid
  26155. required: true
  26156. type: string
  26157. produces:
  26158. - application/json
  26159. responses:
  26160. "200":
  26161. description: OK
  26162. schema:
  26163. items:
  26164. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26165. type: array
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 企业敞口查询
  26173. tags:
  26174. - 企业风险管理v8
  26175. /Ermcp8/QueryErmcp2HedgedItem:
  26176. get:
  26177. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26178. parameters:
  26179. - description: 用户ID
  26180. in: query
  26181. name: userid
  26182. required: true
  26183. type: string
  26184. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26185. in: query
  26186. name: hedgedtype
  26187. type: integer
  26188. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26189. in: query
  26190. name: hedgeditemstatus
  26191. type: integer
  26192. produces:
  26193. - application/json
  26194. responses:
  26195. "200":
  26196. description: OK
  26197. schema:
  26198. items:
  26199. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26200. type: array
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 查询被套期项目信息
  26208. tags:
  26209. - 企业风险管理v8
  26210. /Ermcp8/QueryErmcp2HedgedItemLink:
  26211. get:
  26212. parameters:
  26213. - description: 现货合同ID
  26214. in: query
  26215. name: spotcontractid
  26216. required: true
  26217. type: integer
  26218. produces:
  26219. - application/json
  26220. responses:
  26221. "200":
  26222. description: OK
  26223. schema:
  26224. items:
  26225. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26226. type: array
  26227. "500":
  26228. description: Internal Server Error
  26229. schema:
  26230. $ref: '#/definitions/app.Response'
  26231. security:
  26232. - ApiKeyAuth: []
  26233. summary: 现货合同关联被套期项目查询
  26234. tags:
  26235. - 企业风险管理v8
  26236. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26237. get:
  26238. parameters:
  26239. - description: 用户ID
  26240. in: query
  26241. name: userid
  26242. required: true
  26243. type: integer
  26244. - description: 套保品种ID
  26245. in: query
  26246. name: middlegoodsid
  26247. required: true
  26248. type: integer
  26249. produces:
  26250. - application/json
  26251. responses:
  26252. "200":
  26253. description: OK
  26254. schema:
  26255. items:
  26256. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26257. type: array
  26258. "500":
  26259. description: Internal Server Error
  26260. schema:
  26261. $ref: '#/definitions/app.Response'
  26262. security:
  26263. - ApiKeyAuth: []
  26264. summary: 敞口明细 - 计划变动明细
  26265. tags:
  26266. - 企业风险管理v8
  26267. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26268. get:
  26269. parameters:
  26270. - description: 用户ID
  26271. in: query
  26272. name: userid
  26273. required: true
  26274. type: integer
  26275. - description: 套保品种ID
  26276. in: query
  26277. name: middlegoodsid
  26278. required: true
  26279. type: integer
  26280. produces:
  26281. - application/json
  26282. responses:
  26283. "200":
  26284. description: OK
  26285. schema:
  26286. items:
  26287. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26288. type: array
  26289. "500":
  26290. description: Internal Server Error
  26291. schema:
  26292. $ref: '#/definitions/app.Response'
  26293. security:
  26294. - ApiKeyAuth: []
  26295. summary: 敞口明细 - 现货变动明细查询
  26296. tags:
  26297. - 企业风险管理v8
  26298. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26299. get:
  26300. parameters:
  26301. - description: 用户ID
  26302. in: query
  26303. name: userid
  26304. required: true
  26305. type: integer
  26306. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26307. in: query
  26308. name: spottype
  26309. required: true
  26310. type: integer
  26311. - description: 现货商品ID
  26312. in: query
  26313. name: wrstandardid
  26314. type: integer
  26315. produces:
  26316. - application/json
  26317. responses:
  26318. "200":
  26319. description: OK
  26320. schema:
  26321. items:
  26322. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26323. type: array
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 可关联项目查询
  26331. tags:
  26332. - 企业风险管理v8
  26333. /Ermcp8/QueryErmcp8HedgeditemReport:
  26334. get:
  26335. parameters:
  26336. - description: 用户ID
  26337. in: query
  26338. name: userid
  26339. required: true
  26340. type: integer
  26341. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26342. in: query
  26343. name: cycletype
  26344. type: integer
  26345. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26346. 全(0)【原值】
  26347. in: query
  26348. name: cycletime
  26349. required: true
  26350. type: string
  26351. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26352. in: query
  26353. name: hedgedtype
  26354. type: integer
  26355. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26356. in: query
  26357. name: hedgeditemstatus
  26358. type: integer
  26359. - description: 项目编号,模糊查询
  26360. in: query
  26361. name: hedgeditemnum
  26362. type: string
  26363. - description: 现货商品ID
  26364. in: query
  26365. name: wrstandardid
  26366. type: integer
  26367. produces:
  26368. - application/json
  26369. responses:
  26370. "200":
  26371. description: OK
  26372. schema:
  26373. items:
  26374. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26375. type: array
  26376. "500":
  26377. description: Internal Server Error
  26378. schema:
  26379. $ref: '#/definitions/app.Response'
  26380. security:
  26381. - ApiKeyAuth: []
  26382. summary: 套期项目报表查询
  26383. tags:
  26384. - 企业风险管理v8
  26385. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26386. get:
  26387. parameters:
  26388. - description: 用户ID
  26389. in: query
  26390. name: userid
  26391. required: true
  26392. type: string
  26393. produces:
  26394. - application/json
  26395. responses:
  26396. "200":
  26397. description: OK
  26398. schema:
  26399. items:
  26400. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26401. type: array
  26402. "500":
  26403. description: Internal Server Error
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. security:
  26407. - ApiKeyAuth: []
  26408. summary: 查询执行中项目查询信息
  26409. tags:
  26410. - 企业风险管理v8
  26411. /Ermcp8/QueryInternalEnableTradeDetail:
  26412. get:
  26413. parameters:
  26414. - description: 企业ID
  26415. in: query
  26416. name: areauserid
  26417. required: true
  26418. type: integer
  26419. - description: 期货合约ID
  26420. in: query
  26421. name: goodsid
  26422. required: true
  26423. type: integer
  26424. - description: 交易用户ID
  26425. in: query
  26426. name: tradeuserid
  26427. required: true
  26428. type: integer
  26429. produces:
  26430. - application/json
  26431. responses:
  26432. "200":
  26433. description: OK
  26434. schema:
  26435. items:
  26436. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26437. type: array
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 内部成交单可关联项目查询
  26445. tags:
  26446. - 企业风险管理v8
  26447. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26448. get:
  26449. parameters:
  26450. - description: 用户编号
  26451. in: query
  26452. name: userid
  26453. required: true
  26454. type: integer
  26455. - description: 起始日期(格式yyyymmdd)
  26456. in: query
  26457. name: begindate
  26458. type: string
  26459. - description: 终止日期(格式yyyymmdd)
  26460. in: query
  26461. name: enddate
  26462. type: string
  26463. - description: 合约代码
  26464. in: query
  26465. name: goodscode
  26466. type: string
  26467. - description: 合约名称
  26468. in: query
  26469. name: goodsname
  26470. type: string
  26471. - description: 成交单号
  26472. in: query
  26473. name: tradeid
  26474. type: integer
  26475. - description: 方向 - 0:买 1:卖
  26476. in: query
  26477. name: buyorsell
  26478. type: integer
  26479. - description: 套期主体
  26480. in: query
  26481. name: accountname
  26482. type: string
  26483. produces:
  26484. - application/json
  26485. responses:
  26486. "200":
  26487. description: OK
  26488. schema:
  26489. items:
  26490. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26491. type: array
  26492. "500":
  26493. description: Internal Server Error
  26494. schema:
  26495. $ref: '#/definitions/app.Response'
  26496. security:
  26497. - ApiKeyAuth: []
  26498. summary: 内部未关联成交单查询
  26499. tags:
  26500. - 企业风险管理v8
  26501. /Ermcp8/QueryMarketCalendar:
  26502. get:
  26503. parameters:
  26504. - description: 市场ID
  26505. in: query
  26506. name: marketid
  26507. type: integer
  26508. produces:
  26509. - application/json
  26510. responses:
  26511. "200":
  26512. description: OK
  26513. schema:
  26514. items:
  26515. $ref: '#/definitions/models.Marketcalendar'
  26516. type: array
  26517. "500":
  26518. description: Internal Server Error
  26519. schema:
  26520. $ref: '#/definitions/app.Response'
  26521. security:
  26522. - ApiKeyAuth: []
  26523. summary: 市场节假日查询
  26524. tags:
  26525. - 企业风险管理v8
  26526. /Ermcp8/QueryPatradeLinkDetail:
  26527. get:
  26528. parameters:
  26529. - description: 用户ID
  26530. in: query
  26531. name: userid
  26532. required: true
  26533. type: integer
  26534. - description: 套保品种ID
  26535. in: query
  26536. name: middlegoodsid
  26537. required: true
  26538. type: integer
  26539. produces:
  26540. - application/json
  26541. responses:
  26542. "200":
  26543. description: OK
  26544. schema:
  26545. items:
  26546. $ref: '#/definitions/models.Patradelinkdetail'
  26547. type: array
  26548. "500":
  26549. description: Internal Server Error
  26550. schema:
  26551. $ref: '#/definitions/app.Response'
  26552. security:
  26553. - ApiKeyAuth: []
  26554. summary: 敞口明细 - 期货变动明细
  26555. tags:
  26556. - 企业风险管理v8
  26557. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26558. get:
  26559. parameters:
  26560. - description: 企业ID
  26561. in: query
  26562. name: areauserid
  26563. required: true
  26564. type: integer
  26565. - description: 计划类型 - 1:采购 -1:销售
  26566. in: query
  26567. name: contracttype
  26568. type: integer
  26569. - description: 计划编号,模糊查询
  26570. in: query
  26571. name: hedgeplanno
  26572. type: string
  26573. - description: 现货商品,模糊查询
  26574. in: query
  26575. name: wrstandardname
  26576. type: string
  26577. produces:
  26578. - application/json
  26579. responses:
  26580. "200":
  26581. description: OK
  26582. schema:
  26583. items:
  26584. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26585. type: array
  26586. "500":
  26587. description: Internal Server Error
  26588. schema:
  26589. $ref: '#/definitions/app.Response'
  26590. security:
  26591. - ApiKeyAuth: []
  26592. summary: 未关联购销计划
  26593. tags:
  26594. - 企业风险管理v8
  26595. /Ermcp8/QueryUnLinkSpotContract:
  26596. get:
  26597. parameters:
  26598. - description: 用户ID
  26599. in: query
  26600. name: userid
  26601. required: true
  26602. type: integer
  26603. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26604. in: query
  26605. name: pricetype
  26606. type: integer
  26607. - description: 合同编号, 模拟查询
  26608. in: query
  26609. name: contractno
  26610. type: string
  26611. - description: 对手方, 模拟查询
  26612. in: query
  26613. name: customername
  26614. type: string
  26615. - description: 项合同类型 - 1:采购 -1:销售
  26616. in: query
  26617. name: contracttype
  26618. type: integer
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. items:
  26626. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  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. /Erms2/QueryArbitrageStrategy:
  26638. get:
  26639. parameters:
  26640. - description: 账户ID
  26641. in: query
  26642. name: userid
  26643. required: true
  26644. type: integer
  26645. - description: 商品组ID(品种ID)
  26646. in: query
  26647. name: goodsgroupid
  26648. type: string
  26649. produces:
  26650. - application/json
  26651. responses:
  26652. "200":
  26653. description: OK
  26654. schema:
  26655. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26656. "500":
  26657. description: Internal Server Error
  26658. schema:
  26659. $ref: '#/definitions/app.Response'
  26660. security:
  26661. - ApiKeyAuth: []
  26662. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26663. tags:
  26664. - 风险管理
  26665. /Erms2/QueryInnerTradeDetail:
  26666. get:
  26667. parameters:
  26668. - description: 资金账户
  26669. in: query
  26670. name: accountid
  26671. required: true
  26672. type: integer
  26673. produces:
  26674. - application/json
  26675. responses:
  26676. "200":
  26677. description: OK
  26678. schema:
  26679. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26680. "500":
  26681. description: Internal Server Error
  26682. schema:
  26683. $ref: '#/definitions/app.Response'
  26684. security:
  26685. - ApiKeyAuth: []
  26686. summary: 查询内部成交单信息
  26687. tags:
  26688. - 风险管理
  26689. /Erms2/QuerySpotContract:
  26690. get:
  26691. parameters:
  26692. - description: 策略申请ID
  26693. in: query
  26694. name: asapplyid
  26695. required: true
  26696. type: integer
  26697. - description: 现货合同ID
  26698. in: query
  26699. name: spotcontractid
  26700. type: integer
  26701. produces:
  26702. - application/json
  26703. responses:
  26704. "200":
  26705. description: OK
  26706. schema:
  26707. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26708. "500":
  26709. description: Internal Server Error
  26710. schema:
  26711. $ref: '#/definitions/app.Response'
  26712. security:
  26713. - ApiKeyAuth: []
  26714. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26715. tags:
  26716. - 风险管理
  26717. /Erms3/AddErms2ASApply:
  26718. post:
  26719. parameters:
  26720. - description: 申请参数
  26721. in: body
  26722. name: jsonBody
  26723. required: true
  26724. schema:
  26725. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26726. produces:
  26727. - application/json
  26728. responses:
  26729. "200":
  26730. description: OK
  26731. schema:
  26732. $ref: '#/definitions/app.Response'
  26733. "500":
  26734. description: Internal Server Error
  26735. schema:
  26736. $ref: '#/definitions/app.Response'
  26737. security:
  26738. - ApiKeyAuth: []
  26739. summary: 新增期现套利业务申请
  26740. tags:
  26741. - 风险管理v3
  26742. /Erms3/AddErms2SpotTradeApply:
  26743. post:
  26744. parameters:
  26745. - description: 申请参数
  26746. in: body
  26747. name: jsonBody
  26748. required: true
  26749. schema:
  26750. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26751. produces:
  26752. - application/json
  26753. responses:
  26754. "200":
  26755. description: OK
  26756. schema:
  26757. $ref: '#/definitions/app.Response'
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 新增现货贸易业务申请
  26765. tags:
  26766. - 风险管理v3
  26767. /Erms3/AddSpotContractApply:
  26768. post:
  26769. parameters:
  26770. - description: 申请参数
  26771. in: body
  26772. name: jsonBody
  26773. required: true
  26774. schema:
  26775. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26776. produces:
  26777. - application/json
  26778. responses:
  26779. "200":
  26780. description: OK
  26781. schema:
  26782. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26783. "500":
  26784. description: Internal Server Error
  26785. schema:
  26786. $ref: '#/definitions/app.Response'
  26787. security:
  26788. - ApiKeyAuth: []
  26789. summary: 新增现货合同申请
  26790. tags:
  26791. - 风险管理v3
  26792. /Erms3/AddUserInfoApply:
  26793. post:
  26794. parameters:
  26795. - description: 用户信息
  26796. in: body
  26797. name: jsonBody
  26798. required: true
  26799. schema:
  26800. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26801. produces:
  26802. - application/json
  26803. responses:
  26804. "200":
  26805. description: OK
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 新增客户申请
  26815. tags:
  26816. - 风险管理v3
  26817. /Erms3/DeleteUserInfoApply:
  26818. get:
  26819. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26820. parameters:
  26821. - description: 用户ID
  26822. in: query
  26823. name: userID
  26824. required: true
  26825. type: integer
  26826. produces:
  26827. - application/json
  26828. responses:
  26829. "200":
  26830. description: OK
  26831. schema:
  26832. $ref: '#/definitions/app.Response'
  26833. "500":
  26834. description: Internal Server Error
  26835. schema:
  26836. $ref: '#/definitions/app.Response'
  26837. security:
  26838. - ApiKeyAuth: []
  26839. summary: 删除客户申请
  26840. tags:
  26841. - 风险管理v3
  26842. /Erms3/ModifyUserInfoApply:
  26843. post:
  26844. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26845. int, "userstate": 2 }'
  26846. parameters:
  26847. - description: 用户信息
  26848. in: body
  26849. name: jsonBody
  26850. required: true
  26851. schema:
  26852. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. $ref: '#/definitions/app.Response'
  26860. "500":
  26861. description: Internal Server Error
  26862. schema:
  26863. $ref: '#/definitions/app.Response'
  26864. security:
  26865. - ApiKeyAuth: []
  26866. summary: 修改客户申请
  26867. tags:
  26868. - 风险管理v3
  26869. /Erms3/QueryBusinessInfo:
  26870. get:
  26871. parameters:
  26872. - description: 资金账号ID列表,用逗号分隔
  26873. in: query
  26874. name: accountids
  26875. required: true
  26876. type: string
  26877. - description: 状态,0为未结束 1为已结束
  26878. in: query
  26879. name: status
  26880. required: true
  26881. type: integer
  26882. produces:
  26883. - application/json
  26884. responses:
  26885. "200":
  26886. description: OK
  26887. schema:
  26888. items:
  26889. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26890. type: array
  26891. "500":
  26892. description: Internal Server Error
  26893. schema:
  26894. $ref: '#/definitions/app.Response'
  26895. security:
  26896. - ApiKeyAuth: []
  26897. summary: 查询业务表单数据
  26898. tags:
  26899. - 风险管理v3
  26900. /Erms3/QueryPendingAuditContract:
  26901. get:
  26902. parameters:
  26903. - description: 资金账号ID列表,逗号隔开
  26904. in: query
  26905. name: accountids
  26906. required: true
  26907. type: string
  26908. - description: 合同类型 1-采购 -1-销售
  26909. in: query
  26910. name: contracttype
  26911. required: true
  26912. type: integer
  26913. - description: 合同模式 1-普通 2-回购
  26914. in: query
  26915. name: contractmode
  26916. required: true
  26917. type: integer
  26918. produces:
  26919. - application/json
  26920. responses:
  26921. "200":
  26922. description: OK
  26923. schema:
  26924. items:
  26925. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26926. type: array
  26927. "500":
  26928. description: Internal Server Error
  26929. schema:
  26930. $ref: '#/definitions/app.Response'
  26931. security:
  26932. - ApiKeyAuth: []
  26933. summary: 查询待审核合同
  26934. tags:
  26935. - 风险管理v3
  26936. /Erms3/QueryPendingBusiness:
  26937. get:
  26938. parameters:
  26939. - description: 资金账号ID列表,逗号隔开
  26940. in: query
  26941. name: accountids
  26942. required: true
  26943. type: string
  26944. produces:
  26945. - application/json
  26946. responses:
  26947. "200":
  26948. description: OK
  26949. schema:
  26950. items:
  26951. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26952. type: array
  26953. "500":
  26954. description: Internal Server Error
  26955. schema:
  26956. $ref: '#/definitions/app.Response'
  26957. security:
  26958. - ApiKeyAuth: []
  26959. summary: 查询待审核基差贸易业务
  26960. tags:
  26961. - 风险管理v3
  26962. /Erms3/QuerySpotContractAppleForm:
  26963. get:
  26964. parameters:
  26965. - description: 登录账号
  26966. in: query
  26967. name: loginID
  26968. required: true
  26969. type: integer
  26970. produces:
  26971. - application/json
  26972. responses:
  26973. "200":
  26974. description: OK
  26975. schema:
  26976. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询合同申请表单数据
  26984. tags:
  26985. - 风险管理v3
  26986. /Erms3/QuerySpotContractDetail:
  26987. get:
  26988. parameters:
  26989. - description: 资金账号ID列表,用逗号分隔
  26990. in: query
  26991. name: accountids
  26992. required: true
  26993. type: string
  26994. - description: 合同类型,1为采购合同 -1为销售合同
  26995. in: query
  26996. name: contracttype
  26997. required: true
  26998. type: integer
  26999. - description: 合同模式,1为普通合同 2为回购销售合同
  27000. in: query
  27001. name: contractmode
  27002. required: true
  27003. type: integer
  27004. - description: 状态,0为履约中 1为已完成
  27005. in: query
  27006. name: status
  27007. required: true
  27008. type: integer
  27009. produces:
  27010. - application/json
  27011. responses:
  27012. "200":
  27013. description: OK
  27014. schema:
  27015. items:
  27016. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27017. type: array
  27018. "500":
  27019. description: Internal Server Error
  27020. schema:
  27021. $ref: '#/definitions/app.Response'
  27022. security:
  27023. - ApiKeyAuth: []
  27024. summary: 查询合同详细信息
  27025. tags:
  27026. - 风险管理v3
  27027. /Erms3/QueryUserInfoApplies:
  27028. get:
  27029. parameters:
  27030. - description: 页码
  27031. in: query
  27032. name: page
  27033. type: integer
  27034. - description: 每页条数
  27035. in: query
  27036. name: pagesize
  27037. type: integer
  27038. - description: 客户名称,支持模糊查询
  27039. in: query
  27040. name: userName
  27041. type: string
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27049. "500":
  27050. description: Internal Server Error
  27051. schema:
  27052. $ref: '#/definitions/app.Response'
  27053. security:
  27054. - ApiKeyAuth: []
  27055. summary: 客户申请信息查询
  27056. tags:
  27057. - 风险管理v3
  27058. /Erms3/QueryUserInfos:
  27059. get:
  27060. parameters:
  27061. - description: 页码
  27062. in: query
  27063. name: page
  27064. type: integer
  27065. - description: 每页条数
  27066. in: query
  27067. name: pagesize
  27068. type: integer
  27069. - description: 客户名称,支持模糊查询
  27070. in: query
  27071. name: userName
  27072. type: string
  27073. produces:
  27074. - application/json
  27075. responses:
  27076. "200":
  27077. description: OK
  27078. schema:
  27079. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27080. "500":
  27081. description: Internal Server Error
  27082. schema:
  27083. $ref: '#/definitions/app.Response'
  27084. security:
  27085. - ApiKeyAuth: []
  27086. summary: 客户信息查询
  27087. tags:
  27088. - 风险管理v3
  27089. /Guangzuan/GetGoods:
  27090. get:
  27091. parameters:
  27092. - description: 商品编号
  27093. in: query
  27094. name: goodsno
  27095. required: true
  27096. type: string
  27097. produces:
  27098. - application/json
  27099. responses:
  27100. "200":
  27101. description: OK
  27102. schema:
  27103. $ref: '#/definitions/models.GZGoods'
  27104. "500":
  27105. description: Internal Server Error
  27106. schema:
  27107. $ref: '#/definitions/app.Response'
  27108. security:
  27109. - ApiKeyAuth: []
  27110. - LoginID: []
  27111. - Group: []
  27112. summary: 获取钻石详情
  27113. tags:
  27114. - 广钻
  27115. /Guangzuan/QueryBuyOrder:
  27116. get:
  27117. parameters:
  27118. - description: 页码
  27119. in: query
  27120. name: page
  27121. type: integer
  27122. - description: 每页条数
  27123. in: query
  27124. name: pagesize
  27125. type: integer
  27126. - description: 商品(查询字段-模糊查询)
  27127. in: query
  27128. name: zsallproperties
  27129. type: string
  27130. - description: 钻石分类, 格式:1,2,3
  27131. in: query
  27132. name: zscategorys
  27133. type: string
  27134. - description: 委托单号
  27135. in: query
  27136. name: wrtradeorderid
  27137. type: integer
  27138. - description: 买方(查询字段-模糊查询)
  27139. in: query
  27140. name: buyusername
  27141. type: string
  27142. produces:
  27143. - application/json
  27144. responses:
  27145. "200":
  27146. description: OK
  27147. schema:
  27148. items:
  27149. $ref: '#/definitions/models.BuyOrder'
  27150. type: array
  27151. "500":
  27152. description: Internal Server Error
  27153. schema:
  27154. $ref: '#/definitions/app.Response'
  27155. security:
  27156. - ApiKeyAuth: []
  27157. - LoginID: []
  27158. - Group: []
  27159. summary: 查询求购大厅委托单
  27160. tags:
  27161. - 广钻
  27162. /Guangzuan/QueryDiamond:
  27163. post:
  27164. parameters:
  27165. - description: 钻石搜索入参
  27166. in: body
  27167. name: data
  27168. required: true
  27169. schema:
  27170. $ref: '#/definitions/models.SellOrderQueryReq'
  27171. produces:
  27172. - application/json
  27173. responses:
  27174. "200":
  27175. description: OK
  27176. schema:
  27177. items:
  27178. $ref: '#/definitions/models.SellOrder'
  27179. type: array
  27180. "500":
  27181. description: Internal Server Error
  27182. schema:
  27183. $ref: '#/definitions/app.Response'
  27184. security:
  27185. - ApiKeyAuth: []
  27186. - LoginID: []
  27187. - Group: []
  27188. summary: 钻石搜索
  27189. tags:
  27190. - 广钻
  27191. /Guangzuan/QueryMyBargainApply:
  27192. get:
  27193. parameters:
  27194. - description: 用户ID
  27195. in: query
  27196. name: userid
  27197. required: true
  27198. type: integer
  27199. - description: 页码
  27200. in: query
  27201. name: page
  27202. type: integer
  27203. - description: 每页条数
  27204. in: query
  27205. name: pagesize
  27206. type: integer
  27207. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27208. in: query
  27209. name: applystatus
  27210. type: integer
  27211. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27212. in: query
  27213. name: type
  27214. type: integer
  27215. produces:
  27216. - application/json
  27217. responses:
  27218. "200":
  27219. description: OK
  27220. schema:
  27221. items:
  27222. $ref: '#/definitions/models.MyBargainApply'
  27223. type: array
  27224. "500":
  27225. description: Internal Server Error
  27226. schema:
  27227. $ref: '#/definitions/app.Response'
  27228. security:
  27229. - ApiKeyAuth: []
  27230. - LoginID: []
  27231. - Group: []
  27232. summary: 查询我的询价-求购
  27233. tags:
  27234. - 广钻
  27235. /Guangzuan/QueryMyBuyOrder:
  27236. get:
  27237. parameters:
  27238. - description: 用户ID
  27239. in: query
  27240. name: userid
  27241. required: true
  27242. type: integer
  27243. - description: 页码
  27244. in: query
  27245. name: page
  27246. type: integer
  27247. - description: 每页条数
  27248. in: query
  27249. name: pagesize
  27250. type: integer
  27251. - description: 商品(查询字段-模糊查询)
  27252. in: query
  27253. name: zsallproperties
  27254. type: string
  27255. - description: 钻石分类, 格式:1,2,3
  27256. in: query
  27257. name: zscategorys
  27258. type: string
  27259. - description: 委托单号
  27260. in: query
  27261. name: wrtradeorderid
  27262. type: integer
  27263. - description: 是否历史查询
  27264. in: query
  27265. name: ishis
  27266. type: boolean
  27267. - description: 开始交易日(yyyymmdd)
  27268. in: query
  27269. name: begindate
  27270. type: string
  27271. - description: 结束交易日(yyyymmdd)
  27272. in: query
  27273. name: enddate
  27274. type: string
  27275. produces:
  27276. - application/json
  27277. responses:
  27278. "200":
  27279. description: OK
  27280. schema:
  27281. items:
  27282. $ref: '#/definitions/models.MyBuyOrder'
  27283. type: array
  27284. "500":
  27285. description: Internal Server Error
  27286. schema:
  27287. $ref: '#/definitions/app.Response'
  27288. security:
  27289. - ApiKeyAuth: []
  27290. - LoginID: []
  27291. - Group: []
  27292. summary: 查询我的求购
  27293. tags:
  27294. - 广钻
  27295. /Guangzuan/QueryMyDeListing:
  27296. get:
  27297. parameters:
  27298. - description: 用户ID
  27299. in: query
  27300. name: userid
  27301. required: true
  27302. type: integer
  27303. - description: 页码
  27304. in: query
  27305. name: page
  27306. type: integer
  27307. - description: 每页条数
  27308. in: query
  27309. name: pagesize
  27310. type: integer
  27311. - description: 商品(查询字段-模糊查询)
  27312. in: query
  27313. name: zsallproperties
  27314. type: string
  27315. - description: 钻石分类, 格式:1,2,3
  27316. in: query
  27317. name: zscategorys
  27318. type: string
  27319. - description: 成交单号
  27320. in: query
  27321. name: wrtradedetailid
  27322. type: integer
  27323. - description: 方向,0-购买 1-出售
  27324. in: query
  27325. name: buyorsell
  27326. type: integer
  27327. - description: 对手方(模糊匹配)
  27328. in: query
  27329. name: matchusername
  27330. type: string
  27331. - description: 开始交易日(yyyymmdd)
  27332. in: query
  27333. name: begindate
  27334. type: string
  27335. - description: 结束交易日(yyyymmdd)
  27336. in: query
  27337. name: enddate
  27338. type: string
  27339. produces:
  27340. - application/json
  27341. responses:
  27342. "200":
  27343. description: OK
  27344. schema:
  27345. items:
  27346. $ref: '#/definitions/models.MyDeListing'
  27347. type: array
  27348. "500":
  27349. description: Internal Server Error
  27350. schema:
  27351. $ref: '#/definitions/app.Response'
  27352. security:
  27353. - ApiKeyAuth: []
  27354. - LoginID: []
  27355. - Group: []
  27356. summary: 查询我的摘牌
  27357. tags:
  27358. - 广钻
  27359. /Guangzuan/QueryMyDelistingApply:
  27360. get:
  27361. parameters:
  27362. - description: 用户ID
  27363. in: query
  27364. name: userid
  27365. required: true
  27366. type: integer
  27367. - description: 页码
  27368. in: query
  27369. name: page
  27370. type: integer
  27371. - description: 每页条数
  27372. in: query
  27373. name: pagesize
  27374. type: integer
  27375. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27376. in: query
  27377. name: applystatus
  27378. type: integer
  27379. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27380. in: query
  27381. name: type
  27382. type: integer
  27383. produces:
  27384. - application/json
  27385. responses:
  27386. "200":
  27387. description: OK
  27388. schema:
  27389. items:
  27390. $ref: '#/definitions/models.MyDelistingApply'
  27391. type: array
  27392. "500":
  27393. description: Internal Server Error
  27394. schema:
  27395. $ref: '#/definitions/app.Response'
  27396. security:
  27397. - ApiKeyAuth: []
  27398. - LoginID: []
  27399. - Group: []
  27400. summary: 查询我的询价-出售
  27401. tags:
  27402. - 广钻
  27403. /Guangzuan/QueryMyFavorite:
  27404. get:
  27405. parameters:
  27406. - description: 用户ID
  27407. in: query
  27408. name: userid
  27409. required: true
  27410. type: integer
  27411. - description: 页码
  27412. in: query
  27413. name: page
  27414. type: integer
  27415. - description: 每页条数
  27416. in: query
  27417. name: pagesize
  27418. type: integer
  27419. - description: 钻石分类, 格式:1,2,3
  27420. in: query
  27421. name: zscategorys
  27422. type: string
  27423. produces:
  27424. - application/json
  27425. responses:
  27426. "200":
  27427. description: OK
  27428. schema:
  27429. items:
  27430. $ref: '#/definitions/models.MyFavorite'
  27431. type: array
  27432. "500":
  27433. description: Internal Server Error
  27434. schema:
  27435. $ref: '#/definitions/app.Response'
  27436. security:
  27437. - ApiKeyAuth: []
  27438. - LoginID: []
  27439. - Group: []
  27440. summary: 查询我的收藏
  27441. tags:
  27442. - 广钻
  27443. /Guangzuan/QueryMyPerformanc:
  27444. get:
  27445. parameters:
  27446. - description: 用户ID
  27447. in: query
  27448. name: userid
  27449. required: true
  27450. type: integer
  27451. - description: 页码
  27452. in: query
  27453. name: page
  27454. type: integer
  27455. - description: 每页条数
  27456. in: query
  27457. name: pagesize
  27458. type: integer
  27459. - description: 商品(查询字段-模糊查询)
  27460. in: query
  27461. name: zsallproperties
  27462. type: string
  27463. - description: 方向,0-买 1-卖
  27464. in: query
  27465. name: buyorsell
  27466. type: integer
  27467. - description: 是否历史查询
  27468. in: query
  27469. name: ishis
  27470. type: boolean
  27471. - description: 开始交易日(yyyymmdd)
  27472. in: query
  27473. name: begindate
  27474. type: string
  27475. - description: 结束交易日(yyyymmdd)
  27476. in: query
  27477. name: enddate
  27478. type: string
  27479. produces:
  27480. - application/json
  27481. responses:
  27482. "200":
  27483. description: OK
  27484. schema:
  27485. items:
  27486. $ref: '#/definitions/models.MyPerformanc'
  27487. type: array
  27488. "500":
  27489. description: Internal Server Error
  27490. schema:
  27491. $ref: '#/definitions/app.Response'
  27492. security:
  27493. - ApiKeyAuth: []
  27494. - LoginID: []
  27495. - Group: []
  27496. summary: 查询我的履约
  27497. tags:
  27498. - 广钻
  27499. /Guangzuan/QueryMySellOrder:
  27500. get:
  27501. parameters:
  27502. - description: 用户ID
  27503. in: query
  27504. name: userid
  27505. required: true
  27506. type: integer
  27507. - description: 页码
  27508. in: query
  27509. name: page
  27510. type: integer
  27511. - description: 每页条数
  27512. in: query
  27513. name: pagesize
  27514. type: integer
  27515. - description: 商品(查询字段-模糊查询)
  27516. in: query
  27517. name: zsallproperties
  27518. type: string
  27519. - description: 钻石分类, 格式:1,2,3
  27520. in: query
  27521. name: zscategorys
  27522. type: string
  27523. - description: 委托单号
  27524. in: query
  27525. name: wrtradeorderid
  27526. type: integer
  27527. - description: 是否历史查询
  27528. in: query
  27529. name: ishis
  27530. type: boolean
  27531. - description: 开始交易日(yyyymmdd)
  27532. in: query
  27533. name: begindate
  27534. type: string
  27535. - description: 结束交易日(yyyymmdd)
  27536. in: query
  27537. name: enddate
  27538. type: string
  27539. produces:
  27540. - application/json
  27541. responses:
  27542. "200":
  27543. description: OK
  27544. schema:
  27545. items:
  27546. $ref: '#/definitions/models.MySellOrder'
  27547. type: array
  27548. "500":
  27549. description: Internal Server Error
  27550. schema:
  27551. $ref: '#/definitions/app.Response'
  27552. security:
  27553. - ApiKeyAuth: []
  27554. - LoginID: []
  27555. - Group: []
  27556. summary: 查询我的出售
  27557. tags:
  27558. - 广钻
  27559. /Guangzuan/QueryMyWRPosition:
  27560. get:
  27561. parameters:
  27562. - description: 页码
  27563. in: query
  27564. name: page
  27565. type: integer
  27566. - description: 每页条数
  27567. in: query
  27568. name: pagesize
  27569. type: integer
  27570. - description: 登录用户ID
  27571. in: query
  27572. name: wruserid
  27573. required: true
  27574. type: integer
  27575. - description: 商品(查询字段-模糊查询)
  27576. in: query
  27577. name: zsallproperties
  27578. type: string
  27579. - description: 钻石分类, 格式:1,2,3
  27580. in: query
  27581. name: zscategorys
  27582. type: string
  27583. - description: 仓库ID
  27584. in: query
  27585. name: warehouseid
  27586. type: integer
  27587. - description: 是否上架,0-全部 1-是 2-否
  27588. in: query
  27589. name: marketflag
  27590. type: integer
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. items:
  27598. $ref: '#/definitions/models.MyWRPosition'
  27599. type: array
  27600. "500":
  27601. description: Internal Server Error
  27602. schema:
  27603. $ref: '#/definitions/app.Response'
  27604. security:
  27605. - ApiKeyAuth: []
  27606. - LoginID: []
  27607. - Group: []
  27608. summary: 查询我的库存
  27609. tags:
  27610. - 广钻
  27611. /Guangzuan/QuerySellOrder:
  27612. get:
  27613. parameters:
  27614. - description: 页码
  27615. in: query
  27616. name: page
  27617. type: integer
  27618. - description: 每页条数
  27619. in: query
  27620. name: pagesize
  27621. type: integer
  27622. - description: 商品(查询字段-模糊查询)
  27623. in: query
  27624. name: zsallproperties
  27625. type: string
  27626. - description: 钻石分类, 格式:1,2,3
  27627. in: query
  27628. name: zscategorys
  27629. type: string
  27630. - description: 委托单号
  27631. in: query
  27632. name: wrtradeorderid
  27633. type: integer
  27634. - description: 卖方(查询字段-模糊查询)
  27635. in: query
  27636. name: buyusername
  27637. type: string
  27638. produces:
  27639. - application/json
  27640. responses:
  27641. "200":
  27642. description: OK
  27643. schema:
  27644. items:
  27645. $ref: '#/definitions/models.SellOrder'
  27646. type: array
  27647. "500":
  27648. description: Internal Server Error
  27649. schema:
  27650. $ref: '#/definitions/app.Response'
  27651. security:
  27652. - ApiKeyAuth: []
  27653. - LoginID: []
  27654. - Group: []
  27655. summary: 查询出售大厅委托单
  27656. tags:
  27657. - 广钻
  27658. /Guangzuan/QueryWarehouseInfo:
  27659. get:
  27660. parameters:
  27661. - description: 页码
  27662. in: query
  27663. name: page
  27664. type: integer
  27665. - description: 每页条数
  27666. in: query
  27667. name: pagesize
  27668. type: integer
  27669. - description: 用户ID
  27670. in: query
  27671. name: userid
  27672. required: true
  27673. type: integer
  27674. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27675. in: query
  27676. name: status
  27677. type: string
  27678. - description: 是返回交易所仓库
  27679. in: query
  27680. name: isincludeexchange
  27681. type: boolean
  27682. produces:
  27683. - application/json
  27684. responses:
  27685. "200":
  27686. description: OK
  27687. schema:
  27688. items:
  27689. $ref: '#/definitions/models.GZWarehouseinfo'
  27690. type: array
  27691. "500":
  27692. description: Internal Server Error
  27693. schema:
  27694. $ref: '#/definitions/app.Response'
  27695. security:
  27696. - ApiKeyAuth: []
  27697. - LoginID: []
  27698. - Group: []
  27699. summary: 查询仓库信息
  27700. tags:
  27701. - 广钻
  27702. /Market/GetAllExExchanges:
  27703. get:
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. $ref: '#/definitions/models.Goods'
  27711. "500":
  27712. description: Internal Server Error
  27713. schema:
  27714. $ref: '#/definitions/app.Response'
  27715. security:
  27716. - ApiKeyAuth: []
  27717. summary: 获取所有外部交易所信息
  27718. tags:
  27719. - 通用市场
  27720. /Market/QueryGoodsesByLoginID:
  27721. get:
  27722. parameters:
  27723. - description: 登录账号
  27724. in: query
  27725. name: loginID
  27726. required: true
  27727. type: integer
  27728. - description: 市场ID列表,格式:1,2,3
  27729. in: query
  27730. name: marketIDs
  27731. type: string
  27732. produces:
  27733. - application/json
  27734. responses:
  27735. "200":
  27736. description: OK
  27737. schema:
  27738. $ref: '#/definitions/models.Goods'
  27739. "500":
  27740. description: Internal Server Error
  27741. schema:
  27742. $ref: '#/definitions/app.Response'
  27743. security:
  27744. - ApiKeyAuth: []
  27745. summary: 获取登录账号有权限的商品信息
  27746. tags:
  27747. - 通用市场
  27748. /Market/QueryMarketRun:
  27749. get:
  27750. parameters:
  27751. - description: 市场ID,不传返回所有
  27752. in: query
  27753. name: marketID
  27754. type: integer
  27755. produces:
  27756. - application/json
  27757. responses:
  27758. "200":
  27759. description: OK
  27760. schema:
  27761. $ref: '#/definitions/models.Marketrun'
  27762. "500":
  27763. description: Internal Server Error
  27764. schema:
  27765. $ref: '#/definitions/app.Response'
  27766. security:
  27767. - ApiKeyAuth: []
  27768. summary: 查询市场运行信息
  27769. tags:
  27770. - 通用市场
  27771. /Market/QueryMarketsByLoginID:
  27772. get:
  27773. parameters:
  27774. - description: 登录账号
  27775. in: query
  27776. name: loginID
  27777. required: true
  27778. type: integer
  27779. produces:
  27780. - application/json
  27781. responses:
  27782. "200":
  27783. description: OK
  27784. schema:
  27785. $ref: '#/definitions/models.Market'
  27786. "500":
  27787. description: Internal Server Error
  27788. schema:
  27789. $ref: '#/definitions/app.Response'
  27790. security:
  27791. - ApiKeyAuth: []
  27792. summary: 获取登录账号有权限的市场信息
  27793. tags:
  27794. - 通用市场
  27795. /Order/QueryHisTradeDetail:
  27796. get:
  27797. parameters:
  27798. - description: 资金账户 - 格式:1,2,3
  27799. in: query
  27800. name: accountID
  27801. required: true
  27802. type: string
  27803. - description: 成交单号
  27804. in: query
  27805. name: tradeID
  27806. type: integer
  27807. - description: 委托单号
  27808. in: query
  27809. name: orderID
  27810. type: integer
  27811. - description: 商品ID
  27812. in: query
  27813. name: goodsID
  27814. type: integer
  27815. - description: 交易模式 - 格式:1,2,3
  27816. in: query
  27817. name: tradeMode
  27818. type: string
  27819. - description: 委托单据类型
  27820. in: query
  27821. name: buildType
  27822. type: integer
  27823. - description: 成交类别 - 格式:1,2,3
  27824. in: query
  27825. name: tradeType
  27826. type: string
  27827. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27828. in: query
  27829. name: startDate
  27830. type: string
  27831. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27832. in: query
  27833. name: endDate
  27834. type: string
  27835. produces:
  27836. - application/json
  27837. responses:
  27838. "200":
  27839. description: OK
  27840. schema:
  27841. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27842. "500":
  27843. description: Internal Server Error
  27844. schema:
  27845. $ref: '#/definitions/app.Response'
  27846. security:
  27847. - ApiKeyAuth: []
  27848. summary: 历史成交单查询(合约市场)
  27849. tags:
  27850. - 通用单据
  27851. /Order/QueryHisTradeOrderDetail:
  27852. get:
  27853. parameters:
  27854. - description: 资金账户 - 格式:1,2,3
  27855. in: query
  27856. name: accountID
  27857. required: true
  27858. type: string
  27859. - description: 交易模式 - 格式:1,2,3
  27860. in: query
  27861. name: tradeMode
  27862. type: string
  27863. - description: 委托状态 - 格式:1,2,3
  27864. in: query
  27865. name: orderStatus
  27866. type: string
  27867. - description: 委托单号
  27868. in: query
  27869. name: orderID
  27870. type: integer
  27871. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27872. in: query
  27873. name: startDate
  27874. type: string
  27875. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27876. in: query
  27877. name: endDate
  27878. type: string
  27879. produces:
  27880. - application/json
  27881. responses:
  27882. "200":
  27883. description: OK
  27884. schema:
  27885. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27886. "500":
  27887. description: Internal Server Error
  27888. schema:
  27889. $ref: '#/definitions/app.Response'
  27890. security:
  27891. - ApiKeyAuth: []
  27892. summary: 历史委托单查询请求(合约市场)
  27893. tags:
  27894. - 通用单据
  27895. /Order/QueryTradeDetail:
  27896. get:
  27897. parameters:
  27898. - description: 资金账户 - 格式:1,2,3
  27899. in: query
  27900. name: accountID
  27901. required: true
  27902. type: string
  27903. - description: 成交单号
  27904. in: query
  27905. name: tradeID
  27906. type: integer
  27907. - description: 委托单号
  27908. in: query
  27909. name: orderID
  27910. type: integer
  27911. - description: 交易模式 - 格式:1,2,3
  27912. in: query
  27913. name: tradeMode
  27914. type: string
  27915. - description: 委托单据类型
  27916. in: query
  27917. name: buildType
  27918. type: integer
  27919. - description: 成交类别 - 格式:1,2,3
  27920. in: query
  27921. name: tradeType
  27922. type: string
  27923. - description: 商品ID
  27924. in: query
  27925. name: goodsID
  27926. type: integer
  27927. produces:
  27928. - application/json
  27929. responses:
  27930. "200":
  27931. description: OK
  27932. schema:
  27933. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27934. "500":
  27935. description: Internal Server Error
  27936. schema:
  27937. $ref: '#/definitions/app.Response'
  27938. security:
  27939. - ApiKeyAuth: []
  27940. summary: 成交单查询(合约市场)
  27941. tags:
  27942. - 通用单据
  27943. /Order/QueryTradeHolderDetail:
  27944. get:
  27945. parameters:
  27946. - description: 用户id
  27947. in: query
  27948. name: userid
  27949. type: integer
  27950. - description: 资金账号, 格式 1,2,3
  27951. in: query
  27952. name: accids
  27953. type: string
  27954. - description: 交易模式, 格式 1,2,3
  27955. in: query
  27956. name: trademodes
  27957. type: string
  27958. - description: 市场id, 格式 1,2,3
  27959. in: query
  27960. name: marketids
  27961. type: string
  27962. - description: 商品id
  27963. in: query
  27964. name: goodsid
  27965. type: integer
  27966. - description: 买卖方向 0-买 1-卖
  27967. in: query
  27968. name: buyorsell
  27969. type: integer
  27970. produces:
  27971. - application/json
  27972. responses:
  27973. "200":
  27974. description: OK
  27975. schema:
  27976. items:
  27977. $ref: '#/definitions/models.TradeHolderDetail'
  27978. type: array
  27979. "500":
  27980. description: Internal Server Error
  27981. schema:
  27982. $ref: '#/definitions/app.Response'
  27983. security:
  27984. - ApiKeyAuth: []
  27985. summary: 查询持仓明细
  27986. tags:
  27987. - 通用单据
  27988. /Order/QueryTradeOrderDetail:
  27989. get:
  27990. parameters:
  27991. - description: 资金账户 - 格式:1,2,3
  27992. in: query
  27993. name: accountID
  27994. required: true
  27995. type: string
  27996. - description: 交易模式 - 格式:1,2,3
  27997. in: query
  27998. name: tradeMode
  27999. type: string
  28000. - description: 委托状态 - 格式:1,2,3
  28001. in: query
  28002. name: orderStatus
  28003. type: string
  28004. - description: 委托单号
  28005. in: query
  28006. name: orderID
  28007. type: integer
  28008. produces:
  28009. - application/json
  28010. responses:
  28011. "200":
  28012. description: OK
  28013. schema:
  28014. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28015. "500":
  28016. description: Internal Server Error
  28017. schema:
  28018. $ref: '#/definitions/app.Response'
  28019. security:
  28020. - ApiKeyAuth: []
  28021. summary: 委托单查询请求(合约市场)
  28022. tags:
  28023. - 通用单据
  28024. /Order/QueryTradePosition:
  28025. get:
  28026. parameters:
  28027. - description: 资金账户 - 格式:1,2,3
  28028. in: query
  28029. name: accountID
  28030. required: true
  28031. type: string
  28032. - description: 交易模式 - 格式:1,2,3
  28033. in: query
  28034. name: tradeMode
  28035. type: string
  28036. produces:
  28037. - application/json
  28038. responses:
  28039. "200":
  28040. description: OK
  28041. schema:
  28042. $ref: '#/definitions/order.QueryTradePositionRsp'
  28043. "500":
  28044. description: Internal Server Error
  28045. schema:
  28046. $ref: '#/definitions/app.Response'
  28047. security:
  28048. - ApiKeyAuth: []
  28049. summary: 持仓汇总查询(合约市场)
  28050. tags:
  28051. - 通用单据
  28052. /Qhj/QueryAccountInOutApply:
  28053. get:
  28054. parameters:
  28055. - description: 用户ID
  28056. in: query
  28057. name: userid
  28058. required: true
  28059. type: integer
  28060. - description: 申请起始日期(格式yyyymmdd)
  28061. in: query
  28062. name: begindate
  28063. type: string
  28064. - description: 申请截止日期(格式yyyymmdd)
  28065. in: query
  28066. name: enddate
  28067. type: string
  28068. - description: 模糊搜索名称
  28069. in: query
  28070. name: likename
  28071. type: string
  28072. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28073. in: query
  28074. name: applystatus
  28075. type: integer
  28076. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28077. in: query
  28078. name: querytype
  28079. type: integer
  28080. produces:
  28081. - application/json
  28082. responses:
  28083. "200":
  28084. description: OK
  28085. schema:
  28086. items:
  28087. $ref: '#/definitions/models.QhjAccountOutInApply'
  28088. type: array
  28089. "500":
  28090. description: Internal Server Error
  28091. schema:
  28092. $ref: '#/definitions/app.Response'
  28093. security:
  28094. - ApiKeyAuth: []
  28095. summary: 查询充值提现
  28096. tags:
  28097. - 大连千海金
  28098. /Qhj/QueryAreaFinanceConfig:
  28099. get:
  28100. parameters:
  28101. - description: 机构用户ID 其他做市关系,都设置为 1
  28102. in: query
  28103. name: userid
  28104. type: integer
  28105. produces:
  28106. - application/json
  28107. responses:
  28108. "200":
  28109. description: OK
  28110. schema:
  28111. items:
  28112. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28113. type: array
  28114. "500":
  28115. description: Internal Server Error
  28116. schema:
  28117. $ref: '#/definitions/app.Response'
  28118. security:
  28119. - ApiKeyAuth: []
  28120. summary: 查询企业配置表
  28121. tags:
  28122. - 大连千海金
  28123. /Qhj/QueryBankAccountSign:
  28124. get:
  28125. parameters:
  28126. - description: 用户ID
  28127. in: query
  28128. name: userid
  28129. required: true
  28130. type: integer
  28131. produces:
  28132. - application/json
  28133. responses:
  28134. "200":
  28135. description: OK
  28136. schema:
  28137. items:
  28138. $ref: '#/definitions/models.QhjBankAccountSign'
  28139. type: array
  28140. "500":
  28141. description: Internal Server Error
  28142. schema:
  28143. $ref: '#/definitions/app.Response'
  28144. security:
  28145. - ApiKeyAuth: []
  28146. summary: 查询签约银行信息(提现账户管理)
  28147. tags:
  28148. - 大连千海金
  28149. /Qhj/QueryBankInfo:
  28150. get:
  28151. produces:
  28152. - application/json
  28153. responses:
  28154. "200":
  28155. description: OK
  28156. schema:
  28157. items:
  28158. $ref: '#/definitions/models.QhjBankInfo'
  28159. type: array
  28160. "500":
  28161. description: Internal Server Error
  28162. schema:
  28163. $ref: '#/definitions/app.Response'
  28164. security:
  28165. - ApiKeyAuth: []
  28166. summary: 查询开户行
  28167. tags:
  28168. - 大连千海金
  28169. /Qhj/QueryBrokerApply:
  28170. get:
  28171. parameters:
  28172. - description: 所属机构ID
  28173. in: query
  28174. name: userid
  28175. type: integer
  28176. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28177. in: query
  28178. name: filterstatus
  28179. type: string
  28180. produces:
  28181. - application/json
  28182. responses:
  28183. "200":
  28184. description: OK
  28185. schema:
  28186. items:
  28187. $ref: '#/definitions/models.QhjBrokerApply'
  28188. type: array
  28189. "500":
  28190. description: Internal Server Error
  28191. schema:
  28192. $ref: '#/definitions/app.Response'
  28193. security:
  28194. - ApiKeyAuth: []
  28195. summary: 查询经纪人申请
  28196. tags:
  28197. - 大连千海金
  28198. /Qhj/QueryBrokerApplyEx:
  28199. get:
  28200. parameters:
  28201. - description: 所属机构ID
  28202. in: query
  28203. name: userid
  28204. type: integer
  28205. produces:
  28206. - application/json
  28207. responses:
  28208. "200":
  28209. description: OK
  28210. schema:
  28211. items:
  28212. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28213. type: array
  28214. "500":
  28215. description: Internal Server Error
  28216. schema:
  28217. $ref: '#/definitions/app.Response'
  28218. security:
  28219. - ApiKeyAuth: []
  28220. summary: 查询经纪人信息和申请记录
  28221. tags:
  28222. - 大连千海金
  28223. /Qhj/QueryBrokerRewardLog:
  28224. get:
  28225. parameters:
  28226. - description: 用户ID
  28227. in: query
  28228. name: userid
  28229. required: true
  28230. type: integer
  28231. - description: 开始交易日(yyyymmdd)
  28232. in: query
  28233. name: begindate
  28234. type: string
  28235. - description: 结束交易日(yyyymmdd)
  28236. in: query
  28237. name: enddate
  28238. type: string
  28239. produces:
  28240. - application/json
  28241. responses:
  28242. "200":
  28243. description: OK
  28244. schema:
  28245. items:
  28246. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28247. type: array
  28248. "500":
  28249. description: Internal Server Error
  28250. schema:
  28251. $ref: '#/definitions/app.Response'
  28252. security:
  28253. - ApiKeyAuth: []
  28254. summary: 查询奖励流水(我的奖励)
  28255. tags:
  28256. - 大连千海金
  28257. /Qhj/QueryContract:
  28258. get:
  28259. parameters:
  28260. - description: 用户ID
  28261. in: query
  28262. name: userid
  28263. type: integer
  28264. - description: scf合同id
  28265. in: query
  28266. name: scfcontractid
  28267. type: integer
  28268. produces:
  28269. - application/json
  28270. responses:
  28271. "200":
  28272. description: OK
  28273. schema:
  28274. items:
  28275. $ref: '#/definitions/models.QhjContract'
  28276. type: array
  28277. "500":
  28278. description: Internal Server Error
  28279. schema:
  28280. $ref: '#/definitions/app.Response'
  28281. security:
  28282. - ApiKeyAuth: []
  28283. summary: 查询融资明细(合同)
  28284. tags:
  28285. - 大连千海金
  28286. /Qhj/QueryContractLog:
  28287. get:
  28288. parameters:
  28289. - description: scf合同id
  28290. in: query
  28291. name: scfcontractid
  28292. required: true
  28293. type: integer
  28294. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28295. in: query
  28296. name: amounttype
  28297. type: string
  28298. produces:
  28299. - application/json
  28300. responses:
  28301. "200":
  28302. description: OK
  28303. schema:
  28304. items:
  28305. $ref: '#/definitions/models.QhjContractLog'
  28306. type: array
  28307. "500":
  28308. description: Internal Server Error
  28309. schema:
  28310. $ref: '#/definitions/app.Response'
  28311. security:
  28312. - ApiKeyAuth: []
  28313. summary: 查询融资明细流水(融资明细详情页中的流水)
  28314. tags:
  28315. - 大连千海金
  28316. /Qhj/QueryCusBankSignBank:
  28317. get:
  28318. produces:
  28319. - application/json
  28320. responses:
  28321. "200":
  28322. description: OK
  28323. schema:
  28324. items:
  28325. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28326. type: array
  28327. "500":
  28328. description: Internal Server Error
  28329. schema:
  28330. $ref: '#/definitions/app.Response'
  28331. security:
  28332. - ApiKeyAuth: []
  28333. summary: 查询托管银行
  28334. tags:
  28335. - 大连千海金
  28336. /Qhj/QueryCustomerInfo:
  28337. get:
  28338. parameters:
  28339. - description: 用户ID
  28340. in: query
  28341. name: userid
  28342. required: true
  28343. type: integer
  28344. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28345. in: query
  28346. name: querytype
  28347. required: true
  28348. type: integer
  28349. - description: 客户类型 1-个人 2-企业
  28350. in: query
  28351. name: userinfotype
  28352. type: integer
  28353. - description: 客户名称(模糊匹配)
  28354. in: query
  28355. name: customername
  28356. type: string
  28357. - description: 昵称(模糊匹配)
  28358. in: query
  28359. name: nickname
  28360. type: string
  28361. - description: 是否包含子级 1-包含
  28362. in: query
  28363. name: includesub
  28364. type: integer
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.QhjCustomer'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. summary: 查询客户资料
  28381. tags:
  28382. - 大连千海金
  28383. /Qhj/QueryGoodsEx:
  28384. get:
  28385. parameters:
  28386. - description: 商品id
  28387. in: query
  28388. name: goodsid
  28389. type: integer
  28390. produces:
  28391. - application/json
  28392. responses:
  28393. "200":
  28394. description: OK
  28395. schema:
  28396. items:
  28397. $ref: '#/definitions/models.Qhjgoodsex'
  28398. type: array
  28399. "500":
  28400. description: Internal Server Error
  28401. schema:
  28402. $ref: '#/definitions/app.Response'
  28403. security:
  28404. - ApiKeyAuth: []
  28405. summary: 交易商品扩展表
  28406. tags:
  28407. - 大连千海金
  28408. /Qhj/QueryMyTeam:
  28409. get:
  28410. parameters:
  28411. - description: 用户ID
  28412. in: query
  28413. name: userid
  28414. required: true
  28415. type: integer
  28416. produces:
  28417. - application/json
  28418. responses:
  28419. "200":
  28420. description: OK
  28421. schema:
  28422. items:
  28423. $ref: '#/definitions/models.QhjMyTeamEx'
  28424. type: array
  28425. "500":
  28426. description: Internal Server Error
  28427. schema:
  28428. $ref: '#/definitions/app.Response'
  28429. security:
  28430. - ApiKeyAuth: []
  28431. summary: 查询我的团队
  28432. tags:
  28433. - 大连千海金
  28434. /Qhj/QueryMyTeamOrder:
  28435. get:
  28436. parameters:
  28437. - description: 页码
  28438. in: query
  28439. name: page
  28440. type: integer
  28441. - description: 每页条数
  28442. in: query
  28443. name: pagesize
  28444. type: integer
  28445. - description: 用户ID
  28446. in: query
  28447. name: userid
  28448. required: true
  28449. type: integer
  28450. - description: 交易模式
  28451. in: query
  28452. name: trademode
  28453. type: integer
  28454. - description: 名称(模糊搜索账户)
  28455. in: query
  28456. name: filtername
  28457. type: string
  28458. produces:
  28459. - application/json
  28460. responses:
  28461. "200":
  28462. description: OK
  28463. schema:
  28464. items:
  28465. $ref: '#/definitions/models.QhjTeamOrder'
  28466. type: array
  28467. "500":
  28468. description: Internal Server Error
  28469. schema:
  28470. $ref: '#/definitions/app.Response'
  28471. security:
  28472. - ApiKeyAuth: []
  28473. summary: 查询团队订单(我的团队/团队订单)
  28474. tags:
  28475. - 大连千海金
  28476. /Qhj/QueryParentAreaList:
  28477. get:
  28478. parameters:
  28479. - description: 用户ID
  28480. in: query
  28481. name: userid
  28482. required: true
  28483. type: integer
  28484. produces:
  28485. - application/json
  28486. responses:
  28487. "200":
  28488. description: OK
  28489. schema:
  28490. items:
  28491. $ref: '#/definitions/models.QhjParentAreaList'
  28492. type: array
  28493. "500":
  28494. description: Internal Server Error
  28495. schema:
  28496. $ref: '#/definitions/app.Response'
  28497. security:
  28498. - ApiKeyAuth: []
  28499. summary: 查询所属机构列表
  28500. tags:
  28501. - 大连千海金
  28502. /Qhj/QueryPayOrder:
  28503. get:
  28504. parameters:
  28505. - description: 资金账号id
  28506. in: query
  28507. name: accountid
  28508. required: true
  28509. type: integer
  28510. - description: 成交单号
  28511. in: query
  28512. name: tradeid
  28513. type: integer
  28514. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28515. in: query
  28516. name: payflag
  28517. type: string
  28518. produces:
  28519. - application/json
  28520. responses:
  28521. "200":
  28522. description: OK
  28523. schema:
  28524. items:
  28525. $ref: '#/definitions/models.QhjPayOrder'
  28526. type: array
  28527. "500":
  28528. description: Internal Server Error
  28529. schema:
  28530. $ref: '#/definitions/app.Response'
  28531. security:
  28532. - ApiKeyAuth: []
  28533. summary: 查询待付款单据
  28534. tags:
  28535. - 大连千海金
  28536. /Qhj/QueryPickArea:
  28537. get:
  28538. parameters:
  28539. - description: 用户ID
  28540. in: query
  28541. name: userid
  28542. type: integer
  28543. produces:
  28544. - application/json
  28545. responses:
  28546. "200":
  28547. description: OK
  28548. schema:
  28549. items:
  28550. $ref: '#/definitions/models.QhjPickArea'
  28551. type: array
  28552. "500":
  28553. description: Internal Server Error
  28554. schema:
  28555. $ref: '#/definitions/app.Response'
  28556. security:
  28557. - ApiKeyAuth: []
  28558. summary: 查询提货门店
  28559. tags:
  28560. - 大连千海金
  28561. /Qhj/QueryPickGoods:
  28562. get:
  28563. parameters:
  28564. - description: 交易商品id
  28565. in: query
  28566. name: goodsid
  28567. required: true
  28568. type: integer
  28569. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28570. in: query
  28571. name: status
  28572. type: string
  28573. produces:
  28574. - application/json
  28575. responses:
  28576. "200":
  28577. description: OK
  28578. schema:
  28579. items:
  28580. $ref: '#/definitions/models.QhjPickGoods'
  28581. type: array
  28582. "500":
  28583. description: Internal Server Error
  28584. schema:
  28585. $ref: '#/definitions/app.Response'
  28586. security:
  28587. - ApiKeyAuth: []
  28588. summary: 查询提货商品
  28589. tags:
  28590. - 大连千海金
  28591. /Qhj/QueryRSTriggerLog:
  28592. get:
  28593. parameters:
  28594. - description: 用户ID
  28595. in: query
  28596. name: userid
  28597. type: integer
  28598. - description: 定投策略id
  28599. in: query
  28600. name: regularlystrategyid
  28601. type: integer
  28602. - description: 商品id
  28603. in: query
  28604. name: goodsid
  28605. type: integer
  28606. - description: 开始交易日(yyyymmdd)
  28607. in: query
  28608. name: begindate
  28609. type: string
  28610. - description: 结束交易日(yyyymmdd)
  28611. in: query
  28612. name: enddate
  28613. type: string
  28614. - description: 名称(模糊搜索账户)
  28615. in: query
  28616. name: filtername
  28617. type: string
  28618. produces:
  28619. - application/json
  28620. responses:
  28621. "200":
  28622. description: OK
  28623. schema:
  28624. items:
  28625. $ref: '#/definitions/models.QhjRSTriggerLog'
  28626. type: array
  28627. "500":
  28628. description: Internal Server Error
  28629. schema:
  28630. $ref: '#/definitions/app.Response'
  28631. security:
  28632. - ApiKeyAuth: []
  28633. summary: 查询定投记录(定投管理/详情/定投记录)
  28634. tags:
  28635. - 大连千海金
  28636. /Qhj/QueryRStrategy:
  28637. get:
  28638. parameters:
  28639. - description: 用户ID
  28640. in: query
  28641. name: userid
  28642. type: integer
  28643. - description: 商品id
  28644. in: query
  28645. name: goodsid
  28646. type: integer
  28647. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28648. in: query
  28649. name: status
  28650. type: string
  28651. - description: 名称(模糊搜索账户)
  28652. in: query
  28653. name: filtername
  28654. type: string
  28655. produces:
  28656. - application/json
  28657. responses:
  28658. "200":
  28659. description: OK
  28660. schema:
  28661. items:
  28662. $ref: '#/definitions/models.QhjRStrategy'
  28663. type: array
  28664. "500":
  28665. description: Internal Server Error
  28666. schema:
  28667. $ref: '#/definitions/app.Response'
  28668. security:
  28669. - ApiKeyAuth: []
  28670. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28671. tags:
  28672. - 大连千海金
  28673. /Qhj/QueryReckonPriceLog:
  28674. get:
  28675. parameters:
  28676. - description: 商品ID
  28677. in: query
  28678. name: goodsid
  28679. type: integer
  28680. - description: 交易日 格式(yyyymmdd)
  28681. in: query
  28682. name: tradedate
  28683. type: string
  28684. produces:
  28685. - application/json
  28686. responses:
  28687. "200":
  28688. description: OK
  28689. schema:
  28690. items:
  28691. $ref: '#/definitions/models.QhjReckonPriceLog'
  28692. type: array
  28693. "500":
  28694. description: Internal Server Error
  28695. schema:
  28696. $ref: '#/definitions/app.Response'
  28697. security:
  28698. - ApiKeyAuth: []
  28699. summary: 查询定投价(结算价)
  28700. tags:
  28701. - 大连千海金
  28702. /Qhj/QueryScoreLog:
  28703. get:
  28704. parameters:
  28705. - description: 用户ID
  28706. in: query
  28707. name: userid
  28708. required: true
  28709. type: integer
  28710. - description: 开始交易日(yyyymmdd)
  28711. in: query
  28712. name: begindate
  28713. type: string
  28714. - description: 结束交易日(yyyymmdd)
  28715. in: query
  28716. name: enddate
  28717. type: string
  28718. - description: 最近多少条
  28719. in: query
  28720. name: lastnum
  28721. type: integer
  28722. produces:
  28723. - application/json
  28724. responses:
  28725. "200":
  28726. description: OK
  28727. schema:
  28728. items:
  28729. $ref: '#/definitions/models.QhjScoreLog'
  28730. type: array
  28731. "500":
  28732. description: Internal Server Error
  28733. schema:
  28734. $ref: '#/definitions/app.Response'
  28735. security:
  28736. - ApiKeyAuth: []
  28737. summary: 查询积分流水(我的积分)
  28738. tags:
  28739. - 大连千海金
  28740. /Qhj/QuerySiteColumnDetail:
  28741. get:
  28742. parameters:
  28743. - description: 用户ID
  28744. in: query
  28745. name: userid
  28746. required: true
  28747. type: integer
  28748. produces:
  28749. - application/json
  28750. responses:
  28751. "200":
  28752. description: OK
  28753. schema:
  28754. items:
  28755. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28756. type: array
  28757. "500":
  28758. description: Internal Server Error
  28759. schema:
  28760. $ref: '#/definitions/app.Response'
  28761. security:
  28762. - ApiKeyAuth: []
  28763. summary: 查询资讯
  28764. tags:
  28765. - 大连千海金
  28766. /Qhj/QueryTradeGoodsPickup:
  28767. get:
  28768. parameters:
  28769. - description: 用户ID
  28770. in: query
  28771. name: userid
  28772. required: true
  28773. type: integer
  28774. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28775. 7:已拒绝 8:已撤销
  28776. in: query
  28777. name: takeorderstatus
  28778. type: integer
  28779. produces:
  28780. - application/json
  28781. responses:
  28782. "200":
  28783. description: OK
  28784. schema:
  28785. items:
  28786. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28787. type: array
  28788. "500":
  28789. description: Internal Server Error
  28790. schema:
  28791. $ref: '#/definitions/app.Response'
  28792. security:
  28793. - ApiKeyAuth: []
  28794. summary: 查询提货
  28795. tags:
  28796. - 大连千海金
  28797. /Qhj/QueryUserCollectConfig:
  28798. get:
  28799. parameters:
  28800. - description: 用户ID
  28801. in: query
  28802. name: userid
  28803. required: true
  28804. type: integer
  28805. produces:
  28806. - application/json
  28807. responses:
  28808. "200":
  28809. description: OK
  28810. schema:
  28811. items:
  28812. $ref: '#/definitions/models.UserCollectConfig'
  28813. type: array
  28814. "500":
  28815. description: Internal Server Error
  28816. schema:
  28817. $ref: '#/definitions/app.Response'
  28818. security:
  28819. - ApiKeyAuth: []
  28820. summary: 查询提现账户设置
  28821. tags:
  28822. - 大连千海金
  28823. /Qhj/QueryUserReceiveInfo:
  28824. get:
  28825. parameters:
  28826. - description: 用户ID
  28827. in: query
  28828. name: userid
  28829. required: true
  28830. type: integer
  28831. produces:
  28832. - application/json
  28833. responses:
  28834. "200":
  28835. description: OK
  28836. schema:
  28837. items:
  28838. $ref: '#/definitions/models.UserReceiveInfo'
  28839. type: array
  28840. "500":
  28841. description: Internal Server Error
  28842. schema:
  28843. $ref: '#/definitions/app.Response'
  28844. security:
  28845. - ApiKeyAuth: []
  28846. summary: 查询收货地址信息
  28847. tags:
  28848. - 大连千海金
  28849. /QhjMgr/QueryAccountInOutApply:
  28850. get:
  28851. parameters:
  28852. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28853. in: query
  28854. name: querytype
  28855. required: true
  28856. type: integer
  28857. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28858. in: query
  28859. name: applystatus
  28860. type: integer
  28861. - description: 申请起始日期(格式yyyymmdd)
  28862. in: query
  28863. name: begindate
  28864. type: string
  28865. - description: 申请截止日期(格式yyyymmdd)
  28866. in: query
  28867. name: enddate
  28868. type: string
  28869. - description: 模糊搜索名称
  28870. in: query
  28871. name: likename
  28872. type: string
  28873. produces:
  28874. - application/json
  28875. responses:
  28876. "200":
  28877. description: OK
  28878. schema:
  28879. items:
  28880. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28881. type: array
  28882. "500":
  28883. description: Internal Server Error
  28884. schema:
  28885. $ref: '#/definitions/app.Response'
  28886. security:
  28887. - ApiKeyAuth: []
  28888. summary: 查询充值提现
  28889. tags:
  28890. - 大连千海金(PCWeb)
  28891. /QhjMgr/QueryBrokerApply:
  28892. get:
  28893. parameters:
  28894. - description: 所属机构ID
  28895. in: query
  28896. name: userid
  28897. type: integer
  28898. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28899. in: query
  28900. name: filterstatus
  28901. type: string
  28902. - description: 名称(模糊匹配)
  28903. in: query
  28904. name: filtername
  28905. type: string
  28906. - description: 是否包含子级 1-包含
  28907. in: query
  28908. name: includesub
  28909. type: integer
  28910. produces:
  28911. - application/json
  28912. responses:
  28913. "200":
  28914. description: OK
  28915. schema:
  28916. items:
  28917. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28918. type: array
  28919. "500":
  28920. description: Internal Server Error
  28921. schema:
  28922. $ref: '#/definitions/app.Response'
  28923. security:
  28924. - ApiKeyAuth: []
  28925. summary: 查询经纪人申请
  28926. tags:
  28927. - 大连千海金(PCWeb)
  28928. /QhjMgr/QueryBrokerRewardReport:
  28929. get:
  28930. parameters:
  28931. - description: 所属机构ID
  28932. in: query
  28933. name: userid
  28934. required: true
  28935. type: integer
  28936. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28937. in: query
  28938. name: cycletype
  28939. required: true
  28940. type: integer
  28941. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28942. in: query
  28943. name: cycletime
  28944. required: true
  28945. type: string
  28946. - description: 名称(模糊匹配)
  28947. in: query
  28948. name: filtername
  28949. type: string
  28950. - description: 是否包含子级 1-包含
  28951. in: query
  28952. name: includesub
  28953. type: integer
  28954. produces:
  28955. - application/json
  28956. responses:
  28957. "200":
  28958. description: OK
  28959. schema:
  28960. items:
  28961. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28962. type: array
  28963. "500":
  28964. description: Internal Server Error
  28965. schema:
  28966. $ref: '#/definitions/app.Response'
  28967. security:
  28968. - ApiKeyAuth: []
  28969. summary: 查询经纪人奖励报表(废弃)
  28970. tags:
  28971. - 大连千海金(PCWeb)
  28972. /QhjMgr/QueryContract:
  28973. get:
  28974. parameters:
  28975. - description: 用户ID
  28976. in: query
  28977. name: userid
  28978. type: integer
  28979. - description: 商品id
  28980. in: query
  28981. name: goodsid
  28982. type: integer
  28983. - description: 名称(模糊搜索账户)
  28984. in: query
  28985. name: filtername
  28986. type: string
  28987. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28988. in: query
  28989. name: risklevel
  28990. type: string
  28991. - description: 开始交易日(yyyymmdd)
  28992. in: query
  28993. name: begindate
  28994. type: string
  28995. - description: 结束交易日(yyyymmdd)
  28996. in: query
  28997. name: enddate
  28998. type: string
  28999. produces:
  29000. - application/json
  29001. responses:
  29002. "200":
  29003. description: OK
  29004. schema:
  29005. items:
  29006. $ref: '#/definitions/models.QhjMgrContract'
  29007. type: array
  29008. "500":
  29009. description: Internal Server Error
  29010. schema:
  29011. $ref: '#/definitions/app.Response'
  29012. security:
  29013. - ApiKeyAuth: []
  29014. summary: 查询融资信息(合同)
  29015. tags:
  29016. - 大连千海金(PCWeb)
  29017. /QhjMgr/QueryCustomerInfo:
  29018. get:
  29019. parameters:
  29020. - description: 用户ID
  29021. in: query
  29022. name: userid
  29023. required: true
  29024. type: integer
  29025. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29026. in: query
  29027. name: querytype
  29028. required: true
  29029. type: integer
  29030. - description: 客户类型 1-个人 2-企业
  29031. in: query
  29032. name: userinfotype
  29033. type: integer
  29034. - description: 客户名称(模糊匹配)
  29035. in: query
  29036. name: customername
  29037. type: string
  29038. - description: 昵称(模糊匹配)
  29039. in: query
  29040. name: nickname
  29041. type: string
  29042. - description: 所属客户经理(模糊匹配)
  29043. in: query
  29044. name: brokername
  29045. type: string
  29046. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29047. 如0503 -5月3日)
  29048. in: query
  29049. name: birthday
  29050. type: string
  29051. - description: 是否包含子级 1-包含
  29052. in: query
  29053. name: includesub
  29054. type: integer
  29055. produces:
  29056. - application/json
  29057. responses:
  29058. "200":
  29059. description: OK
  29060. schema:
  29061. items:
  29062. $ref: '#/definitions/models.QhjMgrCustomer'
  29063. type: array
  29064. "500":
  29065. description: Internal Server Error
  29066. schema:
  29067. $ref: '#/definitions/app.Response'
  29068. security:
  29069. - ApiKeyAuth: []
  29070. summary: 查询客户资料
  29071. tags:
  29072. - 大连千海金(PCWeb)
  29073. /QhjMgr/QueryPickGoods:
  29074. get:
  29075. parameters:
  29076. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29077. in: query
  29078. name: status
  29079. type: string
  29080. produces:
  29081. - application/json
  29082. responses:
  29083. "200":
  29084. description: OK
  29085. schema:
  29086. items:
  29087. $ref: '#/definitions/models.QhjMgrPickGoods'
  29088. type: array
  29089. "500":
  29090. description: Internal Server Error
  29091. schema:
  29092. $ref: '#/definitions/app.Response'
  29093. security:
  29094. - ApiKeyAuth: []
  29095. summary: 查询提货商品
  29096. tags:
  29097. - 大连千海金(PCWeb)
  29098. /QhjMgr/QuerySubArea:
  29099. get:
  29100. parameters:
  29101. - description: 用户ID
  29102. in: query
  29103. name: userid
  29104. required: true
  29105. type: integer
  29106. produces:
  29107. - application/json
  29108. responses:
  29109. "200":
  29110. description: OK
  29111. schema:
  29112. items:
  29113. $ref: '#/definitions/models.QhjMgrSubArea'
  29114. type: array
  29115. "500":
  29116. description: Internal Server Error
  29117. schema:
  29118. $ref: '#/definitions/app.Response'
  29119. security:
  29120. - ApiKeyAuth: []
  29121. summary: 查询子机构列表
  29122. tags:
  29123. - 大连千海金(PCWeb)
  29124. /QhjMgr/QueryTradeDetail:
  29125. get:
  29126. parameters:
  29127. - description: 用户ID
  29128. in: query
  29129. name: userid
  29130. required: true
  29131. type: integer
  29132. - description: 用户类型 1-个人 2-企业
  29133. in: query
  29134. name: userinfotype
  29135. type: integer
  29136. - description: 交易模式
  29137. in: query
  29138. name: trademode
  29139. type: integer
  29140. - description: 商品id
  29141. in: query
  29142. name: goodsid
  29143. type: integer
  29144. - description: 名称(模糊搜索账户)
  29145. in: query
  29146. name: filtername
  29147. type: string
  29148. - description: 开始交易日(yyyymmdd)
  29149. in: query
  29150. name: begindate
  29151. type: string
  29152. - description: 结束交易日(yyyymmdd)
  29153. in: query
  29154. name: enddate
  29155. type: string
  29156. - description: 是否包含子级 1-包含
  29157. in: query
  29158. name: includesub
  29159. type: integer
  29160. produces:
  29161. - application/json
  29162. responses:
  29163. "200":
  29164. description: OK
  29165. schema:
  29166. items:
  29167. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29168. type: array
  29169. "500":
  29170. description: Internal Server Error
  29171. schema:
  29172. $ref: '#/definitions/app.Response'
  29173. security:
  29174. - ApiKeyAuth: []
  29175. summary: 查询成交明细
  29176. tags:
  29177. - 大连千海金(PCWeb)
  29178. /QhjMgr/QueryTradeOrderDetail:
  29179. get:
  29180. parameters:
  29181. - description: 用户ID
  29182. in: query
  29183. name: userid
  29184. required: true
  29185. type: integer
  29186. - description: 用户类型 1-个人 2-企业
  29187. in: query
  29188. name: userinfotype
  29189. type: integer
  29190. - description: 交易模式
  29191. in: query
  29192. name: trademode
  29193. type: integer
  29194. - description: 商品id
  29195. in: query
  29196. name: goodsid
  29197. type: integer
  29198. - description: 名称(模糊搜索账户)
  29199. in: query
  29200. name: filtername
  29201. type: string
  29202. - description: 开始交易日(yyyymmdd)
  29203. in: query
  29204. name: begindate
  29205. type: string
  29206. - description: 结束交易日(yyyymmdd)
  29207. in: query
  29208. name: enddate
  29209. type: string
  29210. - description: 是否包含子级 1-包含
  29211. in: query
  29212. name: includesub
  29213. type: integer
  29214. produces:
  29215. - application/json
  29216. responses:
  29217. "200":
  29218. description: OK
  29219. schema:
  29220. items:
  29221. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29222. type: array
  29223. "500":
  29224. description: Internal Server Error
  29225. schema:
  29226. $ref: '#/definitions/app.Response'
  29227. security:
  29228. - ApiKeyAuth: []
  29229. summary: 查询委托明细
  29230. tags:
  29231. - 大连千海金(PCWeb)
  29232. /QhjMgr/QueryTradePayOrder:
  29233. get:
  29234. parameters:
  29235. - description: 用户ID
  29236. in: query
  29237. name: userid
  29238. required: true
  29239. type: integer
  29240. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29241. in: query
  29242. name: payflag
  29243. type: string
  29244. - description: 用户类型 1-个人 2-企业
  29245. in: query
  29246. name: userinfotype
  29247. type: integer
  29248. - description: 交易模式
  29249. in: query
  29250. name: trademode
  29251. type: integer
  29252. - description: 商品id
  29253. in: query
  29254. name: goodsid
  29255. type: integer
  29256. - description: 名称(模糊搜索账户)
  29257. in: query
  29258. name: filtername
  29259. type: string
  29260. - description: 开始交易日(yyyymmdd)
  29261. in: query
  29262. name: begindate
  29263. type: string
  29264. - description: 结束交易日(yyyymmdd)
  29265. in: query
  29266. name: enddate
  29267. type: string
  29268. - description: 是否包含子级 1-包含
  29269. in: query
  29270. name: includesub
  29271. type: integer
  29272. produces:
  29273. - application/json
  29274. responses:
  29275. "200":
  29276. description: OK
  29277. schema:
  29278. items:
  29279. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29280. type: array
  29281. "500":
  29282. description: Internal Server Error
  29283. schema:
  29284. $ref: '#/definitions/app.Response'
  29285. security:
  29286. - ApiKeyAuth: []
  29287. summary: 查询待付款单
  29288. tags:
  29289. - 大连千海金(PCWeb)
  29290. /QhjMgr/QueryTradePosition:
  29291. get:
  29292. parameters:
  29293. - description: 用户ID
  29294. in: query
  29295. name: userid
  29296. required: true
  29297. type: integer
  29298. - description: 用户类型 1-个人 2-企业
  29299. in: query
  29300. name: userinfotype
  29301. type: integer
  29302. - description: 交易模式
  29303. in: query
  29304. name: trademode
  29305. type: integer
  29306. - description: 商品id
  29307. in: query
  29308. name: goodsid
  29309. type: integer
  29310. - description: 名称(模糊搜索账户)
  29311. in: query
  29312. name: filtername
  29313. type: string
  29314. - description: 是否包含子级 1-包含
  29315. in: query
  29316. name: includesub
  29317. type: integer
  29318. produces:
  29319. - application/json
  29320. responses:
  29321. "200":
  29322. description: OK
  29323. schema:
  29324. items:
  29325. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29326. type: array
  29327. "500":
  29328. description: Internal Server Error
  29329. schema:
  29330. $ref: '#/definitions/app.Response'
  29331. security:
  29332. - ApiKeyAuth: []
  29333. summary: 查询持仓汇总
  29334. tags:
  29335. - 大连千海金(PCWeb)
  29336. /QhjSys/QueryAgreementChangeLog:
  29337. get:
  29338. parameters:
  29339. - description: 协议ID
  29340. in: query
  29341. name: agreementid
  29342. type: integer
  29343. - description: 协议版本号
  29344. in: query
  29345. name: agreementversion
  29346. type: integer
  29347. - description: 协议类型 - 1:注册 2:登录 3:交易
  29348. in: query
  29349. name: agreementtype
  29350. type: integer
  29351. - description: 协议编号(模糊匹配)
  29352. in: query
  29353. name: agreementno
  29354. type: string
  29355. - description: 协议名称(模糊匹配)
  29356. in: query
  29357. name: agreementname
  29358. type: string
  29359. produces:
  29360. - application/json
  29361. responses:
  29362. "200":
  29363. description: OK
  29364. schema:
  29365. items:
  29366. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29367. type: array
  29368. "500":
  29369. description: Internal Server Error
  29370. schema:
  29371. $ref: '#/definitions/app.Response'
  29372. security:
  29373. - ApiKeyAuth: []
  29374. summary: 查询协议配置变更流水
  29375. tags:
  29376. - 大连千海金(协议和签约信息)
  29377. /QhjSys/QueryAgreementConfig:
  29378. get:
  29379. parameters:
  29380. - description: 协议ID
  29381. in: query
  29382. name: agreementid
  29383. type: integer
  29384. - description: 协议版本号
  29385. in: query
  29386. name: agreementversion
  29387. type: integer
  29388. - description: 协议类型 - 1:注册 2:登录 3:交易
  29389. in: query
  29390. name: agreementtype
  29391. type: integer
  29392. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29393. in: query
  29394. name: isvalid
  29395. type: integer
  29396. - description: 协议编号(模糊匹配)
  29397. in: query
  29398. name: agreementno
  29399. type: string
  29400. - description: 协议名称(模糊匹配)
  29401. in: query
  29402. name: agreementname
  29403. type: string
  29404. produces:
  29405. - application/json
  29406. responses:
  29407. "200":
  29408. description: OK
  29409. schema:
  29410. items:
  29411. $ref: '#/definitions/models.QhjAgreementConfig'
  29412. type: array
  29413. "500":
  29414. description: Internal Server Error
  29415. schema:
  29416. $ref: '#/definitions/app.Response'
  29417. security:
  29418. - ApiKeyAuth: []
  29419. summary: 查询协议配置
  29420. tags:
  29421. - 大连千海金(协议和签约信息)
  29422. /QhjSys/QueryCustomerSignStatus:
  29423. get:
  29424. parameters:
  29425. - description: 客户ID
  29426. in: query
  29427. name: userid
  29428. type: integer
  29429. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29430. in: query
  29431. name: nodetype
  29432. type: integer
  29433. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29434. in: query
  29435. name: goodsid
  29436. type: integer
  29437. - description: 创建交易日(yyyyMMdd)
  29438. in: query
  29439. name: tradedate
  29440. type: string
  29441. - description: 用户名称(模糊匹配)
  29442. in: query
  29443. name: username
  29444. type: string
  29445. produces:
  29446. - application/json
  29447. responses:
  29448. "200":
  29449. description: OK
  29450. schema:
  29451. items:
  29452. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29453. type: array
  29454. "500":
  29455. description: Internal Server Error
  29456. schema:
  29457. $ref: '#/definitions/app.Response'
  29458. security:
  29459. - ApiKeyAuth: []
  29460. summary: 查询客户协议签约状态
  29461. tags:
  29462. - 大连千海金(协议和签约信息)
  29463. /QhjSys/QueryNodeAgreementConfig:
  29464. get:
  29465. parameters:
  29466. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29467. in: query
  29468. name: configid
  29469. type: integer
  29470. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29471. in: query
  29472. name: nodetype
  29473. type: integer
  29474. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29475. in: query
  29476. name: goodsid
  29477. type: integer
  29478. - description: 协议ID
  29479. in: query
  29480. name: agreementid
  29481. type: integer
  29482. - description: 协议类型 - 1:注册 2:登录 3:交易
  29483. in: query
  29484. name: agreementtype
  29485. type: integer
  29486. - description: 协议版本号
  29487. in: query
  29488. name: agreementversion
  29489. type: integer
  29490. - description: 协议编号(模糊匹配)
  29491. in: query
  29492. name: agreementno
  29493. type: string
  29494. - description: 协议名称(模糊匹配)
  29495. in: query
  29496. name: agreementname
  29497. type: string
  29498. produces:
  29499. - application/json
  29500. responses:
  29501. "200":
  29502. description: OK
  29503. schema:
  29504. items:
  29505. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29506. type: array
  29507. "500":
  29508. description: Internal Server Error
  29509. schema:
  29510. $ref: '#/definitions/app.Response'
  29511. security:
  29512. - ApiKeyAuth: []
  29513. summary: 查询协议节点配置
  29514. tags:
  29515. - 大连千海金(协议和签约信息)
  29516. /QhjSys/QueryQhjCustomerSignLog:
  29517. get:
  29518. parameters:
  29519. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29520. in: query
  29521. name: logid
  29522. type: integer
  29523. - description: 客户ID
  29524. in: query
  29525. name: userid
  29526. type: integer
  29527. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29528. in: query
  29529. name: nodetype
  29530. type: integer
  29531. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29532. in: query
  29533. name: goodsid
  29534. type: integer
  29535. - description: 协议ID
  29536. in: query
  29537. name: agreementid
  29538. type: integer
  29539. - description: 用户名称(模糊匹配)
  29540. in: query
  29541. name: username
  29542. type: string
  29543. - description: 协议编号(模糊匹配)
  29544. in: query
  29545. name: agreementno
  29546. type: string
  29547. - description: 协议名称(模糊匹配)
  29548. in: query
  29549. name: agreementname
  29550. type: string
  29551. produces:
  29552. - application/json
  29553. responses:
  29554. "200":
  29555. description: OK
  29556. schema:
  29557. items:
  29558. $ref: '#/definitions/models.QhjCustomerSignLog'
  29559. type: array
  29560. "500":
  29561. description: Internal Server Error
  29562. schema:
  29563. $ref: '#/definitions/app.Response'
  29564. security:
  29565. - ApiKeyAuth: []
  29566. summary: 查询客户协议签约流水
  29567. tags:
  29568. - 大连千海金(协议和签约信息)
  29569. /QhjSys/QueryUserNodeCfgAndStatus:
  29570. get:
  29571. parameters:
  29572. - description: 客户ID
  29573. in: query
  29574. name: userid
  29575. type: integer
  29576. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29577. in: query
  29578. name: configid
  29579. type: integer
  29580. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29581. in: query
  29582. name: nodetype
  29583. type: string
  29584. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29585. in: query
  29586. name: goodsid
  29587. type: integer
  29588. - description: 协议ID
  29589. in: query
  29590. name: agreementid
  29591. type: integer
  29592. - description: 协议类型 - 1:注册 2:登录 3:交易
  29593. in: query
  29594. name: agreementtype
  29595. type: integer
  29596. - description: 协议版本号
  29597. in: query
  29598. name: agreementversion
  29599. type: integer
  29600. - description: 协议编号(模糊匹配)
  29601. in: query
  29602. name: agreementno
  29603. type: string
  29604. - description: 协议名称(模糊匹配)
  29605. in: query
  29606. name: agreementname
  29607. type: string
  29608. produces:
  29609. - application/json
  29610. responses:
  29611. "200":
  29612. description: OK
  29613. schema:
  29614. items:
  29615. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29616. type: array
  29617. "500":
  29618. description: Internal Server Error
  29619. schema:
  29620. $ref: '#/definitions/app.Response'
  29621. security:
  29622. - ApiKeyAuth: []
  29623. summary: 查询用户协议节点配置和状态
  29624. tags:
  29625. - 大连千海金(协议和签约信息)
  29626. /Quote/QueryHistoryDatas:
  29627. get:
  29628. parameters:
  29629. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29630. 日线 12:周线 13:月线 14:年线'
  29631. in: query
  29632. name: cycleType
  29633. required: true
  29634. type: integer
  29635. - description: 商品代码
  29636. in: query
  29637. name: goodsCode
  29638. required: true
  29639. type: string
  29640. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29641. in: query
  29642. name: startTime
  29643. type: string
  29644. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29645. in: query
  29646. name: endTime
  29647. type: string
  29648. - description: 条数
  29649. in: query
  29650. name: count
  29651. type: integer
  29652. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29653. in: query
  29654. name: isAsc
  29655. type: boolean
  29656. produces:
  29657. - application/json
  29658. responses:
  29659. "200":
  29660. description: OK
  29661. schema:
  29662. $ref: '#/definitions/quote.HistoryData'
  29663. "500":
  29664. description: Internal Server Error
  29665. schema:
  29666. $ref: '#/definitions/app.Response'
  29667. security:
  29668. - ApiKeyAuth: []
  29669. summary: 查询行情历史数据
  29670. tags:
  29671. - 行情服务
  29672. /Quote/QueryHistoryTikDatas:
  29673. get:
  29674. parameters:
  29675. - description: 商品代码
  29676. in: query
  29677. name: goodsCode
  29678. required: true
  29679. type: string
  29680. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29681. in: query
  29682. name: startTime
  29683. type: string
  29684. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29685. in: query
  29686. name: endTime
  29687. type: string
  29688. - description: 条数
  29689. in: query
  29690. name: count
  29691. type: integer
  29692. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29693. in: query
  29694. name: isAsc
  29695. type: boolean
  29696. produces:
  29697. - application/json
  29698. responses:
  29699. "200":
  29700. description: OK
  29701. schema:
  29702. $ref: '#/definitions/quote.HistoryTikData'
  29703. "500":
  29704. description: Internal Server Error
  29705. schema:
  29706. $ref: '#/definitions/app.Response'
  29707. security:
  29708. - ApiKeyAuth: []
  29709. summary: 查询行情Tik数据
  29710. tags:
  29711. - 行情服务
  29712. /Quote/QueryQuoteDay:
  29713. get:
  29714. parameters:
  29715. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29716. in: query
  29717. name: goodsCodes
  29718. type: string
  29719. produces:
  29720. - application/json
  29721. responses:
  29722. "200":
  29723. description: OK
  29724. schema:
  29725. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29726. "500":
  29727. description: Internal Server Error
  29728. schema:
  29729. $ref: '#/definitions/app.Response'
  29730. security:
  29731. - ApiKeyAuth: []
  29732. summary: 获取商品盘面信息
  29733. tags:
  29734. - 行情服务
  29735. /Quote/QueryTSData:
  29736. get:
  29737. parameters:
  29738. - description: 商品代码
  29739. in: query
  29740. name: goodsCode
  29741. required: true
  29742. type: string
  29743. produces:
  29744. - application/json
  29745. responses:
  29746. "200":
  29747. description: OK
  29748. schema:
  29749. $ref: '#/definitions/quote.QueryTSDataRsp'
  29750. "500":
  29751. description: Internal Server Error
  29752. schema:
  29753. $ref: '#/definitions/app.Response'
  29754. security:
  29755. - ApiKeyAuth: []
  29756. summary: 分时图数据查询
  29757. tags:
  29758. - 行情服务
  29759. /SZDZ/QueryConvertConfig:
  29760. get:
  29761. parameters:
  29762. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29763. 6:交易转花生米(不设置)
  29764. in: query
  29765. name: convertType
  29766. type: integer
  29767. - description: 外部商品代码[JD\PD]
  29768. in: query
  29769. name: outerGoodsCode
  29770. type: string
  29771. - description: 内部商品ID列表[交易],格式:1,2,3
  29772. in: query
  29773. name: innerGoodsIDs
  29774. type: string
  29775. produces:
  29776. - application/json
  29777. responses:
  29778. "200":
  29779. description: OK
  29780. schema:
  29781. $ref: '#/definitions/models.Szdz3convertconfig'
  29782. "500":
  29783. description: Internal Server Error
  29784. schema:
  29785. $ref: '#/definitions/app.Response'
  29786. security:
  29787. - ApiKeyAuth: []
  29788. summary: 查询交易系统转换设置
  29789. tags:
  29790. - 定制【尚志大宗】
  29791. /SZDZ/QueryConvertLog:
  29792. get:
  29793. parameters:
  29794. - description: 资金账户 - 格式:1,2,3
  29795. in: query
  29796. name: accountID
  29797. required: true
  29798. type: string
  29799. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29800. in: query
  29801. name: startDate
  29802. type: string
  29803. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29804. in: query
  29805. name: endDate
  29806. type: string
  29807. produces:
  29808. - application/json
  29809. responses:
  29810. "200":
  29811. description: OK
  29812. schema:
  29813. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29814. "500":
  29815. description: Internal Server Error
  29816. schema:
  29817. $ref: '#/definitions/app.Response'
  29818. security:
  29819. - ApiKeyAuth: []
  29820. summary: 交易系统转换流水查询
  29821. tags:
  29822. - 定制【尚志大宗】
  29823. /SZDZ/QueryGoodsPickup:
  29824. get:
  29825. parameters:
  29826. - description: 资金账户 - 格式:1,2,3
  29827. in: query
  29828. name: accountID
  29829. required: true
  29830. type: string
  29831. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29832. in: query
  29833. name: takeOrderStatus
  29834. type: integer
  29835. produces:
  29836. - application/json
  29837. responses:
  29838. "200":
  29839. description: OK
  29840. schema:
  29841. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29842. "500":
  29843. description: Internal Server Error
  29844. schema:
  29845. $ref: '#/definitions/app.Response'
  29846. security:
  29847. - ApiKeyAuth: []
  29848. summary: 商品提货单查询
  29849. tags:
  29850. - 定制【尚志大宗】
  29851. /SZDZ/QueryRecieptOrder:
  29852. get:
  29853. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29854. parameters:
  29855. - description: 页码
  29856. in: query
  29857. name: page
  29858. type: integer
  29859. - description: 每页条数
  29860. in: query
  29861. name: pagesize
  29862. type: integer
  29863. - description: 商品ID
  29864. in: query
  29865. name: goodsID
  29866. required: true
  29867. type: integer
  29868. - description: 所属账户名称
  29869. in: query
  29870. name: accountName
  29871. type: string
  29872. - description: 市场ID
  29873. in: query
  29874. name: marketID
  29875. type: integer
  29876. - description: 方向 - 0:买 1:卖
  29877. in: query
  29878. name: buyorsell
  29879. required: true
  29880. type: integer
  29881. produces:
  29882. - application/json
  29883. responses:
  29884. "200":
  29885. description: OK
  29886. schema:
  29887. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29888. "500":
  29889. description: Internal Server Error
  29890. schema:
  29891. $ref: '#/definitions/app.Response'
  29892. security:
  29893. - ApiKeyAuth: []
  29894. summary: 点选挂牌委托单据查询(摘牌大厅)
  29895. tags:
  29896. - 定制【尚志大宗】
  29897. /SZDZ/QuerySZDZTradePosition:
  29898. get:
  29899. parameters:
  29900. - description: 资金账户
  29901. in: query
  29902. name: accountID
  29903. required: true
  29904. type: integer
  29905. produces:
  29906. - application/json
  29907. responses:
  29908. "200":
  29909. description: OK
  29910. schema:
  29911. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29912. "500":
  29913. description: Internal Server Error
  29914. schema:
  29915. $ref: '#/definitions/app.Response'
  29916. security:
  29917. - ApiKeyAuth: []
  29918. summary: 持仓汇总查询(尚志大宗)
  29919. tags:
  29920. - 定制【尚志大宗】
  29921. /SZDZ/SearchWhite:
  29922. get:
  29923. parameters:
  29924. - description: 用户ID
  29925. in: query
  29926. name: userID
  29927. required: true
  29928. type: integer
  29929. produces:
  29930. - application/json
  29931. responses:
  29932. "200":
  29933. description: OK
  29934. schema:
  29935. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29936. "500":
  29937. description: Internal Server Error
  29938. schema:
  29939. $ref: '#/definitions/app.Response'
  29940. security:
  29941. - ApiKeyAuth: []
  29942. summary: 搜索白名单
  29943. tags:
  29944. - 定制【尚志大宗】
  29945. /Search/SearchGoodses:
  29946. get:
  29947. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29948. parameters:
  29949. - description: 检索内容
  29950. in: query
  29951. name: content
  29952. required: true
  29953. type: string
  29954. - description: 交易模式,格式:1,2,3
  29955. in: query
  29956. name: tradeModes
  29957. type: string
  29958. produces:
  29959. - application/json
  29960. responses:
  29961. "200":
  29962. description: OK
  29963. schema:
  29964. $ref: '#/definitions/models.SearchGoods'
  29965. "500":
  29966. description: Internal Server Error
  29967. schema:
  29968. $ref: '#/definitions/app.Response'
  29969. summary: 检索商品信息
  29970. tags:
  29971. - 检索服务
  29972. /TaAccount/GetTaAccounts:
  29973. get:
  29974. parameters:
  29975. - description: 登录账户
  29976. in: query
  29977. name: loginID
  29978. required: true
  29979. type: integer
  29980. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29981. in: query
  29982. name: taAccountType
  29983. type: integer
  29984. produces:
  29985. - application/json
  29986. responses:
  29987. "200":
  29988. description: OK
  29989. schema:
  29990. $ref: '#/definitions/models.Taaccount'
  29991. "500":
  29992. description: Internal Server Error
  29993. schema:
  29994. $ref: '#/definitions/app.Response'
  29995. security:
  29996. - ApiKeyAuth: []
  29997. summary: 获取资金账户信息
  29998. tags:
  29999. - 资金账户
  30000. /TaAccount/QueryAmountLog:
  30001. get:
  30002. parameters:
  30003. - description: 页码
  30004. in: query
  30005. name: page
  30006. type: integer
  30007. - description: 每页条数
  30008. in: query
  30009. name: pagesize
  30010. type: integer
  30011. - description: 资金账户 - 格式:1,2,3
  30012. in: query
  30013. name: accountID
  30014. required: true
  30015. type: string
  30016. - description: 资金操作类型 - 格式:1,2,3
  30017. in: query
  30018. name: OperateType
  30019. type: string
  30020. produces:
  30021. - application/json
  30022. responses:
  30023. "200":
  30024. description: OK
  30025. schema:
  30026. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30027. "500":
  30028. description: Internal Server Error
  30029. schema:
  30030. $ref: '#/definitions/app.Response'
  30031. security:
  30032. - ApiKeyAuth: []
  30033. summary: 资金流水查询(当前)
  30034. tags:
  30035. - 资金账户
  30036. /TaAccount/QueryHisAmountLog:
  30037. get:
  30038. parameters:
  30039. - description: 页码
  30040. in: query
  30041. name: page
  30042. type: integer
  30043. - description: 每页条数
  30044. in: query
  30045. name: pagesize
  30046. type: integer
  30047. - description: 资金账户 - 格式:1,2,3
  30048. in: query
  30049. name: accountID
  30050. required: true
  30051. type: string
  30052. - description: 资金操作类型 - 格式:1,2,3
  30053. in: query
  30054. name: OperateType
  30055. type: string
  30056. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30057. in: query
  30058. name: startDate
  30059. type: string
  30060. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30061. in: query
  30062. name: endDate
  30063. type: string
  30064. produces:
  30065. - application/json
  30066. responses:
  30067. "200":
  30068. description: OK
  30069. schema:
  30070. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30071. "500":
  30072. description: Internal Server Error
  30073. schema:
  30074. $ref: '#/definitions/app.Response'
  30075. security:
  30076. - ApiKeyAuth: []
  30077. summary: 资金流水查询(历史)
  30078. tags:
  30079. - 资金账户
  30080. /TaAccount/QueryRelatedTaAccount:
  30081. get:
  30082. parameters:
  30083. - description: 关联UserID
  30084. in: query
  30085. name: relateduserid
  30086. required: true
  30087. type: integer
  30088. produces:
  30089. - application/json
  30090. responses:
  30091. "200":
  30092. description: OK
  30093. schema:
  30094. items:
  30095. $ref: '#/definitions/models.RelatedTaAccount'
  30096. type: array
  30097. "500":
  30098. description: Internal Server Error
  30099. schema:
  30100. $ref: '#/definitions/app.Response'
  30101. security:
  30102. - ApiKeyAuth: []
  30103. summary: 查询关联资金账户信息
  30104. tags:
  30105. - 资金账户
  30106. /Tjmd/QueryQuoteGoodsList:
  30107. get:
  30108. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30109. parameters:
  30110. - description: 用户类型
  30111. in: query
  30112. name: usertype
  30113. required: true
  30114. type: integer
  30115. - description: 市场id, 格式 1,2,3
  30116. in: query
  30117. name: marketids
  30118. type: string
  30119. - description: 商品组id
  30120. in: query
  30121. name: goodsgroupid
  30122. type: integer
  30123. - description: 商品id
  30124. in: query
  30125. name: goodsid
  30126. type: integer
  30127. produces:
  30128. - application/json
  30129. responses:
  30130. "200":
  30131. description: OK
  30132. schema:
  30133. items:
  30134. $ref: '#/definitions/models.TjmdQuoteGoods'
  30135. type: array
  30136. "500":
  30137. description: Internal Server Error
  30138. schema:
  30139. $ref: '#/definitions/app.Response'
  30140. security:
  30141. - ApiKeyAuth: []
  30142. summary: 查询掉期报价列表
  30143. tags:
  30144. - 天津麦顿
  30145. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30146. get:
  30147. parameters:
  30148. - description: 成交单号
  30149. in: query
  30150. name: tradeid
  30151. required: true
  30152. type: string
  30153. produces:
  30154. - application/json
  30155. responses:
  30156. "200":
  30157. description: OK
  30158. schema:
  30159. items:
  30160. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30161. type: array
  30162. "500":
  30163. description: Internal Server Error
  30164. schema:
  30165. $ref: '#/definitions/app.Response'
  30166. security:
  30167. - ApiKeyAuth: []
  30168. summary: 掉期商品订单详情(交易确认书)
  30169. tags:
  30170. - 天津麦顿
  30171. /Tjmd/QueryTjmdMarketSection:
  30172. get:
  30173. produces:
  30174. - application/json
  30175. responses:
  30176. "200":
  30177. description: OK
  30178. schema:
  30179. items:
  30180. $ref: '#/definitions/models.TjmdMarketSection'
  30181. type: array
  30182. "500":
  30183. description: Internal Server Error
  30184. schema:
  30185. $ref: '#/definitions/app.Response'
  30186. security:
  30187. - ApiKeyAuth: []
  30188. summary: 查询市场板块
  30189. tags:
  30190. - 天津麦顿
  30191. /Tjmd/QueryTjmdTodayAccountMargin:
  30192. get:
  30193. parameters:
  30194. - description: 市场id
  30195. in: query
  30196. name: marketid
  30197. type: string
  30198. - description: 商品id
  30199. in: query
  30200. name: goodsid
  30201. type: string
  30202. - description: 资金账号
  30203. in: query
  30204. name: accountid
  30205. type: string
  30206. produces:
  30207. - application/json
  30208. responses:
  30209. "200":
  30210. description: OK
  30211. schema:
  30212. items:
  30213. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30214. type: array
  30215. "500":
  30216. description: Internal Server Error
  30217. schema:
  30218. $ref: '#/definitions/app.Response'
  30219. security:
  30220. - ApiKeyAuth: []
  30221. summary: 查询今日账户保证金配置
  30222. tags:
  30223. - 天津麦顿
  30224. /Tjmd/QueryTjmdTradeOrderDetail:
  30225. get:
  30226. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30227. parameters:
  30228. - description: 页码
  30229. in: query
  30230. name: page
  30231. type: integer
  30232. - description: 每页条数
  30233. in: query
  30234. name: pagesize
  30235. type: integer
  30236. - description: 用户id
  30237. in: query
  30238. name: userid
  30239. required: true
  30240. type: integer
  30241. - description: 用户类型
  30242. in: query
  30243. name: usertype
  30244. required: true
  30245. type: integer
  30246. - description: 市场id, 格式 1,2,3
  30247. in: query
  30248. name: marketids
  30249. type: string
  30250. - description: 商品id
  30251. in: query
  30252. name: goodsid
  30253. required: true
  30254. type: integer
  30255. - description: 买卖方向 0-买 1-卖
  30256. in: query
  30257. name: buyorsell
  30258. required: true
  30259. type: integer
  30260. produces:
  30261. - application/json
  30262. responses:
  30263. "200":
  30264. description: OK
  30265. schema:
  30266. items:
  30267. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30268. type: array
  30269. "500":
  30270. description: Internal Server Error
  30271. schema:
  30272. $ref: '#/definitions/app.Response'
  30273. security:
  30274. - ApiKeyAuth: []
  30275. summary: 查询掉期买卖大厅
  30276. tags:
  30277. - 天津麦顿
  30278. /Tjmd/QueryTjmdTransferApply:
  30279. get:
  30280. parameters:
  30281. - description: 类型 1-我的申请 2-对方申请
  30282. in: query
  30283. name: applytype
  30284. required: true
  30285. type: integer
  30286. - description: 市场id, 格式 1,2,3
  30287. in: query
  30288. name: marketids
  30289. type: string
  30290. - description: 资金账号, 格式 25000000001,25000000003
  30291. in: query
  30292. name: accountids
  30293. type: string
  30294. - description: 开始交易日(yyyymmdd)
  30295. in: query
  30296. name: begindate
  30297. type: string
  30298. - description: 结束交易日(yyyymmdd)
  30299. in: query
  30300. name: enddate
  30301. type: string
  30302. produces:
  30303. - application/json
  30304. responses:
  30305. "200":
  30306. description: OK
  30307. schema:
  30308. items:
  30309. $ref: '#/definitions/models.TjmdTransferApply'
  30310. type: array
  30311. "500":
  30312. description: Internal Server Error
  30313. schema:
  30314. $ref: '#/definitions/app.Response'
  30315. security:
  30316. - ApiKeyAuth: []
  30317. summary: 查询掉期协议单
  30318. tags:
  30319. - 天津麦顿
  30320. /Trade/QueryRecieptOrder:
  30321. get:
  30322. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30323. parameters:
  30324. - description: 页码
  30325. in: query
  30326. name: page
  30327. type: integer
  30328. - description: 每页条数
  30329. in: query
  30330. name: pagesize
  30331. type: integer
  30332. - description: 商品ID
  30333. in: query
  30334. name: goodsID
  30335. required: true
  30336. type: integer
  30337. - description: 所属账户名称
  30338. in: query
  30339. name: accountName
  30340. type: string
  30341. - description: 市场ID
  30342. in: query
  30343. name: marketID
  30344. type: integer
  30345. - description: 方向 - 0:买 1:卖
  30346. in: query
  30347. name: buyorsell
  30348. required: true
  30349. type: integer
  30350. produces:
  30351. - application/json
  30352. responses:
  30353. "200":
  30354. description: OK
  30355. schema:
  30356. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30357. "500":
  30358. description: Internal Server Error
  30359. schema:
  30360. $ref: '#/definitions/app.Response'
  30361. security:
  30362. - ApiKeyAuth: []
  30363. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30364. tags:
  30365. - 通用交易
  30366. /User/AddMessageBoard:
  30367. post:
  30368. parameters:
  30369. - description: 用户ID
  30370. in: query
  30371. name: userID
  30372. required: true
  30373. type: integer
  30374. - description: 留言信息
  30375. in: query
  30376. name: message
  30377. required: true
  30378. type: string
  30379. - description: 联系电话
  30380. in: query
  30381. name: contactNum
  30382. required: true
  30383. type: string
  30384. produces:
  30385. - application/json
  30386. responses:
  30387. "200":
  30388. description: OK
  30389. schema:
  30390. $ref: '#/definitions/app.Response'
  30391. "500":
  30392. description: Internal Server Error
  30393. schema:
  30394. $ref: '#/definitions/app.Response'
  30395. security:
  30396. - ApiKeyAuth: []
  30397. summary: 添加用户留言板信息
  30398. tags:
  30399. - 用户信息
  30400. /User/AddUserFavoriteGoods:
  30401. post:
  30402. parameters:
  30403. - description: 用户ID
  30404. in: query
  30405. name: userID
  30406. required: true
  30407. type: integer
  30408. - description: 商品ID
  30409. in: query
  30410. name: goodsID
  30411. required: true
  30412. type: integer
  30413. produces:
  30414. - application/json
  30415. responses:
  30416. "200":
  30417. description: OK
  30418. schema:
  30419. $ref: '#/definitions/app.Response'
  30420. "500":
  30421. description: Internal Server Error
  30422. schema:
  30423. $ref: '#/definitions/app.Response'
  30424. security:
  30425. - ApiKeyAuth: []
  30426. summary: 添加用户商品收藏信息
  30427. tags:
  30428. - 用户信息
  30429. /User/GetLoginID:
  30430. get:
  30431. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30432. parameters:
  30433. - description: 登录代码
  30434. in: query
  30435. name: username
  30436. required: true
  30437. type: string
  30438. produces:
  30439. - application/json
  30440. responses:
  30441. "200":
  30442. description: OK
  30443. schema:
  30444. $ref: '#/definitions/app.Response'
  30445. "500":
  30446. description: Internal Server Error
  30447. schema:
  30448. $ref: '#/definitions/app.Response'
  30449. summary: 获取登录ID
  30450. tags:
  30451. - 用户信息
  30452. /User/GetUserAccount:
  30453. get:
  30454. parameters:
  30455. - description: 用户ID
  30456. in: query
  30457. name: userID
  30458. required: true
  30459. type: integer
  30460. produces:
  30461. - application/json
  30462. responses:
  30463. "200":
  30464. description: OK
  30465. schema:
  30466. $ref: '#/definitions/models.Useraccount'
  30467. "500":
  30468. description: Internal Server Error
  30469. schema:
  30470. $ref: '#/definitions/app.Response'
  30471. security:
  30472. - ApiKeyAuth: []
  30473. summary: 获取用户账号信息
  30474. tags:
  30475. - 用户信息
  30476. /User/GetUserAuthStatus:
  30477. get:
  30478. parameters:
  30479. - description: 用户ID
  30480. in: query
  30481. name: userID
  30482. required: true
  30483. type: integer
  30484. produces:
  30485. - application/json
  30486. responses:
  30487. "200":
  30488. description: OK
  30489. schema:
  30490. $ref: '#/definitions/app.Response'
  30491. "500":
  30492. description: Internal Server Error
  30493. schema:
  30494. $ref: '#/definitions/app.Response'
  30495. security:
  30496. - ApiKeyAuth: []
  30497. summary: 获取用户实名认证状态
  30498. tags:
  30499. - 用户信息
  30500. /User/LoginQuery:
  30501. get:
  30502. parameters:
  30503. - description: 登录账号
  30504. in: query
  30505. name: loginID
  30506. required: true
  30507. type: integer
  30508. produces:
  30509. - application/json
  30510. responses:
  30511. "200":
  30512. description: OK
  30513. schema:
  30514. $ref: '#/definitions/user.LoginQueryRsp'
  30515. "500":
  30516. description: Internal Server Error
  30517. schema:
  30518. $ref: '#/definitions/app.Response'
  30519. security:
  30520. - ApiKeyAuth: []
  30521. summary: 账户登录后信息查询
  30522. tags:
  30523. - 用户信息
  30524. /User/QueryMessageBoard:
  30525. get:
  30526. parameters:
  30527. - description: 用户ID
  30528. in: query
  30529. name: userID
  30530. required: true
  30531. type: integer
  30532. produces:
  30533. - application/json
  30534. responses:
  30535. "200":
  30536. description: OK
  30537. schema:
  30538. $ref: '#/definitions/models.Messageboard'
  30539. "500":
  30540. description: Internal Server Error
  30541. schema:
  30542. $ref: '#/definitions/app.Response'
  30543. security:
  30544. - ApiKeyAuth: []
  30545. summary: 获取用户留言板信息
  30546. tags:
  30547. - 用户信息
  30548. /User/QueryUserFavoriteGoodses:
  30549. get:
  30550. parameters:
  30551. - description: 用户ID
  30552. in: query
  30553. name: userID
  30554. required: true
  30555. type: integer
  30556. produces:
  30557. - application/json
  30558. responses:
  30559. "200":
  30560. description: OK
  30561. schema:
  30562. $ref: '#/definitions/models.Userfavoritegoods'
  30563. "500":
  30564. description: Internal Server Error
  30565. schema:
  30566. $ref: '#/definitions/app.Response'
  30567. security:
  30568. - ApiKeyAuth: []
  30569. summary: 获取用户商品收藏信息
  30570. tags:
  30571. - 用户信息
  30572. /User/QueryUserInfo:
  30573. get:
  30574. parameters:
  30575. - description: 用户ID
  30576. in: query
  30577. name: userID
  30578. required: true
  30579. type: integer
  30580. - description: 是否解密
  30581. in: query
  30582. name: isDecrypt
  30583. type: boolean
  30584. produces:
  30585. - application/json
  30586. responses:
  30587. "200":
  30588. description: OK
  30589. schema:
  30590. $ref: '#/definitions/models.Userinfo'
  30591. "500":
  30592. description: Internal Server Error
  30593. schema:
  30594. $ref: '#/definitions/app.Response'
  30595. security:
  30596. - ApiKeyAuth: []
  30597. summary: 获取用户信息
  30598. tags:
  30599. - 用户信息
  30600. /User/QueryUserReferNum:
  30601. get:
  30602. parameters:
  30603. - description: 用户ID
  30604. in: query
  30605. name: userID
  30606. required: true
  30607. type: integer
  30608. produces:
  30609. - application/json
  30610. responses:
  30611. "200":
  30612. description: OK
  30613. schema:
  30614. $ref: '#/definitions/app.Response'
  30615. "500":
  30616. description: Internal Server Error
  30617. schema:
  30618. $ref: '#/definitions/app.Response'
  30619. summary: 获取用户邀请码
  30620. tags:
  30621. - 用户信息
  30622. /User/RemoveUserFavoriteGoods:
  30623. post:
  30624. parameters:
  30625. - description: 用户ID
  30626. in: query
  30627. name: userID
  30628. required: true
  30629. type: integer
  30630. - description: 商品ID
  30631. in: query
  30632. name: goodsID
  30633. required: true
  30634. type: integer
  30635. produces:
  30636. - application/json
  30637. responses:
  30638. "200":
  30639. description: OK
  30640. schema:
  30641. $ref: '#/definitions/app.Response'
  30642. "500":
  30643. description: Internal Server Error
  30644. schema:
  30645. $ref: '#/definitions/app.Response'
  30646. security:
  30647. - ApiKeyAuth: []
  30648. summary: 移除用户商品收藏信息
  30649. tags:
  30650. - 用户信息
  30651. /User/UpdateUserAccountStatus:
  30652. post:
  30653. parameters:
  30654. - description: 用户ID
  30655. in: query
  30656. name: userID
  30657. required: true
  30658. type: integer
  30659. - description: 账户状态 - 4:正常 6:注销(停用)
  30660. in: query
  30661. name: accountStatus
  30662. required: true
  30663. type: integer
  30664. produces:
  30665. - application/json
  30666. responses:
  30667. "200":
  30668. description: OK
  30669. schema:
  30670. $ref: '#/definitions/app.Response'
  30671. "500":
  30672. description: Internal Server Error
  30673. schema:
  30674. $ref: '#/definitions/app.Response'
  30675. security:
  30676. - ApiKeyAuth: []
  30677. summary: 更新用户状态
  30678. tags:
  30679. - 用户信息
  30680. /WRTrade/GetAllDeliveryGoods:
  30681. get:
  30682. produces:
  30683. - application/json
  30684. responses:
  30685. "200":
  30686. description: OK
  30687. schema:
  30688. $ref: '#/definitions/app.Response'
  30689. "500":
  30690. description: Internal Server Error
  30691. schema:
  30692. $ref: '#/definitions/app.Response'
  30693. security:
  30694. - ApiKeyAuth: []
  30695. summary: 获取带仓单分类的种类信息
  30696. tags:
  30697. - 仓单贸易
  30698. - 仓单贸易
  30699. /WrTrade2/InsertXhcpSellBackApply:
  30700. post:
  30701. parameters:
  30702. - description: 回收申请
  30703. in: body
  30704. name: jsonBody
  30705. required: true
  30706. schema:
  30707. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30708. produces:
  30709. - application/json
  30710. responses:
  30711. "200":
  30712. description: OK
  30713. schema:
  30714. $ref: '#/definitions/app.Response'
  30715. "500":
  30716. description: Internal Server Error
  30717. schema:
  30718. $ref: '#/definitions/app.Response'
  30719. security:
  30720. - ApiKeyAuth: []
  30721. summary: 新增回收申请(新会陈皮)
  30722. tags:
  30723. - 仓单贸易v2
  30724. /WrTrade2/QueryDeliveryGoodsSection:
  30725. get:
  30726. produces:
  30727. - application/json
  30728. responses:
  30729. "200":
  30730. description: OK
  30731. schema:
  30732. items:
  30733. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30734. type: array
  30735. "500":
  30736. description: Internal Server Error
  30737. schema:
  30738. $ref: '#/definitions/app.Response'
  30739. security:
  30740. - ApiKeyAuth: []
  30741. summary: 查询板块(分类)
  30742. tags:
  30743. - 仓单贸易v2
  30744. /WrTrade2/QueryFaProductDetail:
  30745. get:
  30746. description: 页面 买卖大厅 -> 选择融资方案
  30747. parameters:
  30748. - description: 仓单要素id
  30749. in: query
  30750. name: wrfactortypeid
  30751. required: true
  30752. type: integer
  30753. produces:
  30754. - application/json
  30755. responses:
  30756. "200":
  30757. description: OK
  30758. schema:
  30759. items:
  30760. $ref: '#/definitions/models.WrFAProductDetail'
  30761. type: array
  30762. "500":
  30763. description: Internal Server Error
  30764. schema:
  30765. $ref: '#/definitions/app.Response'
  30766. security:
  30767. - ApiKeyAuth: []
  30768. summary: 查询融资产品列表
  30769. tags:
  30770. - 仓单贸易v2
  30771. /WrTrade2/QueryFilterItem:
  30772. get:
  30773. parameters:
  30774. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30775. in: query
  30776. name: itype
  30777. required: true
  30778. type: string
  30779. produces:
  30780. - application/json
  30781. responses:
  30782. "200":
  30783. description: OK
  30784. schema:
  30785. items:
  30786. $ref: '#/definitions/models.WrFilterItem'
  30787. type: array
  30788. "500":
  30789. description: Internal Server Error
  30790. schema:
  30791. $ref: '#/definitions/app.Response'
  30792. security:
  30793. - ApiKeyAuth: []
  30794. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30795. tags:
  30796. - 仓单贸易v2
  30797. /WrTrade2/QueryFtDeliveryGoods:
  30798. get:
  30799. produces:
  30800. - application/json
  30801. responses:
  30802. "200":
  30803. description: OK
  30804. schema:
  30805. items:
  30806. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30807. type: array
  30808. "500":
  30809. description: Internal Server Error
  30810. schema:
  30811. $ref: '#/definitions/app.Response'
  30812. security:
  30813. - ApiKeyAuth: []
  30814. summary: 查询品种品类筛选框列表
  30815. tags:
  30816. - 仓单贸易v2
  30817. /WrTrade2/QueryHoldLB:
  30818. get:
  30819. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30820. parameters:
  30821. - description: 资金账号
  30822. in: query
  30823. name: accountid
  30824. required: true
  30825. type: integer
  30826. - description: 仓库id
  30827. in: query
  30828. name: warehouseid
  30829. type: integer
  30830. - description: 品种id
  30831. in: query
  30832. name: deliverygoodsid
  30833. type: integer
  30834. - description: 品类id
  30835. in: query
  30836. name: wrstandardid
  30837. type: integer
  30838. - description: 仓单要素id
  30839. in: query
  30840. name: wrfactortypeid
  30841. type: integer
  30842. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30843. in: query
  30844. name: dgitemname
  30845. type: string
  30846. produces:
  30847. - application/json
  30848. responses:
  30849. "200":
  30850. description: OK
  30851. schema:
  30852. items:
  30853. $ref: '#/definitions/models.WrHoldLB'
  30854. type: array
  30855. "500":
  30856. description: Internal Server Error
  30857. schema:
  30858. $ref: '#/definitions/app.Response'
  30859. security:
  30860. - ApiKeyAuth: []
  30861. summary: 查询仓单持有记录
  30862. tags:
  30863. - 仓单贸易v2
  30864. /WrTrade2/QueryOrderQuote:
  30865. get:
  30866. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30867. 唯一确定1条记录
  30868. parameters:
  30869. - description: 页码
  30870. in: query
  30871. name: page
  30872. type: integer
  30873. - description: 每页条数
  30874. in: query
  30875. name: pagesize
  30876. type: integer
  30877. - description: 仓单贸易市场id
  30878. in: query
  30879. name: marketid
  30880. type: integer
  30881. - description: 价格方式 - 1:固定价 2-浮动价
  30882. in: query
  30883. name: wrpricetype
  30884. required: true
  30885. type: integer
  30886. - description: 0:仓单预售 1:仓单贸易
  30887. in: query
  30888. name: haswr
  30889. type: integer
  30890. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30891. in: query
  30892. name: dgitemname
  30893. type: string
  30894. - description: 仓库id(筛选条件)
  30895. in: query
  30896. name: warehouseid
  30897. type: integer
  30898. - description: 品种id
  30899. in: query
  30900. name: deliverygoodsid
  30901. type: integer
  30902. - description: 品类id
  30903. in: query
  30904. name: wrstandardid
  30905. type: integer
  30906. - description: 品牌id(dgfactoryitemid)
  30907. in: query
  30908. name: brandid
  30909. type: integer
  30910. - description: 年份id(dgfactoryitemid)
  30911. in: query
  30912. name: yearsid
  30913. type: integer
  30914. - description: 仓单要素id
  30915. in: query
  30916. name: wrfactortypeid
  30917. type: integer
  30918. - description: 交收月(yyyy-mm) 仓单预售填写
  30919. in: query
  30920. name: deliverymonth
  30921. type: string
  30922. produces:
  30923. - application/json
  30924. responses:
  30925. "200":
  30926. description: OK
  30927. schema:
  30928. items:
  30929. $ref: '#/definitions/models.WrOrderQuote'
  30930. type: array
  30931. "500":
  30932. description: Internal Server Error
  30933. schema:
  30934. $ref: '#/definitions/app.Response'
  30935. security:
  30936. - ApiKeyAuth: []
  30937. summary: 查询大厅行情列表
  30938. tags:
  30939. - 仓单贸易v2
  30940. /WrTrade2/QueryOrderQuoteDetail:
  30941. get:
  30942. parameters:
  30943. - description: 页码
  30944. in: query
  30945. name: page
  30946. type: integer
  30947. - description: 每页条数
  30948. in: query
  30949. name: pagesize
  30950. type: integer
  30951. - description: 仓单贸易市场id
  30952. in: query
  30953. name: marketid
  30954. type: integer
  30955. - description: 价格方式 - 1:固定价 2-浮动价
  30956. in: query
  30957. name: wrpricetype
  30958. required: true
  30959. type: integer
  30960. - description: 0:仓单预售 1:仓单贸易
  30961. in: query
  30962. name: haswr
  30963. type: integer
  30964. - description: 仓单要素id
  30965. in: query
  30966. name: wrfactortypeid
  30967. required: true
  30968. type: integer
  30969. - description: 期货商品id(浮动价方式时填)
  30970. in: query
  30971. name: goodsid
  30972. type: integer
  30973. - description: 买卖方向 0-买 1-卖
  30974. in: query
  30975. name: buyorsell
  30976. required: true
  30977. type: integer
  30978. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30979. in: query
  30980. name: deliverymonth
  30981. type: string
  30982. produces:
  30983. - application/json
  30984. responses:
  30985. "200":
  30986. description: OK
  30987. schema:
  30988. items:
  30989. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30990. type: array
  30991. "500":
  30992. description: Internal Server Error
  30993. schema:
  30994. $ref: '#/definitions/app.Response'
  30995. security:
  30996. - ApiKeyAuth: []
  30997. summary: 查询买卖大厅
  30998. tags:
  30999. - 仓单贸易v2
  31000. /WrTrade2/QueryOrderQuoteMyq:
  31001. get:
  31002. parameters:
  31003. - description: 页码
  31004. in: query
  31005. name: page
  31006. type: integer
  31007. - description: 每页条数
  31008. in: query
  31009. name: pagesize
  31010. type: integer
  31011. - description: 用户id
  31012. in: query
  31013. name: userid
  31014. required: true
  31015. type: integer
  31016. - description: 仓单贸易市场id
  31017. in: query
  31018. name: marketid
  31019. type: integer
  31020. - description: 0:仓单预售 1:仓单贸易
  31021. in: query
  31022. name: haswr
  31023. type: integer
  31024. - description: 买卖方向 0-买 1-卖
  31025. in: query
  31026. name: buyorsell
  31027. required: true
  31028. type: integer
  31029. - description: 品种id
  31030. in: query
  31031. name: deliverygoodsid
  31032. type: integer
  31033. - description: 品类id
  31034. in: query
  31035. name: wrstandardid
  31036. type: integer
  31037. - description: 交收月(yyyy-mm) 仓单预售填写
  31038. in: query
  31039. name: deliverymonth
  31040. type: string
  31041. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31042. in: query
  31043. name: dgitemname
  31044. type: string
  31045. produces:
  31046. - application/json
  31047. responses:
  31048. "200":
  31049. description: OK
  31050. schema:
  31051. items:
  31052. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31053. type: array
  31054. "500":
  31055. description: Internal Server Error
  31056. schema:
  31057. $ref: '#/definitions/app.Response'
  31058. security:
  31059. - ApiKeyAuth: []
  31060. summary: 查询贸易圈挂牌大厅
  31061. tags:
  31062. - 仓单贸易v2
  31063. /WrTrade2/QueryPerformancePlan:
  31064. get:
  31065. parameters:
  31066. - description: 用户id
  31067. in: query
  31068. name: userid
  31069. required: true
  31070. type: integer
  31071. - description: 买卖方向 0-买 1-卖
  31072. in: query
  31073. name: buyorsell
  31074. required: true
  31075. type: integer
  31076. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31077. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31078. in: query
  31079. name: status
  31080. type: string
  31081. - description: 开始交易日(yyyymmdd)
  31082. in: query
  31083. name: begindate
  31084. type: string
  31085. - description: 结束交易日(yyyymmdd)
  31086. in: query
  31087. name: enddate
  31088. type: string
  31089. produces:
  31090. - application/json
  31091. responses:
  31092. "200":
  31093. description: OK
  31094. schema:
  31095. items:
  31096. $ref: '#/definitions/models.WrPerformancePlan'
  31097. type: array
  31098. "500":
  31099. description: Internal Server Error
  31100. schema:
  31101. $ref: '#/definitions/app.Response'
  31102. security:
  31103. - ApiKeyAuth: []
  31104. summary: 查询履约信息
  31105. tags:
  31106. - 仓单贸易v2
  31107. /WrTrade2/QueryPermancePlanTmp:
  31108. get:
  31109. description: |-
  31110. 返回指定用户的模板和公共模板(用户id为空)
  31111. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31112. parameters:
  31113. - description: 用户id
  31114. in: query
  31115. name: userid
  31116. type: integer
  31117. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31118. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31119. in: query
  31120. name: tmptype
  31121. type: string
  31122. - description: 是否包含公共模板(用户id为空的) 1-包含
  31123. in: query
  31124. name: includepub
  31125. type: integer
  31126. - description: 市场id(天津麦顿指定此参数,其它不用)
  31127. in: query
  31128. name: marketid
  31129. type: integer
  31130. produces:
  31131. - application/json
  31132. responses:
  31133. "200":
  31134. description: OK
  31135. schema:
  31136. items:
  31137. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31138. type: array
  31139. "500":
  31140. description: Internal Server Error
  31141. schema:
  31142. $ref: '#/definitions/app.Response'
  31143. security:
  31144. - ApiKeyAuth: []
  31145. summary: 查询履约模板
  31146. tags:
  31147. - 仓单贸易v2
  31148. /WrTrade2/QuerySiteColumnDetail:
  31149. get:
  31150. parameters:
  31151. - description: 页码
  31152. in: query
  31153. name: page
  31154. type: integer
  31155. - description: 每页条数
  31156. in: query
  31157. name: pagesize
  31158. type: integer
  31159. - description: 所属栏目id
  31160. in: query
  31161. name: columnid
  31162. type: integer
  31163. produces:
  31164. - application/json
  31165. responses:
  31166. "200":
  31167. description: OK
  31168. schema:
  31169. items:
  31170. $ref: '#/definitions/models.WrSiteColumnDetail'
  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/QuerySpotGroupTradeSum:
  31182. get:
  31183. produces:
  31184. - application/json
  31185. responses:
  31186. "200":
  31187. description: OK
  31188. schema:
  31189. items:
  31190. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31191. type: array
  31192. "500":
  31193. description: Internal Server Error
  31194. schema:
  31195. $ref: '#/definitions/app.Response'
  31196. security:
  31197. - ApiKeyAuth: []
  31198. summary: 查询指数
  31199. tags:
  31200. - 仓单贸易v2
  31201. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31202. get:
  31203. description: 查询的结果将会按日期 从小到大 排序
  31204. parameters:
  31205. - description: 现货商品id
  31206. in: query
  31207. name: deliverygoodsid
  31208. required: true
  31209. type: integer
  31210. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31211. in: query
  31212. name: lastnum
  31213. type: integer
  31214. produces:
  31215. - application/json
  31216. responses:
  31217. "200":
  31218. description: OK
  31219. schema:
  31220. items:
  31221. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31222. type: array
  31223. "500":
  31224. description: Internal Server Error
  31225. schema:
  31226. $ref: '#/definitions/app.Response'
  31227. security:
  31228. - ApiKeyAuth: []
  31229. summary: 查询指数详细(价格走势图)
  31230. tags:
  31231. - 仓单贸易v2
  31232. /WrTrade2/QueryWrAverageTradePrice:
  31233. get:
  31234. parameters:
  31235. - description: 页码
  31236. in: query
  31237. name: page
  31238. type: integer
  31239. - description: 每页条数
  31240. in: query
  31241. name: pagesize
  31242. type: integer
  31243. - description: 0:仓单预售 1:仓单贸易
  31244. in: query
  31245. name: haswr
  31246. required: true
  31247. type: integer
  31248. - description: 仓单要素id
  31249. in: query
  31250. name: wrfactortypeid
  31251. required: true
  31252. type: integer
  31253. produces:
  31254. - application/json
  31255. responses:
  31256. "200":
  31257. description: OK
  31258. schema:
  31259. items:
  31260. $ref: '#/definitions/models.WrAverageTradePrice'
  31261. type: array
  31262. "500":
  31263. description: Internal Server Error
  31264. schema:
  31265. $ref: '#/definitions/app.Response'
  31266. security:
  31267. - ApiKeyAuth: []
  31268. summary: 查询成交价(历史走势)
  31269. tags:
  31270. - 仓单贸易v2
  31271. /WrTrade2/QueryWrBrandAndYears:
  31272. get:
  31273. produces:
  31274. - application/json
  31275. responses:
  31276. "200":
  31277. description: OK
  31278. schema:
  31279. items:
  31280. $ref: '#/definitions/models.WrBrandAndYears'
  31281. type: array
  31282. "500":
  31283. description: Internal Server Error
  31284. schema:
  31285. $ref: '#/definitions/app.Response'
  31286. security:
  31287. - ApiKeyAuth: []
  31288. summary: 查询品牌和年份
  31289. tags:
  31290. - 仓单贸易v2
  31291. /WrTrade2/QueryWrBsGoodsInfo:
  31292. get:
  31293. description: 合约交易/买卖大厅/详情
  31294. parameters:
  31295. - description: 商品id
  31296. in: query
  31297. name: goodsid
  31298. required: true
  31299. type: integer
  31300. produces:
  31301. - application/json
  31302. responses:
  31303. "200":
  31304. description: OK
  31305. schema:
  31306. items:
  31307. $ref: '#/definitions/models.WrBsGoodsInfo'
  31308. type: array
  31309. "500":
  31310. description: Internal Server Error
  31311. schema:
  31312. $ref: '#/definitions/app.Response'
  31313. security:
  31314. - ApiKeyAuth: []
  31315. summary: 查询合约交易买卖大厅详情
  31316. tags:
  31317. - 仓单贸易v2
  31318. /WrTrade2/QueryWrBuybackDetail:
  31319. get:
  31320. parameters:
  31321. - description: 融资合同id
  31322. in: query
  31323. name: scfcontractid
  31324. type: integer
  31325. produces:
  31326. - application/json
  31327. responses:
  31328. "200":
  31329. description: OK
  31330. schema:
  31331. items:
  31332. $ref: '#/definitions/models.WrBuybackDetail'
  31333. type: array
  31334. "500":
  31335. description: Internal Server Error
  31336. schema:
  31337. $ref: '#/definitions/app.Response'
  31338. security:
  31339. - ApiKeyAuth: []
  31340. summary: 查询仓单回购明细
  31341. tags:
  31342. - 仓单贸易v2
  31343. /WrTrade2/QueryWrClientAdSpaceConfig:
  31344. get:
  31345. produces:
  31346. - application/json
  31347. responses:
  31348. "200":
  31349. description: OK
  31350. schema:
  31351. items:
  31352. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31353. type: array
  31354. "500":
  31355. description: Internal Server Error
  31356. schema:
  31357. $ref: '#/definitions/app.Response'
  31358. security:
  31359. - ApiKeyAuth: []
  31360. summary: 查询固定广告配置
  31361. tags:
  31362. - 仓单贸易v2
  31363. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31364. get:
  31365. parameters:
  31366. - description: 资金账号
  31367. in: query
  31368. name: accountid
  31369. required: true
  31370. type: integer
  31371. - description: 商品id
  31372. in: query
  31373. name: goodsid
  31374. required: true
  31375. type: integer
  31376. produces:
  31377. - application/json
  31378. responses:
  31379. "200":
  31380. description: OK
  31381. schema:
  31382. items:
  31383. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31384. type: array
  31385. "500":
  31386. description: Internal Server Error
  31387. schema:
  31388. $ref: '#/definitions/app.Response'
  31389. security:
  31390. - ApiKeyAuth: []
  31391. summary: 查询合约交收可点选仓单
  31392. tags:
  31393. - 仓单贸易v2
  31394. /WrTrade2/QueryWrDeliveryDetail:
  31395. get:
  31396. parameters:
  31397. - description: 用户id
  31398. in: query
  31399. name: userid
  31400. required: true
  31401. type: integer
  31402. - description: 资金账号id
  31403. in: query
  31404. name: accountid
  31405. type: integer
  31406. - description: 开始交易日(yyyymmdd)
  31407. in: query
  31408. name: begindate
  31409. type: string
  31410. - description: 结束交易日(yyyymmdd)
  31411. in: query
  31412. name: enddate
  31413. type: string
  31414. produces:
  31415. - application/json
  31416. responses:
  31417. "200":
  31418. description: OK
  31419. schema:
  31420. items:
  31421. $ref: '#/definitions/models.WrDeliveryDetail'
  31422. type: array
  31423. "500":
  31424. description: Internal Server Error
  31425. schema:
  31426. $ref: '#/definitions/app.Response'
  31427. security:
  31428. - ApiKeyAuth: []
  31429. summary: 查询交收
  31430. tags:
  31431. - 仓单贸易v2
  31432. /WrTrade2/QueryWrDraftUserInfo:
  31433. get:
  31434. parameters:
  31435. - description: 用户ID
  31436. in: query
  31437. name: userid
  31438. required: true
  31439. type: integer
  31440. - description: 用户状态 1:正常 2:注销
  31441. in: query
  31442. name: userstatus
  31443. type: integer
  31444. produces:
  31445. - application/json
  31446. responses:
  31447. "200":
  31448. description: OK
  31449. schema:
  31450. items:
  31451. $ref: '#/definitions/models.WrDraftUserInfo'
  31452. type: array
  31453. "500":
  31454. description: Internal Server Error
  31455. schema:
  31456. $ref: '#/definitions/app.Response'
  31457. security:
  31458. - ApiKeyAuth: []
  31459. summary: 查询实名认证信息
  31460. tags:
  31461. - 仓单贸易v2
  31462. /WrTrade2/QueryWrFactorTypeInfo:
  31463. get:
  31464. parameters:
  31465. - description: 仓单要素id
  31466. in: query
  31467. name: wrfactortypeid
  31468. required: true
  31469. type: integer
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. items:
  31477. $ref: '#/definitions/models.WrFactorTypeInfo'
  31478. type: array
  31479. "500":
  31480. description: Internal Server Error
  31481. schema:
  31482. $ref: '#/definitions/app.Response'
  31483. security:
  31484. - ApiKeyAuth: []
  31485. summary: 查询仓单要素详细信息
  31486. tags:
  31487. - 仓单贸易v2
  31488. /WrTrade2/QueryWrFactorTypeInfoEx:
  31489. get:
  31490. parameters:
  31491. - description: 仓单要素id
  31492. in: query
  31493. name: wrfactortypeid
  31494. required: true
  31495. type: integer
  31496. produces:
  31497. - application/json
  31498. responses:
  31499. "200":
  31500. description: OK
  31501. schema:
  31502. items:
  31503. $ref: '#/definitions/models.WrTypeItem'
  31504. type: array
  31505. "500":
  31506. description: Internal Server Error
  31507. schema:
  31508. $ref: '#/definitions/app.Response'
  31509. security:
  31510. - ApiKeyAuth: []
  31511. summary: 查询仓单要素详细信息列表项
  31512. tags:
  31513. - 仓单贸易v2
  31514. /WrTrade2/QueryWrFinanceBuyApply:
  31515. get:
  31516. description: 页面 融资信息+ / 申请单
  31517. parameters:
  31518. - description: 用户id
  31519. in: query
  31520. name: userid
  31521. required: true
  31522. type: integer
  31523. produces:
  31524. - application/json
  31525. responses:
  31526. "200":
  31527. description: OK
  31528. schema:
  31529. items:
  31530. $ref: '#/definitions/models.WrFinanceBuyApply'
  31531. type: array
  31532. "500":
  31533. description: Internal Server Error
  31534. schema:
  31535. $ref: '#/definitions/app.Response'
  31536. security:
  31537. - ApiKeyAuth: []
  31538. summary: 查询融资购买申请
  31539. tags:
  31540. - 仓单贸易v2
  31541. /WrTrade2/QueryWrFriendApply:
  31542. get:
  31543. parameters:
  31544. - description: 用户id
  31545. in: query
  31546. name: userid
  31547. required: true
  31548. type: integer
  31549. produces:
  31550. - application/json
  31551. responses:
  31552. "200":
  31553. description: OK
  31554. schema:
  31555. items:
  31556. $ref: '#/definitions/models.WrFriendApply'
  31557. type: array
  31558. "500":
  31559. description: Internal Server Error
  31560. schema:
  31561. $ref: '#/definitions/app.Response'
  31562. security:
  31563. - ApiKeyAuth: []
  31564. summary: 查询好友申请记录
  31565. tags:
  31566. - 仓单贸易v2
  31567. /WrTrade2/QueryWrGoodsInfo:
  31568. get:
  31569. parameters:
  31570. - description: 仓单贸易市场id
  31571. in: query
  31572. name: marketid
  31573. type: integer
  31574. - description: 0:仓单预售 1:仓单贸易
  31575. in: query
  31576. name: haswr
  31577. required: true
  31578. type: integer
  31579. - description: 仓单要素id
  31580. in: query
  31581. name: wrfactortypeid
  31582. required: true
  31583. type: integer
  31584. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31585. in: query
  31586. name: tmplateid
  31587. type: integer
  31588. produces:
  31589. - application/json
  31590. responses:
  31591. "200":
  31592. description: OK
  31593. schema:
  31594. items:
  31595. $ref: '#/definitions/models.WrGoodsInfo'
  31596. type: array
  31597. "500":
  31598. description: Internal Server Error
  31599. schema:
  31600. $ref: '#/definitions/app.Response'
  31601. security:
  31602. - ApiKeyAuth: []
  31603. summary: 查询仓单商品信息
  31604. tags:
  31605. - 仓单贸易v2
  31606. /WrTrade2/QueryWrMarketTradeConfig:
  31607. get:
  31608. parameters:
  31609. - description: 市场id
  31610. in: query
  31611. name: marketid
  31612. type: integer
  31613. produces:
  31614. - application/json
  31615. responses:
  31616. "200":
  31617. description: OK
  31618. schema:
  31619. items:
  31620. $ref: '#/definitions/models.WrMarketTradeConfig'
  31621. type: array
  31622. "500":
  31623. description: Internal Server Error
  31624. schema:
  31625. $ref: '#/definitions/app.Response'
  31626. security:
  31627. - ApiKeyAuth: []
  31628. summary: 查询市场交易参数配置
  31629. tags:
  31630. - 仓单贸易v2
  31631. /WrTrade2/QueryWrOrderDetail:
  31632. get:
  31633. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31634. parameters:
  31635. - description: 页码
  31636. in: query
  31637. name: page
  31638. type: integer
  31639. - description: 每页条数
  31640. in: query
  31641. name: pagesize
  31642. type: integer
  31643. - description: 用户id
  31644. in: query
  31645. name: userid
  31646. required: true
  31647. type: integer
  31648. - description: 仓单贸易市场id
  31649. in: query
  31650. name: marketid
  31651. type: integer
  31652. - description: 0:仓单预售 1:仓单贸易
  31653. in: query
  31654. name: haswr
  31655. required: true
  31656. type: integer
  31657. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31658. in: query
  31659. name: bcancel
  31660. type: integer
  31661. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31662. in: query
  31663. name: wrtradetype
  31664. type: integer
  31665. - description: 开始交易日(yyyymmdd)
  31666. in: query
  31667. name: begindate
  31668. type: string
  31669. - description: 结束交易日(yyyymmdd)
  31670. in: query
  31671. name: enddate
  31672. type: string
  31673. produces:
  31674. - application/json
  31675. responses:
  31676. "200":
  31677. description: OK
  31678. schema:
  31679. items:
  31680. $ref: '#/definitions/models.WrOrderDetail'
  31681. type: array
  31682. "500":
  31683. description: Internal Server Error
  31684. schema:
  31685. $ref: '#/definitions/app.Response'
  31686. security:
  31687. - ApiKeyAuth: []
  31688. summary: 查询仓单委托单
  31689. tags:
  31690. - 仓单贸易v2
  31691. /WrTrade2/QueryWrOutInApply:
  31692. get:
  31693. parameters:
  31694. - description: 页码
  31695. in: query
  31696. name: page
  31697. type: integer
  31698. - description: 每页条数
  31699. in: query
  31700. name: pagesize
  31701. type: integer
  31702. - description: 用户id
  31703. in: query
  31704. name: userid
  31705. required: true
  31706. type: integer
  31707. - description: 开始交易日(yyyymmdd)
  31708. in: query
  31709. name: begindate
  31710. type: string
  31711. - description: 结束交易日(yyyymmdd)
  31712. in: query
  31713. name: enddate
  31714. type: string
  31715. produces:
  31716. - application/json
  31717. responses:
  31718. "200":
  31719. description: OK
  31720. schema:
  31721. items:
  31722. $ref: '#/definitions/models.WrOutInApply'
  31723. type: array
  31724. "500":
  31725. description: Internal Server Error
  31726. schema:
  31727. $ref: '#/definitions/app.Response'
  31728. security:
  31729. - ApiKeyAuth: []
  31730. summary: 查询提货申请
  31731. tags:
  31732. - 仓单贸易v2
  31733. /WrTrade2/QueryWrPerformancePlanStep:
  31734. get:
  31735. parameters:
  31736. - description: 履约计划id(performanceplanid)
  31737. in: query
  31738. name: planid
  31739. required: true
  31740. type: integer
  31741. - description: 当前步骤id
  31742. in: query
  31743. name: curstepid
  31744. type: integer
  31745. produces:
  31746. - application/json
  31747. responses:
  31748. "200":
  31749. description: OK
  31750. schema:
  31751. items:
  31752. $ref: '#/definitions/models.WrPerformancePlanStep'
  31753. type: array
  31754. "500":
  31755. description: Internal Server Error
  31756. schema:
  31757. $ref: '#/definitions/app.Response'
  31758. security:
  31759. - ApiKeyAuth: []
  31760. summary: 查询履约信息详情
  31761. tags:
  31762. - 仓单贸易v2
  31763. /WrTrade2/QueryWrPerformanceStepType:
  31764. get:
  31765. produces:
  31766. - application/json
  31767. responses:
  31768. "200":
  31769. description: OK
  31770. schema:
  31771. items:
  31772. $ref: '#/definitions/models.WrPerformanceStepType'
  31773. type: array
  31774. "500":
  31775. description: Internal Server Error
  31776. schema:
  31777. $ref: '#/definitions/app.Response'
  31778. security:
  31779. - ApiKeyAuth: []
  31780. summary: 查询履约步骤枚举
  31781. tags:
  31782. - 仓单贸易v2
  31783. /WrTrade2/QueryWrPosition:
  31784. get:
  31785. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31786. parameters:
  31787. - description: 用户id
  31788. in: query
  31789. name: userid
  31790. required: true
  31791. type: integer
  31792. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31793. in: query
  31794. name: querytype
  31795. required: true
  31796. type: integer
  31797. - description: 0:仓单预售 1:仓单贸易
  31798. in: query
  31799. name: haswr
  31800. required: true
  31801. type: integer
  31802. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31803. in: query
  31804. name: dgitemname
  31805. type: string
  31806. - description: 仓库id(筛选条件)
  31807. in: query
  31808. name: warehouseid
  31809. type: integer
  31810. - description: 品种id
  31811. in: query
  31812. name: deliverygoodsid
  31813. type: integer
  31814. - description: 品类id
  31815. in: query
  31816. name: wrstandardid
  31817. type: integer
  31818. produces:
  31819. - application/json
  31820. responses:
  31821. "200":
  31822. description: OK
  31823. schema:
  31824. items:
  31825. $ref: '#/definitions/models.WrPosition'
  31826. type: array
  31827. "500":
  31828. description: Internal Server Error
  31829. schema:
  31830. $ref: '#/definitions/app.Response'
  31831. security:
  31832. - ApiKeyAuth: []
  31833. summary: 查询现货(预售)仓单持仓
  31834. tags:
  31835. - 仓单贸易v2
  31836. /WrTrade2/QueryWrPreSaleInfo:
  31837. get:
  31838. parameters:
  31839. - description: 市场id
  31840. in: query
  31841. name: marketid
  31842. type: integer
  31843. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31844. in: query
  31845. name: presalestatus
  31846. type: string
  31847. - description: 摇号标识 - 0:未摇号 1:已摇号
  31848. in: query
  31849. name: lotteryflag
  31850. type: integer
  31851. - description: 最近多少条记录(按创建时间倒序)
  31852. in: query
  31853. name: lastnum
  31854. type: integer
  31855. produces:
  31856. - application/json
  31857. responses:
  31858. "200":
  31859. description: OK
  31860. schema:
  31861. items:
  31862. $ref: '#/definitions/models.WrPreSaleInfo'
  31863. type: array
  31864. "500":
  31865. description: Internal Server Error
  31866. schema:
  31867. $ref: '#/definitions/app.Response'
  31868. security:
  31869. - ApiKeyAuth: []
  31870. summary: 查询新品发布
  31871. tags:
  31872. - 仓单贸易v2
  31873. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31874. get:
  31875. parameters:
  31876. - description: 市场id
  31877. in: query
  31878. name: marketid
  31879. required: true
  31880. type: integer
  31881. - description: 现货商品id
  31882. in: query
  31883. name: wrstandardid
  31884. required: true
  31885. type: integer
  31886. - description: 开始交易日(yyyymmdd)
  31887. in: query
  31888. name: begindate
  31889. type: string
  31890. - description: 结束交易日(yyyymmdd)
  31891. in: query
  31892. name: enddate
  31893. type: string
  31894. - description: 最近多少条记录(按交易日倒序)
  31895. in: query
  31896. name: lastnum
  31897. type: integer
  31898. - description: 是否今日
  31899. in: query
  31900. name: istoday
  31901. type: boolean
  31902. produces:
  31903. - application/json
  31904. responses:
  31905. "200":
  31906. description: OK
  31907. schema:
  31908. items:
  31909. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31910. type: array
  31911. "500":
  31912. description: Internal Server Error
  31913. schema:
  31914. $ref: '#/definitions/app.Response'
  31915. security:
  31916. - ApiKeyAuth: []
  31917. summary: 查询价格走势
  31918. tags:
  31919. - 仓单贸易v2
  31920. /WrTrade2/QueryWrScfContract:
  31921. get:
  31922. parameters:
  31923. - description: 用户id
  31924. in: query
  31925. name: userid
  31926. required: true
  31927. type: integer
  31928. - description: 融资合同id
  31929. in: query
  31930. name: scfcontractid
  31931. type: integer
  31932. produces:
  31933. - application/json
  31934. responses:
  31935. "200":
  31936. description: OK
  31937. schema:
  31938. items:
  31939. $ref: '#/definitions/models.WrScfContract'
  31940. type: array
  31941. "500":
  31942. description: Internal Server Error
  31943. schema:
  31944. $ref: '#/definitions/app.Response'
  31945. security:
  31946. - ApiKeyAuth: []
  31947. summary: 查询仓单贸易融资合同
  31948. tags:
  31949. - 仓单贸易v2
  31950. /WrTrade2/QueryWrScfContractInterest:
  31951. get:
  31952. parameters:
  31953. - description: 融资合同id
  31954. in: query
  31955. name: scfcontractid
  31956. type: integer
  31957. produces:
  31958. - application/json
  31959. responses:
  31960. "200":
  31961. description: OK
  31962. schema:
  31963. items:
  31964. $ref: '#/definitions/models.WrScfContractInterest'
  31965. type: array
  31966. "500":
  31967. description: Internal Server Error
  31968. schema:
  31969. $ref: '#/definitions/app.Response'
  31970. security:
  31971. - ApiKeyAuth: []
  31972. summary: 查询融资合同费用明细
  31973. tags:
  31974. - 仓单贸易v2
  31975. /WrTrade2/QueryWrSearchUser:
  31976. get:
  31977. parameters:
  31978. - description: 用户名称(模糊匹配)
  31979. in: query
  31980. name: username
  31981. required: true
  31982. type: string
  31983. produces:
  31984. - application/json
  31985. responses:
  31986. "200":
  31987. description: OK
  31988. schema:
  31989. items:
  31990. $ref: '#/definitions/models.WrSearchUser'
  31991. type: array
  31992. "500":
  31993. description: Internal Server Error
  31994. schema:
  31995. $ref: '#/definitions/app.Response'
  31996. security:
  31997. - ApiKeyAuth: []
  31998. summary: 查询用户
  31999. tags:
  32000. - 仓单贸易v2
  32001. /WrTrade2/QueryWrSpecialMatchOrder:
  32002. get:
  32003. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32004. parameters:
  32005. - description: 页码
  32006. in: query
  32007. name: page
  32008. type: integer
  32009. - description: 每页条数
  32010. in: query
  32011. name: pagesize
  32012. type: integer
  32013. - description: 用户id
  32014. in: query
  32015. name: userid
  32016. required: true
  32017. type: integer
  32018. - description: 仓单贸易市场id
  32019. in: query
  32020. name: marketid
  32021. type: integer
  32022. - description: 0:仓单预售 1:仓单贸易
  32023. in: query
  32024. name: haswr
  32025. required: true
  32026. type: integer
  32027. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32028. in: query
  32029. name: isspecified
  32030. type: integer
  32031. produces:
  32032. - application/json
  32033. responses:
  32034. "200":
  32035. description: OK
  32036. schema:
  32037. items:
  32038. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32039. type: array
  32040. "500":
  32041. description: Internal Server Error
  32042. schema:
  32043. $ref: '#/definitions/app.Response'
  32044. security:
  32045. - ApiKeyAuth: []
  32046. summary: 查询指定成交
  32047. tags:
  32048. - 仓单贸易v2
  32049. /WrTrade2/QueryWrStandardFactoryItem:
  32050. get:
  32051. parameters:
  32052. - description: 品类id
  32053. in: query
  32054. name: wrstandardid
  32055. required: true
  32056. type: integer
  32057. produces:
  32058. - application/json
  32059. responses:
  32060. "200":
  32061. description: OK
  32062. schema:
  32063. items:
  32064. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32065. type: array
  32066. "500":
  32067. description: Internal Server Error
  32068. schema:
  32069. $ref: '#/definitions/app.Response'
  32070. security:
  32071. - ApiKeyAuth: []
  32072. summary: 查询品类要素定义项
  32073. tags:
  32074. - 仓单贸易v2
  32075. /WrTrade2/QueryWrTradeBargainApply:
  32076. get:
  32077. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32078. 议价->对方议价 填写matchuserid=登录用户id
  32079. parameters:
  32080. - description: 议价人id(摘牌方)
  32081. in: query
  32082. name: userid
  32083. type: integer
  32084. - description: 挂牌方id(查对方议价时,填写此项)
  32085. in: query
  32086. name: matchuserid
  32087. type: integer
  32088. - description: 关联委托单id
  32089. in: query
  32090. name: wrtradeorderid
  32091. type: integer
  32092. - description: 0:仓单预售 1:仓单贸易
  32093. in: query
  32094. name: haswr
  32095. required: true
  32096. type: integer
  32097. - description: 开始交易日(yyyymmdd)
  32098. in: query
  32099. name: begindate
  32100. type: string
  32101. - description: 结束交易日(yyyymmdd)
  32102. in: query
  32103. name: enddate
  32104. type: string
  32105. produces:
  32106. - application/json
  32107. responses:
  32108. "200":
  32109. description: OK
  32110. schema:
  32111. items:
  32112. $ref: '#/definitions/models.WRTradeBargainApply'
  32113. type: array
  32114. "500":
  32115. description: Internal Server Error
  32116. schema:
  32117. $ref: '#/definitions/app.Response'
  32118. security:
  32119. - ApiKeyAuth: []
  32120. summary: 查询议价单
  32121. tags:
  32122. - 仓单贸易v2
  32123. /WrTrade2/QueryWrTradeDetail:
  32124. get:
  32125. parameters:
  32126. - description: 页码
  32127. in: query
  32128. name: page
  32129. type: integer
  32130. - description: 每页条数
  32131. in: query
  32132. name: pagesize
  32133. type: integer
  32134. - description: 用户id
  32135. in: query
  32136. name: userid
  32137. required: true
  32138. type: integer
  32139. - description: 仓单贸易市场id
  32140. in: query
  32141. name: marketid
  32142. type: integer
  32143. - description: 0:仓单预售 1:仓单贸易
  32144. in: query
  32145. name: haswr
  32146. required: true
  32147. type: integer
  32148. - description: 开始交易日(yyyymmdd)
  32149. in: query
  32150. name: begindate
  32151. type: string
  32152. - description: 结束交易日(yyyymmdd)
  32153. in: query
  32154. name: enddate
  32155. type: string
  32156. produces:
  32157. - application/json
  32158. responses:
  32159. "200":
  32160. description: OK
  32161. schema:
  32162. items:
  32163. $ref: '#/definitions/models.WrTradeDetail'
  32164. type: array
  32165. "500":
  32166. description: Internal Server Error
  32167. schema:
  32168. $ref: '#/definitions/app.Response'
  32169. security:
  32170. - ApiKeyAuth: []
  32171. summary: 查询仓单成交明细
  32172. tags:
  32173. - 仓单贸易v2
  32174. /WrTrade2/QueryWrTradeOrderDetail:
  32175. get:
  32176. parameters:
  32177. - description: 页码
  32178. in: query
  32179. name: page
  32180. type: integer
  32181. - description: 每页条数
  32182. in: query
  32183. name: pagesize
  32184. type: integer
  32185. - description: 商品id
  32186. in: query
  32187. name: goodsid
  32188. required: true
  32189. type: integer
  32190. - description: 买卖方向 0-买 1-卖
  32191. in: query
  32192. name: buyorsell
  32193. required: true
  32194. type: integer
  32195. produces:
  32196. - application/json
  32197. responses:
  32198. "200":
  32199. description: OK
  32200. schema:
  32201. items:
  32202. $ref: '#/definitions/models.WrTradeOrderDetail'
  32203. type: array
  32204. "500":
  32205. description: Internal Server Error
  32206. schema:
  32207. $ref: '#/definitions/app.Response'
  32208. security:
  32209. - ApiKeyAuth: []
  32210. summary: 查询合约交易买卖大厅
  32211. tags:
  32212. - 仓单贸易v2
  32213. /WrTrade2/QueryWrTradeQuote:
  32214. get:
  32215. parameters:
  32216. - description: 现货商品id
  32217. in: query
  32218. name: wrstandardid
  32219. required: true
  32220. type: integer
  32221. - description: 开始日期(yyyymmdd)
  32222. in: query
  32223. name: begindate
  32224. required: true
  32225. type: string
  32226. - description: 结束日期(yyyymmdd)
  32227. in: query
  32228. name: enddate
  32229. required: true
  32230. type: string
  32231. - description: 市场id
  32232. in: query
  32233. name: marketid
  32234. type: integer
  32235. produces:
  32236. - application/json
  32237. responses:
  32238. "200":
  32239. description: OK
  32240. schema:
  32241. items:
  32242. $ref: '#/definitions/models.Wrtradetradequote'
  32243. type: array
  32244. "500":
  32245. description: Internal Server Error
  32246. schema:
  32247. $ref: '#/definitions/app.Response'
  32248. security:
  32249. - ApiKeyAuth: []
  32250. summary: 查询仓单贸易成交行情
  32251. tags:
  32252. - 仓单贸易v2
  32253. /WrTrade2/QueryWrUserFriend:
  32254. get:
  32255. parameters:
  32256. - description: 用户id
  32257. in: query
  32258. name: userid
  32259. required: true
  32260. type: integer
  32261. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32262. in: query
  32263. name: newuserid
  32264. type: integer
  32265. produces:
  32266. - application/json
  32267. responses:
  32268. "200":
  32269. description: OK
  32270. schema:
  32271. items:
  32272. $ref: '#/definitions/models.WrUserFriend'
  32273. type: array
  32274. "500":
  32275. description: Internal Server Error
  32276. schema:
  32277. $ref: '#/definitions/app.Response'
  32278. security:
  32279. - ApiKeyAuth: []
  32280. summary: 查询我的朋友
  32281. tags:
  32282. - 仓单贸易v2
  32283. /WrTrade2/QueryWrUserReceiptInfo:
  32284. get:
  32285. parameters:
  32286. - description: 用户id
  32287. in: query
  32288. name: userid
  32289. type: integer
  32290. - description: 发票类型 - 1:个人 2:企业
  32291. in: query
  32292. name: receipttype
  32293. type: integer
  32294. produces:
  32295. - application/json
  32296. responses:
  32297. "200":
  32298. description: OK
  32299. schema:
  32300. items:
  32301. $ref: '#/definitions/models.WrUserReceiptInfo'
  32302. type: array
  32303. "500":
  32304. description: Internal Server Error
  32305. schema:
  32306. $ref: '#/definitions/app.Response'
  32307. security:
  32308. - ApiKeyAuth: []
  32309. summary: 查询发票信息
  32310. tags:
  32311. - 仓单贸易v2
  32312. /WrTrade2/QueryXhcpSellBackApply:
  32313. get:
  32314. parameters:
  32315. - description: 用户ID
  32316. in: query
  32317. name: userid
  32318. required: true
  32319. type: integer
  32320. produces:
  32321. - application/json
  32322. responses:
  32323. "200":
  32324. description: OK
  32325. schema:
  32326. items:
  32327. $ref: '#/definitions/models.Xhcpsellbackapply'
  32328. type: array
  32329. "500":
  32330. description: Internal Server Error
  32331. schema:
  32332. $ref: '#/definitions/app.Response'
  32333. security:
  32334. - ApiKeyAuth: []
  32335. summary: 查询我的回收申请(新会陈皮)
  32336. tags:
  32337. - 仓单贸易v2
  32338. /ZJ/GetBankTip:
  32339. get:
  32340. produces:
  32341. - application/json
  32342. responses:
  32343. "200":
  32344. description: OK
  32345. schema:
  32346. type: string
  32347. "500":
  32348. description: Internal Server Error
  32349. schema:
  32350. $ref: '#/definitions/app.Response'
  32351. summary: 获取中江网银端出入金提示信息
  32352. tags:
  32353. - 中江
  32354. /ZJ/GetCusBankChannels:
  32355. get:
  32356. produces:
  32357. - application/json
  32358. responses:
  32359. "200":
  32360. description: OK
  32361. schema:
  32362. items:
  32363. type: string
  32364. type: array
  32365. "500":
  32366. description: Internal Server Error
  32367. schema:
  32368. $ref: '#/definitions/app.Response'
  32369. summary: 获取中江出入金渠道显示列表
  32370. tags:
  32371. - 中江
  32372. securityDefinitions:
  32373. ApiKeyAuth:
  32374. in: header
  32375. name: Authorization
  32376. type: apiKey
  32377. Group:
  32378. in: header
  32379. name: Group
  32380. type: apiKey
  32381. LoginID:
  32382. in: header
  32383. name: LoginID
  32384. type: apiKey
  32385. swagger: "2.0"