swagger.yaml 901 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GZGoods:
  9647. properties:
  9648. cerno:
  9649. description: 证书编号 - 类型:2,4,5
  9650. type: string
  9651. cpcertno:
  9652. description: 金伯利证书编号 - 类型:3
  9653. type: string
  9654. goodsno:
  9655. description: 商品编号
  9656. type: string
  9657. imagepath:
  9658. description: 商品照片(相对地址)
  9659. type: string
  9660. isvalid:
  9661. description: 是否有效 - 0:无效 1:有效
  9662. type: integer
  9663. kppath:
  9664. description: 金伯利证书图片(相对地址) - 类型:3
  9665. type: string
  9666. kpweight:
  9667. description: 金伯利证书重量 - 类型:3
  9668. type: string
  9669. marketprice:
  9670. description: 市场价
  9671. type: string
  9672. mobile:
  9673. description: 手机号码
  9674. type: string
  9675. origin:
  9676. description: 原产地 - 类型:3
  9677. type: string
  9678. performancetemplateid:
  9679. description: 履约计划模板ID
  9680. type: integer
  9681. price:
  9682. description: 总价(价格) - 类型:1,2,3,4,5
  9683. type: number
  9684. priceper:
  9685. description: 克拉单价 - 类型:1,2,3,5
  9686. type: string
  9687. remainqty:
  9688. description: 剩余重量
  9689. type: number
  9690. remark:
  9691. description: 备注
  9692. type: string
  9693. sellusername:
  9694. description: 账户名称(机构名称)
  9695. type: string
  9696. settingmaterial:
  9697. description: 镶嵌材料 - 类型:4
  9698. type: string
  9699. size1:
  9700. description: 尺寸1 - 类型:2,4,5
  9701. type: string
  9702. size2:
  9703. description: 尺寸2 - 类型:2,4,5
  9704. type: string
  9705. size3:
  9706. description: 尺寸3 - 类型:2,4,5
  9707. type: string
  9708. stonedesc:
  9709. description: 配石描述 - 类型:4
  9710. type: string
  9711. userid:
  9712. description: 用户ID
  9713. type: integer
  9714. warehouseid:
  9715. description: 仓库ID
  9716. type: integer
  9717. warehousenamedisplay:
  9718. type: string
  9719. weight:
  9720. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9721. type: number
  9722. weightavg:
  9723. description: 平均单颗重量 - 类型:1,3
  9724. type: number
  9725. wrpath:
  9726. description: 仓单扫描件(相对地址)
  9727. type: string
  9728. wrstandardid:
  9729. description: 现货商品ID
  9730. type: integer
  9731. wrtradeorderid:
  9732. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9733. type: string
  9734. zscategory:
  9735. description: 钻石分类 - 枚举”ZSCategory“
  9736. type: integer
  9737. zscategorydisplay:
  9738. type: string
  9739. zscerttype:
  9740. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9741. type: integer
  9742. zscerttypedisplay:
  9743. type: string
  9744. zsclaritytype1:
  9745. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9746. type: integer
  9747. zsclaritytype1display:
  9748. type: string
  9749. zsclaritytype2:
  9750. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9751. type: integer
  9752. zsclaritytype2display:
  9753. type: string
  9754. zscolortype1:
  9755. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9756. type: integer
  9757. zscolortype1display:
  9758. type: string
  9759. zscolortype2:
  9760. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9761. type: integer
  9762. zscolortype2display:
  9763. type: string
  9764. zscrystaltype:
  9765. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9766. type: string
  9767. zscrystaltypedisplay:
  9768. type: string
  9769. zscurrencytype:
  9770. description: 货币类型 - 枚举“ZSCurrencyType”
  9771. type: integer
  9772. zscurrencytypedisplay:
  9773. type: string
  9774. zscurrencytypedisplayunit:
  9775. type: string
  9776. zscuttype1:
  9777. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9778. type: integer
  9779. zscuttype1display:
  9780. type: string
  9781. zscuttype2:
  9782. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9783. type: integer
  9784. zscuttype2display:
  9785. type: string
  9786. zsczcolor1type:
  9787. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9788. type: integer
  9789. zsczcolor1typedisplay:
  9790. type: string
  9791. zsczcolor2type:
  9792. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9793. type: integer
  9794. zsczcolor2typedisplay:
  9795. type: string
  9796. zsczcolor3type:
  9797. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9798. type: integer
  9799. zsczcolor3typedisplay:
  9800. type: string
  9801. zsfluorescencetype1:
  9802. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9803. type: integer
  9804. zsfluorescencetype1display:
  9805. type: string
  9806. zsfluorescencetype2:
  9807. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9808. type: integer
  9809. zsfluorescencetype2display:
  9810. type: string
  9811. zspolishtype1:
  9812. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9813. type: integer
  9814. zspolishtype1display:
  9815. type: string
  9816. zspolishtype2:
  9817. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9818. type: integer
  9819. zspolishtype2display:
  9820. type: string
  9821. zsshapetype:
  9822. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9823. type: string
  9824. zsshapetypedisplay:
  9825. type: string
  9826. zsstyletype:
  9827. description: 款式 - 类型:4
  9828. type: integer
  9829. zsstyletypedisplay:
  9830. type: string
  9831. zssymmetrytype1:
  9832. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9833. type: integer
  9834. zssymmetrytype1display:
  9835. type: string
  9836. zssymmetrytype2:
  9837. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9838. type: integer
  9839. zssymmetrytype2display:
  9840. type: string
  9841. required:
  9842. - goodsno
  9843. type: object
  9844. models.GZWarehouseinfo:
  9845. properties:
  9846. address:
  9847. description: 详细地址
  9848. type: string
  9849. areauserid:
  9850. description: 所属机构
  9851. type: integer
  9852. autoid:
  9853. description: 自增ID
  9854. type: integer
  9855. cityid:
  9856. description: 市
  9857. type: integer
  9858. contactname:
  9859. description: 联系人
  9860. type: string
  9861. contactnum:
  9862. description: 联系电话
  9863. type: string
  9864. countryid:
  9865. description: 国家
  9866. type: integer
  9867. createtime:
  9868. description: 创建时间
  9869. type: string
  9870. districtid:
  9871. description: 区
  9872. type: integer
  9873. hasvideo:
  9874. description: 是否有视频 - 0:无 1:有
  9875. type: integer
  9876. provinceid:
  9877. description: 省
  9878. type: integer
  9879. remark:
  9880. description: 审核备注
  9881. type: string
  9882. videourl:
  9883. description: 视频地址
  9884. type: string
  9885. warehousecode:
  9886. description: 仓库代码
  9887. type: string
  9888. warehousename:
  9889. description: 仓库名称
  9890. type: string
  9891. warehousestatus:
  9892. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9893. type: integer
  9894. warehousetype:
  9895. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9896. type: integer
  9897. type: object
  9898. models.Goods:
  9899. properties:
  9900. agreeunit:
  9901. description: 合约单位
  9902. type: number
  9903. areauserid:
  9904. description: 所属机构
  9905. type: integer
  9906. auditaccountid:
  9907. description: 审核操作员账号
  9908. type: integer
  9909. audittime:
  9910. description: 审核时间
  9911. type: string
  9912. cancelaccountid:
  9913. description: 注销操作员账号
  9914. type: integer
  9915. canceltime:
  9916. description: 注销时间
  9917. type: string
  9918. closepricemode:
  9919. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9920. type: integer
  9921. closepriceparam:
  9922. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9923. type: number
  9924. createtime:
  9925. description: 创建时间
  9926. type: string
  9927. creatorid:
  9928. description: 创建人
  9929. type: integer
  9930. currencyid:
  9931. description: 报价货币ID
  9932. type: integer
  9933. cutmode:
  9934. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9935. type: integer
  9936. decimalplace:
  9937. description: 报价小数位
  9938. type: integer
  9939. delistingdate:
  9940. description: 商品退市时间(状态:退市) -- 已作废
  9941. type: string
  9942. delistingmode:
  9943. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9944. type: integer
  9945. deliveryflag:
  9946. description: 交割标志 - 0:不可交割 1:可交割
  9947. type: integer
  9948. forceclosemode:
  9949. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9950. type: integer
  9951. forceclosevalue:
  9952. description: 定期强平参数 [收益权]
  9953. type: integer
  9954. goodscode:
  9955. description: 商品代码(内部)
  9956. type: string
  9957. goodscurrencyid:
  9958. description: 合约货币ID
  9959. type: integer
  9960. goodsgroupid:
  9961. description: 所属商品组ID
  9962. type: integer
  9963. goodsid:
  9964. description: 商品ID(自增ID SEQ_GOODS)
  9965. type: integer
  9966. goodsname:
  9967. description: 商品名称
  9968. type: string
  9969. goodsquotetype:
  9970. description: '合约报价类型: 1-直接报价 2-间接报价'
  9971. type: integer
  9972. goodsstatus:
  9973. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9974. type: integer
  9975. goodstradetype:
  9976. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9977. type: integer
  9978. goodunitid:
  9979. description: 报价单位ID
  9980. type: integer
  9981. hasquoter:
  9982. description: 是否有报价商 - 0:无报价商 1:有报价商
  9983. type: integer
  9984. hqprotecttime:
  9985. description: 行情保护时间(秒)
  9986. type: integer
  9987. innerdealmode:
  9988. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9989. type: integer
  9990. isbuylimited:
  9991. description: 是否限制建仓量 - 0:不限制 1:限制
  9992. type: integer
  9993. isvisible:
  9994. description: 游客是否可见 - 0:不可见 1:可见
  9995. type: integer
  9996. lasttradedate:
  9997. description: 最后交易日期(状态:待退市)
  9998. type: string
  9999. listingdate:
  10000. description: 交易开始日期
  10001. type: string
  10002. marketid:
  10003. description: 所属市场ID
  10004. type: integer
  10005. modifierid:
  10006. description: 修改人
  10007. type: integer
  10008. modifystatus:
  10009. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10010. type: integer
  10011. modifytime:
  10012. description: 修改时间
  10013. type: string
  10014. outerdealmode:
  10015. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10016. type: integer
  10017. outgoodscode:
  10018. description: 商品代码(外部)
  10019. type: string
  10020. pictureurl:
  10021. description: 商品图片
  10022. type: string
  10023. qtydecimalplace:
  10024. description: 成交量小数位
  10025. type: integer
  10026. quotegear:
  10027. description: 行情档位(1-10)
  10028. type: integer
  10029. quoteminunit:
  10030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10031. type: integer
  10032. quoteshowtype:
  10033. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10034. type: integer
  10035. quoteshowtypeinterval:
  10036. description: 行情报价间隔时间(秒)(成交价时为0)
  10037. type: integer
  10038. remark:
  10039. description: 备注
  10040. type: string
  10041. required:
  10042. - goodscode
  10043. - goodsid
  10044. - goodsname
  10045. - marketid
  10046. type: object
  10047. models.GoodsIDAndName:
  10048. properties:
  10049. goodscode:
  10050. description: 商品代码(内部)
  10051. type: string
  10052. goodsid:
  10053. description: 商品ID(自增ID SEQ_GOODS)
  10054. type: integer
  10055. goodsname:
  10056. description: 商品名称
  10057. type: string
  10058. marketid:
  10059. description: 所属市场ID
  10060. type: integer
  10061. required:
  10062. - goodscode
  10063. - goodsid
  10064. - goodsname
  10065. - marketid
  10066. type: object
  10067. models.Goodsgroup:
  10068. properties:
  10069. agreeunit:
  10070. description: 合约单位
  10071. type: number
  10072. canshort:
  10073. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10074. type: integer
  10075. closepricemode:
  10076. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10077. type: integer
  10078. closepriceparam:
  10079. description: 强平最新价浮动比例 - 方式为2时使用
  10080. type: number
  10081. createtime:
  10082. description: 创建时间
  10083. type: string
  10084. creatorid:
  10085. description: 创建人
  10086. type: integer
  10087. currencyid:
  10088. description: 报价货币ID
  10089. type: integer
  10090. decimalplace:
  10091. description: 报价小数位
  10092. type: integer
  10093. exercisetype:
  10094. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10095. type: integer
  10096. exexchangeid:
  10097. description: 外部交易所ID[通道交易]
  10098. type: integer
  10099. goodsgroupid:
  10100. description: 商品组ID(自增ID)
  10101. type: integer
  10102. goodsgroupname:
  10103. description: 商品组名称
  10104. type: string
  10105. goodsgroupstatus:
  10106. description: 商品组状态 - 1:正常 2:注销
  10107. type: integer
  10108. goodunitid:
  10109. description: 报价单位ID
  10110. type: integer
  10111. innerdealmode:
  10112. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10113. type: integer
  10114. isbuylimited:
  10115. description: 是否限制建仓量 - 0:不限制 1:限制
  10116. type: integer
  10117. marketid:
  10118. description: 所属市场ID
  10119. type: integer
  10120. modifierid:
  10121. description: 修改人
  10122. type: integer
  10123. modifytime:
  10124. description: 修改时间
  10125. type: string
  10126. outerdealmode:
  10127. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10128. type: integer
  10129. outergroupcode:
  10130. description: 外部商品组代码[通道交易]
  10131. type: string
  10132. premiumdecimalplace:
  10133. description: 权利金小数位[场外期权]
  10134. type: integer
  10135. premiumspreadalgorithm:
  10136. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10137. type: integer
  10138. premiumspreadvalue:
  10139. description: 权利金点差值[场外期权]
  10140. type: number
  10141. qtydecimalplace:
  10142. description: 成交量小数位
  10143. type: integer
  10144. quotegear:
  10145. description: 行情档位(1-10)
  10146. type: integer
  10147. quoteminunit:
  10148. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10149. type: integer
  10150. quoterid:
  10151. description: 报价商ID[场外期权]
  10152. type: integer
  10153. quotesourcegroupid:
  10154. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10155. type: integer
  10156. syncgoodsqty:
  10157. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10158. type: integer
  10159. required:
  10160. - goodsgroupid
  10161. - goodsgroupname
  10162. - goodsgroupstatus
  10163. - marketid
  10164. type: object
  10165. models.Goodssortbypreposition:
  10166. properties:
  10167. goodscode:
  10168. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10169. type: string
  10170. goodsgroupcode:
  10171. description: 品种代码
  10172. type: string
  10173. prepositionqty:
  10174. description: 昨持仓量
  10175. type: integer
  10176. sortindex:
  10177. description: 排序
  10178. type: integer
  10179. tradedate:
  10180. description: 交易日
  10181. type: string
  10182. updatetime:
  10183. description: 更新时间
  10184. type: string
  10185. required:
  10186. - goodscode
  10187. - tradedate
  10188. type: object
  10189. models.Hedgeinnerholderdetail:
  10190. properties:
  10191. accountid:
  10192. description: 账号ID
  10193. type: integer
  10194. buyorsell:
  10195. description: 方向 - 0:买 1:卖
  10196. type: integer
  10197. freezeqty:
  10198. description: 冻结数量 - 按单平使用
  10199. type: integer
  10200. goodsid:
  10201. description: 商品ID
  10202. type: integer
  10203. holderamount:
  10204. description: 持仓金额 [商品币种]
  10205. type: number
  10206. holderdays:
  10207. description: 剩余冻结天数
  10208. type: integer
  10209. holderprice:
  10210. description: 持仓价格
  10211. type: number
  10212. holderqty:
  10213. description: 持仓数量
  10214. type: integer
  10215. marketid:
  10216. description: 市场ID
  10217. type: integer
  10218. openprice:
  10219. description: 建仓价格
  10220. type: number
  10221. openqty:
  10222. description: 建仓数量
  10223. type: integer
  10224. parentaccountid:
  10225. description: 所属母账户
  10226. type: integer
  10227. releaseamount:
  10228. description: 释放持仓金额[商品币种]
  10229. type: number
  10230. tradeamount:
  10231. description: 成交金额[账户]
  10232. type: number
  10233. tradedate:
  10234. description: 交易日(yyyyMMdd)
  10235. type: string
  10236. tradeid:
  10237. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10238. type: string
  10239. tradetime:
  10240. description: 交易时间
  10241. type: string
  10242. required:
  10243. - buyorsell
  10244. - tradeid
  10245. type: object
  10246. models.Hedgemarketopenlog:
  10247. properties:
  10248. accountid:
  10249. description: 资金账号[外部母账户]
  10250. type: integer
  10251. fcname:
  10252. description: 期货公司名称
  10253. type: string
  10254. handlestatus:
  10255. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10256. type: integer
  10257. marketid:
  10258. description: 市场ID
  10259. type: integer
  10260. status:
  10261. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10262. type: integer
  10263. tradedate:
  10264. description: 交易日(yyyyMMdd)
  10265. type: string
  10266. updatetime:
  10267. description: 更新时间
  10268. type: string
  10269. required:
  10270. - accountid
  10271. type: object
  10272. models.InternalEnableTradeDetail:
  10273. properties:
  10274. agreeunit:
  10275. description: 合约乘数
  10276. type: number
  10277. areauserid:
  10278. description: 企业ID
  10279. type: integer
  10280. convertratio:
  10281. description: 品种系数
  10282. type: number
  10283. deliverygoodscode:
  10284. description: 现货品种代码
  10285. type: string
  10286. deliverygoodsid:
  10287. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10288. type: integer
  10289. deliverygoodsname:
  10290. description: 现货品种名称
  10291. type: string
  10292. futurehedgeqty:
  10293. description: '[已关联数量]期货持仓套期量'
  10294. type: number
  10295. goodsid:
  10296. description: 期货合约ID
  10297. type: integer
  10298. hedgeditemid:
  10299. description: 被套期项目ID
  10300. type: string
  10301. hedgeditemnum:
  10302. description: 项目编号
  10303. type: string
  10304. tradeuserid:
  10305. description: 交易用户ID
  10306. type: integer
  10307. unexehedgeqty:
  10308. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10309. type: number
  10310. unexespotqty:
  10311. description: 未执行现货量
  10312. type: number
  10313. wrstandardcode:
  10314. description: 现货品类代码
  10315. type: string
  10316. wrstandardid:
  10317. description: 现货品类ID(SEQ_WRSTANDARD)
  10318. type: integer
  10319. wrstandardname:
  10320. description: 现货品类名称
  10321. type: string
  10322. required:
  10323. - areauserid
  10324. - goodsid
  10325. - tradeuserid
  10326. type: object
  10327. models.InternalUncorrelatedTradeDetail:
  10328. properties:
  10329. accountid:
  10330. description: 账号ID
  10331. type: integer
  10332. accountname:
  10333. description: 套期主体
  10334. type: string
  10335. agreeunit:
  10336. description: 合约乘数
  10337. type: number
  10338. areauserid:
  10339. description: 所属机构
  10340. type: integer
  10341. bizsubjectid:
  10342. description: 归属业务部门ID - SubjectID
  10343. type: integer
  10344. buyorsell:
  10345. description: 方向 - 0:买 1:卖
  10346. type: integer
  10347. channelbuildtype:
  10348. description: 委托单据类型 0:无 1:建仓 2:平仓
  10349. type: integer
  10350. convertratio:
  10351. description: 品种系数
  10352. type: number
  10353. createtime:
  10354. description: 创建时间
  10355. type: string
  10356. creatorid:
  10357. description: 创建人ID
  10358. type: integer
  10359. creatorsrc:
  10360. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10361. type: integer
  10362. enableqty:
  10363. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10364. type: number
  10365. enumdicname:
  10366. description: 单位
  10367. type: string
  10368. goodscode:
  10369. description: 合约代码
  10370. type: string
  10371. goodsgroupid:
  10372. description: 对冲品种ID[期货合约商品组ID]
  10373. type: integer
  10374. goodsid:
  10375. description: 商品ID
  10376. type: integer
  10377. goodsname:
  10378. description: 合约名称
  10379. type: string
  10380. hedgeditemid:
  10381. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10382. type: integer
  10383. hedgeflag:
  10384. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10385. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10386. type: integer
  10387. linkdetailid:
  10388. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10389. type: string
  10390. linkstatus:
  10391. description: 关联状态 - 1:成功 2:失败 3:解绑
  10392. type: integer
  10393. middlegoodsid:
  10394. description: 套保品种ID
  10395. type: integer
  10396. middlegoodsqty:
  10397. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10398. type: number
  10399. relatedlot:
  10400. description: '[数量]关联手数'
  10401. type: number
  10402. relatedmode:
  10403. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10404. type: integer
  10405. relatedqty:
  10406. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10407. type: number
  10408. retcode:
  10409. description: 返回码
  10410. type: integer
  10411. saleuserid:
  10412. description: 业务员ID
  10413. type: integer
  10414. tradedate:
  10415. description: 关联交易日(yyyyMMdd)
  10416. type: string
  10417. tradeid:
  10418. description: 成交单号
  10419. type: string
  10420. tradelot:
  10421. description: 成交手数
  10422. type: integer
  10423. tradeprice:
  10424. description: 成交价
  10425. type: number
  10426. tradetime:
  10427. description: 成交时间
  10428. type: string
  10429. tradetradedate:
  10430. description: 成交交易日(yyyyMMdd)
  10431. type: string
  10432. tradeuserid:
  10433. description: 交易用户ID
  10434. type: integer
  10435. type: object
  10436. models.Loginaccount:
  10437. properties:
  10438. accountname:
  10439. description: 账户名称
  10440. type: string
  10441. canoutin:
  10442. description: 是否可出入金 - 0:不可 1:可
  10443. type: integer
  10444. clientroleid:
  10445. description: 终端角色ID
  10446. type: integer
  10447. haslogined:
  10448. description: 是否已登录 - 0:未登录 1:已登录
  10449. type: integer
  10450. hasupdatedpwd:
  10451. description: 是否已更改密码 - 0:未修改 1:已修改
  10452. type: integer
  10453. lastloginip:
  10454. description: 最新登录地址
  10455. type: string
  10456. lastloginmode:
  10457. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10458. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10459. type: integer
  10460. lastloginremark:
  10461. description: 最新登录描述
  10462. type: string
  10463. lastlogintime:
  10464. description: 最新登录时间
  10465. type: string
  10466. logincode:
  10467. description: 登录代码
  10468. type: string
  10469. loginfailnum:
  10470. description: 连续登录失败次数(登录成功时清零)
  10471. type: integer
  10472. loginid:
  10473. description: 登陆账号
  10474. type: integer
  10475. loginport:
  10476. description: 最新登录端口
  10477. type: integer
  10478. loginstatus:
  10479. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10480. type: integer
  10481. loginusertype:
  10482. description: 登录账号类型 - 1:投资者 2:机构交易员
  10483. type: integer
  10484. mobile:
  10485. description: 手机号码(加密存储)
  10486. type: string
  10487. modifierid:
  10488. description: 修改人
  10489. type: integer
  10490. modifysrc:
  10491. description: 审核来源 - 1:管理端 2:终端
  10492. type: integer
  10493. modifytime:
  10494. description: 修改时间
  10495. type: string
  10496. pwdwrongcount:
  10497. description: 密码错误次数
  10498. type: integer
  10499. relateduserid:
  10500. description: 关联用户ID(机构)
  10501. type: integer
  10502. taaccountrighttype:
  10503. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10504. type: integer
  10505. unfreezetime:
  10506. description: 账户解冻时间
  10507. type: string
  10508. userid:
  10509. description: 用户ID
  10510. type: integer
  10511. required:
  10512. - loginid
  10513. type: object
  10514. models.MainAccountInfo:
  10515. properties:
  10516. accountid:
  10517. description: 账号id
  10518. type: integer
  10519. accountname:
  10520. description: 账号名称(taaccount表中的名称)
  10521. type: string
  10522. appid:
  10523. description: AppID
  10524. type: string
  10525. authcode:
  10526. description: 授权码
  10527. type: string
  10528. brokerid:
  10529. description: 经纪商id
  10530. type: string
  10531. fcid:
  10532. description: 期货公司id
  10533. type: integer
  10534. fcname:
  10535. description: 期货公司代码
  10536. type: string
  10537. hedgeaccountcode:
  10538. description: 外部账号代码(主账号登录代码)
  10539. type: string
  10540. hedgeaccountpwd:
  10541. description: 密码
  10542. type: string
  10543. ismain:
  10544. description: 是否主账号
  10545. type: integer
  10546. relateduserid:
  10547. description: 关联用户id
  10548. type: integer
  10549. userid:
  10550. description: 关联用户id
  10551. type: integer
  10552. type: object
  10553. models.Market:
  10554. properties:
  10555. auctionwrtype:
  10556. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10557. type: integer
  10558. canacceptquote:
  10559. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10560. type: integer
  10561. cangoodsexercise:
  10562. description: '[期权]是否可现货行权- 0:否 1:是'
  10563. type: integer
  10564. cangoodsexercisetype:
  10565. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10566. type: integer
  10567. canmanualquotestrike:
  10568. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10569. type: integer
  10570. canmutistage:
  10571. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10572. type: integer
  10573. canpreexercise:
  10574. description: '[期权]是否可预申报- 0:否 1:是'
  10575. type: integer
  10576. clearinterval:
  10577. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10578. type: integer
  10579. contracttmp:
  10580. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10581. type: string
  10582. exchareaid:
  10583. description: 所属交易所,可以没有
  10584. type: integer
  10585. goodstype:
  10586. description: 商品类型 - 1:交易商品 2:仓单商品
  10587. type: integer
  10588. hasrebate:
  10589. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10590. type: integer
  10591. hastradecredit:
  10592. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10593. type: integer
  10594. haswr:
  10595. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10596. type: integer
  10597. isdeductmargin:
  10598. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10599. type: integer
  10600. isrecordsource:
  10601. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10602. type: integer
  10603. isreleasemargin:
  10604. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10605. type: integer
  10606. marginformula:
  10607. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10608. type: integer
  10609. marginformula2:
  10610. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10611. type: integer
  10612. marketid:
  10613. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10614. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10615. type: integer
  10616. marketname:
  10617. description: 市场名称
  10618. type: string
  10619. marketserviceid:
  10620. description: 市场服务ID
  10621. type: integer
  10622. marketstatus:
  10623. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10624. type: integer
  10625. markettype:
  10626. description: 市场类型- 1:非交易服务 2:交易服务
  10627. type: integer
  10628. matchermode:
  10629. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10630. type: integer
  10631. openmethod:
  10632. description: 开盘模式 - 0 自动 1手动
  10633. type: integer
  10634. otcuserid:
  10635. description: 场外期权做市商[场外期权]
  10636. type: integer
  10637. outersynctime:
  10638. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10639. type: string
  10640. pendingflag:
  10641. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10642. type: integer
  10643. pendingtime:
  10644. description: 待开市时间[通道交易-对冲](HH:mm)
  10645. type: string
  10646. performancetempid:
  10647. description: 履约计划模板ID - 作废
  10648. type: integer
  10649. premiumquotemode:
  10650. description: 权利金报价方式 - 1:自动 2:手动
  10651. type: integer
  10652. rebateratio:
  10653. description: 返利比率[竞价式]
  10654. type: number
  10655. reckonorder:
  10656. description: 结算顺序
  10657. type: integer
  10658. reckonpricealgorithm:
  10659. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10660. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10661. type: integer
  10662. reckonpriceparam:
  10663. description: 结算价参数
  10664. type: integer
  10665. reckontime:
  10666. description: 结算时间[通道交易-对冲](HH:mm)
  10667. type: string
  10668. roleprioritytype:
  10669. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10670. type: integer
  10671. selllistingauditflag:
  10672. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10673. type: integer
  10674. trademarkettype:
  10675. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10676. type: integer
  10677. trademode:
  10678. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10679. 21:竞拍-大宗式 22:受托竞价
  10680. type: integer
  10681. tradeproperty:
  10682. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10683. 8:场外期权
  10684. type: integer
  10685. tradetype:
  10686. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10687. type: integer
  10688. required:
  10689. - marketid
  10690. - marketstatus
  10691. - openmethod
  10692. - reckonpricealgorithm
  10693. - trademode
  10694. - tradeproperty
  10695. type: object
  10696. models.Marketcalendar:
  10697. properties:
  10698. holidaydate:
  10699. description: 节假日期(yyyy-MM-dd)
  10700. type: string
  10701. marketid:
  10702. description: 市场ID
  10703. type: integer
  10704. type: object
  10705. models.Marketrun:
  10706. properties:
  10707. afternexttradedate:
  10708. description: 下下交易日
  10709. type: string
  10710. clearquoteflag:
  10711. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10712. type: integer
  10713. lastreckondate:
  10714. description: 最新交易日(结算成功)
  10715. type: string
  10716. machinedate:
  10717. description: 机器时间
  10718. type: string
  10719. manualflag:
  10720. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10721. type: integer
  10722. marketid:
  10723. description: 市场ID
  10724. type: integer
  10725. nexttradedate:
  10726. description: 下一交易日
  10727. type: string
  10728. pretradedate:
  10729. description: 上一交易日
  10730. type: string
  10731. reckonflag:
  10732. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10733. type: integer
  10734. runstatus:
  10735. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10736. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10737. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10738. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10739. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10740. 62.今日免清算
  10741. type: integer
  10742. sectionid:
  10743. description: 时间段号[多时段时用]
  10744. type: integer
  10745. tradedate:
  10746. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10747. type: string
  10748. tradedate2:
  10749. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10750. type: string
  10751. updatetime:
  10752. description: 更新时间
  10753. type: string
  10754. required:
  10755. - marketid
  10756. - nexttradedate
  10757. - reckonflag
  10758. - runstatus
  10759. - tradedate
  10760. - tradedate2
  10761. type: object
  10762. models.Messageboard:
  10763. properties:
  10764. contactnum:
  10765. description: 联系电话
  10766. type: string
  10767. createtime:
  10768. description: 创建时间
  10769. type: string
  10770. message:
  10771. description: 留言信息
  10772. type: string
  10773. messageboardid:
  10774. description: 留言簿ID(SEQ_MessageBoard)
  10775. type: integer
  10776. userid:
  10777. description: 用户ID
  10778. type: integer
  10779. required:
  10780. - messageboardid
  10781. type: object
  10782. models.MyBargainApply:
  10783. properties:
  10784. accountid:
  10785. description: 摘牌资金账号
  10786. type: integer
  10787. applyprice:
  10788. description: 申请价格
  10789. type: string
  10790. applyremark:
  10791. description: 申请备注
  10792. type: string
  10793. applystatus:
  10794. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10795. type: integer
  10796. applytime:
  10797. description: 申请时间
  10798. type: string
  10799. buyorsell:
  10800. description: 买卖 - 0:买 1:卖
  10801. type: integer
  10802. confirmprice:
  10803. description: 可接受价格(拒绝时填写)-作废
  10804. type: number
  10805. confirmqty:
  10806. description: 可接受数量(拒绝时填写)-作废
  10807. type: integer
  10808. confirmremark:
  10809. description: 确认备注
  10810. type: string
  10811. confirmtime:
  10812. description: 确认时间
  10813. type: string
  10814. confirmuserid:
  10815. description: 确认人
  10816. type: integer
  10817. goodsno:
  10818. description: 商品编号
  10819. type: string
  10820. handlestatus:
  10821. description: 处理状态
  10822. type: integer
  10823. ladingbillid:
  10824. description: 摘牌方提单ID [卖]
  10825. type: integer
  10826. marketid:
  10827. description: 市场ID
  10828. type: integer
  10829. matchaccountid:
  10830. description: 挂牌方资金账号
  10831. type: integer
  10832. matchuserid:
  10833. description: 挂牌方用户ID
  10834. type: integer
  10835. performancetemplateid:
  10836. description: 履约计划模板ID
  10837. type: integer
  10838. price:
  10839. description: 价格
  10840. type: number
  10841. priceper:
  10842. description: 克拉单价 - 类型:1,2,3,5
  10843. type: string
  10844. qty:
  10845. description: 申请数量
  10846. type: number
  10847. refprice:
  10848. description: 参考价格
  10849. type: string
  10850. retcode:
  10851. description: 委托返回代码
  10852. type: integer
  10853. sellusername:
  10854. description: 卖方
  10855. type: string
  10856. sizedisplay:
  10857. description: 尺寸
  10858. type: string
  10859. subnum:
  10860. description: 摘牌方提单子单号 [卖]
  10861. type: integer
  10862. tradedate:
  10863. description: 交易日(yyyyMMdd)
  10864. type: string
  10865. userid:
  10866. description: 摘牌人用户ID
  10867. type: integer
  10868. warehousenamedisplay:
  10869. type: string
  10870. wrbargainid:
  10871. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10872. type: string
  10873. wrtradeorderid:
  10874. description: 关联委托单ID
  10875. type: string
  10876. zscerttypedisplay:
  10877. type: string
  10878. zsclaritytype1display:
  10879. type: string
  10880. zsclaritytype2display:
  10881. type: string
  10882. zscolortype1display:
  10883. type: string
  10884. zscolortype2display:
  10885. type: string
  10886. zscrystaltypedisplay:
  10887. type: string
  10888. zscurrencytypedisplay:
  10889. type: string
  10890. zscurrencytypedisplayunit:
  10891. type: string
  10892. zscuttype1display:
  10893. type: string
  10894. zscuttype2display:
  10895. type: string
  10896. zsczcolor1typedisplay:
  10897. type: string
  10898. zsczcolor2typedisplay:
  10899. type: string
  10900. zsczcolor3typedisplay:
  10901. type: string
  10902. zsfluorescencetype1display:
  10903. type: string
  10904. zsfluorescencetype2display:
  10905. type: string
  10906. zspolishtype1display:
  10907. type: string
  10908. zspolishtype2display:
  10909. type: string
  10910. zsshapetypedisplay:
  10911. type: string
  10912. zsstyletypedisplay:
  10913. type: string
  10914. zssymmetrytype1display:
  10915. type: string
  10916. zssymmetrytype2display:
  10917. type: string
  10918. required:
  10919. - userid
  10920. type: object
  10921. models.MyBuyOrder:
  10922. properties:
  10923. accountid:
  10924. description: 资金账户ID
  10925. type: integer
  10926. marketid:
  10927. description: 市场ID
  10928. type: integer
  10929. ordertime:
  10930. description: 委托时间
  10931. type: string
  10932. origin:
  10933. description: 原产地
  10934. type: string
  10935. performancetemplateid:
  10936. description: 履约计划模板ID
  10937. type: integer
  10938. remark:
  10939. description: 备注
  10940. type: string
  10941. userid:
  10942. description: 用户ID
  10943. type: integer
  10944. validtime:
  10945. description: 有效期限
  10946. type: string
  10947. warehouseids:
  10948. description: 仓库ID - 多个, 逗号分隔
  10949. type: string
  10950. warehouseinfosdisplay:
  10951. type: string
  10952. wrtradeorderid:
  10953. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10954. type: string
  10955. wrtradeorderstatus:
  10956. 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、
  10957. type: integer
  10958. zscategory:
  10959. description: 钻石分类 - 枚举”ZSCategory“
  10960. type: integer
  10961. zscategorydisplay:
  10962. type: string
  10963. zsclaritytype:
  10964. description: 净度 - 两个, 逗号分隔
  10965. type: string
  10966. zsclaritytypedisplay:
  10967. type: string
  10968. zscolortype:
  10969. description: 颜色 - 两个, 逗号分隔
  10970. type: string
  10971. zscolortypedisplay:
  10972. type: string
  10973. zscrystaltype:
  10974. description: 晶型 - 多个,逗号分隔
  10975. type: string
  10976. zscrystaltypedisplay:
  10977. type: string
  10978. zscurrencytype:
  10979. description: 货币类型 - 多个, 逗号分隔
  10980. type: string
  10981. zscurrencytypedisplay:
  10982. type: string
  10983. zscuttype:
  10984. description: 切工 - 两个, 逗号分隔
  10985. type: string
  10986. zscuttypedisplay:
  10987. type: string
  10988. zsczcolor1type:
  10989. description: 彩钻颜色1, 逗号分隔
  10990. type: string
  10991. zsczcolor1typedisplay:
  10992. type: string
  10993. zsczcolor2type:
  10994. description: 彩钻颜色2, 逗号分隔
  10995. type: string
  10996. zsczcolor2typedisplay:
  10997. type: string
  10998. zsczcolor3type:
  10999. description: 彩钻颜色3, 逗号分隔
  11000. type: string
  11001. zsczcolor3typedisplay:
  11002. type: string
  11003. zsfluorescencetype:
  11004. description: 荧光 - 多个, 逗号分隔
  11005. type: string
  11006. zsfluorescencetypedisplay:
  11007. type: string
  11008. zspolishtype:
  11009. description: 抛光度 - 两个, 逗号分隔
  11010. type: string
  11011. zspolishtypedisplay:
  11012. type: string
  11013. zsshapetype:
  11014. description: 形状 - 多个, 逗号分隔
  11015. type: string
  11016. zsshapetypedisplay:
  11017. type: string
  11018. zssize:
  11019. description: 尺寸 - 两个小数, 逗号分隔
  11020. type: string
  11021. zsstyletype:
  11022. description: 款式 - 多个, 逗号分隔
  11023. type: string
  11024. zsstyletypedisplay:
  11025. type: string
  11026. zssymmetrytype:
  11027. description: 对称度 - 两个, 逗号分隔
  11028. type: string
  11029. zssymmetrytypedisplay:
  11030. type: string
  11031. zstabledisplay:
  11032. description: 求购信息
  11033. type: string
  11034. required:
  11035. - userid
  11036. type: object
  11037. models.MyDeListing:
  11038. properties:
  11039. buyaccountid:
  11040. description: 买方账号ID
  11041. type: integer
  11042. buychargevalue:
  11043. description: 买方手续费
  11044. type: number
  11045. buyuserid:
  11046. description: 买方用户ID
  11047. type: integer
  11048. deliverygoodsid:
  11049. description: 现货品种ID
  11050. type: integer
  11051. exchangerate:
  11052. description: 汇率
  11053. type: number
  11054. goodsno:
  11055. description: 商品编号
  11056. type: string
  11057. marketid:
  11058. description: 市场ID
  11059. type: integer
  11060. matchusername:
  11061. description: 对手方
  11062. type: string
  11063. oritradeamount:
  11064. description: 成交金额[商品币种]
  11065. type: number
  11066. performanceplanid:
  11067. description: 履约计划ID/合同ID
  11068. type: string
  11069. price:
  11070. description: 价格
  11071. type: number
  11072. qty:
  11073. description: 成交重量
  11074. type: number
  11075. sellaccountid:
  11076. description: 卖方账号ID
  11077. type: integer
  11078. sellchargevalue:
  11079. description: 卖方手续费
  11080. type: number
  11081. selluserid:
  11082. description: 卖方用户ID
  11083. type: integer
  11084. sizedisplay:
  11085. description: 尺寸
  11086. type: string
  11087. tradeamount:
  11088. description: 成交金额
  11089. type: number
  11090. tradedate:
  11091. description: 交易日(yyyyMMdd)
  11092. type: string
  11093. tradeprice:
  11094. description: 成交价格
  11095. type: number
  11096. tradetime:
  11097. description: 成交时间
  11098. type: string
  11099. userid:
  11100. description: 用户ID
  11101. type: integer
  11102. warehousenamedisplay:
  11103. type: string
  11104. wrfactortypeid:
  11105. description: 仓单要素类型ID
  11106. type: integer
  11107. wrstandardid:
  11108. description: 现货商品ID
  11109. type: integer
  11110. wrtradedetailid:
  11111. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11112. type: string
  11113. zscategory:
  11114. description: 钻石分类 - 枚举”ZSCategory“
  11115. type: integer
  11116. zscategorydisplay:
  11117. type: string
  11118. zscerttypedisplay:
  11119. type: string
  11120. zsclaritytype1display:
  11121. type: string
  11122. zsclaritytype2display:
  11123. type: string
  11124. zscolortype1display:
  11125. type: string
  11126. zscolortype2display:
  11127. type: string
  11128. zscrystaltypedisplay:
  11129. type: string
  11130. zscurrencytype:
  11131. description: 货币类型 - 枚举“ZSCurrencyType”
  11132. type: integer
  11133. zscurrencytypedisplay:
  11134. type: string
  11135. zscurrencytypedisplayunit:
  11136. type: string
  11137. zscuttype1display:
  11138. type: string
  11139. zscuttype2display:
  11140. type: string
  11141. zsczcolor1typedisplay:
  11142. type: string
  11143. zsczcolor2typedisplay:
  11144. type: string
  11145. zsczcolor3typedisplay:
  11146. type: string
  11147. zsfluorescencetype1display:
  11148. type: string
  11149. zsfluorescencetype2display:
  11150. type: string
  11151. zspolishtype1display:
  11152. type: string
  11153. zspolishtype2display:
  11154. type: string
  11155. zsshapetypedisplay:
  11156. type: string
  11157. zsstyletypedisplay:
  11158. type: string
  11159. zssymmetrytype1display:
  11160. type: string
  11161. zssymmetrytype2display:
  11162. type: string
  11163. required:
  11164. - userid
  11165. type: object
  11166. models.MyDelistingApply:
  11167. properties:
  11168. applyprice:
  11169. description: 申请价格
  11170. type: number
  11171. applyqty:
  11172. description: 申请数量
  11173. type: number
  11174. applyremark:
  11175. description: 申请备注
  11176. type: string
  11177. applystatus:
  11178. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11179. type: integer
  11180. applytime:
  11181. description: 申请时间
  11182. type: string
  11183. auditremark:
  11184. description: 确认备注
  11185. type: string
  11186. audittime:
  11187. description: 确认时间
  11188. type: string
  11189. buyuserid:
  11190. description: 买方用户ID
  11191. type: integer
  11192. buyusername:
  11193. type: string
  11194. buywrtradeorderid:
  11195. description: 买委托单ID
  11196. type: string
  11197. goodsno:
  11198. description: 商品编号
  11199. type: string
  11200. ladingbillid:
  11201. description: 卖方提单ID
  11202. type: string
  11203. marketid:
  11204. description: 市场ID
  11205. type: integer
  11206. performancetemplateid:
  11207. description: 履约计划模板ID
  11208. type: integer
  11209. price:
  11210. description: 价格
  11211. type: number
  11212. sellaccountid:
  11213. description: 卖方账户ID
  11214. type: integer
  11215. selldelistingapplyid:
  11216. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11217. type: string
  11218. selltradeorderid:
  11219. description: 卖方委托ID(买方确认成交后更新)
  11220. type: string
  11221. selluserid:
  11222. description: 卖方用户ID
  11223. type: integer
  11224. sizedisplay:
  11225. description: 尺寸
  11226. type: string
  11227. subnum:
  11228. description: 卖方提单子单号
  11229. type: integer
  11230. warehouseinfosdisplay:
  11231. type: string
  11232. weight:
  11233. description: 克拉重量
  11234. type: number
  11235. wrfactortypeid:
  11236. description: 仓单要素类型ID
  11237. type: string
  11238. wrstandardid:
  11239. description: 现货商品ID
  11240. type: integer
  11241. zsallproperties:
  11242. type: string
  11243. zscategorydisplay:
  11244. type: string
  11245. zsclaritytypedisplay:
  11246. type: string
  11247. zscolortypedisplay:
  11248. type: string
  11249. zscrystaltypedisplay:
  11250. type: string
  11251. zscurrencytypedisplay:
  11252. type: string
  11253. zscuttypedisplay:
  11254. type: string
  11255. zsczcolor1typedisplay:
  11256. type: string
  11257. zsczcolor2typedisplay:
  11258. type: string
  11259. zsczcolor3typedisplay:
  11260. type: string
  11261. zsfluorescencetypedisplay:
  11262. type: string
  11263. zspolishtypedisplay:
  11264. type: string
  11265. zsshapetypedisplay:
  11266. type: string
  11267. zssizedisplay:
  11268. type: string
  11269. zsstyletypedisplay:
  11270. type: string
  11271. zssymmetrytypedisplay:
  11272. type: string
  11273. zstabledisplay:
  11274. type: string
  11275. required:
  11276. - selluserid
  11277. type: object
  11278. models.MyFavorite:
  11279. properties:
  11280. buyorsell:
  11281. description: 买卖 - 0:买 1:卖
  11282. type: integer
  11283. favoritestatus:
  11284. description: 收藏状态 - 1:正常 2:失效
  11285. type: integer
  11286. goodsno:
  11287. description: 商品编号
  11288. type: string
  11289. marketid:
  11290. description: 市场ID
  11291. type: integer
  11292. price:
  11293. description: 价格
  11294. type: number
  11295. priceper:
  11296. description: 克拉单价
  11297. type: string
  11298. sizedisplay:
  11299. description: 尺寸
  11300. type: string
  11301. userid:
  11302. description: 用户ID
  11303. type: integer
  11304. warehousenamedisplay:
  11305. type: string
  11306. weight:
  11307. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11308. type: number
  11309. weightavg:
  11310. description: 平均单颗重量 - 类型:1,3
  11311. type: number
  11312. wrfactortypeid:
  11313. description: 仓单要素类型ID/商品ID(77)
  11314. type: string
  11315. wrstandardid:
  11316. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11317. type: integer
  11318. wrtradeorderid:
  11319. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11320. type: string
  11321. zscategory:
  11322. description: 钻石分类 - 枚举”ZSCategory“
  11323. type: integer
  11324. zscategorydisplay:
  11325. type: string
  11326. zscerttypedisplay:
  11327. type: string
  11328. zsclaritytype1display:
  11329. type: string
  11330. zsclaritytype2display:
  11331. type: string
  11332. zscolortype1display:
  11333. type: string
  11334. zscolortype2display:
  11335. type: string
  11336. zscrystaltypedisplay:
  11337. type: string
  11338. zscurrencytypedisplay:
  11339. type: string
  11340. zscurrencytypedisplayunit:
  11341. type: string
  11342. zscuttype1display:
  11343. type: string
  11344. zscuttype2display:
  11345. type: string
  11346. zsczcolor1typedisplay:
  11347. type: string
  11348. zsczcolor2typedisplay:
  11349. type: string
  11350. zsczcolor3typedisplay:
  11351. type: string
  11352. zsfluorescencetype1display:
  11353. type: string
  11354. zsfluorescencetype2display:
  11355. type: string
  11356. zspolishtype1display:
  11357. type: string
  11358. zspolishtype2display:
  11359. type: string
  11360. zsshapetypedisplay:
  11361. type: string
  11362. zsstyletypedisplay:
  11363. type: string
  11364. zssymmetrytype1display:
  11365. type: string
  11366. zssymmetrytype2display:
  11367. type: string
  11368. required:
  11369. - userid
  11370. type: object
  11371. models.MyPerformanc:
  11372. properties:
  11373. accountname:
  11374. description: '[对手方]账户名称(机构名称)'
  11375. type: string
  11376. amount:
  11377. description: 履约金额
  11378. type: number
  11379. buyaccountid:
  11380. description: 买方账号
  11381. type: integer
  11382. buyerfreezeamount:
  11383. description: 买方履约前冻结资金
  11384. type: number
  11385. buyerfreezeamountremain:
  11386. description: 买方履约前冻结资金剩余
  11387. type: number
  11388. buyerinfo:
  11389. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11390. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11391. type: string
  11392. buyorsell:
  11393. description: 方向 - 0:买 1:卖
  11394. type: integer
  11395. buypaidamount:
  11396. description: 买方已冻/已扣金额
  11397. type: number
  11398. curstepid:
  11399. description: 当前步骤ID
  11400. type: string
  11401. goodsno:
  11402. description: 商品编号
  11403. type: string
  11404. overshortamount:
  11405. description: 溢短金额
  11406. type: number
  11407. paymenttype:
  11408. description: 买方支付方式 - 1:冻结 2:扣款
  11409. type: integer
  11410. performanceplanid:
  11411. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11412. type: string
  11413. performancestatus:
  11414. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11415. 9:超时待处理 10:超时关闭
  11416. type: integer
  11417. price:
  11418. description: 价格
  11419. type: number
  11420. priceper:
  11421. description: 克拉单价
  11422. type: string
  11423. relatedorderid:
  11424. description: 关联单号(履约类型的关联单号)
  11425. type: string
  11426. remaindays:
  11427. description: 剩余天数
  11428. type: integer
  11429. sellerfreezeamount:
  11430. description: 卖方履约前冻结资金
  11431. type: number
  11432. sellerfreezeamountremain:
  11433. description: 卖方履约前冻结资金剩余
  11434. type: number
  11435. sellerinfo:
  11436. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11437. "xxxxxxxx"}'
  11438. type: string
  11439. sellreceivedamount:
  11440. description: 卖方已收金额
  11441. type: number
  11442. sizedisplay:
  11443. description: 尺寸
  11444. type: string
  11445. steptypeid:
  11446. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11447. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11448. type: integer
  11449. warehousenamedisplay:
  11450. type: string
  11451. zscategorydisplay:
  11452. type: string
  11453. zscerttypedisplay:
  11454. type: string
  11455. zsclaritytype1display:
  11456. type: string
  11457. zsclaritytype2display:
  11458. type: string
  11459. zscolortype1display:
  11460. type: string
  11461. zscolortype2display:
  11462. type: string
  11463. zscrystaltypedisplay:
  11464. type: string
  11465. zscurrencytypedisplay:
  11466. type: string
  11467. zscurrencytypedisplayunit:
  11468. type: string
  11469. zscuttype1display:
  11470. type: string
  11471. zscuttype2display:
  11472. type: string
  11473. zsczcolor1typedisplay:
  11474. type: string
  11475. zsczcolor2typedisplay:
  11476. type: string
  11477. zsczcolor3typedisplay:
  11478. type: string
  11479. zsfluorescencetype1display:
  11480. type: string
  11481. zsfluorescencetype2display:
  11482. type: string
  11483. zspolishtype1display:
  11484. type: string
  11485. zspolishtype2display:
  11486. type: string
  11487. zsshapetypedisplay:
  11488. type: string
  11489. zsstyletypedisplay:
  11490. type: string
  11491. zssymmetrytype1display:
  11492. type: string
  11493. zssymmetrytype2display:
  11494. type: string
  11495. type: object
  11496. models.MySellOrder:
  11497. properties:
  11498. accountid:
  11499. description: 资金账号
  11500. type: integer
  11501. applyid:
  11502. description: 申请单ID
  11503. type: integer
  11504. attachment1:
  11505. description: 附件1
  11506. type: string
  11507. attachment2:
  11508. description: 附件2
  11509. type: string
  11510. buyorsell:
  11511. description: 买卖 - 0:买 1:卖
  11512. type: integer
  11513. canbargain:
  11514. description: 是否可议价 - 0:不可 1:可
  11515. type: integer
  11516. cancelqty:
  11517. description: 撤销数量
  11518. type: integer
  11519. canceltime:
  11520. description: 撤销时间
  11521. type: string
  11522. cerno:
  11523. type: string
  11524. chargealgorithm:
  11525. description: 手续费收取方式 1:比率 2:固定
  11526. type: integer
  11527. chargealgorithmvalue:
  11528. description: 手续费设置值(交易所部分)
  11529. type: number
  11530. chargealgorithmvalue2:
  11531. description: 手续费设置值(会员部分)
  11532. type: number
  11533. clientordertime:
  11534. description: 客户端委托时间
  11535. type: string
  11536. cpcertno:
  11537. type: string
  11538. exchangerate:
  11539. description: 汇率[67]
  11540. type: number
  11541. firstratio:
  11542. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11543. type: number
  11544. fixedprice:
  11545. description: '[克拉单价]固定价格 - [挂牌]'
  11546. type: number
  11547. freezecharge:
  11548. description: 冻结手续费
  11549. type: number
  11550. freezefirstamount:
  11551. description: 冻结首付金额 - [摘牌]
  11552. type: number
  11553. freezemargin:
  11554. description: 冻结保证金
  11555. type: number
  11556. goodsno:
  11557. description: 商品编号
  11558. type: string
  11559. imagepath:
  11560. type: string
  11561. isspecified:
  11562. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11563. type: integer
  11564. kppath:
  11565. type: string
  11566. kpweight:
  11567. type: string
  11568. marginalgorithm:
  11569. description: 保证金方式 - 1:比率 2:固定
  11570. type: integer
  11571. marginvalue:
  11572. description: 保证金设置值
  11573. type: number
  11574. marketid:
  11575. description: 市场ID
  11576. type: integer
  11577. marketprice:
  11578. type: string
  11579. orderamount:
  11580. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11581. type: number
  11582. ordertime:
  11583. description: 委托时间
  11584. type: string
  11585. performancetemplateid:
  11586. description: 履约计划模板ID
  11587. type: integer
  11588. price:
  11589. description: 价格
  11590. type: number
  11591. pricefactor:
  11592. description: 价格系数(浮动价时填写) - [挂牌]
  11593. type: number
  11594. pricemove:
  11595. description: 升贴水(浮动价时填写) - [挂牌]
  11596. type: number
  11597. priceper:
  11598. type: string
  11599. relatedwrtradeorderid:
  11600. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11601. type: integer
  11602. remark:
  11603. type: string
  11604. retcode:
  11605. description: 错误代码
  11606. type: integer
  11607. selledqty:
  11608. description: 成交重量
  11609. type: number
  11610. settingmaterial:
  11611. type: string
  11612. size1:
  11613. type: string
  11614. size2:
  11615. type: string
  11616. size3:
  11617. type: string
  11618. stonedesc:
  11619. type: string
  11620. totalqty:
  11621. description: 总重量
  11622. type: number
  11623. tradedate:
  11624. description: 交易日(yyyyMMdd)
  11625. type: string
  11626. tradeprice:
  11627. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11628. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11629. type: number
  11630. unfreezecharge:
  11631. description: 解冻手续费
  11632. type: number
  11633. unfreezefirstamount:
  11634. description: 解冻首付金额 - [摘牌]
  11635. type: number
  11636. unfreezemargin:
  11637. description: 解冻保证金
  11638. type: number
  11639. userid:
  11640. description: 用户ID
  11641. type: integer
  11642. uuid:
  11643. description: 发起端唯一id
  11644. type: string
  11645. validtime:
  11646. description: 有效期限
  11647. type: string
  11648. validtype:
  11649. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11650. type: integer
  11651. warehousenamedisplay:
  11652. type: string
  11653. wrbargainid:
  11654. description: 议价申请单ID
  11655. type: integer
  11656. wrfactortypeid:
  11657. description: 仓单要素类型ID/商品ID(77)
  11658. type: integer
  11659. wrpath:
  11660. type: string
  11661. wrpricetype:
  11662. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11663. type: integer
  11664. wrstandardid:
  11665. description: 现货商品ID
  11666. type: integer
  11667. wrtradeorderid:
  11668. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11669. type: string
  11670. wrtradeorderstatus:
  11671. 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:撤单解冻贷款失败
  11672. type: integer
  11673. wrtradetype:
  11674. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11675. type: integer
  11676. wrtransferuserid:
  11677. description: 仓单受让用户 - [摘牌]
  11678. type: integer
  11679. zscategory:
  11680. description: 钻石分类 - 枚举”ZSCategory“
  11681. type: integer
  11682. zscategorydisplay:
  11683. description: 钻石分类 - 描述
  11684. type: string
  11685. zscerttypedisplay:
  11686. type: string
  11687. zsclaritytype1display:
  11688. type: string
  11689. zsclaritytype2display:
  11690. type: string
  11691. zscolortype1display:
  11692. type: string
  11693. zscolortype2display:
  11694. type: string
  11695. zscrystaltype:
  11696. type: string
  11697. zscrystaltypedisplay:
  11698. type: string
  11699. zscurrencytype:
  11700. description: 货币类型 - 枚举“ZSCurrencyType”
  11701. type: integer
  11702. zscurrencytypedisplay:
  11703. type: string
  11704. zscurrencytypedisplayunit:
  11705. type: string
  11706. zscuttype1display:
  11707. type: string
  11708. zscuttype2display:
  11709. type: string
  11710. zsczcolor1typedisplay:
  11711. type: string
  11712. zsczcolor2typedisplay:
  11713. type: string
  11714. zsczcolor3typedisplay:
  11715. type: string
  11716. zsfluorescencetype1display:
  11717. type: string
  11718. zsfluorescencetype2display:
  11719. type: string
  11720. zspolishtype1display:
  11721. type: string
  11722. zspolishtype2display:
  11723. type: string
  11724. zsshapetypedisplay:
  11725. type: string
  11726. zsstyletypedisplay:
  11727. type: string
  11728. zssymmetrytype1display:
  11729. type: string
  11730. zssymmetrytype2display:
  11731. type: string
  11732. required:
  11733. - userid
  11734. type: object
  11735. models.MyWRPosition:
  11736. properties:
  11737. cerno:
  11738. description: 证书编号 - 类型:2,4,5
  11739. type: string
  11740. cpcertno:
  11741. description: 金伯利证书编号 - 类型:3
  11742. type: string
  11743. ffreezeqty:
  11744. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11745. type: number
  11746. ftotalqty:
  11747. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11748. type: number
  11749. goodsno:
  11750. description: 商品编号
  11751. type: string
  11752. imagepath:
  11753. description: 商品照片(相对地址)
  11754. type: string
  11755. isvalid:
  11756. description: 是否有效 - 0:无效 1:有效
  11757. type: integer
  11758. kppath:
  11759. description: 金伯利证书图片(相对地址) - 类型:3
  11760. type: string
  11761. kpweight:
  11762. description: 金伯利证书重量 - 类型:3
  11763. type: string
  11764. ladingbillid:
  11765. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11766. type: string
  11767. marketflag:
  11768. description: 是否上架,0-全部 1-是 2-否
  11769. type: integer
  11770. marketprice:
  11771. description: 市场价
  11772. type: string
  11773. origin:
  11774. description: 原产地 - 类型:3
  11775. type: string
  11776. price:
  11777. description: 总价(价格) - 类型:1,2,3,4,5
  11778. type: number
  11779. priceper:
  11780. description: 克拉单价 - 类型:1,2,3,5
  11781. type: string
  11782. remark:
  11783. description: 备注
  11784. type: string
  11785. sellmobile:
  11786. description: 手机号码(加密存储)
  11787. type: string
  11788. sellusername:
  11789. description: 账户名称(机构名称)
  11790. type: string
  11791. settingmaterial:
  11792. description: 镶嵌材料 - 类型:4
  11793. type: string
  11794. size1:
  11795. description: 尺寸1 - 类型:2,4,5
  11796. type: string
  11797. size2:
  11798. description: 尺寸2 - 类型:2,4,5
  11799. type: string
  11800. size3:
  11801. description: 尺寸3 - 类型:2,4,5
  11802. type: string
  11803. stonedesc:
  11804. description: 配石描述 - 类型:4
  11805. type: string
  11806. subnum:
  11807. description: 提单子单号
  11808. type: integer
  11809. userid:
  11810. description: 用户ID
  11811. type: integer
  11812. warehouseid:
  11813. description: 仓库ID
  11814. type: integer
  11815. warehousenamedisplay:
  11816. type: string
  11817. weight:
  11818. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11819. type: number
  11820. weightavg:
  11821. description: 平均单颗重量 - 类型:1,3
  11822. type: number
  11823. wrpath:
  11824. description: 仓单扫描件(相对地址)
  11825. type: string
  11826. wrstandardid:
  11827. description: 现货商品ID
  11828. type: integer
  11829. wrtradeorderid:
  11830. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11831. type: string
  11832. wruserid:
  11833. description: 登录用户ID
  11834. type: integer
  11835. zscategory:
  11836. description: 钻石分类 - 枚举”ZSCategory“
  11837. type: integer
  11838. zscategorydisplay:
  11839. type: string
  11840. zscerttype:
  11841. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11842. type: integer
  11843. zscerttypedisplay:
  11844. type: string
  11845. zsclaritytype1:
  11846. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11847. type: integer
  11848. zsclaritytype1display:
  11849. type: string
  11850. zsclaritytype2:
  11851. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11852. type: integer
  11853. zsclaritytype2display:
  11854. type: string
  11855. zscolortype1:
  11856. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11857. type: integer
  11858. zscolortype1display:
  11859. type: string
  11860. zscolortype2:
  11861. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11862. type: integer
  11863. zscolortype2display:
  11864. type: string
  11865. zscrystaltype:
  11866. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11867. type: string
  11868. zscrystaltypedisplay:
  11869. type: string
  11870. zscurrencytype:
  11871. description: 货币类型 - 枚举“ZSCurrencyType”
  11872. type: integer
  11873. zscurrencytypedisplay:
  11874. type: string
  11875. zscurrencytypedisplayunit:
  11876. type: string
  11877. zscuttype1:
  11878. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11879. type: integer
  11880. zscuttype1display:
  11881. type: string
  11882. zscuttype2:
  11883. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11884. type: integer
  11885. zscuttype2display:
  11886. type: string
  11887. zsczcolor1type:
  11888. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11889. type: integer
  11890. zsczcolor1typedisplay:
  11891. type: string
  11892. zsczcolor2type:
  11893. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11894. type: integer
  11895. zsczcolor2typedisplay:
  11896. type: string
  11897. zsczcolor3type:
  11898. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11899. type: integer
  11900. zsczcolor3typedisplay:
  11901. type: string
  11902. zsfluorescencetype1:
  11903. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11904. type: integer
  11905. zsfluorescencetype1display:
  11906. type: string
  11907. zsfluorescencetype2:
  11908. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11909. type: integer
  11910. zsfluorescencetype2display:
  11911. type: string
  11912. zspolishtype1:
  11913. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11914. type: integer
  11915. zspolishtype1display:
  11916. type: string
  11917. zspolishtype2:
  11918. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11919. type: integer
  11920. zspolishtype2display:
  11921. type: string
  11922. zsshapetype:
  11923. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11924. type: string
  11925. zsshapetypedisplay:
  11926. type: string
  11927. zsstyletype:
  11928. description: 款式 - 类型:4
  11929. type: integer
  11930. zsstyletypedisplay:
  11931. type: string
  11932. zssymmetrytype1:
  11933. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11934. type: integer
  11935. zssymmetrytype1display:
  11936. type: string
  11937. zssymmetrytype2:
  11938. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11939. type: integer
  11940. zssymmetrytype2display:
  11941. type: string
  11942. required:
  11943. - wruserid
  11944. type: object
  11945. models.NewFuncmenulist:
  11946. properties:
  11947. authtype:
  11948. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11949. type: integer
  11950. buttonname:
  11951. description: 按钮名称
  11952. type: string
  11953. buttontype:
  11954. description: 按钮类型 - 存按钮样式
  11955. type: string
  11956. component:
  11957. description: 组件名或组件地址
  11958. type: string
  11959. hidden:
  11960. description: 是否隐藏 - 0:显示 1:隐藏
  11961. type: integer
  11962. iconame:
  11963. description: 菜单图标
  11964. type: string
  11965. menutype:
  11966. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11967. type: integer
  11968. parentcode:
  11969. description: 上级资源代码
  11970. type: string
  11971. remark:
  11972. description: Remark
  11973. type: string
  11974. resourcecode:
  11975. description: 资源代码
  11976. type: string
  11977. resourcelevel:
  11978. description: 级别1-一级 2-二级 3-三级4-四级
  11979. type: integer
  11980. resourcename:
  11981. description: 资源名(Title)
  11982. type: string
  11983. sort:
  11984. description: 排序
  11985. type: integer
  11986. url:
  11987. description: Url
  11988. type: string
  11989. urltype:
  11990. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11991. type: integer
  11992. required:
  11993. - resourcecode
  11994. type: object
  11995. models.OperationPrimaryMenu:
  11996. properties:
  11997. Children:
  11998. description: 二级功能菜单
  11999. items:
  12000. $ref: '#/definitions/models.OperationSecondaryMenu'
  12001. type: array
  12002. Key:
  12003. description: 菜单KEY
  12004. type: string
  12005. Label:
  12006. description: 菜单标题
  12007. type: string
  12008. type: object
  12009. models.OperationSecondaryMenu:
  12010. properties:
  12011. Key:
  12012. description: 菜单KEY
  12013. type: string
  12014. Label:
  12015. description: 菜单标题
  12016. type: string
  12017. TabList:
  12018. description: 三级功能菜单
  12019. items:
  12020. $ref: '#/definitions/models.OperationTabMenu'
  12021. type: array
  12022. type: object
  12023. models.OperationTabMenu:
  12024. properties:
  12025. Key:
  12026. description: 菜单KEY
  12027. type: string
  12028. Label:
  12029. description: 菜单标题
  12030. type: string
  12031. type: object
  12032. models.Patradelinkdetail:
  12033. properties:
  12034. accountname:
  12035. description: 套期主体
  12036. type: string
  12037. agreeunit:
  12038. description: 合约乘数
  12039. type: number
  12040. amount:
  12041. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12042. type: number
  12043. areauserid:
  12044. description: 所属机构
  12045. type: integer
  12046. bizsubjectid:
  12047. description: 归属业务部门ID - SubjectID
  12048. type: integer
  12049. buyorsell:
  12050. description: 方向 - 0:买 1:卖
  12051. type: integer
  12052. convertratio:
  12053. description: 品种系数
  12054. type: number
  12055. convertratiochange:
  12056. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12057. type: number
  12058. createtime:
  12059. description: '[日期时间]创建时间'
  12060. type: string
  12061. creatorid:
  12062. description: 创建人ID
  12063. type: integer
  12064. creatorsrc:
  12065. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12066. type: integer
  12067. goodscode:
  12068. description: 商品代码(内部)
  12069. type: string
  12070. goodsgroupid:
  12071. description: 对冲品种ID[期货合约商品组ID]
  12072. type: integer
  12073. goodsid:
  12074. description: 商品ID
  12075. type: integer
  12076. hedgeditemid:
  12077. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12078. type: integer
  12079. hedgeflag:
  12080. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12081. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12082. type: integer
  12083. linkdetailid:
  12084. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12085. type: string
  12086. linkstatus:
  12087. description: 关联状态 - 1:成功 2:失败 3:解绑
  12088. type: integer
  12089. middlegoodsid:
  12090. description: 套保品种ID
  12091. type: integer
  12092. name:
  12093. description: 账户名/子账户
  12094. type: string
  12095. optioncode:
  12096. description: '[期货合约]期权代码 [期权]'
  12097. type: string
  12098. ordertype:
  12099. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12100. type: integer
  12101. relatedlot:
  12102. description: '[数量]关联手数'
  12103. type: number
  12104. relatedmode:
  12105. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12106. type: integer
  12107. relatedqty:
  12108. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12109. type: number
  12110. retcode:
  12111. description: 返回码
  12112. type: integer
  12113. saleuserid:
  12114. description: 业务员ID
  12115. type: integer
  12116. tradedate:
  12117. description: 关联交易日(yyyyMMdd)
  12118. type: string
  12119. tradeid:
  12120. description: '[成交单号]内部成交单ID'
  12121. type: string
  12122. tradelot:
  12123. description: 成交手数
  12124. type: integer
  12125. tradeprice:
  12126. description: '[价格]成交价格'
  12127. type: number
  12128. tradetradedate:
  12129. description: 成交交易日(yyyyMMdd)
  12130. type: string
  12131. type: object
  12132. models.QhjAccountOutInApply:
  12133. properties:
  12134. accountcode:
  12135. description: 资金账号
  12136. type: string
  12137. accountname:
  12138. description: 用户名称(名称)
  12139. type: string
  12140. accountpwd:
  12141. description: 资金密码
  12142. type: string
  12143. accountticket:
  12144. description: 最新账户服务流水号
  12145. type: string
  12146. amount:
  12147. description: 金额
  12148. type: number
  12149. applyremark:
  12150. description: 申请备注
  12151. type: string
  12152. applystatus:
  12153. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12154. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12155. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12156. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12157. type: integer
  12158. auditid:
  12159. description: 审核人
  12160. type: integer
  12161. audittime:
  12162. description: 审核时间
  12163. type: string
  12164. bank_apply_ticket:
  12165. description: 银行申请流水
  12166. type: string
  12167. bankaccountname:
  12168. description: 银行账户名
  12169. type: string
  12170. bankaccountno:
  12171. description: 银行卡号
  12172. type: string
  12173. bankid:
  12174. description: 银行编号
  12175. type: string
  12176. bankticket:
  12177. description: 银行流水
  12178. type: string
  12179. branchbankid:
  12180. description: 银行支行号
  12181. type: string
  12182. branchbankname:
  12183. description: 银行支行名称
  12184. type: string
  12185. capamountout:
  12186. description: 出金(劣后本金) - 外部子账户
  12187. type: number
  12188. certificatephotourl:
  12189. description: 凭证地址
  12190. type: string
  12191. charge:
  12192. description: 手续费
  12193. type: number
  12194. checkerrorflag:
  12195. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12196. type: integer
  12197. currency:
  12198. description: 币种
  12199. type: string
  12200. cusbankid:
  12201. description: 托管银行编号
  12202. type: string
  12203. cusbankname:
  12204. description: 托管银行名称
  12205. type: string
  12206. cusbankshortname:
  12207. description: 托管银行简称
  12208. type: string
  12209. exchticket:
  12210. description: 银行服务流水号
  12211. type: string
  12212. executetype:
  12213. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12214. 7:外部子账户:入金 8:外部子账户:出金'
  12215. type: integer
  12216. extendinfo:
  12217. description: 扩展信息
  12218. type: string
  12219. extoperateid:
  12220. description: 交易服务流水号
  12221. type: integer
  12222. infamount:
  12223. description: 劣后金额(自有)
  12224. type: number
  12225. logincode:
  12226. description: 登录账号(账号)
  12227. type: string
  12228. netaddr:
  12229. description: 调转网址
  12230. type: string
  12231. priamount:
  12232. description: 优先金额(授信)
  12233. type: number
  12234. reauditid:
  12235. description: 复审人
  12236. type: integer
  12237. reauditremark:
  12238. description: 复审备注
  12239. type: string
  12240. reaudittime:
  12241. description: 复审时间
  12242. type: string
  12243. relatedorderid:
  12244. description: 三方关联ID
  12245. type: string
  12246. remark:
  12247. description: 备注
  12248. type: string
  12249. remark2:
  12250. description: 备注(失败原因)
  12251. type: string
  12252. soucreamount:
  12253. description: 原始出入金金额
  12254. type: number
  12255. soucrecurrencyid:
  12256. description: 原始出入金币种
  12257. type: integer
  12258. tradedate:
  12259. description: 交易日(yyyyMMdd)
  12260. type: string
  12261. updatetime:
  12262. description: 更新时间(申请时间)
  12263. type: string
  12264. userid:
  12265. description: 用户id
  12266. type: integer
  12267. userinfotype:
  12268. description: 账户类型 1-个人 2-企业
  12269. type: integer
  12270. type: object
  12271. models.QhjAgreementChangeLog:
  12272. properties:
  12273. agreementcontent:
  12274. description: 协议内容
  12275. type: string
  12276. agreementfrequency:
  12277. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12278. type: integer
  12279. agreementid:
  12280. description: 协议ID
  12281. type: integer
  12282. agreementname:
  12283. description: 协议名称
  12284. type: string
  12285. agreementno:
  12286. description: 协议编号
  12287. type: string
  12288. agreementtype:
  12289. description: 协议类型 - 1:注册 2:登录 3:交易
  12290. type: integer
  12291. agreementversion:
  12292. description: 协议版本号
  12293. type: integer
  12294. logid:
  12295. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12296. type: integer
  12297. reviserid:
  12298. description: 修改人
  12299. type: integer
  12300. revisersrc:
  12301. description: 修改来源 - 1:管理端 2:终端
  12302. type: integer
  12303. updatetime:
  12304. description: 更新时间
  12305. type: string
  12306. type: object
  12307. models.QhjAgreementConfig:
  12308. properties:
  12309. agreementcontent:
  12310. description: 协议内容
  12311. type: string
  12312. agreementfrequency:
  12313. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12314. type: integer
  12315. agreementid:
  12316. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12317. type: integer
  12318. agreementname:
  12319. description: 协议名称
  12320. type: string
  12321. agreementno:
  12322. description: 协议编号
  12323. type: string
  12324. agreementtype:
  12325. description: 协议类型 - 1:注册 2:登录 3:交易
  12326. type: integer
  12327. agreementversion:
  12328. description: 协议版本号(从1开始每次修改加1)
  12329. type: integer
  12330. createtime:
  12331. description: 创建时间
  12332. type: string
  12333. creatorid:
  12334. description: 创建人
  12335. type: integer
  12336. creatorsrc:
  12337. description: 创建来源 - 1:管理端 2:终端
  12338. type: integer
  12339. isvalid:
  12340. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12341. type: integer
  12342. reviserid:
  12343. description: 修改人
  12344. type: integer
  12345. revisersrc:
  12346. description: 修改来源 - 1:管理端 2:终端
  12347. type: integer
  12348. updatetime:
  12349. description: 更新时间
  12350. type: string
  12351. type: object
  12352. models.QhjAreaFinanceConfig:
  12353. properties:
  12354. additionalratio:
  12355. description: 追加款比例
  12356. type: number
  12357. advanceratio:
  12358. description: 预付款比例
  12359. type: number
  12360. alarmratio:
  12361. description: 告警比例
  12362. type: number
  12363. consumptiondirectreward:
  12364. description: 消费直推奖励值
  12365. type: number
  12366. consumptionenabled:
  12367. description: 是否启用消费奖励 - 0:不启用 1:启用
  12368. type: integer
  12369. consumptionindirectreward:
  12370. description: 消费间推奖励值
  12371. type: number
  12372. consumptionmodel:
  12373. description: 消费奖励方式 - 1:比率 2:固定
  12374. type: integer
  12375. customerservicenum:
  12376. description: 客服电话
  12377. type: string
  12378. dayinterestrate:
  12379. description: 日利率
  12380. type: number
  12381. disableconsumptiontips:
  12382. description: 关闭消费奖励提示
  12383. type: string
  12384. modifierid:
  12385. description: 修改人ID
  12386. type: integer
  12387. modifysrc:
  12388. description: 审核来源 - 1:管理端 2:终端
  12389. type: integer
  12390. modifytime:
  12391. description: 修改时间
  12392. type: string
  12393. promotionvalue:
  12394. description: 推广奖励值(固定)
  12395. type: number
  12396. scoreconfigvalue1:
  12397. description: 提货积分配置1
  12398. type: integer
  12399. scoreconfigvalue2:
  12400. description: 提货积分配置2
  12401. type: integer
  12402. userid:
  12403. description: 机构用户ID其他做市关系,都设置为 1
  12404. type: integer
  12405. username:
  12406. description: 用户名称
  12407. type: string
  12408. type: object
  12409. models.QhjBankAccountSign:
  12410. properties:
  12411. accountcode:
  12412. description: 资金账号
  12413. type: string
  12414. accountname:
  12415. description: 资金账号对应的账号名(UserName)
  12416. type: string
  12417. accountname2:
  12418. description: 资金账号对应的账号名(UserName) - 密文
  12419. type: string
  12420. accounttype:
  12421. description: 账户类型(UserType)
  12422. type: integer
  12423. applicationtime:
  12424. description: 最后一次更新的时间
  12425. type: string
  12426. applyexchticket:
  12427. description: 申请流水
  12428. type: string
  12429. auditid:
  12430. description: 审核人
  12431. type: integer
  12432. audittime:
  12433. description: 审核时间
  12434. type: string
  12435. bankaccountname:
  12436. description: 签约银行卡账号名
  12437. type: string
  12438. bankaccountname2:
  12439. description: 签约银行卡账号名 - 密文
  12440. type: string
  12441. bankaccountno:
  12442. description: 银行卡号
  12443. type: string
  12444. bankaccountno2:
  12445. description: 银行卡号 - 密文
  12446. type: string
  12447. bankaccounttype:
  12448. description: 银行账户类型 - 1-对私; 2-对公
  12449. type: integer
  12450. bankcardtype:
  12451. description: 银行卡类型
  12452. type: integer
  12453. bankchildaccount:
  12454. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12455. type: string
  12456. bankcity:
  12457. description: 开户行城市
  12458. type: string
  12459. bankid:
  12460. description: 签约银行ID
  12461. type: string
  12462. bankname:
  12463. description: 签约银行名称
  12464. type: string
  12465. bankprovince:
  12466. description: 开户行省份
  12467. type: string
  12468. branchbankid:
  12469. description: 签约银行支行号
  12470. type: string
  12471. branchbankname:
  12472. description: 签约银行支行名称
  12473. type: string
  12474. cardno:
  12475. description: 证件号码
  12476. type: string
  12477. cardno2:
  12478. description: 证件号码 - 密文
  12479. type: string
  12480. cardtype:
  12481. description: 证件类型
  12482. type: string
  12483. currency:
  12484. description: 币种
  12485. type: string
  12486. cusbankid:
  12487. description: 托管银行编号
  12488. type: string
  12489. direct:
  12490. description: 方向(可以判断那方先发起的签约)
  12491. type: integer
  12492. exchticket:
  12493. description: 最后一次签约成功的流水号
  12494. type: string
  12495. extendinfo:
  12496. description: 扩展信息(JSON字符串)
  12497. type: string
  12498. mobilephone:
  12499. description: 手机号
  12500. type: string
  12501. mobilephone2:
  12502. description: 手机号 - 密文
  12503. type: string
  12504. netaddr:
  12505. description: 调转网址
  12506. type: string
  12507. relateduserid:
  12508. description: 关联使用者userid
  12509. type: integer
  12510. signstatus:
  12511. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12512. 10:审核拒绝 11:换签待审核
  12513. type: integer
  12514. updatetime:
  12515. description: 更新时间(签解约更新时间)
  12516. type: string
  12517. type: object
  12518. models.QhjBankInfo:
  12519. properties:
  12520. bankid:
  12521. description: 银行ID
  12522. type: string
  12523. bankname:
  12524. description: 银行名称
  12525. type: string
  12526. clearbankno:
  12527. description: 清算系统银行编号
  12528. type: string
  12529. orderindex:
  12530. description: 排序顺序
  12531. type: integer
  12532. status:
  12533. description: 状态 - 0:正常 1:注销
  12534. type: integer
  12535. type: object
  12536. models.QhjBrokerApply:
  12537. properties:
  12538. applicantid:
  12539. description: 申请人
  12540. type: integer
  12541. applysrc:
  12542. description: 申请来源 - 1:管理端 2:终端
  12543. type: integer
  12544. applystatus:
  12545. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12546. type: integer
  12547. applytime:
  12548. description: 申请时间
  12549. type: string
  12550. auditorid:
  12551. description: 审核人
  12552. type: integer
  12553. auditremark:
  12554. description: 审核备注
  12555. type: string
  12556. auditsrc:
  12557. description: 审核来源 - 1:管理端 2:终端
  12558. type: integer
  12559. audittime:
  12560. description: 审核时间
  12561. type: string
  12562. audittradedate:
  12563. description: 审核交易日(yyyyMMdd)
  12564. type: string
  12565. brokerapplyid:
  12566. description: 申请ID(SEQ_BROKERAPPLY)
  12567. type: integer
  12568. cardbackphotourl:
  12569. description: 证件背面图片地址
  12570. type: string
  12571. cardfrontphotourl:
  12572. description: 证件正面图片地址
  12573. type: string
  12574. cardnum:
  12575. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12576. type: string
  12577. customername:
  12578. description: 姓名
  12579. type: string
  12580. logincode:
  12581. description: 登录代码
  12582. type: string
  12583. mobile:
  12584. description: 手机号码
  12585. type: string
  12586. parentuserid:
  12587. description: 所属机构id
  12588. type: integer
  12589. parentusername:
  12590. description: 所属机构名称
  12591. type: string
  12592. refereeuserid:
  12593. description: 推荐人id(经纪人)
  12594. type: integer
  12595. refernum:
  12596. description: 推荐码
  12597. type: string
  12598. remark:
  12599. description: 备注
  12600. type: string
  12601. subarealevelpath:
  12602. description: 层级路径
  12603. type: string
  12604. tradedate:
  12605. description: 交易日(yyyyMMdd)
  12606. type: string
  12607. userid:
  12608. description: 申请人用户ID
  12609. type: integer
  12610. userinfotype:
  12611. description: 用户类型 1-个人 2-企业
  12612. type: integer
  12613. username:
  12614. description: 用户名称
  12615. type: string
  12616. type: object
  12617. models.QhjBrokerApplyEx:
  12618. properties:
  12619. applylist:
  12620. description: 经纪人申请记录(只返回最新一条)
  12621. items:
  12622. $ref: '#/definitions/models.QhjBrokerApply'
  12623. type: array
  12624. canrecommend:
  12625. description: 是否经纪人 0-不是 1-是
  12626. type: integer
  12627. refernum:
  12628. description: 推荐码
  12629. type: string
  12630. userid:
  12631. description: 用户id
  12632. type: integer
  12633. userinfotype:
  12634. description: 用户类型 1-个人 2-企业
  12635. type: integer
  12636. type: object
  12637. models.QhjBrokerRewardLog:
  12638. properties:
  12639. accountid:
  12640. description: 资金账号ID
  12641. type: integer
  12642. createtime:
  12643. description: 创建时间(时间)
  12644. type: string
  12645. handlestatus:
  12646. description: 处理状态
  12647. type: integer
  12648. logid:
  12649. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12650. type: string
  12651. marketid:
  12652. description: 市场ID
  12653. type: integer
  12654. mmaccountid:
  12655. description: 做市商资金账号ID
  12656. type: string
  12657. mmuserid:
  12658. description: 做市商用户ID
  12659. type: string
  12660. rewardamount:
  12661. description: 奖励金额
  12662. type: number
  12663. rewardmodel:
  12664. description: 消费奖励方式 - 1:比率 2:固定
  12665. type: integer
  12666. rewardtype:
  12667. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12668. type: integer
  12669. rewardvalue:
  12670. description: 配置奖励值
  12671. type: number
  12672. srcamount:
  12673. description: 成交金额 [消费奖励] (金额)
  12674. type: number
  12675. srcgoodsid:
  12676. description: 来源商品ID [消费奖励]
  12677. type: string
  12678. srctime:
  12679. description: 来源时间 (成交时间) [消费奖励]
  12680. type: string
  12681. srctradeid:
  12682. description: 来源成交单ID [消费奖励] - 排除提货成交
  12683. type: string
  12684. srcuserid:
  12685. description: 来源用户ID(推广账户)
  12686. type: string
  12687. srcusername:
  12688. description: 推广账户名称
  12689. type: string
  12690. tradedate:
  12691. description: 交易日(yyyyMMdd)
  12692. type: string
  12693. userid:
  12694. description: 经纪人用户ID
  12695. type: integer
  12696. type: object
  12697. models.QhjContract:
  12698. properties:
  12699. contractconfirmtime:
  12700. description: 合同确认时间(时间)
  12701. type: string
  12702. currisklevel:
  12703. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12704. type: integer
  12705. decimalplace:
  12706. description: 商品报价小数位
  12707. type: integer
  12708. enumdicname:
  12709. description: 单位名称
  12710. type: string
  12711. goodscode:
  12712. description: 商品代码
  12713. type: string
  12714. goodsid:
  12715. description: 商品ID [5:融资单]
  12716. type: integer
  12717. goodsname:
  12718. description: 商品名称
  12719. type: string
  12720. goodunitid:
  12721. description: 商品单位id
  12722. type: integer
  12723. initmargin:
  12724. description: 初始保证金(首付款)
  12725. type: number
  12726. lenderamount:
  12727. description: 贷款金额(总额|订单总额)
  12728. type: number
  12729. marginratio:
  12730. description: 保证金比率(首付比例)
  12731. type: number
  12732. payamount:
  12733. description: 已付(已付货款)
  12734. type: number
  12735. reckonrecovermargin:
  12736. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12737. type: number
  12738. recoveredmargin:
  12739. description: 已追缴保证金
  12740. type: number
  12741. remainamount:
  12742. description: 合同剩余金额(融资额)
  12743. type: number
  12744. scfcontractid:
  12745. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12746. type: string
  12747. scfcontractstatus:
  12748. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12749. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12750. type: integer
  12751. scfcontracttype:
  12752. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12753. type: integer
  12754. totalinterest:
  12755. description: 已计总利息(利息)
  12756. type: number
  12757. tradeprice:
  12758. description: 成交价格(成本价格)
  12759. type: number
  12760. userid:
  12761. description: 用户ID
  12762. type: integer
  12763. username:
  12764. description: 用户名称
  12765. type: string
  12766. wrqty:
  12767. description: 仓单数量(数量)
  12768. type: number
  12769. type: object
  12770. models.QhjContractLog:
  12771. properties:
  12772. amount:
  12773. description: 支付金额
  12774. type: number
  12775. amounttype:
  12776. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12777. type: integer
  12778. logid:
  12779. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12780. type: string
  12781. remainamount:
  12782. description: 剩余货款
  12783. type: number
  12784. scfcontractid:
  12785. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12786. type: integer
  12787. updatetime:
  12788. description: 更新时间
  12789. type: string
  12790. type: object
  12791. models.QhjCusBankSignBankEx:
  12792. properties:
  12793. banklst:
  12794. description: 银行列表
  12795. items:
  12796. $ref: '#/definitions/models.QhjBankInfo'
  12797. type: array
  12798. canallot:
  12799. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12800. type: integer
  12801. canallotquery:
  12802. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12803. type: integer
  12804. canbindcard:
  12805. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12806. type: integer
  12807. caninamount:
  12808. description: 是否可入金 - 0:不可 1:可以
  12809. type: integer
  12810. caninamount2:
  12811. description: 是否可入金(网银端) - 0:不可 1:可以
  12812. type: integer
  12813. canmodifybankcard:
  12814. description: 是否可修改银行卡号 - 0:不可 1:可以
  12815. type: integer
  12816. canmodifyphone:
  12817. description: 是否可修改手机号 - 0:不可 1:可以
  12818. type: integer
  12819. canmodifysigninfo:
  12820. description: 是否可修改签约信息 - 0:不可 1:可以
  12821. type: integer
  12822. canoutamount:
  12823. description: 是否可出金 - 0:不可 1:可以
  12824. type: integer
  12825. canoutamount2:
  12826. description: 是否可出金(网银端) - 0:不可 1:可以
  12827. type: integer
  12828. canrelease:
  12829. description: 是否可解约 - 0:不可 1:可以
  12830. type: integer
  12831. canrelease2:
  12832. description: 是否可解约(网银端) - 0:不可 1:可以
  12833. type: integer
  12834. cansign:
  12835. description: 是否可签约 - 0:不可 1:可以
  12836. type: integer
  12837. cansign2:
  12838. description: 是否可签约(网银端) - 0:不可 1:可以
  12839. type: integer
  12840. currency:
  12841. description: 币种
  12842. type: string
  12843. cusbankid:
  12844. description: 托管银行编号(对应清算中心TRAN_NO)
  12845. type: string
  12846. cusbankname:
  12847. description: 银行业务名称
  12848. type: string
  12849. cusbankshortname:
  12850. description: 银行业务简称
  12851. type: string
  12852. exchbankid:
  12853. description: 交易所开户银行ID
  12854. type: string
  12855. exchpaybankaccname:
  12856. description: 交易所支出结算账户户名
  12857. type: string
  12858. exchpaybankaccno:
  12859. description: 交易所支出结算账户
  12860. type: string
  12861. isneedcheck:
  12862. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12863. type: integer
  12864. isneedclear:
  12865. description: 是否需要清算 - 0:不需要 1:需要
  12866. type: integer
  12867. lastcheckstatus:
  12868. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12869. type: integer
  12870. lastchecktime:
  12871. description: 最后对账时间
  12872. type: string
  12873. lastclearstatus:
  12874. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12875. type: integer
  12876. lastcleartime:
  12877. description: 最后清算时间
  12878. type: string
  12879. lastsignintime:
  12880. description: 最后签到时间
  12881. type: string
  12882. lastsignouttime:
  12883. description: 最后签退时间
  12884. type: string
  12885. riskinfo:
  12886. description: 签约风险提示书
  12887. type: string
  12888. signstatus:
  12889. description: 当前签到/签退状态 - 1:签到 2:签退
  12890. type: integer
  12891. tradedate:
  12892. description: 交易日(yyyyMMdd)
  12893. type: string
  12894. updatetime:
  12895. description: 当前签到/签退更新时间
  12896. type: string
  12897. type: object
  12898. models.QhjCustomer:
  12899. properties:
  12900. address:
  12901. description: 通讯地址
  12902. type: string
  12903. attachment1:
  12904. description: 附件1
  12905. type: string
  12906. attachment2:
  12907. description: 附件2
  12908. type: string
  12909. audittime:
  12910. description: 审核时间
  12911. type: string
  12912. cardbackphotourl:
  12913. description: 证件反面图片地址
  12914. type: string
  12915. cardfrontphotourl:
  12916. description: 证件正面图片地址
  12917. type: string
  12918. cardnum:
  12919. description: 证件号码
  12920. type: string
  12921. cardtype:
  12922. description: 证件类型
  12923. type: integer
  12924. cardtypename:
  12925. description: 证件类型名称
  12926. type: string
  12927. cityid:
  12928. description: 市
  12929. type: integer
  12930. cityname:
  12931. description: 城市名称
  12932. type: string
  12933. contactname:
  12934. description: 联系人
  12935. type: string
  12936. countryid:
  12937. description: 国家
  12938. type: integer
  12939. countryname:
  12940. description: 国家名称
  12941. type: string
  12942. createtime:
  12943. description: 创建时间
  12944. type: string
  12945. customername:
  12946. description: 客户名称
  12947. type: string
  12948. districtid:
  12949. description: 区域
  12950. type: integer
  12951. districtname:
  12952. description: 地区名称
  12953. type: string
  12954. email:
  12955. description: 邮件
  12956. type: string
  12957. legalpersonname:
  12958. description: 法人姓名(企业)
  12959. type: string
  12960. logincode:
  12961. description: 登录账号(代码)
  12962. type: string
  12963. memberuserid:
  12964. description: 所属机构ID(所属会员)
  12965. type: integer
  12966. memberusername:
  12967. description: 所属会员名称
  12968. type: string
  12969. mobile:
  12970. description: 手机号码
  12971. type: string
  12972. modifytime:
  12973. description: 修改时间
  12974. type: string
  12975. nickname:
  12976. description: 昵称
  12977. type: string
  12978. parentuserid:
  12979. description: 上级机构(所属机构)
  12980. type: integer
  12981. parentusername:
  12982. description: 所属机构名称
  12983. type: string
  12984. provinceid:
  12985. description: 省
  12986. type: integer
  12987. provincename:
  12988. description: 省名称
  12989. type: string
  12990. proxystatementurl:
  12991. description: 授权委托书
  12992. type: string
  12993. remark:
  12994. description: 备注
  12995. type: string
  12996. status:
  12997. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12998. type: integer
  12999. statusdesc:
  13000. description: 账户状态中文描述
  13001. type: string
  13002. taxpayernum:
  13003. description: 纳税人识别号
  13004. type: string
  13005. telphone:
  13006. description: 联系电话
  13007. type: string
  13008. userid:
  13009. description: 用户ID
  13010. type: integer
  13011. userinfotype:
  13012. description: 客户类型 1-个人 2-企业
  13013. type: integer
  13014. username:
  13015. description: 用户名称
  13016. type: string
  13017. type: object
  13018. models.QhjCustomerSignLog:
  13019. properties:
  13020. agreementcontent:
  13021. description: 协议内容
  13022. type: string
  13023. agreementid:
  13024. description: 协议ID
  13025. type: integer
  13026. agreementname:
  13027. description: 协议名称
  13028. type: string
  13029. agreementno:
  13030. description: 协议编号
  13031. type: string
  13032. agreementtype:
  13033. description: 协议类型 - 1:注册 2:登录 3:交易
  13034. type: integer
  13035. agreementversion:
  13036. description: 协议版本号
  13037. type: integer
  13038. createtime:
  13039. description: 创建时间
  13040. type: string
  13041. goodscode:
  13042. description: 商品代码
  13043. type: string
  13044. goodsid:
  13045. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13046. type: integer
  13047. goodsname:
  13048. description: 商品名称
  13049. type: string
  13050. logid:
  13051. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13052. type: integer
  13053. nodetype:
  13054. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13055. type: integer
  13056. signadressurl:
  13057. description: 签约文件地址
  13058. type: string
  13059. signtimestamp:
  13060. description: 签约状态时间戳
  13061. type: string
  13062. userid:
  13063. description: 客户ID
  13064. type: integer
  13065. username:
  13066. description: 客户名称
  13067. type: string
  13068. type: object
  13069. models.QhjCustomerSignStatus:
  13070. properties:
  13071. createtime:
  13072. description: 创建时间
  13073. type: string
  13074. goodscode:
  13075. description: 商品代码
  13076. type: string
  13077. goodsid:
  13078. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13079. type: integer
  13080. goodsname:
  13081. description: 商品名称
  13082. type: string
  13083. nodetype:
  13084. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13085. type: integer
  13086. signtimestamp:
  13087. description: 签约状态时间戳
  13088. type: string
  13089. tradedate:
  13090. description: 创建交易日(yyyyMMdd)
  13091. type: string
  13092. updatetime:
  13093. description: 更新时间
  13094. type: string
  13095. userid:
  13096. description: 客户ID
  13097. type: integer
  13098. username:
  13099. description: 客户名称
  13100. type: string
  13101. type: object
  13102. models.QhjMgrAccountOutInApply:
  13103. properties:
  13104. accountcode:
  13105. description: 资金账号
  13106. type: string
  13107. accountname:
  13108. description: 用户名称(名称)
  13109. type: string
  13110. accountpwd:
  13111. description: 资金密码
  13112. type: string
  13113. accountticket:
  13114. description: 最新账户服务流水号
  13115. type: string
  13116. amount:
  13117. description: 金额
  13118. type: number
  13119. applyremark:
  13120. description: 申请备注
  13121. type: string
  13122. applystatus:
  13123. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13124. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13125. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13126. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13127. type: integer
  13128. auditid:
  13129. description: 审核人
  13130. type: integer
  13131. audittime:
  13132. description: 审核时间
  13133. type: string
  13134. bank_apply_ticket:
  13135. description: 银行申请流水
  13136. type: string
  13137. bankaccountname:
  13138. description: 银行账户名
  13139. type: string
  13140. bankaccountno:
  13141. description: 银行卡号
  13142. type: string
  13143. bankid:
  13144. description: 银行编号
  13145. type: string
  13146. bankname:
  13147. description: 银行名称
  13148. type: string
  13149. bankticket:
  13150. description: 银行流水
  13151. type: string
  13152. branchbankid:
  13153. description: 银行支行号
  13154. type: string
  13155. branchbankname:
  13156. description: 银行支行名称
  13157. type: string
  13158. capamountout:
  13159. description: 出金(劣后本金) - 外部子账户
  13160. type: number
  13161. certificatephotourl:
  13162. description: 凭证地址
  13163. type: string
  13164. charge:
  13165. description: 手续费
  13166. type: number
  13167. checkerrorflag:
  13168. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13169. type: integer
  13170. currency:
  13171. description: 币种
  13172. type: string
  13173. cusbankid:
  13174. description: 托管银行编号
  13175. type: string
  13176. exchticket:
  13177. description: 银行服务流水号
  13178. type: string
  13179. executetype:
  13180. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13181. 7:外部子账户:入金 8:外部子账户:出金'
  13182. type: integer
  13183. extendinfo:
  13184. description: 扩展信息
  13185. type: string
  13186. extoperateid:
  13187. description: 交易服务流水号
  13188. type: integer
  13189. infamount:
  13190. description: 劣后金额(自有)
  13191. type: number
  13192. logincode:
  13193. description: 登录账号(账号)
  13194. type: string
  13195. netaddr:
  13196. description: 调转网址
  13197. type: string
  13198. priamount:
  13199. description: 优先金额(授信)
  13200. type: number
  13201. reauditid:
  13202. description: 复审人
  13203. type: integer
  13204. reauditremark:
  13205. description: 复审备注
  13206. type: string
  13207. reaudittime:
  13208. description: 复审时间
  13209. type: string
  13210. relatedorderid:
  13211. description: 三方关联ID
  13212. type: string
  13213. remark:
  13214. description: 备注
  13215. type: string
  13216. remark2:
  13217. description: 备注(失败原因)
  13218. type: string
  13219. soucreamount:
  13220. description: 原始出入金金额
  13221. type: number
  13222. soucrecurrencyid:
  13223. description: 原始出入金币种
  13224. type: integer
  13225. tradedate:
  13226. description: 交易日(yyyyMMdd)
  13227. type: string
  13228. updatetime:
  13229. description: 更新时间(申请时间)
  13230. type: string
  13231. userid:
  13232. description: 用户id
  13233. type: integer
  13234. userinfotype:
  13235. description: 账户类型 1-个人 2-企业
  13236. type: integer
  13237. type: object
  13238. models.QhjMgrBrokerApply:
  13239. properties:
  13240. applicantid:
  13241. description: 申请人
  13242. type: integer
  13243. applysrc:
  13244. description: 申请来源 - 1:管理端 2:终端
  13245. type: integer
  13246. applystatus:
  13247. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13248. type: integer
  13249. applytime:
  13250. description: 申请时间
  13251. type: string
  13252. auditorid:
  13253. description: 审核人
  13254. type: integer
  13255. auditremark:
  13256. description: 审核备注
  13257. type: string
  13258. auditsrc:
  13259. description: 审核来源 - 1:管理端 2:终端
  13260. type: integer
  13261. audittime:
  13262. description: 审核时间
  13263. type: string
  13264. audittradedate:
  13265. description: 审核交易日(yyyyMMdd)
  13266. type: string
  13267. brokerapplyid:
  13268. description: 申请ID(SEQ_BROKERAPPLY)
  13269. type: integer
  13270. cardbackphotourl:
  13271. description: 证件背面图片地址
  13272. type: string
  13273. cardfrontphotourl:
  13274. description: 证件正面图片地址
  13275. type: string
  13276. cardnum:
  13277. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13278. type: string
  13279. customername:
  13280. description: 姓名
  13281. type: string
  13282. filterstatus:
  13283. description: 筛选条件
  13284. type: string
  13285. logincode:
  13286. description: 登录代码
  13287. type: string
  13288. mobile:
  13289. description: 手机号码
  13290. type: string
  13291. parentuserid:
  13292. description: 所属机构id
  13293. type: integer
  13294. parentusername:
  13295. description: 所属机构名称
  13296. type: string
  13297. refereeuserid:
  13298. description: 推荐人id(经纪人)
  13299. type: integer
  13300. refernum:
  13301. description: 推荐码
  13302. type: string
  13303. remark:
  13304. description: 备注
  13305. type: string
  13306. subarealevelpath:
  13307. description: 层级路径
  13308. type: string
  13309. tradedate:
  13310. description: 交易日(yyyyMMdd)
  13311. type: string
  13312. userid:
  13313. description: 申请人用户ID
  13314. type: integer
  13315. userinfotype:
  13316. description: 用户类型 1-个人 2-企业
  13317. type: integer
  13318. username:
  13319. description: 用户名称
  13320. type: string
  13321. type: object
  13322. models.QhjMgrBrokerRewardReport:
  13323. properties:
  13324. createtime:
  13325. description: 创建时间(注册时间)
  13326. type: string
  13327. cycletime:
  13328. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13329. type: string
  13330. cycletype:
  13331. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13332. type: integer
  13333. directtotalnum:
  13334. description: 直推总人数【期末】
  13335. type: integer
  13336. indirecttotalnum:
  13337. description: 间推总人数【期末】
  13338. type: integer
  13339. mobile:
  13340. description: 电话号码
  13341. type: string
  13342. refereeuserid:
  13343. description: 推荐人id(经纪人id)
  13344. type: integer
  13345. refereeusername:
  13346. description: 推荐人名称(经纪人) 上级经纪人名称
  13347. type: string
  13348. refernum:
  13349. description: 推荐码
  13350. type: string
  13351. subarealevelpath:
  13352. description: 用户层级路径
  13353. type: string
  13354. todayrewardamount:
  13355. description: 奖励总金额【汇总】
  13356. type: number
  13357. updatetime:
  13358. description: 更新时间
  13359. type: string
  13360. userid:
  13361. description: 经纪人用户ID
  13362. type: integer
  13363. userinfotype:
  13364. description: 用户类型 1-个人 2-企业
  13365. type: integer
  13366. username:
  13367. description: 用户名称
  13368. type: string
  13369. type: object
  13370. models.QhjMgrContract:
  13371. properties:
  13372. contractconfirmtime:
  13373. description: 合同确认时间(时间)
  13374. type: string
  13375. currisklevel:
  13376. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13377. type: integer
  13378. decimalplace:
  13379. description: 商品报价小数位
  13380. type: integer
  13381. enumdicname:
  13382. description: 单位名称
  13383. type: string
  13384. goodscode:
  13385. description: 商品代码
  13386. type: string
  13387. goodsid:
  13388. description: 商品ID [5:融资单]
  13389. type: integer
  13390. goodsname:
  13391. description: 商品名称
  13392. type: string
  13393. goodunitid:
  13394. description: 商品单位id
  13395. type: integer
  13396. initmargin:
  13397. description: 初始保证金(首付款)
  13398. type: number
  13399. lenderamount:
  13400. description: 贷款金额(总额|订单总额)
  13401. type: number
  13402. logincode:
  13403. description: 账号(登录代码)
  13404. type: string
  13405. marginratio:
  13406. description: 保证金比率(首付比例)
  13407. type: number
  13408. mobile:
  13409. description: 电话号码(用户资料里的电话)
  13410. type: string
  13411. payamount:
  13412. description: 已付(已付货款)
  13413. type: number
  13414. reckonrecovermargin:
  13415. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13416. type: number
  13417. recoveredmargin:
  13418. description: 已追缴保证金
  13419. type: number
  13420. remainamount:
  13421. description: 合同剩余金额(融资额)
  13422. type: number
  13423. scfcontractid:
  13424. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13425. type: string
  13426. scfcontractstatus:
  13427. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13428. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13429. type: integer
  13430. scfcontracttype:
  13431. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13432. type: integer
  13433. totalinterest:
  13434. description: 已计总利息(利息)
  13435. type: number
  13436. tradedate:
  13437. description: 交易日
  13438. type: string
  13439. tradeprice:
  13440. description: 成交价格(成本价格)
  13441. type: number
  13442. userid:
  13443. description: 用户ID
  13444. type: integer
  13445. userinfotype:
  13446. description: 用户类型 1-个人 2-企业
  13447. type: integer
  13448. username:
  13449. description: 用户名称
  13450. type: string
  13451. wrqty:
  13452. description: 仓单数量(数量)
  13453. type: number
  13454. type: object
  13455. models.QhjMgrCustomer:
  13456. properties:
  13457. address:
  13458. description: 通讯地址
  13459. type: string
  13460. attachment1:
  13461. description: 附件1
  13462. type: string
  13463. audittime:
  13464. description: 审核时间
  13465. type: string
  13466. birthday:
  13467. description: 生日
  13468. type: string
  13469. brokerid:
  13470. description: 所属客户经理id
  13471. type: integer
  13472. brokername:
  13473. description: 所属客户经理名称
  13474. type: string
  13475. cardbackphotourl:
  13476. description: 证件反面图片地址
  13477. type: string
  13478. cardfrontphotourl:
  13479. description: 证件正面图片地址
  13480. type: string
  13481. cardnum:
  13482. description: 证件号码
  13483. type: string
  13484. cardtype:
  13485. description: 证件类型
  13486. type: integer
  13487. cardtypename:
  13488. description: 证件类型名称
  13489. type: string
  13490. cityid:
  13491. description: 市
  13492. type: integer
  13493. cityname:
  13494. description: 城市名称
  13495. type: string
  13496. contactname:
  13497. description: 联系人
  13498. type: string
  13499. countryid:
  13500. description: 国家
  13501. type: integer
  13502. countryname:
  13503. description: 国家名称
  13504. type: string
  13505. createtime:
  13506. description: 创建时间
  13507. type: string
  13508. customername:
  13509. description: 客户名称
  13510. type: string
  13511. districtid:
  13512. description: 区域
  13513. type: integer
  13514. districtname:
  13515. description: 地区名称
  13516. type: string
  13517. email:
  13518. description: 邮件
  13519. type: string
  13520. legalpersonname:
  13521. description: 法人姓名(企业)
  13522. type: string
  13523. logincode:
  13524. description: 登录账号(代码)
  13525. type: string
  13526. memberuserid:
  13527. description: 所属机构ID(所属会员)
  13528. type: integer
  13529. memberusername:
  13530. description: 所属会员名称
  13531. type: string
  13532. mobile:
  13533. description: 手机号码
  13534. type: string
  13535. modifytime:
  13536. description: 修改时间
  13537. type: string
  13538. nickname:
  13539. description: 昵称
  13540. type: string
  13541. parentuserid:
  13542. description: 上级机构(所属机构)
  13543. type: integer
  13544. parentusername:
  13545. description: 所属机构名称
  13546. type: string
  13547. provinceid:
  13548. description: 省
  13549. type: integer
  13550. provincename:
  13551. description: 省名称
  13552. type: string
  13553. proxystatementurl:
  13554. description: 授权委托书
  13555. type: string
  13556. querytype:
  13557. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13558. type: integer
  13559. remark:
  13560. description: 备注
  13561. type: string
  13562. sex:
  13563. description: 性别 0-女 1-男
  13564. type: integer
  13565. status:
  13566. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13567. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13568. type: integer
  13569. statusdesc:
  13570. description: 账户状态中文描述
  13571. type: string
  13572. taxpayernum:
  13573. description: 纳税人识别号
  13574. type: string
  13575. telphone:
  13576. description: 联系电话
  13577. type: string
  13578. userid:
  13579. description: 用户ID
  13580. type: integer
  13581. userinfotype:
  13582. description: 客户类型 1-个人 2-企业
  13583. type: integer
  13584. username:
  13585. description: 用户名称
  13586. type: string
  13587. type: object
  13588. models.QhjMgrPickGoods:
  13589. properties:
  13590. enumdicname:
  13591. description: 单位名称(提货商品)
  13592. type: string
  13593. goodsid:
  13594. description: 商品id
  13595. type: integer
  13596. imageaddress:
  13597. description: 图片
  13598. type: string
  13599. modifierid:
  13600. description: 修改人
  13601. type: integer
  13602. modifiername:
  13603. description: 修改人名称
  13604. type: string
  13605. modifysrc:
  13606. description: 修改来源 - 1:管理端 2:终端
  13607. type: integer
  13608. pickupgoodsagreeunit:
  13609. description: 合约乘数
  13610. type: number
  13611. pickupgoodsdesc:
  13612. description: 描述
  13613. type: string
  13614. pickupgoodsid:
  13615. description: 提货商品ID
  13616. type: string
  13617. pickupgoodsname:
  13618. description: 提货商品名称
  13619. type: string
  13620. pickupgoodsstatus:
  13621. description: 状态 - 1:正常 2:停用 3:注销
  13622. type: integer
  13623. pickupgoodsunitid:
  13624. description: 单位ID
  13625. type: integer
  13626. pickupratio:
  13627. description: 提货系数
  13628. type: number
  13629. preparedays:
  13630. description: 备货期(天)
  13631. type: integer
  13632. remark:
  13633. description: 备注
  13634. type: string
  13635. updatetime:
  13636. description: 更新时间
  13637. type: string
  13638. type: object
  13639. models.QhjMgrPositionRsp:
  13640. properties:
  13641. accountid:
  13642. description: 账号Id
  13643. type: integer
  13644. accountname:
  13645. description: 用户名称
  13646. type: string
  13647. agreeunit:
  13648. description: 合约乘数
  13649. type: number
  13650. averageprice:
  13651. description: 均价
  13652. type: number
  13653. avialqty:
  13654. description: 可用数量
  13655. type: number
  13656. decimalplace:
  13657. description: 报价小数位
  13658. type: integer
  13659. enumdicname:
  13660. description: 单位名称(商品)
  13661. type: string
  13662. frozenqty:
  13663. description: 冻结数量
  13664. type: number
  13665. goodscode:
  13666. description: 商品代码(内部)
  13667. type: string
  13668. goodsid:
  13669. description: 商品Id
  13670. type: integer
  13671. goodsname:
  13672. description: 商品名称
  13673. type: string
  13674. goodunitid:
  13675. description: 报价单位ID
  13676. type: integer
  13677. holderamount:
  13678. description: 金额
  13679. type: number
  13680. holderqty:
  13681. description: 持有数量
  13682. type: number
  13683. holdertype:
  13684. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13685. type: integer
  13686. logincode:
  13687. description: 登录代码(账户)
  13688. type: string
  13689. marketid:
  13690. description: 市场id
  13691. type: integer
  13692. qtydecimalplace:
  13693. description: 成交量小数位
  13694. type: integer
  13695. trademode:
  13696. description: 交易模式
  13697. type: integer
  13698. userid:
  13699. description: 用户id
  13700. type: integer
  13701. userinfotype:
  13702. description: 账户类型 1-个人 2-企业
  13703. type: integer
  13704. type: object
  13705. models.QhjMgrSubArea:
  13706. properties:
  13707. accountname:
  13708. description: 账户名称(机构名称)
  13709. type: string
  13710. memberuserid:
  13711. description: 所属会员ID
  13712. type: integer
  13713. parenttopuser:
  13714. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13715. type: string
  13716. parentuserid:
  13717. description: 所属机构ID
  13718. type: integer
  13719. rootuserid:
  13720. description: 根用户ID
  13721. type: string
  13722. subaccountlevel:
  13723. description: 子账户层数
  13724. type: integer
  13725. subarealevelpath:
  13726. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13727. type: string
  13728. userid:
  13729. description: 用户ID
  13730. type: integer
  13731. usertype:
  13732. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13733. type: integer
  13734. type: object
  13735. models.QhjMgrTradeDetailRsp:
  13736. properties:
  13737. accountid:
  13738. description: 资金账号
  13739. type: integer
  13740. accountname:
  13741. description: 用户名称
  13742. type: string
  13743. agreeunit:
  13744. description: 合约乘数
  13745. type: number
  13746. buyorsell:
  13747. description: 成交类型(方向) 0:买 1:卖
  13748. type: integer
  13749. decimalplace:
  13750. description: 报价小数位
  13751. type: integer
  13752. enumdicname:
  13753. description: 单位名称(商品)
  13754. type: string
  13755. goodscode:
  13756. description: 商品代码(内部)
  13757. type: string
  13758. goodsid:
  13759. description: 商品id
  13760. type: integer
  13761. goodsname:
  13762. description: 商品名称
  13763. type: string
  13764. goodunitid:
  13765. description: 报价单位ID
  13766. type: integer
  13767. logincode:
  13768. description: 登录代码(账户)
  13769. type: string
  13770. marketid:
  13771. description: 市场id
  13772. type: integer
  13773. orderid:
  13774. description: 关联委托单号
  13775. type: string
  13776. qtydecimalplace:
  13777. description: 成交量小数位
  13778. type: integer
  13779. tradeamount:
  13780. description: 金额
  13781. type: number
  13782. tradedate:
  13783. description: 交易日
  13784. type: string
  13785. tradeid:
  13786. description: 成交单号
  13787. type: string
  13788. trademode:
  13789. description: 交易模式
  13790. type: integer
  13791. tradeprice:
  13792. description: 价格
  13793. type: number
  13794. tradeqty:
  13795. description: 数量
  13796. type: number
  13797. tradetime:
  13798. description: 成交时间
  13799. type: string
  13800. userid:
  13801. description: 用户id
  13802. type: integer
  13803. userinfotype:
  13804. description: 账户类型 1-个人 2-企业
  13805. type: integer
  13806. type: object
  13807. models.QhjMgrTradeOrderDetailRsp:
  13808. properties:
  13809. accountid:
  13810. description: 资金账号
  13811. type: integer
  13812. accountname:
  13813. description: 用户名称
  13814. type: string
  13815. agreeunit:
  13816. description: 合约乘数
  13817. type: number
  13818. amount:
  13819. description: 金额
  13820. type: number
  13821. decimalplace:
  13822. description: 报价小数位
  13823. type: integer
  13824. enumdicname:
  13825. description: 单位名称(商品)
  13826. type: string
  13827. goodscode:
  13828. description: 商品代码(内部)
  13829. type: string
  13830. goodsid:
  13831. description: 商品id
  13832. type: integer
  13833. goodsname:
  13834. description: 商品名称
  13835. type: string
  13836. goodunitid:
  13837. description: 报价单位ID
  13838. type: integer
  13839. logincode:
  13840. description: 登录代码(账户)
  13841. type: string
  13842. marketid:
  13843. description: 市场id
  13844. type: integer
  13845. orderid:
  13846. description: 关联委托单号
  13847. type: string
  13848. orderprice:
  13849. description: 价格
  13850. type: number
  13851. orderqty:
  13852. description: 数量
  13853. type: number
  13854. orderstatus:
  13855. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13856. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13857. 16:成交失败违约(荷兰式竞拍专用)
  13858. type: integer
  13859. ordertime:
  13860. description: 委托时间
  13861. type: string
  13862. qtydecimalplace:
  13863. description: 成交量小数位
  13864. type: integer
  13865. tradedate:
  13866. description: 交易日
  13867. type: string
  13868. trademode:
  13869. description: 交易模式
  13870. type: integer
  13871. userid:
  13872. description: 用户id
  13873. type: integer
  13874. userinfotype:
  13875. description: 账户类型 1-个人 2-企业
  13876. type: integer
  13877. type: object
  13878. models.QhjMgrTradePayOrder:
  13879. properties:
  13880. accountname:
  13881. description: 用户名称
  13882. type: string
  13883. advanceratio:
  13884. description: 首付比率
  13885. type: number
  13886. agreeunit:
  13887. description: 合约乘数
  13888. type: number
  13889. buyaccountid:
  13890. description: 买方账号ID[报价币种]
  13891. type: integer
  13892. buyorderid:
  13893. description: 买方委托单号(关联单号)
  13894. type: string
  13895. createtime:
  13896. description: 创建时间
  13897. type: string
  13898. decimalplace:
  13899. description: 报价小数位
  13900. type: integer
  13901. enumdicname:
  13902. description: 单位名称(商品)
  13903. type: string
  13904. goodscode:
  13905. description: 商品代码(内部)
  13906. type: string
  13907. goodsid:
  13908. description: 商品ID
  13909. type: integer
  13910. goodsname:
  13911. description: 商品名称
  13912. type: string
  13913. goodunitid:
  13914. description: 报价单位ID
  13915. type: integer
  13916. logincode:
  13917. description: 登录代码(账户)
  13918. type: string
  13919. marketid:
  13920. description: 市场id
  13921. type: integer
  13922. offamount:
  13923. description: 优惠金额
  13924. type: number
  13925. operatetype:
  13926. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13927. type: integer
  13928. payamount:
  13929. description: 支付金额(金额)
  13930. type: number
  13931. payflag:
  13932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13933. type: integer
  13934. paylimitedtime:
  13935. description: 支付期限
  13936. type: string
  13937. paytime:
  13938. description: 付款时间
  13939. type: string
  13940. qtydecimalplace:
  13941. description: 成交量小数位
  13942. type: integer
  13943. sellaccountid:
  13944. description: 卖方账号ID[报价币种]
  13945. type: integer
  13946. sellorderid:
  13947. description: 卖方委托单号
  13948. type: string
  13949. tradeamount:
  13950. description: 成交金额(优惠后金额)
  13951. type: number
  13952. tradecharge:
  13953. description: 成交手续费(买方)
  13954. type: number
  13955. tradedate:
  13956. description: 交易日(yyyyMMdd)
  13957. type: string
  13958. tradeid:
  13959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13960. type: string
  13961. trademode:
  13962. description: 交易模式
  13963. type: integer
  13964. tradeprice:
  13965. description: 成交价格(价格)
  13966. type: number
  13967. tradeqty:
  13968. description: 成交数量(数量)
  13969. type: number
  13970. tradetime:
  13971. description: 成交时间
  13972. type: string
  13973. userid:
  13974. description: 用户id
  13975. type: integer
  13976. userinfotype:
  13977. description: 账户类型 1-个人 2-企业
  13978. type: integer
  13979. type: object
  13980. models.QhjMyTeamEx:
  13981. properties:
  13982. accountname:
  13983. description: 用户名称
  13984. type: string
  13985. accountstatus:
  13986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13987. type: integer
  13988. createtime:
  13989. description: 创建时间
  13990. type: string
  13991. mobile:
  13992. description: 手机号码
  13993. type: string
  13994. refereeuserid:
  13995. description: 推荐人id
  13996. type: integer
  13997. refernum:
  13998. description: 推荐码
  13999. type: string
  14000. subList:
  14001. items:
  14002. $ref: '#/definitions/models.QhjMyTeamEx'
  14003. type: array
  14004. userid:
  14005. description: 用户id
  14006. type: integer
  14007. userinfotype:
  14008. description: 用户类型 1-个人 2-企业
  14009. type: integer
  14010. type: object
  14011. models.QhjNodeAgreementConfig:
  14012. properties:
  14013. agreementcontent:
  14014. description: 协议内容
  14015. type: string
  14016. agreementid:
  14017. description: 协议ID
  14018. type: integer
  14019. agreementname:
  14020. description: 协议名称
  14021. type: string
  14022. agreementno:
  14023. description: 协议编号
  14024. type: string
  14025. agreementtype:
  14026. description: 协议类型 - 1:注册 2:登录 3:交易
  14027. type: integer
  14028. agreementversion:
  14029. description: 协议版本号
  14030. type: integer
  14031. configid:
  14032. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14033. type: integer
  14034. createtime:
  14035. description: 创建时间
  14036. type: string
  14037. goodsid:
  14038. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14039. type: integer
  14040. nodetype:
  14041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14042. type: integer
  14043. type: object
  14044. models.QhjParentAreaList:
  14045. properties:
  14046. accountname:
  14047. description: 账户名称(机构名称)
  14048. type: string
  14049. userid:
  14050. description: 用户ID
  14051. type: integer
  14052. usertype:
  14053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14054. type: integer
  14055. type: object
  14056. models.QhjPayOrder:
  14057. properties:
  14058. advanceratio:
  14059. description: 首付比率
  14060. type: number
  14061. buyaccountid:
  14062. description: 买方账号ID[报价币种]
  14063. type: integer
  14064. buyorderid:
  14065. description: 买方委托单号
  14066. type: string
  14067. createtime:
  14068. description: 创建时间
  14069. type: string
  14070. decimalplace:
  14071. description: 商品报价小数位
  14072. type: integer
  14073. enumdicname:
  14074. description: 单位名称
  14075. type: string
  14076. goodscode:
  14077. description: 商品代码
  14078. type: string
  14079. goodsid:
  14080. description: 商品ID
  14081. type: integer
  14082. goodsname:
  14083. description: 商品名称
  14084. type: string
  14085. goodunitid:
  14086. description: 商品单位id
  14087. type: integer
  14088. marketid:
  14089. description: 市场ID
  14090. type: integer
  14091. offamount:
  14092. description: 优惠金额
  14093. type: number
  14094. operatetype:
  14095. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14096. type: integer
  14097. payamount:
  14098. description: 支付金额
  14099. type: number
  14100. payflag:
  14101. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14102. type: integer
  14103. paylimitedtime:
  14104. description: 支付期限
  14105. type: string
  14106. paytime:
  14107. description: 付款时间
  14108. type: string
  14109. qtydecimalplace:
  14110. description: 成交量小数位
  14111. type: integer
  14112. sellaccountid:
  14113. description: 卖方账号ID[报价币种]
  14114. type: integer
  14115. sellorderid:
  14116. description: 卖方委托单号
  14117. type: string
  14118. tradeamount:
  14119. description: 成交金额(优惠后金额)
  14120. type: number
  14121. tradecharge:
  14122. description: 成交手续费(买方)
  14123. type: number
  14124. tradedate:
  14125. description: 交易日(yyyyMMdd)
  14126. type: string
  14127. tradeid:
  14128. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14129. type: string
  14130. tradeprice:
  14131. description: 成交价格
  14132. type: number
  14133. tradeqty:
  14134. description: 成交数量
  14135. type: number
  14136. type: object
  14137. models.QhjPickArea:
  14138. properties:
  14139. address:
  14140. description: 详细地址
  14141. type: string
  14142. cityid:
  14143. description: 市
  14144. type: integer
  14145. cityname:
  14146. description: 城市名称
  14147. type: string
  14148. countryid:
  14149. description: 国家
  14150. type: integer
  14151. countryname:
  14152. description: 国家名称
  14153. type: string
  14154. districtid:
  14155. description: 地区
  14156. type: integer
  14157. districtname:
  14158. description: 地区名称
  14159. type: string
  14160. fromuserid:
  14161. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14162. type: integer
  14163. fromusername:
  14164. description: 所属机构名称
  14165. type: string
  14166. provinceid:
  14167. description: 省
  14168. type: integer
  14169. provincename:
  14170. description: 省名称
  14171. type: string
  14172. suborgtype:
  14173. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14174. type: integer
  14175. userid:
  14176. description: 机构用户ID 其他做市关系,都设置为 1
  14177. type: integer
  14178. username:
  14179. description: 机构用户名称(门店门称)
  14180. type: string
  14181. type: object
  14182. models.QhjPickGoods:
  14183. properties:
  14184. enumdicname:
  14185. description: 单位名称(提货商品)
  14186. type: string
  14187. goodsid:
  14188. description: 商品id
  14189. type: integer
  14190. imageaddress:
  14191. description: 图片
  14192. type: string
  14193. modifierid:
  14194. description: 修改人
  14195. type: integer
  14196. modifiername:
  14197. description: 修改人名称
  14198. type: string
  14199. modifysrc:
  14200. description: 修改来源 - 1:管理端 2:终端
  14201. type: integer
  14202. pickupgoodsagreeunit:
  14203. description: 合约乘数
  14204. type: number
  14205. pickupgoodsdesc:
  14206. description: 描述
  14207. type: string
  14208. pickupgoodsid:
  14209. description: 提货商品ID
  14210. type: string
  14211. pickupgoodsname:
  14212. description: 提货商品名称
  14213. type: string
  14214. pickupgoodsstatus:
  14215. description: 状态 - 1:正常 2:停用 3:注销
  14216. type: integer
  14217. pickupgoodsunitid:
  14218. description: 单位ID
  14219. type: integer
  14220. pickupratio:
  14221. description: 提货系数
  14222. type: number
  14223. preparedays:
  14224. description: 备货期(天)
  14225. type: integer
  14226. remark:
  14227. description: 备注
  14228. type: string
  14229. updatetime:
  14230. description: 更新时间
  14231. type: string
  14232. type: object
  14233. models.QhjRSTriggerLog:
  14234. properties:
  14235. accountid:
  14236. description: 用户资金账户
  14237. type: integer
  14238. accountname:
  14239. description: 账号名称(ACCOUNTID对应的名称)
  14240. type: string
  14241. currencyid:
  14242. description: 币种id
  14243. type: integer
  14244. currencyname:
  14245. description: 币种名称
  14246. type: string
  14247. decimalplace:
  14248. description: 商品报价小数位
  14249. type: integer
  14250. enumdicname:
  14251. description: 单位名称
  14252. type: string
  14253. goodscode:
  14254. description: 定投商品代码
  14255. type: string
  14256. goodsid:
  14257. description: 定投商品ID
  14258. type: integer
  14259. goodsname:
  14260. description: 定投商品名称
  14261. type: string
  14262. goodunitid:
  14263. description: 定投商品单位id
  14264. type: integer
  14265. logid:
  14266. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14267. type: string
  14268. logincode:
  14269. description: 账号(登录代码)
  14270. type: string
  14271. qtydecimalplace:
  14272. description: 成交量小数位
  14273. type: integer
  14274. regularlycycle:
  14275. description: 定投频率 - 1:每周 2:每月
  14276. type: integer
  14277. regularlycyclevalue:
  14278. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14279. type: string
  14280. regularlymode:
  14281. description: 定投方式 - 1:按数量 2:按金额
  14282. type: integer
  14283. regularlymodevalue:
  14284. description: 定投方式值 - 数量或金额
  14285. type: number
  14286. regularlystrategyid:
  14287. description: 定投策略ID
  14288. type: integer
  14289. retcode:
  14290. description: 错误码
  14291. type: string
  14292. tradeid:
  14293. description: 成交单ID
  14294. type: string
  14295. triggeramount:
  14296. description: 触发金额
  14297. type: number
  14298. triggerqty:
  14299. description: 触发数量
  14300. type: number
  14301. triggerstatus:
  14302. description: 触发状态 - 1:成功 2:失败
  14303. type: integer
  14304. triggertime:
  14305. description: 触发时间
  14306. type: string
  14307. triggertradedate:
  14308. description: 触发交易日
  14309. type: string
  14310. userid:
  14311. description: 所属用户ID
  14312. type: integer
  14313. userinfotype:
  14314. description: 用户类型 1-个人 2-企业
  14315. type: integer
  14316. username:
  14317. description: 用户名称(userid对应的名称)
  14318. type: string
  14319. type: object
  14320. models.QhjRStrategy:
  14321. properties:
  14322. accountid:
  14323. description: 用户资金账户
  14324. type: integer
  14325. accountname:
  14326. description: 账号名称(ACCOUNTID对应的名称)
  14327. type: string
  14328. currencyid:
  14329. description: 币种id
  14330. type: integer
  14331. currencyname:
  14332. description: 币种名称
  14333. type: string
  14334. decimalplace:
  14335. description: 商品报价小数位
  14336. type: integer
  14337. enumdicname:
  14338. description: 单位名称
  14339. type: string
  14340. goodscode:
  14341. description: 定投商品代码
  14342. type: string
  14343. goodsid:
  14344. description: 定投商品ID
  14345. type: integer
  14346. goodsname:
  14347. description: 定投商品名称
  14348. type: string
  14349. goodunitid:
  14350. description: 定投商品单位id
  14351. type: integer
  14352. lasteffecttradedate:
  14353. description: 最新生效交易日
  14354. type: string
  14355. laststoptradedate:
  14356. description: 最新暂停交易日
  14357. type: string
  14358. lasttriggertradedate:
  14359. description: 最新触发交易日
  14360. type: string
  14361. logincode:
  14362. description: 账号(登录代码)
  14363. type: string
  14364. nexttriggeramount:
  14365. description: 下次触发金额
  14366. type: number
  14367. nexttriggerdate:
  14368. description: 下次触发日期
  14369. type: string
  14370. nexttriggerqty:
  14371. description: 下次触发数量 [按小数位放大值]
  14372. type: number
  14373. qtydecimalplace:
  14374. description: 成交量小数位
  14375. type: integer
  14376. regularlycycle:
  14377. description: 定投频率 - 1:每周 2:每月
  14378. type: integer
  14379. regularlycyclevalue:
  14380. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14381. type: string
  14382. regularlymode:
  14383. description: 定投方式 - 1:按数量 2:按金额
  14384. type: integer
  14385. regularlymodevalue:
  14386. description: 定投方式值 - 数量或金额
  14387. type: number
  14388. regularlystrategyid:
  14389. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14390. type: integer
  14391. regularlystrategystatus:
  14392. description: 策略状态 - 1:正常 2:暂停 3:终止
  14393. type: integer
  14394. remark:
  14395. description: 备注
  14396. type: string
  14397. triggersuccesstimes:
  14398. description: 累计定投成功次数
  14399. type: string
  14400. triggertotalamount:
  14401. description: 累计定投金额(成功)
  14402. type: number
  14403. triggertotalqty:
  14404. description: 累计定投数量(成功) [按小数位放大值]
  14405. type: number
  14406. triggertotaltimes:
  14407. description: 累计定投总次数
  14408. type: string
  14409. updatesrc:
  14410. description: 更新来源 - 1:管理端 2:终端
  14411. type: integer
  14412. updatetime:
  14413. description: 更新时间
  14414. type: string
  14415. updatorid:
  14416. description: 更新人
  14417. type: string
  14418. userid:
  14419. description: 所属用户ID
  14420. type: integer
  14421. userinfotype:
  14422. description: 用户类型 1-个人 2-企业
  14423. type: integer
  14424. username:
  14425. description: 用户名称(userid对应的名称)
  14426. type: string
  14427. type: object
  14428. models.QhjReckonPriceLog:
  14429. properties:
  14430. decimalplace:
  14431. description: 商品报价小数位
  14432. type: integer
  14433. goodscode:
  14434. description: 商品代码
  14435. type: string
  14436. goodsid:
  14437. description: 商品ID
  14438. type: integer
  14439. goodsname:
  14440. description: 商品名称
  14441. type: string
  14442. lastreckonprice:
  14443. description: 上日结算价
  14444. type: number
  14445. nextdnlimitprice:
  14446. description: 下个交易日跌停价
  14447. type: number
  14448. nexttrade:
  14449. description: 下个交易日
  14450. type: string
  14451. nextuplimitprice:
  14452. description: 下个交易日涨停价
  14453. type: number
  14454. reckonprice:
  14455. description: 今日结算价(定投价)
  14456. type: number
  14457. reckontime:
  14458. description: 结算时间
  14459. type: string
  14460. totalholderqty:
  14461. description: 总持仓数
  14462. type: integer
  14463. totalstock:
  14464. description: 总库存
  14465. type: integer
  14466. tradedate:
  14467. description: 交易日
  14468. type: string
  14469. updowncount:
  14470. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14471. type: integer
  14472. updownflag:
  14473. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14474. type: integer
  14475. updownrate:
  14476. description: 今日涨跌幅
  14477. type: number
  14478. updownrate_2d:
  14479. description: 连续两日涨跌幅
  14480. type: number
  14481. updownrate_3d:
  14482. description: 连续三日涨跌幅
  14483. type: number
  14484. type: object
  14485. models.QhjScoreLog:
  14486. properties:
  14487. accountid:
  14488. description: 账户ID
  14489. type: integer
  14490. createtime:
  14491. description: 创建时间(时间)
  14492. type: string
  14493. goodsid:
  14494. description: 商品ID
  14495. type: integer
  14496. hasuploaded:
  14497. description: 是否已同步(千海金) 0:未同步 1;已同步
  14498. type: integer
  14499. logid:
  14500. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14501. type: string
  14502. marketid:
  14503. description: 市场ID
  14504. type: integer
  14505. relatedamount:
  14506. description: 关联金额
  14507. type: number
  14508. relatedorderid:
  14509. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14510. type: string
  14511. scoreconfigvalue1:
  14512. description: 积分配置1
  14513. type: integer
  14514. scoreconfigvalue2:
  14515. description: 积分配置1
  14516. type: integer
  14517. scoretype:
  14518. description: 积分类型 - 1:提货积分
  14519. type: integer
  14520. scorevalue:
  14521. description: 积分
  14522. type: number
  14523. tradedate:
  14524. description: 交易日(yyyyMMdd)
  14525. type: string
  14526. uploadedtime:
  14527. description: 同步时间
  14528. type: string
  14529. userid:
  14530. description: 用户ID
  14531. type: integer
  14532. type: object
  14533. models.QhjSiteColumnDetail:
  14534. properties:
  14535. author:
  14536. description: 作者
  14537. type: string
  14538. brief:
  14539. description: 简介
  14540. type: string
  14541. columnid:
  14542. description: 所属栏目
  14543. type: integer
  14544. context:
  14545. description: 内容
  14546. type: string
  14547. coverimage:
  14548. description: 封面图片
  14549. type: string
  14550. creaedate:
  14551. description: 创建时间
  14552. type: string
  14553. creatorid:
  14554. description: 创建人
  14555. type: integer
  14556. hits:
  14557. description: 点击数
  14558. type: integer
  14559. id:
  14560. description: ID(SEQ_SITE_COLUMNDETAIL)
  14561. type: integer
  14562. isshow:
  14563. description: 是否展示 - 0:不展示 1:展示
  14564. type: integer
  14565. istop:
  14566. description: 是否置顶 - 0:不置 1:置顶
  14567. type: integer
  14568. modifierid:
  14569. description: 操作人
  14570. type: integer
  14571. publishdate:
  14572. description: 发布日期
  14573. type: string
  14574. status:
  14575. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14576. type: integer
  14577. title:
  14578. description: 标题
  14579. type: string
  14580. updatedate:
  14581. description: 修改时间
  14582. type: string
  14583. userid:
  14584. description: 用户ID(默认为0, 核心为为机构用户ID)
  14585. type: integer
  14586. username:
  14587. description: 用户名称
  14588. type: string
  14589. type: object
  14590. models.QhjTeamOrder:
  14591. properties:
  14592. accountid:
  14593. description: 账户ID[报价币种]
  14594. type: integer
  14595. accountname:
  14596. description: 账户名称
  14597. type: string
  14598. agreeunit:
  14599. description: 合约乘数
  14600. type: number
  14601. buyorsell:
  14602. description: 方向 - 0:买 1:卖
  14603. type: integer
  14604. decimalplace:
  14605. description: 报价小数位
  14606. type: integer
  14607. enumdicname:
  14608. description: 单位名称
  14609. type: string
  14610. goodscode:
  14611. description: 商品代码(内部)
  14612. type: string
  14613. goodsid:
  14614. description: 商品ID
  14615. type: integer
  14616. goodsname:
  14617. description: 商品名称
  14618. type: string
  14619. goodunitid:
  14620. description: 报价单位ID
  14621. type: integer
  14622. marketid:
  14623. description: 市场ID
  14624. type: integer
  14625. marketname:
  14626. description: 市场名称
  14627. type: string
  14628. qtydecimalplace:
  14629. description: 成交量小数位
  14630. type: integer
  14631. refereeuserid:
  14632. description: 推荐人ID
  14633. type: integer
  14634. tradeamount:
  14635. description: 成交金额[账户币种,用于所有权]
  14636. type: number
  14637. tradedate:
  14638. description: 交易日(yyyyMMdd)
  14639. type: string
  14640. trademode:
  14641. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14642. 21:竞拍-大宗式 22:受托竞价
  14643. type: integer
  14644. tradeprice:
  14645. description: 成交价格
  14646. type: number
  14647. tradeqty:
  14648. description: 成交数量
  14649. type: number
  14650. tradetime:
  14651. description: 成交时间
  14652. type: string
  14653. userid:
  14654. description: 用户ID
  14655. type: integer
  14656. type: object
  14657. models.QhjTradeGoodsPickup:
  14658. properties:
  14659. accountid:
  14660. description: 账户ID
  14661. type: integer
  14662. address:
  14663. description: 提货人详细地址
  14664. type: string
  14665. amount:
  14666. description: 提货金额
  14667. type: number
  14668. artradedate:
  14669. description: 自动收货交易日(yyyyMMdd)
  14670. type: string
  14671. auditer:
  14672. description: 审核人
  14673. type: integer
  14674. auditsrc:
  14675. description: 更新来源 - 1:管理端 2:终端
  14676. type: integer
  14677. audittime:
  14678. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14679. type: string
  14680. audittradedate:
  14681. description: 审核交易日(yyyyMMdd)
  14682. type: string
  14683. cardnum:
  14684. description: 提货人证件号码
  14685. type: string
  14686. cardtypeid:
  14687. description: 提货人证件类型
  14688. type: integer
  14689. checkremark:
  14690. description: 审核备注
  14691. type: string
  14692. cityid:
  14693. description: 市
  14694. type: integer
  14695. cityname:
  14696. description: 城市名称
  14697. type: string
  14698. confirmtime:
  14699. description: 取货时间 或 收货时间
  14700. type: string
  14701. countryid:
  14702. description: 国家
  14703. type: integer
  14704. countryname:
  14705. description: 国家名称
  14706. type: string
  14707. decimalplace:
  14708. description: 商品报价小数位
  14709. type: integer
  14710. districtid:
  14711. description: 地区
  14712. type: integer
  14713. districtname:
  14714. description: 地区名称
  14715. type: string
  14716. enumdicname:
  14717. description: 单位名称(提货商品)
  14718. type: string
  14719. expresscompany:
  14720. description: 物流公司
  14721. type: string
  14722. expressnum:
  14723. description: 物流单号
  14724. type: string
  14725. goodsagreeunit:
  14726. description: 交易商品乘数
  14727. type: number
  14728. goodscode:
  14729. description: 商品代码
  14730. type: string
  14731. goodsid:
  14732. description: 商品ID
  14733. type: integer
  14734. goodsname:
  14735. description: 商品名称
  14736. type: string
  14737. goodsqty:
  14738. description: 交易商品手数(69模式按成交量小数位放大取整)
  14739. type: number
  14740. handlestatus:
  14741. description: 处理状态
  14742. type: integer
  14743. logincode:
  14744. description: 账号(登录代码, 有可能为空)
  14745. type: string
  14746. marketid:
  14747. description: 市场ID
  14748. type: integer
  14749. phonenum:
  14750. description: 提货人联系方式
  14751. type: string
  14752. pickupgoodsagreeunit:
  14753. description: 提货商品合约乘数
  14754. type: number
  14755. pickupgoodsid:
  14756. description: 提货商品ID
  14757. type: string
  14758. pickupgoodsname:
  14759. description: 提货商品名称
  14760. type: string
  14761. pickupgoodsqty:
  14762. description: 提货商品手数(数量)
  14763. type: number
  14764. pickupgoodsunitid:
  14765. description: 单位ID(提货商品)
  14766. type: integer
  14767. pickupratio:
  14768. description: 提货系数
  14769. type: number
  14770. preparedays:
  14771. description: 备货期(天)-提货单明细表
  14772. type: integer
  14773. provinceid:
  14774. description: 省
  14775. type: integer
  14776. provincename:
  14777. description: 省名称
  14778. type: string
  14779. qty:
  14780. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14781. type: number
  14782. qtydecimalplace:
  14783. description: 商品数量小数位
  14784. type: integer
  14785. recivername:
  14786. description: 提货人姓名
  14787. type: string
  14788. reqtime:
  14789. description: 提货申请时间
  14790. type: string
  14791. storeuserid:
  14792. description: 门店用户ID (千海金)
  14793. type: integer
  14794. storeusername:
  14795. description: 门店用户名称
  14796. type: string
  14797. takemode:
  14798. description: 提货方式 - 2:自提 3:配送(邮寄)
  14799. type: integer
  14800. takeorderid:
  14801. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14802. type: string
  14803. takeorderstatus:
  14804. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14805. 7:已拒绝 8:已撤销
  14806. type: integer
  14807. takeremark:
  14808. description: 提货备注
  14809. type: string
  14810. tradedate:
  14811. description: 交易日(yyyyMMdd)
  14812. type: string
  14813. updatetime:
  14814. description: 更新时间
  14815. type: string
  14816. userid:
  14817. description: 用户ID
  14818. type: integer
  14819. userinfotype:
  14820. description: 客户类型 1-个人 2-企业
  14821. type: integer
  14822. username:
  14823. description: 用户名称
  14824. type: string
  14825. type: object
  14826. models.QhjUserNodeCfgAndStatus:
  14827. properties:
  14828. agreementcontent:
  14829. description: 协议内容
  14830. type: string
  14831. agreementid:
  14832. description: 协议ID
  14833. type: integer
  14834. agreementname:
  14835. description: 协议名称
  14836. type: string
  14837. agreementno:
  14838. description: 协议编号
  14839. type: string
  14840. agreementtype:
  14841. description: 协议类型 - 1:注册 2:登录 3:交易
  14842. type: integer
  14843. agreementversion:
  14844. description: 协议版本号
  14845. type: integer
  14846. configid:
  14847. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14848. type: integer
  14849. createtime:
  14850. description: 创建时间
  14851. type: string
  14852. goodsid:
  14853. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14854. type: integer
  14855. nodetype:
  14856. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14857. type: integer
  14858. signtimestamp:
  14859. description: 签约状态时间戳(最近一次)
  14860. type: string
  14861. tradedate:
  14862. description: 签约交易日(yyyyMMdd)
  14863. type: string
  14864. userid:
  14865. description: 客户ID
  14866. type: integer
  14867. type: object
  14868. models.Qhjgoodsex:
  14869. properties:
  14870. canfinance:
  14871. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14872. type: integer
  14873. canregularlybuy:
  14874. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14875. type: integer
  14876. defaulttradeuserid:
  14877. description: 默认交易用户ID
  14878. type: integer
  14879. deliverygoodsid:
  14880. description: 现货品种ID
  14881. type: integer
  14882. goodsid:
  14883. description: 商品ID(自增ID SEQ_GOODS)
  14884. type: integer
  14885. minamount:
  14886. description: 最小购买金额
  14887. type: number
  14888. regularlybuyminamount:
  14889. description: 定投最小金额
  14890. type: number
  14891. regularlybuyminqty:
  14892. description: 定投最小数量
  14893. type: number
  14894. spotgoodsbrandid:
  14895. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14896. type: integer
  14897. visibilityforenterprise:
  14898. description: 企业客户是否可见 - 0:不可见 1:可见
  14899. type: integer
  14900. visibilityforpersonal:
  14901. description: 个人客户是否可见 - 0:不可见 1:可见
  14902. type: integer
  14903. wrstandardid:
  14904. description: 现货商品ID
  14905. type: integer
  14906. type: object
  14907. models.QueryErrorInfosRsp:
  14908. properties:
  14909. description:
  14910. description: 异常描述
  14911. type: string
  14912. errorcode:
  14913. description: 异常代码
  14914. type: string
  14915. errorid:
  14916. description: 异常ID
  14917. type: integer
  14918. modulecode:
  14919. description: 所属模块
  14920. type: string
  14921. operatecode:
  14922. description: 所属操作
  14923. type: string
  14924. rownumber:
  14925. description: 行号
  14926. type: string
  14927. required:
  14928. - errorid
  14929. type: object
  14930. models.QueryHedgeOrderDetailRsp:
  14931. properties:
  14932. accountid:
  14933. description: 账户ID
  14934. type: integer
  14935. buyorsell:
  14936. description: 买卖 - 0:买 1:卖
  14937. type: integer
  14938. cancellogincode:
  14939. description: 撤单人
  14940. type: string
  14941. channelbuildtype:
  14942. description: 开平标志 - 0:无 1:建仓 2:平仓
  14943. type: integer
  14944. channelinnerorderstatus:
  14945. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14946. 9:全部成交
  14947. type: integer
  14948. channeloperatetype:
  14949. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14950. type: integer
  14951. closetype:
  14952. description: 平仓方式 - 0:无 1:平今 2:平昨
  14953. type: integer
  14954. curexchangerate:
  14955. description: 当前汇率
  14956. type: number
  14957. decimalplace:
  14958. description: 商品报价小数位
  14959. type: integer
  14960. exchangefullname:
  14961. description: 外部交易所全称
  14962. type: string
  14963. goodscode:
  14964. description: 商品代码(内部)
  14965. type: string
  14966. goodsid:
  14967. description: 商品ID
  14968. type: integer
  14969. goodsname:
  14970. description: 商品名称
  14971. type: string
  14972. marketid:
  14973. description: 市场ID
  14974. type: integer
  14975. openfreezemargin:
  14976. description: 冻结保证金(冻结交易金额)
  14977. type: number
  14978. orderid:
  14979. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14980. type: string
  14981. orderlogincode:
  14982. description: 委托人
  14983. type: string
  14984. orderprice:
  14985. description: 委托价格(账户)
  14986. type: number
  14987. orderqty:
  14988. description: 委托数量
  14989. type: integer
  14990. ordertime:
  14991. description: 委托时间
  14992. type: string
  14993. pricemode:
  14994. description: '取价方式 - 1:市价 2: 限价'
  14995. type: integer
  14996. tradedate:
  14997. description: 交易日(yyyyMMdd)
  14998. type: string
  14999. tradeqty:
  15000. description: 成交数量
  15001. type: integer
  15002. type: object
  15003. models.QueryHedgeTradeDetailRsp:
  15004. properties:
  15005. accountid:
  15006. description: 账号ID
  15007. type: integer
  15008. buyorsell:
  15009. description: 方向 - 0:买 1:卖
  15010. type: integer
  15011. channelbuildtype:
  15012. description: 委托单据类型 0:无 1:建仓 2:平仓
  15013. type: integer
  15014. closecharge:
  15015. description: 平仓手续费(账户)
  15016. type: number
  15017. closecharge2:
  15018. description: 平仓手续费(商品)
  15019. type: number
  15020. closepl:
  15021. description: 平仓盈亏(账户)
  15022. type: number
  15023. closepl2:
  15024. description: 平仓盈亏(商品)
  15025. type: number
  15026. closepl3:
  15027. description: 平仓盈亏(账户)(逐笔)
  15028. type: number
  15029. closepl4:
  15030. description: 平仓盈亏(商品)(逐笔)
  15031. type: number
  15032. closetype:
  15033. description: 平仓方式 - 0:无 1:平今 2:平昨
  15034. type: integer
  15035. curexchangerate:
  15036. description: 当前汇率
  15037. type: number
  15038. decimalplace:
  15039. description: 商品报价小数位
  15040. type: integer
  15041. exchangefullname:
  15042. description: 外部交易所全称
  15043. type: string
  15044. goodscode:
  15045. description: 商品代码(内部)
  15046. type: string
  15047. goodsid:
  15048. description: 商品ID
  15049. type: integer
  15050. goodsname:
  15051. description: 商品名称
  15052. type: string
  15053. marketid:
  15054. description: 市场ID
  15055. type: integer
  15056. opencharge:
  15057. description: 建仓手续费(账户)
  15058. type: number
  15059. opencharge2:
  15060. description: 建仓手续费(商品)
  15061. type: number
  15062. orderid:
  15063. description: 委托单号
  15064. type: string
  15065. orderlogincode:
  15066. description: 委托人
  15067. type: string
  15068. tradeamount:
  15069. description: 成交金额(账户)
  15070. type: number
  15071. tradedate:
  15072. description: 交易日(yyyyMMdd)
  15073. type: string
  15074. tradeid:
  15075. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15076. type: string
  15077. tradeprice:
  15078. description: 成交价格
  15079. type: number
  15080. tradeqty:
  15081. description: 成交数量
  15082. type: integer
  15083. tradetime:
  15084. description: 成交时间
  15085. type: string
  15086. tradetype:
  15087. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15088. type: integer
  15089. type: object
  15090. models.QuotePrimaryMenu:
  15091. properties:
  15092. Index:
  15093. description: 序号
  15094. type: integer
  15095. Key:
  15096. description: 键名
  15097. type: string
  15098. Name:
  15099. description: 菜单名称
  15100. type: string
  15101. SubMenus:
  15102. description: 子菜单
  15103. items:
  15104. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15105. type: array
  15106. SubTitleType:
  15107. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15108. type: integer
  15109. TradeModes:
  15110. description: 包含市场交易类型
  15111. type: string
  15112. type: object
  15113. models.QuoteSecondaryMenu:
  15114. properties:
  15115. ExExchangeCode:
  15116. description: 外部交易所代码
  15117. type: string
  15118. ExExchangeID:
  15119. description: 外部交易所ID
  15120. type: integer
  15121. GoodsGroupIDs:
  15122. description: 商品组ID列表
  15123. items:
  15124. type: integer
  15125. type: array
  15126. Index:
  15127. description: 序号
  15128. type: integer
  15129. MarketID:
  15130. description: 市场ID
  15131. type: integer
  15132. MenuTitle:
  15133. description: 菜单标题(市场名称或外部交易所名称)
  15134. type: string
  15135. TradeMode:
  15136. description: 交易模式
  15137. type: integer
  15138. type: object
  15139. models.RelatedTaAccount:
  15140. properties:
  15141. accountid:
  15142. description: 资金账户ID
  15143. type: integer
  15144. type: object
  15145. models.RoleMenu:
  15146. properties:
  15147. hasright:
  15148. description: 是否有权限 0-没有权限 1-有权限
  15149. type: integer
  15150. iconame:
  15151. description: 菜单图标
  15152. type: string
  15153. menutype:
  15154. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15155. type: integer
  15156. parentcode:
  15157. description: 上级资源代码
  15158. type: string
  15159. remark:
  15160. description: 菜单备注
  15161. type: string
  15162. resourcecode:
  15163. description: 菜单代码
  15164. type: string
  15165. resourcelevel:
  15166. description: 级别
  15167. type: integer
  15168. resourcename:
  15169. description: 菜单名称
  15170. type: string
  15171. roleid:
  15172. description: 角色id
  15173. type: integer
  15174. sort:
  15175. description: 排序
  15176. type: integer
  15177. subMenu:
  15178. description: 子级菜单(结构同上层一样, swag解析不出来)
  15179. items:
  15180. $ref: '#/definitions/models.RoleMenu'
  15181. type: array
  15182. url:
  15183. description: URL
  15184. type: string
  15185. userid:
  15186. description: 用户id
  15187. type: integer
  15188. type: object
  15189. models.SearchGoods:
  15190. properties:
  15191. goodscode:
  15192. description: 商品代码(内部)
  15193. type: string
  15194. goodsid:
  15195. description: 商品ID(自增ID SEQ_GOODS)
  15196. type: integer
  15197. goodsname:
  15198. description: 商品名称
  15199. type: string
  15200. marketid:
  15201. description: 所属市场ID
  15202. type: integer
  15203. marketname:
  15204. description: 市场名称
  15205. type: string
  15206. trademode:
  15207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15208. 21:竞拍-大宗式 22:受托竞价
  15209. type: integer
  15210. required:
  15211. - goodscode
  15212. - goodsid
  15213. - goodsname
  15214. - marketid
  15215. - trademode
  15216. type: object
  15217. models.SellOrder:
  15218. properties:
  15219. accountid:
  15220. description: 资金账号
  15221. type: integer
  15222. applyid:
  15223. description: 申请单ID
  15224. type: integer
  15225. attachment1:
  15226. description: 附件1
  15227. type: string
  15228. attachment2:
  15229. description: 附件2
  15230. type: string
  15231. buyorsell:
  15232. description: 买卖 - 0:买 1:卖
  15233. type: integer
  15234. canbargain:
  15235. description: 是否可议价 - 0:不可 1:可
  15236. type: integer
  15237. cancelqty:
  15238. description: 撤销数量
  15239. type: integer
  15240. canceltime:
  15241. description: 撤销时间
  15242. type: string
  15243. cerno:
  15244. type: string
  15245. chargealgorithm:
  15246. description: 手续费收取方式 1:比率 2:固定
  15247. type: integer
  15248. chargealgorithmvalue:
  15249. description: 手续费设置值(交易所部分)
  15250. type: number
  15251. chargealgorithmvalue2:
  15252. description: 手续费设置值(会员部分)
  15253. type: number
  15254. clientordertime:
  15255. description: 客户端委托时间
  15256. type: string
  15257. cpcertno:
  15258. type: string
  15259. exchangerate:
  15260. description: 汇率[67]
  15261. type: number
  15262. firstratio:
  15263. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15264. type: number
  15265. fixedprice:
  15266. description: '[克拉单价]固定价格 - [挂牌]'
  15267. type: number
  15268. freezecharge:
  15269. description: 冻结手续费
  15270. type: number
  15271. freezefirstamount:
  15272. description: 冻结首付金额 - [摘牌]
  15273. type: number
  15274. freezemargin:
  15275. description: 冻结保证金
  15276. type: number
  15277. goodsno:
  15278. description: 商品编号
  15279. type: string
  15280. imagepath:
  15281. type: string
  15282. isQueryDiamond:
  15283. description: 是否钻石查询
  15284. type: boolean
  15285. isspecified:
  15286. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15287. type: integer
  15288. kppath:
  15289. type: string
  15290. kpweight:
  15291. type: string
  15292. marginalgorithm:
  15293. description: 保证金方式 - 1:比率 2:固定
  15294. type: integer
  15295. marginvalue:
  15296. description: 保证金设置值
  15297. type: number
  15298. marketid:
  15299. description: 市场ID
  15300. type: integer
  15301. marketprice:
  15302. type: string
  15303. orderamount:
  15304. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15305. type: number
  15306. ordertime:
  15307. description: 委托时间
  15308. type: string
  15309. performancetemplateid:
  15310. description: 履约计划模板ID
  15311. type: integer
  15312. price:
  15313. description: 价格
  15314. type: number
  15315. pricefactor:
  15316. description: 价格系数(浮动价时填写) - [挂牌]
  15317. type: number
  15318. pricemove:
  15319. description: 升贴水(浮动价时填写) - [挂牌]
  15320. type: number
  15321. priceper:
  15322. type: string
  15323. relatedwrtradeorderid:
  15324. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15325. type: integer
  15326. remainqty:
  15327. description: 剩余重量
  15328. type: number
  15329. remark:
  15330. type: string
  15331. retcode:
  15332. description: 错误代码
  15333. type: integer
  15334. sellusername:
  15335. description: 卖方(查询字段-模糊查询)
  15336. type: string
  15337. settingmaterial:
  15338. type: string
  15339. size1:
  15340. type: string
  15341. size2:
  15342. type: string
  15343. size3:
  15344. type: string
  15345. sizedisplay:
  15346. description: 尺寸
  15347. type: string
  15348. stonedesc:
  15349. type: string
  15350. totalqty:
  15351. description: 总重量
  15352. type: number
  15353. tradedate:
  15354. description: 交易日(yyyyMMdd)
  15355. type: string
  15356. tradeprice:
  15357. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15358. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15359. type: number
  15360. unfreezecharge:
  15361. description: 解冻手续费
  15362. type: number
  15363. unfreezefirstamount:
  15364. description: 解冻首付金额 - [摘牌]
  15365. type: number
  15366. unfreezemargin:
  15367. description: 解冻保证金
  15368. type: number
  15369. userid:
  15370. description: 用户ID
  15371. type: integer
  15372. uuid:
  15373. description: 发起端唯一id
  15374. type: string
  15375. validtime:
  15376. description: 有效期限
  15377. type: string
  15378. validtype:
  15379. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15380. type: integer
  15381. warehousenamedisplay:
  15382. type: string
  15383. wrbargainid:
  15384. description: 议价申请单ID
  15385. type: integer
  15386. wrfactortypeid:
  15387. description: 仓单要素类型ID/商品ID(77)
  15388. type: integer
  15389. wrpath:
  15390. type: string
  15391. wrpricetype:
  15392. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15393. type: integer
  15394. wrstandardid:
  15395. description: 现货商品ID
  15396. type: integer
  15397. wrtradeorderid:
  15398. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15399. type: string
  15400. wrtradeorderstatus:
  15401. 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:撤单解冻贷款失败
  15402. type: integer
  15403. wrtradetype:
  15404. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15405. type: integer
  15406. wrtransferuserid:
  15407. description: 仓单受让用户 - [摘牌]
  15408. type: integer
  15409. zscategory:
  15410. description: 钻石分类 - 枚举”ZSCategory“
  15411. type: integer
  15412. zscategorydisplay:
  15413. description: 钻石分类 - 描述
  15414. type: string
  15415. zscerttypedisplay:
  15416. type: string
  15417. zsclaritytype1display:
  15418. type: string
  15419. zsclaritytype2display:
  15420. type: string
  15421. zscolortype1display:
  15422. type: string
  15423. zscolortype2display:
  15424. type: string
  15425. zscrystaltype:
  15426. type: string
  15427. zscrystaltypedisplay:
  15428. type: string
  15429. zscurrencytype:
  15430. description: 货币类型 - 枚举“ZSCurrencyType”
  15431. type: integer
  15432. zscurrencytypedisplay:
  15433. type: string
  15434. zscurrencytypedisplayunit:
  15435. type: string
  15436. zscuttype1display:
  15437. type: string
  15438. zscuttype2display:
  15439. type: string
  15440. zsczcolor1typedisplay:
  15441. type: string
  15442. zsczcolor2typedisplay:
  15443. type: string
  15444. zsczcolor3typedisplay:
  15445. type: string
  15446. zsfluorescencetype1display:
  15447. type: string
  15448. zsfluorescencetype2display:
  15449. type: string
  15450. zspolishtype1display:
  15451. type: string
  15452. zspolishtype2display:
  15453. type: string
  15454. zsshapetypedisplay:
  15455. type: string
  15456. zsstyletypedisplay:
  15457. type: string
  15458. zssymmetrytype1display:
  15459. type: string
  15460. zssymmetrytype2display:
  15461. type: string
  15462. type: object
  15463. models.SellOrderQueryReq:
  15464. properties:
  15465. origin:
  15466. description: 原产地
  15467. type: string
  15468. page:
  15469. description: 页码
  15470. type: integer
  15471. pagesize:
  15472. description: 每页大小
  15473. type: integer
  15474. total:
  15475. description: 总条数
  15476. type: integer
  15477. warehouseid:
  15478. description: 仓库ID
  15479. type: integer
  15480. weight1:
  15481. description: 总重量(克拉重量)-从
  15482. type: number
  15483. weight2:
  15484. description: 总重量(克拉重量)-至
  15485. type: number
  15486. weightavg1:
  15487. description: 平均单颗重量-从
  15488. type: number
  15489. weightavg2:
  15490. description: 平均单颗重量-至
  15491. type: number
  15492. zscategory:
  15493. description: 钻石分类 - 枚举”ZSCategory“
  15494. type: integer
  15495. zscerttype:
  15496. description: 证书类型
  15497. items:
  15498. type: string
  15499. type: array
  15500. zsclaritytype:
  15501. description: 净度
  15502. items:
  15503. type: integer
  15504. type: array
  15505. zscolortype:
  15506. description: 颜色
  15507. items:
  15508. type: integer
  15509. type: array
  15510. zscurrencytype:
  15511. description: 货币类型 - 枚举“ZSCurrencyType”
  15512. items:
  15513. type: string
  15514. type: array
  15515. zscuttype:
  15516. description: 切工
  15517. items:
  15518. type: integer
  15519. type: array
  15520. zsczcolor1type:
  15521. description: 彩钻颜色1
  15522. items:
  15523. type: string
  15524. type: array
  15525. zsfluorescencetype:
  15526. description: 荧光
  15527. items:
  15528. type: integer
  15529. type: array
  15530. zspolishtype:
  15531. description: 抛光度
  15532. items:
  15533. type: integer
  15534. type: array
  15535. zsshapetype:
  15536. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15537. items:
  15538. type: string
  15539. type: array
  15540. zsstyletype:
  15541. description: 款式
  15542. items:
  15543. type: string
  15544. type: array
  15545. zssymmetrytype:
  15546. description: 对称度
  15547. items:
  15548. type: integer
  15549. type: array
  15550. required:
  15551. - zscategory
  15552. type: object
  15553. models.Systemparam:
  15554. properties:
  15555. loginid:
  15556. description: 更新用户账号,登录账号
  15557. type: string
  15558. modifyflag:
  15559. description: 修改标志0 不允许修改 1 允许修改
  15560. type: integer
  15561. paramcode:
  15562. description: 参数代码
  15563. type: string
  15564. paramname:
  15565. description: 参数名
  15566. type: string
  15567. paramtype:
  15568. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15569. type: integer
  15570. paramvalue:
  15571. description: 参数值
  15572. type: string
  15573. paramvalue2:
  15574. description: 参数值(CLOB)
  15575. type: string
  15576. regexpress:
  15577. description: 正则表达式
  15578. type: string
  15579. remark:
  15580. description: 备注
  15581. type: string
  15582. serverip:
  15583. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15584. type: string
  15585. showflag:
  15586. description: 是否显示0 不显示 1 显示
  15587. type: integer
  15588. updatetime:
  15589. description: 更新时间
  15590. type: string
  15591. userid:
  15592. description: 更新用户ID
  15593. type: integer
  15594. required:
  15595. - paramcode
  15596. type: object
  15597. models.Szdz3convertconfig:
  15598. properties:
  15599. canin:
  15600. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15601. type: integer
  15602. canout:
  15603. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15604. type: integer
  15605. converttype:
  15606. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15607. 6:交易转花生米(不设置)
  15608. type: integer
  15609. createtime:
  15610. description: 创建时间
  15611. type: string
  15612. creatorid:
  15613. description: 创建人
  15614. type: integer
  15615. daymaxvalue:
  15616. description: 当日最大转入限制
  15617. type: number
  15618. freezedays:
  15619. description: 冻结天数 [5:花生米转交易]
  15620. type: integer
  15621. innergoodsid:
  15622. description: 内部商品ID[交易]
  15623. type: integer
  15624. inratio:
  15625. description: 目标值
  15626. type: integer
  15627. modifierid:
  15628. description: 修改人
  15629. type: integer
  15630. modifytime:
  15631. description: 修改时间
  15632. type: string
  15633. outergoodscode:
  15634. description: 外部商品代码[JD\PD]
  15635. type: string
  15636. outratio:
  15637. description: 源值
  15638. type: integer
  15639. pddecimalplace:
  15640. description: PD小数位
  15641. type: integer
  15642. timemaxvalue:
  15643. description: 单次最大转入限制
  15644. type: number
  15645. timeminvalue:
  15646. description: 单次最小转入限制
  15647. type: number
  15648. required:
  15649. - converttype
  15650. - innergoodsid
  15651. - outergoodscode
  15652. type: object
  15653. models.Szdz3searchwhitelist:
  15654. properties:
  15655. createtime:
  15656. description: 创建时间
  15657. type: string
  15658. creatorid:
  15659. description: 创建人
  15660. type: integer
  15661. modifierid:
  15662. description: 修改人
  15663. type: integer
  15664. modifytime:
  15665. description: 修改时间
  15666. type: string
  15667. userid:
  15668. description: 用户ID
  15669. type: integer
  15670. required:
  15671. - userid
  15672. type: object
  15673. models.TBGoods:
  15674. properties:
  15675. agreeunit:
  15676. description: 合约乘数
  15677. type: number
  15678. enumdicname:
  15679. description: 单位名称
  15680. type: string
  15681. goodscode:
  15682. description: 商品代码(内部)
  15683. type: string
  15684. goodsid:
  15685. description: 商品ID(自增ID SEQ_GOODS)
  15686. type: integer
  15687. goodsname:
  15688. description: 商品名称
  15689. type: string
  15690. type: object
  15691. models.TBGoodsGroup:
  15692. properties:
  15693. GDLST:
  15694. description: 商品列表
  15695. items:
  15696. $ref: '#/definitions/models.TBGoods'
  15697. type: array
  15698. convertratio:
  15699. description: 折算系数
  15700. type: number
  15701. enumdicname:
  15702. description: 单位名称
  15703. type: string
  15704. exexchangecode:
  15705. description: 交易所代码
  15706. type: string
  15707. exexchangename:
  15708. description: 交易所名称
  15709. type: string
  15710. goodsgroupid:
  15711. description: 商品组ID(自增ID)
  15712. type: integer
  15713. goodsgroupname:
  15714. description: 商品组名称
  15715. type: string
  15716. goodunitid:
  15717. description: 报价单位ID
  15718. type: integer
  15719. type: object
  15720. models.TBMiddleGoods:
  15721. properties:
  15722. GPLST:
  15723. description: 期货品种列表
  15724. items:
  15725. $ref: '#/definitions/models.TBGoodsGroup'
  15726. type: array
  15727. WDLST:
  15728. description: 商品信息列表(现货品类)
  15729. items:
  15730. $ref: '#/definitions/models.TBWrstandard'
  15731. type: array
  15732. areauserid:
  15733. description: 机构用户ID
  15734. type: integer
  15735. enumdicname:
  15736. description: 单位名称
  15737. type: string
  15738. goodsunitid:
  15739. description: 套保品种单位id
  15740. type: integer
  15741. middlegoodscode:
  15742. description: 套保品种代码
  15743. type: string
  15744. middlegoodsid:
  15745. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15746. type: integer
  15747. middlegoodsname:
  15748. description: 套保品种名称
  15749. type: string
  15750. needarbitrageratio:
  15751. description: 套利比率
  15752. type: number
  15753. needhedgeratio:
  15754. description: 套保比率
  15755. type: number
  15756. type: object
  15757. models.TBWrstandard:
  15758. properties:
  15759. convertratio:
  15760. description: 折算系数
  15761. type: number
  15762. deliverygoodsname:
  15763. description: 品种名称
  15764. type: string
  15765. enumdicname:
  15766. description: 单位名称
  15767. type: string
  15768. vatrate:
  15769. description: 增值税率
  15770. type: number
  15771. wrstandardcode:
  15772. description: 现货商品代码
  15773. type: string
  15774. wrstandardid:
  15775. description: 现货商品ID(SEQ_WRSTANDARD)
  15776. type: integer
  15777. wrstandardname:
  15778. description: 现货商品名称
  15779. type: string
  15780. type: object
  15781. models.Taaccount:
  15782. properties:
  15783. accountflag:
  15784. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15785. type: integer
  15786. accountid:
  15787. description: 资金账户ID
  15788. type: integer
  15789. accountname:
  15790. description: 账户名称
  15791. type: string
  15792. balance:
  15793. description: 期初余额
  15794. type: number
  15795. capitalbalance:
  15796. description: 本金余额[外部子账户实际出入金余额]
  15797. type: number
  15798. changeflag:
  15799. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15800. type: integer
  15801. changetime:
  15802. description: 账户状态变更时间
  15803. type: string
  15804. closepl:
  15805. description: 今日平仓盈亏
  15806. type: number
  15807. creditdecrease:
  15808. description: 今日授信减少
  15809. type: number
  15810. creditincrease:
  15811. description: 今日授信增加
  15812. type: number
  15813. curamount:
  15814. description: 总市值(从持仓中统计)
  15815. type: number
  15816. currencyid:
  15817. description: 货币ID
  15818. type: integer
  15819. currentbalance:
  15820. description: 期末余额
  15821. type: number
  15822. freezecharge:
  15823. description: 手续费冻结
  15824. type: number
  15825. freezemargin:
  15826. description: 冻结保证金
  15827. type: number
  15828. fromaccountid:
  15829. description: 所属上级账户
  15830. type: integer
  15831. inamount:
  15832. description: 今日入金金额(包括三方入金)
  15833. type: number
  15834. ismain:
  15835. description: 是否母账号 0:不是母账户 1:是母账户
  15836. type: integer
  15837. ismarketaccount:
  15838. description: 是否机构接单账号 0:不是 1:是
  15839. type: integer
  15840. isreckonaccount:
  15841. description: 是否机构分润账号 0:不是 1:是
  15842. type: integer
  15843. mortgagecredit:
  15844. description: 授信金额
  15845. type: number
  15846. orifreezecharge:
  15847. description: 期初手续费冻结
  15848. type: number
  15849. orifreezemargin:
  15850. description: 期初冻结保证金
  15851. type: number
  15852. orimortgagecredit:
  15853. description: 期初授信金额
  15854. type: number
  15855. oriothercredit:
  15856. description: 期初其它授信金额
  15857. type: number
  15858. oriotherfreezemargin:
  15859. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15860. type: number
  15861. orioutamountfreeze:
  15862. description: 期初出金冻结
  15863. type: number
  15864. oriusedmargin:
  15865. description: 期初占用保证金
  15866. type: number
  15867. othercredit:
  15868. description: 其它授信金额
  15869. type: number
  15870. othercreditdecrease:
  15871. description: 今日其它授信减少
  15872. type: number
  15873. othercreditincrease:
  15874. description: 今日其它授信增加
  15875. type: number
  15876. otherfreezemargin:
  15877. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15878. type: number
  15879. otherincome:
  15880. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15881. type: number
  15882. otherpay:
  15883. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15884. type: number
  15885. outamount:
  15886. description: 今日出金金额(包括三方出金)
  15887. type: number
  15888. outamountfreeze:
  15889. description: 出金冻结
  15890. type: number
  15891. outthreshold:
  15892. description: 出金阈值
  15893. type: number
  15894. parentaccountid:
  15895. description: 所属根账号
  15896. type: integer
  15897. paycharge:
  15898. description: 今日手续费支出
  15899. type: number
  15900. relatedaccountstatus:
  15901. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15902. type: integer
  15903. relateduserid:
  15904. description: 关联用户
  15905. type: integer
  15906. remainamount:
  15907. description: 融资额(从融资合同中统计)
  15908. type: number
  15909. serivcegroup:
  15910. description: 服务分组
  15911. type: integer
  15912. signstatus:
  15913. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15914. type: integer
  15915. sublevelpath:
  15916. description: 账号层级路径(逗号分隔,首尾加逗号)
  15917. type: string
  15918. taaccounttype:
  15919. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15920. type: integer
  15921. thirdinamount:
  15922. description: 今日三方入金
  15923. type: number
  15924. thirdoutamount:
  15925. description: 今日三方出金
  15926. type: number
  15927. tradestatus:
  15928. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15929. type: integer
  15930. tradestatuschangetime:
  15931. description: 激活时间
  15932. type: string
  15933. transferamount:
  15934. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15935. type: number
  15936. usedmargin:
  15937. description: 占用保证金
  15938. type: number
  15939. userid:
  15940. description: 用户ID
  15941. type: integer
  15942. required:
  15943. - accountid
  15944. - userid
  15945. type: object
  15946. models.Tablecolumnconfig:
  15947. properties:
  15948. aligntype:
  15949. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15950. type: integer
  15951. autoid:
  15952. description: AutoID
  15953. type: integer
  15954. columnfield:
  15955. description: 列字段
  15956. type: string
  15957. columntitle:
  15958. description: 列Title
  15959. type: string
  15960. columnwidth:
  15961. description: 列宽
  15962. type: string
  15963. fixed:
  15964. description: 固定类型 - 空 | left | right
  15965. type: string
  15966. formatterstring:
  15967. description: 格式化字符
  15968. type: string
  15969. formattertype:
  15970. description: 格式化类型
  15971. type: string
  15972. groupname:
  15973. description: 表头分组名称
  15974. type: string
  15975. ismerge:
  15976. description: 是否合并显示 - 0:不合并 1:合并
  15977. type: integer
  15978. isshow:
  15979. description: 是否显示 - 0:不显示 1:显示
  15980. type: integer
  15981. needsummary:
  15982. description: 是否需要汇总 - 0:不需要 1:需要
  15983. type: integer
  15984. orderindex:
  15985. description: 顺序
  15986. type: integer
  15987. remark:
  15988. description: 备注
  15989. type: string
  15990. summarytype:
  15991. description: 汇总类型 - 1:加总 2:最后一个
  15992. type: integer
  15993. tablekey:
  15994. description: 列表Key
  15995. type: string
  15996. required:
  15997. - autoid
  15998. type: object
  15999. models.TjmdHolderDetailTradeInfo:
  16000. properties:
  16001. agreeunit:
  16002. description: 合约乘数
  16003. type: number
  16004. buyaccountid:
  16005. description: 买方账户
  16006. type: string
  16007. buyusername:
  16008. description: 买方
  16009. type: string
  16010. delistingdate:
  16011. description: 最后结算日
  16012. type: string
  16013. expiredate:
  16014. description: 到期结算价定价日
  16015. type: string
  16016. exprieprice:
  16017. description: 到期清算价格
  16018. type: string
  16019. goodscode:
  16020. description: 商品代码
  16021. type: string
  16022. goodsid:
  16023. description: 商品ID
  16024. type: integer
  16025. goodsname:
  16026. description: 商品名称(交易标的)
  16027. type: string
  16028. lasttradedate:
  16029. description: 最后交易日
  16030. type: string
  16031. listingdate:
  16032. description: 开始交易日
  16033. type: string
  16034. openprice:
  16035. description: 成交价
  16036. type: number
  16037. openqty:
  16038. description: 交易数量
  16039. type: integer
  16040. sellaccountid:
  16041. description: 卖方账户
  16042. type: string
  16043. sellusername:
  16044. description: 卖方
  16045. type: string
  16046. tradeamount:
  16047. description: 初始名义价值
  16048. type: number
  16049. tradedate:
  16050. description: 成交日期
  16051. type: string
  16052. tradeid:
  16053. description: 成交编号
  16054. type: string
  16055. type: object
  16056. models.TjmdMarketSection:
  16057. properties:
  16058. marketsectionid:
  16059. description: 市场版块ID(SEQ_MARKETSECTION)
  16060. type: integer
  16061. marketsectionname:
  16062. description: 市场版块名称
  16063. type: string
  16064. mlist:
  16065. description: 市场列表(板块下面有多少个市场)
  16066. items:
  16067. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16068. type: array
  16069. orderindex:
  16070. description: 排序
  16071. type: integer
  16072. pictureurl:
  16073. description: 图片url, 规格(90*90)
  16074. type: string
  16075. remark:
  16076. description: 备注
  16077. type: string
  16078. type: object
  16079. models.TjmdMarketSectionConfig:
  16080. properties:
  16081. auctionwrtype:
  16082. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16083. type: integer
  16084. canacceptquote:
  16085. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16086. type: integer
  16087. cangoodsexercise:
  16088. description: '[期权]是否可现货行权- 0:否 1:是'
  16089. type: integer
  16090. cangoodsexercisetype:
  16091. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16092. type: integer
  16093. canmanualquotestrike:
  16094. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16095. type: integer
  16096. canmutistage:
  16097. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16098. type: integer
  16099. canpreexercise:
  16100. description: '[期权]是否可预申报- 0:否 1:是'
  16101. type: integer
  16102. clearinterval:
  16103. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16104. type: integer
  16105. contracttmp:
  16106. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16107. type: string
  16108. exchareaid:
  16109. description: 所属交易所,可以没有
  16110. type: integer
  16111. financemarketid:
  16112. description: 融资回购市场ID [仓单贸易]
  16113. type: integer
  16114. goodstype:
  16115. description: 商品类型 - 1:交易商品 2:仓单商品
  16116. type: integer
  16117. hasrebate:
  16118. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16119. type: integer
  16120. hastradecredit:
  16121. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16122. type: integer
  16123. haswr:
  16124. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16125. type: integer
  16126. isdeductmargin:
  16127. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16128. type: integer
  16129. isrecordsource:
  16130. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16131. type: integer
  16132. isreleasemargin:
  16133. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16134. type: integer
  16135. isupdatereckonprice:
  16136. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16137. type: integer
  16138. listingmode:
  16139. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16140. type: integer
  16141. marginformula:
  16142. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16143. type: integer
  16144. marginformula2:
  16145. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16146. type: integer
  16147. marketid:
  16148. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16149. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16150. type: integer
  16151. marketname:
  16152. description: 市场名称
  16153. type: string
  16154. marketsectionid:
  16155. description: 市场版块ID(SEQ_MARKETSECTION)
  16156. type: integer
  16157. marketserviceid:
  16158. description: 市场服务ID
  16159. type: integer
  16160. marketstatus:
  16161. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16162. type: integer
  16163. markettype:
  16164. description: 市场类型- 1:非交易服务 2:交易服务
  16165. type: integer
  16166. matchermode:
  16167. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16168. type: integer
  16169. nowrquotaflag:
  16170. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16171. type: integer
  16172. openmethod:
  16173. description: 开盘模式 - 0 自动 1手动
  16174. type: integer
  16175. orderindex:
  16176. description: 排序
  16177. type: integer
  16178. otcuserid:
  16179. description: 场外期权做市商[场外期权]
  16180. type: integer
  16181. outersynctime:
  16182. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16183. type: string
  16184. paylaterflag:
  16185. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16186. type: integer
  16187. pendingflag:
  16188. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16189. type: integer
  16190. pendingtime:
  16191. description: 待开市时间[通道交易-对冲](HH:mm)
  16192. type: string
  16193. performancetempid:
  16194. description: 履约计划模板ID - 作废
  16195. type: integer
  16196. premiumquotemode:
  16197. description: 权利金报价方式 - 1:自动 2:手动
  16198. type: integer
  16199. rebateratio:
  16200. description: 返利比率[竞价式]
  16201. type: number
  16202. reckonorder:
  16203. description: 结算顺序
  16204. type: integer
  16205. reckonpricealgorithm:
  16206. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16207. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16208. type: integer
  16209. reckonpriceparam:
  16210. description: 结算价参数
  16211. type: integer
  16212. reckontime:
  16213. description: 结算时间[通道交易-对冲](HH:mm)
  16214. type: string
  16215. roleprioritytype:
  16216. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16217. type: integer
  16218. selllistingauditflag:
  16219. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16220. type: integer
  16221. trademarkettype:
  16222. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16223. type: integer
  16224. trademode:
  16225. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16226. 21:竞拍-大宗式 22:受托竞价
  16227. type: integer
  16228. tradeproperty:
  16229. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16230. 8:场外期权
  16231. type: integer
  16232. tradetype:
  16233. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16234. type: integer
  16235. updatereckonpriceinterval:
  16236. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16237. type: integer
  16238. type: object
  16239. models.TjmdQuoteGoods:
  16240. properties:
  16241. buyqty:
  16242. description: 买量(暂不做, 无值, 保留字段)
  16243. type: number
  16244. decimalplace:
  16245. description: 报价小数位
  16246. type: integer
  16247. goodscode:
  16248. description: 合约代码
  16249. type: string
  16250. goodsgroupid:
  16251. description: 商品组ID(自增ID)
  16252. type: integer
  16253. goodsgroupname:
  16254. description: 商品组名称
  16255. type: string
  16256. goodsid:
  16257. description: 合约id
  16258. type: integer
  16259. goodsname:
  16260. description: 合约名称
  16261. type: string
  16262. refgoodscode:
  16263. description: 标的合约代码
  16264. type: string
  16265. refgoodsid:
  16266. description: 标的合约id
  16267. type: integer
  16268. refgoodsname:
  16269. description: 标的合约名称
  16270. type: string
  16271. sellqty:
  16272. description: 卖量(暂不做, 无值, 保留字段)
  16273. type: number
  16274. type: object
  16275. models.TjmdTodayAccountMargin:
  16276. properties:
  16277. accountid:
  16278. description: 账号ID
  16279. type: integer
  16280. goodsid:
  16281. description: 商品ID
  16282. type: integer
  16283. infoc:
  16284. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16285. description: 配置参数
  16286. marketid:
  16287. description: 市场ID
  16288. type: integer
  16289. type: object
  16290. models.TjmdTradeOrderDetail:
  16291. properties:
  16292. buyorsell:
  16293. description: 买卖方向 0-买 1-卖
  16294. type: integer
  16295. goodsid:
  16296. description: 商品id
  16297. type: integer
  16298. marketmaxsub:
  16299. description: 市价最大偏移范围 [浮动价 - 点差]
  16300. type: number
  16301. orderid:
  16302. description: 委托单号
  16303. type: string
  16304. orderprice:
  16305. description: 期初均价
  16306. type: number
  16307. orderqty:
  16308. description: 委托数量
  16309. type: integer
  16310. pricemode:
  16311. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16312. type: integer
  16313. userid:
  16314. description: 用户id
  16315. type: integer
  16316. username:
  16317. description: 用户名称(已脱敏)
  16318. type: string
  16319. type: object
  16320. models.TjmdTransferApply:
  16321. properties:
  16322. applyid:
  16323. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16324. type: integer
  16325. applystatus:
  16326. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16327. type: integer
  16328. applytime:
  16329. description: 申请时间(时间)
  16330. type: string
  16331. auditremark:
  16332. description: 审核备注(拒绝原因?)
  16333. type: string
  16334. begindate:
  16335. description: 开始交易日(yyyymmdd)
  16336. type: string
  16337. buyorsell:
  16338. description: 买卖 - 0:买 1:卖
  16339. type: integer
  16340. enddate:
  16341. description: 结束交易日(yyyymmdd)
  16342. type: string
  16343. goodscode:
  16344. description: 商品代码
  16345. type: string
  16346. goodsid:
  16347. description: 商品ID
  16348. type: integer
  16349. goodsname:
  16350. description: 商品名称
  16351. type: string
  16352. marketid:
  16353. description: 市场ID
  16354. type: integer
  16355. qty:
  16356. description: 期初均价
  16357. type: number
  16358. tradeid:
  16359. description: 成交单号(关联持仓)
  16360. type: string
  16361. transferamount:
  16362. description: 转让总金额(金额)
  16363. type: number
  16364. transferprice:
  16365. description: 转让价格(协议价格)
  16366. type: number
  16367. type: object
  16368. models.TradeHolderDetail:
  16369. properties:
  16370. accountid:
  16371. description: 账号ID
  16372. type: integer
  16373. agreeunit:
  16374. description: 合约乘数
  16375. type: number
  16376. buyorsell:
  16377. description: 方向 - 0:买 1:卖
  16378. type: integer
  16379. currencyid:
  16380. description: 商品币种id
  16381. type: integer
  16382. currencyname:
  16383. description: 币种名称
  16384. type: string
  16385. decimalplace:
  16386. description: 商品价格小数位
  16387. type: integer
  16388. enumdicname:
  16389. description: 商品单位名称
  16390. type: string
  16391. expirecycle:
  16392. description: 行权周期(天) - 1:滚动行权时填写
  16393. type: integer
  16394. expiredate:
  16395. description: 行权日(yyyyMMdd) - 到期日
  16396. type: string
  16397. expiretype:
  16398. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16399. type: integer
  16400. freezeqty:
  16401. description: 期初均价
  16402. type: number
  16403. goodscode:
  16404. description: 商品代码
  16405. type: string
  16406. goodsid:
  16407. description: 商品ID
  16408. type: integer
  16409. goodsname:
  16410. description: 商品名称
  16411. type: string
  16412. goodunitid:
  16413. description: 商品单位id
  16414. type: integer
  16415. holderamount:
  16416. description: 持仓金额
  16417. type: number
  16418. holdercredit:
  16419. description: 持仓授信金额
  16420. type: number
  16421. holderdays:
  16422. description: 剩余冻结天数
  16423. type: integer
  16424. holderprice:
  16425. description: 持仓价格
  16426. type: number
  16427. holderqty:
  16428. description: 期初均价
  16429. type: number
  16430. isconfirmexercise:
  16431. description: 是否确认行权- 0:否 1:是
  16432. type: integer
  16433. ispreexercise:
  16434. description: 是否预申报- 0:否 1:是 2:不可行权
  16435. type: integer
  16436. marketid:
  16437. description: 市场id
  16438. type: integer
  16439. marketname:
  16440. description: 市场名称
  16441. type: string
  16442. openprice:
  16443. description: 建仓价格
  16444. type: number
  16445. openqty:
  16446. description: 期初均价
  16447. type: number
  16448. optiontype:
  16449. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16450. type: integer
  16451. preexerciseprice:
  16452. description: 预申报价格
  16453. type: number
  16454. premium:
  16455. description: 权利金
  16456. type: number
  16457. qtydecimalplace:
  16458. description: 商品成交量小数位
  16459. type: integer
  16460. refgoodscode:
  16461. description: 标的合约代码
  16462. type: string
  16463. refgoodsid:
  16464. description: 标的合约id
  16465. type: integer
  16466. releaseamount:
  16467. description: 释放持仓金额
  16468. type: number
  16469. releaseholdercredit:
  16470. description: 释放持仓授信金额
  16471. type: number
  16472. taname:
  16473. description: 资金账号名称
  16474. type: string
  16475. tradeamount:
  16476. description: 成交金额
  16477. type: number
  16478. tradedate:
  16479. description: 交易日(yyyyMMdd)
  16480. type: string
  16481. tradeid:
  16482. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16483. type: string
  16484. trademode:
  16485. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16486. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16487. type: integer
  16488. tradeproperty:
  16489. description: 交易属性
  16490. type: integer
  16491. tradetime:
  16492. description: 交易时间
  16493. type: string
  16494. userid:
  16495. description: 用户id
  16496. type: integer
  16497. username:
  16498. description: 用户名称
  16499. type: string
  16500. type: object
  16501. models.Unlinkermcphedgeplan:
  16502. properties:
  16503. accountid:
  16504. description: 期货账户ID - 作废
  16505. type: integer
  16506. accountname:
  16507. description: 交易用户
  16508. type: string
  16509. applyid:
  16510. description: 申请人
  16511. type: integer
  16512. applysrc:
  16513. description: 申请来源 - 1:管理端 2:终端
  16514. type: integer
  16515. applytime:
  16516. description: 申请时间
  16517. type: string
  16518. areauserid:
  16519. description: '[企业ID]机构ID'
  16520. type: integer
  16521. auditid:
  16522. description: 审核人
  16523. type: integer
  16524. auditremark:
  16525. description: 审核备注
  16526. type: string
  16527. auditsrc:
  16528. description: 审核来源 - 1:管理端 2:终端
  16529. type: integer
  16530. audittime:
  16531. description: 审核时间
  16532. type: string
  16533. audittradedate:
  16534. description: 审核交易日(yyyyMMdd)
  16535. type: string
  16536. biztype:
  16537. description: 业务类型 - 1:套保
  16538. type: integer
  16539. contracttype:
  16540. description: 计划类型 - 1:采购 -1:销售
  16541. type: integer
  16542. convertfactor:
  16543. description: 标仓系数 - 作废
  16544. type: number
  16545. createtime:
  16546. description: 创建时间
  16547. type: string
  16548. currencyid:
  16549. description: 结算币种ID - 作废
  16550. type: integer
  16551. deliverygoodsid:
  16552. description: 现货品种ID
  16553. type: integer
  16554. enumdicname:
  16555. description: 结算币种
  16556. type: string
  16557. hedgeplanid:
  16558. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16559. type: string
  16560. hedgeplanno:
  16561. description: '[计划编号]套保计划编号,模糊查询'
  16562. type: string
  16563. hedgeplanstatus:
  16564. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16565. type: integer
  16566. isrelated:
  16567. description: 是否已关联计划项目 - 0:否 1:是
  16568. type: integer
  16569. planqty:
  16570. description: '[计划量]计划数量'
  16571. type: number
  16572. plantime:
  16573. description: 计划时间
  16574. type: string
  16575. producttype:
  16576. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16577. type: integer
  16578. remark:
  16579. description: 备注
  16580. type: string
  16581. spotgoodsdesc:
  16582. description: 商品型号
  16583. type: string
  16584. tradedate:
  16585. description: 交易日(yyyyMMdd)
  16586. type: string
  16587. tradeuserid:
  16588. description: 交易用户ID
  16589. type: integer
  16590. updatetime:
  16591. description: 更新时间
  16592. type: string
  16593. wrstandardid:
  16594. description: 现货商品ID
  16595. type: integer
  16596. wrstandardname:
  16597. description: 现货商品,模糊查询
  16598. type: string
  16599. required:
  16600. - areauserid
  16601. type: object
  16602. models.UserCollectConfig:
  16603. properties:
  16604. accountstatus:
  16605. description: 账户状态 - 1:正常 2:停用 3:注销
  16606. type: integer
  16607. collectaccountname:
  16608. description: 收款人账户名称
  16609. type: string
  16610. collectaccountno:
  16611. description: 收款人账户
  16612. type: string
  16613. collectbankname:
  16614. description: 收款人开户行
  16615. type: string
  16616. collectbranchbankname:
  16617. description: 收款人开户支行
  16618. type: string
  16619. collectconfigid:
  16620. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16621. type: string
  16622. remark:
  16623. description: 备注
  16624. type: string
  16625. userid:
  16626. description: 收款人用户ID
  16627. type: integer
  16628. type: object
  16629. models.UserReceiveInfo:
  16630. properties:
  16631. address:
  16632. description: 提货人详细地址
  16633. type: string
  16634. autoid:
  16635. description: AutoID
  16636. type: integer
  16637. cardnum:
  16638. description: 证件号码(加密存储)
  16639. type: string
  16640. cardtypeid:
  16641. description: 证件类型
  16642. type: integer
  16643. cityid:
  16644. description: 市
  16645. type: integer
  16646. cityname:
  16647. description: 城市名称
  16648. type: string
  16649. countryid:
  16650. description: 国家
  16651. type: integer
  16652. countryname:
  16653. description: 国家名称
  16654. type: string
  16655. districtid:
  16656. description: 地区
  16657. type: integer
  16658. districtname:
  16659. description: 地区名称
  16660. type: string
  16661. hasencrypt:
  16662. description: 数据是否已加密 - 0:未加密 1:已加密
  16663. type: integer
  16664. isdefault:
  16665. description: 是否默认地址 - 0:否 1:是
  16666. type: integer
  16667. phonenum:
  16668. description: 提货人联系方式(加密存储)
  16669. type: string
  16670. provinceid:
  16671. description: 省
  16672. type: integer
  16673. provincename:
  16674. description: 省名称
  16675. type: string
  16676. receivername:
  16677. description: 提货人姓名
  16678. type: string
  16679. takeremark:
  16680. description: 提货备注
  16681. type: string
  16682. userid:
  16683. description: 用户ID
  16684. type: integer
  16685. type: object
  16686. models.Useraccount:
  16687. properties:
  16688. accountname:
  16689. description: 账户名称(机构名称)
  16690. type: string
  16691. accountstatus:
  16692. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16693. type: integer
  16694. applysrc:
  16695. description: 申请来源 - 1:管理端 2:终端
  16696. type: integer
  16697. auditremark:
  16698. description: 审核备注
  16699. type: string
  16700. auditsrc:
  16701. description: 审核来源 - 1:管理端 2:终端
  16702. type: integer
  16703. audittime:
  16704. description: 审核时间
  16705. type: string
  16706. audituserid:
  16707. description: 审核人
  16708. type: integer
  16709. broker:
  16710. description: 所属经纪人ID
  16711. type: integer
  16712. canceltime:
  16713. description: 销户时间
  16714. type: string
  16715. canceluserid:
  16716. description: 销户人
  16717. type: integer
  16718. canrecommend:
  16719. description: 是否可推荐 - 0:不可 1;可
  16720. type: integer
  16721. createtime:
  16722. description: 创建时间
  16723. type: string
  16724. creatorid:
  16725. description: 创建人
  16726. type: integer
  16727. hasauth:
  16728. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16729. type: integer
  16730. isanonymous:
  16731. description: 是否匿名下单 - 0:否 1:是
  16732. type: integer
  16733. maxinvestornum:
  16734. description: 最大用户数(经纪会员下投资者个数)
  16735. type: integer
  16736. memberuserid:
  16737. description: 所属会员ID
  16738. type: integer
  16739. modifierid:
  16740. description: 修改人
  16741. type: integer
  16742. modifyremark:
  16743. description: 变更备注
  16744. type: string
  16745. modifystatus:
  16746. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16747. type: integer
  16748. modifytime:
  16749. description: 修改时间
  16750. type: string
  16751. parenttopuser:
  16752. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16753. type: string
  16754. parentuserid:
  16755. description: 所属机构ID
  16756. type: integer
  16757. reckonaccountid:
  16758. description: 默认结算资金账号ID(机构分润使用) 作废
  16759. type: integer
  16760. refercount:
  16761. description: 推荐总人数
  16762. type: integer
  16763. refereeuserid:
  16764. description: 推荐人ID
  16765. type: integer
  16766. refernum:
  16767. description: 推荐码
  16768. type: string
  16769. rootuserid:
  16770. description: 根用户ID
  16771. type: integer
  16772. subaccountlevel:
  16773. description: 子账户层数
  16774. type: integer
  16775. subarealevelpath:
  16776. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16777. type: string
  16778. userid:
  16779. description: 用户ID
  16780. type: integer
  16781. usertype:
  16782. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16783. type: integer
  16784. required:
  16785. - userid
  16786. type: object
  16787. models.Userfavoritegoods:
  16788. properties:
  16789. goodsid:
  16790. description: 商品ID
  16791. type: integer
  16792. required:
  16793. - goodsid
  16794. type: object
  16795. models.Userinfo:
  16796. properties:
  16797. address:
  16798. description: 地址
  16799. type: string
  16800. attachment1:
  16801. description: 附件1
  16802. type: string
  16803. attachment2:
  16804. description: 附件2
  16805. type: string
  16806. bankaccount:
  16807. description: 银行帐号 (加密存储)
  16808. type: string
  16809. bankaccountname:
  16810. description: 收款人名称
  16811. type: string
  16812. bankcardfrontphotourl:
  16813. description: 银行卡正面照地址
  16814. type: string
  16815. bankid:
  16816. description: 银行编码
  16817. type: string
  16818. bankname:
  16819. description: 银行名称
  16820. type: string
  16821. biznature:
  16822. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16823. type: integer
  16824. bizscope:
  16825. description: 企业经营范围(企业)
  16826. type: string
  16827. cardbackphotourl:
  16828. description: 证件背面图片地址
  16829. type: string
  16830. cardfrontphotourl:
  16831. description: 证件正面图片地址
  16832. type: string
  16833. cardnum:
  16834. description: 证件号码(加密存储)
  16835. type: string
  16836. cardtypeid:
  16837. description: 证件类型ID
  16838. type: integer
  16839. cityid:
  16840. description: 市
  16841. type: integer
  16842. company:
  16843. description: 公司(个人)
  16844. type: string
  16845. contactname:
  16846. description: 联系人
  16847. type: string
  16848. countryid:
  16849. description: 国家
  16850. type: integer
  16851. createtime:
  16852. description: 创建时间
  16853. type: string
  16854. creatorid:
  16855. description: 创建人
  16856. type: integer
  16857. customername:
  16858. description: 客户名称(企业名称)
  16859. type: string
  16860. districtid:
  16861. description: 地区
  16862. type: integer
  16863. email:
  16864. description: 邮件(加密存储)
  16865. type: string
  16866. fax:
  16867. description: 传真(加密存储)
  16868. type: string
  16869. halfbodyphotourl:
  16870. description: 半身照地址
  16871. type: string
  16872. hasencrypt:
  16873. description: 数据是否已加密 - 0:未加密 1:已加密
  16874. type: integer
  16875. headurl:
  16876. description: 头像地址
  16877. type: string
  16878. legalcardbackphotourl:
  16879. description: 法人身份证背面照地址
  16880. type: string
  16881. legalcardfrontphotourl:
  16882. description: 法人身份证正面照地址
  16883. type: string
  16884. legalpersonname:
  16885. description: 法人姓名(企业)
  16886. type: string
  16887. mobile:
  16888. description: 手机号码(加密存储)
  16889. type: string
  16890. mobile2:
  16891. description: 手机号码[明文-尚志]
  16892. type: string
  16893. modifierid:
  16894. description: 修改人
  16895. type: integer
  16896. modifiertime:
  16897. description: 修改时间
  16898. type: string
  16899. needinvoice:
  16900. description: 是否需要发票 - 0:不需要 1:需要
  16901. type: integer
  16902. nickname:
  16903. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16904. type: string
  16905. openmode:
  16906. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16907. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16908. type: integer
  16909. otherurl:
  16910. description: 其它图片地址[使用分号分隔]
  16911. type: string
  16912. postalcode:
  16913. description: 邮政编码
  16914. type: string
  16915. provinceid:
  16916. description: 省
  16917. type: integer
  16918. qq:
  16919. description: QQ(加密存储
  16920. type: string
  16921. remark:
  16922. description: 备注
  16923. type: string
  16924. sex:
  16925. description: '用户性别 0: 女 1: 男'
  16926. type: integer
  16927. signpdfurl:
  16928. description: 签约pdf文件
  16929. type: string
  16930. telphone:
  16931. description: 联系电话(加密存储)
  16932. type: string
  16933. userid:
  16934. description: 用户ID
  16935. type: integer
  16936. userinfotype:
  16937. description: 用户信息类型 - 1:个人 2:企业
  16938. type: integer
  16939. userstatus:
  16940. description: 用户状态 - 1:正常 2:注销
  16941. type: integer
  16942. usertype:
  16943. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16944. type: integer
  16945. wechat:
  16946. description: 微信(加密存储)
  16947. type: string
  16948. wskhinfo:
  16949. description: 开户申请信息(JSON)
  16950. type: string
  16951. required:
  16952. - userid
  16953. type: object
  16954. models.WRSConverTDetail:
  16955. properties:
  16956. convertratio:
  16957. description: 套保系数
  16958. type: number
  16959. deliverygoodscode:
  16960. description: 现货商品代码
  16961. type: string
  16962. deliverygoodsid:
  16963. description: 现货品种ID
  16964. type: integer
  16965. deliverygoodsname:
  16966. description: 现货商品名称
  16967. type: string
  16968. enumdicname:
  16969. description: 单位名称
  16970. type: string
  16971. goodsunitid:
  16972. description: 套保品种单位id
  16973. type: integer
  16974. middlegoodscode:
  16975. description: 套保品种代码
  16976. type: string
  16977. middlegoodsid:
  16978. description: 套保品种ID
  16979. type: integer
  16980. middlegoodsname:
  16981. description: 套保品种名称
  16982. type: string
  16983. modifytime:
  16984. description: 修改时间
  16985. type: string
  16986. wrstandardid:
  16987. description: 品类ID
  16988. type: integer
  16989. type: object
  16990. models.WRStandardInfo:
  16991. properties:
  16992. areauserid:
  16993. description: 所属机构
  16994. type: integer
  16995. convertfactor:
  16996. description: 标仓系数
  16997. type: number
  16998. createtime:
  16999. description: 创建时间
  17000. type: string
  17001. creatorid:
  17002. description: 创建人
  17003. type: integer
  17004. deliverygoodsid:
  17005. description: 品种ID
  17006. type: integer
  17007. deliverygoodsname:
  17008. description: 交割商品名称
  17009. type: string
  17010. factoryitemjson:
  17011. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17012. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17013. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17014. 逗号分隔'
  17015. type: string
  17016. isvalid:
  17017. description: 是否有效 - 0:无效 1:有效
  17018. type: integer
  17019. minivalue:
  17020. description: 最小变动值
  17021. type: integer
  17022. minivaluedp:
  17023. description: 最小变动值小数位
  17024. type: integer
  17025. realminivalue:
  17026. description: 实际最小变动值
  17027. type: integer
  17028. realminivaluedp:
  17029. description: 实际最小变动值小数位
  17030. type: integer
  17031. remark:
  17032. description: 备注
  17033. type: string
  17034. unitid:
  17035. description: 单位ID
  17036. type: integer
  17037. unitname:
  17038. description: 单位
  17039. type: string
  17040. updatetime:
  17041. description: 更新时间
  17042. type: string
  17043. updatorid:
  17044. description: 更新人
  17045. type: integer
  17046. wrsstatus:
  17047. description: 状态 - 作废 - 0:未激活 1:正常
  17048. type: integer
  17049. wrstandardcode:
  17050. description: 现货品类代码
  17051. type: string
  17052. wrstandardid:
  17053. description: 现货品类ID(SEQ_WRSTANDARD)
  17054. type: integer
  17055. wrstandardname:
  17056. description: 现货品类名称
  17057. type: string
  17058. required:
  17059. - wrstandardid
  17060. type: object
  17061. models.WRTradeBargainApply:
  17062. properties:
  17063. accountid:
  17064. description: 摘牌资金账号
  17065. type: integer
  17066. applyprice:
  17067. description: 申请价格(议价价格)
  17068. type: string
  17069. applyqty:
  17070. description: 摘牌数量(议价数量)
  17071. type: number
  17072. applyremark:
  17073. description: 申请备注
  17074. type: string
  17075. applystatus:
  17076. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17077. type: integer
  17078. applytime:
  17079. description: 申请时间(议价时间)
  17080. type: string
  17081. begindate:
  17082. description: 开始交易日(yyyymmdd)
  17083. type: string
  17084. buyorsell:
  17085. description: 买卖(挂牌类型) - 0:买 1:卖
  17086. type: integer
  17087. confirmremark:
  17088. description: 确认备注
  17089. type: string
  17090. confirmtime:
  17091. description: 确认时间
  17092. type: string
  17093. confirmuserid:
  17094. description: 确认人
  17095. type: integer
  17096. deliverygoodscode:
  17097. description: 品种代码
  17098. type: string
  17099. deliverygoodsid:
  17100. description: 品种ID
  17101. type: integer
  17102. deliverygoodsname:
  17103. description: 品种名称
  17104. type: string
  17105. deliverymonth:
  17106. description: 交收月
  17107. type: string
  17108. enddate:
  17109. description: 结束交易日(yyyymmdd)
  17110. type: string
  17111. enumdicname:
  17112. description: 单位名称
  17113. type: string
  17114. fixedprice:
  17115. description: 期初均价
  17116. type: number
  17117. handlestatus:
  17118. description: 处理状态
  17119. type: integer
  17120. marginvalue:
  17121. description: 期初均价
  17122. type: number
  17123. marketid:
  17124. description: 市场ID
  17125. type: integer
  17126. matchaccountid:
  17127. description: 挂牌方资金账号
  17128. type: integer
  17129. matchuserid:
  17130. description: 挂牌方用户id
  17131. type: integer
  17132. matchusername:
  17133. description: 挂牌方用户名称(已脱敏)
  17134. type: string
  17135. minivalue:
  17136. description: 现货商品最小变动值
  17137. type: integer
  17138. optioncompare:
  17139. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17140. type: string
  17141. orderqty:
  17142. description: 挂牌数量
  17143. type: integer
  17144. refprice:
  17145. description: 参考价格
  17146. type: string
  17147. retcode:
  17148. description: 委托返回代码
  17149. type: integer
  17150. templatename:
  17151. description: 履约方式(履约模板名称)
  17152. type: string
  17153. tradedate:
  17154. description: 交易日(yyyyMMdd)
  17155. type: string
  17156. userid:
  17157. description: 摘牌人用户ID(议价人ID)
  17158. type: integer
  17159. username:
  17160. description: 议价人名字(已脱敏)
  17161. type: string
  17162. validtime:
  17163. description: 有效期限
  17164. type: string
  17165. warehouseid:
  17166. description: 仓库ID
  17167. type: integer
  17168. warehousename:
  17169. description: 仓库名称
  17170. type: string
  17171. wrbargainid:
  17172. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17173. type: string
  17174. wrfactortypeid:
  17175. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17176. type: string
  17177. wrfactortypename:
  17178. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17179. type: string
  17180. wrstandardcode:
  17181. description: 现货商品代码
  17182. type: string
  17183. wrstandardid:
  17184. description: 现货商品ID
  17185. type: integer
  17186. wrstandardname:
  17187. description: 商品名称
  17188. type: string
  17189. wrtradeorderid:
  17190. description: 关联委托单ID
  17191. type: string
  17192. wrtypename:
  17193. description: 商品
  17194. type: string
  17195. type: object
  17196. models.Warehouseinfo:
  17197. properties:
  17198. address:
  17199. description: 详细地址
  17200. type: string
  17201. areauserid:
  17202. description: 所属机构
  17203. type: integer
  17204. autoid:
  17205. description: 自增ID
  17206. type: integer
  17207. cityid:
  17208. description: 市
  17209. type: integer
  17210. contactname:
  17211. description: 联系人
  17212. type: string
  17213. contactnum:
  17214. description: 联系电话
  17215. type: string
  17216. countryid:
  17217. description: 国家
  17218. type: integer
  17219. createtime:
  17220. description: 创建时间
  17221. type: string
  17222. districtid:
  17223. description: 区
  17224. type: integer
  17225. hasvideo:
  17226. description: 是否有视频 - 0:无 1:有
  17227. type: integer
  17228. provinceid:
  17229. description: 省
  17230. type: integer
  17231. remark:
  17232. description: 审核备注
  17233. type: string
  17234. videourl:
  17235. description: 视频地址
  17236. type: string
  17237. warehousecode:
  17238. description: 仓库代码
  17239. type: string
  17240. warehousename:
  17241. description: 仓库名称
  17242. type: string
  17243. warehousestatus:
  17244. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17245. type: integer
  17246. warehousetype:
  17247. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17248. type: integer
  17249. required:
  17250. - autoid
  17251. - warehousecode
  17252. type: object
  17253. models.WrAverageTradePrice:
  17254. properties:
  17255. averageprice:
  17256. description: 期初均价
  17257. type: number
  17258. tradedate:
  17259. description: 交易日yyyymm
  17260. type: string
  17261. type: object
  17262. models.WrBrandAndYears:
  17263. properties:
  17264. brandlst:
  17265. description: 品牌列表
  17266. items:
  17267. $ref: '#/definitions/models.DgFactoryItem'
  17268. type: array
  17269. yearslst:
  17270. description: 年份列表
  17271. items:
  17272. $ref: '#/definitions/models.DgFactoryItem'
  17273. type: array
  17274. type: object
  17275. models.WrBsGoodsInfo:
  17276. properties:
  17277. buyorsell:
  17278. description: 买卖方向 0-买 1-卖
  17279. type: integer
  17280. goodsid:
  17281. description: 交易合约ID
  17282. type: integer
  17283. lstitem:
  17284. description: 商品信息项
  17285. items:
  17286. $ref: '#/definitions/models.WrTypeItem'
  17287. type: array
  17288. lststep:
  17289. description: 履约规则
  17290. items:
  17291. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17292. type: array
  17293. type: object
  17294. models.WrBuybackDetail:
  17295. properties:
  17296. buybackamount:
  17297. description: 回购金额
  17298. type: number
  17299. buybackqty:
  17300. description: 回购数量
  17301. type: number
  17302. buybackreleasemargin:
  17303. description: 回购释放保证金
  17304. type: number
  17305. buybacktime:
  17306. description: 回购时间
  17307. type: string
  17308. errordesc:
  17309. description: 错误描述
  17310. type: string
  17311. handlestatus:
  17312. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17313. type: integer
  17314. relatedwrid:
  17315. description: 关联仓单ID
  17316. type: integer
  17317. scfcontractid:
  17318. description: SCF合同ID
  17319. type: string
  17320. scfwrbuybackid:
  17321. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17322. type: integer
  17323. tradedate:
  17324. description: 交易日(yyyyMMdd)
  17325. type: string
  17326. type: object
  17327. models.WrClientAdSpaceConfig:
  17328. properties:
  17329. adspaceid:
  17330. description: 广告位ID
  17331. type: integer
  17332. adspacename:
  17333. description: 广告位名称
  17334. type: string
  17335. adspacetype:
  17336. description: 广告位类型 - 1:固定广告位
  17337. type: integer
  17338. areauserid:
  17339. description: 所属机构ID
  17340. type: integer
  17341. createdate:
  17342. description: 创建时间
  17343. type: string
  17344. imagepath:
  17345. description: 图片
  17346. type: string
  17347. modifierid:
  17348. description: 操作人
  17349. type: integer
  17350. recsize:
  17351. description: 推荐尺寸
  17352. type: string
  17353. title:
  17354. description: 标题
  17355. type: string
  17356. updatedate:
  17357. description: 更新时间
  17358. type: string
  17359. urlcontent:
  17360. description: 链接(地址\商品ID\功能菜单Key\appid)
  17361. type: string
  17362. urltype:
  17363. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17364. type: integer
  17365. type: object
  17366. models.WrDeliveryAvalidHoldLB:
  17367. properties:
  17368. accountid:
  17369. description: 资金账号
  17370. type: integer
  17371. avalidqty:
  17372. description: 数量(可点选数量)
  17373. type: number
  17374. deliverygoodsid:
  17375. description: 品种id
  17376. type: integer
  17377. enumdicname:
  17378. description: 单位名称
  17379. type: string
  17380. goodsid:
  17381. description: x合约商品id
  17382. type: integer
  17383. ladingbillid:
  17384. description: 提单id
  17385. type: string
  17386. pgoodscode:
  17387. description: p商品代码(点价合约)
  17388. type: string
  17389. pgoodsid:
  17390. description: p商品id(点价合约)
  17391. type: integer
  17392. pgoodsname:
  17393. description: p商品名称(点价合约)
  17394. type: string
  17395. pricemove:
  17396. description: 升贴水
  17397. type: number
  17398. subnum:
  17399. description: 提单子id
  17400. type: integer
  17401. userid:
  17402. description: 用户id
  17403. type: integer
  17404. username:
  17405. description: 仓单持有人
  17406. type: string
  17407. warehousecode:
  17408. description: 仓库代码
  17409. type: string
  17410. warehouseid:
  17411. description: 仓库id
  17412. type: integer
  17413. warehousename:
  17414. description: 仓库名称
  17415. type: string
  17416. wrfactortypeid:
  17417. description: 仓单要素id
  17418. type: string
  17419. wrstandardcode:
  17420. description: 品代码
  17421. type: string
  17422. wrstandardid:
  17423. description: 品类d
  17424. type: integer
  17425. wrstandardname:
  17426. description: 品类名称
  17427. type: string
  17428. wrtypename:
  17429. description: 商品
  17430. type: string
  17431. xgoodscode:
  17432. description: x合约代码
  17433. type: string
  17434. xgoodsname:
  17435. description: x合约名称
  17436. type: string
  17437. type: object
  17438. models.WrDeliveryDetail:
  17439. properties:
  17440. accountid:
  17441. description: 账号ID
  17442. type: integer
  17443. averageprice:
  17444. description: 期初均价
  17445. type: number
  17446. begindate:
  17447. description: 开始交易日(yyyymmdd)
  17448. type: string
  17449. buyorsell:
  17450. description: 方向 - 0:买 1:卖
  17451. type: integer
  17452. deliveryamount:
  17453. description: 货款金额(X总货款+P总货款)
  17454. type: number
  17455. deliveryid:
  17456. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17457. type: string
  17458. deliveryorderid:
  17459. description: 申报单号
  17460. type: string
  17461. deliverypricemove:
  17462. description: 升贴水(升贴水总额)
  17463. type: number
  17464. deliveryqty:
  17465. description: 交收数量(点选数量)
  17466. type: number
  17467. deliverystatus:
  17468. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17469. type: integer
  17470. deliverytime:
  17471. description: 交割时间
  17472. type: string
  17473. deliverytotalamount:
  17474. description: 交收金额
  17475. type: number
  17476. enddate:
  17477. description: 结束交易日(yyyymmdd)
  17478. type: string
  17479. enumdicname:
  17480. description: 单位名称
  17481. type: string
  17482. matchaccountid:
  17483. description: 对手账号ID
  17484. type: integer
  17485. matchusername:
  17486. description: 对手方名称(仓单持有人)
  17487. type: string
  17488. p1goodsremainamount:
  17489. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17490. type: number
  17491. pdeliverycloseqty:
  17492. description: p合约平仓数量
  17493. type: number
  17494. pdeliveryprice:
  17495. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17496. type: number
  17497. pgoodscode:
  17498. description: 商品代码
  17499. type: string
  17500. pgoodsid:
  17501. description: p点选合约id
  17502. type: integer
  17503. pgoodsname:
  17504. description: 商品名称
  17505. type: string
  17506. ppricemode:
  17507. description: 点价价格方式 - 1:商品价 2:固定值
  17508. type: integer
  17509. tradedate:
  17510. description: 交易日(yyyymmdd)
  17511. type: string
  17512. userid:
  17513. description: 用户id
  17514. type: integer
  17515. username:
  17516. description: 用户名称
  17517. type: string
  17518. warehousename:
  17519. description: 仓库名称
  17520. type: string
  17521. wrfactortypeid:
  17522. description: 仓单要素类型ID
  17523. type: string
  17524. wrtypename:
  17525. description: 商品
  17526. type: string
  17527. xdeliverycloseqty:
  17528. description: 合约数量
  17529. type: number
  17530. xgoodsamount:
  17531. description: 期初均价
  17532. type: number
  17533. xgoodscode:
  17534. description: 商品代码
  17535. type: string
  17536. xgoodsid:
  17537. description: x交易合约ID
  17538. type: integer
  17539. xgoodsname:
  17540. description: 商品名称
  17541. type: string
  17542. type: object
  17543. models.WrDeliveryGoodsSection:
  17544. properties:
  17545. dglst:
  17546. description: 板块商品列表
  17547. items:
  17548. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17549. type: array
  17550. imagepath:
  17551. description: 图片地址
  17552. type: string
  17553. orderindex:
  17554. description: 排序
  17555. type: integer
  17556. sectionid:
  17557. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17558. = 1的版块1 - 云融指数
  17559. type: integer
  17560. sectionname:
  17561. description: 版块名称
  17562. type: string
  17563. sectiontype:
  17564. description: 版块类型 - 1:指数版块 2:普通版块
  17565. type: integer
  17566. type: object
  17567. models.WrDeliveryGoodsSectionConfig:
  17568. properties:
  17569. deliverygoodscode:
  17570. description: 现货商品代码
  17571. type: string
  17572. deliverygoodsid:
  17573. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17574. type: integer
  17575. deliverygoodsname:
  17576. description: 现货商品名称
  17577. type: string
  17578. orderindex:
  17579. description: 排序
  17580. type: integer
  17581. type: object
  17582. models.WrDraftUserInfo:
  17583. properties:
  17584. address:
  17585. description: 地址
  17586. type: string
  17587. attachment1:
  17588. description: 附件1
  17589. type: string
  17590. attachment2:
  17591. description: 附件2
  17592. type: string
  17593. attachment3:
  17594. description: 附件3
  17595. type: string
  17596. attachment4:
  17597. description: 附件4
  17598. type: string
  17599. attachment5:
  17600. description: 附件5
  17601. type: string
  17602. bankaccount:
  17603. description: 银行帐号 (加密存储)
  17604. type: string
  17605. bankaccountname:
  17606. description: 收款人名称
  17607. type: string
  17608. bankcardfrontphotourl:
  17609. description: 银行卡正面照地址
  17610. type: string
  17611. bankid:
  17612. description: 银行编码
  17613. type: string
  17614. bankname:
  17615. description: 银行名称
  17616. type: string
  17617. birthday:
  17618. description: 生日(个人:年月日)
  17619. type: string
  17620. biznature:
  17621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17622. type: integer
  17623. bizscope:
  17624. description: 企业经营范围(企业)
  17625. type: string
  17626. biztype:
  17627. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17628. type: integer
  17629. cardbackphotourl:
  17630. description: 证件背面图片地址
  17631. type: string
  17632. cardfrontphotourl:
  17633. description: 证件正面图片地址
  17634. type: string
  17635. cardnum:
  17636. description: 证件号码(加密存储)
  17637. type: string
  17638. cardtypeid:
  17639. description: 证件类型ID
  17640. type: integer
  17641. cityid:
  17642. description: 市
  17643. type: integer
  17644. company:
  17645. description: 公司(个人)
  17646. type: string
  17647. contactcardbackphotourl:
  17648. description: 联系人证件背面图片地址
  17649. type: string
  17650. contactcardfrontphotourl:
  17651. description: 联系人证件正面图片地址
  17652. type: string
  17653. contactname:
  17654. description: 联系人
  17655. type: string
  17656. countryid:
  17657. description: 国家
  17658. type: integer
  17659. createtime:
  17660. description: 创建时间
  17661. type: string
  17662. creatorid:
  17663. description: 创建人
  17664. type: integer
  17665. creditquota:
  17666. description: 授信额度(金瑞)
  17667. type: number
  17668. customername:
  17669. description: 客户名称(企业名称)
  17670. type: string
  17671. districtid:
  17672. description: 地区
  17673. type: integer
  17674. email:
  17675. description: 邮件(加密存储)
  17676. type: string
  17677. fax:
  17678. description: 传真(加密存储)
  17679. type: string
  17680. halfbodyphotourl:
  17681. description: 半身照地址
  17682. type: string
  17683. hasencrypt:
  17684. description: 数据是否已加密 - 0:未加密 1:已加密
  17685. type: integer
  17686. headurl:
  17687. description: 头像地址
  17688. type: string
  17689. legalcardbackphotourl:
  17690. description: 法人身份证背面照地址
  17691. type: string
  17692. legalcardfrontphotourl:
  17693. description: 法人身份证正面照地址
  17694. type: string
  17695. legalpersonname:
  17696. description: 法人姓名(企业)
  17697. type: string
  17698. mobile:
  17699. description: 手机号码(加密存储)
  17700. type: string
  17701. mobile2:
  17702. description: 手机号码[明文-尚志]
  17703. type: string
  17704. modifierid:
  17705. description: 修改人
  17706. type: integer
  17707. modifiertime:
  17708. description: 修改时间
  17709. type: string
  17710. needinvoice:
  17711. description: 是否需要发票 - 0:不需要 1:需要
  17712. type: integer
  17713. nickname:
  17714. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17715. type: string
  17716. openmode:
  17717. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17718. 6:苹果手机端注册 7:PC交易端注册"
  17719. type: integer
  17720. otherurl:
  17721. description: 其它图片地址[使用分号分隔]
  17722. type: string
  17723. postalcode:
  17724. description: 邮政编码
  17725. type: string
  17726. provinceid:
  17727. description: 省
  17728. type: integer
  17729. proxystatementurl:
  17730. description: 授权委托书
  17731. type: string
  17732. qq:
  17733. description: QQ(加密存储
  17734. type: string
  17735. remark:
  17736. description: 备注
  17737. type: string
  17738. sex:
  17739. description: '用户性别 0: 女 1: 男'
  17740. type: integer
  17741. signpdfurl:
  17742. description: 签约pdf文件
  17743. type: string
  17744. taxpayernum:
  17745. description: 纳税人识别号
  17746. type: string
  17747. telphone:
  17748. description: 联系电话(加密存储)
  17749. type: string
  17750. userid:
  17751. description: 用户ID
  17752. type: integer
  17753. userinfotype:
  17754. description: 用户信息类型 - 1:个人 2:企业
  17755. type: integer
  17756. userstatus:
  17757. description: 用户状态 - 1:正常 2:注销
  17758. type: integer
  17759. usertype:
  17760. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17761. type: integer
  17762. wechat:
  17763. description: 微信(加密存储)
  17764. type: string
  17765. wskhinfo:
  17766. description: 开户申请信息(JSON)
  17767. type: string
  17768. type: object
  17769. models.WrFAProductDetail:
  17770. properties:
  17771. accountid:
  17772. description: 资金账号
  17773. type: integer
  17774. areauserid:
  17775. description: 金融机构ID
  17776. type: integer
  17777. financingdays:
  17778. description: 天数(天)
  17779. type: integer
  17780. interestminlen:
  17781. description: 最小起息天数
  17782. type: integer
  17783. interestrate:
  17784. description: 利率
  17785. type: number
  17786. interestratemode:
  17787. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17788. type: integer
  17789. interestsettlemode:
  17790. description: 结息方式 - 1:按日结息 3:按月结息
  17791. type: integer
  17792. interestsettlevalue:
  17793. description: 结息方式值
  17794. type: integer
  17795. isautoloan:
  17796. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17797. type: integer
  17798. loantag:
  17799. description: '放款标识: "放款快" 或者为空'
  17800. type: string
  17801. marginratio:
  17802. description: 保证金比率质押率 - [仓单质押]
  17803. type: number
  17804. productdetailid:
  17805. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17806. type: integer
  17807. productid:
  17808. description: 金融产品ID
  17809. type: integer
  17810. productname:
  17811. description: 产品名称
  17812. type: string
  17813. updatetime:
  17814. description: 更新时间
  17815. type: string
  17816. username:
  17817. description: 融出方
  17818. type: string
  17819. type: object
  17820. models.WrFactorTypeInfo:
  17821. properties:
  17822. deliverygoodscode:
  17823. description: 品种代码
  17824. type: string
  17825. deliverygoodsname:
  17826. description: 品种名称
  17827. type: string
  17828. dgfactoryitemid:
  17829. description: 选择项id
  17830. type: integer
  17831. dgfactoryitemtypeid:
  17832. description: 要素选择项ID (1-仓库 2-品牌)
  17833. type: integer
  17834. dgfactoryitemvalue:
  17835. description: 要素项值
  17836. type: string
  17837. itemtypename:
  17838. description: 要素项名称
  17839. type: string
  17840. optioncompare:
  17841. description: 选择比较串
  17842. type: string
  17843. warehouseid:
  17844. description: 仓库id
  17845. type: integer
  17846. wrfactortypeid:
  17847. description: 仓单要素ID
  17848. type: string
  17849. wrfactortypename:
  17850. description: 要素名称
  17851. type: string
  17852. wrfactortypename2:
  17853. description: 要素名称(不含仓库)
  17854. type: string
  17855. wrstandardcode:
  17856. description: 品类代码
  17857. type: string
  17858. wrstandardid:
  17859. description: 品类id
  17860. type: integer
  17861. wrstandardname:
  17862. description: 品类名称
  17863. type: string
  17864. type: object
  17865. models.WrFilterItem:
  17866. properties:
  17867. itemcode:
  17868. description: 代码
  17869. type: string
  17870. itemid:
  17871. description: 项id
  17872. type: integer
  17873. itemname:
  17874. description: 名称
  17875. type: string
  17876. itemtype:
  17877. description: 类型 1-品种 2-品类(商品) 3-仓库
  17878. type: integer
  17879. type: object
  17880. models.WrFinanceBuyApply:
  17881. properties:
  17882. applydate:
  17883. description: 申请时间
  17884. type: string
  17885. applystatus:
  17886. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17887. type: integer
  17888. applyuserid:
  17889. description: 申请人
  17890. type: integer
  17891. auditdate:
  17892. description: 审核时间
  17893. type: string
  17894. auditremark:
  17895. description: 审核备注
  17896. type: string
  17897. audituserid:
  17898. description: 审核人
  17899. type: integer
  17900. buyaccountid:
  17901. description: 买方资金账号
  17902. type: integer
  17903. buyorsell:
  17904. description: 买卖 - 0:买 1:卖
  17905. type: integer
  17906. buyuserid:
  17907. description: 买方用户ID
  17908. type: integer
  17909. buyusername:
  17910. description: 买方名称
  17911. type: string
  17912. buywrtradeorderid:
  17913. description: 融资方买委托单ID
  17914. type: string
  17915. deliverygoodscode:
  17916. description: 品种代码
  17917. type: string
  17918. deliverygoodsid:
  17919. description: 品种ID
  17920. type: integer
  17921. deliverygoodsname:
  17922. description: 品种名称
  17923. type: string
  17924. deliverymonth:
  17925. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17926. type: string
  17927. enumdicname:
  17928. description: 单位名称
  17929. type: string
  17930. financeaccountid:
  17931. description: 融资方资金帐户ID
  17932. type: integer
  17933. financeapplyid:
  17934. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17935. type: string
  17936. financeareauserid:
  17937. description: 融资方用户ID
  17938. type: string
  17939. financename:
  17940. description: 融出方名称
  17941. type: string
  17942. financetype:
  17943. description: 融资类型 1-融资回购
  17944. type: integer
  17945. financingdays:
  17946. description: 天数(天)
  17947. type: integer
  17948. freezebuymargin:
  17949. description: 冻结融资保证金(买方)
  17950. type: number
  17951. handleremark:
  17952. description: 处理备注
  17953. type: string
  17954. handlestatus:
  17955. description: 处理状态
  17956. type: integer
  17957. interestminlen:
  17958. description: 最小起息天数
  17959. type: integer
  17960. interestrate:
  17961. description: 利率
  17962. type: number
  17963. interestratemode:
  17964. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17965. type: integer
  17966. interestsettlemode:
  17967. description: 结息方式 - 1:按日结息 3:按月结息
  17968. type: integer
  17969. interestsettlevalue:
  17970. description: 结息方式值
  17971. type: integer
  17972. isautoloan:
  17973. description: 是否自动放款 - 0:手动 1:自动
  17974. type: integer
  17975. marginratio:
  17976. description: 保证金比率质押率 - [仓单质押]
  17977. type: number
  17978. marketid:
  17979. description: 市场ID
  17980. type: integer
  17981. minivalue:
  17982. description: 现货商品最小变动值
  17983. type: integer
  17984. optioncompare:
  17985. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17986. type: string
  17987. orderqty:
  17988. description: 委托数量(商品数量)
  17989. type: number
  17990. productdetailid:
  17991. description: 产品组合ID
  17992. type: integer
  17993. productid:
  17994. description: 金融产品ID
  17995. type: integer
  17996. productname:
  17997. description: 产品名称
  17998. type: string
  17999. remark:
  18000. description: 备注
  18001. type: string
  18002. scfcontractid:
  18003. description: 仓单回购合同ID
  18004. type: string
  18005. sellaccountid:
  18006. description: 卖方资金账号
  18007. type: integer
  18008. selluserid:
  18009. description: 卖方用户ID
  18010. type: integer
  18011. sellwrtradeorderid:
  18012. description: 卖方委托单ID
  18013. type: string
  18014. tradeamount:
  18015. description: 成交金额(借款金额)
  18016. type: number
  18017. tradedate:
  18018. description: 交易日(yyyyMMdd)
  18019. type: string
  18020. tradeprice:
  18021. description: 成交价格
  18022. type: number
  18023. warehouseid:
  18024. description: 仓库ID
  18025. type: integer
  18026. warehousename:
  18027. description: 仓库名称
  18028. type: string
  18029. wrfactortypeid:
  18030. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18031. type: string
  18032. wrfactortypename:
  18033. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18034. type: string
  18035. wrpricetype:
  18036. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18037. type: integer
  18038. wrstandardcode:
  18039. description: 现货商品代码
  18040. type: string
  18041. wrstandardid:
  18042. description: 现货商品ID
  18043. type: integer
  18044. wrstandardname:
  18045. description: 商品名称
  18046. type: string
  18047. wrtypename:
  18048. description: 商品
  18049. type: string
  18050. type: object
  18051. models.WrFriendApply:
  18052. properties:
  18053. applicantid:
  18054. description: 申请人
  18055. type: integer
  18056. applyname:
  18057. description: 申请人名称
  18058. type: string
  18059. applysrc:
  18060. description: 申请来源 - 1:管理端 2:终端
  18061. type: integer
  18062. applystatus:
  18063. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18064. type: integer
  18065. applytime:
  18066. description: 申请时间
  18067. type: string
  18068. auditname:
  18069. description: 审核人名称
  18070. type: string
  18071. auditorid:
  18072. description: 审核人
  18073. type: integer
  18074. auditremark:
  18075. description: 审核备注
  18076. type: string
  18077. auditsrc:
  18078. description: 审核来源 - 1:管理端 2:终端
  18079. type: integer
  18080. audittime:
  18081. description: 审核时间
  18082. type: string
  18083. friendapplyid:
  18084. description: 申请ID(SEQ_FRIENDAPPLY)
  18085. type: string
  18086. friendname:
  18087. description: 好友名字(已脱敏)
  18088. type: string
  18089. frienduserid:
  18090. description: 好友用户ID
  18091. type: string
  18092. remark:
  18093. description: 备注
  18094. type: string
  18095. userid:
  18096. description: 申请人用户ID
  18097. type: integer
  18098. type: object
  18099. models.WrFtDeliveryGoods:
  18100. properties:
  18101. deliverygoodscode:
  18102. description: 品种代码
  18103. type: string
  18104. deliverygoodsid:
  18105. description: 品种ID
  18106. type: integer
  18107. deliverygoodsname:
  18108. description: 品种名称
  18109. type: string
  18110. wdlst:
  18111. description: 商品列表
  18112. items:
  18113. $ref: '#/definitions/models.WrFtWrstandard'
  18114. type: array
  18115. type: object
  18116. models.WrFtWrstandard:
  18117. properties:
  18118. enumdicname:
  18119. description: 单位名称
  18120. type: string
  18121. minivalue:
  18122. description: 最小变动值
  18123. type: integer
  18124. wrstandardcode:
  18125. description: 现货商品代码
  18126. type: string
  18127. wrstandardid:
  18128. description: 现货商品ID
  18129. type: integer
  18130. wrstandardname:
  18131. description: 商品名称
  18132. type: string
  18133. type: object
  18134. models.WrGoodsInfo:
  18135. properties:
  18136. haswr:
  18137. description: 0:仓单预售 1:仓单贸易
  18138. type: integer
  18139. lstitem:
  18140. description: 商品信息项
  18141. items:
  18142. $ref: '#/definitions/models.WrTypeItem'
  18143. type: array
  18144. lststep:
  18145. description: 履约规则
  18146. items:
  18147. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18148. type: array
  18149. marketid:
  18150. description: 市场id
  18151. type: integer
  18152. type: object
  18153. models.WrGoodsPerformanceStep:
  18154. properties:
  18155. autoid:
  18156. description: AutoID
  18157. type: integer
  18158. isauto:
  18159. description: 是否自动 - 0:不自动 1:自动
  18160. type: integer
  18161. remark:
  18162. description: 备注
  18163. type: string
  18164. stepdate:
  18165. description: 天数信息(T+N)
  18166. type: string
  18167. stepdays:
  18168. description: 距离上一步天数
  18169. type: integer
  18170. stepindex:
  18171. description: 步骤序号
  18172. type: integer
  18173. stepinfo:
  18174. description: 步骤信息(步骤名称+步骤值)
  18175. type: string
  18176. steptypeid:
  18177. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18178. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18179. type: integer
  18180. steptypename:
  18181. description: 步骤名称
  18182. type: string
  18183. stepvalue:
  18184. description: 期初均价
  18185. type: number
  18186. templateid:
  18187. description: 履约计划模板ID
  18188. type: integer
  18189. type: object
  18190. models.WrHoldLB:
  18191. properties:
  18192. accountid:
  18193. description: 持有人帐户ID
  18194. type: integer
  18195. bannerpicurl:
  18196. description: Banner图
  18197. type: string
  18198. createtime:
  18199. description: 创建时间(过户时间)
  18200. type: string
  18201. deliverygoodscode:
  18202. description: 品种代码
  18203. type: string
  18204. deliverygoodsid:
  18205. description: 品种ID
  18206. type: integer
  18207. deliverygoodsname:
  18208. description: 品种名称
  18209. type: string
  18210. enableqty:
  18211. description: 可用数量
  18212. type: number
  18213. enumdicname:
  18214. description: 单位名称
  18215. type: string
  18216. freezerqty:
  18217. description: 冻结数量
  18218. type: number
  18219. ladingbillid:
  18220. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18221. type: string
  18222. minivalue:
  18223. description: 现货商品最小变动值
  18224. type: integer
  18225. optioncompare:
  18226. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18227. type: string
  18228. parentsubnum:
  18229. description: 拆分父子单号
  18230. type: integer
  18231. pledgeqty:
  18232. description: 质押数量
  18233. type: number
  18234. qty:
  18235. description: 数量
  18236. type: number
  18237. subnum:
  18238. description: 提单子单号
  18239. type: integer
  18240. thumurls:
  18241. description: 缩略图
  18242. type: string
  18243. tradedate:
  18244. description: 交易日(yyyyMMdd)
  18245. type: string
  18246. userid:
  18247. description: 持有人ID
  18248. type: integer
  18249. warehouseid:
  18250. description: 仓库ID
  18251. type: integer
  18252. warehousename:
  18253. description: 仓库名称
  18254. type: string
  18255. wrfactortypeid:
  18256. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18257. type: string
  18258. wrfactortypename:
  18259. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18260. type: string
  18261. wrholdeno:
  18262. description: 仓单编号
  18263. type: string
  18264. wrid:
  18265. description: 仓单变更ID
  18266. type: string
  18267. wrstandardcode:
  18268. description: 现货商品代码
  18269. type: string
  18270. wrstandardid:
  18271. description: 现货商品ID
  18272. type: integer
  18273. wrstandardname:
  18274. description: 商品名称
  18275. type: string
  18276. wrtypename:
  18277. description: 商品
  18278. type: string
  18279. type: object
  18280. models.WrMarketTradeConfig:
  18281. properties:
  18282. basisdownratio:
  18283. description: 浮动价基差下限比例(仓单贸易)
  18284. type: number
  18285. basisupratio:
  18286. description: 浮动价基差上限比例(仓单贸易)
  18287. type: number
  18288. buychargealgorithm:
  18289. description: 买方手续费收取方式 1:比率 2:固定
  18290. type: integer
  18291. buychargealgorithm2:
  18292. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18293. type: integer
  18294. buychargealgorithmvalue:
  18295. description: 买方手续费设置值(交易所部分)
  18296. type: number
  18297. buychargealgorithmvalue2:
  18298. description: 买方手续费设置值(会员部分)
  18299. type: number
  18300. buychargealgorithmvalue3:
  18301. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18302. type: number
  18303. buychargealgorithmvalue4:
  18304. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18305. type: number
  18306. buyfirstmarginalgorithm:
  18307. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18308. type: integer
  18309. buyfirstmarginvalue:
  18310. description: 买方出价保证金设置值 - [竞拍]
  18311. type: number
  18312. buymarginalgorithm:
  18313. description: 买方保证金方式 - 1:比率 2:固定
  18314. type: integer
  18315. buymarginvalue:
  18316. description: 买方保证金设置值
  18317. type: number
  18318. buyreleaseratio:
  18319. description: 买方释放比率[2:分步履约]
  18320. type: number
  18321. executemode:
  18322. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18323. type: integer
  18324. executeside:
  18325. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18326. type: integer
  18327. failedchargealgorithm:
  18328. description: 流拍手续费收取方式 1:比率 2:固定
  18329. type: integer
  18330. failedchargevalue:
  18331. description: 流拍手续费设置值
  18332. type: number
  18333. failedchargevalue2:
  18334. description: 流拍卖方手续费设置值
  18335. type: number
  18336. holddays:
  18337. description: 合同期限[2:分步履约]
  18338. type: integer
  18339. listingmode:
  18340. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18341. type: integer
  18342. marketid:
  18343. description: 市场ID-仓单贸易、竞拍、预售
  18344. type: integer
  18345. minqty:
  18346. description: 最小执行量[2:分步履约]
  18347. type: number
  18348. modifierid:
  18349. description: 修改人
  18350. type: integer
  18351. nowrquotaflag:
  18352. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18353. type: integer
  18354. performancetempid:
  18355. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18356. 立即执行(-1)
  18357. type: integer
  18358. performancetempid2:
  18359. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18360. 立即执行
  18361. type: integer
  18362. performancetempid2s:
  18363. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18364. - 履约方式: 立即执行
  18365. type: string
  18366. performancetempids:
  18367. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18368. - 履约方式: 立即执行(-1)
  18369. type: string
  18370. performanceway:
  18371. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18372. type: integer
  18373. sellchargealgorithm:
  18374. description: 卖方手续费收取方式 1:比率 2:固定
  18375. type: integer
  18376. sellchargealgorithm2:
  18377. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18378. type: integer
  18379. sellchargealgorithmvalue:
  18380. description: 卖方手续费设置值(交易所部分)
  18381. type: number
  18382. sellchargealgorithmvalue2:
  18383. description: 卖方手续费设置值(会员部分)
  18384. type: number
  18385. sellchargealgorithmvalue3:
  18386. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18387. type: number
  18388. sellchargealgorithmvalue4:
  18389. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18390. type: number
  18391. sellmarginalgorithm:
  18392. description: 卖方保证金方式 - 1:比率 2:固定
  18393. type: integer
  18394. sellmarginvalue:
  18395. description: 卖方保证金设置值
  18396. type: number
  18397. sellmarginvalue2:
  18398. description: 卖方保证金设置值(无仓单)
  18399. type: number
  18400. sellreleaseratio:
  18401. description: 卖方释放比率[2:分步履约]
  18402. type: number
  18403. updatetime:
  18404. description: 更新时间
  18405. type: string
  18406. type: object
  18407. models.WrOrderDetail:
  18408. properties:
  18409. accountid:
  18410. description: 交易账号(资金账号)
  18411. type: integer
  18412. allfriendsflag:
  18413. description: 是否全好友可见 - 0:否 1:是
  18414. type: integer
  18415. amount:
  18416. description: 期初均价
  18417. type: number
  18418. bannerpicurl:
  18419. description: Banner图
  18420. type: string
  18421. begindate:
  18422. description: 开始交易日(yyyymmdd)
  18423. type: string
  18424. buyorsell:
  18425. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18426. type: integer
  18427. canbargain:
  18428. description: 是否可议价 - 0:不可 1:可
  18429. type: integer
  18430. cancelqty:
  18431. description: 撤销数量
  18432. type: number
  18433. canpart:
  18434. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18435. type: integer
  18436. delistminqty:
  18437. description: 起摘数量
  18438. type: integer
  18439. deliverygoodscode:
  18440. description: 品种代码
  18441. type: string
  18442. deliverygoodsid:
  18443. description: 品种ID
  18444. type: integer
  18445. deliverygoodsname:
  18446. description: 品种名称
  18447. type: string
  18448. deliverymonth:
  18449. description: 交收月
  18450. type: string
  18451. enddate:
  18452. description: 结束交易日(yyyymmdd)
  18453. type: string
  18454. enumdicname:
  18455. description: 单位名称
  18456. type: string
  18457. fixedprice:
  18458. description: 固定价格 - [挂牌]
  18459. type: number
  18460. freezecharge:
  18461. description: 期初均价
  18462. type: number
  18463. freezemargin:
  18464. description: 期初均价
  18465. type: number
  18466. futupricemove:
  18467. description: 期货升贴水
  18468. type: number
  18469. futushow:
  18470. description: 期货合约/升贴水
  18471. type: string
  18472. goodscode:
  18473. description: 期货合约
  18474. type: string
  18475. goodsid:
  18476. description: 期货商品id
  18477. type: integer
  18478. goodsname:
  18479. description: 商品名称
  18480. type: string
  18481. haswr:
  18482. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18483. type: integer
  18484. isspecified:
  18485. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18486. type: integer
  18487. ladingbillid:
  18488. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18489. type: string
  18490. marginvalue:
  18491. description: 期初均价
  18492. type: number
  18493. marketid:
  18494. description: 市场ID
  18495. type: integer
  18496. matchusername:
  18497. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18498. type: string
  18499. minivalue:
  18500. description: 现货商品最小变动值
  18501. type: integer
  18502. optioncompare:
  18503. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18504. type: string
  18505. orderqty:
  18506. description: 委托数量
  18507. type: number
  18508. ordertime:
  18509. description: 委托时间(挂牌时间)
  18510. type: string
  18511. performancetemplateid:
  18512. description: 履约模板id
  18513. type: integer
  18514. pricemove:
  18515. description: 升贴水(浮动价时填写) - [挂牌]
  18516. type: number
  18517. taname:
  18518. description: 交易用户名称(资金账号名称)
  18519. type: string
  18520. thumurls:
  18521. description: 缩略图
  18522. type: string
  18523. tradedate:
  18524. description: 交易日(yyyyMMdd)
  18525. type: string
  18526. tradeprice:
  18527. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18528. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18529. type: number
  18530. tradeqty:
  18531. description: 成交数量
  18532. type: number
  18533. userid:
  18534. description: 用户ID
  18535. type: integer
  18536. validtime:
  18537. description: 挂牌有效期
  18538. type: string
  18539. validtype:
  18540. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18541. type: integer
  18542. warehouseid:
  18543. description: 仓库ID
  18544. type: integer
  18545. warehousename:
  18546. description: 仓库名称
  18547. type: string
  18548. wrfactortypeid:
  18549. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18550. type: string
  18551. wrfactortypename:
  18552. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18553. type: string
  18554. wrpricetype:
  18555. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18556. type: integer
  18557. wrstandardcode:
  18558. description: 现货商品代码
  18559. type: string
  18560. wrstandardid:
  18561. description: 现货商品ID
  18562. type: integer
  18563. wrstandardname:
  18564. description: 商品名称
  18565. type: string
  18566. wrtradeorderid:
  18567. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18568. type: string
  18569. wrtradeorderstatus:
  18570. 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:撤单解冻贷款失败
  18571. type: integer
  18572. wrtradetype:
  18573. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18574. type: integer
  18575. wrtypename:
  18576. description: 商品
  18577. type: string
  18578. type: object
  18579. models.WrOrderQuote:
  18580. properties:
  18581. bannerpicurl:
  18582. description: Banner图
  18583. type: string
  18584. buyprice:
  18585. description: 买价
  18586. type: number
  18587. buypricemove:
  18588. description: 买升贴水(基差)
  18589. type: number
  18590. buyqty:
  18591. description: 买量
  18592. type: number
  18593. deliverygoodscode:
  18594. description: 品种代码
  18595. type: string
  18596. deliverygoodsid:
  18597. description: 品种id
  18598. type: integer
  18599. deliverygoodsname:
  18600. description: 品种名称
  18601. type: string
  18602. deliverymonth:
  18603. description: 交收月
  18604. type: string
  18605. enumdicname:
  18606. description: 单位名称
  18607. type: string
  18608. goodscode:
  18609. description: 商品合约(浮动价列表才有)
  18610. type: string
  18611. goodsid:
  18612. description: 商品id(浮动价列表才有)
  18613. type: integer
  18614. minivalue:
  18615. description: 现货商品最小变动值
  18616. type: integer
  18617. pictureurls:
  18618. description: 详情图片(逗号分隔)
  18619. type: string
  18620. sellprice:
  18621. description: 卖价
  18622. type: number
  18623. sellpricemove:
  18624. description: 卖升贴水(基差)
  18625. type: number
  18626. sellqty:
  18627. description: 卖量
  18628. type: number
  18629. thumurls:
  18630. description: 缩略图片(1:1)(逗号分隔)
  18631. type: string
  18632. warehousecode:
  18633. description: 仓库代码
  18634. type: string
  18635. warehouseid:
  18636. description: 仓库id
  18637. type: integer
  18638. warehousename:
  18639. description: 仓库名称
  18640. type: string
  18641. wrfactortypeid:
  18642. description: 仓单要素id
  18643. type: string
  18644. wrfactortypename:
  18645. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18646. type: string
  18647. wrgoodsname:
  18648. description: 商品(商品名称+仓库要素名称 拼接)
  18649. type: string
  18650. wrstandardcode:
  18651. description: 商品代码
  18652. type: string
  18653. wrstandardid:
  18654. description: 商品id
  18655. type: integer
  18656. wrstandardname:
  18657. description: 商品名称
  18658. type: string
  18659. type: object
  18660. models.WrOrderQuoteDetail:
  18661. properties:
  18662. buyorsell:
  18663. description: 买卖 - 0:买 1:卖
  18664. type: integer
  18665. delistminqty:
  18666. description: 期初均价
  18667. type: number
  18668. deliverymonth:
  18669. description: 交收月
  18670. type: string
  18671. enumdicname:
  18672. description: 单位名称
  18673. type: string
  18674. fixedprice:
  18675. description: 买(卖)价
  18676. type: number
  18677. marketid:
  18678. description: 市场id
  18679. type: integer
  18680. minivalue:
  18681. description: 现货商品最小变动值
  18682. type: integer
  18683. orderqty:
  18684. description: 买(卖)量(=委托量-成交量)
  18685. type: number
  18686. ordertime:
  18687. description: 委托时间
  18688. type: string
  18689. pricemove:
  18690. description: 买(卖)升贴水- 基差
  18691. type: number
  18692. userid:
  18693. description: 购买方(销售方)用户ID
  18694. type: integer
  18695. username:
  18696. description: 购买方(销售方)
  18697. type: string
  18698. wrtradeorderid:
  18699. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18700. type: string
  18701. type: object
  18702. models.WrOutInApply:
  18703. properties:
  18704. applyid:
  18705. description: 申请单id
  18706. type: string
  18707. applystatus:
  18708. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18709. 8:已撤销
  18710. type: integer
  18711. applytime:
  18712. description: 申请时间
  18713. type: string
  18714. applytype:
  18715. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18716. type: integer
  18717. bannerpicurl:
  18718. description: Banner图
  18719. type: string
  18720. begindate:
  18721. description: 开始交易日(yyyymmdd)
  18722. type: string
  18723. deliverygoodscode:
  18724. description: 品种代码
  18725. type: string
  18726. deliverygoodsid:
  18727. description: 品种ID
  18728. type: integer
  18729. deliverygoodsname:
  18730. description: 品种名称
  18731. type: string
  18732. enddate:
  18733. description: 结束交易日(yyyymmdd)
  18734. type: string
  18735. enumdicname:
  18736. description: 单位名称
  18737. type: string
  18738. expresscompany:
  18739. description: 物流公司
  18740. type: string
  18741. expressnum:
  18742. description: 物流单号
  18743. type: string
  18744. minivalue:
  18745. description: 现货商品最小变动值
  18746. type: integer
  18747. optioncompare:
  18748. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18749. type: string
  18750. qty:
  18751. description: 数量
  18752. type: integer
  18753. userid:
  18754. description: 用户id
  18755. type: integer
  18756. warehouseid:
  18757. description: 仓库ID
  18758. type: integer
  18759. warehousename:
  18760. description: 仓库名称
  18761. type: string
  18762. wrfactortypeid:
  18763. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18764. type: string
  18765. wrfactortypename:
  18766. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18767. type: string
  18768. wrstandardcode:
  18769. description: 现货商品代码
  18770. type: string
  18771. wrstandardid:
  18772. description: 现货商品ID
  18773. type: integer
  18774. wrstandardname:
  18775. description: 商品名称
  18776. type: string
  18777. wrtypename:
  18778. description: 商品
  18779. type: string
  18780. type: object
  18781. models.WrPerformancePlan:
  18782. properties:
  18783. activatemonth:
  18784. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18785. type: string
  18786. amount:
  18787. description: 履约金额(总金额)
  18788. type: number
  18789. begindate:
  18790. description: 开始交易日(yyyymmdd)
  18791. type: string
  18792. buyaccountid:
  18793. description: 买方账号
  18794. type: integer
  18795. buyerfreezeamount:
  18796. description: 履约冻结(买履约)
  18797. type: number
  18798. buyerfreezeamountremain:
  18799. description: 履约冻结剩余(买履约)
  18800. type: number
  18801. buyorsell:
  18802. description: 买卖方向 0-买 1-卖
  18803. type: integer
  18804. buypaidamount:
  18805. description: 买方已冻/已扣金额 (已付金额)
  18806. type: number
  18807. buyusername:
  18808. description: 买方名字
  18809. type: string
  18810. contractid:
  18811. description: 合同ID
  18812. type: integer
  18813. createtime:
  18814. description: 创建时间
  18815. type: string
  18816. creatorid:
  18817. description: 创建人
  18818. type: integer
  18819. curstepdeadline:
  18820. description: 当前步骤到期时间
  18821. type: string
  18822. curstepid:
  18823. description: 当前步骤ID
  18824. type: string
  18825. curstepname:
  18826. description: 当前步骤名称
  18827. type: string
  18828. deliverygoodscode:
  18829. description: 品种代码
  18830. type: string
  18831. deliverygoodsid:
  18832. description: 品种ID
  18833. type: integer
  18834. deliverygoodsname:
  18835. description: 品种名称
  18836. type: string
  18837. enddate:
  18838. description: 结束交易日(yyyymmdd)
  18839. type: string
  18840. enumdicname:
  18841. description: 单位名称
  18842. type: string
  18843. expressfee:
  18844. description: 运费
  18845. type: number
  18846. expressfeeconfirmed:
  18847. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18848. type: integer
  18849. hasovershort:
  18850. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18851. type: integer
  18852. haswr:
  18853. description: 类型 0-仓单预售 1-仓单贸易
  18854. type: integer
  18855. marketid:
  18856. description: 市场ID
  18857. type: integer
  18858. middleaccountid:
  18859. description: 中间商资金账号ID
  18860. type: integer
  18861. middleuserid:
  18862. description: 中间商用户ID
  18863. type: integer
  18864. minivalue:
  18865. description: 现货商品最小变动值
  18866. type: integer
  18867. optioncompare:
  18868. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18869. type: string
  18870. overshortamount:
  18871. description: 溢短金额
  18872. type: number
  18873. overshortqty:
  18874. description: 溢短数量
  18875. type: number
  18876. paymenttype:
  18877. description: 付款方式 - 1:冻结 2:扣款
  18878. type: integer
  18879. performanceplanid:
  18880. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18881. type: string
  18882. performancestatus:
  18883. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18884. 9:超时待处理 10:超时关闭
  18885. type: integer
  18886. performancetype:
  18887. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18888. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18889. type: integer
  18890. qty:
  18891. description: 履约数量
  18892. type: number
  18893. relatedorderid:
  18894. description: 关联单号(履约类型的关联单号)
  18895. type: string
  18896. remark:
  18897. description: 备注
  18898. type: string
  18899. sellaccountid:
  18900. description: 卖方账号
  18901. type: integer
  18902. sellerfreezeamount:
  18903. description: 履约冻结(卖履约)
  18904. type: number
  18905. sellerfreezeamountremain:
  18906. description: 履约冻结剩余(卖履约)
  18907. type: number
  18908. sellreceivedamount:
  18909. description: 卖方已收金额
  18910. type: number
  18911. sellusername:
  18912. description: 卖方名字
  18913. type: string
  18914. shipremark:
  18915. description: 发货备注[物流单号]
  18916. type: string
  18917. starttime:
  18918. description: 开始时间
  18919. type: string
  18920. steptypeid:
  18921. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18922. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18923. type: integer
  18924. typename:
  18925. description: 履约类型 名称
  18926. type: string
  18927. unpaidamount:
  18928. description: 期初均价
  18929. type: number
  18930. userid:
  18931. description: 用户id
  18932. type: integer
  18933. warehouseid:
  18934. description: 仓库ID
  18935. type: integer
  18936. warehousename:
  18937. description: 仓库名称
  18938. type: string
  18939. wrfactortypeid:
  18940. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18941. type: string
  18942. wrfactortypename:
  18943. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18944. type: string
  18945. wrstandardcode:
  18946. description: 现货商品代码
  18947. type: string
  18948. wrstandardid:
  18949. description: 现货商品ID
  18950. type: integer
  18951. wrstandardname:
  18952. description: 商品名称
  18953. type: string
  18954. wrtransferuserid:
  18955. description: 仓单受让用户
  18956. type: integer
  18957. wrtypename:
  18958. description: 商品
  18959. type: string
  18960. required:
  18961. - userid
  18962. type: object
  18963. models.WrPerformancePlanStep:
  18964. properties:
  18965. delaydays:
  18966. description: 延期申请天数
  18967. type: integer
  18968. deliverygoodscode:
  18969. description: 品种代码
  18970. type: string
  18971. deliverygoodsid:
  18972. description: 品种ID
  18973. type: integer
  18974. deliverygoodsname:
  18975. description: 品种名称
  18976. type: string
  18977. endtime:
  18978. description: 结束日期
  18979. type: string
  18980. enumdicname:
  18981. description: 单位名称
  18982. type: string
  18983. executeside:
  18984. description: 步骤执行方 - 1:买方 2:卖方
  18985. type: integer
  18986. handlestatus:
  18987. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18988. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18989. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18990. type: integer
  18991. isauto:
  18992. description: 是否自动 - 0:不自动 1:自动
  18993. type: integer
  18994. islastreceivestep:
  18995. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18996. type: integer
  18997. minivalue:
  18998. description: 现货商品最小变动值
  18999. type: integer
  19000. optioncompare:
  19001. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19002. type: string
  19003. overdays:
  19004. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19005. type: integer
  19006. performancestepid:
  19007. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19008. type: string
  19009. planid:
  19010. description: 所属履约计划ID
  19011. type: string
  19012. realamount:
  19013. description: 实际完成金额
  19014. type: number
  19015. relatedorderid:
  19016. description: 关联单号
  19017. type: string
  19018. remaindays:
  19019. description: 剩余天数
  19020. type: integer
  19021. remark:
  19022. description: 错误备注
  19023. type: string
  19024. starttime:
  19025. description: 开始日期
  19026. type: string
  19027. stepamount:
  19028. description: 步骤金额
  19029. type: number
  19030. stepdays:
  19031. description: 距离上一步天数(分钟)
  19032. type: integer
  19033. stepindex:
  19034. description: 步骤序号
  19035. type: integer
  19036. steplanchtype:
  19037. description: 步骤启动类型 - 1:系统自动 2:手动
  19038. type: integer
  19039. stepremark:
  19040. description: 步骤备注
  19041. type: string
  19042. stepstatus:
  19043. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19044. type: integer
  19045. steptypeid:
  19046. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19047. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19048. type: integer
  19049. steptypename:
  19050. description: 步骤名称
  19051. type: string
  19052. stepvalue:
  19053. description: 步骤值
  19054. type: number
  19055. warehouseid:
  19056. description: 仓库ID
  19057. type: integer
  19058. warehousename:
  19059. description: 仓库名称
  19060. type: string
  19061. wrfactortypeid:
  19062. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19063. type: string
  19064. wrfactortypename:
  19065. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19066. type: string
  19067. wrstandardcode:
  19068. description: 现货商品代码
  19069. type: string
  19070. wrstandardid:
  19071. description: 现货商品ID
  19072. type: integer
  19073. wrstandardname:
  19074. description: 商品名称
  19075. type: string
  19076. wrtypename:
  19077. description: 商品
  19078. type: string
  19079. type: object
  19080. models.WrPerformanceStepType:
  19081. properties:
  19082. canauto:
  19083. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19084. type: integer
  19085. steptypeid:
  19086. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19087. type: integer
  19088. steptypename:
  19089. description: 步骤类型名称
  19090. type: string
  19091. type: object
  19092. models.WrPerformanceTemplateEx:
  19093. properties:
  19094. autoid:
  19095. description: AutoID 模板id
  19096. type: integer
  19097. createtime:
  19098. description: 创建时间
  19099. type: string
  19100. creatorid:
  19101. description: 创建人
  19102. type: integer
  19103. lstStep:
  19104. description: 步骤信息列表
  19105. items:
  19106. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19107. type: array
  19108. paymenttype:
  19109. description: 支付方式 - 1:冻结 2:扣款
  19110. type: integer
  19111. takemode:
  19112. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19113. type: integer
  19114. templatename:
  19115. description: 模板名称
  19116. type: string
  19117. templatetype:
  19118. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19119. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19120. type: integer
  19121. userid:
  19122. description: 所属用户
  19123. type: integer
  19124. type: object
  19125. models.WrPosition:
  19126. properties:
  19127. accountid:
  19128. description: 帐户ID
  19129. type: integer
  19130. buyexcuteqty:
  19131. description: 采购履约中数量
  19132. type: number
  19133. creditcurqty:
  19134. description: 授信当前数量(预售仓单:预售当前量)
  19135. type: number
  19136. creditenableqty:
  19137. description: '授信可用数量(预售仓单: 可用数量)'
  19138. type: number
  19139. creditfreezeqty:
  19140. description: '授信冻结数量(预售仓单: 当前数量)'
  19141. type: number
  19142. credittotalqty:
  19143. description: 授信总数量(预售仓单:预售总量)
  19144. type: number
  19145. credittradeqty:
  19146. description: 授信成交数量(预售仓单:成交总量)
  19147. type: number
  19148. deliverygoodscode:
  19149. description: 品种代码
  19150. type: string
  19151. deliverygoodsid:
  19152. description: 品种ID
  19153. type: integer
  19154. deliverygoodsname:
  19155. description: 品种名称
  19156. type: string
  19157. enalbeqty:
  19158. description: 可用数量
  19159. type: number
  19160. enumdicname:
  19161. description: 单位名称
  19162. type: string
  19163. freezeqty:
  19164. description: 总冻结数量
  19165. type: number
  19166. haswr:
  19167. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19168. type: integer
  19169. minivalue:
  19170. description: 现货商品最小变动值
  19171. type: integer
  19172. modifytime:
  19173. description: 修改时间(过户时间)
  19174. type: string
  19175. optioncompare:
  19176. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19177. type: string
  19178. pledgeqty:
  19179. description: 质押数量
  19180. type: number
  19181. querytype:
  19182. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19183. type: integer
  19184. sellexcuteqty:
  19185. description: 销售履约中数量
  19186. type: number
  19187. totalqty:
  19188. description: 总数量(库存数量)
  19189. type: number
  19190. warehouseid:
  19191. description: 仓库ID
  19192. type: integer
  19193. warehousename:
  19194. description: 仓库名称
  19195. type: string
  19196. wrfactortypeid:
  19197. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19198. type: string
  19199. wrfactortypename:
  19200. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19201. type: string
  19202. wrpositionid:
  19203. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19204. type: string
  19205. wrpositionno:
  19206. description: 仓单编号
  19207. type: string
  19208. wrstandardcode:
  19209. description: 现货商品代码
  19210. type: string
  19211. wrstandardid:
  19212. description: 现货商品ID
  19213. type: integer
  19214. wrstandardname:
  19215. description: 商品名称
  19216. type: string
  19217. wrtypename:
  19218. description: 商品
  19219. type: string
  19220. wruserid:
  19221. description: 持有人ID
  19222. type: integer
  19223. type: object
  19224. models.WrPreSaleInfo:
  19225. properties:
  19226. bannerpicurl:
  19227. description: Banner图
  19228. type: string
  19229. baseqty:
  19230. description: 中签基数
  19231. type: number
  19232. createtime:
  19233. description: 创建时间
  19234. type: string
  19235. deliverygoodsid:
  19236. description: 现货品种ID
  19237. type: integer
  19238. enddate:
  19239. description: 预售结束日期
  19240. type: string
  19241. enumdicname:
  19242. description: 单位名称
  19243. type: string
  19244. lotteryflag:
  19245. description: 摇号标识 - 0:未摇号 1:已摇号
  19246. type: integer
  19247. lotteryqty:
  19248. description: 摇号总量
  19249. type: number
  19250. luckyqty:
  19251. description: 已中签量
  19252. type: number
  19253. marketid:
  19254. description: 市场ID
  19255. type: integer
  19256. maxbuyqty:
  19257. description: 单人最大申购量
  19258. type: number
  19259. maxluckyqty:
  19260. description: 单人最大中签量
  19261. type: number
  19262. pictureurls:
  19263. description: 详情图片(逗号分隔)
  19264. type: string
  19265. placeqty:
  19266. description: 已配售量
  19267. type: number
  19268. presaleapplyid:
  19269. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19270. example: "0"
  19271. type: string
  19272. presaleqty:
  19273. description: 预售总量
  19274. type: number
  19275. presalestatus:
  19276. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19277. type: integer
  19278. sellaccountid:
  19279. description: 发行方资金账户ID
  19280. type: integer
  19281. selluserid:
  19282. description: 发行方用户ID
  19283. type: integer
  19284. sellwrtradeorderid:
  19285. description: 发行方卖委托单ID
  19286. type: string
  19287. startdate:
  19288. description: 预售开始日期
  19289. type: string
  19290. takestartdate:
  19291. description: 提货开始日期
  19292. type: string
  19293. thumurls:
  19294. description: 缩略图片(1:1)(逗号分隔)
  19295. type: string
  19296. tradedate:
  19297. description: 交易日
  19298. type: string
  19299. unitid:
  19300. description: 单位ID
  19301. type: integer
  19302. unitprice:
  19303. description: 商品单价
  19304. type: number
  19305. username:
  19306. description: 发行方用户名称
  19307. type: string
  19308. warehousecode:
  19309. description: 仓库代码(仓库简称)
  19310. type: string
  19311. warehouseid:
  19312. description: 仓库ID
  19313. type: integer
  19314. warehousename:
  19315. description: 仓库名称
  19316. type: string
  19317. wrfactortypeid:
  19318. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19319. example: "0"
  19320. type: string
  19321. wrstandardid:
  19322. description: 现货商品ID
  19323. type: integer
  19324. wrstandardname:
  19325. description: 现货商品名称
  19326. type: string
  19327. type: object
  19328. models.WrQuoteOrderMyq:
  19329. properties:
  19330. buyorsell:
  19331. description: 买卖 - 0:买 1:卖
  19332. type: integer
  19333. canbargain:
  19334. description: 是否可议价 - 0:不可 1:可
  19335. type: integer
  19336. canpart:
  19337. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19338. type: integer
  19339. delistminqty:
  19340. description: 期初均价
  19341. type: number
  19342. deliverygoodscode:
  19343. description: 品种代码
  19344. type: string
  19345. deliverygoodsid:
  19346. description: 品种ID
  19347. type: integer
  19348. deliverygoodsname:
  19349. description: 品种名称
  19350. type: string
  19351. deliverymonth:
  19352. description: 交收月
  19353. type: string
  19354. enumdicname:
  19355. description: 单位名称
  19356. type: string
  19357. fixedprice:
  19358. description: 买(卖)价
  19359. type: number
  19360. goodscode:
  19361. description: 商品合约代码
  19362. type: string
  19363. marginflag:
  19364. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19365. type: integer
  19366. marginvalue:
  19367. description: 保证金设置值
  19368. type: number
  19369. minivalue:
  19370. description: 现货商品最小变动值
  19371. type: integer
  19372. orderqty:
  19373. description: 买(卖)量(=委托量-成交量)
  19374. type: number
  19375. ordertime:
  19376. description: 委托时间
  19377. type: string
  19378. performancetemplateid:
  19379. description: 履约模板id
  19380. type: integer
  19381. pricemove:
  19382. description: 买(卖)升贴水- 基差
  19383. type: number
  19384. templatename:
  19385. description: 履约模板名称
  19386. type: string
  19387. userid:
  19388. description: 购买方(销售方)用户ID
  19389. type: integer
  19390. username:
  19391. description: 购买方(销售方)
  19392. type: string
  19393. validtime:
  19394. description: 有效期限
  19395. type: string
  19396. validtype:
  19397. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19398. type: integer
  19399. warehousename:
  19400. description: 仓库名称
  19401. type: string
  19402. wrfactortypeid:
  19403. description: 仓单要素id
  19404. type: string
  19405. wrstandardcode:
  19406. description: 现货商品代码
  19407. type: string
  19408. wrstandardid:
  19409. description: 现货商品ID
  19410. type: integer
  19411. wrstandardname:
  19412. description: 商品名称
  19413. type: string
  19414. wrtradeorderid:
  19415. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19416. type: string
  19417. wrtypename:
  19418. description: 商品
  19419. type: string
  19420. type: object
  19421. models.WrReckonSpotGoodsTradeSum:
  19422. properties:
  19423. begindate:
  19424. description: 开始日期(结果含开始日期) yyyymmdd
  19425. type: string
  19426. enddate:
  19427. description: 结束日期(结果含结束日期) yyyymmdd
  19428. type: string
  19429. istoday:
  19430. description: 是否当日
  19431. type: boolean
  19432. marketid:
  19433. description: 市场ID
  19434. type: integer
  19435. price:
  19436. description: 价格 = 日成交金额 / 日成交数量
  19437. type: string
  19438. reckondate:
  19439. description: 日期 格式 yyyymmdd
  19440. type: string
  19441. tradeamount:
  19442. description: 期初均价
  19443. type: number
  19444. tradeqty:
  19445. description: 期初均价
  19446. type: number
  19447. wrstandardid:
  19448. description: 现货商品ID
  19449. type: integer
  19450. type: object
  19451. models.WrScfContract:
  19452. properties:
  19453. borroweruserid:
  19454. description: 借款用户ID
  19455. type: integer
  19456. buybackwrpositionqty:
  19457. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19458. type: number
  19459. closeinterest:
  19460. description: 已结利息 -> 已结费用
  19461. type: number
  19462. currisklevel:
  19463. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19464. type: integer
  19465. deadline:
  19466. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19467. type: string
  19468. deliverygoodscode:
  19469. description: 品种代码
  19470. type: string
  19471. deliverygoodsid:
  19472. description: 品种ID
  19473. type: integer
  19474. deliverygoodsname:
  19475. description: 品种名称
  19476. type: string
  19477. enumdicname:
  19478. description: 单位名称
  19479. type: string
  19480. financingdays:
  19481. description: 天数(天)
  19482. type: integer
  19483. initmargin:
  19484. description: 保证金 - [仓单回购]
  19485. type: number
  19486. interestamount:
  19487. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19488. type: number
  19489. interestdebt:
  19490. description: 利息欠款(记录负数) -> 费用欠款
  19491. type: number
  19492. interestminlen:
  19493. description: 最小起息天数
  19494. type: integer
  19495. interestrate:
  19496. description: 利率
  19497. type: number
  19498. interestratemode:
  19499. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19500. type: integer
  19501. interestsettlemode:
  19502. description: 结息方式 - 1:按日结息 3:按月结息
  19503. type: integer
  19504. interestsettlevalue:
  19505. description: 结息方式值
  19506. type: integer
  19507. isautoloan:
  19508. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19509. type: integer
  19510. lastcloseinterestday:
  19511. description: 最近结息日(yyyyMMdd)
  19512. type: string
  19513. lenderamount:
  19514. description: 贷款金额 -> 借款金额
  19515. type: number
  19516. lenderuserid:
  19517. description: 贷款方用户ID -> 融出方用户ID
  19518. type: integer
  19519. lenderusername:
  19520. description: 融出方
  19521. type: string
  19522. marginratio:
  19523. description: 保证金比率质押率 - [仓单质押]
  19524. type: number
  19525. marketid:
  19526. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19527. type: integer
  19528. minivalue:
  19529. description: 现货商品最小变动值
  19530. type: integer
  19531. optioncompare:
  19532. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19533. type: string
  19534. pricemove:
  19535. description: 估值升贴水值
  19536. type: number
  19537. productdetailid:
  19538. description: 产品组合ID
  19539. type: integer
  19540. productid:
  19541. description: 金融产品ID
  19542. type: integer
  19543. productname:
  19544. description: 产品名称
  19545. type: string
  19546. remainamount:
  19547. description: 合同剩余金额 -> 剩余金额
  19548. type: number
  19549. remainwrpositionqty:
  19550. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19551. type: number
  19552. remark:
  19553. description: 备注
  19554. type: string
  19555. scfcontractid:
  19556. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19557. type: string
  19558. scfcontractstatus:
  19559. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19560. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19561. type: integer
  19562. scfcontracttype:
  19563. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19564. type: integer
  19565. startinterestday:
  19566. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19567. type: string
  19568. totalinterest:
  19569. description: 已计利息 -> 已计费用
  19570. type: number
  19571. unpaidinterest:
  19572. description: 期初均价
  19573. type: number
  19574. updatetime:
  19575. description: 更新时间
  19576. type: string
  19577. warehouseid:
  19578. description: 仓库ID
  19579. type: integer
  19580. warehousename:
  19581. description: 仓库名称
  19582. type: string
  19583. wrfactortypeid:
  19584. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19585. type: string
  19586. wrfactortypename:
  19587. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19588. type: string
  19589. wrqty:
  19590. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19591. type: number
  19592. wrstandardcode:
  19593. description: 现货商品代码
  19594. type: string
  19595. wrstandardid:
  19596. description: 现货商品ID
  19597. type: integer
  19598. wrstandardname:
  19599. description: 商品名称
  19600. type: string
  19601. wrtypename:
  19602. description: 商品
  19603. type: string
  19604. type: object
  19605. models.WrScfContractInterest:
  19606. properties:
  19607. closeinterest:
  19608. description: 已结利息
  19609. type: number
  19610. closeintereststatus:
  19611. description: 结息状态 - 1:未结 2:已结
  19612. type: integer
  19613. closetime:
  19614. description: 结息时间
  19615. type: string
  19616. closetradedate:
  19617. description: 结息交易日
  19618. type: string
  19619. creatorid:
  19620. description: 操作人ID
  19621. type: integer
  19622. dayrate:
  19623. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19624. type: number
  19625. interest:
  19626. description: 利息
  19627. type: number
  19628. interestamount:
  19629. description: 计息金额
  19630. type: number
  19631. interestday:
  19632. description: 计息日(yyyyMMdd)
  19633. type: string
  19634. scfcontractid:
  19635. description: SCF合同ID
  19636. type: string
  19637. scfcontractinterestid:
  19638. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19639. type: integer
  19640. updatetime:
  19641. description: 更新时间
  19642. type: string
  19643. type: object
  19644. models.WrSearchUser:
  19645. properties:
  19646. userid:
  19647. description: 用户ID
  19648. type: integer
  19649. username:
  19650. description: 用户名称(已脱敏)
  19651. type: string
  19652. username2:
  19653. description: 用户名称(未脱敏)
  19654. type: string
  19655. usertype:
  19656. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19657. type: integer
  19658. required:
  19659. - username
  19660. type: object
  19661. models.WrSiteColumnDetail:
  19662. properties:
  19663. brief:
  19664. description: 简介
  19665. type: string
  19666. context:
  19667. description: 内容
  19668. type: string
  19669. coverimage:
  19670. description: 封面图片
  19671. type: string
  19672. creaedate:
  19673. description: 创建时间
  19674. type: string
  19675. id:
  19676. description: ID(SEQ_SITE_COLUMNDETAIL)
  19677. type: integer
  19678. istop:
  19679. description: 是否置顶 - 0:不置 1:置顶
  19680. type: integer
  19681. publishdate:
  19682. description: 发布日期
  19683. type: string
  19684. title:
  19685. description: 标题
  19686. type: string
  19687. updatedate:
  19688. description: 修改时间
  19689. type: string
  19690. type: object
  19691. models.WrSpecialMatchOrder:
  19692. properties:
  19693. amount:
  19694. description: 金额 = 数量 * 价格
  19695. type: number
  19696. buyorsell:
  19697. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19698. type: integer
  19699. cancelqty:
  19700. description: 撤销数量
  19701. type: number
  19702. deliverygoodscode:
  19703. description: 品种代码
  19704. type: string
  19705. deliverygoodsid:
  19706. description: 品种ID
  19707. type: integer
  19708. deliverygoodsname:
  19709. description: 品种名称
  19710. type: string
  19711. enumdicname:
  19712. description: 单位名称
  19713. type: string
  19714. fixedprice:
  19715. description: 固定价格(价格)
  19716. type: number
  19717. haswr:
  19718. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19719. type: integer
  19720. isspecified:
  19721. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19722. type: integer
  19723. marketid:
  19724. description: 市场ID
  19725. type: integer
  19726. matchuserid:
  19727. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19728. type: integer
  19729. matchusername:
  19730. description: 指定方
  19731. type: string
  19732. minivalue:
  19733. description: 现货商品最小变动值
  19734. type: integer
  19735. optioncompare:
  19736. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19737. type: string
  19738. orderqty:
  19739. description: 委托数量
  19740. type: number
  19741. ordertime:
  19742. description: 委托时间
  19743. type: string
  19744. pricemove:
  19745. description: 升贴水(浮动价时填写) - [挂牌]
  19746. type: number
  19747. tradedate:
  19748. description: 交易日(yyyyMMdd)
  19749. type: string
  19750. tradeprice:
  19751. description: 成交价格
  19752. type: number
  19753. tradeqty:
  19754. description: 成交数量
  19755. type: number
  19756. userid:
  19757. description: 用户ID
  19758. type: integer
  19759. username:
  19760. description: 发起方
  19761. type: string
  19762. warehouseid:
  19763. description: 仓库ID
  19764. type: integer
  19765. warehousename:
  19766. description: 仓库名称
  19767. type: string
  19768. wrfactortypeid:
  19769. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19770. type: string
  19771. wrfactortypename:
  19772. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19773. type: string
  19774. wrpricetype:
  19775. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19776. type: integer
  19777. wrstandardcode:
  19778. description: 现货商品代码
  19779. type: string
  19780. wrstandardid:
  19781. description: 现货商品ID
  19782. type: integer
  19783. wrstandardname:
  19784. description: 商品名称
  19785. type: string
  19786. wrtradeorderid:
  19787. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19788. type: string
  19789. wrtradeorderstatus:
  19790. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19791. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19792. type: integer
  19793. wrtradetype:
  19794. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19795. type: integer
  19796. wrtypename:
  19797. description: 商品
  19798. type: string
  19799. type: object
  19800. models.WrSpotGroupTradeSum:
  19801. properties:
  19802. deliverygoodscode:
  19803. description: 现货品种代码
  19804. type: string
  19805. deliverygoodsid:
  19806. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19807. type: integer
  19808. deliverygoodsname:
  19809. description: 现货品种名称
  19810. type: string
  19811. lastavgprice:
  19812. description: 上上个交易日价格(前2天价格)
  19813. type: string
  19814. lastreckondate:
  19815. description: 上上个交易日(前2天交易日)
  19816. type: string
  19817. reckondate:
  19818. description: 上个交易日(前1天交易日)
  19819. type: string
  19820. todayavgprice:
  19821. description: 上个交易日价格(前1天价格)
  19822. type: string
  19823. updown:
  19824. description: 涨跌
  19825. type: string
  19826. updownratio:
  19827. description: 涨幅(已格式化, 直接显示即可)
  19828. type: string
  19829. type: object
  19830. models.WrSpotGroupTradeSumDetail:
  19831. properties:
  19832. deliverygoodsid:
  19833. description: 现货商品id
  19834. type: integer
  19835. price:
  19836. description: 价格
  19837. type: number
  19838. reckondate:
  19839. description: 日期(yyymmdd, 如:20211031)
  19840. type: string
  19841. type: object
  19842. models.WrSpotGroupTradeSumEx:
  19843. properties:
  19844. lst:
  19845. description: 指数列表
  19846. items:
  19847. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19848. type: array
  19849. prereckondate:
  19850. description: 上上个交易日(yyymmdd)
  19851. type: string
  19852. reckondate:
  19853. description: 上个交易日(yyyymmdd)
  19854. type: string
  19855. type: object
  19856. models.WrStandardFactoryItem:
  19857. properties:
  19858. dgfactoryitemid:
  19859. description: 选择项id
  19860. type: integer
  19861. dgfactoryitemvalue:
  19862. description: 要素项值
  19863. type: string
  19864. warehouseid:
  19865. description: 仓库id
  19866. type: integer
  19867. type: object
  19868. models.WrStandardFactoryItemEx:
  19869. properties:
  19870. dgfactoryitemtypeid:
  19871. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19872. type: integer
  19873. itemlst:
  19874. description: 要素项列表
  19875. items:
  19876. $ref: '#/definitions/models.WrStandardFactoryItem'
  19877. type: array
  19878. itemtypename:
  19879. description: 要素项类型名称
  19880. type: string
  19881. wrstandardid:
  19882. description: 品类
  19883. type: integer
  19884. type: object
  19885. models.WrTradeDetail:
  19886. properties:
  19887. accountid:
  19888. description: 资金账号
  19889. type: integer
  19890. bannerpicurl:
  19891. description: Banner图
  19892. type: string
  19893. begindate:
  19894. description: 开始交易日(yyyymmdd)
  19895. type: string
  19896. buyorsell:
  19897. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19898. type: integer
  19899. chargevalue:
  19900. description: 手续费
  19901. type: number
  19902. deliverygoodscode:
  19903. description: 品种代码
  19904. type: string
  19905. deliverygoodsid:
  19906. description: 品种ID
  19907. type: integer
  19908. deliverygoodsname:
  19909. description: 品种名称
  19910. type: string
  19911. deliverymonth:
  19912. description: 交收月
  19913. type: string
  19914. enddate:
  19915. description: 结束交易日(yyyymmdd)
  19916. type: string
  19917. enumdicname:
  19918. description: 单位名称
  19919. type: string
  19920. haswr:
  19921. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19922. type: integer
  19923. marketid:
  19924. description: 市场ID
  19925. type: integer
  19926. matchaccountid:
  19927. description: 对手账号
  19928. type: integer
  19929. matchusername:
  19930. description: 对手方
  19931. type: string
  19932. minivalue:
  19933. description: 现货商品最小变动值
  19934. type: integer
  19935. optioncompare:
  19936. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19937. type: string
  19938. thumurls:
  19939. description: 缩略图
  19940. type: string
  19941. tradedate:
  19942. description: 交易日(yyyyMMdd)
  19943. type: string
  19944. tradeprice:
  19945. description: 成交价格
  19946. type: number
  19947. tradeqty:
  19948. description: 成交数量
  19949. type: number
  19950. tradetime:
  19951. description: 成交时间
  19952. type: string
  19953. userid:
  19954. description: 用户ID
  19955. type: integer
  19956. warehouseid:
  19957. description: 仓库ID
  19958. type: integer
  19959. warehousename:
  19960. description: 仓库名称
  19961. type: string
  19962. wrfactortypeid:
  19963. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19964. type: string
  19965. wrfactortypename:
  19966. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19967. type: string
  19968. wrstandardcode:
  19969. description: 现货商品代码
  19970. type: string
  19971. wrstandardid:
  19972. description: 现货商品ID
  19973. type: integer
  19974. wrstandardname:
  19975. description: 商品名称
  19976. type: string
  19977. wrtradedetailid:
  19978. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19979. type: string
  19980. wrtradetype:
  19981. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19982. type: integer
  19983. wrtypename:
  19984. description: 商品
  19985. type: string
  19986. type: object
  19987. models.WrTradeOrderDetail:
  19988. properties:
  19989. buyorsell:
  19990. description: 买卖方向 0-买 1-卖
  19991. type: integer
  19992. goodsid:
  19993. description: 商品id
  19994. type: integer
  19995. orderid:
  19996. description: 委托单号
  19997. type: string
  19998. orderprice:
  19999. description: 期初均价
  20000. type: number
  20001. orderqty:
  20002. description: 委托数量
  20003. type: integer
  20004. userid:
  20005. description: 用户id
  20006. type: integer
  20007. username:
  20008. description: 用户名称(已脱敏)
  20009. type: string
  20010. type: object
  20011. models.WrTypeItem:
  20012. properties:
  20013. name:
  20014. description: 名称
  20015. type: string
  20016. value:
  20017. description: 值
  20018. type: string
  20019. type: object
  20020. models.WrUserFriend:
  20021. properties:
  20022. friendname:
  20023. description: 朋友名称(已脱敏)
  20024. type: string
  20025. frienduserid:
  20026. description: 朋友id
  20027. type: integer
  20028. isfriend:
  20029. description: 是否好友 0-不是 1-是
  20030. type: integer
  20031. userid:
  20032. description: 用户id
  20033. type: integer
  20034. type: object
  20035. models.WrUserReceiptInfo:
  20036. properties:
  20037. address:
  20038. description: 地址[发票类型:企业]
  20039. type: string
  20040. autoid:
  20041. description: AutoID
  20042. type: integer
  20043. contactinfo:
  20044. description: 联系方式
  20045. type: string
  20046. idnum:
  20047. description: 身份证号码[发票类型:个人]
  20048. type: string
  20049. isdefault:
  20050. description: 是否默认地址 - 0:否 1:是
  20051. type: integer
  20052. receiptaccount:
  20053. description: 发票帐号[发票类型:企业]
  20054. type: string
  20055. receiptbank:
  20056. description: 发票开户行[发票类型:企业]
  20057. type: string
  20058. receipttype:
  20059. description: 发票类型 - 1:个人 2:企业
  20060. type: integer
  20061. taxpayerid:
  20062. description: 纳税人识别号
  20063. type: string
  20064. userid:
  20065. description: 用户ID
  20066. type: integer
  20067. username:
  20068. description: 户名(个人姓名或企业名称)
  20069. type: string
  20070. type: object
  20071. models.Wrtradetradequote:
  20072. properties:
  20073. begindate:
  20074. description: 开始日期(结果含开始日期) yyyymmdd
  20075. type: string
  20076. buyaccountid:
  20077. description: 买方账号ID
  20078. type: integer
  20079. buyuserid:
  20080. description: 买方用户ID
  20081. type: integer
  20082. deliverygoodsid:
  20083. description: 现货品种ID
  20084. type: integer
  20085. enddate:
  20086. description: 结束日期(结果含结束日期) yyyymmdd
  20087. type: string
  20088. marketid:
  20089. description: 市场ID
  20090. type: integer
  20091. sellaccountid:
  20092. description: 卖方账号ID
  20093. type: integer
  20094. selluserid:
  20095. description: 卖方用户ID
  20096. type: integer
  20097. tradeamount:
  20098. description: 成交金额
  20099. type: number
  20100. tradedate:
  20101. description: 交易日(yyyyMMdd)
  20102. type: string
  20103. tradeprice:
  20104. description: 成交价格
  20105. type: number
  20106. tradeqty:
  20107. description: 成交数量
  20108. type: integer
  20109. tradetime:
  20110. description: 成交时间
  20111. type: string
  20112. wrfactortypeid:
  20113. description: 仓单要素类型ID
  20114. type: integer
  20115. wrstandardid:
  20116. description: 现货商品ID
  20117. type: integer
  20118. wrtradedetailid:
  20119. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20120. type: string
  20121. type: object
  20122. models.XHBRAND:
  20123. properties:
  20124. brandid:
  20125. description: 品牌id
  20126. type: integer
  20127. brandname:
  20128. description: 品牌名称
  20129. type: string
  20130. isvalid:
  20131. description: 是否有效 0-无效 1-有效
  20132. type: integer
  20133. type: object
  20134. models.XHDeliveryGoods:
  20135. properties:
  20136. areauserid:
  20137. description: 所属机构
  20138. type: integer
  20139. bdlst:
  20140. description: 品牌列表
  20141. items:
  20142. $ref: '#/definitions/models.XHBRAND'
  20143. type: array
  20144. deliverygoodscode:
  20145. description: 现货品种代码
  20146. type: string
  20147. deliverygoodsid:
  20148. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20149. type: integer
  20150. deliverygoodsname:
  20151. description: 现货品种名称
  20152. type: string
  20153. dgstatus:
  20154. description: 品种状态 - 作废 - 0:未激活 1:正常
  20155. type: integer
  20156. filterSubEmpty:
  20157. description: 过滤下级为空的
  20158. type: integer
  20159. isvalid:
  20160. description: 是否有效 - 0:无效 1:有效
  20161. type: integer
  20162. remark:
  20163. description: 备注
  20164. type: string
  20165. unitid:
  20166. description: 单位id(目前看,数据库中是空值)
  20167. type: integer
  20168. wdlst:
  20169. description: 品类(现货商品)列表
  20170. items:
  20171. $ref: '#/definitions/models.XHWrstandard'
  20172. type: array
  20173. type: object
  20174. models.XHMiddleGoods:
  20175. properties:
  20176. GPLST:
  20177. description: 期货品种列表
  20178. items:
  20179. $ref: '#/definitions/models.TBGoodsGroup'
  20180. type: array
  20181. convertratio:
  20182. description: 拆算系数
  20183. type: number
  20184. costratio:
  20185. description: 成本权重
  20186. type: number
  20187. deliverygoodsid:
  20188. description: 现货商品id
  20189. type: integer
  20190. enumdicname:
  20191. description: 单位名称
  20192. type: string
  20193. middlegoodscode:
  20194. description: 套保品种代码
  20195. type: string
  20196. middlegoodsid:
  20197. description: 套保品种id
  20198. type: integer
  20199. middlegoodsname:
  20200. description: 套保品种名称
  20201. type: string
  20202. unitid:
  20203. description: 单位id
  20204. type: integer
  20205. type: object
  20206. models.XHWrstandard:
  20207. properties:
  20208. bannerpicurl:
  20209. description: banner图
  20210. type: string
  20211. deliverygoodsid:
  20212. description: 品种ID
  20213. type: integer
  20214. enumdicname:
  20215. description: 单位名称
  20216. type: string
  20217. mglst:
  20218. description: 套保品列表
  20219. items:
  20220. $ref: '#/definitions/models.XHMiddleGoods'
  20221. type: array
  20222. pictureurls:
  20223. description: 详情图片(逗号分隔)
  20224. type: string
  20225. thumurls:
  20226. description: 缩略图片(1:1)(逗号分隔)
  20227. type: string
  20228. unitid:
  20229. description: 单位id
  20230. type: integer
  20231. vatrate:
  20232. description: 增值税率
  20233. type: number
  20234. wrstandardcode:
  20235. description: 现货商品代码
  20236. type: string
  20237. wrstandardid:
  20238. description: 现货商品ID(SEQ_WRSTANDARD)
  20239. type: integer
  20240. wrstandardname:
  20241. description: 现货商品名称
  20242. type: string
  20243. type: object
  20244. models.XhcpSellBackApplyEx:
  20245. properties:
  20246. applyremark:
  20247. description: 申请备注
  20248. type: string
  20249. expirytype:
  20250. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20251. type: integer
  20252. goodsspec:
  20253. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20254. type: integer
  20255. holeflag:
  20256. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20257. type: integer
  20258. isunopened:
  20259. description: 是否原封 - 1:否 2:是
  20260. type: integer
  20261. mpflag:
  20262. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20263. type: integer
  20264. openflag:
  20265. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20266. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20267. type: integer
  20268. phonenum:
  20269. description: 联系电话
  20270. type: string
  20271. userid:
  20272. description: 所属用户ID
  20273. type: integer
  20274. zpflag:
  20275. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20276. type: integer
  20277. required:
  20278. - userid
  20279. type: object
  20280. models.Xhcpsellbackapply:
  20281. properties:
  20282. applyid:
  20283. description: 申请人
  20284. type: integer
  20285. applyremark:
  20286. description: 申请备注
  20287. type: string
  20288. applysrc:
  20289. description: 申请来源 - 1:管理端 2:终端
  20290. type: integer
  20291. applystatus:
  20292. description: 申请状态 - 1:待确认 2:已处理
  20293. type: integer
  20294. applytime:
  20295. description: 申请时间
  20296. type: string
  20297. auditremark:
  20298. description: 审核备注
  20299. type: string
  20300. auditsrc:
  20301. description: 审核来源 - 1:管理端 2:终端
  20302. type: integer
  20303. expirytype:
  20304. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20305. type: integer
  20306. goodsspec:
  20307. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20308. type: integer
  20309. holeflag:
  20310. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20311. type: integer
  20312. isunopened:
  20313. description: 是否原封 - 1:否 2:是
  20314. type: integer
  20315. mpflag:
  20316. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20317. type: integer
  20318. openflag:
  20319. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20320. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20321. type: integer
  20322. phonenum:
  20323. description: 联系电话
  20324. type: string
  20325. sellbackapplyid:
  20326. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20327. type: string
  20328. userid:
  20329. description: 所属用户ID
  20330. type: integer
  20331. zpflag:
  20332. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20333. type: integer
  20334. required:
  20335. - userid
  20336. type: object
  20337. order.QueryHisTradeDetailRsp:
  20338. properties:
  20339. accountid:
  20340. description: 账户ID[报价币种]
  20341. type: integer
  20342. advanceratio:
  20343. description: 首付比率
  20344. type: number
  20345. buildtype:
  20346. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20347. type: integer
  20348. buyorsell:
  20349. description: 方向 - 0:买 1:卖
  20350. type: integer
  20351. charge:
  20352. description: 手续费
  20353. type: number
  20354. closecharge:
  20355. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20356. type: number
  20357. closeexchagechargevalue:
  20358. description: 平仓交易所手续费设置值
  20359. type: number
  20360. closefeealgorithm:
  20361. description: 平仓手续费收取方式 1:比率 2:固定
  20362. type: integer
  20363. closememberchargevalue:
  20364. description: 平仓会员手续费设置值
  20365. type: number
  20366. closepl:
  20367. description: 平仓盈亏
  20368. type: number
  20369. closepl2:
  20370. description: 平仓盈亏[逐笔]
  20371. type: number
  20372. closeqty:
  20373. description: 平仓数量(先建后平操作 需要记录)
  20374. type: number
  20375. creditamount:
  20376. description: 授信金额
  20377. type: number
  20378. decimalplace:
  20379. description: 商品报价小数位
  20380. type: integer
  20381. enumdicname:
  20382. description: 单位名称
  20383. type: string
  20384. gcaccountid:
  20385. description: 账户ID[合约币种]
  20386. type: integer
  20387. goodscode:
  20388. description: 商品代码
  20389. type: string
  20390. goodsid:
  20391. description: 商品ID
  20392. type: integer
  20393. goodsname:
  20394. description: 商品名称
  20395. type: string
  20396. goodunitid:
  20397. description: 商品单位id
  20398. type: integer
  20399. histradedate:
  20400. description: 历史交易日
  20401. type: string
  20402. intclosepl:
  20403. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20404. type: integer
  20405. isconfirmexercise:
  20406. description: 是否确认行权- 0:否 1:是
  20407. type: integer
  20408. ismain:
  20409. description: 是否主单 - 0:不是 1:是
  20410. type: integer
  20411. ispreexercise:
  20412. description: 是否预申报- 0:否 1:是
  20413. type: integer
  20414. isreckoned:
  20415. description: 是否结算 - 0:未结算 1:已结算
  20416. type: integer
  20417. isvaliddata:
  20418. description: 是否有效 - 0:无效 1:有效
  20419. type: integer
  20420. listingselecttype:
  20421. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20422. type: integer
  20423. marketid:
  20424. description: 市场ID
  20425. type: integer
  20426. marketname:
  20427. description: 市场名称
  20428. type: string
  20429. matchaccountid:
  20430. description: 对手账号id
  20431. type: integer
  20432. memberuserid:
  20433. description: 会员id 个人投资者 需要填写
  20434. type: integer
  20435. opencharge:
  20436. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20437. type: number
  20438. openexchagechargevalue:
  20439. description: 建仓交易所手续费设置值
  20440. type: number
  20441. openfeealgorithm:
  20442. description: 建仓手续费收取方式 1:比率 2:固定
  20443. type: integer
  20444. openmemberchargevalue:
  20445. description: 建仓会员手续费设置值
  20446. type: number
  20447. openqty:
  20448. description: 开仓数量(先建后平操作 需要记录)
  20449. type: number
  20450. optiontype:
  20451. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20452. type: integer
  20453. orderid:
  20454. description: 委托单号
  20455. type: string
  20456. payamount:
  20457. description: 支付金额(付款金额)
  20458. type: number
  20459. performanceplanid:
  20460. description: 履约计划ID[期权]
  20461. type: integer
  20462. performancestatus:
  20463. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20464. type: integer
  20465. preexerciseprice:
  20466. description: 预申报价格
  20467. type: number
  20468. premium:
  20469. description: 权利金 - [持仓单的权利金]
  20470. type: number
  20471. qtydecimalplace:
  20472. description: 商品报价小数位
  20473. type: integer
  20474. recvamount:
  20475. description: 到账金额 = 成交金额 - 手续费
  20476. type: number
  20477. relatedouttradeid:
  20478. description: 关联外部成交单ID
  20479. type: integer
  20480. status:
  20481. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20482. type: integer
  20483. totalamount:
  20484. description: 订单总额 = 成交金额 + 手续费
  20485. type: number
  20486. tradeamount:
  20487. description: 成交金额[账户币种,用于所有权]
  20488. type: number
  20489. tradedate:
  20490. description: 交易日(yyyyMMdd)
  20491. type: string
  20492. tradeid:
  20493. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20494. type: string
  20495. trademode:
  20496. description: 交易模式
  20497. type: integer
  20498. tradeprice:
  20499. description: 成交价格
  20500. type: number
  20501. tradeproperty:
  20502. description: 交易属性
  20503. type: integer
  20504. tradeqty:
  20505. description: 成交数量
  20506. type: number
  20507. tradetime:
  20508. description: 成交时间
  20509. type: string
  20510. tradetype:
  20511. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20512. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20513. type: integer
  20514. required:
  20515. - accountid
  20516. - buyorsell
  20517. - goodsid
  20518. - histradedate
  20519. - marketid
  20520. - memberuserid
  20521. - orderid
  20522. - tradeamount
  20523. - tradedate
  20524. - tradeid
  20525. - tradeprice
  20526. - tradeqty
  20527. - tradetime
  20528. type: object
  20529. order.QueryHisTradeOrderDetailRsp:
  20530. properties:
  20531. accountid:
  20532. description: 账户ID[报价币种]
  20533. type: integer
  20534. buildtype:
  20535. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20536. type: integer
  20537. buyorsell:
  20538. description: 买卖 - 0:买 1:卖
  20539. type: integer
  20540. cancelorderid:
  20541. description: 撤单单号(撤单时填写)
  20542. type: string
  20543. cancelqty:
  20544. description: 撤单数量
  20545. type: number
  20546. clientordertime:
  20547. description: 客户端委托时间
  20548. type: string
  20549. clientticket:
  20550. description: 客户端流水号
  20551. type: string
  20552. clienttype:
  20553. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20554. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20555. type: integer
  20556. closeexchagechargevalue:
  20557. description: 平仓交易所手续费设置值
  20558. type: number
  20559. closefeealgorithm:
  20560. description: 平仓手续费收取方式 1:比率 2:固定
  20561. type: integer
  20562. closefreezecharge:
  20563. description: 平仓冻结手续费(先建后平操作,需要记录)
  20564. type: number
  20565. closememberchargevalue:
  20566. description: 平仓会员手续费设置值
  20567. type: number
  20568. closeqty:
  20569. description: 平仓数量(先建后平操作 需要记录)
  20570. type: number
  20571. closetradeqty:
  20572. description: 平仓成交数量(先建后平操作,需要记录)
  20573. type: number
  20574. closeunfreezecharge:
  20575. description: 平仓解冻手续费(先建后平操作,需要记录)
  20576. type: number
  20577. decimalplace:
  20578. description: 商品报价小数位
  20579. type: integer
  20580. delistingtype:
  20581. description: 摘牌类型 - 1:价格最优 2:点选成交
  20582. type: integer
  20583. enumdicname:
  20584. description: 单位名称
  20585. type: string
  20586. freezecharge:
  20587. description: 冻结手续费
  20588. type: number
  20589. freezemargin:
  20590. description: 冻结保证金(冻结交易金额)
  20591. type: number
  20592. gcaccountid:
  20593. description: 账户ID[合约币种]
  20594. type: integer
  20595. goodscode:
  20596. description: 商品代码
  20597. type: string
  20598. goodsid:
  20599. description: 商品ID
  20600. type: integer
  20601. goodsname:
  20602. description: 商品名称
  20603. type: string
  20604. goodunitid:
  20605. description: 商品单位id
  20606. type: integer
  20607. histradedate:
  20608. description: 历史交易日
  20609. type: string
  20610. isconfirmexercise:
  20611. description: 是否确认行权- 0:否 1:是
  20612. type: integer
  20613. ispreexercise:
  20614. description: 是否预申报- 0:否 1:是
  20615. type: integer
  20616. isvaliddata:
  20617. description: 是否有效 - 0:无效 1:有效
  20618. type: integer
  20619. listingselecttype:
  20620. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20621. type: integer
  20622. marginalgorithm:
  20623. description: 保证金收取方式 1:比率 2:固定
  20624. type: integer
  20625. marginvalue:
  20626. description: 即市保证金设置值
  20627. type: number
  20628. marketid:
  20629. description: 市场ID
  20630. type: integer
  20631. marketmaxsub:
  20632. description: 市价最大偏移范围
  20633. type: number
  20634. marketname:
  20635. description: 市场名称
  20636. type: string
  20637. memberuserid:
  20638. description: 所属会员UserID
  20639. type: integer
  20640. openexchagechargevalue:
  20641. description: 建仓交易所手续费设置值
  20642. type: number
  20643. openfeealgorithm:
  20644. description: 建仓手续费收取方式 1:比率 2:固定
  20645. type: integer
  20646. openfreezecharge:
  20647. description: 开仓冻结手续费(先建后平操作,需要记录)
  20648. type: number
  20649. openmemberchargevalue:
  20650. description: 建仓会员手续费设置值
  20651. type: number
  20652. openqty:
  20653. description: 开仓数量(先建后平操作,需要记录)
  20654. type: number
  20655. opentradeqty:
  20656. description: 开仓成交数量(先建后平操作,需要记录)
  20657. type: number
  20658. openunfreezecharge:
  20659. description: 开仓解冻手续费(先建后平操作,需要记录)
  20660. type: number
  20661. operatetype:
  20662. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20663. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20664. 15:管理端协议转让
  20665. type: integer
  20666. operatorid:
  20667. description: 登录账号(LoginID)
  20668. type: integer
  20669. optiontype:
  20670. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20671. type: integer
  20672. orderid:
  20673. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20674. type: string
  20675. orderprice:
  20676. description: 委托价格
  20677. type: number
  20678. orderqty:
  20679. description: 委托数量
  20680. type: number
  20681. ordersrc:
  20682. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20683. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20684. type: integer
  20685. orderstatus:
  20686. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20687. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20688. 16:成交失败违约(荷兰式竞拍专用)
  20689. type: integer
  20690. ordertime:
  20691. description: 委托时间
  20692. type: string
  20693. preexerciseprice:
  20694. description: 预申报价格
  20695. type: number
  20696. premium:
  20697. description: 权利金
  20698. type: number
  20699. preorderid:
  20700. description: 关联预埋单号(止盈止损单时填写)
  20701. type: string
  20702. pricemode:
  20703. description: '取价方式 - 1:市价 2: 限价'
  20704. type: integer
  20705. qtydecimalplace:
  20706. description: 成交量小数位
  20707. type: integer
  20708. quoteid:
  20709. description: 报价单ID
  20710. type: integer
  20711. relatedid:
  20712. description: 关联单号(交割单)
  20713. type: string
  20714. retcode:
  20715. description: 错误代码
  20716. type: integer
  20717. sessionid:
  20718. description: 会话ID
  20719. type: integer
  20720. tradedate:
  20721. description: 交易日(yyyyMMdd)
  20722. type: string
  20723. trademode:
  20724. description: 交易模式
  20725. type: integer
  20726. tradeproperty:
  20727. description: 交易属性
  20728. type: integer
  20729. tradeqty:
  20730. description: 成交数量
  20731. type: number
  20732. unfreezecharge:
  20733. description: 解冻手续费
  20734. type: number
  20735. unfreezemargin:
  20736. description: 解冻保证金
  20737. type: number
  20738. updatetime:
  20739. description: 更新时间
  20740. type: string
  20741. uuid:
  20742. description: 发起端唯一id
  20743. type: string
  20744. validtime:
  20745. description: 有效期限
  20746. type: string
  20747. validtype:
  20748. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20749. type: integer
  20750. volumetype:
  20751. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20752. type: integer
  20753. required:
  20754. - accountid
  20755. - buildtype
  20756. - buyorsell
  20757. - goodsid
  20758. - histradedate
  20759. - marketid
  20760. - memberuserid
  20761. - operatetype
  20762. - orderid
  20763. - orderqty
  20764. - ordertime
  20765. - pricemode
  20766. - tradedate
  20767. - validtype
  20768. type: object
  20769. order.QueryTradeDetailRsp:
  20770. properties:
  20771. accountid:
  20772. description: 账户ID[报价币种]
  20773. type: integer
  20774. advanceratio:
  20775. description: 首付比率
  20776. type: number
  20777. buildtype:
  20778. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20779. type: integer
  20780. buyorsell:
  20781. description: 方向 - 0:买 1:卖
  20782. type: integer
  20783. charge:
  20784. description: 手续费
  20785. type: number
  20786. closecharge:
  20787. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20788. type: number
  20789. closeexchagechargevalue:
  20790. description: 平仓交易所手续费设置值
  20791. type: number
  20792. closefeealgorithm:
  20793. description: 平仓手续费收取方式 1:比率 2:固定
  20794. type: integer
  20795. closememberchargevalue:
  20796. description: 平仓会员手续费设置值
  20797. type: number
  20798. closepl:
  20799. description: 平仓盈亏
  20800. type: number
  20801. closepl2:
  20802. description: 平仓盈亏[逐笔]
  20803. type: number
  20804. closeqty:
  20805. description: 平仓数量(先建后平操作 需要记录)
  20806. type: number
  20807. creditamount:
  20808. description: 授信金额
  20809. type: number
  20810. decimalplace:
  20811. description: 商品报价小数位
  20812. type: integer
  20813. enumdicname:
  20814. description: 单位名称
  20815. type: string
  20816. gcaccountid:
  20817. description: 账户ID[合约币种]
  20818. type: integer
  20819. goodscode:
  20820. description: 商品代码
  20821. type: string
  20822. goodsid:
  20823. description: 商品ID
  20824. type: integer
  20825. goodsname:
  20826. description: 商品名称
  20827. type: string
  20828. goodunitid:
  20829. description: 商品单位id
  20830. type: integer
  20831. intclosepl:
  20832. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20833. type: integer
  20834. isconfirmexercise:
  20835. description: 是否确认行权- 0:否 1:是
  20836. type: integer
  20837. ismain:
  20838. description: 是否主单 - 0:不是 1:是
  20839. type: integer
  20840. ispreexercise:
  20841. description: 是否预申报- 0:否 1:是
  20842. type: integer
  20843. isreckoned:
  20844. description: 是否结算 - 0:未结算 1:已结算
  20845. type: integer
  20846. listingselecttype:
  20847. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20848. type: integer
  20849. marketid:
  20850. description: 市场ID
  20851. type: integer
  20852. marketname:
  20853. description: 市场名称
  20854. type: string
  20855. matchaccountid:
  20856. description: 对手账号id
  20857. type: integer
  20858. memberuserid:
  20859. description: 会员id 个人投资者 需要填写
  20860. type: integer
  20861. opencharge:
  20862. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20863. type: number
  20864. openexchagechargevalue:
  20865. description: 建仓交易所手续费设置值
  20866. type: number
  20867. openfeealgorithm:
  20868. description: 建仓手续费收取方式 1:比率 2:固定
  20869. type: integer
  20870. openmemberchargevalue:
  20871. description: 建仓会员手续费设置值
  20872. type: number
  20873. openqty:
  20874. description: 开仓数量(先建后平操作 需要记录)
  20875. type: number
  20876. optiontype:
  20877. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20878. type: integer
  20879. orderid:
  20880. description: 委托单号
  20881. type: string
  20882. payamount:
  20883. description: 支付金额(付款金额)
  20884. type: number
  20885. performanceplanid:
  20886. description: 履约计划ID[期权]
  20887. type: integer
  20888. performancestatus:
  20889. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20890. type: integer
  20891. preexerciseprice:
  20892. description: 预申报价格
  20893. type: number
  20894. premium:
  20895. description: 权利金 - [持仓单的权利金]
  20896. type: number
  20897. qtydecimalplace:
  20898. description: 商品报价小数位
  20899. type: integer
  20900. recvamount:
  20901. description: 到账金额 = 成交金额 - 手续费
  20902. type: number
  20903. relatedouttradeid:
  20904. description: 关联外部成交单ID
  20905. type: integer
  20906. status:
  20907. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20908. type: integer
  20909. totalamount:
  20910. description: 订单总额 = 成交金额 + 手续费
  20911. type: number
  20912. tradeamount:
  20913. description: 成交金额[账户币种,用于所有权]
  20914. type: number
  20915. tradedate:
  20916. description: 交易日(yyyyMMdd)
  20917. type: string
  20918. tradeid:
  20919. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20920. type: string
  20921. trademode:
  20922. description: 交易模式
  20923. type: integer
  20924. tradeprice:
  20925. description: 成交价格
  20926. type: number
  20927. tradeproperty:
  20928. description: 交易属性
  20929. type: integer
  20930. tradeqty:
  20931. description: 成交数量
  20932. type: number
  20933. tradetime:
  20934. description: 成交时间
  20935. type: string
  20936. tradetype:
  20937. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20938. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20939. type: integer
  20940. required:
  20941. - accountid
  20942. - buyorsell
  20943. - goodsid
  20944. - marketid
  20945. - memberuserid
  20946. - orderid
  20947. - tradeamount
  20948. - tradedate
  20949. - tradeid
  20950. - tradeprice
  20951. - tradeqty
  20952. - tradetime
  20953. type: object
  20954. order.QueryTradeOrderDetailRsp:
  20955. properties:
  20956. accountid:
  20957. description: 账户ID[报价币种]
  20958. type: integer
  20959. buildtype:
  20960. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20961. type: integer
  20962. buyorsell:
  20963. description: 买卖 - 0:买 1:卖
  20964. type: integer
  20965. cancelorderid:
  20966. description: 撤单单号(撤单时填写)
  20967. type: string
  20968. cancelqty:
  20969. description: 撤单数量
  20970. type: number
  20971. clienttype:
  20972. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20973. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20974. type: integer
  20975. closefreezecharge:
  20976. description: 平仓冻结手续费(先建后平操作,需要记录)
  20977. type: number
  20978. closeqty:
  20979. description: 平仓数量(先建后平操作 需要记录)
  20980. type: number
  20981. closetradeqty:
  20982. description: 平仓成交数量(先建后平操作,需要记录)
  20983. type: number
  20984. closeunfreezecharge:
  20985. description: 平仓解冻手续费(先建后平操作,需要记录)
  20986. type: number
  20987. decimalplace:
  20988. description: 商品报价小数位
  20989. type: integer
  20990. delistingtype:
  20991. description: 摘牌类型 - 1:价格最优 2:点选成交
  20992. type: integer
  20993. enableqty:
  20994. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20995. type: number
  20996. enumdicname:
  20997. description: 单位名称
  20998. type: string
  20999. freezecharge:
  21000. description: 冻结手续费
  21001. type: number
  21002. freezemargin:
  21003. description: 冻结保证金(冻结交易金额)
  21004. type: number
  21005. goodscode:
  21006. description: 商品代码
  21007. type: string
  21008. goodsid:
  21009. description: 商品ID
  21010. type: integer
  21011. goodsname:
  21012. description: 商品名称
  21013. type: string
  21014. goodunitid:
  21015. description: 商品单位id
  21016. type: integer
  21017. listingselecttype:
  21018. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21019. type: integer
  21020. marketid:
  21021. description: 市场ID
  21022. type: integer
  21023. marketname:
  21024. description: 市场名称
  21025. type: string
  21026. openfreezecharge:
  21027. description: 开仓冻结手续费(先建后平操作,需要记录)
  21028. type: number
  21029. openqty:
  21030. description: 开仓数量(先建后平操作,需要记录)
  21031. type: number
  21032. opentradeqty:
  21033. description: 开仓成交数量(先建后平操作,需要记录)
  21034. type: number
  21035. openunfreezecharge:
  21036. description: 开仓解冻手续费(先建后平操作,需要记录)
  21037. type: number
  21038. operatetype:
  21039. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21040. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21041. 15:管理端协议转让
  21042. type: integer
  21043. operatorid:
  21044. description: 登录账号(LoginID)
  21045. type: integer
  21046. orderid:
  21047. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21048. type: string
  21049. orderprice:
  21050. description: 委托价格
  21051. type: number
  21052. orderqty:
  21053. description: 委托数量
  21054. type: number
  21055. ordersrc:
  21056. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21057. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21058. type: integer
  21059. orderstatus:
  21060. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21061. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21062. 16:成交失败违约(荷兰式竞拍专用)
  21063. type: integer
  21064. ordertime:
  21065. description: 委托时间
  21066. type: string
  21067. preorderid:
  21068. description: 关联预埋单号(止盈止损单时填写)
  21069. type: string
  21070. pricemode:
  21071. description: '取价方式 - 1:市价 2: 限价'
  21072. type: integer
  21073. qtydecimalplace:
  21074. description: 商品报价小数位
  21075. type: integer
  21076. relatedid:
  21077. description: 关联单号(交割单)
  21078. type: string
  21079. tradedate:
  21080. description: 交易日(yyyyMMdd)
  21081. type: string
  21082. trademode:
  21083. description: 交易模式
  21084. type: integer
  21085. tradeqty:
  21086. description: 成交数量
  21087. type: number
  21088. unfreezecharge:
  21089. description: 解冻手续费
  21090. type: number
  21091. unfreezemargin:
  21092. description: 解冻保证金
  21093. type: number
  21094. validtime:
  21095. description: 有效期限
  21096. type: string
  21097. validtype:
  21098. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21099. type: integer
  21100. volumetype:
  21101. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21102. type: integer
  21103. required:
  21104. - accountid
  21105. - buildtype
  21106. - buyorsell
  21107. - goodsid
  21108. - marketid
  21109. - operatetype
  21110. - orderqty
  21111. - ordertime
  21112. - pricemode
  21113. - tradedate
  21114. - validtype
  21115. type: object
  21116. order.QueryTradePositionRsp:
  21117. properties:
  21118. accountid:
  21119. description: 资金账户
  21120. type: integer
  21121. agreeunit:
  21122. description: 合约单位
  21123. type: number
  21124. averageprice:
  21125. description: 持仓均价
  21126. type: number
  21127. buyorsell:
  21128. description: 方向 - 0:买 1:卖
  21129. type: integer
  21130. closetotalqty:
  21131. description: 平仓总数量
  21132. type: number
  21133. curholderamount:
  21134. description: 当前持仓总金额[商品币种]
  21135. type: number
  21136. curpositionqty:
  21137. description: 当前持仓总数量
  21138. type: number
  21139. currencyid:
  21140. description: 报价货币ID
  21141. type: integer
  21142. curtdposition:
  21143. description: 期末今日头寸
  21144. type: number
  21145. decimalplace:
  21146. description: 报价小数位
  21147. type: integer
  21148. enableqty:
  21149. description: 可用量
  21150. type: number
  21151. fretdposition:
  21152. description: 冻结今日头寸
  21153. type: number
  21154. frozenqty:
  21155. description: 持仓冻结数量
  21156. type: number
  21157. goodscode:
  21158. description: 商品代码
  21159. type: string
  21160. goodsid:
  21161. description: 商品Id
  21162. type: integer
  21163. goodsname:
  21164. description: 商品名称
  21165. type: string
  21166. goodunit:
  21167. description: 报价单位
  21168. type: string
  21169. goodunitid:
  21170. description: 报价单位ID
  21171. type: integer
  21172. holderamount:
  21173. description: 期初持仓总金额[商品币种]
  21174. type: number
  21175. lastprice:
  21176. description: 最新价
  21177. type: number
  21178. marketamount:
  21179. description: 市值
  21180. type: number
  21181. marketid:
  21182. description: 所属市场ID
  21183. type: integer
  21184. openreqqty:
  21185. description: 开仓申请数量(用于比较最大持仓数量)
  21186. type: number
  21187. opentotalqty:
  21188. description: 开仓总数量
  21189. type: number
  21190. otherfrozenqty:
  21191. description: 持仓其他冻结数量(交割冻结)
  21192. type: number
  21193. positionpl:
  21194. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21195. * 合约单位
  21196. type: number
  21197. positionplrate:
  21198. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21199. type: number
  21200. positionqty:
  21201. description: 期初持仓数量
  21202. type: number
  21203. qtydecimalplace:
  21204. description: 成交量小数位
  21205. type: integer
  21206. refgoodscode:
  21207. description: 参考商品代码
  21208. type: string
  21209. refgoodsid:
  21210. description: 参考商品ID
  21211. type: integer
  21212. tnqty:
  21213. description: T+N冻结总量
  21214. type: number
  21215. tnusedqty:
  21216. description: T+N使用量(可以使用T+N的冻结数量)
  21217. type: number
  21218. trademode:
  21219. description: 交易模式
  21220. type: integer
  21221. tradeproperty:
  21222. description: 交易属性
  21223. type: integer
  21224. usedmargin:
  21225. description: 占用保证金[商品币种]
  21226. type: number
  21227. required:
  21228. - goodsid
  21229. type: object
  21230. pb.GoodsMarginCfgStruct:
  21231. properties:
  21232. CustomerTypeID:
  21233. description: 投资者客户类型
  21234. type: integer
  21235. GoodsID:
  21236. description: 商品ID
  21237. type: integer
  21238. IsDefault:
  21239. description: 是否默认标志位
  21240. type: integer
  21241. LockMarginValue:
  21242. description: 锁仓保证金
  21243. type: number
  21244. MarginAlgorithm:
  21245. description: 保证金计算方式
  21246. type: integer
  21247. MarketMarginValue:
  21248. description: 即市保证金值
  21249. type: number
  21250. RealMarginAlgorithm:
  21251. description: 实付保证金计算方式
  21252. type: integer
  21253. RealMarginValue:
  21254. description: 实付比例
  21255. type: number
  21256. ReckonMarginValue:
  21257. description: 结算保证金值
  21258. type: number
  21259. type: object
  21260. quote.HistoryData:
  21261. properties:
  21262. c:
  21263. description: 收盘价
  21264. type: number
  21265. f:
  21266. description: 是否补充数据
  21267. type: boolean
  21268. h:
  21269. description: 最高价
  21270. type: number
  21271. hv:
  21272. description: 持仓量
  21273. type: integer
  21274. l:
  21275. description: 最低价
  21276. type: number
  21277. o:
  21278. description: 开盘价
  21279. type: number
  21280. s:
  21281. description: 结算价,日线周期(包括)以上才有
  21282. type: number
  21283. ts:
  21284. description: 时间
  21285. type: string
  21286. tt:
  21287. description: 总金额
  21288. type: number
  21289. tv:
  21290. description: 总量(成交量)
  21291. type: integer
  21292. type: object
  21293. quote.HistoryTikData:
  21294. properties:
  21295. AV:
  21296. description: 卖量
  21297. type: integer
  21298. Ask:
  21299. description: 卖价
  21300. type: number
  21301. BV:
  21302. description: 买量
  21303. type: integer
  21304. Bid:
  21305. description: 买价
  21306. type: number
  21307. HI:
  21308. description: 单笔持仓
  21309. type: integer
  21310. HV:
  21311. description: 持仓量
  21312. type: integer
  21313. PE:
  21314. description: 现价
  21315. type: number
  21316. TDR:
  21317. description: 交易方向,0:买 1:卖
  21318. type: integer
  21319. TK:
  21320. description: 交易类型
  21321. type: integer
  21322. TS:
  21323. description: 行情时间文本
  21324. type: string
  21325. TT:
  21326. description: 现金额
  21327. type: number
  21328. Vol:
  21329. description: 现量
  21330. type: integer
  21331. type: object
  21332. quote.QueryQuoteDayRsp:
  21333. properties:
  21334. ask:
  21335. description: 卖1
  21336. type: number
  21337. ask2:
  21338. description: 卖2
  21339. type: number
  21340. ask3:
  21341. description: 卖3
  21342. type: number
  21343. ask4:
  21344. description: 卖4
  21345. type: number
  21346. ask5:
  21347. description: 卖5
  21348. type: number
  21349. ask6:
  21350. description: 卖6
  21351. type: number
  21352. ask7:
  21353. description: 卖7
  21354. type: number
  21355. ask8:
  21356. description: 卖8
  21357. type: number
  21358. ask9:
  21359. description: 卖9
  21360. type: number
  21361. ask10:
  21362. description: 卖10
  21363. type: number
  21364. askorderid:
  21365. description: 卖单号1
  21366. type: integer
  21367. askorderid2:
  21368. description: 卖单号2
  21369. type: integer
  21370. askorderid3:
  21371. description: 卖单号3
  21372. type: integer
  21373. askorderid4:
  21374. description: 卖单号4
  21375. type: integer
  21376. askorderid5:
  21377. description: 卖单号5
  21378. type: integer
  21379. askordervolume:
  21380. description: 卖单量1
  21381. type: integer
  21382. askordervolume2:
  21383. description: 卖单量2
  21384. type: integer
  21385. askordervolume3:
  21386. description: 卖单量3
  21387. type: integer
  21388. askordervolume4:
  21389. description: 卖单量4
  21390. type: integer
  21391. askordervolume5:
  21392. description: 卖单量5
  21393. type: integer
  21394. askordervolume6:
  21395. description: 卖单量6
  21396. type: integer
  21397. askordervolume7:
  21398. description: 卖单量7
  21399. type: integer
  21400. askordervolume8:
  21401. description: 卖单量8
  21402. type: integer
  21403. askordervolume9:
  21404. description: 卖单量9
  21405. type: integer
  21406. askordervolume10:
  21407. description: 卖单量10
  21408. type: integer
  21409. askqueueinfo:
  21410. description: 大利市卖港股用
  21411. type: string
  21412. askvolume:
  21413. description: 卖量1
  21414. type: integer
  21415. askvolume2:
  21416. description: 卖量2
  21417. type: integer
  21418. askvolume3:
  21419. description: 卖量3
  21420. type: integer
  21421. askvolume4:
  21422. description: 卖量4
  21423. type: integer
  21424. askvolume5:
  21425. description: 卖量5
  21426. type: integer
  21427. askvolume6:
  21428. description: 卖量6
  21429. type: integer
  21430. askvolume7:
  21431. description: 卖量7
  21432. type: integer
  21433. askvolume8:
  21434. description: 卖量8
  21435. type: integer
  21436. askvolume9:
  21437. description: 卖量9
  21438. type: integer
  21439. askvolume10:
  21440. description: 卖量10
  21441. type: integer
  21442. averageprice:
  21443. description: 均价
  21444. type: number
  21445. bid:
  21446. description: 买1
  21447. type: number
  21448. bid2:
  21449. description: 买2
  21450. type: number
  21451. bid3:
  21452. description: 买3
  21453. type: number
  21454. bid4:
  21455. description: 买4
  21456. type: number
  21457. bid5:
  21458. description: 买5
  21459. type: number
  21460. bid6:
  21461. description: 买6
  21462. type: number
  21463. bid7:
  21464. description: 买7
  21465. type: number
  21466. bid8:
  21467. description: 买8
  21468. type: number
  21469. bid9:
  21470. description: 买9
  21471. type: number
  21472. bid10:
  21473. description: 买10
  21474. type: number
  21475. bidorderid:
  21476. description: 买单号1
  21477. type: integer
  21478. bidorderid2:
  21479. description: 买单号2
  21480. type: integer
  21481. bidorderid3:
  21482. description: 买单号3
  21483. type: integer
  21484. bidorderid4:
  21485. description: 买单号4
  21486. type: integer
  21487. bidorderid5:
  21488. description: 买单号5
  21489. type: integer
  21490. bidordervolume:
  21491. description: 买单量1
  21492. type: integer
  21493. bidordervolume2:
  21494. description: 买单量2
  21495. type: integer
  21496. bidordervolume3:
  21497. description: 买单量3
  21498. type: integer
  21499. bidordervolume4:
  21500. description: 买单量4
  21501. type: integer
  21502. bidordervolume5:
  21503. description: 买单量5
  21504. type: integer
  21505. bidordervolume6:
  21506. description: 买单量6
  21507. type: integer
  21508. bidordervolume7:
  21509. description: 买单量7
  21510. type: integer
  21511. bidordervolume8:
  21512. description: 买单量8
  21513. type: integer
  21514. bidordervolume9:
  21515. description: 买单量9
  21516. type: integer
  21517. bidordervolume10:
  21518. description: 买单量10
  21519. type: integer
  21520. bidqueueinfo:
  21521. description: 大利市买港股用
  21522. type: string
  21523. bidvolume:
  21524. description: 买量1
  21525. type: integer
  21526. bidvolume2:
  21527. description: 买量2
  21528. type: integer
  21529. bidvolume3:
  21530. description: 买量3
  21531. type: integer
  21532. bidvolume4:
  21533. description: 买量4
  21534. type: integer
  21535. bidvolume5:
  21536. description: 买量5
  21537. type: integer
  21538. bidvolume6:
  21539. description: 买量6
  21540. type: integer
  21541. bidvolume7:
  21542. description: 买量7
  21543. type: integer
  21544. bidvolume8:
  21545. description: 买量8
  21546. type: integer
  21547. bidvolume9:
  21548. description: 买量9
  21549. type: integer
  21550. bidvolume10:
  21551. description: 买量10
  21552. type: integer
  21553. calloptionpremiums:
  21554. description: 认购期权1
  21555. type: integer
  21556. calloptionpremiums2:
  21557. description: 认购期权2
  21558. type: integer
  21559. calloptionpremiums3:
  21560. description: 认购期权3
  21561. type: integer
  21562. calloptionpremiums4:
  21563. description: 认购期权4
  21564. type: integer
  21565. calloptionpremiums5:
  21566. description: 认购期权5
  21567. type: integer
  21568. cleartime:
  21569. description: 清盘时间
  21570. type: integer
  21571. exchangecode:
  21572. description: 交易所代码
  21573. type: integer
  21574. exchangedate:
  21575. description: 交易日
  21576. type: integer
  21577. goodscode:
  21578. description: 商品代码
  21579. type: string
  21580. grepmarketprice:
  21581. description: 暗盘价 港股专用
  21582. type: number
  21583. highest:
  21584. description: 最高价
  21585. type: number
  21586. holdincrement:
  21587. description: 单笔持仓
  21588. type: integer
  21589. holdvolume:
  21590. description: 持仓
  21591. type: integer
  21592. iep:
  21593. description: 平衡价 港股专用
  21594. type: number
  21595. iev:
  21596. description: 平衡量 港股专用
  21597. type: number
  21598. inventory:
  21599. description: 库存
  21600. type: integer
  21601. iscleared:
  21602. description: 是否清盘标志
  21603. type: integer
  21604. issettled:
  21605. description: 是否结算标志
  21606. type: integer
  21607. last:
  21608. description: 最新价
  21609. type: number
  21610. lastlot:
  21611. description: 最新成交手数
  21612. type: integer
  21613. lasttime:
  21614. description: 行情时间(只有现价变化行情时间才变化)
  21615. type: string
  21616. lastturnover:
  21617. description: 最新成交金额
  21618. type: number
  21619. lastvolume:
  21620. description: 最新成交量
  21621. type: integer
  21622. limitdown:
  21623. description: 跌停价
  21624. type: number
  21625. limitup:
  21626. description: 涨停价
  21627. type: number
  21628. lowest:
  21629. description: 最低价
  21630. type: number
  21631. nontotalholdervolume:
  21632. description: 非交易持仓量
  21633. type: integer
  21634. nontotallot:
  21635. description: 非交易总手数
  21636. type: integer
  21637. nontotalturnover:
  21638. description: 非交易总金额
  21639. type: integer
  21640. nontotalvolume:
  21641. description: 非交易总量
  21642. type: integer
  21643. opened:
  21644. description: 开盘价
  21645. type: number
  21646. opentime:
  21647. description: 开盘时间
  21648. type: string
  21649. orderid:
  21650. description: 序号
  21651. type: integer
  21652. preclose:
  21653. description: 昨收
  21654. type: number
  21655. preholdvolume:
  21656. description: 昨持仓
  21657. type: integer
  21658. presettle:
  21659. description: 昨结价
  21660. type: number
  21661. publictradetype:
  21662. description: 公共交易标志类型 港股专用
  21663. type: string
  21664. putoptionpremiums:
  21665. description: 认沽期权1
  21666. type: integer
  21667. putoptionpremiums2:
  21668. description: 认沽期权2
  21669. type: integer
  21670. putoptionpremiums3:
  21671. description: 认沽期权3
  21672. type: integer
  21673. putoptionpremiums4:
  21674. description: 认沽期权4
  21675. type: integer
  21676. putoptionpremiums5:
  21677. description: 认沽期权5
  21678. type: integer
  21679. settle:
  21680. description: 结算价
  21681. type: number
  21682. strikeprice:
  21683. description: 发行价
  21684. type: number
  21685. totalaskvolume:
  21686. description: 内盘
  21687. type: integer
  21688. totalbidvolume:
  21689. description: 外盘
  21690. type: integer
  21691. totallot:
  21692. description: 总手数
  21693. type: integer
  21694. totalturnover:
  21695. description: 总金额
  21696. type: number
  21697. totalvolume:
  21698. description: 总量
  21699. type: integer
  21700. utclasttime:
  21701. description: utc的行情时间
  21702. type: string
  21703. type: object
  21704. quote.QueryTSDataRsp:
  21705. properties:
  21706. Count:
  21707. description: 交易日应有数据个数
  21708. type: integer
  21709. decimalPlace:
  21710. description: 小数位
  21711. type: integer
  21712. endTime:
  21713. description: 结束时间
  21714. type: string
  21715. goodsCode:
  21716. description: 商品代码
  21717. type: string
  21718. historyDatas:
  21719. description: 历史数据
  21720. items:
  21721. $ref: '#/definitions/quote.HistoryData'
  21722. type: array
  21723. outGoodsCode:
  21724. description: 外部商品代码
  21725. type: string
  21726. preSettle:
  21727. description: 昨结价
  21728. type: number
  21729. runSteps:
  21730. description: 交易日开休市计划
  21731. items:
  21732. $ref: '#/definitions/quote.TSDataRunStep'
  21733. type: array
  21734. startTime:
  21735. description: 开始时间
  21736. type: string
  21737. tradeDate:
  21738. description: 交易日
  21739. type: string
  21740. type: object
  21741. quote.TSDataRunStep:
  21742. properties:
  21743. end:
  21744. description: 真实结束时间
  21745. type: string
  21746. endflag:
  21747. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21748. type: integer
  21749. endtime:
  21750. description: 结束时间(HH:mm)
  21751. type: string
  21752. endweekday:
  21753. description: 结束周几
  21754. type: integer
  21755. groupid:
  21756. description: 分组ID
  21757. type: integer
  21758. runstep:
  21759. description: 运行阶段 - 2:连续交易
  21760. type: integer
  21761. sectionid:
  21762. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21763. 结束时间=结算时间 结束周几=结算周几
  21764. type: integer
  21765. start:
  21766. description: 真实开始时间
  21767. type: string
  21768. startflag:
  21769. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21770. type: integer
  21771. starttime:
  21772. description: 起始时间(HH:mm)
  21773. type: string
  21774. startweekday:
  21775. description: 起始周几
  21776. type: integer
  21777. tradeweekday:
  21778. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21779. type: integer
  21780. type: object
  21781. szdz.QueryConvertLogRsp:
  21782. properties:
  21783. accountid:
  21784. description: 资金账户ID
  21785. type: integer
  21786. clientticket:
  21787. description: 客户端流水号
  21788. type: string
  21789. converttype:
  21790. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21791. type: integer
  21792. createtime:
  21793. description: 记账时间
  21794. type: string
  21795. daymaxvalue:
  21796. description: 配置当日最大转入限制
  21797. type: number
  21798. daymaxvalue2:
  21799. description: 配置当日最大转入限制(转入)
  21800. type: number
  21801. goodscode:
  21802. description: 商品代码
  21803. type: string
  21804. goodsname:
  21805. description: 商品名称
  21806. type: string
  21807. handlestatus:
  21808. description: 处理状态
  21809. type: integer
  21810. innergoodsid:
  21811. description: 内部商品ID
  21812. type: integer
  21813. inratio:
  21814. description: 配置转入比值
  21815. type: integer
  21816. invalue:
  21817. description: 目标值
  21818. type: number
  21819. logid:
  21820. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21821. type: integer
  21822. mobile:
  21823. description: 手机号码(加密存储)
  21824. type: string
  21825. outergoodscode:
  21826. description: 外部商品代码[JD\PD]
  21827. type: string
  21828. outratio:
  21829. description: 配置转出比值
  21830. type: integer
  21831. outvalue:
  21832. description: 源值
  21833. type: number
  21834. pddecimalplace:
  21835. description: PD小数位
  21836. type: integer
  21837. qty:
  21838. description: 数量
  21839. type: string
  21840. remark:
  21841. description: 备注
  21842. type: string
  21843. sessionid:
  21844. description: 会话ID
  21845. type: integer
  21846. timemaxvalue:
  21847. description: 配置单次最大转入限制
  21848. type: number
  21849. timemaxvalue2:
  21850. description: 配置单次最大转入限制(转入)
  21851. type: number
  21852. timeminvalue:
  21853. description: 配置单次最小数量限制
  21854. type: number
  21855. timeminvalue2:
  21856. description: 配置单次最小数量限制(转入)
  21857. type: number
  21858. tradedate:
  21859. description: 交易日(yyyyMMdd)
  21860. type: string
  21861. userid:
  21862. description: 用户ID
  21863. type: integer
  21864. required:
  21865. - logid
  21866. type: object
  21867. szdz.QueryGoodsPickupRsp:
  21868. properties:
  21869. accountid:
  21870. description: 账户ID
  21871. type: integer
  21872. address:
  21873. description: 提货人详细地址
  21874. type: string
  21875. auditer:
  21876. description: 审核人
  21877. type: integer
  21878. audittime:
  21879. description: 审核时间
  21880. type: string
  21881. cardnum:
  21882. description: 提货人证件号码
  21883. type: string
  21884. cardtypeid:
  21885. description: 提货人证件类型
  21886. type: integer
  21887. checkremark:
  21888. description: 审核备注
  21889. type: string
  21890. goodscode:
  21891. description: 商品代码
  21892. type: string
  21893. goodsid:
  21894. description: 商品ID
  21895. type: integer
  21896. goodsname:
  21897. description: 商品名称
  21898. type: string
  21899. handlestatus:
  21900. description: 处理状态
  21901. type: integer
  21902. marketid:
  21903. description: 市场ID
  21904. type: integer
  21905. phonenum:
  21906. description: 提货人联系方式
  21907. type: string
  21908. qty:
  21909. description: 提货数量
  21910. type: number
  21911. recivername:
  21912. description: 提货人姓名
  21913. type: string
  21914. reqtime:
  21915. description: 更新时间
  21916. type: string
  21917. takemode:
  21918. description: 提货方式 - 2:自提 3:配送
  21919. type: integer
  21920. takeorderid:
  21921. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21922. type: string
  21923. takeorderstatus:
  21924. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21925. type: integer
  21926. takeremark:
  21927. description: 提货备注
  21928. type: string
  21929. tradedate:
  21930. description: 交易日(yyyyMMdd)
  21931. type: string
  21932. userid:
  21933. description: 用户ID
  21934. type: integer
  21935. required:
  21936. - takeorderid
  21937. type: object
  21938. szdz.QueryRecieptOrderRsp:
  21939. properties:
  21940. accountName:
  21941. description: 所属账号名称(已脱敏)
  21942. type: string
  21943. accountid:
  21944. description: 资金账号
  21945. type: integer
  21946. buyorsell:
  21947. description: 方向 - 0:买 1:卖
  21948. type: integer
  21949. enableqty:
  21950. description: 可摘数量
  21951. type: integer
  21952. goodscode:
  21953. description: 商品代码
  21954. type: string
  21955. goodsid:
  21956. description: 商品ID
  21957. type: integer
  21958. goodsname:
  21959. description: 商品名称
  21960. type: string
  21961. orderid:
  21962. description: 委托单号
  21963. type: string
  21964. orderprice:
  21965. description: 委托价格
  21966. type: number
  21967. ordertime:
  21968. description: 委托时间
  21969. type: string
  21970. tradedate:
  21971. description: 交易日(yyyyMMdd)
  21972. type: string
  21973. required:
  21974. - ordertime
  21975. type: object
  21976. szdz.QuerySZDZTradePositionRsp:
  21977. properties:
  21978. accountid:
  21979. description: 账号Id
  21980. type: integer
  21981. agreeunit:
  21982. description: 合约单位
  21983. type: number
  21984. averageprice:
  21985. description: 持仓均价
  21986. type: number
  21987. buyorsell:
  21988. description: 方向 - 0:买 1:卖
  21989. type: integer
  21990. closetotalqty:
  21991. description: 平仓总数量
  21992. type: integer
  21993. curholderamount:
  21994. description: 当前持仓总金额
  21995. type: number
  21996. curpositionqty:
  21997. description: 当前持仓总数量
  21998. type: integer
  21999. currencyid:
  22000. description: 报价货币ID
  22001. type: integer
  22002. curtdposition:
  22003. description: 期末今日头寸
  22004. type: integer
  22005. decimalplace:
  22006. description: 报价小数位
  22007. type: integer
  22008. enableqty:
  22009. description: 可用量
  22010. type: integer
  22011. fretdposition:
  22012. description: 冻结今日头寸
  22013. type: integer
  22014. frozenqty:
  22015. description: 持仓冻结数量
  22016. type: integer
  22017. goodscode:
  22018. description: 商品代码(内部)
  22019. type: string
  22020. goodsid:
  22021. description: 商品Id
  22022. type: integer
  22023. goodsname:
  22024. description: 商品名称
  22025. type: string
  22026. goodunit:
  22027. description: 报价单位
  22028. type: string
  22029. goodunitid:
  22030. description: 报价单位ID
  22031. type: integer
  22032. holderamount:
  22033. description: 期初持仓总金额
  22034. type: number
  22035. marketid:
  22036. description: 市场ID
  22037. type: integer
  22038. openreqqty:
  22039. description: 开仓申请数量
  22040. type: integer
  22041. opentotalqty:
  22042. description: 开仓总数量
  22043. type: integer
  22044. otherfrozenqty:
  22045. description: 持仓其他冻结数量(交割冻结)
  22046. type: integer
  22047. positionqty:
  22048. description: 期初持仓数量
  22049. type: integer
  22050. szdz3freezqty:
  22051. description: 尚志大宗转换冻结总数量
  22052. type: integer
  22053. tnqty:
  22054. description: T+N冻结总量
  22055. type: integer
  22056. tnusedqty:
  22057. description: T+N使用量
  22058. type: integer
  22059. trademode:
  22060. description: 交易模式
  22061. type: integer
  22062. usedmargin:
  22063. description: 占用保证金
  22064. type: number
  22065. type: object
  22066. taaccount.QueryAmountLogRsp:
  22067. properties:
  22068. OPERATETYPENAME:
  22069. description: 资金操作类型名称
  22070. type: string
  22071. accountid:
  22072. description: 资金账户ID
  22073. type: integer
  22074. agoodscode:
  22075. description: 竞拍商品代码
  22076. type: string
  22077. agoodsname:
  22078. description: 竞拍商品名称
  22079. type: string
  22080. amount:
  22081. description: 资金金额
  22082. type: number
  22083. amountadjusttype:
  22084. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22085. type: integer
  22086. autoid:
  22087. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22088. type: integer
  22089. balance:
  22090. description: 期初余额
  22091. type: number
  22092. businesscode:
  22093. description: 业务编号
  22094. type: integer
  22095. createtime:
  22096. description: 发生时间
  22097. type: string
  22098. currencyid:
  22099. description: 币种ID
  22100. type: integer
  22101. currentbalance:
  22102. description: 期末余额(变动后金额)
  22103. type: number
  22104. dgoodscode:
  22105. description: 交割商品代码
  22106. type: string
  22107. dgoodsname:
  22108. description: 交割商品名称
  22109. type: string
  22110. goodscode:
  22111. description: 商品代码
  22112. type: string
  22113. goodsid:
  22114. description: 商品ID
  22115. type: integer
  22116. goodsname:
  22117. description: 商品名称
  22118. type: string
  22119. marketid:
  22120. description: 市场ID
  22121. type: integer
  22122. marketname:
  22123. description: 市场名称
  22124. type: string
  22125. moneyticket:
  22126. description: 资金流水号:银行端流水号
  22127. type: integer
  22128. operatetype:
  22129. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22130. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22131. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22132. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22133. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22134. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22135. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22136. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22137. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22138. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22139. type: integer
  22140. relationorderid:
  22141. description: 关联单号
  22142. type: string
  22143. remark:
  22144. description: 备注
  22145. type: string
  22146. trademode:
  22147. description: 交易模式
  22148. type: integer
  22149. required:
  22150. - accountid
  22151. - amount
  22152. - amountadjusttype
  22153. - autoid
  22154. - balance
  22155. - createtime
  22156. - currentbalance
  22157. - operatetype
  22158. type: object
  22159. taaccount.QueryHisAmountLogRsp:
  22160. properties:
  22161. OPERATETYPENAME:
  22162. description: 资金操作类型名称
  22163. type: string
  22164. accountid:
  22165. description: 资金账户ID
  22166. type: integer
  22167. agoodscode:
  22168. description: 竞拍商品代码
  22169. type: string
  22170. agoodsname:
  22171. description: 竞拍商品名称
  22172. type: string
  22173. amount:
  22174. description: 资金金额
  22175. type: number
  22176. amountadjusttype:
  22177. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22178. type: integer
  22179. autoid:
  22180. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22181. type: integer
  22182. balance:
  22183. description: 期初余额
  22184. type: number
  22185. businesscode:
  22186. description: 业务编号
  22187. type: integer
  22188. createtime:
  22189. description: 发生时间
  22190. type: string
  22191. currencyid:
  22192. description: 币种ID
  22193. type: integer
  22194. currentbalance:
  22195. description: 期末余额(变动后金额)
  22196. type: number
  22197. dgoodscode:
  22198. description: 交割商品代码
  22199. type: string
  22200. dgoodsname:
  22201. description: 交割商品名称
  22202. type: string
  22203. goodscode:
  22204. description: 商品代码
  22205. type: string
  22206. goodsid:
  22207. description: 商品ID
  22208. type: integer
  22209. goodsname:
  22210. description: 商品名称
  22211. type: string
  22212. histradedate:
  22213. description: 历史交易日
  22214. type: string
  22215. isvaliddata:
  22216. description: 是否有效 - 0:无效 1:有效
  22217. type: integer
  22218. marketid:
  22219. description: 市场ID
  22220. type: integer
  22221. marketname:
  22222. description: 市场名称
  22223. type: string
  22224. moneyticket:
  22225. description: 资金流水号:银行端流水号
  22226. type: integer
  22227. operatetype:
  22228. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22229. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22230. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22231. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22232. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22233. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22234. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22235. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22236. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22237. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22238. type: integer
  22239. relationorderid:
  22240. description: 关联单号
  22241. type: string
  22242. remark:
  22243. description: 备注
  22244. type: string
  22245. trademode:
  22246. description: 交易模式
  22247. type: integer
  22248. required:
  22249. - accountid
  22250. - amount
  22251. - amountadjusttype
  22252. - autoid
  22253. - balance
  22254. - createtime
  22255. - currentbalance
  22256. - histradedate
  22257. - operatetype
  22258. type: object
  22259. trade.QueryRecieptOrderRsp:
  22260. properties:
  22261. accountName:
  22262. description: 所属账号名称(已脱敏)
  22263. type: string
  22264. accountid:
  22265. description: 资金账号
  22266. type: integer
  22267. buyorsell:
  22268. description: 方向 - 0:买 1:卖
  22269. type: integer
  22270. enableqty:
  22271. description: 可摘数量
  22272. type: integer
  22273. goodscode:
  22274. description: 商品代码
  22275. type: string
  22276. goodsid:
  22277. description: 商品ID
  22278. type: integer
  22279. goodsname:
  22280. description: 商品名称
  22281. type: string
  22282. orderid:
  22283. description: 委托单号
  22284. type: string
  22285. orderprice:
  22286. description: 委托价格
  22287. type: number
  22288. ordertime:
  22289. description: 委托时间
  22290. type: string
  22291. tradedate:
  22292. description: 交易日(yyyyMMdd)
  22293. type: string
  22294. required:
  22295. - ordertime
  22296. type: object
  22297. user.LoginQueryRsp:
  22298. properties:
  22299. areaRoles:
  22300. description: 所属角色信息
  22301. items:
  22302. $ref: '#/definitions/models.Arearole'
  22303. type: array
  22304. externalExchanges:
  22305. description: 外部交易所
  22306. items:
  22307. $ref: '#/definitions/models.Externalexchange'
  22308. type: array
  22309. goodsgroups:
  22310. description: 商品组
  22311. items:
  22312. $ref: '#/definitions/models.Goodsgroup'
  22313. type: array
  22314. loginAccount:
  22315. $ref: '#/definitions/models.Loginaccount'
  22316. description: 登录账号
  22317. markets:
  22318. description: 市场
  22319. items:
  22320. $ref: '#/definitions/models.Market'
  22321. type: array
  22322. systemParams:
  22323. description: 系统参数
  22324. items:
  22325. $ref: '#/definitions/models.Systemparam'
  22326. type: array
  22327. userAccount:
  22328. $ref: '#/definitions/models.Useraccount'
  22329. description: 用户账号
  22330. userInfo:
  22331. $ref: '#/definitions/models.Userinfo'
  22332. description: 用户信息
  22333. username:
  22334. description: 用户姓名
  22335. type: string
  22336. type: object
  22337. info:
  22338. contact: {}
  22339. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22340. termsOfService: http://www.muchinfo.cn
  22341. title: MTP2.0 查询服务 API
  22342. version: "1.0"
  22343. paths:
  22344. /CPTrade/QueryCPTradeMyBidInfos:
  22345. get:
  22346. parameters:
  22347. - description: 资金账户
  22348. in: query
  22349. name: accountid
  22350. required: true
  22351. type: integer
  22352. - description: 预售市场ID
  22353. in: query
  22354. name: marketid
  22355. type: integer
  22356. - description: 预售商品ID
  22357. in: query
  22358. name: goodsid
  22359. type: integer
  22360. produces:
  22361. - application/json
  22362. responses:
  22363. "200":
  22364. description: OK
  22365. schema:
  22366. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 查询产能预售我的出价信息
  22374. tags:
  22375. - 产能预售
  22376. /CPTrade/QueryCPTradeOrderDetail:
  22377. get:
  22378. parameters:
  22379. - description: 预售商品ID
  22380. in: query
  22381. name: goodsid
  22382. type: integer
  22383. - description: 预售市场ID
  22384. in: query
  22385. name: marketid
  22386. type: integer
  22387. - description: 预售商品ID列表 - 格式:1,2,3
  22388. in: query
  22389. name: goodsids
  22390. type: string
  22391. produces:
  22392. - application/json
  22393. responses:
  22394. "200":
  22395. description: OK
  22396. schema:
  22397. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22398. "500":
  22399. description: Internal Server Error
  22400. schema:
  22401. $ref: '#/definitions/app.Response'
  22402. security:
  22403. - ApiKeyAuth: []
  22404. summary: 查询产能预售委托单信息
  22405. tags:
  22406. - 产能预售
  22407. /CPTrade/QueryMyCPTradeGoods:
  22408. get:
  22409. parameters:
  22410. - description: 资金账户
  22411. in: query
  22412. name: accountid
  22413. required: true
  22414. type: integer
  22415. produces:
  22416. - application/json
  22417. responses:
  22418. "200":
  22419. description: OK
  22420. schema:
  22421. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22422. "500":
  22423. description: Internal Server Error
  22424. schema:
  22425. $ref: '#/definitions/app.Response'
  22426. security:
  22427. - ApiKeyAuth: []
  22428. summary: 查询我的预售信息
  22429. tags:
  22430. - 产能预售
  22431. /CPTrade/QueryPositionCancel:
  22432. get:
  22433. parameters:
  22434. - description: 账户ID
  22435. in: query
  22436. name: userid
  22437. required: true
  22438. type: integer
  22439. - description: 注销ID
  22440. in: query
  22441. name: cancelid
  22442. type: integer
  22443. - description: 资金账户ID
  22444. in: query
  22445. name: accountid
  22446. type: integer
  22447. produces:
  22448. - application/json
  22449. responses:
  22450. "200":
  22451. description: OK
  22452. schema:
  22453. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22454. "500":
  22455. description: Internal Server Error
  22456. schema:
  22457. $ref: '#/definitions/app.Response'
  22458. security:
  22459. - ApiKeyAuth: []
  22460. summary: 查询远期订单注销申请信息
  22461. tags:
  22462. - 产能预售
  22463. /CPTrade/QueryPreasleApply:
  22464. get:
  22465. parameters:
  22466. - description: 账户ID
  22467. in: query
  22468. name: userid
  22469. required: true
  22470. type: integer
  22471. - description: 申请ID
  22472. in: query
  22473. name: applyid
  22474. type: integer
  22475. - description: 资金账户ID
  22476. in: query
  22477. name: accountid
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 查询产能预售申请信息
  22493. tags:
  22494. - 产能预售
  22495. /CPTrade/QueryPresaleGoodsEx:
  22496. get:
  22497. parameters:
  22498. - description: 预售商品ID
  22499. in: query
  22500. name: goodsid
  22501. type: integer
  22502. - description: 预售市场ID
  22503. in: query
  22504. name: marketid
  22505. type: integer
  22506. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22507. in: query
  22508. name: presalemode
  22509. type: integer
  22510. - description: 预售商品ID列表 - 格式:1,2,3
  22511. in: query
  22512. name: goodsids
  22513. type: string
  22514. - description: 预售商品代码
  22515. in: query
  22516. name: goodscode
  22517. type: string
  22518. produces:
  22519. - application/json
  22520. responses:
  22521. "200":
  22522. description: OK
  22523. schema:
  22524. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22525. "500":
  22526. description: Internal Server Error
  22527. schema:
  22528. $ref: '#/definitions/app.Response'
  22529. security:
  22530. - ApiKeyAuth: []
  22531. summary: 查询产能预售商品扩展信息
  22532. tags:
  22533. - 产能预售
  22534. /CPTrade/QueryUserGoodsData:
  22535. get:
  22536. parameters:
  22537. - description: 资金账户ID
  22538. in: query
  22539. name: accountid
  22540. required: true
  22541. type: integer
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询远期订单信息
  22556. tags:
  22557. - 产能预售
  22558. /Common/DeleteNewFuncmenu:
  22559. delete:
  22560. consumes:
  22561. - application/json
  22562. parameters:
  22563. - description: 菜单表数据,只需要resourcecode字段即可
  22564. in: body
  22565. name: data
  22566. required: true
  22567. schema:
  22568. $ref: '#/definitions/models.NewFuncmenulist'
  22569. produces:
  22570. - application/json
  22571. responses:
  22572. "200":
  22573. description: OK
  22574. schema:
  22575. $ref: '#/definitions/app.Response'
  22576. "500":
  22577. description: Internal Server Error
  22578. schema:
  22579. $ref: '#/definitions/app.Response'
  22580. security:
  22581. - ApiKeyAuth: []
  22582. summary: 删除菜单表数据
  22583. tags:
  22584. - 通用服务
  22585. /Common/FindNewFuncmenu:
  22586. get:
  22587. parameters:
  22588. - description: 资源代码
  22589. in: query
  22590. name: resourcecode
  22591. type: string
  22592. - description: 上级资源代码
  22593. in: query
  22594. name: parentcode
  22595. type: string
  22596. - description: 资源名(Title), 模糊查询
  22597. in: query
  22598. name: resourcename
  22599. type: string
  22600. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22601. in: query
  22602. name: menutype
  22603. type: string
  22604. produces:
  22605. - application/json
  22606. responses:
  22607. "200":
  22608. description: OK
  22609. schema:
  22610. items:
  22611. $ref: '#/definitions/models.NewFuncmenulist'
  22612. type: array
  22613. "500":
  22614. description: Internal Server Error
  22615. schema:
  22616. $ref: '#/definitions/app.Response'
  22617. security:
  22618. - ApiKeyAuth: []
  22619. summary: 获取菜单表数据
  22620. tags:
  22621. - 通用服务
  22622. /Common/GetAllEnums:
  22623. get:
  22624. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22625. parameters:
  22626. - description: 起始自增ID
  22627. in: query
  22628. name: autoid
  22629. type: integer
  22630. produces:
  22631. - application/json
  22632. responses:
  22633. "200":
  22634. description: OK
  22635. schema:
  22636. $ref: '#/definitions/models.Enumdicitem'
  22637. "500":
  22638. description: Internal Server Error
  22639. schema:
  22640. $ref: '#/definitions/app.Response'
  22641. summary: 获取所有枚举信息
  22642. tags:
  22643. - 通用服务
  22644. /Common/GetClientMenus:
  22645. get:
  22646. parameters:
  22647. - description: 登录账号
  22648. in: query
  22649. name: loginID
  22650. required: true
  22651. type: integer
  22652. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22653. in: query
  22654. name: clientType
  22655. type: integer
  22656. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22657. in: query
  22658. name: name
  22659. type: string
  22660. produces:
  22661. - application/json
  22662. responses:
  22663. "200":
  22664. description: OK
  22665. schema:
  22666. items:
  22667. $ref: '#/definitions/common.ClientMenu'
  22668. type: array
  22669. "500":
  22670. description: Internal Server Error
  22671. schema:
  22672. $ref: '#/definitions/app.Response'
  22673. security:
  22674. - ApiKeyAuth: []
  22675. summary: 获取交易端菜单
  22676. tags:
  22677. - 通用服务
  22678. /Common/GetClientNewFuncmenu:
  22679. get:
  22680. parameters:
  22681. - description: 登录账号
  22682. in: query
  22683. name: loginid
  22684. required: true
  22685. type: integer
  22686. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22687. in: query
  22688. name: menutype
  22689. required: true
  22690. type: integer
  22691. produces:
  22692. - application/json
  22693. responses:
  22694. "200":
  22695. description: OK
  22696. schema:
  22697. items:
  22698. $ref: '#/definitions/models.NewFuncmenulist'
  22699. type: array
  22700. "500":
  22701. description: Internal Server Error
  22702. schema:
  22703. $ref: '#/definitions/app.Response'
  22704. security:
  22705. - ApiKeyAuth: []
  22706. summary: 获取终端菜单
  22707. tags:
  22708. - 通用服务
  22709. /Common/GetDivisions:
  22710. get:
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. $ref: '#/definitions/models.Division'
  22718. "500":
  22719. description: Internal Server Error
  22720. schema:
  22721. $ref: '#/definitions/app.Response'
  22722. summary: 查询区域信息
  22723. tags:
  22724. - 通用服务
  22725. /Common/GetPCWebMenus:
  22726. get:
  22727. parameters:
  22728. - description: 登录账号
  22729. in: query
  22730. name: loginID
  22731. required: true
  22732. type: integer
  22733. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22734. in: query
  22735. name: name
  22736. type: string
  22737. produces:
  22738. - application/json
  22739. responses:
  22740. "200":
  22741. description: OK
  22742. schema:
  22743. items:
  22744. $ref: '#/definitions/common.PCWebMenu'
  22745. type: array
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 获取PCWeb交易端菜单
  22753. tags:
  22754. - 通用服务
  22755. /Common/GetServerTime:
  22756. get:
  22757. produces:
  22758. - application/json
  22759. responses:
  22760. "200":
  22761. description: OK
  22762. schema:
  22763. $ref: '#/definitions/app.Response'
  22764. "500":
  22765. description: Internal Server Error
  22766. schema:
  22767. $ref: '#/definitions/app.Response'
  22768. summary: 获取服务器时间
  22769. tags:
  22770. - 通用服务
  22771. /Common/InsertNewFuncmenu:
  22772. post:
  22773. consumes:
  22774. - application/json
  22775. parameters:
  22776. - description: 菜单表数据
  22777. in: body
  22778. name: data
  22779. required: true
  22780. schema:
  22781. $ref: '#/definitions/models.NewFuncmenulist'
  22782. produces:
  22783. - application/json
  22784. responses:
  22785. "200":
  22786. description: OK
  22787. schema:
  22788. $ref: '#/definitions/app.Response'
  22789. "500":
  22790. description: Internal Server Error
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. security:
  22794. - ApiKeyAuth: []
  22795. summary: 插入菜单表数据
  22796. tags:
  22797. - 通用服务
  22798. /Common/NoticeReaded:
  22799. post:
  22800. parameters:
  22801. - description: 登录账号
  22802. in: query
  22803. name: loginID
  22804. required: true
  22805. type: integer
  22806. - description: 通知公告ID
  22807. in: query
  22808. name: noticeID
  22809. required: true
  22810. type: integer
  22811. produces:
  22812. - application/json
  22813. responses:
  22814. "200":
  22815. description: OK
  22816. schema:
  22817. $ref: '#/definitions/app.Response'
  22818. "500":
  22819. description: Internal Server Error
  22820. schema:
  22821. $ref: '#/definitions/app.Response'
  22822. security:
  22823. - ApiKeyAuth: []
  22824. summary: 通知公告设置已读请求
  22825. tags:
  22826. - 通用服务
  22827. /Common/QueryErrorInfos:
  22828. get:
  22829. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22830. parameters:
  22831. - description: 起始行号前索引
  22832. in: query
  22833. name: rowNumber
  22834. type: string
  22835. produces:
  22836. - application/json
  22837. responses:
  22838. "200":
  22839. description: OK
  22840. schema:
  22841. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22842. "500":
  22843. description: Internal Server Error
  22844. schema:
  22845. $ref: '#/definitions/app.Response'
  22846. summary: 获取数据库错误信息
  22847. tags:
  22848. - 通用服务
  22849. /Common/QueryImageConfigs:
  22850. get:
  22851. parameters:
  22852. - description: 用户id
  22853. in: query
  22854. name: userId
  22855. type: integer
  22856. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22857. in: query
  22858. name: imageType
  22859. type: integer
  22860. produces:
  22861. - application/json
  22862. responses:
  22863. "200":
  22864. description: OK
  22865. schema:
  22866. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. summary: 查询轮播图配置信息
  22872. tags:
  22873. - 通用服务
  22874. /Common/QueryNotice:
  22875. get:
  22876. parameters:
  22877. - description: 页码
  22878. in: query
  22879. name: page
  22880. type: integer
  22881. - description: 每页条数
  22882. in: query
  22883. name: pagesize
  22884. type: integer
  22885. - description: 登录账号
  22886. in: query
  22887. name: loginID
  22888. required: true
  22889. type: integer
  22890. - description: 消息类型 - 1:公告通知 2:系统消息
  22891. in: query
  22892. name: msgType
  22893. type: integer
  22894. - description: 是否只获取未读信息
  22895. in: query
  22896. name: onlyUnRead
  22897. type: boolean
  22898. - description: 自增ID,传入后会返回这个ID后面的记录
  22899. in: query
  22900. name: lastID
  22901. type: integer
  22902. produces:
  22903. - application/json
  22904. responses:
  22905. "200":
  22906. description: OK
  22907. schema:
  22908. $ref: '#/definitions/common.QueryNoticeRsp'
  22909. "500":
  22910. description: Internal Server Error
  22911. schema:
  22912. $ref: '#/definitions/app.Response'
  22913. security:
  22914. - ApiKeyAuth: []
  22915. summary: 通知公告系统消息查询
  22916. tags:
  22917. - 通用服务
  22918. /Common/QueryProvincesAndCities:
  22919. get:
  22920. parameters:
  22921. - description: 省ID
  22922. in: query
  22923. name: provinceID
  22924. type: integer
  22925. produces:
  22926. - application/json
  22927. responses:
  22928. "200":
  22929. description: OK
  22930. schema:
  22931. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22932. "500":
  22933. description: Internal Server Error
  22934. schema:
  22935. $ref: '#/definitions/app.Response'
  22936. summary: 查询省市信息(不包括区)
  22937. tags:
  22938. - 通用服务
  22939. /Common/QueryRates:
  22940. get:
  22941. parameters:
  22942. - description: 页码
  22943. in: query
  22944. name: page
  22945. type: integer
  22946. - description: 每页条数
  22947. in: query
  22948. name: pagesize
  22949. type: integer
  22950. - description: 源币种ID
  22951. in: query
  22952. name: oricurrencyid
  22953. type: integer
  22954. - description: 目标币种ID
  22955. in: query
  22956. name: descurrencyid
  22957. type: integer
  22958. produces:
  22959. - application/json
  22960. responses:
  22961. "200":
  22962. description: OK
  22963. schema:
  22964. items:
  22965. $ref: '#/definitions/models.Exchangerateconfig'
  22966. type: array
  22967. "500":
  22968. description: Internal Server Error
  22969. schema:
  22970. $ref: '#/definitions/app.Response'
  22971. security:
  22972. - ApiKeyAuth: []
  22973. - LoginID: []
  22974. - Group: []
  22975. summary: 查询汇率信息
  22976. tags:
  22977. - 通用服务
  22978. /Common/QueryTableDefine:
  22979. get:
  22980. parameters:
  22981. - description: 表key
  22982. in: query
  22983. name: tableKey
  22984. type: string
  22985. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22986. in: query
  22987. name: tableType
  22988. type: integer
  22989. produces:
  22990. - application/json
  22991. responses:
  22992. "200":
  22993. description: OK
  22994. schema:
  22995. $ref: '#/definitions/common.QueryTableDefineRsp'
  22996. "500":
  22997. description: Internal Server Error
  22998. schema:
  22999. $ref: '#/definitions/app.Response'
  23000. summary: 查询交易端列表头信息
  23001. tags:
  23002. - 通用服务
  23003. /Common/QueryTraderMenu:
  23004. get:
  23005. parameters:
  23006. - description: 登录账号
  23007. in: query
  23008. name: loginid
  23009. required: true
  23010. type: integer
  23011. produces:
  23012. - application/json
  23013. responses:
  23014. "200":
  23015. description: OK
  23016. schema:
  23017. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. summary: 查询交易端菜单
  23023. tags:
  23024. - 通用服务
  23025. /Common/UpdateNewFuncmenu:
  23026. put:
  23027. consumes:
  23028. - application/json
  23029. parameters:
  23030. - description: 菜单表数据
  23031. in: body
  23032. name: data
  23033. required: true
  23034. schema:
  23035. $ref: '#/definitions/models.NewFuncmenulist'
  23036. produces:
  23037. - application/json
  23038. responses:
  23039. "200":
  23040. description: OK
  23041. schema:
  23042. $ref: '#/definitions/app.Response'
  23043. "500":
  23044. description: Internal Server Error
  23045. schema:
  23046. $ref: '#/definitions/app.Response'
  23047. security:
  23048. - ApiKeyAuth: []
  23049. summary: 更新菜单表数据
  23050. tags:
  23051. - 通用服务
  23052. /Delivery/QueryDeliveryRelation:
  23053. get:
  23054. parameters:
  23055. - description: 商品ID
  23056. in: query
  23057. name: goodsid
  23058. type: integer
  23059. - description: 品种ID
  23060. in: query
  23061. name: deliverygoodsid
  23062. type: integer
  23063. - description: 市场ID
  23064. in: query
  23065. name: marketid
  23066. type: integer
  23067. produces:
  23068. - application/json
  23069. responses:
  23070. "200":
  23071. description: OK
  23072. schema:
  23073. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23074. "500":
  23075. description: Internal Server Error
  23076. schema:
  23077. $ref: '#/definitions/app.Response'
  23078. security:
  23079. - ApiKeyAuth: []
  23080. summary: 查询商品交割关系表
  23081. tags:
  23082. - 交割服务
  23083. /Ermcp/GetErmcpGoods:
  23084. get:
  23085. parameters:
  23086. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23087. in: query
  23088. name: userid
  23089. type: integer
  23090. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23091. in: query
  23092. name: lastUpdateTime
  23093. type: string
  23094. produces:
  23095. - application/json
  23096. responses:
  23097. "200":
  23098. description: OK
  23099. schema:
  23100. $ref: '#/definitions/models.ErmcpGoods'
  23101. "500":
  23102. description: Internal Server Error
  23103. schema:
  23104. $ref: '#/definitions/app.Response'
  23105. security:
  23106. - ApiKeyAuth: []
  23107. summary: 查询企业风管期货商品信息
  23108. tags:
  23109. - 企业风险管理(app)
  23110. /Ermcp/GetErmcpGoodsSortByPosition:
  23111. get:
  23112. parameters:
  23113. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23114. in: query
  23115. name: sortIndex
  23116. type: string
  23117. produces:
  23118. - application/json
  23119. responses:
  23120. "200":
  23121. description: OK
  23122. schema:
  23123. $ref: '#/definitions/models.Goodssortbypreposition'
  23124. "500":
  23125. description: Internal Server Error
  23126. schema:
  23127. $ref: '#/definitions/app.Response'
  23128. security:
  23129. - ApiKeyAuth: []
  23130. summary: 查询企业风管期货主力、次主力商品信息
  23131. tags:
  23132. - 企业风险管理(app)
  23133. /Ermcp/GetErmcpOutAccountStatus:
  23134. get:
  23135. parameters:
  23136. - description: 登录账号
  23137. in: query
  23138. name: loginID
  23139. required: true
  23140. type: integer
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. $ref: '#/definitions/models.Hedgemarketopenlog'
  23148. "500":
  23149. description: Internal Server Error
  23150. schema:
  23151. $ref: '#/definitions/app.Response'
  23152. security:
  23153. - ApiKeyAuth: []
  23154. summary: 获取目标登录账号当前对冲账号在线状态
  23155. tags:
  23156. - 企业风险管理(app)
  23157. /Ermcp/GetErmcpRoleFuncMenuLists:
  23158. get:
  23159. parameters:
  23160. - description: 登录账号
  23161. in: query
  23162. name: loginID
  23163. required: true
  23164. type: integer
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. $ref: '#/definitions/models.Funcmenulist'
  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/QueryAccMgrBizGroupSet:
  23182. get:
  23183. parameters:
  23184. - description: 用户ID
  23185. in: query
  23186. name: userid
  23187. required: true
  23188. type: integer
  23189. - description: 现货商品id
  23190. in: query
  23191. name: deliverygoodsid
  23192. type: integer
  23193. produces:
  23194. - application/json
  23195. responses:
  23196. "200":
  23197. description: OK
  23198. schema:
  23199. items:
  23200. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23201. type: array
  23202. "500":
  23203. description: Internal Server Error
  23204. schema:
  23205. $ref: '#/definitions/app.Response'
  23206. security:
  23207. - ApiKeyAuth: []
  23208. summary: 查询业务类型分组(账户管理/账户设置)
  23209. tags:
  23210. - 企业风险管理(app)
  23211. /Ermcp/QueryAccMgrLoginUser:
  23212. get:
  23213. parameters:
  23214. - description: 用户ID
  23215. in: query
  23216. name: userid
  23217. required: true
  23218. type: integer
  23219. - description: 用户类型 2-机构 7-企业成员
  23220. in: query
  23221. name: usertype
  23222. type: integer
  23223. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23224. in: query
  23225. name: querytype
  23226. required: true
  23227. type: integer
  23228. produces:
  23229. - application/json
  23230. responses:
  23231. "200":
  23232. description: OK
  23233. schema:
  23234. items:
  23235. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23236. type: array
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 查询账户管理登录账号(账户管理/登录账号)
  23244. tags:
  23245. - 企业风险管理(app)
  23246. /Ermcp/QueryAccMgrMainAccountInfo:
  23247. get:
  23248. parameters:
  23249. - description: 用户ID
  23250. in: query
  23251. name: userid
  23252. type: integer
  23253. - description: 主账号id
  23254. in: query
  23255. name: accountid
  23256. type: integer
  23257. produces:
  23258. - application/json
  23259. responses:
  23260. "200":
  23261. description: OK
  23262. schema:
  23263. items:
  23264. $ref: '#/definitions/models.MainAccountInfo'
  23265. type: array
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. security:
  23271. - ApiKeyAuth: []
  23272. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23273. tags:
  23274. - 企业风险管理(app)
  23275. /Ermcp/QueryAccMgrRole:
  23276. get:
  23277. parameters:
  23278. - description: 用户ID
  23279. in: query
  23280. name: userid
  23281. required: true
  23282. type: integer
  23283. produces:
  23284. - application/json
  23285. responses:
  23286. "200":
  23287. description: OK
  23288. schema:
  23289. items:
  23290. $ref: '#/definitions/models.ErmcpRole'
  23291. type: array
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 查询账户管理角色设置(账户管理/角色设置)
  23299. tags:
  23300. - 企业风险管理(app)
  23301. /Ermcp/QueryAccMgrRoleMenu:
  23302. get:
  23303. parameters:
  23304. - description: 用户ID
  23305. in: query
  23306. name: userid
  23307. required: true
  23308. type: integer
  23309. - description: 角色id(可多个,逗号隔开)
  23310. in: query
  23311. name: roleid
  23312. type: string
  23313. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23314. in: query
  23315. name: menutype
  23316. type: integer
  23317. produces:
  23318. - application/json
  23319. responses:
  23320. "200":
  23321. description: OK
  23322. schema:
  23323. items:
  23324. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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/QueryAccMgrTaAccountInfo:
  23336. get:
  23337. parameters:
  23338. - description: 用户ID
  23339. in: query
  23340. name: userid
  23341. required: true
  23342. type: integer
  23343. - description: 账号id
  23344. in: query
  23345. name: accountid
  23346. type: integer
  23347. produces:
  23348. - application/json
  23349. responses:
  23350. "200":
  23351. description: OK
  23352. schema:
  23353. items:
  23354. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23355. type: array
  23356. "500":
  23357. description: Internal Server Error
  23358. schema:
  23359. $ref: '#/definitions/app.Response'
  23360. security:
  23361. - ApiKeyAuth: []
  23362. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23363. tags:
  23364. - 企业风险管理(app)
  23365. /Ermcp/QueryAccMgrTaaccount:
  23366. get:
  23367. parameters:
  23368. - description: 用户ID
  23369. in: query
  23370. name: userid
  23371. required: true
  23372. type: integer
  23373. produces:
  23374. - application/json
  23375. responses:
  23376. "200":
  23377. description: OK
  23378. schema:
  23379. items:
  23380. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23381. type: array
  23382. "500":
  23383. description: Internal Server Error
  23384. schema:
  23385. $ref: '#/definitions/app.Response'
  23386. security:
  23387. - ApiKeyAuth: []
  23388. summary: 查询账户管理期货账号(账户管理/期货账号)
  23389. tags:
  23390. - 企业风险管理(app)
  23391. /Ermcp/QueryAvaildGoodsGroup:
  23392. get:
  23393. parameters:
  23394. - description: 所属机构ID
  23395. in: query
  23396. name: userid
  23397. required: true
  23398. type: integer
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. items:
  23406. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23407. type: array
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. security:
  23413. - ApiKeyAuth: []
  23414. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23415. tags:
  23416. - 企业风险管理(app)
  23417. /Ermcp/QueryBusinessDj:
  23418. get:
  23419. parameters:
  23420. - description: 用户ID
  23421. in: query
  23422. name: UserId
  23423. required: true
  23424. type: integer
  23425. - description: 用户类型 2-机构 7-企业成员
  23426. in: query
  23427. name: usertype
  23428. type: integer
  23429. - description: 现货合同ID, 不填则查所有
  23430. in: query
  23431. name: relatedid
  23432. type: string
  23433. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23434. in: query
  23435. name: applystatus
  23436. type: string
  23437. produces:
  23438. - application/json
  23439. responses:
  23440. "200":
  23441. description: OK
  23442. schema:
  23443. items:
  23444. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23445. type: array
  23446. "500":
  23447. description: Internal Server Error
  23448. schema:
  23449. $ref: '#/definitions/app.Response'
  23450. security:
  23451. - ApiKeyAuth: []
  23452. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23453. tags:
  23454. - 企业风险管理(app)
  23455. /Ermcp/QueryBusinessFp:
  23456. get:
  23457. parameters:
  23458. - description: 用户ID
  23459. in: query
  23460. name: UserId
  23461. required: true
  23462. type: integer
  23463. - description: 用户类型 2-机构 7-企业成员
  23464. in: query
  23465. name: usertype
  23466. type: integer
  23467. - description: 现货合同ID, 不填则查所有
  23468. in: query
  23469. name: relatedid
  23470. type: string
  23471. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23472. in: query
  23473. name: applystatus
  23474. type: string
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. items:
  23482. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23483. type: array
  23484. "500":
  23485. description: Internal Server Error
  23486. schema:
  23487. $ref: '#/definitions/app.Response'
  23488. security:
  23489. - ApiKeyAuth: []
  23490. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23491. tags:
  23492. - 企业风险管理(app)
  23493. /Ermcp/QueryBusinessJs:
  23494. get:
  23495. parameters:
  23496. - description: 用户ID
  23497. in: query
  23498. name: UserId
  23499. required: true
  23500. type: integer
  23501. - description: 用户类型 2-机构 7-企业成员
  23502. in: query
  23503. name: usertype
  23504. type: integer
  23505. - description: 现货合同ID, 不填则查所有
  23506. in: query
  23507. name: relatedid
  23508. type: string
  23509. - description: 操作申请id
  23510. in: query
  23511. name: operateapplyid
  23512. type: string
  23513. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23514. in: query
  23515. name: applystatus
  23516. type: string
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. items:
  23524. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23525. type: array
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23533. tags:
  23534. - 企业风险管理(app)
  23535. /Ermcp/QueryBusinessJsEx:
  23536. get:
  23537. parameters:
  23538. - description: 用户ID
  23539. in: query
  23540. name: UserId
  23541. required: true
  23542. type: integer
  23543. - description: 用户类型 2-机构 7-企业成员
  23544. in: query
  23545. name: usertype
  23546. type: integer
  23547. - description: 现货合同ID, 不填则查所有
  23548. in: query
  23549. name: relatedid
  23550. type: string
  23551. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23552. in: query
  23553. name: applystatus
  23554. type: string
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. items:
  23562. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23563. type: array
  23564. "500":
  23565. description: Internal Server Error
  23566. schema:
  23567. $ref: '#/definitions/app.Response'
  23568. security:
  23569. - ApiKeyAuth: []
  23570. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23571. tags:
  23572. - 企业风险管理(app)
  23573. /Ermcp/QueryBusinessKx:
  23574. get:
  23575. parameters:
  23576. - description: 用户ID
  23577. in: query
  23578. name: UserId
  23579. required: true
  23580. type: integer
  23581. - description: 用户类型 2-机构 7-企业成员
  23582. in: query
  23583. name: usertype
  23584. type: integer
  23585. - description: 现货合同ID, 不填则查所有
  23586. in: query
  23587. name: relatedid
  23588. type: string
  23589. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23590. in: query
  23591. name: applystatus
  23592. type: string
  23593. produces:
  23594. - application/json
  23595. responses:
  23596. "200":
  23597. description: OK
  23598. schema:
  23599. items:
  23600. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23601. type: array
  23602. "500":
  23603. description: Internal Server Error
  23604. schema:
  23605. $ref: '#/definitions/app.Response'
  23606. security:
  23607. - ApiKeyAuth: []
  23608. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23609. tags:
  23610. - 企业风险管理(app)
  23611. /Ermcp/QueryChangeLog:
  23612. get:
  23613. parameters:
  23614. - description: 合同ID
  23615. in: query
  23616. name: RelatedId
  23617. required: true
  23618. type: string
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. items:
  23626. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23627. type: array
  23628. "500":
  23629. description: Internal Server Error
  23630. schema:
  23631. $ref: '#/definitions/app.Response'
  23632. security:
  23633. - ApiKeyAuth: []
  23634. summary: 查询变更记录
  23635. tags:
  23636. - 企业风险管理(app)
  23637. /Ermcp/QueryErmcpHisOrderDetails:
  23638. get:
  23639. parameters:
  23640. - description: 资金账户ID
  23641. in: query
  23642. name: accountID
  23643. required: true
  23644. type: integer
  23645. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23646. in: query
  23647. name: startDate
  23648. type: string
  23649. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23650. in: query
  23651. name: endDate
  23652. type: string
  23653. produces:
  23654. - application/json
  23655. responses:
  23656. "200":
  23657. description: OK
  23658. schema:
  23659. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23660. "500":
  23661. description: Internal Server Error
  23662. schema:
  23663. $ref: '#/definitions/app.Response'
  23664. security:
  23665. - ApiKeyAuth: []
  23666. summary: 获取企业风管期货历史委托单信息
  23667. tags:
  23668. - 企业风险管理(app)
  23669. /Ermcp/QueryErmcpHisTradeDetails:
  23670. get:
  23671. parameters:
  23672. - description: 资金账户ID
  23673. in: query
  23674. name: accountID
  23675. required: true
  23676. type: integer
  23677. - description: 商品ID
  23678. in: query
  23679. name: goodsID
  23680. type: integer
  23681. - description: 买卖方向,0:买 1:卖
  23682. in: query
  23683. name: buyOrSell
  23684. type: integer
  23685. - description: 关联委托单号
  23686. in: query
  23687. name: orderID
  23688. type: integer
  23689. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23690. in: query
  23691. name: startDate
  23692. type: string
  23693. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23694. in: query
  23695. name: endDate
  23696. type: string
  23697. produces:
  23698. - application/json
  23699. responses:
  23700. "200":
  23701. description: OK
  23702. schema:
  23703. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23704. "500":
  23705. description: Internal Server Error
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. security:
  23709. - ApiKeyAuth: []
  23710. summary: 获取企业风管期货历史成交单信息
  23711. tags:
  23712. - 企业风险管理(app)
  23713. /Ermcp/QueryErmcpInnerHolderDetails:
  23714. get:
  23715. parameters:
  23716. - description: 资金账户ID
  23717. in: query
  23718. name: accountID
  23719. required: true
  23720. type: integer
  23721. - description: 商品ID
  23722. in: query
  23723. name: goodsID
  23724. type: integer
  23725. - description: 买卖方向,0:买 1:卖
  23726. in: query
  23727. name: buyOrSell
  23728. type: integer
  23729. produces:
  23730. - application/json
  23731. responses:
  23732. "200":
  23733. description: OK
  23734. schema:
  23735. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23736. "500":
  23737. description: Internal Server Error
  23738. schema:
  23739. $ref: '#/definitions/app.Response'
  23740. security:
  23741. - ApiKeyAuth: []
  23742. summary: 获取企业风管期货内部持仓单信息
  23743. tags:
  23744. - 企业风险管理(app)
  23745. /Ermcp/QueryErmcpOrderDetails:
  23746. get:
  23747. parameters:
  23748. - description: 资金账户ID
  23749. in: query
  23750. name: accountID
  23751. required: true
  23752. type: integer
  23753. produces:
  23754. - application/json
  23755. responses:
  23756. "200":
  23757. description: OK
  23758. schema:
  23759. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23760. "500":
  23761. description: Internal Server Error
  23762. schema:
  23763. $ref: '#/definitions/app.Response'
  23764. security:
  23765. - ApiKeyAuth: []
  23766. summary: 获取企业风管期货委托单信息
  23767. tags:
  23768. - 企业风险管理(app)
  23769. /Ermcp/QueryErmcpTradeDetails:
  23770. get:
  23771. parameters:
  23772. - description: 资金账户ID
  23773. in: query
  23774. name: accountID
  23775. required: true
  23776. type: integer
  23777. - description: 商品ID
  23778. in: query
  23779. name: goodsID
  23780. type: integer
  23781. - description: 买卖方向,0:买 1:卖
  23782. in: query
  23783. name: buyOrSell
  23784. type: integer
  23785. - description: 关联委托单号
  23786. in: query
  23787. name: orderID
  23788. type: integer
  23789. produces:
  23790. - application/json
  23791. responses:
  23792. "200":
  23793. description: OK
  23794. schema:
  23795. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 获取企业风管期货成交单信息
  23803. tags:
  23804. - 企业风险管理(app)
  23805. /Ermcp/QueryErmcpTradePosition:
  23806. get:
  23807. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23808. parameters:
  23809. - description: 资金账户ID
  23810. in: query
  23811. name: accountID
  23812. required: true
  23813. type: integer
  23814. - description: 所属市场ID
  23815. in: query
  23816. name: marketID
  23817. type: integer
  23818. produces:
  23819. - application/json
  23820. responses:
  23821. "200":
  23822. description: OK
  23823. schema:
  23824. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23825. "500":
  23826. description: Internal Server Error
  23827. schema:
  23828. $ref: '#/definitions/app.Response'
  23829. security:
  23830. - ApiKeyAuth: []
  23831. summary: 获取企业风管期货持仓头寸信息
  23832. tags:
  23833. - 企业风险管理(app)
  23834. /Ermcp/QueryExposureDetail:
  23835. get:
  23836. parameters:
  23837. - description: 所属机构ID
  23838. in: query
  23839. name: areaUserId
  23840. required: true
  23841. type: integer
  23842. - description: 套保商品
  23843. in: query
  23844. name: middleGoodsId
  23845. required: true
  23846. type: integer
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. items:
  23854. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23855. type: array
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 查询敞口现货明细
  23863. tags:
  23864. - 企业风险管理(app)
  23865. /Ermcp/QueryExposureGoods:
  23866. get:
  23867. parameters:
  23868. - description: 套保商品id
  23869. in: query
  23870. name: middlegoodsid
  23871. required: true
  23872. type: integer
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. items:
  23880. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23881. type: array
  23882. "500":
  23883. description: Internal Server Error
  23884. schema:
  23885. $ref: '#/definitions/app.Response'
  23886. security:
  23887. - ApiKeyAuth: []
  23888. summary: 查询敞口主力合约
  23889. tags:
  23890. - 企业风险管理(app)
  23891. /Ermcp/QueryExposureHedgePosition:
  23892. get:
  23893. parameters:
  23894. - description: 用户id
  23895. in: query
  23896. name: userid
  23897. required: true
  23898. type: integer
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. items:
  23906. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23907. type: array
  23908. "500":
  23909. description: Internal Server Error
  23910. schema:
  23911. $ref: '#/definitions/app.Response'
  23912. security:
  23913. - ApiKeyAuth: []
  23914. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23915. tags:
  23916. - 企业风险管理(app)
  23917. /Ermcp/QueryExposureHedgePositionDetail:
  23918. get:
  23919. parameters:
  23920. - description: 所属机构ID
  23921. in: query
  23922. name: userid
  23923. required: true
  23924. type: integer
  23925. - description: 商品id
  23926. in: query
  23927. name: goodsId
  23928. required: true
  23929. type: integer
  23930. produces:
  23931. - application/json
  23932. responses:
  23933. "200":
  23934. description: OK
  23935. schema:
  23936. items:
  23937. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23938. type: array
  23939. "500":
  23940. description: Internal Server Error
  23941. schema:
  23942. $ref: '#/definitions/app.Response'
  23943. security:
  23944. - ApiKeyAuth: []
  23945. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23946. tags:
  23947. - 企业风险管理(app)
  23948. /Ermcp/QueryExposureSpot:
  23949. get:
  23950. parameters:
  23951. - description: 所属机构ID
  23952. in: query
  23953. name: areaUserId
  23954. required: true
  23955. type: integer
  23956. produces:
  23957. - application/json
  23958. responses:
  23959. "200":
  23960. description: OK
  23961. schema:
  23962. items:
  23963. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23964. type: array
  23965. "500":
  23966. description: Internal Server Error
  23967. schema:
  23968. $ref: '#/definitions/app.Response'
  23969. security:
  23970. - ApiKeyAuth: []
  23971. summary: 查询敞口现货头寸(敞口/现货头寸)
  23972. tags:
  23973. - 企业风险管理(app)
  23974. /Ermcp/QueryExposureSpotDetail:
  23975. get:
  23976. parameters:
  23977. - description: 所属机构ID
  23978. in: query
  23979. name: areaUserId
  23980. required: true
  23981. type: integer
  23982. - description: 现货品种ID
  23983. in: query
  23984. name: wrstandardId
  23985. required: true
  23986. type: integer
  23987. produces:
  23988. - application/json
  23989. responses:
  23990. "200":
  23991. description: OK
  23992. schema:
  23993. items:
  23994. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23995. type: array
  23996. "500":
  23997. description: Internal Server Error
  23998. schema:
  23999. $ref: '#/definitions/app.Response'
  24000. security:
  24001. - ApiKeyAuth: []
  24002. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24003. tags:
  24004. - 企业风险管理(app)
  24005. /Ermcp/QueryFuturesCompany:
  24006. get:
  24007. produces:
  24008. - application/json
  24009. responses:
  24010. "200":
  24011. description: OK
  24012. schema:
  24013. items:
  24014. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24015. type: array
  24016. "500":
  24017. description: Internal Server Error
  24018. schema:
  24019. $ref: '#/definitions/app.Response'
  24020. security:
  24021. - ApiKeyAuth: []
  24022. summary: 查询期货公司
  24023. tags:
  24024. - 企业风险管理(app)
  24025. /Ermcp/QueryGGConvertConfig:
  24026. get:
  24027. parameters:
  24028. - description: 品种id(不填则查所有)
  24029. in: query
  24030. name: goodsgroupid
  24031. type: integer
  24032. produces:
  24033. - application/json
  24034. responses:
  24035. "200":
  24036. description: OK
  24037. schema:
  24038. items:
  24039. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  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/QueryGoodsBrand:
  24051. get:
  24052. parameters:
  24053. - description: 用户ID
  24054. in: query
  24055. name: userid
  24056. required: true
  24057. type: integer
  24058. - description: 现货商品ID
  24059. in: query
  24060. name: wrstandardid
  24061. type: integer
  24062. produces:
  24063. - application/json
  24064. responses:
  24065. "200":
  24066. description: OK
  24067. schema:
  24068. items:
  24069. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24070. type: array
  24071. "500":
  24072. description: Internal Server Error
  24073. schema:
  24074. $ref: '#/definitions/app.Response'
  24075. security:
  24076. - ApiKeyAuth: []
  24077. summary: 查询商品品牌
  24078. tags:
  24079. - 企业风险管理(app)
  24080. /Ermcp/QueryGoodsModel:
  24081. get:
  24082. parameters:
  24083. - description: 用户ID
  24084. in: query
  24085. name: userid
  24086. required: true
  24087. type: integer
  24088. produces:
  24089. - application/json
  24090. responses:
  24091. "200":
  24092. description: OK
  24093. schema:
  24094. items:
  24095. $ref: '#/definitions/models.ErmcpGoodsModel'
  24096. type: array
  24097. "500":
  24098. description: Internal Server Error
  24099. schema:
  24100. $ref: '#/definitions/app.Response'
  24101. security:
  24102. - ApiKeyAuth: []
  24103. summary: 查询商品型号
  24104. tags:
  24105. - 企业风险管理(app)
  24106. /Ermcp/QueryHisExposure:
  24107. get:
  24108. parameters:
  24109. - description: 用户id
  24110. in: query
  24111. name: userid
  24112. required: true
  24113. type: integer
  24114. - description: 每个品种记录数
  24115. in: query
  24116. name: lastNum
  24117. required: true
  24118. type: integer
  24119. produces:
  24120. - application/json
  24121. responses:
  24122. "200":
  24123. description: OK
  24124. schema:
  24125. items:
  24126. $ref: '#/definitions/ermcp.HisExposureRsp'
  24127. type: array
  24128. "500":
  24129. description: Internal Server Error
  24130. schema:
  24131. $ref: '#/definitions/app.Response'
  24132. security:
  24133. - ApiKeyAuth: []
  24134. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24135. tags:
  24136. - 企业风险管理(app)
  24137. /Ermcp/QueryMiddleGoods:
  24138. get:
  24139. parameters:
  24140. - description: 所属机构ID
  24141. in: query
  24142. name: userid
  24143. required: true
  24144. type: integer
  24145. - description: 状态 0-停用 1-正常
  24146. in: query
  24147. name: status
  24148. required: true
  24149. type: integer
  24150. produces:
  24151. - application/json
  24152. responses:
  24153. "200":
  24154. description: OK
  24155. schema:
  24156. items:
  24157. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24158. type: array
  24159. "500":
  24160. description: Internal Server Error
  24161. schema:
  24162. $ref: '#/definitions/app.Response'
  24163. security:
  24164. - ApiKeyAuth: []
  24165. summary: 查询套保品种(菜单:套保品种)
  24166. tags:
  24167. - 企业风险管理(app)
  24168. /Ermcp/QueryMiddleGoodsChangeLog:
  24169. get:
  24170. parameters:
  24171. - description: 所属机构ID
  24172. in: query
  24173. name: userid
  24174. required: true
  24175. type: integer
  24176. - description: 套保品种id
  24177. in: query
  24178. name: middlegoodsid
  24179. required: true
  24180. type: integer
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  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/QueryMiddleGoodsDetail:
  24200. get:
  24201. parameters:
  24202. - description: 所属机构ID
  24203. in: query
  24204. name: userid
  24205. required: true
  24206. type: integer
  24207. - description: 套保品种id
  24208. in: query
  24209. name: middlegoodsid
  24210. type: integer
  24211. produces:
  24212. - application/json
  24213. responses:
  24214. "200":
  24215. description: OK
  24216. schema:
  24217. items:
  24218. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24219. type: array
  24220. "500":
  24221. description: Internal Server Error
  24222. schema:
  24223. $ref: '#/definitions/app.Response'
  24224. security:
  24225. - ApiKeyAuth: []
  24226. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24227. tags:
  24228. - 企业风险管理(app)
  24229. /Ermcp/QueryPendingAuditInfo:
  24230. get:
  24231. parameters:
  24232. - description: 用户ID
  24233. in: query
  24234. name: UserId
  24235. required: true
  24236. type: integer
  24237. produces:
  24238. - application/json
  24239. responses:
  24240. "200":
  24241. description: OK
  24242. schema:
  24243. items:
  24244. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24245. type: array
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24253. tags:
  24254. - 企业风险管理(app)
  24255. /Ermcp/QueryRealtimeExposure:
  24256. get:
  24257. parameters:
  24258. - description: 所属机构ID
  24259. in: query
  24260. name: userid
  24261. required: true
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. items:
  24270. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24271. type: array
  24272. "500":
  24273. description: Internal Server Error
  24274. schema:
  24275. $ref: '#/definitions/app.Response'
  24276. security:
  24277. - ApiKeyAuth: []
  24278. summary: 查询实时敞口
  24279. tags:
  24280. - 企业风险管理(app)
  24281. /Ermcp/QueryRealtimeExposurePosition:
  24282. get:
  24283. parameters:
  24284. - description: 用户id
  24285. in: query
  24286. name: userid
  24287. required: true
  24288. type: integer
  24289. - description: 套保商品ID
  24290. in: query
  24291. name: middleGoodsId
  24292. required: true
  24293. type: integer
  24294. produces:
  24295. - application/json
  24296. responses:
  24297. "200":
  24298. description: OK
  24299. schema:
  24300. items:
  24301. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  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/QueryRoleMenu:
  24313. get:
  24314. parameters:
  24315. - description: 登录ID
  24316. in: query
  24317. name: loginid
  24318. required: true
  24319. type: integer
  24320. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24321. in: query
  24322. name: menutype
  24323. type: integer
  24324. produces:
  24325. - application/json
  24326. responses:
  24327. "200":
  24328. description: OK
  24329. schema:
  24330. items:
  24331. $ref: '#/definitions/models.RoleMenu'
  24332. type: array
  24333. "500":
  24334. description: Internal Server Error
  24335. schema:
  24336. $ref: '#/definitions/app.Response'
  24337. security:
  24338. - ApiKeyAuth: []
  24339. summary: 查询角色菜单和权限
  24340. tags:
  24341. - 企业风险管理(app)
  24342. /Ermcp/QueryTradeConfigTMP:
  24343. get:
  24344. parameters:
  24345. - description: 所属机构id
  24346. in: query
  24347. name: areauserid
  24348. type: integer
  24349. produces:
  24350. - application/json
  24351. responses:
  24352. "200":
  24353. description: OK
  24354. schema:
  24355. items:
  24356. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24357. type: array
  24358. "500":
  24359. description: Internal Server Error
  24360. schema:
  24361. $ref: '#/definitions/app.Response'
  24362. security:
  24363. - ApiKeyAuth: []
  24364. summary: 查询交易模板配置
  24365. tags:
  24366. - 企业风险管理(app)
  24367. /Ermcp/QueryUserInfo:
  24368. get:
  24369. parameters:
  24370. - description: 所属机构用户ID
  24371. in: query
  24372. name: MemberUserID
  24373. required: true
  24374. type: integer
  24375. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24376. in: query
  24377. name: queryType
  24378. required: true
  24379. type: integer
  24380. produces:
  24381. - application/json
  24382. responses:
  24383. "200":
  24384. description: OK
  24385. schema:
  24386. items:
  24387. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  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. /Ermcp/QueryWarehouseInfo:
  24399. get:
  24400. parameters:
  24401. - description: 用户ID
  24402. in: query
  24403. name: userid
  24404. required: true
  24405. type: integer
  24406. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24407. in: query
  24408. name: status
  24409. type: string
  24410. produces:
  24411. - application/json
  24412. responses:
  24413. "200":
  24414. description: OK
  24415. schema:
  24416. items:
  24417. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24418. type: array
  24419. "500":
  24420. description: Internal Server Error
  24421. schema:
  24422. $ref: '#/definitions/app.Response'
  24423. security:
  24424. - ApiKeyAuth: []
  24425. summary: 查询仓库信息
  24426. tags:
  24427. - 企业风险管理(app)
  24428. /Ermcp3/QryAreaExpourseContractDetail:
  24429. get:
  24430. parameters:
  24431. - description: 用户ID
  24432. in: query
  24433. name: userid
  24434. required: true
  24435. type: integer
  24436. - description: 套保商品id
  24437. in: query
  24438. name: middlegoodsid
  24439. required: true
  24440. type: integer
  24441. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24442. in: query
  24443. name: cycletype
  24444. required: true
  24445. type: integer
  24446. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24447. 全(0)【原值】
  24448. in: query
  24449. name: cycletime
  24450. required: true
  24451. type: string
  24452. produces:
  24453. - application/json
  24454. responses:
  24455. "200":
  24456. description: OK
  24457. schema:
  24458. items:
  24459. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24460. type: array
  24461. "500":
  24462. description: Internal Server Error
  24463. schema:
  24464. $ref: '#/definitions/app.Response'
  24465. security:
  24466. - ApiKeyAuth: []
  24467. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24468. tags:
  24469. - 企业风险管理v3(app)
  24470. /Ermcp3/QryAreaExpourseFutuDetail:
  24471. get:
  24472. parameters:
  24473. - description: 用户ID
  24474. in: query
  24475. name: userid
  24476. required: true
  24477. type: integer
  24478. - description: 套保商品id
  24479. in: query
  24480. name: middlegoodsid
  24481. required: true
  24482. type: integer
  24483. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24484. in: query
  24485. name: cycletype
  24486. required: true
  24487. type: integer
  24488. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24489. 全(0)【原值】
  24490. in: query
  24491. name: cycletime
  24492. required: true
  24493. type: string
  24494. produces:
  24495. - application/json
  24496. responses:
  24497. "200":
  24498. description: OK
  24499. schema:
  24500. items:
  24501. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24502. type: array
  24503. "500":
  24504. description: Internal Server Error
  24505. schema:
  24506. $ref: '#/definitions/app.Response'
  24507. security:
  24508. - ApiKeyAuth: []
  24509. summary: 查询敞口期货明细(敞口报表/期货明细)
  24510. tags:
  24511. - 企业风险管理v3(app)
  24512. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24513. get:
  24514. parameters:
  24515. - description: 用户ID
  24516. in: query
  24517. name: userid
  24518. required: true
  24519. type: integer
  24520. - description: 套保商品id
  24521. in: query
  24522. name: middlegoodsid
  24523. required: true
  24524. type: integer
  24525. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24526. in: query
  24527. name: cycletype
  24528. required: true
  24529. type: integer
  24530. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24531. 全(0)【原值】
  24532. in: query
  24533. name: cycletime
  24534. required: true
  24535. type: string
  24536. produces:
  24537. - application/json
  24538. responses:
  24539. "200":
  24540. description: OK
  24541. schema:
  24542. items:
  24543. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24544. type: array
  24545. "500":
  24546. description: Internal Server Error
  24547. schema:
  24548. $ref: '#/definitions/app.Response'
  24549. security:
  24550. - ApiKeyAuth: []
  24551. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24552. tags:
  24553. - 企业风险管理v3(app)
  24554. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24555. get:
  24556. parameters:
  24557. - description: 用户ID
  24558. in: query
  24559. name: userid
  24560. required: true
  24561. type: integer
  24562. - description: 套保商品id
  24563. in: query
  24564. name: middlegoodsid
  24565. required: true
  24566. type: integer
  24567. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24568. in: query
  24569. name: cycletype
  24570. required: true
  24571. type: integer
  24572. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24573. 全(0)【原值】
  24574. in: query
  24575. name: cycletime
  24576. required: true
  24577. type: string
  24578. produces:
  24579. - application/json
  24580. responses:
  24581. "200":
  24582. description: OK
  24583. schema:
  24584. items:
  24585. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24586. type: array
  24587. "500":
  24588. description: Internal Server Error
  24589. schema:
  24590. $ref: '#/definitions/app.Response'
  24591. security:
  24592. - ApiKeyAuth: []
  24593. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24594. tags:
  24595. - 企业风险管理v3(app)
  24596. /Ermcp3/QryAreaExpourseReport:
  24597. get:
  24598. parameters:
  24599. - description: 用户ID
  24600. in: query
  24601. name: userid
  24602. required: true
  24603. type: integer
  24604. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24605. in: query
  24606. name: querytype
  24607. required: true
  24608. type: integer
  24609. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24610. in: query
  24611. name: cycletype
  24612. required: true
  24613. type: integer
  24614. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24615. 全(0)【原值】
  24616. in: query
  24617. name: cycletime
  24618. required: true
  24619. type: string
  24620. produces:
  24621. - application/json
  24622. responses:
  24623. "200":
  24624. description: OK
  24625. schema:
  24626. items:
  24627. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24628. type: array
  24629. "500":
  24630. description: Internal Server Error
  24631. schema:
  24632. $ref: '#/definitions/app.Response'
  24633. security:
  24634. - ApiKeyAuth: []
  24635. summary: 查询敞口报表
  24636. tags:
  24637. - 企业风险管理v3(app)
  24638. /Ermcp3/QryAreaSpotplReport:
  24639. get:
  24640. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24641. parameters:
  24642. - description: 用户ID
  24643. in: query
  24644. name: userid
  24645. required: true
  24646. type: integer
  24647. - description: 查询类型 1-报表 2-报表明细
  24648. in: query
  24649. name: querytype
  24650. required: true
  24651. type: integer
  24652. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24653. in: query
  24654. name: cycletype
  24655. required: true
  24656. type: integer
  24657. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24658. 全(0)【原值】
  24659. in: query
  24660. name: cycletime
  24661. required: true
  24662. type: string
  24663. - description: 现货品种id(明细必填)
  24664. in: query
  24665. name: deliverygoodsid
  24666. type: integer
  24667. - description: 币种id(明细必填)
  24668. in: query
  24669. name: currencyid
  24670. type: integer
  24671. - description: 日/周/月报表汇总维度 1:品种+品类
  24672. in: query
  24673. name: sumflag
  24674. type: integer
  24675. produces:
  24676. - application/json
  24677. responses:
  24678. "200":
  24679. description: OK
  24680. schema:
  24681. items:
  24682. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24683. type: array
  24684. "500":
  24685. description: Internal Server Error
  24686. schema:
  24687. $ref: '#/definitions/app.Response'
  24688. security:
  24689. - ApiKeyAuth: []
  24690. summary: 查询现货报表
  24691. tags:
  24692. - 企业风险管理v3(app)
  24693. /Ermcp3/QryAreaStockReport:
  24694. get:
  24695. parameters:
  24696. - description: 用户ID
  24697. in: query
  24698. name: userid
  24699. required: true
  24700. type: integer
  24701. - description: 查询类型 1-报表 2-报表明细
  24702. in: query
  24703. name: querytype
  24704. required: true
  24705. type: integer
  24706. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24707. in: query
  24708. name: cycletype
  24709. required: true
  24710. type: integer
  24711. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24712. 全(0)【原值】
  24713. in: query
  24714. name: cycletime
  24715. required: true
  24716. type: string
  24717. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24718. in: query
  24719. name: sumfields
  24720. type: string
  24721. - description: 品种ID
  24722. in: query
  24723. name: deliverygoodsid
  24724. type: integer
  24725. - description: 品类ID
  24726. in: query
  24727. name: wrstandardid
  24728. type: integer
  24729. - description: 品牌ID
  24730. in: query
  24731. name: spotgoodsbrandid
  24732. type: integer
  24733. - description: 仓库ID
  24734. in: query
  24735. name: warehouseinfoid
  24736. type: integer
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. items:
  24744. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24745. type: array
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询库存报表
  24753. tags:
  24754. - 企业风险管理v3(app)
  24755. /Ermcp3/QryAreaSumPL:
  24756. get:
  24757. parameters:
  24758. - description: 用户ID
  24759. in: query
  24760. name: userid
  24761. required: true
  24762. type: integer
  24763. - description: 查询类型 1-报表 2-报表明细
  24764. in: query
  24765. name: querytype
  24766. required: true
  24767. type: integer
  24768. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24769. in: query
  24770. name: cycletype
  24771. required: true
  24772. type: integer
  24773. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24774. 全(0)【原值】
  24775. in: query
  24776. name: cycletime
  24777. required: true
  24778. type: string
  24779. - description: 币种id(明细必填)
  24780. in: query
  24781. name: currencyid
  24782. type: integer
  24783. - description: 套保品种ID, 查询类型为2时起效
  24784. in: query
  24785. name: middlegoodsid
  24786. type: integer
  24787. produces:
  24788. - application/json
  24789. responses:
  24790. "200":
  24791. description: OK
  24792. schema:
  24793. items:
  24794. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24795. type: array
  24796. "500":
  24797. description: Internal Server Error
  24798. schema:
  24799. $ref: '#/definitions/app.Response'
  24800. security:
  24801. - ApiKeyAuth: []
  24802. summary: 查询汇总损益表
  24803. tags:
  24804. - 企业风险管理v3(app)
  24805. /Ermcp3/QryFinanceReport:
  24806. get:
  24807. parameters:
  24808. - description: 用户ID
  24809. in: query
  24810. name: userid
  24811. required: true
  24812. type: integer
  24813. - description: 查询类型 1-报表 2-报表明细
  24814. in: query
  24815. name: querytype
  24816. required: true
  24817. type: integer
  24818. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24819. in: query
  24820. name: cycletype
  24821. required: true
  24822. type: integer
  24823. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24824. 全(0)【原值】
  24825. in: query
  24826. name: cycletime
  24827. required: true
  24828. type: string
  24829. - description: 币种id(报表明细必填)
  24830. in: query
  24831. name: currencyid
  24832. type: integer
  24833. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24834. in: query
  24835. name: sumfields
  24836. type: string
  24837. produces:
  24838. - application/json
  24839. responses:
  24840. "200":
  24841. description: OK
  24842. schema:
  24843. items:
  24844. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24845. type: array
  24846. "500":
  24847. description: Internal Server Error
  24848. schema:
  24849. $ref: '#/definitions/app.Response'
  24850. security:
  24851. - ApiKeyAuth: []
  24852. summary: 查询财务报表
  24853. tags:
  24854. - 企业风险管理v3(app)
  24855. /Ermcp3/QrySCMiddleGoodsReport:
  24856. get:
  24857. parameters:
  24858. - description: 用户ID
  24859. in: query
  24860. name: userid
  24861. required: true
  24862. type: integer
  24863. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24864. in: query
  24865. name: cycletype
  24866. required: true
  24867. type: integer
  24868. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24869. 全(0)【原值】
  24870. in: query
  24871. name: cycletime
  24872. required: true
  24873. type: string
  24874. - description: 合同id
  24875. in: query
  24876. name: spotcontractid
  24877. type: integer
  24878. - description: 套保品种id
  24879. in: query
  24880. name: middlegoodsid
  24881. type: integer
  24882. - description: 现货品种id
  24883. in: query
  24884. name: deliverygoodsid
  24885. type: integer
  24886. - description: 现货商品id
  24887. in: query
  24888. name: wrstandardid
  24889. type: integer
  24890. - description: 合同编号(模糊匹配)
  24891. in: query
  24892. name: contractno
  24893. type: string
  24894. produces:
  24895. - application/json
  24896. responses:
  24897. "200":
  24898. description: OK
  24899. schema:
  24900. items:
  24901. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24902. type: array
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 查询定价报表
  24910. tags:
  24911. - 企业风险管理v3(app)
  24912. /Ermcp3/QryTaFutureDataReport:
  24913. get:
  24914. parameters:
  24915. - description: 用户ID
  24916. in: query
  24917. name: userid
  24918. required: true
  24919. type: integer
  24920. - description: 查询类型 1-报表 2-报表明细
  24921. in: query
  24922. name: querytype
  24923. required: true
  24924. type: integer
  24925. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24926. in: query
  24927. name: cycletype
  24928. required: true
  24929. type: integer
  24930. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24931. 全(0)【原值】
  24932. in: query
  24933. name: cycletime
  24934. required: true
  24935. type: string
  24936. - description: 币种id(查明细必填)
  24937. in: query
  24938. name: currencyid
  24939. type: integer
  24940. - description: 品种id(查明细必填)
  24941. in: query
  24942. name: goodsgroupid
  24943. type: integer
  24944. - description: 商品id(查明细必填)
  24945. in: query
  24946. name: goodsid
  24947. type: integer
  24948. - description: 买卖方向(查明细必填)
  24949. in: query
  24950. name: buyorsell
  24951. type: integer
  24952. produces:
  24953. - application/json
  24954. responses:
  24955. "200":
  24956. description: OK
  24957. schema:
  24958. items:
  24959. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24960. type: array
  24961. "500":
  24962. description: Internal Server Error
  24963. schema:
  24964. $ref: '#/definitions/app.Response'
  24965. security:
  24966. - ApiKeyAuth: []
  24967. summary: 查询期货报表
  24968. tags:
  24969. - 企业风险管理v3(app)
  24970. /Ermcp3/QueryAreaStock:
  24971. get:
  24972. parameters:
  24973. - description: 用户ID
  24974. in: query
  24975. name: userid
  24976. required: true
  24977. type: integer
  24978. produces:
  24979. - application/json
  24980. responses:
  24981. "200":
  24982. description: OK
  24983. schema:
  24984. items:
  24985. $ref: '#/definitions/models.Ermcp3AreaStock'
  24986. type: array
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 查询机构库存(库存管理/当前库存)
  24994. tags:
  24995. - 企业风险管理v3(app)
  24996. /Ermcp3/QueryAreaStockApply:
  24997. get:
  24998. parameters:
  24999. - description: 用户ID
  25000. in: query
  25001. name: userid
  25002. required: true
  25003. type: integer
  25004. - description: 用户类型 2-机构 7-企业成员
  25005. in: query
  25006. name: usertype
  25007. type: integer
  25008. - description: 现货商品ID
  25009. in: query
  25010. name: deliverygoodsid
  25011. type: integer
  25012. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25013. in: query
  25014. name: inouttype
  25015. type: string
  25016. - description: 合同ID
  25017. in: query
  25018. name: spotcontractid
  25019. type: integer
  25020. - description: 品类ID
  25021. in: query
  25022. name: wrstandardid
  25023. type: integer
  25024. - description: 品牌ID
  25025. in: query
  25026. name: spotgoodsbrandid
  25027. type: integer
  25028. - description: 仓库ID
  25029. in: query
  25030. name: warehouseinfoid
  25031. type: integer
  25032. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25033. in: query
  25034. name: applystatus
  25035. type: string
  25036. produces:
  25037. - application/json
  25038. responses:
  25039. "200":
  25040. description: OK
  25041. schema:
  25042. items:
  25043. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25044. type: array
  25045. "500":
  25046. description: Internal Server Error
  25047. schema:
  25048. $ref: '#/definitions/app.Response'
  25049. security:
  25050. - ApiKeyAuth: []
  25051. summary: 查询库存申请(出入库记录|库存审核)
  25052. tags:
  25053. - 企业风险管理v3(app)
  25054. /Ermcp3/QueryAreaStockApplySum:
  25055. get:
  25056. parameters:
  25057. - description: 合同ID
  25058. in: query
  25059. name: spotcontractid
  25060. required: true
  25061. type: integer
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25070. type: array
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25078. tags:
  25079. - 企业风险管理v3(app)
  25080. /Ermcp3/QueryDGFactoryItem:
  25081. get:
  25082. parameters:
  25083. - description: 用户id
  25084. in: query
  25085. name: userid
  25086. type: integer
  25087. - description: 用户类型 2-机构 7-企业成员
  25088. in: query
  25089. name: usertype
  25090. type: integer
  25091. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25092. in: query
  25093. name: dgfactoryitemid
  25094. type: integer
  25095. - description: 现货品种ID
  25096. in: query
  25097. name: deliverygoodsid
  25098. type: integer
  25099. - description: 要素项类型
  25100. in: query
  25101. name: dgfactoryitemtypeid
  25102. type: integer
  25103. - description: 顺序
  25104. in: query
  25105. name: orderindex
  25106. type: integer
  25107. produces:
  25108. - application/json
  25109. responses:
  25110. "200":
  25111. description: OK
  25112. schema:
  25113. items:
  25114. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25115. type: array
  25116. "500":
  25117. description: Internal Server Error
  25118. schema:
  25119. $ref: '#/definitions/app.Response'
  25120. security:
  25121. - ApiKeyAuth: []
  25122. summary: 查询品种要素定义项
  25123. tags:
  25124. - 企业风险管理v3(app)
  25125. /Ermcp3/QueryDeliveryGoods:
  25126. get:
  25127. parameters:
  25128. - description: 用户id
  25129. in: query
  25130. name: userid
  25131. required: true
  25132. type: integer
  25133. - description: 用户类型 2-机构 7-企业成员
  25134. in: query
  25135. name: usertype
  25136. type: integer
  25137. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25138. in: query
  25139. name: excludecfg
  25140. type: integer
  25141. produces:
  25142. - application/json
  25143. responses:
  25144. "200":
  25145. description: OK
  25146. schema:
  25147. items:
  25148. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25149. type: array
  25150. "500":
  25151. description: Internal Server Error
  25152. schema:
  25153. $ref: '#/definitions/app.Response'
  25154. security:
  25155. - ApiKeyAuth: []
  25156. summary: 查询现货商品
  25157. tags:
  25158. - 企业风险管理v3(app)
  25159. /Ermcp3/QueryDeliveryGoodsDetail:
  25160. get:
  25161. parameters:
  25162. - description: 用户id
  25163. in: query
  25164. name: userid
  25165. required: true
  25166. type: integer
  25167. - description: 用户类型 2-机构 7-企业成员
  25168. in: query
  25169. name: usertype
  25170. type: integer
  25171. - description: 现货商品id
  25172. in: query
  25173. name: deliverygoodsid
  25174. type: integer
  25175. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25176. in: query
  25177. name: filtersubempty
  25178. type: integer
  25179. produces:
  25180. - application/json
  25181. responses:
  25182. "200":
  25183. description: OK
  25184. schema:
  25185. items:
  25186. $ref: '#/definitions/models.XHDeliveryGoods'
  25187. type: array
  25188. "500":
  25189. description: Internal Server Error
  25190. schema:
  25191. $ref: '#/definitions/app.Response'
  25192. security:
  25193. - ApiKeyAuth: []
  25194. summary: 查询现货商品详情
  25195. tags:
  25196. - 企业风险管理v3(app)
  25197. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25198. get:
  25199. parameters:
  25200. - description: 合同id
  25201. in: query
  25202. name: spotcontractid
  25203. required: true
  25204. type: string
  25205. produces:
  25206. - application/json
  25207. responses:
  25208. "200":
  25209. description: OK
  25210. schema:
  25211. items:
  25212. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25213. type: array
  25214. "500":
  25215. description: Internal Server Error
  25216. schema:
  25217. $ref: '#/definitions/app.Response'
  25218. security:
  25219. - ApiKeyAuth: []
  25220. summary: 查询现货合同期现配置信息
  25221. tags:
  25222. - 企业风险管理v3(app)
  25223. /Ermcp3/QueryExposureDetail:
  25224. get:
  25225. parameters:
  25226. - description: 用户id
  25227. in: query
  25228. name: userid
  25229. required: true
  25230. type: integer
  25231. - description: 用户类型 2-机构 7-企业成员
  25232. in: query
  25233. name: usertype
  25234. type: integer
  25235. - description: 套保商品
  25236. in: query
  25237. name: middlegoodsid
  25238. required: true
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  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/QueryExposureSpot:
  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. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. items:
  25277. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25278. type: array
  25279. "500":
  25280. description: Internal Server Error
  25281. schema:
  25282. $ref: '#/definitions/app.Response'
  25283. security:
  25284. - ApiKeyAuth: []
  25285. summary: 查询敞口现货头寸(敞口/现货头寸)
  25286. tags:
  25287. - 企业风险管理v3(app)
  25288. /Ermcp3/QueryExposureSpotDetail:
  25289. get:
  25290. parameters:
  25291. - description: 用户id
  25292. in: query
  25293. name: userid
  25294. required: true
  25295. type: integer
  25296. - description: 用户类型 2-机构 7-企业成员
  25297. in: query
  25298. name: usertype
  25299. type: integer
  25300. - description: 现货商品ID
  25301. in: query
  25302. name: wrstandardid
  25303. required: true
  25304. type: integer
  25305. produces:
  25306. - application/json
  25307. responses:
  25308. "200":
  25309. description: OK
  25310. schema:
  25311. items:
  25312. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25313. type: array
  25314. "500":
  25315. description: Internal Server Error
  25316. schema:
  25317. $ref: '#/definitions/app.Response'
  25318. security:
  25319. - ApiKeyAuth: []
  25320. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25321. tags:
  25322. - 企业风险管理v3(app)
  25323. /Ermcp3/QueryGoodsGroup:
  25324. get:
  25325. parameters:
  25326. - description: 用户id
  25327. in: query
  25328. name: userid
  25329. required: true
  25330. type: integer
  25331. - description: 用户类型 2-机构 7-企业成员
  25332. in: query
  25333. name: usertype
  25334. type: integer
  25335. - description: 排除套保品中已关联的商品组 1-排除
  25336. in: query
  25337. name: excludecfg
  25338. type: integer
  25339. produces:
  25340. - application/json
  25341. responses:
  25342. "200":
  25343. description: OK
  25344. schema:
  25345. items:
  25346. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25347. type: array
  25348. "500":
  25349. description: Internal Server Error
  25350. schema:
  25351. $ref: '#/definitions/app.Response'
  25352. security:
  25353. - ApiKeyAuth: []
  25354. summary: 查询期货商品组
  25355. tags:
  25356. - 企业风险管理v3(app)
  25357. /Ermcp3/QueryGoodsWrstandard:
  25358. get:
  25359. parameters:
  25360. - description: 用户id
  25361. in: query
  25362. name: userid
  25363. required: true
  25364. type: integer
  25365. - description: 用户类型 2-机构 7-企业成员
  25366. in: query
  25367. name: usertype
  25368. type: integer
  25369. - description: 现货商品id
  25370. in: query
  25371. name: deliverygoodsid
  25372. type: integer
  25373. produces:
  25374. - application/json
  25375. responses:
  25376. "200":
  25377. description: OK
  25378. schema:
  25379. items:
  25380. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  25392. get:
  25393. parameters:
  25394. - description: 用户id
  25395. in: query
  25396. name: userid
  25397. required: true
  25398. type: integer
  25399. - description: 用户类型 2-机构 7-企业成员
  25400. in: query
  25401. name: usertype
  25402. type: integer
  25403. produces:
  25404. - application/json
  25405. responses:
  25406. "200":
  25407. description: OK
  25408. schema:
  25409. items:
  25410. $ref: '#/definitions/models.Ermcp3Brand'
  25411. type: array
  25412. "500":
  25413. description: Internal Server Error
  25414. schema:
  25415. $ref: '#/definitions/app.Response'
  25416. security:
  25417. - ApiKeyAuth: []
  25418. summary: 查询商品品牌
  25419. tags:
  25420. - 企业风险管理v3(app)
  25421. /Ermcp3/QueryHPMiddleGoods:
  25422. get:
  25423. parameters:
  25424. - description: 用户ID(填登录用户的userid)
  25425. in: query
  25426. name: userid
  25427. required: true
  25428. type: integer
  25429. - description: 买卖方向 0-买 1-卖
  25430. in: query
  25431. name: buyorsell
  25432. required: true
  25433. type: integer
  25434. - description: 商品组id
  25435. in: query
  25436. name: goodsgroupid
  25437. required: true
  25438. type: integer
  25439. - description: 套保计划编号(模糊匹配)
  25440. in: query
  25441. name: hedgeplanno
  25442. type: string
  25443. - description: 现货商品名称(模糊匹配)
  25444. in: query
  25445. name: wrstandardname
  25446. type: string
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 查询可关联套保计划
  25463. tags:
  25464. - 企业风险管理v3(app)
  25465. /Ermcp3/QueryHedgePlan:
  25466. get:
  25467. parameters:
  25468. - description: 用户ID
  25469. in: query
  25470. name: userid
  25471. required: true
  25472. type: integer
  25473. - description: 用户类型 2-机构 7-企业成员
  25474. in: query
  25475. name: usertype
  25476. type: integer
  25477. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25478. in: query
  25479. name: hedgeplanstatus
  25480. required: true
  25481. type: string
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25490. type: array
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询套保计划
  25498. tags:
  25499. - 企业风险管理v3(app)
  25500. /Ermcp3/QueryInnerTradeLink:
  25501. get:
  25502. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25503. parameters:
  25504. - description: 外部成交单号
  25505. in: query
  25506. name: outtradeid
  25507. required: true
  25508. type: integer
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. items:
  25516. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25517. type: array
  25518. "500":
  25519. description: Internal Server Error
  25520. schema:
  25521. $ref: '#/definitions/app.Response'
  25522. security:
  25523. - ApiKeyAuth: []
  25524. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25525. tags:
  25526. - 企业风险管理v3(app)
  25527. /Ermcp3/QueryMiddleGoodsDetail:
  25528. get:
  25529. parameters:
  25530. - description: 用户id
  25531. in: query
  25532. name: userid
  25533. required: true
  25534. type: integer
  25535. - description: 用户类型 2-机构 7-企业成员
  25536. in: query
  25537. name: usertype
  25538. type: integer
  25539. - description: 套保品种id
  25540. in: query
  25541. name: middlegoodsid
  25542. type: integer
  25543. produces:
  25544. - application/json
  25545. responses:
  25546. "200":
  25547. description: OK
  25548. schema:
  25549. items:
  25550. $ref: '#/definitions/models.TBMiddleGoods'
  25551. type: array
  25552. "500":
  25553. description: Internal Server Error
  25554. schema:
  25555. $ref: '#/definitions/app.Response'
  25556. security:
  25557. - ApiKeyAuth: []
  25558. summary: 查询套保品种详情(套保品种/商品详情)
  25559. tags:
  25560. - 企业风险管理v3(app)
  25561. /Ermcp3/QueryOutTradeLink:
  25562. get:
  25563. description: 页面 app 现货->期现关联->外部成交单关联
  25564. parameters:
  25565. - description: 用户ID(填登录用户的userid)
  25566. in: query
  25567. name: userid
  25568. required: true
  25569. type: integer
  25570. - description: 外部订单号(模糊匹配)
  25571. in: query
  25572. name: outtradeid
  25573. type: string
  25574. - description: 合约名称/代码(模糊匹配)
  25575. in: query
  25576. name: goodsname
  25577. type: string
  25578. - description: 关联状态 0-未关联 1-已关联
  25579. in: query
  25580. name: hasinnerorder
  25581. type: integer
  25582. produces:
  25583. - application/json
  25584. responses:
  25585. "200":
  25586. description: OK
  25587. schema:
  25588. items:
  25589. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25590. type: array
  25591. "500":
  25592. description: Internal Server Error
  25593. schema:
  25594. $ref: '#/definitions/app.Response'
  25595. security:
  25596. - ApiKeyAuth: []
  25597. summary: 查询外部成交单关联
  25598. tags:
  25599. - 企业风险管理v3(app)
  25600. /Ermcp3/QueryPaAreaAuditCfg:
  25601. get:
  25602. parameters:
  25603. - description: 用户id
  25604. in: query
  25605. name: userid
  25606. required: true
  25607. type: integer
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询审核设置
  25624. tags:
  25625. - 企业风险管理v3(app)
  25626. /Ermcp3/QueryPaAreaSubject:
  25627. get:
  25628. parameters:
  25629. - description: 用户id
  25630. in: query
  25631. name: userid
  25632. required: true
  25633. type: integer
  25634. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25635. in: query
  25636. name: subjectid
  25637. type: integer
  25638. - description: 主体类型 - 1:交易主体 2:业务部门
  25639. in: query
  25640. name: subjecttype
  25641. type: integer
  25642. - description: '主体状态 - 1:正常 2: 停用'
  25643. in: query
  25644. name: subjectstatus
  25645. type: integer
  25646. produces:
  25647. - application/json
  25648. responses:
  25649. "200":
  25650. description: OK
  25651. schema:
  25652. items:
  25653. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25654. type: array
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 查询交易主体
  25662. tags:
  25663. - 企业风险管理v3(app)
  25664. /Ermcp3/QueryPaTradeLink:
  25665. get:
  25666. description: 页面 app 现货->期现关联->期现单据关联
  25667. parameters:
  25668. - description: 用户ID
  25669. in: query
  25670. name: userid
  25671. required: true
  25672. type: integer
  25673. produces:
  25674. - application/json
  25675. responses:
  25676. "200":
  25677. description: OK
  25678. schema:
  25679. items:
  25680. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25681. type: array
  25682. "500":
  25683. description: Internal Server Error
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. security:
  25687. - ApiKeyAuth: []
  25688. summary: 查询期现单据关联
  25689. tags:
  25690. - 企业风险管理v3(app)
  25691. /Ermcp3/QueryPaTradeLinkDetail:
  25692. get:
  25693. description: 页面 app 现货->期现关联->关联记录
  25694. parameters:
  25695. - description: 用户ID(填登录用户的userid)
  25696. in: query
  25697. name: userid
  25698. required: true
  25699. type: integer
  25700. - description: 关联状态 1:成功 2:失败 3:解绑
  25701. in: query
  25702. name: linkstatus
  25703. type: integer
  25704. - description: 期货订单号(模糊匹配)
  25705. in: query
  25706. name: tradeid
  25707. type: string
  25708. - description: 现货编号(模糊匹配)
  25709. in: query
  25710. name: contractno
  25711. type: string
  25712. - description: 期货账户(模糊匹配)
  25713. in: query
  25714. name: taname
  25715. type: string
  25716. produces:
  25717. - application/json
  25718. responses:
  25719. "200":
  25720. description: OK
  25721. schema:
  25722. items:
  25723. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25724. type: array
  25725. "500":
  25726. description: Internal Server Error
  25727. schema:
  25728. $ref: '#/definitions/app.Response'
  25729. security:
  25730. - ApiKeyAuth: []
  25731. summary: 查询期现关联记录
  25732. tags:
  25733. - 企业风险管理v3(app)
  25734. /Ermcp3/QueryParamChangeApp:
  25735. get:
  25736. description: |-
  25737. 原型页面:
  25738. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25739. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25740. parameters:
  25741. - description: 用户ID
  25742. in: query
  25743. name: userid
  25744. required: true
  25745. type: integer
  25746. - description: 现货品种id
  25747. in: query
  25748. name: deliverygoodsid
  25749. type: integer
  25750. - description: 现货商品id
  25751. in: query
  25752. name: wrstandardid
  25753. type: integer
  25754. - description: 套保商品id
  25755. in: query
  25756. name: middlegoodsid
  25757. type: integer
  25758. - description: 操作类型 1:新增 2:修改
  25759. in: query
  25760. name: operatetype
  25761. type: integer
  25762. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25763. in: query
  25764. name: paramchangetype
  25765. type: integer
  25766. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25767. in: query
  25768. name: ftstatus
  25769. type: string
  25770. produces:
  25771. - application/json
  25772. responses:
  25773. "200":
  25774. description: OK
  25775. schema:
  25776. items:
  25777. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25778. type: array
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 查询现货商品参数变更申请(流水)
  25786. tags:
  25787. - 企业风险管理v3(app)
  25788. /Ermcp3/QueryRootUserAccount:
  25789. get:
  25790. parameters:
  25791. - description: 用户ID
  25792. in: query
  25793. name: userid
  25794. required: true
  25795. type: integer
  25796. produces:
  25797. - application/json
  25798. responses:
  25799. "200":
  25800. description: OK
  25801. schema:
  25802. items:
  25803. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25804. type: array
  25805. "500":
  25806. description: Internal Server Error
  25807. schema:
  25808. $ref: '#/definitions/app.Response'
  25809. security:
  25810. - ApiKeyAuth: []
  25811. summary: 查询顶级用户信息
  25812. tags:
  25813. - 企业风险管理v3(app)
  25814. /Ermcp3/QuerySCMiddleGoods:
  25815. get:
  25816. description: |-
  25817. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25818. 现货编号 即 合同编号
  25819. parameters:
  25820. - description: 用户ID(填登录用户的userid)
  25821. in: query
  25822. name: userid
  25823. required: true
  25824. type: integer
  25825. - description: 买卖方向 0-买 1-卖
  25826. in: query
  25827. name: buyorsell
  25828. required: true
  25829. type: integer
  25830. - description: 商品组id
  25831. in: query
  25832. name: goodsgroupid
  25833. required: true
  25834. type: integer
  25835. - description: 业务类型 1:套保 2:套利
  25836. in: query
  25837. name: biztype
  25838. type: integer
  25839. - description: 现货编号(模糊匹配)
  25840. in: query
  25841. name: contractno
  25842. type: string
  25843. - description: 对手方(模糊匹配)
  25844. in: query
  25845. name: customername
  25846. type: string
  25847. - description: 现货商品名称(模糊匹配)
  25848. in: query
  25849. name: wrstandardname
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询现货订单
  25867. tags:
  25868. - 企业风险管理v3(app)
  25869. /Ermcp3/QuerySpotContract:
  25870. get:
  25871. parameters:
  25872. - description: 用户id(当指定contractid, userid可不填)
  25873. in: query
  25874. name: userid
  25875. required: true
  25876. type: integer
  25877. - description: 用户类型 2-机构 7-企业成员
  25878. in: query
  25879. name: usertype
  25880. type: integer
  25881. - description: 合同类型 1-采购, -1-销售
  25882. in: query
  25883. name: contracttype
  25884. type: integer
  25885. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25886. in: query
  25887. name: querytype
  25888. type: string
  25889. - description: 合同ID(SpotContractId)
  25890. in: query
  25891. name: contractid
  25892. type: string
  25893. - description: 合同编号(模糊匹配)
  25894. in: query
  25895. name: contractno
  25896. type: string
  25897. - description: 商品名称(模糊匹配)
  25898. in: query
  25899. name: wrstandardname
  25900. type: string
  25901. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25902. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25903. in: query
  25904. name: status
  25905. type: string
  25906. - description: 是否只查今日的合同 1-查今日合同
  25907. in: query
  25908. name: istoday
  25909. type: integer
  25910. produces:
  25911. - application/json
  25912. responses:
  25913. "200":
  25914. description: OK
  25915. schema:
  25916. items:
  25917. $ref: '#/definitions/models.Ermcp3Contract'
  25918. type: array
  25919. "500":
  25920. description: Internal Server Error
  25921. schema:
  25922. $ref: '#/definitions/app.Response'
  25923. security:
  25924. - ApiKeyAuth: []
  25925. summary: 查询现货合同
  25926. tags:
  25927. - 企业风险管理v3(app)
  25928. /Ermcp3/QuerySpotContractBS:
  25929. get:
  25930. parameters:
  25931. - description: 用户id
  25932. in: query
  25933. name: userid
  25934. required: true
  25935. type: integer
  25936. - description: 用户类型 2-机构 7-企业成员
  25937. in: query
  25938. name: usertype
  25939. type: integer
  25940. - description: 合同类型 1-采购, -1-销售
  25941. in: query
  25942. name: contracttype
  25943. required: true
  25944. type: integer
  25945. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25946. in: query
  25947. name: querytype
  25948. type: integer
  25949. - description: 合同ID(SpotContractId)
  25950. in: query
  25951. name: contractid
  25952. type: string
  25953. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25954. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25955. in: query
  25956. name: status
  25957. type: string
  25958. - description: 是否只查今日的合同 1-查今日合同
  25959. in: query
  25960. name: istoday
  25961. type: integer
  25962. produces:
  25963. - application/json
  25964. responses:
  25965. "200":
  25966. description: OK
  25967. schema:
  25968. items:
  25969. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25970. type: array
  25971. "500":
  25972. description: Internal Server Error
  25973. schema:
  25974. $ref: '#/definitions/app.Response'
  25975. security:
  25976. - ApiKeyAuth: []
  25977. summary: 查询合同(采购/销售)
  25978. tags:
  25979. - 企业风险管理v3(app)
  25980. /Ermcp3/QuerySpotGoodsPrice:
  25981. get:
  25982. parameters:
  25983. - description: 用户ID
  25984. in: query
  25985. name: userid
  25986. required: true
  25987. type: integer
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. items:
  25995. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25996. type: array
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询现货市价(现货市价)
  26004. tags:
  26005. - 企业风险管理v3(app)
  26006. /Ermcp3/QuerySpotGoodsPriceLog:
  26007. get:
  26008. parameters:
  26009. - description: 用户ID
  26010. in: query
  26011. name: userid
  26012. required: true
  26013. type: integer
  26014. - description: 现货商品ID
  26015. in: query
  26016. name: deliverygoodsid
  26017. required: true
  26018. type: integer
  26019. - description: 品牌ID
  26020. in: query
  26021. name: brandid
  26022. type: integer
  26023. - description: 品类ID
  26024. in: query
  26025. name: wrstandardid
  26026. type: integer
  26027. produces:
  26028. - application/json
  26029. responses:
  26030. "200":
  26031. description: OK
  26032. schema:
  26033. items:
  26034. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  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. /Ermcp3/QuerySubTaaccount:
  26046. get:
  26047. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26048. parameters:
  26049. - description: 母账号id
  26050. in: query
  26051. name: parentaccountid
  26052. type: integer
  26053. - description: 母账号代码
  26054. in: query
  26055. name: parentaccountcode
  26056. type: string
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. items:
  26064. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26065. type: array
  26066. "500":
  26067. description: Internal Server Error
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. security:
  26071. - ApiKeyAuth: []
  26072. summary: 查询期货子账户
  26073. tags:
  26074. - 企业风险管理v3(app)
  26075. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26076. get:
  26077. parameters:
  26078. - description: 套期项目ID
  26079. in: query
  26080. name: hedgeditemid
  26081. required: true
  26082. type: integer
  26083. produces:
  26084. - application/json
  26085. responses:
  26086. "200":
  26087. description: OK
  26088. schema:
  26089. items:
  26090. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26091. type: array
  26092. "500":
  26093. description: Internal Server Error
  26094. schema:
  26095. $ref: '#/definitions/app.Response'
  26096. security:
  26097. - ApiKeyAuth: []
  26098. summary: 现货成交明细查询
  26099. tags:
  26100. - 企业风险管理v8
  26101. /Ermcp8/QueryERMCP2HedgedItemspot:
  26102. get:
  26103. parameters:
  26104. - description: 套期项目ID
  26105. in: query
  26106. name: hedgeditemid
  26107. required: true
  26108. type: integer
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. items:
  26116. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26117. type: array
  26118. "500":
  26119. description: Internal Server Error
  26120. schema:
  26121. $ref: '#/definitions/app.Response'
  26122. security:
  26123. - ApiKeyAuth: []
  26124. summary: 套期计划明细查询
  26125. tags:
  26126. - 企业风险管理v8
  26127. /Ermcp8/QueryERMCPJRLinkPos:
  26128. get:
  26129. parameters:
  26130. - description: 套期项目ID
  26131. in: query
  26132. name: hedgeditemid
  26133. required: true
  26134. type: integer
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. items:
  26142. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26143. type: array
  26144. "500":
  26145. description: Internal Server Error
  26146. schema:
  26147. $ref: '#/definitions/app.Response'
  26148. security:
  26149. - ApiKeyAuth: []
  26150. summary: 期货持仓明细查询
  26151. tags:
  26152. - 企业风险管理v8
  26153. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26154. get:
  26155. parameters:
  26156. - description: 套期项目ID
  26157. in: query
  26158. name: hedgeditemid
  26159. required: true
  26160. type: integer
  26161. produces:
  26162. - application/json
  26163. responses:
  26164. "200":
  26165. description: OK
  26166. schema:
  26167. items:
  26168. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26169. type: array
  26170. "500":
  26171. description: Internal Server Error
  26172. schema:
  26173. $ref: '#/definitions/app.Response'
  26174. security:
  26175. - ApiKeyAuth: []
  26176. summary: 期货成交单明细查询
  26177. tags:
  26178. - 企业风险管理v8
  26179. /Ermcp8/QueryErmcp2AreaExposure:
  26180. get:
  26181. parameters:
  26182. - description: 用户ID
  26183. in: query
  26184. name: userid
  26185. required: true
  26186. type: string
  26187. produces:
  26188. - application/json
  26189. responses:
  26190. "200":
  26191. description: OK
  26192. schema:
  26193. items:
  26194. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26195. type: array
  26196. "500":
  26197. description: Internal Server Error
  26198. schema:
  26199. $ref: '#/definitions/app.Response'
  26200. security:
  26201. - ApiKeyAuth: []
  26202. summary: 企业敞口查询
  26203. tags:
  26204. - 企业风险管理v8
  26205. /Ermcp8/QueryErmcp2HedgedItem:
  26206. get:
  26207. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26208. parameters:
  26209. - description: 用户ID
  26210. in: query
  26211. name: userid
  26212. required: true
  26213. type: string
  26214. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26215. in: query
  26216. name: hedgedtype
  26217. type: integer
  26218. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26219. in: query
  26220. name: hedgeditemstatus
  26221. type: integer
  26222. produces:
  26223. - application/json
  26224. responses:
  26225. "200":
  26226. description: OK
  26227. schema:
  26228. items:
  26229. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26230. type: array
  26231. "500":
  26232. description: Internal Server Error
  26233. schema:
  26234. $ref: '#/definitions/app.Response'
  26235. security:
  26236. - ApiKeyAuth: []
  26237. summary: 查询被套期项目信息
  26238. tags:
  26239. - 企业风险管理v8
  26240. /Ermcp8/QueryErmcp2HedgedItemLink:
  26241. get:
  26242. parameters:
  26243. - description: 现货合同ID
  26244. in: query
  26245. name: spotcontractid
  26246. required: true
  26247. type: integer
  26248. produces:
  26249. - application/json
  26250. responses:
  26251. "200":
  26252. description: OK
  26253. schema:
  26254. items:
  26255. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26256. type: array
  26257. "500":
  26258. description: Internal Server Error
  26259. schema:
  26260. $ref: '#/definitions/app.Response'
  26261. security:
  26262. - ApiKeyAuth: []
  26263. summary: 现货合同关联被套期项目查询
  26264. tags:
  26265. - 企业风险管理v8
  26266. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26267. get:
  26268. parameters:
  26269. - description: 用户ID
  26270. in: query
  26271. name: userid
  26272. required: true
  26273. type: integer
  26274. - description: 套保品种ID
  26275. in: query
  26276. name: middlegoodsid
  26277. required: true
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. items:
  26286. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26287. type: array
  26288. "500":
  26289. description: Internal Server Error
  26290. schema:
  26291. $ref: '#/definitions/app.Response'
  26292. security:
  26293. - ApiKeyAuth: []
  26294. summary: 敞口明细 - 计划变动明细
  26295. tags:
  26296. - 企业风险管理v8
  26297. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26298. get:
  26299. parameters:
  26300. - description: 用户ID
  26301. in: query
  26302. name: userid
  26303. required: true
  26304. type: integer
  26305. - description: 套保品种ID
  26306. in: query
  26307. name: middlegoodsid
  26308. required: true
  26309. type: integer
  26310. produces:
  26311. - application/json
  26312. responses:
  26313. "200":
  26314. description: OK
  26315. schema:
  26316. items:
  26317. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26318. type: array
  26319. "500":
  26320. description: Internal Server Error
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. security:
  26324. - ApiKeyAuth: []
  26325. summary: 敞口明细 - 现货变动明细查询
  26326. tags:
  26327. - 企业风险管理v8
  26328. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26329. get:
  26330. parameters:
  26331. - description: 用户ID
  26332. in: query
  26333. name: userid
  26334. required: true
  26335. type: integer
  26336. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26337. in: query
  26338. name: spottype
  26339. required: true
  26340. type: integer
  26341. - description: 现货商品ID
  26342. in: query
  26343. name: wrstandardid
  26344. type: integer
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. items:
  26352. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26353. type: array
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. security:
  26359. - ApiKeyAuth: []
  26360. summary: 可关联项目查询
  26361. tags:
  26362. - 企业风险管理v8
  26363. /Ermcp8/QueryErmcp8HedgeditemReport:
  26364. get:
  26365. parameters:
  26366. - description: 用户ID
  26367. in: query
  26368. name: userid
  26369. required: true
  26370. type: integer
  26371. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26372. in: query
  26373. name: cycletype
  26374. type: integer
  26375. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26376. 全(0)【原值】
  26377. in: query
  26378. name: cycletime
  26379. required: true
  26380. type: string
  26381. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26382. in: query
  26383. name: hedgedtype
  26384. type: integer
  26385. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26386. in: query
  26387. name: hedgeditemstatus
  26388. type: integer
  26389. - description: 项目编号,模糊查询
  26390. in: query
  26391. name: hedgeditemnum
  26392. type: string
  26393. - description: 现货商品ID
  26394. in: query
  26395. name: wrstandardid
  26396. type: integer
  26397. produces:
  26398. - application/json
  26399. responses:
  26400. "200":
  26401. description: OK
  26402. schema:
  26403. items:
  26404. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26405. type: array
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 套期项目报表查询
  26413. tags:
  26414. - 企业风险管理v8
  26415. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26416. get:
  26417. parameters:
  26418. - description: 用户ID
  26419. in: query
  26420. name: userid
  26421. required: true
  26422. type: string
  26423. produces:
  26424. - application/json
  26425. responses:
  26426. "200":
  26427. description: OK
  26428. schema:
  26429. items:
  26430. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26431. type: array
  26432. "500":
  26433. description: Internal Server Error
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. security:
  26437. - ApiKeyAuth: []
  26438. summary: 查询执行中项目查询信息
  26439. tags:
  26440. - 企业风险管理v8
  26441. /Ermcp8/QueryInternalEnableTradeDetail:
  26442. get:
  26443. parameters:
  26444. - description: 企业ID
  26445. in: query
  26446. name: areauserid
  26447. required: true
  26448. type: integer
  26449. - description: 期货合约ID
  26450. in: query
  26451. name: goodsid
  26452. required: true
  26453. type: integer
  26454. - description: 交易用户ID
  26455. in: query
  26456. name: tradeuserid
  26457. required: true
  26458. type: integer
  26459. produces:
  26460. - application/json
  26461. responses:
  26462. "200":
  26463. description: OK
  26464. schema:
  26465. items:
  26466. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26467. type: array
  26468. "500":
  26469. description: Internal Server Error
  26470. schema:
  26471. $ref: '#/definitions/app.Response'
  26472. security:
  26473. - ApiKeyAuth: []
  26474. summary: 内部成交单可关联项目查询
  26475. tags:
  26476. - 企业风险管理v8
  26477. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26478. get:
  26479. parameters:
  26480. - description: 用户编号
  26481. in: query
  26482. name: userid
  26483. required: true
  26484. type: integer
  26485. - description: 起始日期(格式yyyymmdd)
  26486. in: query
  26487. name: begindate
  26488. type: string
  26489. - description: 终止日期(格式yyyymmdd)
  26490. in: query
  26491. name: enddate
  26492. type: string
  26493. - description: 合约代码
  26494. in: query
  26495. name: goodscode
  26496. type: string
  26497. - description: 合约名称
  26498. in: query
  26499. name: goodsname
  26500. type: string
  26501. - description: 成交单号
  26502. in: query
  26503. name: tradeid
  26504. type: integer
  26505. - description: 方向 - 0:买 1:卖
  26506. in: query
  26507. name: buyorsell
  26508. type: integer
  26509. - description: 套期主体
  26510. in: query
  26511. name: accountname
  26512. type: string
  26513. produces:
  26514. - application/json
  26515. responses:
  26516. "200":
  26517. description: OK
  26518. schema:
  26519. items:
  26520. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26521. type: array
  26522. "500":
  26523. description: Internal Server Error
  26524. schema:
  26525. $ref: '#/definitions/app.Response'
  26526. security:
  26527. - ApiKeyAuth: []
  26528. summary: 内部未关联成交单查询
  26529. tags:
  26530. - 企业风险管理v8
  26531. /Ermcp8/QueryMarketCalendar:
  26532. get:
  26533. parameters:
  26534. - description: 市场ID
  26535. in: query
  26536. name: marketid
  26537. type: integer
  26538. produces:
  26539. - application/json
  26540. responses:
  26541. "200":
  26542. description: OK
  26543. schema:
  26544. items:
  26545. $ref: '#/definitions/models.Marketcalendar'
  26546. type: array
  26547. "500":
  26548. description: Internal Server Error
  26549. schema:
  26550. $ref: '#/definitions/app.Response'
  26551. security:
  26552. - ApiKeyAuth: []
  26553. summary: 市场节假日查询
  26554. tags:
  26555. - 企业风险管理v8
  26556. /Ermcp8/QueryPatradeLinkDetail:
  26557. get:
  26558. parameters:
  26559. - description: 用户ID
  26560. in: query
  26561. name: userid
  26562. required: true
  26563. type: integer
  26564. - description: 套保品种ID
  26565. in: query
  26566. name: middlegoodsid
  26567. required: true
  26568. type: integer
  26569. produces:
  26570. - application/json
  26571. responses:
  26572. "200":
  26573. description: OK
  26574. schema:
  26575. items:
  26576. $ref: '#/definitions/models.Patradelinkdetail'
  26577. type: array
  26578. "500":
  26579. description: Internal Server Error
  26580. schema:
  26581. $ref: '#/definitions/app.Response'
  26582. security:
  26583. - ApiKeyAuth: []
  26584. summary: 敞口明细 - 期货变动明细
  26585. tags:
  26586. - 企业风险管理v8
  26587. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26588. get:
  26589. parameters:
  26590. - description: 企业ID
  26591. in: query
  26592. name: areauserid
  26593. required: true
  26594. type: integer
  26595. - description: 计划类型 - 1:采购 -1:销售
  26596. in: query
  26597. name: contracttype
  26598. type: integer
  26599. - description: 计划编号,模糊查询
  26600. in: query
  26601. name: hedgeplanno
  26602. type: string
  26603. - description: 现货商品,模糊查询
  26604. in: query
  26605. name: wrstandardname
  26606. type: string
  26607. produces:
  26608. - application/json
  26609. responses:
  26610. "200":
  26611. description: OK
  26612. schema:
  26613. items:
  26614. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26615. type: array
  26616. "500":
  26617. description: Internal Server Error
  26618. schema:
  26619. $ref: '#/definitions/app.Response'
  26620. security:
  26621. - ApiKeyAuth: []
  26622. summary: 未关联购销计划
  26623. tags:
  26624. - 企业风险管理v8
  26625. /Ermcp8/QueryUnLinkSpotContract:
  26626. get:
  26627. parameters:
  26628. - description: 用户ID
  26629. in: query
  26630. name: userid
  26631. required: true
  26632. type: integer
  26633. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26634. in: query
  26635. name: pricetype
  26636. type: integer
  26637. - description: 合同编号, 模拟查询
  26638. in: query
  26639. name: contractno
  26640. type: string
  26641. - description: 对手方, 模拟查询
  26642. in: query
  26643. name: customername
  26644. type: string
  26645. - description: 项合同类型 - 1:采购 -1:销售
  26646. in: query
  26647. name: contracttype
  26648. type: integer
  26649. produces:
  26650. - application/json
  26651. responses:
  26652. "200":
  26653. description: OK
  26654. schema:
  26655. items:
  26656. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26657. type: array
  26658. "500":
  26659. description: Internal Server Error
  26660. schema:
  26661. $ref: '#/definitions/app.Response'
  26662. security:
  26663. - ApiKeyAuth: []
  26664. summary: 未关联合同查询
  26665. tags:
  26666. - 企业风险管理v8
  26667. /Erms2/QueryArbitrageStrategy:
  26668. get:
  26669. parameters:
  26670. - description: 账户ID
  26671. in: query
  26672. name: userid
  26673. required: true
  26674. type: integer
  26675. - description: 商品组ID(品种ID)
  26676. in: query
  26677. name: goodsgroupid
  26678. type: string
  26679. produces:
  26680. - application/json
  26681. responses:
  26682. "200":
  26683. description: OK
  26684. schema:
  26685. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26686. "500":
  26687. description: Internal Server Error
  26688. schema:
  26689. $ref: '#/definitions/app.Response'
  26690. security:
  26691. - ApiKeyAuth: []
  26692. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26693. tags:
  26694. - 风险管理
  26695. /Erms2/QueryInnerTradeDetail:
  26696. get:
  26697. parameters:
  26698. - description: 资金账户
  26699. in: query
  26700. name: accountid
  26701. required: true
  26702. type: integer
  26703. produces:
  26704. - application/json
  26705. responses:
  26706. "200":
  26707. description: OK
  26708. schema:
  26709. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26710. "500":
  26711. description: Internal Server Error
  26712. schema:
  26713. $ref: '#/definitions/app.Response'
  26714. security:
  26715. - ApiKeyAuth: []
  26716. summary: 查询内部成交单信息
  26717. tags:
  26718. - 风险管理
  26719. /Erms2/QuerySpotContract:
  26720. get:
  26721. parameters:
  26722. - description: 策略申请ID
  26723. in: query
  26724. name: asapplyid
  26725. required: true
  26726. type: integer
  26727. - description: 现货合同ID
  26728. in: query
  26729. name: spotcontractid
  26730. type: integer
  26731. produces:
  26732. - application/json
  26733. responses:
  26734. "200":
  26735. description: OK
  26736. schema:
  26737. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26738. "500":
  26739. description: Internal Server Error
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. security:
  26743. - ApiKeyAuth: []
  26744. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26745. tags:
  26746. - 风险管理
  26747. /Erms3/AddErms2ASApply:
  26748. post:
  26749. parameters:
  26750. - description: 申请参数
  26751. in: body
  26752. name: jsonBody
  26753. required: true
  26754. schema:
  26755. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. $ref: '#/definitions/app.Response'
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 新增期现套利业务申请
  26770. tags:
  26771. - 风险管理v3
  26772. /Erms3/AddErms2SpotTradeApply:
  26773. post:
  26774. parameters:
  26775. - description: 申请参数
  26776. in: body
  26777. name: jsonBody
  26778. required: true
  26779. schema:
  26780. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26781. produces:
  26782. - application/json
  26783. responses:
  26784. "200":
  26785. description: OK
  26786. schema:
  26787. $ref: '#/definitions/app.Response'
  26788. "500":
  26789. description: Internal Server Error
  26790. schema:
  26791. $ref: '#/definitions/app.Response'
  26792. security:
  26793. - ApiKeyAuth: []
  26794. summary: 新增现货贸易业务申请
  26795. tags:
  26796. - 风险管理v3
  26797. /Erms3/AddSpotContractApply:
  26798. post:
  26799. parameters:
  26800. - description: 申请参数
  26801. in: body
  26802. name: jsonBody
  26803. required: true
  26804. schema:
  26805. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26806. produces:
  26807. - application/json
  26808. responses:
  26809. "200":
  26810. description: OK
  26811. schema:
  26812. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26813. "500":
  26814. description: Internal Server Error
  26815. schema:
  26816. $ref: '#/definitions/app.Response'
  26817. security:
  26818. - ApiKeyAuth: []
  26819. summary: 新增现货合同申请
  26820. tags:
  26821. - 风险管理v3
  26822. /Erms3/AddUserInfoApply:
  26823. post:
  26824. parameters:
  26825. - description: 用户信息
  26826. in: body
  26827. name: jsonBody
  26828. required: true
  26829. schema:
  26830. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26831. produces:
  26832. - application/json
  26833. responses:
  26834. "200":
  26835. description: OK
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. "500":
  26839. description: Internal Server Error
  26840. schema:
  26841. $ref: '#/definitions/app.Response'
  26842. security:
  26843. - ApiKeyAuth: []
  26844. summary: 新增客户申请
  26845. tags:
  26846. - 风险管理v3
  26847. /Erms3/DeleteUserInfoApply:
  26848. get:
  26849. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26850. parameters:
  26851. - description: 用户ID
  26852. in: query
  26853. name: userID
  26854. required: true
  26855. type: integer
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. $ref: '#/definitions/app.Response'
  26863. "500":
  26864. description: Internal Server Error
  26865. schema:
  26866. $ref: '#/definitions/app.Response'
  26867. security:
  26868. - ApiKeyAuth: []
  26869. summary: 删除客户申请
  26870. tags:
  26871. - 风险管理v3
  26872. /Erms3/ModifyUserInfoApply:
  26873. post:
  26874. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26875. int, "userstate": 2 }'
  26876. parameters:
  26877. - description: 用户信息
  26878. in: body
  26879. name: jsonBody
  26880. required: true
  26881. schema:
  26882. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26883. produces:
  26884. - application/json
  26885. responses:
  26886. "200":
  26887. description: OK
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. "500":
  26891. description: Internal Server Error
  26892. schema:
  26893. $ref: '#/definitions/app.Response'
  26894. security:
  26895. - ApiKeyAuth: []
  26896. summary: 修改客户申请
  26897. tags:
  26898. - 风险管理v3
  26899. /Erms3/QueryBusinessInfo:
  26900. get:
  26901. parameters:
  26902. - description: 资金账号ID列表,用逗号分隔
  26903. in: query
  26904. name: accountids
  26905. required: true
  26906. type: string
  26907. - description: 状态,0为未结束 1为已结束
  26908. in: query
  26909. name: status
  26910. required: true
  26911. type: integer
  26912. produces:
  26913. - application/json
  26914. responses:
  26915. "200":
  26916. description: OK
  26917. schema:
  26918. items:
  26919. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26920. type: array
  26921. "500":
  26922. description: Internal Server Error
  26923. schema:
  26924. $ref: '#/definitions/app.Response'
  26925. security:
  26926. - ApiKeyAuth: []
  26927. summary: 查询业务表单数据
  26928. tags:
  26929. - 风险管理v3
  26930. /Erms3/QueryPendingAuditContract:
  26931. get:
  26932. parameters:
  26933. - description: 资金账号ID列表,逗号隔开
  26934. in: query
  26935. name: accountids
  26936. required: true
  26937. type: string
  26938. - description: 合同类型 1-采购 -1-销售
  26939. in: query
  26940. name: contracttype
  26941. required: true
  26942. type: integer
  26943. - description: 合同模式 1-普通 2-回购
  26944. in: query
  26945. name: contractmode
  26946. required: true
  26947. type: integer
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. items:
  26955. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26956. type: array
  26957. "500":
  26958. description: Internal Server Error
  26959. schema:
  26960. $ref: '#/definitions/app.Response'
  26961. security:
  26962. - ApiKeyAuth: []
  26963. summary: 查询待审核合同
  26964. tags:
  26965. - 风险管理v3
  26966. /Erms3/QueryPendingBusiness:
  26967. get:
  26968. parameters:
  26969. - description: 资金账号ID列表,逗号隔开
  26970. in: query
  26971. name: accountids
  26972. required: true
  26973. type: string
  26974. produces:
  26975. - application/json
  26976. responses:
  26977. "200":
  26978. description: OK
  26979. schema:
  26980. items:
  26981. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26982. type: array
  26983. "500":
  26984. description: Internal Server Error
  26985. schema:
  26986. $ref: '#/definitions/app.Response'
  26987. security:
  26988. - ApiKeyAuth: []
  26989. summary: 查询待审核基差贸易业务
  26990. tags:
  26991. - 风险管理v3
  26992. /Erms3/QuerySpotContractAppleForm:
  26993. get:
  26994. parameters:
  26995. - description: 登录账号
  26996. in: query
  26997. name: loginID
  26998. required: true
  26999. type: integer
  27000. produces:
  27001. - application/json
  27002. responses:
  27003. "200":
  27004. description: OK
  27005. schema:
  27006. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27007. "500":
  27008. description: Internal Server Error
  27009. schema:
  27010. $ref: '#/definitions/app.Response'
  27011. security:
  27012. - ApiKeyAuth: []
  27013. summary: 查询合同申请表单数据
  27014. tags:
  27015. - 风险管理v3
  27016. /Erms3/QuerySpotContractDetail:
  27017. get:
  27018. parameters:
  27019. - description: 资金账号ID列表,用逗号分隔
  27020. in: query
  27021. name: accountids
  27022. required: true
  27023. type: string
  27024. - description: 合同类型,1为采购合同 -1为销售合同
  27025. in: query
  27026. name: contracttype
  27027. required: true
  27028. type: integer
  27029. - description: 合同模式,1为普通合同 2为回购销售合同
  27030. in: query
  27031. name: contractmode
  27032. required: true
  27033. type: integer
  27034. - description: 状态,0为履约中 1为已完成
  27035. in: query
  27036. name: status
  27037. required: true
  27038. type: integer
  27039. produces:
  27040. - application/json
  27041. responses:
  27042. "200":
  27043. description: OK
  27044. schema:
  27045. items:
  27046. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27047. type: array
  27048. "500":
  27049. description: Internal Server Error
  27050. schema:
  27051. $ref: '#/definitions/app.Response'
  27052. security:
  27053. - ApiKeyAuth: []
  27054. summary: 查询合同详细信息
  27055. tags:
  27056. - 风险管理v3
  27057. /Erms3/QueryUserInfoApplies:
  27058. get:
  27059. parameters:
  27060. - description: 页码
  27061. in: query
  27062. name: page
  27063. type: integer
  27064. - description: 每页条数
  27065. in: query
  27066. name: pagesize
  27067. type: integer
  27068. - description: 客户名称,支持模糊查询
  27069. in: query
  27070. name: userName
  27071. type: string
  27072. produces:
  27073. - application/json
  27074. responses:
  27075. "200":
  27076. description: OK
  27077. schema:
  27078. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27079. "500":
  27080. description: Internal Server Error
  27081. schema:
  27082. $ref: '#/definitions/app.Response'
  27083. security:
  27084. - ApiKeyAuth: []
  27085. summary: 客户申请信息查询
  27086. tags:
  27087. - 风险管理v3
  27088. /Erms3/QueryUserInfos:
  27089. get:
  27090. parameters:
  27091. - description: 页码
  27092. in: query
  27093. name: page
  27094. type: integer
  27095. - description: 每页条数
  27096. in: query
  27097. name: pagesize
  27098. type: integer
  27099. - description: 客户名称,支持模糊查询
  27100. in: query
  27101. name: userName
  27102. type: string
  27103. produces:
  27104. - application/json
  27105. responses:
  27106. "200":
  27107. description: OK
  27108. schema:
  27109. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27110. "500":
  27111. description: Internal Server Error
  27112. schema:
  27113. $ref: '#/definitions/app.Response'
  27114. security:
  27115. - ApiKeyAuth: []
  27116. summary: 客户信息查询
  27117. tags:
  27118. - 风险管理v3
  27119. /Guangzuan/GetGoods:
  27120. get:
  27121. parameters:
  27122. - description: 商品编号
  27123. in: query
  27124. name: goodsno
  27125. required: true
  27126. type: string
  27127. produces:
  27128. - application/json
  27129. responses:
  27130. "200":
  27131. description: OK
  27132. schema:
  27133. $ref: '#/definitions/models.GZGoods'
  27134. "500":
  27135. description: Internal Server Error
  27136. schema:
  27137. $ref: '#/definitions/app.Response'
  27138. security:
  27139. - ApiKeyAuth: []
  27140. - LoginID: []
  27141. - Group: []
  27142. summary: 获取钻石详情
  27143. tags:
  27144. - 广钻
  27145. /Guangzuan/QueryBuyOrder:
  27146. get:
  27147. parameters:
  27148. - description: 页码
  27149. in: query
  27150. name: page
  27151. type: integer
  27152. - description: 每页条数
  27153. in: query
  27154. name: pagesize
  27155. type: integer
  27156. - description: 商品(查询字段-模糊查询)
  27157. in: query
  27158. name: zsallproperties
  27159. type: string
  27160. - description: 钻石分类, 格式:1,2,3
  27161. in: query
  27162. name: zscategorys
  27163. type: string
  27164. - description: 委托单号
  27165. in: query
  27166. name: wrtradeorderid
  27167. type: integer
  27168. - description: 买方(查询字段-模糊查询)
  27169. in: query
  27170. name: buyusername
  27171. type: string
  27172. produces:
  27173. - application/json
  27174. responses:
  27175. "200":
  27176. description: OK
  27177. schema:
  27178. items:
  27179. $ref: '#/definitions/models.BuyOrder'
  27180. type: array
  27181. "500":
  27182. description: Internal Server Error
  27183. schema:
  27184. $ref: '#/definitions/app.Response'
  27185. security:
  27186. - ApiKeyAuth: []
  27187. - LoginID: []
  27188. - Group: []
  27189. summary: 查询求购大厅委托单
  27190. tags:
  27191. - 广钻
  27192. /Guangzuan/QueryDiamond:
  27193. post:
  27194. parameters:
  27195. - description: 钻石搜索入参
  27196. in: body
  27197. name: data
  27198. required: true
  27199. schema:
  27200. $ref: '#/definitions/models.SellOrderQueryReq'
  27201. produces:
  27202. - application/json
  27203. responses:
  27204. "200":
  27205. description: OK
  27206. schema:
  27207. items:
  27208. $ref: '#/definitions/models.SellOrder'
  27209. type: array
  27210. "500":
  27211. description: Internal Server Error
  27212. schema:
  27213. $ref: '#/definitions/app.Response'
  27214. security:
  27215. - ApiKeyAuth: []
  27216. - LoginID: []
  27217. - Group: []
  27218. summary: 钻石搜索
  27219. tags:
  27220. - 广钻
  27221. /Guangzuan/QueryMyBargainApply:
  27222. get:
  27223. parameters:
  27224. - description: 用户ID
  27225. in: query
  27226. name: userid
  27227. required: true
  27228. type: integer
  27229. - description: 页码
  27230. in: query
  27231. name: page
  27232. type: integer
  27233. - description: 每页条数
  27234. in: query
  27235. name: pagesize
  27236. type: integer
  27237. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27238. in: query
  27239. name: applystatus
  27240. type: integer
  27241. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27242. in: query
  27243. name: type
  27244. type: integer
  27245. - description: 关联委托单ID
  27246. in: query
  27247. name: wrtradeorderid
  27248. type: string
  27249. produces:
  27250. - application/json
  27251. responses:
  27252. "200":
  27253. description: OK
  27254. schema:
  27255. items:
  27256. $ref: '#/definitions/models.MyBargainApply'
  27257. type: array
  27258. "500":
  27259. description: Internal Server Error
  27260. schema:
  27261. $ref: '#/definitions/app.Response'
  27262. security:
  27263. - ApiKeyAuth: []
  27264. - LoginID: []
  27265. - Group: []
  27266. summary: 查询询价-求购
  27267. tags:
  27268. - 广钻
  27269. /Guangzuan/QueryMyBuyOrder:
  27270. get:
  27271. parameters:
  27272. - description: 用户ID
  27273. in: query
  27274. name: userid
  27275. required: true
  27276. type: integer
  27277. - description: 页码
  27278. in: query
  27279. name: page
  27280. type: integer
  27281. - description: 每页条数
  27282. in: query
  27283. name: pagesize
  27284. type: integer
  27285. - description: 商品(查询字段-模糊查询)
  27286. in: query
  27287. name: zsallproperties
  27288. type: string
  27289. - description: 钻石分类, 格式:1,2,3
  27290. in: query
  27291. name: zscategorys
  27292. type: string
  27293. - description: 委托单号
  27294. in: query
  27295. name: wrtradeorderid
  27296. type: integer
  27297. - description: 是否历史查询
  27298. in: query
  27299. name: ishis
  27300. type: boolean
  27301. - description: 开始交易日(yyyymmdd)
  27302. in: query
  27303. name: begindate
  27304. type: string
  27305. - description: 结束交易日(yyyymmdd)
  27306. in: query
  27307. name: enddate
  27308. type: string
  27309. produces:
  27310. - application/json
  27311. responses:
  27312. "200":
  27313. description: OK
  27314. schema:
  27315. items:
  27316. $ref: '#/definitions/models.MyBuyOrder'
  27317. type: array
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. - LoginID: []
  27325. - Group: []
  27326. summary: 查询我的求购
  27327. tags:
  27328. - 广钻
  27329. /Guangzuan/QueryMyDeListing:
  27330. get:
  27331. parameters:
  27332. - description: 用户ID
  27333. in: query
  27334. name: userid
  27335. required: true
  27336. type: integer
  27337. - description: 页码
  27338. in: query
  27339. name: page
  27340. type: integer
  27341. - description: 每页条数
  27342. in: query
  27343. name: pagesize
  27344. type: integer
  27345. - description: 商品(查询字段-模糊查询)
  27346. in: query
  27347. name: zsallproperties
  27348. type: string
  27349. - description: 钻石分类, 格式:1,2,3
  27350. in: query
  27351. name: zscategorys
  27352. type: string
  27353. - description: 成交单号
  27354. in: query
  27355. name: wrtradedetailid
  27356. type: integer
  27357. - description: 方向,0-购买 1-出售
  27358. in: query
  27359. name: buyorsell
  27360. type: integer
  27361. - description: 对手方(模糊匹配)
  27362. in: query
  27363. name: matchusername
  27364. type: string
  27365. - description: 开始交易日(yyyymmdd)
  27366. in: query
  27367. name: begindate
  27368. type: string
  27369. - description: 结束交易日(yyyymmdd)
  27370. in: query
  27371. name: enddate
  27372. type: string
  27373. produces:
  27374. - application/json
  27375. responses:
  27376. "200":
  27377. description: OK
  27378. schema:
  27379. items:
  27380. $ref: '#/definitions/models.MyDeListing'
  27381. type: array
  27382. "500":
  27383. description: Internal Server Error
  27384. schema:
  27385. $ref: '#/definitions/app.Response'
  27386. security:
  27387. - ApiKeyAuth: []
  27388. - LoginID: []
  27389. - Group: []
  27390. summary: 查询我的摘牌
  27391. tags:
  27392. - 广钻
  27393. /Guangzuan/QueryMyDelistingApply:
  27394. get:
  27395. parameters:
  27396. - description: 用户ID
  27397. in: query
  27398. name: userid
  27399. required: true
  27400. type: integer
  27401. - description: 页码
  27402. in: query
  27403. name: page
  27404. type: integer
  27405. - description: 每页条数
  27406. in: query
  27407. name: pagesize
  27408. type: integer
  27409. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27410. in: query
  27411. name: applystatus
  27412. type: integer
  27413. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27414. in: query
  27415. name: type
  27416. type: integer
  27417. - description: 买委托单ID
  27418. in: query
  27419. name: buywrtradeorderid
  27420. type: string
  27421. produces:
  27422. - application/json
  27423. responses:
  27424. "200":
  27425. description: OK
  27426. schema:
  27427. items:
  27428. $ref: '#/definitions/models.MyDelistingApply'
  27429. type: array
  27430. "500":
  27431. description: Internal Server Error
  27432. schema:
  27433. $ref: '#/definitions/app.Response'
  27434. security:
  27435. - ApiKeyAuth: []
  27436. - LoginID: []
  27437. - Group: []
  27438. summary: 查询询价-出售
  27439. tags:
  27440. - 广钻
  27441. /Guangzuan/QueryMyFavorite:
  27442. get:
  27443. parameters:
  27444. - description: 用户ID
  27445. in: query
  27446. name: userid
  27447. required: true
  27448. type: integer
  27449. - description: 页码
  27450. in: query
  27451. name: page
  27452. type: integer
  27453. - description: 每页条数
  27454. in: query
  27455. name: pagesize
  27456. type: integer
  27457. - description: 钻石分类, 格式:1,2,3
  27458. in: query
  27459. name: zscategorys
  27460. type: string
  27461. produces:
  27462. - application/json
  27463. responses:
  27464. "200":
  27465. description: OK
  27466. schema:
  27467. items:
  27468. $ref: '#/definitions/models.MyFavorite'
  27469. type: array
  27470. "500":
  27471. description: Internal Server Error
  27472. schema:
  27473. $ref: '#/definitions/app.Response'
  27474. security:
  27475. - ApiKeyAuth: []
  27476. - LoginID: []
  27477. - Group: []
  27478. summary: 查询我的收藏
  27479. tags:
  27480. - 广钻
  27481. /Guangzuan/QueryMyPerformanc:
  27482. get:
  27483. parameters:
  27484. - description: 用户ID
  27485. in: query
  27486. name: userid
  27487. required: true
  27488. type: integer
  27489. - description: 页码
  27490. in: query
  27491. name: page
  27492. type: integer
  27493. - description: 每页条数
  27494. in: query
  27495. name: pagesize
  27496. type: integer
  27497. - description: 商品(查询字段-模糊查询)
  27498. in: query
  27499. name: zsallproperties
  27500. type: string
  27501. - description: 方向,0-买 1-卖
  27502. in: query
  27503. name: buyorsell
  27504. type: integer
  27505. - description: 是否历史查询
  27506. in: query
  27507. name: ishis
  27508. type: boolean
  27509. - description: 开始交易日(yyyymmdd)
  27510. in: query
  27511. name: begindate
  27512. type: string
  27513. - description: 结束交易日(yyyymmdd)
  27514. in: query
  27515. name: enddate
  27516. type: string
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. items:
  27524. $ref: '#/definitions/models.MyPerformanc'
  27525. type: array
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. - LoginID: []
  27533. - Group: []
  27534. summary: 查询我的履约
  27535. tags:
  27536. - 广钻
  27537. /Guangzuan/QueryMySellOrder:
  27538. get:
  27539. parameters:
  27540. - description: 用户ID
  27541. in: query
  27542. name: userid
  27543. required: true
  27544. type: integer
  27545. - description: 页码
  27546. in: query
  27547. name: page
  27548. type: integer
  27549. - description: 每页条数
  27550. in: query
  27551. name: pagesize
  27552. type: integer
  27553. - description: 商品(查询字段-模糊查询)
  27554. in: query
  27555. name: zsallproperties
  27556. type: string
  27557. - description: 钻石分类, 格式:1,2,3
  27558. in: query
  27559. name: zscategorys
  27560. type: string
  27561. - description: 委托单号
  27562. in: query
  27563. name: wrtradeorderid
  27564. type: integer
  27565. - description: 是否历史查询
  27566. in: query
  27567. name: ishis
  27568. type: boolean
  27569. - description: 开始交易日(yyyymmdd)
  27570. in: query
  27571. name: begindate
  27572. type: string
  27573. - description: 结束交易日(yyyymmdd)
  27574. in: query
  27575. name: enddate
  27576. type: string
  27577. produces:
  27578. - application/json
  27579. responses:
  27580. "200":
  27581. description: OK
  27582. schema:
  27583. items:
  27584. $ref: '#/definitions/models.MySellOrder'
  27585. type: array
  27586. "500":
  27587. description: Internal Server Error
  27588. schema:
  27589. $ref: '#/definitions/app.Response'
  27590. security:
  27591. - ApiKeyAuth: []
  27592. - LoginID: []
  27593. - Group: []
  27594. summary: 查询我的出售
  27595. tags:
  27596. - 广钻
  27597. /Guangzuan/QueryMyWRPosition:
  27598. get:
  27599. parameters:
  27600. - description: 页码
  27601. in: query
  27602. name: page
  27603. type: integer
  27604. - description: 每页条数
  27605. in: query
  27606. name: pagesize
  27607. type: integer
  27608. - description: 登录用户ID
  27609. in: query
  27610. name: wruserid
  27611. required: true
  27612. type: integer
  27613. - description: 商品(查询字段-模糊查询)
  27614. in: query
  27615. name: zsallproperties
  27616. type: string
  27617. - description: 钻石分类, 格式:1,2,3
  27618. in: query
  27619. name: zscategorys
  27620. type: string
  27621. - description: 仓库ID
  27622. in: query
  27623. name: warehouseid
  27624. type: integer
  27625. - description: 是否上架,0-全部 1-是 2-否
  27626. in: query
  27627. name: marketflag
  27628. type: integer
  27629. produces:
  27630. - application/json
  27631. responses:
  27632. "200":
  27633. description: OK
  27634. schema:
  27635. items:
  27636. $ref: '#/definitions/models.MyWRPosition'
  27637. type: array
  27638. "500":
  27639. description: Internal Server Error
  27640. schema:
  27641. $ref: '#/definitions/app.Response'
  27642. security:
  27643. - ApiKeyAuth: []
  27644. - LoginID: []
  27645. - Group: []
  27646. summary: 查询我的库存
  27647. tags:
  27648. - 广钻
  27649. /Guangzuan/QuerySellOrder:
  27650. get:
  27651. parameters:
  27652. - description: 页码
  27653. in: query
  27654. name: page
  27655. type: integer
  27656. - description: 每页条数
  27657. in: query
  27658. name: pagesize
  27659. type: integer
  27660. - description: 商品(查询字段-模糊查询)
  27661. in: query
  27662. name: zsallproperties
  27663. type: string
  27664. - description: 钻石分类, 格式:1,2,3
  27665. in: query
  27666. name: zscategorys
  27667. type: string
  27668. - description: 委托单号
  27669. in: query
  27670. name: wrtradeorderid
  27671. type: integer
  27672. - description: 卖方(查询字段-模糊查询)
  27673. in: query
  27674. name: buyusername
  27675. type: string
  27676. produces:
  27677. - application/json
  27678. responses:
  27679. "200":
  27680. description: OK
  27681. schema:
  27682. items:
  27683. $ref: '#/definitions/models.SellOrder'
  27684. type: array
  27685. "500":
  27686. description: Internal Server Error
  27687. schema:
  27688. $ref: '#/definitions/app.Response'
  27689. security:
  27690. - ApiKeyAuth: []
  27691. - LoginID: []
  27692. - Group: []
  27693. summary: 查询出售大厅委托单
  27694. tags:
  27695. - 广钻
  27696. /Guangzuan/QueryWarehouseInfo:
  27697. get:
  27698. parameters:
  27699. - description: 页码
  27700. in: query
  27701. name: page
  27702. type: integer
  27703. - description: 每页条数
  27704. in: query
  27705. name: pagesize
  27706. type: integer
  27707. - description: 用户ID
  27708. in: query
  27709. name: userid
  27710. required: true
  27711. type: integer
  27712. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27713. in: query
  27714. name: status
  27715. type: string
  27716. - description: 是返回交易所仓库
  27717. in: query
  27718. name: isincludeexchange
  27719. type: boolean
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/models.GZWarehouseinfo'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. - LoginID: []
  27736. - Group: []
  27737. summary: 查询仓库信息
  27738. tags:
  27739. - 广钻
  27740. /Market/GetAllExExchanges:
  27741. get:
  27742. produces:
  27743. - application/json
  27744. responses:
  27745. "200":
  27746. description: OK
  27747. schema:
  27748. $ref: '#/definitions/models.Goods'
  27749. "500":
  27750. description: Internal Server Error
  27751. schema:
  27752. $ref: '#/definitions/app.Response'
  27753. security:
  27754. - ApiKeyAuth: []
  27755. summary: 获取所有外部交易所信息
  27756. tags:
  27757. - 通用市场
  27758. /Market/QueryGoodsesByLoginID:
  27759. get:
  27760. parameters:
  27761. - description: 登录账号
  27762. in: query
  27763. name: loginID
  27764. required: true
  27765. type: integer
  27766. - description: 市场ID列表,格式:1,2,3
  27767. in: query
  27768. name: marketIDs
  27769. type: string
  27770. produces:
  27771. - application/json
  27772. responses:
  27773. "200":
  27774. description: OK
  27775. schema:
  27776. $ref: '#/definitions/models.Goods'
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 获取登录账号有权限的商品信息
  27784. tags:
  27785. - 通用市场
  27786. /Market/QueryMarketRun:
  27787. get:
  27788. parameters:
  27789. - description: 市场ID,不传返回所有
  27790. in: query
  27791. name: marketID
  27792. type: integer
  27793. produces:
  27794. - application/json
  27795. responses:
  27796. "200":
  27797. description: OK
  27798. schema:
  27799. $ref: '#/definitions/models.Marketrun'
  27800. "500":
  27801. description: Internal Server Error
  27802. schema:
  27803. $ref: '#/definitions/app.Response'
  27804. security:
  27805. - ApiKeyAuth: []
  27806. summary: 查询市场运行信息
  27807. tags:
  27808. - 通用市场
  27809. /Market/QueryMarketsByLoginID:
  27810. get:
  27811. parameters:
  27812. - description: 登录账号
  27813. in: query
  27814. name: loginID
  27815. required: true
  27816. type: integer
  27817. produces:
  27818. - application/json
  27819. responses:
  27820. "200":
  27821. description: OK
  27822. schema:
  27823. $ref: '#/definitions/models.Market'
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 获取登录账号有权限的市场信息
  27831. tags:
  27832. - 通用市场
  27833. /Order/QueryHisTradeDetail:
  27834. get:
  27835. parameters:
  27836. - description: 资金账户 - 格式:1,2,3
  27837. in: query
  27838. name: accountID
  27839. required: true
  27840. type: string
  27841. - description: 成交单号
  27842. in: query
  27843. name: tradeID
  27844. type: integer
  27845. - description: 委托单号
  27846. in: query
  27847. name: orderID
  27848. type: integer
  27849. - description: 商品ID
  27850. in: query
  27851. name: goodsID
  27852. type: integer
  27853. - description: 交易模式 - 格式:1,2,3
  27854. in: query
  27855. name: tradeMode
  27856. type: string
  27857. - description: 委托单据类型
  27858. in: query
  27859. name: buildType
  27860. type: integer
  27861. - description: 成交类别 - 格式:1,2,3
  27862. in: query
  27863. name: tradeType
  27864. type: string
  27865. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27866. in: query
  27867. name: startDate
  27868. type: string
  27869. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27870. in: query
  27871. name: endDate
  27872. type: string
  27873. produces:
  27874. - application/json
  27875. responses:
  27876. "200":
  27877. description: OK
  27878. schema:
  27879. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27880. "500":
  27881. description: Internal Server Error
  27882. schema:
  27883. $ref: '#/definitions/app.Response'
  27884. security:
  27885. - ApiKeyAuth: []
  27886. summary: 历史成交单查询(合约市场)
  27887. tags:
  27888. - 通用单据
  27889. /Order/QueryHisTradeOrderDetail:
  27890. get:
  27891. parameters:
  27892. - description: 资金账户 - 格式:1,2,3
  27893. in: query
  27894. name: accountID
  27895. required: true
  27896. type: string
  27897. - description: 交易模式 - 格式:1,2,3
  27898. in: query
  27899. name: tradeMode
  27900. type: string
  27901. - description: 委托状态 - 格式:1,2,3
  27902. in: query
  27903. name: orderStatus
  27904. type: string
  27905. - description: 委托单号
  27906. in: query
  27907. name: orderID
  27908. type: integer
  27909. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27910. in: query
  27911. name: startDate
  27912. type: string
  27913. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27914. in: query
  27915. name: endDate
  27916. type: string
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27924. "500":
  27925. description: Internal Server Error
  27926. schema:
  27927. $ref: '#/definitions/app.Response'
  27928. security:
  27929. - ApiKeyAuth: []
  27930. summary: 历史委托单查询请求(合约市场)
  27931. tags:
  27932. - 通用单据
  27933. /Order/QueryTradeDetail:
  27934. get:
  27935. parameters:
  27936. - description: 资金账户 - 格式:1,2,3
  27937. in: query
  27938. name: accountID
  27939. required: true
  27940. type: string
  27941. - description: 成交单号
  27942. in: query
  27943. name: tradeID
  27944. type: integer
  27945. - description: 委托单号
  27946. in: query
  27947. name: orderID
  27948. type: integer
  27949. - description: 交易模式 - 格式:1,2,3
  27950. in: query
  27951. name: tradeMode
  27952. type: string
  27953. - description: 委托单据类型
  27954. in: query
  27955. name: buildType
  27956. type: integer
  27957. - description: 成交类别 - 格式:1,2,3
  27958. in: query
  27959. name: tradeType
  27960. type: string
  27961. - description: 商品ID
  27962. in: query
  27963. name: goodsID
  27964. type: integer
  27965. produces:
  27966. - application/json
  27967. responses:
  27968. "200":
  27969. description: OK
  27970. schema:
  27971. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 成交单查询(合约市场)
  27979. tags:
  27980. - 通用单据
  27981. /Order/QueryTradeHolderDetail:
  27982. get:
  27983. parameters:
  27984. - description: 用户id
  27985. in: query
  27986. name: userid
  27987. type: integer
  27988. - description: 资金账号, 格式 1,2,3
  27989. in: query
  27990. name: accids
  27991. type: string
  27992. - description: 交易模式, 格式 1,2,3
  27993. in: query
  27994. name: trademodes
  27995. type: string
  27996. - description: 市场id, 格式 1,2,3
  27997. in: query
  27998. name: marketids
  27999. type: string
  28000. - description: 商品id
  28001. in: query
  28002. name: goodsid
  28003. type: integer
  28004. - description: 买卖方向 0-买 1-卖
  28005. in: query
  28006. name: buyorsell
  28007. type: integer
  28008. produces:
  28009. - application/json
  28010. responses:
  28011. "200":
  28012. description: OK
  28013. schema:
  28014. items:
  28015. $ref: '#/definitions/models.TradeHolderDetail'
  28016. type: array
  28017. "500":
  28018. description: Internal Server Error
  28019. schema:
  28020. $ref: '#/definitions/app.Response'
  28021. security:
  28022. - ApiKeyAuth: []
  28023. summary: 查询持仓明细
  28024. tags:
  28025. - 通用单据
  28026. /Order/QueryTradeOrderDetail:
  28027. get:
  28028. parameters:
  28029. - description: 资金账户 - 格式:1,2,3
  28030. in: query
  28031. name: accountID
  28032. required: true
  28033. type: string
  28034. - description: 交易模式 - 格式:1,2,3
  28035. in: query
  28036. name: tradeMode
  28037. type: string
  28038. - description: 委托状态 - 格式:1,2,3
  28039. in: query
  28040. name: orderStatus
  28041. type: string
  28042. - description: 委托单号
  28043. in: query
  28044. name: orderID
  28045. type: integer
  28046. produces:
  28047. - application/json
  28048. responses:
  28049. "200":
  28050. description: OK
  28051. schema:
  28052. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28053. "500":
  28054. description: Internal Server Error
  28055. schema:
  28056. $ref: '#/definitions/app.Response'
  28057. security:
  28058. - ApiKeyAuth: []
  28059. summary: 委托单查询请求(合约市场)
  28060. tags:
  28061. - 通用单据
  28062. /Order/QueryTradePosition:
  28063. get:
  28064. parameters:
  28065. - description: 资金账户 - 格式:1,2,3
  28066. in: query
  28067. name: accountID
  28068. required: true
  28069. type: string
  28070. - description: 交易模式 - 格式:1,2,3
  28071. in: query
  28072. name: tradeMode
  28073. type: string
  28074. produces:
  28075. - application/json
  28076. responses:
  28077. "200":
  28078. description: OK
  28079. schema:
  28080. $ref: '#/definitions/order.QueryTradePositionRsp'
  28081. "500":
  28082. description: Internal Server Error
  28083. schema:
  28084. $ref: '#/definitions/app.Response'
  28085. security:
  28086. - ApiKeyAuth: []
  28087. summary: 持仓汇总查询(合约市场)
  28088. tags:
  28089. - 通用单据
  28090. /Qhj/QueryAccountInOutApply:
  28091. get:
  28092. parameters:
  28093. - description: 用户ID
  28094. in: query
  28095. name: userid
  28096. required: true
  28097. type: integer
  28098. - description: 申请起始日期(格式yyyymmdd)
  28099. in: query
  28100. name: begindate
  28101. type: string
  28102. - description: 申请截止日期(格式yyyymmdd)
  28103. in: query
  28104. name: enddate
  28105. type: string
  28106. - description: 模糊搜索名称
  28107. in: query
  28108. name: likename
  28109. type: string
  28110. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28111. in: query
  28112. name: applystatus
  28113. type: integer
  28114. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28115. in: query
  28116. name: querytype
  28117. type: integer
  28118. produces:
  28119. - application/json
  28120. responses:
  28121. "200":
  28122. description: OK
  28123. schema:
  28124. items:
  28125. $ref: '#/definitions/models.QhjAccountOutInApply'
  28126. type: array
  28127. "500":
  28128. description: Internal Server Error
  28129. schema:
  28130. $ref: '#/definitions/app.Response'
  28131. security:
  28132. - ApiKeyAuth: []
  28133. summary: 查询充值提现
  28134. tags:
  28135. - 大连千海金
  28136. /Qhj/QueryAreaFinanceConfig:
  28137. get:
  28138. parameters:
  28139. - description: 机构用户ID 其他做市关系,都设置为 1
  28140. in: query
  28141. name: userid
  28142. type: integer
  28143. produces:
  28144. - application/json
  28145. responses:
  28146. "200":
  28147. description: OK
  28148. schema:
  28149. items:
  28150. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28151. type: array
  28152. "500":
  28153. description: Internal Server Error
  28154. schema:
  28155. $ref: '#/definitions/app.Response'
  28156. security:
  28157. - ApiKeyAuth: []
  28158. summary: 查询企业配置表
  28159. tags:
  28160. - 大连千海金
  28161. /Qhj/QueryBankAccountSign:
  28162. get:
  28163. parameters:
  28164. - description: 用户ID
  28165. in: query
  28166. name: userid
  28167. required: true
  28168. type: integer
  28169. produces:
  28170. - application/json
  28171. responses:
  28172. "200":
  28173. description: OK
  28174. schema:
  28175. items:
  28176. $ref: '#/definitions/models.QhjBankAccountSign'
  28177. type: array
  28178. "500":
  28179. description: Internal Server Error
  28180. schema:
  28181. $ref: '#/definitions/app.Response'
  28182. security:
  28183. - ApiKeyAuth: []
  28184. summary: 查询签约银行信息(提现账户管理)
  28185. tags:
  28186. - 大连千海金
  28187. /Qhj/QueryBankInfo:
  28188. get:
  28189. produces:
  28190. - application/json
  28191. responses:
  28192. "200":
  28193. description: OK
  28194. schema:
  28195. items:
  28196. $ref: '#/definitions/models.QhjBankInfo'
  28197. type: array
  28198. "500":
  28199. description: Internal Server Error
  28200. schema:
  28201. $ref: '#/definitions/app.Response'
  28202. security:
  28203. - ApiKeyAuth: []
  28204. summary: 查询开户行
  28205. tags:
  28206. - 大连千海金
  28207. /Qhj/QueryBrokerApply:
  28208. get:
  28209. parameters:
  28210. - description: 所属机构ID
  28211. in: query
  28212. name: userid
  28213. type: integer
  28214. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28215. in: query
  28216. name: filterstatus
  28217. type: string
  28218. produces:
  28219. - application/json
  28220. responses:
  28221. "200":
  28222. description: OK
  28223. schema:
  28224. items:
  28225. $ref: '#/definitions/models.QhjBrokerApply'
  28226. type: array
  28227. "500":
  28228. description: Internal Server Error
  28229. schema:
  28230. $ref: '#/definitions/app.Response'
  28231. security:
  28232. - ApiKeyAuth: []
  28233. summary: 查询经纪人申请
  28234. tags:
  28235. - 大连千海金
  28236. /Qhj/QueryBrokerApplyEx:
  28237. get:
  28238. parameters:
  28239. - description: 所属机构ID
  28240. in: query
  28241. name: userid
  28242. type: integer
  28243. produces:
  28244. - application/json
  28245. responses:
  28246. "200":
  28247. description: OK
  28248. schema:
  28249. items:
  28250. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28251. type: array
  28252. "500":
  28253. description: Internal Server Error
  28254. schema:
  28255. $ref: '#/definitions/app.Response'
  28256. security:
  28257. - ApiKeyAuth: []
  28258. summary: 查询经纪人信息和申请记录
  28259. tags:
  28260. - 大连千海金
  28261. /Qhj/QueryBrokerRewardLog:
  28262. get:
  28263. parameters:
  28264. - description: 用户ID
  28265. in: query
  28266. name: userid
  28267. required: true
  28268. type: integer
  28269. - description: 开始交易日(yyyymmdd)
  28270. in: query
  28271. name: begindate
  28272. type: string
  28273. - description: 结束交易日(yyyymmdd)
  28274. in: query
  28275. name: enddate
  28276. type: string
  28277. produces:
  28278. - application/json
  28279. responses:
  28280. "200":
  28281. description: OK
  28282. schema:
  28283. items:
  28284. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28285. type: array
  28286. "500":
  28287. description: Internal Server Error
  28288. schema:
  28289. $ref: '#/definitions/app.Response'
  28290. security:
  28291. - ApiKeyAuth: []
  28292. summary: 查询奖励流水(我的奖励)
  28293. tags:
  28294. - 大连千海金
  28295. /Qhj/QueryContract:
  28296. get:
  28297. parameters:
  28298. - description: 用户ID
  28299. in: query
  28300. name: userid
  28301. type: integer
  28302. - description: scf合同id
  28303. in: query
  28304. name: scfcontractid
  28305. type: integer
  28306. produces:
  28307. - application/json
  28308. responses:
  28309. "200":
  28310. description: OK
  28311. schema:
  28312. items:
  28313. $ref: '#/definitions/models.QhjContract'
  28314. type: array
  28315. "500":
  28316. description: Internal Server Error
  28317. schema:
  28318. $ref: '#/definitions/app.Response'
  28319. security:
  28320. - ApiKeyAuth: []
  28321. summary: 查询融资明细(合同)
  28322. tags:
  28323. - 大连千海金
  28324. /Qhj/QueryContractLog:
  28325. get:
  28326. parameters:
  28327. - description: scf合同id
  28328. in: query
  28329. name: scfcontractid
  28330. required: true
  28331. type: integer
  28332. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28333. in: query
  28334. name: amounttype
  28335. type: string
  28336. produces:
  28337. - application/json
  28338. responses:
  28339. "200":
  28340. description: OK
  28341. schema:
  28342. items:
  28343. $ref: '#/definitions/models.QhjContractLog'
  28344. type: array
  28345. "500":
  28346. description: Internal Server Error
  28347. schema:
  28348. $ref: '#/definitions/app.Response'
  28349. security:
  28350. - ApiKeyAuth: []
  28351. summary: 查询融资明细流水(融资明细详情页中的流水)
  28352. tags:
  28353. - 大连千海金
  28354. /Qhj/QueryCusBankSignBank:
  28355. get:
  28356. produces:
  28357. - application/json
  28358. responses:
  28359. "200":
  28360. description: OK
  28361. schema:
  28362. items:
  28363. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28364. type: array
  28365. "500":
  28366. description: Internal Server Error
  28367. schema:
  28368. $ref: '#/definitions/app.Response'
  28369. security:
  28370. - ApiKeyAuth: []
  28371. summary: 查询托管银行
  28372. tags:
  28373. - 大连千海金
  28374. /Qhj/QueryCustomerInfo:
  28375. get:
  28376. parameters:
  28377. - description: 用户ID
  28378. in: query
  28379. name: userid
  28380. required: true
  28381. type: integer
  28382. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28383. in: query
  28384. name: querytype
  28385. required: true
  28386. type: integer
  28387. - description: 客户类型 1-个人 2-企业
  28388. in: query
  28389. name: userinfotype
  28390. type: integer
  28391. - description: 客户名称(模糊匹配)
  28392. in: query
  28393. name: customername
  28394. type: string
  28395. - description: 昵称(模糊匹配)
  28396. in: query
  28397. name: nickname
  28398. type: string
  28399. - description: 是否包含子级 1-包含
  28400. in: query
  28401. name: includesub
  28402. type: integer
  28403. produces:
  28404. - application/json
  28405. responses:
  28406. "200":
  28407. description: OK
  28408. schema:
  28409. items:
  28410. $ref: '#/definitions/models.QhjCustomer'
  28411. type: array
  28412. "500":
  28413. description: Internal Server Error
  28414. schema:
  28415. $ref: '#/definitions/app.Response'
  28416. security:
  28417. - ApiKeyAuth: []
  28418. summary: 查询客户资料
  28419. tags:
  28420. - 大连千海金
  28421. /Qhj/QueryGoodsEx:
  28422. get:
  28423. parameters:
  28424. - description: 商品id
  28425. in: query
  28426. name: goodsid
  28427. type: integer
  28428. produces:
  28429. - application/json
  28430. responses:
  28431. "200":
  28432. description: OK
  28433. schema:
  28434. items:
  28435. $ref: '#/definitions/models.Qhjgoodsex'
  28436. type: array
  28437. "500":
  28438. description: Internal Server Error
  28439. schema:
  28440. $ref: '#/definitions/app.Response'
  28441. security:
  28442. - ApiKeyAuth: []
  28443. summary: 交易商品扩展表
  28444. tags:
  28445. - 大连千海金
  28446. /Qhj/QueryMyTeam:
  28447. get:
  28448. parameters:
  28449. - description: 用户ID
  28450. in: query
  28451. name: userid
  28452. required: true
  28453. type: integer
  28454. produces:
  28455. - application/json
  28456. responses:
  28457. "200":
  28458. description: OK
  28459. schema:
  28460. items:
  28461. $ref: '#/definitions/models.QhjMyTeamEx'
  28462. type: array
  28463. "500":
  28464. description: Internal Server Error
  28465. schema:
  28466. $ref: '#/definitions/app.Response'
  28467. security:
  28468. - ApiKeyAuth: []
  28469. summary: 查询我的团队
  28470. tags:
  28471. - 大连千海金
  28472. /Qhj/QueryMyTeamOrder:
  28473. get:
  28474. parameters:
  28475. - description: 页码
  28476. in: query
  28477. name: page
  28478. type: integer
  28479. - description: 每页条数
  28480. in: query
  28481. name: pagesize
  28482. type: integer
  28483. - description: 用户ID
  28484. in: query
  28485. name: userid
  28486. required: true
  28487. type: integer
  28488. - description: 交易模式
  28489. in: query
  28490. name: trademode
  28491. type: integer
  28492. - description: 名称(模糊搜索账户)
  28493. in: query
  28494. name: filtername
  28495. type: string
  28496. produces:
  28497. - application/json
  28498. responses:
  28499. "200":
  28500. description: OK
  28501. schema:
  28502. items:
  28503. $ref: '#/definitions/models.QhjTeamOrder'
  28504. type: array
  28505. "500":
  28506. description: Internal Server Error
  28507. schema:
  28508. $ref: '#/definitions/app.Response'
  28509. security:
  28510. - ApiKeyAuth: []
  28511. summary: 查询团队订单(我的团队/团队订单)
  28512. tags:
  28513. - 大连千海金
  28514. /Qhj/QueryParentAreaList:
  28515. get:
  28516. parameters:
  28517. - description: 用户ID
  28518. in: query
  28519. name: userid
  28520. required: true
  28521. type: integer
  28522. produces:
  28523. - application/json
  28524. responses:
  28525. "200":
  28526. description: OK
  28527. schema:
  28528. items:
  28529. $ref: '#/definitions/models.QhjParentAreaList'
  28530. type: array
  28531. "500":
  28532. description: Internal Server Error
  28533. schema:
  28534. $ref: '#/definitions/app.Response'
  28535. security:
  28536. - ApiKeyAuth: []
  28537. summary: 查询所属机构列表
  28538. tags:
  28539. - 大连千海金
  28540. /Qhj/QueryPayOrder:
  28541. get:
  28542. parameters:
  28543. - description: 资金账号id
  28544. in: query
  28545. name: accountid
  28546. required: true
  28547. type: integer
  28548. - description: 成交单号
  28549. in: query
  28550. name: tradeid
  28551. type: integer
  28552. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28553. in: query
  28554. name: payflag
  28555. type: string
  28556. produces:
  28557. - application/json
  28558. responses:
  28559. "200":
  28560. description: OK
  28561. schema:
  28562. items:
  28563. $ref: '#/definitions/models.QhjPayOrder'
  28564. type: array
  28565. "500":
  28566. description: Internal Server Error
  28567. schema:
  28568. $ref: '#/definitions/app.Response'
  28569. security:
  28570. - ApiKeyAuth: []
  28571. summary: 查询待付款单据
  28572. tags:
  28573. - 大连千海金
  28574. /Qhj/QueryPickArea:
  28575. get:
  28576. parameters:
  28577. - description: 用户ID
  28578. in: query
  28579. name: userid
  28580. type: integer
  28581. produces:
  28582. - application/json
  28583. responses:
  28584. "200":
  28585. description: OK
  28586. schema:
  28587. items:
  28588. $ref: '#/definitions/models.QhjPickArea'
  28589. type: array
  28590. "500":
  28591. description: Internal Server Error
  28592. schema:
  28593. $ref: '#/definitions/app.Response'
  28594. security:
  28595. - ApiKeyAuth: []
  28596. summary: 查询提货门店
  28597. tags:
  28598. - 大连千海金
  28599. /Qhj/QueryPickGoods:
  28600. get:
  28601. parameters:
  28602. - description: 交易商品id
  28603. in: query
  28604. name: goodsid
  28605. required: true
  28606. type: integer
  28607. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28608. in: query
  28609. name: status
  28610. type: string
  28611. produces:
  28612. - application/json
  28613. responses:
  28614. "200":
  28615. description: OK
  28616. schema:
  28617. items:
  28618. $ref: '#/definitions/models.QhjPickGoods'
  28619. type: array
  28620. "500":
  28621. description: Internal Server Error
  28622. schema:
  28623. $ref: '#/definitions/app.Response'
  28624. security:
  28625. - ApiKeyAuth: []
  28626. summary: 查询提货商品
  28627. tags:
  28628. - 大连千海金
  28629. /Qhj/QueryRSTriggerLog:
  28630. get:
  28631. parameters:
  28632. - description: 用户ID
  28633. in: query
  28634. name: userid
  28635. type: integer
  28636. - description: 定投策略id
  28637. in: query
  28638. name: regularlystrategyid
  28639. type: integer
  28640. - description: 商品id
  28641. in: query
  28642. name: goodsid
  28643. type: integer
  28644. - description: 开始交易日(yyyymmdd)
  28645. in: query
  28646. name: begindate
  28647. type: string
  28648. - description: 结束交易日(yyyymmdd)
  28649. in: query
  28650. name: enddate
  28651. type: string
  28652. - description: 名称(模糊搜索账户)
  28653. in: query
  28654. name: filtername
  28655. type: string
  28656. produces:
  28657. - application/json
  28658. responses:
  28659. "200":
  28660. description: OK
  28661. schema:
  28662. items:
  28663. $ref: '#/definitions/models.QhjRSTriggerLog'
  28664. type: array
  28665. "500":
  28666. description: Internal Server Error
  28667. schema:
  28668. $ref: '#/definitions/app.Response'
  28669. security:
  28670. - ApiKeyAuth: []
  28671. summary: 查询定投记录(定投管理/详情/定投记录)
  28672. tags:
  28673. - 大连千海金
  28674. /Qhj/QueryRStrategy:
  28675. get:
  28676. parameters:
  28677. - description: 用户ID
  28678. in: query
  28679. name: userid
  28680. type: integer
  28681. - description: 商品id
  28682. in: query
  28683. name: goodsid
  28684. type: integer
  28685. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28686. in: query
  28687. name: status
  28688. type: string
  28689. - description: 名称(模糊搜索账户)
  28690. in: query
  28691. name: filtername
  28692. type: string
  28693. produces:
  28694. - application/json
  28695. responses:
  28696. "200":
  28697. description: OK
  28698. schema:
  28699. items:
  28700. $ref: '#/definitions/models.QhjRStrategy'
  28701. type: array
  28702. "500":
  28703. description: Internal Server Error
  28704. schema:
  28705. $ref: '#/definitions/app.Response'
  28706. security:
  28707. - ApiKeyAuth: []
  28708. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28709. tags:
  28710. - 大连千海金
  28711. /Qhj/QueryReckonPriceLog:
  28712. get:
  28713. parameters:
  28714. - description: 商品ID
  28715. in: query
  28716. name: goodsid
  28717. type: integer
  28718. - description: 交易日 格式(yyyymmdd)
  28719. in: query
  28720. name: tradedate
  28721. type: string
  28722. produces:
  28723. - application/json
  28724. responses:
  28725. "200":
  28726. description: OK
  28727. schema:
  28728. items:
  28729. $ref: '#/definitions/models.QhjReckonPriceLog'
  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/QueryScoreLog:
  28741. get:
  28742. parameters:
  28743. - description: 用户ID
  28744. in: query
  28745. name: userid
  28746. required: true
  28747. type: integer
  28748. - description: 开始交易日(yyyymmdd)
  28749. in: query
  28750. name: begindate
  28751. type: string
  28752. - description: 结束交易日(yyyymmdd)
  28753. in: query
  28754. name: enddate
  28755. type: string
  28756. - description: 最近多少条
  28757. in: query
  28758. name: lastnum
  28759. type: integer
  28760. produces:
  28761. - application/json
  28762. responses:
  28763. "200":
  28764. description: OK
  28765. schema:
  28766. items:
  28767. $ref: '#/definitions/models.QhjScoreLog'
  28768. type: array
  28769. "500":
  28770. description: Internal Server Error
  28771. schema:
  28772. $ref: '#/definitions/app.Response'
  28773. security:
  28774. - ApiKeyAuth: []
  28775. summary: 查询积分流水(我的积分)
  28776. tags:
  28777. - 大连千海金
  28778. /Qhj/QuerySiteColumnDetail:
  28779. get:
  28780. parameters:
  28781. - description: 用户ID
  28782. in: query
  28783. name: userid
  28784. required: true
  28785. type: integer
  28786. produces:
  28787. - application/json
  28788. responses:
  28789. "200":
  28790. description: OK
  28791. schema:
  28792. items:
  28793. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28794. type: array
  28795. "500":
  28796. description: Internal Server Error
  28797. schema:
  28798. $ref: '#/definitions/app.Response'
  28799. security:
  28800. - ApiKeyAuth: []
  28801. summary: 查询资讯
  28802. tags:
  28803. - 大连千海金
  28804. /Qhj/QueryTradeGoodsPickup:
  28805. get:
  28806. parameters:
  28807. - description: 用户ID
  28808. in: query
  28809. name: userid
  28810. required: true
  28811. type: integer
  28812. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28813. 7:已拒绝 8:已撤销
  28814. in: query
  28815. name: takeorderstatus
  28816. type: integer
  28817. produces:
  28818. - application/json
  28819. responses:
  28820. "200":
  28821. description: OK
  28822. schema:
  28823. items:
  28824. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28825. type: array
  28826. "500":
  28827. description: Internal Server Error
  28828. schema:
  28829. $ref: '#/definitions/app.Response'
  28830. security:
  28831. - ApiKeyAuth: []
  28832. summary: 查询提货
  28833. tags:
  28834. - 大连千海金
  28835. /Qhj/QueryUserCollectConfig:
  28836. get:
  28837. parameters:
  28838. - description: 用户ID
  28839. in: query
  28840. name: userid
  28841. required: true
  28842. type: integer
  28843. produces:
  28844. - application/json
  28845. responses:
  28846. "200":
  28847. description: OK
  28848. schema:
  28849. items:
  28850. $ref: '#/definitions/models.UserCollectConfig'
  28851. type: array
  28852. "500":
  28853. description: Internal Server Error
  28854. schema:
  28855. $ref: '#/definitions/app.Response'
  28856. security:
  28857. - ApiKeyAuth: []
  28858. summary: 查询提现账户设置
  28859. tags:
  28860. - 大连千海金
  28861. /Qhj/QueryUserReceiveInfo:
  28862. get:
  28863. parameters:
  28864. - description: 用户ID
  28865. in: query
  28866. name: userid
  28867. required: true
  28868. type: integer
  28869. produces:
  28870. - application/json
  28871. responses:
  28872. "200":
  28873. description: OK
  28874. schema:
  28875. items:
  28876. $ref: '#/definitions/models.UserReceiveInfo'
  28877. type: array
  28878. "500":
  28879. description: Internal Server Error
  28880. schema:
  28881. $ref: '#/definitions/app.Response'
  28882. security:
  28883. - ApiKeyAuth: []
  28884. summary: 查询收货地址信息
  28885. tags:
  28886. - 大连千海金
  28887. /QhjMgr/QueryAccountInOutApply:
  28888. get:
  28889. parameters:
  28890. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28891. in: query
  28892. name: querytype
  28893. required: true
  28894. type: integer
  28895. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28896. in: query
  28897. name: applystatus
  28898. type: integer
  28899. - description: 申请起始日期(格式yyyymmdd)
  28900. in: query
  28901. name: begindate
  28902. type: string
  28903. - description: 申请截止日期(格式yyyymmdd)
  28904. in: query
  28905. name: enddate
  28906. type: string
  28907. - description: 模糊搜索名称
  28908. in: query
  28909. name: likename
  28910. type: string
  28911. produces:
  28912. - application/json
  28913. responses:
  28914. "200":
  28915. description: OK
  28916. schema:
  28917. items:
  28918. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28919. type: array
  28920. "500":
  28921. description: Internal Server Error
  28922. schema:
  28923. $ref: '#/definitions/app.Response'
  28924. security:
  28925. - ApiKeyAuth: []
  28926. summary: 查询充值提现
  28927. tags:
  28928. - 大连千海金(PCWeb)
  28929. /QhjMgr/QueryBrokerApply:
  28930. get:
  28931. parameters:
  28932. - description: 所属机构ID
  28933. in: query
  28934. name: userid
  28935. type: integer
  28936. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28937. in: query
  28938. name: filterstatus
  28939. type: string
  28940. - description: 名称(模糊匹配)
  28941. in: query
  28942. name: filtername
  28943. type: string
  28944. - description: 是否包含子级 1-包含
  28945. in: query
  28946. name: includesub
  28947. type: integer
  28948. produces:
  28949. - application/json
  28950. responses:
  28951. "200":
  28952. description: OK
  28953. schema:
  28954. items:
  28955. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28956. type: array
  28957. "500":
  28958. description: Internal Server Error
  28959. schema:
  28960. $ref: '#/definitions/app.Response'
  28961. security:
  28962. - ApiKeyAuth: []
  28963. summary: 查询经纪人申请
  28964. tags:
  28965. - 大连千海金(PCWeb)
  28966. /QhjMgr/QueryBrokerRewardReport:
  28967. get:
  28968. parameters:
  28969. - description: 所属机构ID
  28970. in: query
  28971. name: userid
  28972. required: true
  28973. type: integer
  28974. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28975. in: query
  28976. name: cycletype
  28977. required: true
  28978. type: integer
  28979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28980. in: query
  28981. name: cycletime
  28982. required: true
  28983. type: string
  28984. - description: 名称(模糊匹配)
  28985. in: query
  28986. name: filtername
  28987. type: string
  28988. - description: 是否包含子级 1-包含
  28989. in: query
  28990. name: includesub
  28991. type: integer
  28992. produces:
  28993. - application/json
  28994. responses:
  28995. "200":
  28996. description: OK
  28997. schema:
  28998. items:
  28999. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29000. type: array
  29001. "500":
  29002. description: Internal Server Error
  29003. schema:
  29004. $ref: '#/definitions/app.Response'
  29005. security:
  29006. - ApiKeyAuth: []
  29007. summary: 查询经纪人奖励报表(废弃)
  29008. tags:
  29009. - 大连千海金(PCWeb)
  29010. /QhjMgr/QueryContract:
  29011. get:
  29012. parameters:
  29013. - description: 用户ID
  29014. in: query
  29015. name: userid
  29016. type: integer
  29017. - description: 商品id
  29018. in: query
  29019. name: goodsid
  29020. type: integer
  29021. - description: 名称(模糊搜索账户)
  29022. in: query
  29023. name: filtername
  29024. type: string
  29025. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29026. in: query
  29027. name: risklevel
  29028. type: string
  29029. - description: 开始交易日(yyyymmdd)
  29030. in: query
  29031. name: begindate
  29032. type: string
  29033. - description: 结束交易日(yyyymmdd)
  29034. in: query
  29035. name: enddate
  29036. type: string
  29037. produces:
  29038. - application/json
  29039. responses:
  29040. "200":
  29041. description: OK
  29042. schema:
  29043. items:
  29044. $ref: '#/definitions/models.QhjMgrContract'
  29045. type: array
  29046. "500":
  29047. description: Internal Server Error
  29048. schema:
  29049. $ref: '#/definitions/app.Response'
  29050. security:
  29051. - ApiKeyAuth: []
  29052. summary: 查询融资信息(合同)
  29053. tags:
  29054. - 大连千海金(PCWeb)
  29055. /QhjMgr/QueryCustomerInfo:
  29056. get:
  29057. parameters:
  29058. - description: 用户ID
  29059. in: query
  29060. name: userid
  29061. required: true
  29062. type: integer
  29063. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29064. in: query
  29065. name: querytype
  29066. required: true
  29067. type: integer
  29068. - description: 客户类型 1-个人 2-企业
  29069. in: query
  29070. name: userinfotype
  29071. type: integer
  29072. - description: 客户名称(模糊匹配)
  29073. in: query
  29074. name: customername
  29075. type: string
  29076. - description: 昵称(模糊匹配)
  29077. in: query
  29078. name: nickname
  29079. type: string
  29080. - description: 所属客户经理(模糊匹配)
  29081. in: query
  29082. name: brokername
  29083. type: string
  29084. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29085. 如0503 -5月3日)
  29086. in: query
  29087. name: birthday
  29088. type: string
  29089. - description: 是否包含子级 1-包含
  29090. in: query
  29091. name: includesub
  29092. type: integer
  29093. produces:
  29094. - application/json
  29095. responses:
  29096. "200":
  29097. description: OK
  29098. schema:
  29099. items:
  29100. $ref: '#/definitions/models.QhjMgrCustomer'
  29101. type: array
  29102. "500":
  29103. description: Internal Server Error
  29104. schema:
  29105. $ref: '#/definitions/app.Response'
  29106. security:
  29107. - ApiKeyAuth: []
  29108. summary: 查询客户资料
  29109. tags:
  29110. - 大连千海金(PCWeb)
  29111. /QhjMgr/QueryPickGoods:
  29112. get:
  29113. parameters:
  29114. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29115. in: query
  29116. name: status
  29117. type: string
  29118. produces:
  29119. - application/json
  29120. responses:
  29121. "200":
  29122. description: OK
  29123. schema:
  29124. items:
  29125. $ref: '#/definitions/models.QhjMgrPickGoods'
  29126. type: array
  29127. "500":
  29128. description: Internal Server Error
  29129. schema:
  29130. $ref: '#/definitions/app.Response'
  29131. security:
  29132. - ApiKeyAuth: []
  29133. summary: 查询提货商品
  29134. tags:
  29135. - 大连千海金(PCWeb)
  29136. /QhjMgr/QuerySubArea:
  29137. get:
  29138. parameters:
  29139. - description: 用户ID
  29140. in: query
  29141. name: userid
  29142. required: true
  29143. type: integer
  29144. produces:
  29145. - application/json
  29146. responses:
  29147. "200":
  29148. description: OK
  29149. schema:
  29150. items:
  29151. $ref: '#/definitions/models.QhjMgrSubArea'
  29152. type: array
  29153. "500":
  29154. description: Internal Server Error
  29155. schema:
  29156. $ref: '#/definitions/app.Response'
  29157. security:
  29158. - ApiKeyAuth: []
  29159. summary: 查询子机构列表
  29160. tags:
  29161. - 大连千海金(PCWeb)
  29162. /QhjMgr/QueryTradeDetail:
  29163. get:
  29164. parameters:
  29165. - description: 用户ID
  29166. in: query
  29167. name: userid
  29168. required: true
  29169. type: integer
  29170. - description: 用户类型 1-个人 2-企业
  29171. in: query
  29172. name: userinfotype
  29173. type: integer
  29174. - description: 交易模式
  29175. in: query
  29176. name: trademode
  29177. type: integer
  29178. - description: 商品id
  29179. in: query
  29180. name: goodsid
  29181. type: integer
  29182. - description: 名称(模糊搜索账户)
  29183. in: query
  29184. name: filtername
  29185. type: string
  29186. - description: 开始交易日(yyyymmdd)
  29187. in: query
  29188. name: begindate
  29189. type: string
  29190. - description: 结束交易日(yyyymmdd)
  29191. in: query
  29192. name: enddate
  29193. type: string
  29194. - description: 是否包含子级 1-包含
  29195. in: query
  29196. name: includesub
  29197. type: integer
  29198. produces:
  29199. - application/json
  29200. responses:
  29201. "200":
  29202. description: OK
  29203. schema:
  29204. items:
  29205. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29206. type: array
  29207. "500":
  29208. description: Internal Server Error
  29209. schema:
  29210. $ref: '#/definitions/app.Response'
  29211. security:
  29212. - ApiKeyAuth: []
  29213. summary: 查询成交明细
  29214. tags:
  29215. - 大连千海金(PCWeb)
  29216. /QhjMgr/QueryTradeOrderDetail:
  29217. get:
  29218. parameters:
  29219. - description: 用户ID
  29220. in: query
  29221. name: userid
  29222. required: true
  29223. type: integer
  29224. - description: 用户类型 1-个人 2-企业
  29225. in: query
  29226. name: userinfotype
  29227. type: integer
  29228. - description: 交易模式
  29229. in: query
  29230. name: trademode
  29231. type: integer
  29232. - description: 商品id
  29233. in: query
  29234. name: goodsid
  29235. type: integer
  29236. - description: 名称(模糊搜索账户)
  29237. in: query
  29238. name: filtername
  29239. type: string
  29240. - description: 开始交易日(yyyymmdd)
  29241. in: query
  29242. name: begindate
  29243. type: string
  29244. - description: 结束交易日(yyyymmdd)
  29245. in: query
  29246. name: enddate
  29247. type: string
  29248. - description: 是否包含子级 1-包含
  29249. in: query
  29250. name: includesub
  29251. type: integer
  29252. produces:
  29253. - application/json
  29254. responses:
  29255. "200":
  29256. description: OK
  29257. schema:
  29258. items:
  29259. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29260. type: array
  29261. "500":
  29262. description: Internal Server Error
  29263. schema:
  29264. $ref: '#/definitions/app.Response'
  29265. security:
  29266. - ApiKeyAuth: []
  29267. summary: 查询委托明细
  29268. tags:
  29269. - 大连千海金(PCWeb)
  29270. /QhjMgr/QueryTradePayOrder:
  29271. get:
  29272. parameters:
  29273. - description: 用户ID
  29274. in: query
  29275. name: userid
  29276. required: true
  29277. type: integer
  29278. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29279. in: query
  29280. name: payflag
  29281. type: string
  29282. - description: 用户类型 1-个人 2-企业
  29283. in: query
  29284. name: userinfotype
  29285. type: integer
  29286. - description: 交易模式
  29287. in: query
  29288. name: trademode
  29289. type: integer
  29290. - description: 商品id
  29291. in: query
  29292. name: goodsid
  29293. type: integer
  29294. - description: 名称(模糊搜索账户)
  29295. in: query
  29296. name: filtername
  29297. type: string
  29298. - description: 开始交易日(yyyymmdd)
  29299. in: query
  29300. name: begindate
  29301. type: string
  29302. - description: 结束交易日(yyyymmdd)
  29303. in: query
  29304. name: enddate
  29305. type: string
  29306. - description: 是否包含子级 1-包含
  29307. in: query
  29308. name: includesub
  29309. type: integer
  29310. produces:
  29311. - application/json
  29312. responses:
  29313. "200":
  29314. description: OK
  29315. schema:
  29316. items:
  29317. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29318. type: array
  29319. "500":
  29320. description: Internal Server Error
  29321. schema:
  29322. $ref: '#/definitions/app.Response'
  29323. security:
  29324. - ApiKeyAuth: []
  29325. summary: 查询待付款单
  29326. tags:
  29327. - 大连千海金(PCWeb)
  29328. /QhjMgr/QueryTradePosition:
  29329. get:
  29330. parameters:
  29331. - description: 用户ID
  29332. in: query
  29333. name: userid
  29334. required: true
  29335. type: integer
  29336. - description: 用户类型 1-个人 2-企业
  29337. in: query
  29338. name: userinfotype
  29339. type: integer
  29340. - description: 交易模式
  29341. in: query
  29342. name: trademode
  29343. type: integer
  29344. - description: 商品id
  29345. in: query
  29346. name: goodsid
  29347. type: integer
  29348. - description: 名称(模糊搜索账户)
  29349. in: query
  29350. name: filtername
  29351. type: string
  29352. - description: 是否包含子级 1-包含
  29353. in: query
  29354. name: includesub
  29355. type: integer
  29356. produces:
  29357. - application/json
  29358. responses:
  29359. "200":
  29360. description: OK
  29361. schema:
  29362. items:
  29363. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29364. type: array
  29365. "500":
  29366. description: Internal Server Error
  29367. schema:
  29368. $ref: '#/definitions/app.Response'
  29369. security:
  29370. - ApiKeyAuth: []
  29371. summary: 查询持仓汇总
  29372. tags:
  29373. - 大连千海金(PCWeb)
  29374. /QhjSys/QueryAgreementChangeLog:
  29375. get:
  29376. parameters:
  29377. - description: 协议ID
  29378. in: query
  29379. name: agreementid
  29380. type: integer
  29381. - description: 协议版本号
  29382. in: query
  29383. name: agreementversion
  29384. type: integer
  29385. - description: 协议类型 - 1:注册 2:登录 3:交易
  29386. in: query
  29387. name: agreementtype
  29388. type: integer
  29389. - description: 协议编号(模糊匹配)
  29390. in: query
  29391. name: agreementno
  29392. type: string
  29393. - description: 协议名称(模糊匹配)
  29394. in: query
  29395. name: agreementname
  29396. type: string
  29397. produces:
  29398. - application/json
  29399. responses:
  29400. "200":
  29401. description: OK
  29402. schema:
  29403. items:
  29404. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29405. type: array
  29406. "500":
  29407. description: Internal Server Error
  29408. schema:
  29409. $ref: '#/definitions/app.Response'
  29410. security:
  29411. - ApiKeyAuth: []
  29412. summary: 查询协议配置变更流水
  29413. tags:
  29414. - 大连千海金(协议和签约信息)
  29415. /QhjSys/QueryAgreementConfig:
  29416. get:
  29417. parameters:
  29418. - description: 协议ID
  29419. in: query
  29420. name: agreementid
  29421. type: integer
  29422. - description: 协议版本号
  29423. in: query
  29424. name: agreementversion
  29425. type: integer
  29426. - description: 协议类型 - 1:注册 2:登录 3:交易
  29427. in: query
  29428. name: agreementtype
  29429. type: integer
  29430. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29431. in: query
  29432. name: isvalid
  29433. type: integer
  29434. - description: 协议编号(模糊匹配)
  29435. in: query
  29436. name: agreementno
  29437. type: string
  29438. - description: 协议名称(模糊匹配)
  29439. in: query
  29440. name: agreementname
  29441. type: string
  29442. produces:
  29443. - application/json
  29444. responses:
  29445. "200":
  29446. description: OK
  29447. schema:
  29448. items:
  29449. $ref: '#/definitions/models.QhjAgreementConfig'
  29450. type: array
  29451. "500":
  29452. description: Internal Server Error
  29453. schema:
  29454. $ref: '#/definitions/app.Response'
  29455. security:
  29456. - ApiKeyAuth: []
  29457. summary: 查询协议配置
  29458. tags:
  29459. - 大连千海金(协议和签约信息)
  29460. /QhjSys/QueryCustomerSignStatus:
  29461. get:
  29462. parameters:
  29463. - description: 客户ID
  29464. in: query
  29465. name: userid
  29466. type: integer
  29467. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29468. in: query
  29469. name: nodetype
  29470. type: integer
  29471. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29472. in: query
  29473. name: goodsid
  29474. type: integer
  29475. - description: 创建交易日(yyyyMMdd)
  29476. in: query
  29477. name: tradedate
  29478. type: string
  29479. - description: 用户名称(模糊匹配)
  29480. in: query
  29481. name: username
  29482. type: string
  29483. produces:
  29484. - application/json
  29485. responses:
  29486. "200":
  29487. description: OK
  29488. schema:
  29489. items:
  29490. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29491. type: array
  29492. "500":
  29493. description: Internal Server Error
  29494. schema:
  29495. $ref: '#/definitions/app.Response'
  29496. security:
  29497. - ApiKeyAuth: []
  29498. summary: 查询客户协议签约状态
  29499. tags:
  29500. - 大连千海金(协议和签约信息)
  29501. /QhjSys/QueryNodeAgreementConfig:
  29502. get:
  29503. parameters:
  29504. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29505. in: query
  29506. name: configid
  29507. type: integer
  29508. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29509. in: query
  29510. name: nodetype
  29511. type: integer
  29512. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29513. in: query
  29514. name: goodsid
  29515. type: integer
  29516. - description: 协议ID
  29517. in: query
  29518. name: agreementid
  29519. type: integer
  29520. - description: 协议类型 - 1:注册 2:登录 3:交易
  29521. in: query
  29522. name: agreementtype
  29523. type: integer
  29524. - description: 协议版本号
  29525. in: query
  29526. name: agreementversion
  29527. type: integer
  29528. - description: 协议编号(模糊匹配)
  29529. in: query
  29530. name: agreementno
  29531. type: string
  29532. - description: 协议名称(模糊匹配)
  29533. in: query
  29534. name: agreementname
  29535. type: string
  29536. produces:
  29537. - application/json
  29538. responses:
  29539. "200":
  29540. description: OK
  29541. schema:
  29542. items:
  29543. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29544. type: array
  29545. "500":
  29546. description: Internal Server Error
  29547. schema:
  29548. $ref: '#/definitions/app.Response'
  29549. security:
  29550. - ApiKeyAuth: []
  29551. summary: 查询协议节点配置
  29552. tags:
  29553. - 大连千海金(协议和签约信息)
  29554. /QhjSys/QueryQhjCustomerSignLog:
  29555. get:
  29556. parameters:
  29557. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29558. in: query
  29559. name: logid
  29560. type: integer
  29561. - description: 客户ID
  29562. in: query
  29563. name: userid
  29564. type: integer
  29565. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29566. in: query
  29567. name: nodetype
  29568. type: integer
  29569. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29570. in: query
  29571. name: goodsid
  29572. type: integer
  29573. - description: 协议ID
  29574. in: query
  29575. name: agreementid
  29576. type: integer
  29577. - description: 用户名称(模糊匹配)
  29578. in: query
  29579. name: username
  29580. type: string
  29581. - description: 协议编号(模糊匹配)
  29582. in: query
  29583. name: agreementno
  29584. type: string
  29585. - description: 协议名称(模糊匹配)
  29586. in: query
  29587. name: agreementname
  29588. type: string
  29589. produces:
  29590. - application/json
  29591. responses:
  29592. "200":
  29593. description: OK
  29594. schema:
  29595. items:
  29596. $ref: '#/definitions/models.QhjCustomerSignLog'
  29597. type: array
  29598. "500":
  29599. description: Internal Server Error
  29600. schema:
  29601. $ref: '#/definitions/app.Response'
  29602. security:
  29603. - ApiKeyAuth: []
  29604. summary: 查询客户协议签约流水
  29605. tags:
  29606. - 大连千海金(协议和签约信息)
  29607. /QhjSys/QueryUserNodeCfgAndStatus:
  29608. get:
  29609. parameters:
  29610. - description: 客户ID
  29611. in: query
  29612. name: userid
  29613. type: integer
  29614. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29615. in: query
  29616. name: configid
  29617. type: integer
  29618. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29619. in: query
  29620. name: nodetype
  29621. type: string
  29622. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29623. in: query
  29624. name: goodsid
  29625. type: integer
  29626. - description: 协议ID
  29627. in: query
  29628. name: agreementid
  29629. type: integer
  29630. - description: 协议类型 - 1:注册 2:登录 3:交易
  29631. in: query
  29632. name: agreementtype
  29633. type: integer
  29634. - description: 协议版本号
  29635. in: query
  29636. name: agreementversion
  29637. type: integer
  29638. - description: 协议编号(模糊匹配)
  29639. in: query
  29640. name: agreementno
  29641. type: string
  29642. - description: 协议名称(模糊匹配)
  29643. in: query
  29644. name: agreementname
  29645. type: string
  29646. produces:
  29647. - application/json
  29648. responses:
  29649. "200":
  29650. description: OK
  29651. schema:
  29652. items:
  29653. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29654. type: array
  29655. "500":
  29656. description: Internal Server Error
  29657. schema:
  29658. $ref: '#/definitions/app.Response'
  29659. security:
  29660. - ApiKeyAuth: []
  29661. summary: 查询用户协议节点配置和状态
  29662. tags:
  29663. - 大连千海金(协议和签约信息)
  29664. /Quote/QueryHistoryDatas:
  29665. get:
  29666. parameters:
  29667. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29668. 日线 12:周线 13:月线 14:年线'
  29669. in: query
  29670. name: cycleType
  29671. required: true
  29672. type: integer
  29673. - description: 商品代码
  29674. in: query
  29675. name: goodsCode
  29676. required: true
  29677. type: string
  29678. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29679. in: query
  29680. name: startTime
  29681. type: string
  29682. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29683. in: query
  29684. name: endTime
  29685. type: string
  29686. - description: 条数
  29687. in: query
  29688. name: count
  29689. type: integer
  29690. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29691. in: query
  29692. name: isAsc
  29693. type: boolean
  29694. produces:
  29695. - application/json
  29696. responses:
  29697. "200":
  29698. description: OK
  29699. schema:
  29700. $ref: '#/definitions/quote.HistoryData'
  29701. "500":
  29702. description: Internal Server Error
  29703. schema:
  29704. $ref: '#/definitions/app.Response'
  29705. security:
  29706. - ApiKeyAuth: []
  29707. summary: 查询行情历史数据
  29708. tags:
  29709. - 行情服务
  29710. /Quote/QueryHistoryTikDatas:
  29711. get:
  29712. parameters:
  29713. - description: 商品代码
  29714. in: query
  29715. name: goodsCode
  29716. required: true
  29717. type: string
  29718. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29719. in: query
  29720. name: startTime
  29721. type: string
  29722. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29723. in: query
  29724. name: endTime
  29725. type: string
  29726. - description: 条数
  29727. in: query
  29728. name: count
  29729. type: integer
  29730. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29731. in: query
  29732. name: isAsc
  29733. type: boolean
  29734. produces:
  29735. - application/json
  29736. responses:
  29737. "200":
  29738. description: OK
  29739. schema:
  29740. $ref: '#/definitions/quote.HistoryTikData'
  29741. "500":
  29742. description: Internal Server Error
  29743. schema:
  29744. $ref: '#/definitions/app.Response'
  29745. security:
  29746. - ApiKeyAuth: []
  29747. summary: 查询行情Tik数据
  29748. tags:
  29749. - 行情服务
  29750. /Quote/QueryQuoteDay:
  29751. get:
  29752. parameters:
  29753. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29754. in: query
  29755. name: goodsCodes
  29756. type: string
  29757. produces:
  29758. - application/json
  29759. responses:
  29760. "200":
  29761. description: OK
  29762. schema:
  29763. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29764. "500":
  29765. description: Internal Server Error
  29766. schema:
  29767. $ref: '#/definitions/app.Response'
  29768. security:
  29769. - ApiKeyAuth: []
  29770. summary: 获取商品盘面信息
  29771. tags:
  29772. - 行情服务
  29773. /Quote/QueryTSData:
  29774. get:
  29775. parameters:
  29776. - description: 商品代码
  29777. in: query
  29778. name: goodsCode
  29779. required: true
  29780. type: string
  29781. produces:
  29782. - application/json
  29783. responses:
  29784. "200":
  29785. description: OK
  29786. schema:
  29787. $ref: '#/definitions/quote.QueryTSDataRsp'
  29788. "500":
  29789. description: Internal Server Error
  29790. schema:
  29791. $ref: '#/definitions/app.Response'
  29792. security:
  29793. - ApiKeyAuth: []
  29794. summary: 分时图数据查询
  29795. tags:
  29796. - 行情服务
  29797. /SZDZ/QueryConvertConfig:
  29798. get:
  29799. parameters:
  29800. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29801. 6:交易转花生米(不设置)
  29802. in: query
  29803. name: convertType
  29804. type: integer
  29805. - description: 外部商品代码[JD\PD]
  29806. in: query
  29807. name: outerGoodsCode
  29808. type: string
  29809. - description: 内部商品ID列表[交易],格式:1,2,3
  29810. in: query
  29811. name: innerGoodsIDs
  29812. type: string
  29813. produces:
  29814. - application/json
  29815. responses:
  29816. "200":
  29817. description: OK
  29818. schema:
  29819. $ref: '#/definitions/models.Szdz3convertconfig'
  29820. "500":
  29821. description: Internal Server Error
  29822. schema:
  29823. $ref: '#/definitions/app.Response'
  29824. security:
  29825. - ApiKeyAuth: []
  29826. summary: 查询交易系统转换设置
  29827. tags:
  29828. - 定制【尚志大宗】
  29829. /SZDZ/QueryConvertLog:
  29830. get:
  29831. parameters:
  29832. - description: 资金账户 - 格式:1,2,3
  29833. in: query
  29834. name: accountID
  29835. required: true
  29836. type: string
  29837. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29838. in: query
  29839. name: startDate
  29840. type: string
  29841. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29842. in: query
  29843. name: endDate
  29844. type: string
  29845. produces:
  29846. - application/json
  29847. responses:
  29848. "200":
  29849. description: OK
  29850. schema:
  29851. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29852. "500":
  29853. description: Internal Server Error
  29854. schema:
  29855. $ref: '#/definitions/app.Response'
  29856. security:
  29857. - ApiKeyAuth: []
  29858. summary: 交易系统转换流水查询
  29859. tags:
  29860. - 定制【尚志大宗】
  29861. /SZDZ/QueryGoodsPickup:
  29862. get:
  29863. parameters:
  29864. - description: 资金账户 - 格式:1,2,3
  29865. in: query
  29866. name: accountID
  29867. required: true
  29868. type: string
  29869. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29870. in: query
  29871. name: takeOrderStatus
  29872. type: integer
  29873. produces:
  29874. - application/json
  29875. responses:
  29876. "200":
  29877. description: OK
  29878. schema:
  29879. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29880. "500":
  29881. description: Internal Server Error
  29882. schema:
  29883. $ref: '#/definitions/app.Response'
  29884. security:
  29885. - ApiKeyAuth: []
  29886. summary: 商品提货单查询
  29887. tags:
  29888. - 定制【尚志大宗】
  29889. /SZDZ/QueryRecieptOrder:
  29890. get:
  29891. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29892. parameters:
  29893. - description: 页码
  29894. in: query
  29895. name: page
  29896. type: integer
  29897. - description: 每页条数
  29898. in: query
  29899. name: pagesize
  29900. type: integer
  29901. - description: 商品ID
  29902. in: query
  29903. name: goodsID
  29904. required: true
  29905. type: integer
  29906. - description: 所属账户名称
  29907. in: query
  29908. name: accountName
  29909. type: string
  29910. - description: 市场ID
  29911. in: query
  29912. name: marketID
  29913. type: integer
  29914. - description: 方向 - 0:买 1:卖
  29915. in: query
  29916. name: buyorsell
  29917. required: true
  29918. type: integer
  29919. produces:
  29920. - application/json
  29921. responses:
  29922. "200":
  29923. description: OK
  29924. schema:
  29925. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29926. "500":
  29927. description: Internal Server Error
  29928. schema:
  29929. $ref: '#/definitions/app.Response'
  29930. security:
  29931. - ApiKeyAuth: []
  29932. summary: 点选挂牌委托单据查询(摘牌大厅)
  29933. tags:
  29934. - 定制【尚志大宗】
  29935. /SZDZ/QuerySZDZTradePosition:
  29936. get:
  29937. parameters:
  29938. - description: 资金账户
  29939. in: query
  29940. name: accountID
  29941. required: true
  29942. type: integer
  29943. produces:
  29944. - application/json
  29945. responses:
  29946. "200":
  29947. description: OK
  29948. schema:
  29949. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29950. "500":
  29951. description: Internal Server Error
  29952. schema:
  29953. $ref: '#/definitions/app.Response'
  29954. security:
  29955. - ApiKeyAuth: []
  29956. summary: 持仓汇总查询(尚志大宗)
  29957. tags:
  29958. - 定制【尚志大宗】
  29959. /SZDZ/SearchWhite:
  29960. get:
  29961. parameters:
  29962. - description: 用户ID
  29963. in: query
  29964. name: userID
  29965. required: true
  29966. type: integer
  29967. produces:
  29968. - application/json
  29969. responses:
  29970. "200":
  29971. description: OK
  29972. schema:
  29973. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29974. "500":
  29975. description: Internal Server Error
  29976. schema:
  29977. $ref: '#/definitions/app.Response'
  29978. security:
  29979. - ApiKeyAuth: []
  29980. summary: 搜索白名单
  29981. tags:
  29982. - 定制【尚志大宗】
  29983. /Search/SearchGoodses:
  29984. get:
  29985. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29986. parameters:
  29987. - description: 检索内容
  29988. in: query
  29989. name: content
  29990. required: true
  29991. type: string
  29992. - description: 交易模式,格式:1,2,3
  29993. in: query
  29994. name: tradeModes
  29995. type: string
  29996. produces:
  29997. - application/json
  29998. responses:
  29999. "200":
  30000. description: OK
  30001. schema:
  30002. $ref: '#/definitions/models.SearchGoods'
  30003. "500":
  30004. description: Internal Server Error
  30005. schema:
  30006. $ref: '#/definitions/app.Response'
  30007. summary: 检索商品信息
  30008. tags:
  30009. - 检索服务
  30010. /TaAccount/GetTaAccounts:
  30011. get:
  30012. parameters:
  30013. - description: 登录账户
  30014. in: query
  30015. name: loginID
  30016. required: true
  30017. type: integer
  30018. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30019. in: query
  30020. name: taAccountType
  30021. type: integer
  30022. produces:
  30023. - application/json
  30024. responses:
  30025. "200":
  30026. description: OK
  30027. schema:
  30028. $ref: '#/definitions/models.Taaccount'
  30029. "500":
  30030. description: Internal Server Error
  30031. schema:
  30032. $ref: '#/definitions/app.Response'
  30033. security:
  30034. - ApiKeyAuth: []
  30035. summary: 获取资金账户信息
  30036. tags:
  30037. - 资金账户
  30038. /TaAccount/QueryAmountLog:
  30039. get:
  30040. parameters:
  30041. - description: 页码
  30042. in: query
  30043. name: page
  30044. type: integer
  30045. - description: 每页条数
  30046. in: query
  30047. name: pagesize
  30048. type: integer
  30049. - description: 资金账户 - 格式:1,2,3
  30050. in: query
  30051. name: accountID
  30052. required: true
  30053. type: string
  30054. - description: 资金操作类型 - 格式:1,2,3
  30055. in: query
  30056. name: OperateType
  30057. type: string
  30058. produces:
  30059. - application/json
  30060. responses:
  30061. "200":
  30062. description: OK
  30063. schema:
  30064. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30065. "500":
  30066. description: Internal Server Error
  30067. schema:
  30068. $ref: '#/definitions/app.Response'
  30069. security:
  30070. - ApiKeyAuth: []
  30071. summary: 资金流水查询(当前)
  30072. tags:
  30073. - 资金账户
  30074. /TaAccount/QueryHisAmountLog:
  30075. get:
  30076. parameters:
  30077. - description: 页码
  30078. in: query
  30079. name: page
  30080. type: integer
  30081. - description: 每页条数
  30082. in: query
  30083. name: pagesize
  30084. type: integer
  30085. - description: 资金账户 - 格式:1,2,3
  30086. in: query
  30087. name: accountID
  30088. required: true
  30089. type: string
  30090. - description: 资金操作类型 - 格式:1,2,3
  30091. in: query
  30092. name: OperateType
  30093. type: string
  30094. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30095. in: query
  30096. name: startDate
  30097. type: string
  30098. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30099. in: query
  30100. name: endDate
  30101. type: string
  30102. produces:
  30103. - application/json
  30104. responses:
  30105. "200":
  30106. description: OK
  30107. schema:
  30108. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30109. "500":
  30110. description: Internal Server Error
  30111. schema:
  30112. $ref: '#/definitions/app.Response'
  30113. security:
  30114. - ApiKeyAuth: []
  30115. summary: 资金流水查询(历史)
  30116. tags:
  30117. - 资金账户
  30118. /TaAccount/QueryRelatedTaAccount:
  30119. get:
  30120. parameters:
  30121. - description: 关联UserID
  30122. in: query
  30123. name: relateduserid
  30124. required: true
  30125. type: integer
  30126. produces:
  30127. - application/json
  30128. responses:
  30129. "200":
  30130. description: OK
  30131. schema:
  30132. items:
  30133. $ref: '#/definitions/models.RelatedTaAccount'
  30134. type: array
  30135. "500":
  30136. description: Internal Server Error
  30137. schema:
  30138. $ref: '#/definitions/app.Response'
  30139. security:
  30140. - ApiKeyAuth: []
  30141. summary: 查询关联资金账户信息
  30142. tags:
  30143. - 资金账户
  30144. /Tjmd/QueryQuoteGoodsList:
  30145. get:
  30146. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30147. parameters:
  30148. - description: 用户类型
  30149. in: query
  30150. name: usertype
  30151. required: true
  30152. type: integer
  30153. - description: 市场id, 格式 1,2,3
  30154. in: query
  30155. name: marketids
  30156. type: string
  30157. - description: 商品组id
  30158. in: query
  30159. name: goodsgroupid
  30160. type: integer
  30161. - description: 商品id
  30162. in: query
  30163. name: goodsid
  30164. type: integer
  30165. produces:
  30166. - application/json
  30167. responses:
  30168. "200":
  30169. description: OK
  30170. schema:
  30171. items:
  30172. $ref: '#/definitions/models.TjmdQuoteGoods'
  30173. type: array
  30174. "500":
  30175. description: Internal Server Error
  30176. schema:
  30177. $ref: '#/definitions/app.Response'
  30178. security:
  30179. - ApiKeyAuth: []
  30180. summary: 查询掉期报价列表
  30181. tags:
  30182. - 天津麦顿
  30183. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30184. get:
  30185. parameters:
  30186. - description: 成交单号
  30187. in: query
  30188. name: tradeid
  30189. required: true
  30190. type: string
  30191. produces:
  30192. - application/json
  30193. responses:
  30194. "200":
  30195. description: OK
  30196. schema:
  30197. items:
  30198. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30199. type: array
  30200. "500":
  30201. description: Internal Server Error
  30202. schema:
  30203. $ref: '#/definitions/app.Response'
  30204. security:
  30205. - ApiKeyAuth: []
  30206. summary: 掉期商品订单详情(交易确认书)
  30207. tags:
  30208. - 天津麦顿
  30209. /Tjmd/QueryTjmdMarketSection:
  30210. get:
  30211. produces:
  30212. - application/json
  30213. responses:
  30214. "200":
  30215. description: OK
  30216. schema:
  30217. items:
  30218. $ref: '#/definitions/models.TjmdMarketSection'
  30219. type: array
  30220. "500":
  30221. description: Internal Server Error
  30222. schema:
  30223. $ref: '#/definitions/app.Response'
  30224. security:
  30225. - ApiKeyAuth: []
  30226. summary: 查询市场板块
  30227. tags:
  30228. - 天津麦顿
  30229. /Tjmd/QueryTjmdTodayAccountMargin:
  30230. get:
  30231. parameters:
  30232. - description: 市场id
  30233. in: query
  30234. name: marketid
  30235. type: string
  30236. - description: 商品id
  30237. in: query
  30238. name: goodsid
  30239. type: string
  30240. - description: 资金账号
  30241. in: query
  30242. name: accountid
  30243. type: string
  30244. produces:
  30245. - application/json
  30246. responses:
  30247. "200":
  30248. description: OK
  30249. schema:
  30250. items:
  30251. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30252. type: array
  30253. "500":
  30254. description: Internal Server Error
  30255. schema:
  30256. $ref: '#/definitions/app.Response'
  30257. security:
  30258. - ApiKeyAuth: []
  30259. summary: 查询今日账户保证金配置
  30260. tags:
  30261. - 天津麦顿
  30262. /Tjmd/QueryTjmdTradeOrderDetail:
  30263. get:
  30264. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30265. parameters:
  30266. - description: 页码
  30267. in: query
  30268. name: page
  30269. type: integer
  30270. - description: 每页条数
  30271. in: query
  30272. name: pagesize
  30273. type: integer
  30274. - description: 用户id
  30275. in: query
  30276. name: userid
  30277. required: true
  30278. type: integer
  30279. - description: 用户类型
  30280. in: query
  30281. name: usertype
  30282. required: true
  30283. type: integer
  30284. - description: 市场id, 格式 1,2,3
  30285. in: query
  30286. name: marketids
  30287. type: string
  30288. - description: 商品id
  30289. in: query
  30290. name: goodsid
  30291. required: true
  30292. type: integer
  30293. - description: 买卖方向 0-买 1-卖
  30294. in: query
  30295. name: buyorsell
  30296. required: true
  30297. type: integer
  30298. produces:
  30299. - application/json
  30300. responses:
  30301. "200":
  30302. description: OK
  30303. schema:
  30304. items:
  30305. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30306. type: array
  30307. "500":
  30308. description: Internal Server Error
  30309. schema:
  30310. $ref: '#/definitions/app.Response'
  30311. security:
  30312. - ApiKeyAuth: []
  30313. summary: 查询掉期买卖大厅
  30314. tags:
  30315. - 天津麦顿
  30316. /Tjmd/QueryTjmdTransferApply:
  30317. get:
  30318. parameters:
  30319. - description: 类型 1-我的申请 2-对方申请
  30320. in: query
  30321. name: applytype
  30322. required: true
  30323. type: integer
  30324. - description: 市场id, 格式 1,2,3
  30325. in: query
  30326. name: marketids
  30327. type: string
  30328. - description: 资金账号, 格式 25000000001,25000000003
  30329. in: query
  30330. name: accountids
  30331. type: string
  30332. - description: 开始交易日(yyyymmdd)
  30333. in: query
  30334. name: begindate
  30335. type: string
  30336. - description: 结束交易日(yyyymmdd)
  30337. in: query
  30338. name: enddate
  30339. type: string
  30340. produces:
  30341. - application/json
  30342. responses:
  30343. "200":
  30344. description: OK
  30345. schema:
  30346. items:
  30347. $ref: '#/definitions/models.TjmdTransferApply'
  30348. type: array
  30349. "500":
  30350. description: Internal Server Error
  30351. schema:
  30352. $ref: '#/definitions/app.Response'
  30353. security:
  30354. - ApiKeyAuth: []
  30355. summary: 查询掉期协议单
  30356. tags:
  30357. - 天津麦顿
  30358. /Trade/QueryRecieptOrder:
  30359. get:
  30360. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30361. parameters:
  30362. - description: 页码
  30363. in: query
  30364. name: page
  30365. type: integer
  30366. - description: 每页条数
  30367. in: query
  30368. name: pagesize
  30369. type: integer
  30370. - description: 商品ID
  30371. in: query
  30372. name: goodsID
  30373. required: true
  30374. type: integer
  30375. - description: 所属账户名称
  30376. in: query
  30377. name: accountName
  30378. type: string
  30379. - description: 市场ID
  30380. in: query
  30381. name: marketID
  30382. type: integer
  30383. - description: 方向 - 0:买 1:卖
  30384. in: query
  30385. name: buyorsell
  30386. required: true
  30387. type: integer
  30388. produces:
  30389. - application/json
  30390. responses:
  30391. "200":
  30392. description: OK
  30393. schema:
  30394. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30395. "500":
  30396. description: Internal Server Error
  30397. schema:
  30398. $ref: '#/definitions/app.Response'
  30399. security:
  30400. - ApiKeyAuth: []
  30401. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30402. tags:
  30403. - 通用交易
  30404. /User/AddMessageBoard:
  30405. post:
  30406. parameters:
  30407. - description: 用户ID
  30408. in: query
  30409. name: userID
  30410. required: true
  30411. type: integer
  30412. - description: 留言信息
  30413. in: query
  30414. name: message
  30415. required: true
  30416. type: string
  30417. - description: 联系电话
  30418. in: query
  30419. name: contactNum
  30420. required: true
  30421. type: string
  30422. produces:
  30423. - application/json
  30424. responses:
  30425. "200":
  30426. description: OK
  30427. schema:
  30428. $ref: '#/definitions/app.Response'
  30429. "500":
  30430. description: Internal Server Error
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. security:
  30434. - ApiKeyAuth: []
  30435. summary: 添加用户留言板信息
  30436. tags:
  30437. - 用户信息
  30438. /User/AddUserFavoriteGoods:
  30439. post:
  30440. parameters:
  30441. - description: 用户ID
  30442. in: query
  30443. name: userID
  30444. required: true
  30445. type: integer
  30446. - description: 商品ID
  30447. in: query
  30448. name: goodsID
  30449. required: true
  30450. type: integer
  30451. produces:
  30452. - application/json
  30453. responses:
  30454. "200":
  30455. description: OK
  30456. schema:
  30457. $ref: '#/definitions/app.Response'
  30458. "500":
  30459. description: Internal Server Error
  30460. schema:
  30461. $ref: '#/definitions/app.Response'
  30462. security:
  30463. - ApiKeyAuth: []
  30464. summary: 添加用户商品收藏信息
  30465. tags:
  30466. - 用户信息
  30467. /User/GetLoginID:
  30468. get:
  30469. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30470. parameters:
  30471. - description: 登录代码
  30472. in: query
  30473. name: username
  30474. required: true
  30475. type: string
  30476. produces:
  30477. - application/json
  30478. responses:
  30479. "200":
  30480. description: OK
  30481. schema:
  30482. $ref: '#/definitions/app.Response'
  30483. "500":
  30484. description: Internal Server Error
  30485. schema:
  30486. $ref: '#/definitions/app.Response'
  30487. summary: 获取登录ID
  30488. tags:
  30489. - 用户信息
  30490. /User/GetUserAccount:
  30491. get:
  30492. parameters:
  30493. - description: 用户ID
  30494. in: query
  30495. name: userID
  30496. required: true
  30497. type: integer
  30498. produces:
  30499. - application/json
  30500. responses:
  30501. "200":
  30502. description: OK
  30503. schema:
  30504. $ref: '#/definitions/models.Useraccount'
  30505. "500":
  30506. description: Internal Server Error
  30507. schema:
  30508. $ref: '#/definitions/app.Response'
  30509. security:
  30510. - ApiKeyAuth: []
  30511. summary: 获取用户账号信息
  30512. tags:
  30513. - 用户信息
  30514. /User/GetUserAuthStatus:
  30515. get:
  30516. parameters:
  30517. - description: 用户ID
  30518. in: query
  30519. name: userID
  30520. required: true
  30521. type: integer
  30522. produces:
  30523. - application/json
  30524. responses:
  30525. "200":
  30526. description: OK
  30527. schema:
  30528. $ref: '#/definitions/app.Response'
  30529. "500":
  30530. description: Internal Server Error
  30531. schema:
  30532. $ref: '#/definitions/app.Response'
  30533. security:
  30534. - ApiKeyAuth: []
  30535. summary: 获取用户实名认证状态
  30536. tags:
  30537. - 用户信息
  30538. /User/LoginQuery:
  30539. get:
  30540. parameters:
  30541. - description: 登录账号
  30542. in: query
  30543. name: loginID
  30544. required: true
  30545. type: integer
  30546. produces:
  30547. - application/json
  30548. responses:
  30549. "200":
  30550. description: OK
  30551. schema:
  30552. $ref: '#/definitions/user.LoginQueryRsp'
  30553. "500":
  30554. description: Internal Server Error
  30555. schema:
  30556. $ref: '#/definitions/app.Response'
  30557. security:
  30558. - ApiKeyAuth: []
  30559. summary: 账户登录后信息查询
  30560. tags:
  30561. - 用户信息
  30562. /User/QueryMessageBoard:
  30563. get:
  30564. parameters:
  30565. - description: 用户ID
  30566. in: query
  30567. name: userID
  30568. required: true
  30569. type: integer
  30570. produces:
  30571. - application/json
  30572. responses:
  30573. "200":
  30574. description: OK
  30575. schema:
  30576. $ref: '#/definitions/models.Messageboard'
  30577. "500":
  30578. description: Internal Server Error
  30579. schema:
  30580. $ref: '#/definitions/app.Response'
  30581. security:
  30582. - ApiKeyAuth: []
  30583. summary: 获取用户留言板信息
  30584. tags:
  30585. - 用户信息
  30586. /User/QueryUserFavoriteGoodses:
  30587. get:
  30588. parameters:
  30589. - description: 用户ID
  30590. in: query
  30591. name: userID
  30592. required: true
  30593. type: integer
  30594. produces:
  30595. - application/json
  30596. responses:
  30597. "200":
  30598. description: OK
  30599. schema:
  30600. $ref: '#/definitions/models.Userfavoritegoods'
  30601. "500":
  30602. description: Internal Server Error
  30603. schema:
  30604. $ref: '#/definitions/app.Response'
  30605. security:
  30606. - ApiKeyAuth: []
  30607. summary: 获取用户商品收藏信息
  30608. tags:
  30609. - 用户信息
  30610. /User/QueryUserInfo:
  30611. get:
  30612. parameters:
  30613. - description: 用户ID
  30614. in: query
  30615. name: userID
  30616. required: true
  30617. type: integer
  30618. - description: 是否解密
  30619. in: query
  30620. name: isDecrypt
  30621. type: boolean
  30622. produces:
  30623. - application/json
  30624. responses:
  30625. "200":
  30626. description: OK
  30627. schema:
  30628. $ref: '#/definitions/models.Userinfo'
  30629. "500":
  30630. description: Internal Server Error
  30631. schema:
  30632. $ref: '#/definitions/app.Response'
  30633. security:
  30634. - ApiKeyAuth: []
  30635. summary: 获取用户信息
  30636. tags:
  30637. - 用户信息
  30638. /User/QueryUserReferNum:
  30639. get:
  30640. parameters:
  30641. - description: 用户ID
  30642. in: query
  30643. name: userID
  30644. required: true
  30645. type: integer
  30646. produces:
  30647. - application/json
  30648. responses:
  30649. "200":
  30650. description: OK
  30651. schema:
  30652. $ref: '#/definitions/app.Response'
  30653. "500":
  30654. description: Internal Server Error
  30655. schema:
  30656. $ref: '#/definitions/app.Response'
  30657. summary: 获取用户邀请码
  30658. tags:
  30659. - 用户信息
  30660. /User/RemoveUserFavoriteGoods:
  30661. post:
  30662. parameters:
  30663. - description: 用户ID
  30664. in: query
  30665. name: userID
  30666. required: true
  30667. type: integer
  30668. - description: 商品ID
  30669. in: query
  30670. name: goodsID
  30671. required: true
  30672. type: integer
  30673. produces:
  30674. - application/json
  30675. responses:
  30676. "200":
  30677. description: OK
  30678. schema:
  30679. $ref: '#/definitions/app.Response'
  30680. "500":
  30681. description: Internal Server Error
  30682. schema:
  30683. $ref: '#/definitions/app.Response'
  30684. security:
  30685. - ApiKeyAuth: []
  30686. summary: 移除用户商品收藏信息
  30687. tags:
  30688. - 用户信息
  30689. /User/UpdateUserAccountStatus:
  30690. post:
  30691. parameters:
  30692. - description: 用户ID
  30693. in: query
  30694. name: userID
  30695. required: true
  30696. type: integer
  30697. - description: 账户状态 - 4:正常 6:注销(停用)
  30698. in: query
  30699. name: accountStatus
  30700. required: true
  30701. type: integer
  30702. produces:
  30703. - application/json
  30704. responses:
  30705. "200":
  30706. description: OK
  30707. schema:
  30708. $ref: '#/definitions/app.Response'
  30709. "500":
  30710. description: Internal Server Error
  30711. schema:
  30712. $ref: '#/definitions/app.Response'
  30713. security:
  30714. - ApiKeyAuth: []
  30715. summary: 更新用户状态
  30716. tags:
  30717. - 用户信息
  30718. /WRTrade/GetAllDeliveryGoods:
  30719. get:
  30720. produces:
  30721. - application/json
  30722. responses:
  30723. "200":
  30724. description: OK
  30725. schema:
  30726. $ref: '#/definitions/app.Response'
  30727. "500":
  30728. description: Internal Server Error
  30729. schema:
  30730. $ref: '#/definitions/app.Response'
  30731. security:
  30732. - ApiKeyAuth: []
  30733. summary: 获取带仓单分类的种类信息
  30734. tags:
  30735. - 仓单贸易
  30736. - 仓单贸易
  30737. /WrTrade2/InsertXhcpSellBackApply:
  30738. post:
  30739. parameters:
  30740. - description: 回收申请
  30741. in: body
  30742. name: jsonBody
  30743. required: true
  30744. schema:
  30745. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30746. produces:
  30747. - application/json
  30748. responses:
  30749. "200":
  30750. description: OK
  30751. schema:
  30752. $ref: '#/definitions/app.Response'
  30753. "500":
  30754. description: Internal Server Error
  30755. schema:
  30756. $ref: '#/definitions/app.Response'
  30757. security:
  30758. - ApiKeyAuth: []
  30759. summary: 新增回收申请(新会陈皮)
  30760. tags:
  30761. - 仓单贸易v2
  30762. /WrTrade2/QueryDeliveryGoodsSection:
  30763. get:
  30764. produces:
  30765. - application/json
  30766. responses:
  30767. "200":
  30768. description: OK
  30769. schema:
  30770. items:
  30771. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30772. type: array
  30773. "500":
  30774. description: Internal Server Error
  30775. schema:
  30776. $ref: '#/definitions/app.Response'
  30777. security:
  30778. - ApiKeyAuth: []
  30779. summary: 查询板块(分类)
  30780. tags:
  30781. - 仓单贸易v2
  30782. /WrTrade2/QueryFaProductDetail:
  30783. get:
  30784. description: 页面 买卖大厅 -> 选择融资方案
  30785. parameters:
  30786. - description: 仓单要素id
  30787. in: query
  30788. name: wrfactortypeid
  30789. required: true
  30790. type: integer
  30791. produces:
  30792. - application/json
  30793. responses:
  30794. "200":
  30795. description: OK
  30796. schema:
  30797. items:
  30798. $ref: '#/definitions/models.WrFAProductDetail'
  30799. type: array
  30800. "500":
  30801. description: Internal Server Error
  30802. schema:
  30803. $ref: '#/definitions/app.Response'
  30804. security:
  30805. - ApiKeyAuth: []
  30806. summary: 查询融资产品列表
  30807. tags:
  30808. - 仓单贸易v2
  30809. /WrTrade2/QueryFilterItem:
  30810. get:
  30811. parameters:
  30812. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30813. in: query
  30814. name: itype
  30815. required: true
  30816. type: string
  30817. produces:
  30818. - application/json
  30819. responses:
  30820. "200":
  30821. description: OK
  30822. schema:
  30823. items:
  30824. $ref: '#/definitions/models.WrFilterItem'
  30825. type: array
  30826. "500":
  30827. description: Internal Server Error
  30828. schema:
  30829. $ref: '#/definitions/app.Response'
  30830. security:
  30831. - ApiKeyAuth: []
  30832. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30833. tags:
  30834. - 仓单贸易v2
  30835. /WrTrade2/QueryFtDeliveryGoods:
  30836. get:
  30837. produces:
  30838. - application/json
  30839. responses:
  30840. "200":
  30841. description: OK
  30842. schema:
  30843. items:
  30844. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30845. type: array
  30846. "500":
  30847. description: Internal Server Error
  30848. schema:
  30849. $ref: '#/definitions/app.Response'
  30850. security:
  30851. - ApiKeyAuth: []
  30852. summary: 查询品种品类筛选框列表
  30853. tags:
  30854. - 仓单贸易v2
  30855. /WrTrade2/QueryHoldLB:
  30856. get:
  30857. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30858. parameters:
  30859. - description: 资金账号
  30860. in: query
  30861. name: accountid
  30862. required: true
  30863. type: integer
  30864. - description: 仓库id
  30865. in: query
  30866. name: warehouseid
  30867. type: integer
  30868. - description: 品种id
  30869. in: query
  30870. name: deliverygoodsid
  30871. type: integer
  30872. - description: 品类id
  30873. in: query
  30874. name: wrstandardid
  30875. type: integer
  30876. - description: 仓单要素id
  30877. in: query
  30878. name: wrfactortypeid
  30879. type: integer
  30880. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30881. in: query
  30882. name: dgitemname
  30883. type: string
  30884. produces:
  30885. - application/json
  30886. responses:
  30887. "200":
  30888. description: OK
  30889. schema:
  30890. items:
  30891. $ref: '#/definitions/models.WrHoldLB'
  30892. type: array
  30893. "500":
  30894. description: Internal Server Error
  30895. schema:
  30896. $ref: '#/definitions/app.Response'
  30897. security:
  30898. - ApiKeyAuth: []
  30899. summary: 查询仓单持有记录
  30900. tags:
  30901. - 仓单贸易v2
  30902. /WrTrade2/QueryOrderQuote:
  30903. get:
  30904. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30905. 唯一确定1条记录
  30906. parameters:
  30907. - description: 页码
  30908. in: query
  30909. name: page
  30910. type: integer
  30911. - description: 每页条数
  30912. in: query
  30913. name: pagesize
  30914. type: integer
  30915. - description: 仓单贸易市场id
  30916. in: query
  30917. name: marketid
  30918. type: integer
  30919. - description: 价格方式 - 1:固定价 2-浮动价
  30920. in: query
  30921. name: wrpricetype
  30922. required: true
  30923. type: integer
  30924. - description: 0:仓单预售 1:仓单贸易
  30925. in: query
  30926. name: haswr
  30927. type: integer
  30928. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30929. in: query
  30930. name: dgitemname
  30931. type: string
  30932. - description: 仓库id(筛选条件)
  30933. in: query
  30934. name: warehouseid
  30935. type: integer
  30936. - description: 品种id
  30937. in: query
  30938. name: deliverygoodsid
  30939. type: integer
  30940. - description: 品类id
  30941. in: query
  30942. name: wrstandardid
  30943. type: integer
  30944. - description: 品牌id(dgfactoryitemid)
  30945. in: query
  30946. name: brandid
  30947. type: integer
  30948. - description: 年份id(dgfactoryitemid)
  30949. in: query
  30950. name: yearsid
  30951. type: integer
  30952. - description: 仓单要素id
  30953. in: query
  30954. name: wrfactortypeid
  30955. type: integer
  30956. - description: 交收月(yyyy-mm) 仓单预售填写
  30957. in: query
  30958. name: deliverymonth
  30959. type: string
  30960. produces:
  30961. - application/json
  30962. responses:
  30963. "200":
  30964. description: OK
  30965. schema:
  30966. items:
  30967. $ref: '#/definitions/models.WrOrderQuote'
  30968. type: array
  30969. "500":
  30970. description: Internal Server Error
  30971. schema:
  30972. $ref: '#/definitions/app.Response'
  30973. security:
  30974. - ApiKeyAuth: []
  30975. summary: 查询大厅行情列表
  30976. tags:
  30977. - 仓单贸易v2
  30978. /WrTrade2/QueryOrderQuoteDetail:
  30979. get:
  30980. parameters:
  30981. - description: 页码
  30982. in: query
  30983. name: page
  30984. type: integer
  30985. - description: 每页条数
  30986. in: query
  30987. name: pagesize
  30988. type: integer
  30989. - description: 仓单贸易市场id
  30990. in: query
  30991. name: marketid
  30992. type: integer
  30993. - description: 价格方式 - 1:固定价 2-浮动价
  30994. in: query
  30995. name: wrpricetype
  30996. required: true
  30997. type: integer
  30998. - description: 0:仓单预售 1:仓单贸易
  30999. in: query
  31000. name: haswr
  31001. type: integer
  31002. - description: 仓单要素id
  31003. in: query
  31004. name: wrfactortypeid
  31005. required: true
  31006. type: integer
  31007. - description: 期货商品id(浮动价方式时填)
  31008. in: query
  31009. name: goodsid
  31010. type: integer
  31011. - description: 买卖方向 0-买 1-卖
  31012. in: query
  31013. name: buyorsell
  31014. required: true
  31015. type: integer
  31016. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31017. in: query
  31018. name: deliverymonth
  31019. type: string
  31020. produces:
  31021. - application/json
  31022. responses:
  31023. "200":
  31024. description: OK
  31025. schema:
  31026. items:
  31027. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31028. type: array
  31029. "500":
  31030. description: Internal Server Error
  31031. schema:
  31032. $ref: '#/definitions/app.Response'
  31033. security:
  31034. - ApiKeyAuth: []
  31035. summary: 查询买卖大厅
  31036. tags:
  31037. - 仓单贸易v2
  31038. /WrTrade2/QueryOrderQuoteMyq:
  31039. get:
  31040. parameters:
  31041. - description: 页码
  31042. in: query
  31043. name: page
  31044. type: integer
  31045. - description: 每页条数
  31046. in: query
  31047. name: pagesize
  31048. type: integer
  31049. - description: 用户id
  31050. in: query
  31051. name: userid
  31052. required: true
  31053. type: integer
  31054. - description: 仓单贸易市场id
  31055. in: query
  31056. name: marketid
  31057. type: integer
  31058. - description: 0:仓单预售 1:仓单贸易
  31059. in: query
  31060. name: haswr
  31061. type: integer
  31062. - description: 买卖方向 0-买 1-卖
  31063. in: query
  31064. name: buyorsell
  31065. required: true
  31066. type: integer
  31067. - description: 品种id
  31068. in: query
  31069. name: deliverygoodsid
  31070. type: integer
  31071. - description: 品类id
  31072. in: query
  31073. name: wrstandardid
  31074. type: integer
  31075. - description: 交收月(yyyy-mm) 仓单预售填写
  31076. in: query
  31077. name: deliverymonth
  31078. type: string
  31079. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31080. in: query
  31081. name: dgitemname
  31082. type: string
  31083. produces:
  31084. - application/json
  31085. responses:
  31086. "200":
  31087. description: OK
  31088. schema:
  31089. items:
  31090. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31091. type: array
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询贸易圈挂牌大厅
  31099. tags:
  31100. - 仓单贸易v2
  31101. /WrTrade2/QueryPerformancePlan:
  31102. get:
  31103. parameters:
  31104. - description: 用户id
  31105. in: query
  31106. name: userid
  31107. required: true
  31108. type: integer
  31109. - description: 买卖方向 0-买 1-卖
  31110. in: query
  31111. name: buyorsell
  31112. required: true
  31113. type: integer
  31114. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31115. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31116. in: query
  31117. name: status
  31118. type: string
  31119. - description: 开始交易日(yyyymmdd)
  31120. in: query
  31121. name: begindate
  31122. type: string
  31123. - description: 结束交易日(yyyymmdd)
  31124. in: query
  31125. name: enddate
  31126. type: string
  31127. produces:
  31128. - application/json
  31129. responses:
  31130. "200":
  31131. description: OK
  31132. schema:
  31133. items:
  31134. $ref: '#/definitions/models.WrPerformancePlan'
  31135. type: array
  31136. "500":
  31137. description: Internal Server Error
  31138. schema:
  31139. $ref: '#/definitions/app.Response'
  31140. security:
  31141. - ApiKeyAuth: []
  31142. summary: 查询履约信息
  31143. tags:
  31144. - 仓单贸易v2
  31145. /WrTrade2/QueryPermancePlanTmp:
  31146. get:
  31147. description: |-
  31148. 返回指定用户的模板和公共模板(用户id为空)
  31149. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31150. parameters:
  31151. - description: 用户id
  31152. in: query
  31153. name: userid
  31154. type: integer
  31155. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31156. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31157. in: query
  31158. name: tmptype
  31159. type: string
  31160. - description: 是否包含公共模板(用户id为空的) 1-包含
  31161. in: query
  31162. name: includepub
  31163. type: integer
  31164. - description: 市场id(天津麦顿指定此参数,其它不用)
  31165. in: query
  31166. name: marketid
  31167. type: integer
  31168. produces:
  31169. - application/json
  31170. responses:
  31171. "200":
  31172. description: OK
  31173. schema:
  31174. items:
  31175. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31176. type: array
  31177. "500":
  31178. description: Internal Server Error
  31179. schema:
  31180. $ref: '#/definitions/app.Response'
  31181. security:
  31182. - ApiKeyAuth: []
  31183. summary: 查询履约模板
  31184. tags:
  31185. - 仓单贸易v2
  31186. /WrTrade2/QuerySiteColumnDetail:
  31187. get:
  31188. parameters:
  31189. - description: 页码
  31190. in: query
  31191. name: page
  31192. type: integer
  31193. - description: 每页条数
  31194. in: query
  31195. name: pagesize
  31196. type: integer
  31197. - description: 所属栏目id
  31198. in: query
  31199. name: columnid
  31200. type: integer
  31201. produces:
  31202. - application/json
  31203. responses:
  31204. "200":
  31205. description: OK
  31206. schema:
  31207. items:
  31208. $ref: '#/definitions/models.WrSiteColumnDetail'
  31209. type: array
  31210. "500":
  31211. description: Internal Server Error
  31212. schema:
  31213. $ref: '#/definitions/app.Response'
  31214. security:
  31215. - ApiKeyAuth: []
  31216. summary: 查询资讯
  31217. tags:
  31218. - 仓单贸易v2
  31219. /WrTrade2/QuerySpotGroupTradeSum:
  31220. get:
  31221. produces:
  31222. - application/json
  31223. responses:
  31224. "200":
  31225. description: OK
  31226. schema:
  31227. items:
  31228. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31229. type: array
  31230. "500":
  31231. description: Internal Server Error
  31232. schema:
  31233. $ref: '#/definitions/app.Response'
  31234. security:
  31235. - ApiKeyAuth: []
  31236. summary: 查询指数
  31237. tags:
  31238. - 仓单贸易v2
  31239. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31240. get:
  31241. description: 查询的结果将会按日期 从小到大 排序
  31242. parameters:
  31243. - description: 现货商品id
  31244. in: query
  31245. name: deliverygoodsid
  31246. required: true
  31247. type: integer
  31248. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31249. in: query
  31250. name: lastnum
  31251. type: integer
  31252. produces:
  31253. - application/json
  31254. responses:
  31255. "200":
  31256. description: OK
  31257. schema:
  31258. items:
  31259. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31260. type: array
  31261. "500":
  31262. description: Internal Server Error
  31263. schema:
  31264. $ref: '#/definitions/app.Response'
  31265. security:
  31266. - ApiKeyAuth: []
  31267. summary: 查询指数详细(价格走势图)
  31268. tags:
  31269. - 仓单贸易v2
  31270. /WrTrade2/QueryWrAverageTradePrice:
  31271. get:
  31272. parameters:
  31273. - description: 页码
  31274. in: query
  31275. name: page
  31276. type: integer
  31277. - description: 每页条数
  31278. in: query
  31279. name: pagesize
  31280. type: integer
  31281. - description: 0:仓单预售 1:仓单贸易
  31282. in: query
  31283. name: haswr
  31284. required: true
  31285. type: integer
  31286. - description: 仓单要素id
  31287. in: query
  31288. name: wrfactortypeid
  31289. required: true
  31290. type: integer
  31291. produces:
  31292. - application/json
  31293. responses:
  31294. "200":
  31295. description: OK
  31296. schema:
  31297. items:
  31298. $ref: '#/definitions/models.WrAverageTradePrice'
  31299. type: array
  31300. "500":
  31301. description: Internal Server Error
  31302. schema:
  31303. $ref: '#/definitions/app.Response'
  31304. security:
  31305. - ApiKeyAuth: []
  31306. summary: 查询成交价(历史走势)
  31307. tags:
  31308. - 仓单贸易v2
  31309. /WrTrade2/QueryWrBrandAndYears:
  31310. get:
  31311. produces:
  31312. - application/json
  31313. responses:
  31314. "200":
  31315. description: OK
  31316. schema:
  31317. items:
  31318. $ref: '#/definitions/models.WrBrandAndYears'
  31319. type: array
  31320. "500":
  31321. description: Internal Server Error
  31322. schema:
  31323. $ref: '#/definitions/app.Response'
  31324. security:
  31325. - ApiKeyAuth: []
  31326. summary: 查询品牌和年份
  31327. tags:
  31328. - 仓单贸易v2
  31329. /WrTrade2/QueryWrBsGoodsInfo:
  31330. get:
  31331. description: 合约交易/买卖大厅/详情
  31332. parameters:
  31333. - description: 商品id
  31334. in: query
  31335. name: goodsid
  31336. required: true
  31337. type: integer
  31338. produces:
  31339. - application/json
  31340. responses:
  31341. "200":
  31342. description: OK
  31343. schema:
  31344. items:
  31345. $ref: '#/definitions/models.WrBsGoodsInfo'
  31346. type: array
  31347. "500":
  31348. description: Internal Server Error
  31349. schema:
  31350. $ref: '#/definitions/app.Response'
  31351. security:
  31352. - ApiKeyAuth: []
  31353. summary: 查询合约交易买卖大厅详情
  31354. tags:
  31355. - 仓单贸易v2
  31356. /WrTrade2/QueryWrBuybackDetail:
  31357. get:
  31358. parameters:
  31359. - description: 融资合同id
  31360. in: query
  31361. name: scfcontractid
  31362. type: integer
  31363. produces:
  31364. - application/json
  31365. responses:
  31366. "200":
  31367. description: OK
  31368. schema:
  31369. items:
  31370. $ref: '#/definitions/models.WrBuybackDetail'
  31371. type: array
  31372. "500":
  31373. description: Internal Server Error
  31374. schema:
  31375. $ref: '#/definitions/app.Response'
  31376. security:
  31377. - ApiKeyAuth: []
  31378. summary: 查询仓单回购明细
  31379. tags:
  31380. - 仓单贸易v2
  31381. /WrTrade2/QueryWrClientAdSpaceConfig:
  31382. get:
  31383. produces:
  31384. - application/json
  31385. responses:
  31386. "200":
  31387. description: OK
  31388. schema:
  31389. items:
  31390. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31391. type: array
  31392. "500":
  31393. description: Internal Server Error
  31394. schema:
  31395. $ref: '#/definitions/app.Response'
  31396. security:
  31397. - ApiKeyAuth: []
  31398. summary: 查询固定广告配置
  31399. tags:
  31400. - 仓单贸易v2
  31401. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31402. get:
  31403. parameters:
  31404. - description: 资金账号
  31405. in: query
  31406. name: accountid
  31407. required: true
  31408. type: integer
  31409. - description: 商品id
  31410. in: query
  31411. name: goodsid
  31412. required: true
  31413. type: integer
  31414. produces:
  31415. - application/json
  31416. responses:
  31417. "200":
  31418. description: OK
  31419. schema:
  31420. items:
  31421. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  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/QueryWrDeliveryDetail:
  31433. get:
  31434. parameters:
  31435. - description: 用户id
  31436. in: query
  31437. name: userid
  31438. required: true
  31439. type: integer
  31440. - description: 资金账号id
  31441. in: query
  31442. name: accountid
  31443. type: integer
  31444. - description: 开始交易日(yyyymmdd)
  31445. in: query
  31446. name: begindate
  31447. type: string
  31448. - description: 结束交易日(yyyymmdd)
  31449. in: query
  31450. name: enddate
  31451. type: string
  31452. produces:
  31453. - application/json
  31454. responses:
  31455. "200":
  31456. description: OK
  31457. schema:
  31458. items:
  31459. $ref: '#/definitions/models.WrDeliveryDetail'
  31460. type: array
  31461. "500":
  31462. description: Internal Server Error
  31463. schema:
  31464. $ref: '#/definitions/app.Response'
  31465. security:
  31466. - ApiKeyAuth: []
  31467. summary: 查询交收
  31468. tags:
  31469. - 仓单贸易v2
  31470. /WrTrade2/QueryWrDraftUserInfo:
  31471. get:
  31472. parameters:
  31473. - description: 用户ID
  31474. in: query
  31475. name: userid
  31476. required: true
  31477. type: integer
  31478. - description: 用户状态 1:正常 2:注销
  31479. in: query
  31480. name: userstatus
  31481. type: integer
  31482. produces:
  31483. - application/json
  31484. responses:
  31485. "200":
  31486. description: OK
  31487. schema:
  31488. items:
  31489. $ref: '#/definitions/models.WrDraftUserInfo'
  31490. type: array
  31491. "500":
  31492. description: Internal Server Error
  31493. schema:
  31494. $ref: '#/definitions/app.Response'
  31495. security:
  31496. - ApiKeyAuth: []
  31497. summary: 查询实名认证信息
  31498. tags:
  31499. - 仓单贸易v2
  31500. /WrTrade2/QueryWrFactorTypeInfo:
  31501. get:
  31502. parameters:
  31503. - description: 仓单要素id
  31504. in: query
  31505. name: wrfactortypeid
  31506. required: true
  31507. type: integer
  31508. produces:
  31509. - application/json
  31510. responses:
  31511. "200":
  31512. description: OK
  31513. schema:
  31514. items:
  31515. $ref: '#/definitions/models.WrFactorTypeInfo'
  31516. type: array
  31517. "500":
  31518. description: Internal Server Error
  31519. schema:
  31520. $ref: '#/definitions/app.Response'
  31521. security:
  31522. - ApiKeyAuth: []
  31523. summary: 查询仓单要素详细信息
  31524. tags:
  31525. - 仓单贸易v2
  31526. /WrTrade2/QueryWrFactorTypeInfoEx:
  31527. get:
  31528. parameters:
  31529. - description: 仓单要素id
  31530. in: query
  31531. name: wrfactortypeid
  31532. required: true
  31533. type: integer
  31534. produces:
  31535. - application/json
  31536. responses:
  31537. "200":
  31538. description: OK
  31539. schema:
  31540. items:
  31541. $ref: '#/definitions/models.WrTypeItem'
  31542. type: array
  31543. "500":
  31544. description: Internal Server Error
  31545. schema:
  31546. $ref: '#/definitions/app.Response'
  31547. security:
  31548. - ApiKeyAuth: []
  31549. summary: 查询仓单要素详细信息列表项
  31550. tags:
  31551. - 仓单贸易v2
  31552. /WrTrade2/QueryWrFinanceBuyApply:
  31553. get:
  31554. description: 页面 融资信息+ / 申请单
  31555. parameters:
  31556. - description: 用户id
  31557. in: query
  31558. name: userid
  31559. required: true
  31560. type: integer
  31561. produces:
  31562. - application/json
  31563. responses:
  31564. "200":
  31565. description: OK
  31566. schema:
  31567. items:
  31568. $ref: '#/definitions/models.WrFinanceBuyApply'
  31569. type: array
  31570. "500":
  31571. description: Internal Server Error
  31572. schema:
  31573. $ref: '#/definitions/app.Response'
  31574. security:
  31575. - ApiKeyAuth: []
  31576. summary: 查询融资购买申请
  31577. tags:
  31578. - 仓单贸易v2
  31579. /WrTrade2/QueryWrFriendApply:
  31580. get:
  31581. parameters:
  31582. - description: 用户id
  31583. in: query
  31584. name: userid
  31585. required: true
  31586. type: integer
  31587. produces:
  31588. - application/json
  31589. responses:
  31590. "200":
  31591. description: OK
  31592. schema:
  31593. items:
  31594. $ref: '#/definitions/models.WrFriendApply'
  31595. type: array
  31596. "500":
  31597. description: Internal Server Error
  31598. schema:
  31599. $ref: '#/definitions/app.Response'
  31600. security:
  31601. - ApiKeyAuth: []
  31602. summary: 查询好友申请记录
  31603. tags:
  31604. - 仓单贸易v2
  31605. /WrTrade2/QueryWrGoodsInfo:
  31606. get:
  31607. parameters:
  31608. - description: 仓单贸易市场id
  31609. in: query
  31610. name: marketid
  31611. type: integer
  31612. - description: 0:仓单预售 1:仓单贸易
  31613. in: query
  31614. name: haswr
  31615. required: true
  31616. type: integer
  31617. - description: 仓单要素id
  31618. in: query
  31619. name: wrfactortypeid
  31620. required: true
  31621. type: integer
  31622. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31623. in: query
  31624. name: tmplateid
  31625. type: integer
  31626. produces:
  31627. - application/json
  31628. responses:
  31629. "200":
  31630. description: OK
  31631. schema:
  31632. items:
  31633. $ref: '#/definitions/models.WrGoodsInfo'
  31634. type: array
  31635. "500":
  31636. description: Internal Server Error
  31637. schema:
  31638. $ref: '#/definitions/app.Response'
  31639. security:
  31640. - ApiKeyAuth: []
  31641. summary: 查询仓单商品信息
  31642. tags:
  31643. - 仓单贸易v2
  31644. /WrTrade2/QueryWrMarketTradeConfig:
  31645. get:
  31646. parameters:
  31647. - description: 市场id
  31648. in: query
  31649. name: marketid
  31650. type: integer
  31651. produces:
  31652. - application/json
  31653. responses:
  31654. "200":
  31655. description: OK
  31656. schema:
  31657. items:
  31658. $ref: '#/definitions/models.WrMarketTradeConfig'
  31659. type: array
  31660. "500":
  31661. description: Internal Server Error
  31662. schema:
  31663. $ref: '#/definitions/app.Response'
  31664. security:
  31665. - ApiKeyAuth: []
  31666. summary: 查询市场交易参数配置
  31667. tags:
  31668. - 仓单贸易v2
  31669. /WrTrade2/QueryWrOrderDetail:
  31670. get:
  31671. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31672. parameters:
  31673. - description: 页码
  31674. in: query
  31675. name: page
  31676. type: integer
  31677. - description: 每页条数
  31678. in: query
  31679. name: pagesize
  31680. type: integer
  31681. - description: 用户id
  31682. in: query
  31683. name: userid
  31684. required: true
  31685. type: integer
  31686. - description: 仓单贸易市场id
  31687. in: query
  31688. name: marketid
  31689. type: integer
  31690. - description: 0:仓单预售 1:仓单贸易
  31691. in: query
  31692. name: haswr
  31693. required: true
  31694. type: integer
  31695. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31696. in: query
  31697. name: bcancel
  31698. type: integer
  31699. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31700. in: query
  31701. name: wrtradetype
  31702. type: integer
  31703. - description: 开始交易日(yyyymmdd)
  31704. in: query
  31705. name: begindate
  31706. type: string
  31707. - description: 结束交易日(yyyymmdd)
  31708. in: query
  31709. name: enddate
  31710. type: string
  31711. produces:
  31712. - application/json
  31713. responses:
  31714. "200":
  31715. description: OK
  31716. schema:
  31717. items:
  31718. $ref: '#/definitions/models.WrOrderDetail'
  31719. type: array
  31720. "500":
  31721. description: Internal Server Error
  31722. schema:
  31723. $ref: '#/definitions/app.Response'
  31724. security:
  31725. - ApiKeyAuth: []
  31726. summary: 查询仓单委托单
  31727. tags:
  31728. - 仓单贸易v2
  31729. /WrTrade2/QueryWrOutInApply:
  31730. get:
  31731. parameters:
  31732. - description: 页码
  31733. in: query
  31734. name: page
  31735. type: integer
  31736. - description: 每页条数
  31737. in: query
  31738. name: pagesize
  31739. type: integer
  31740. - description: 用户id
  31741. in: query
  31742. name: userid
  31743. required: true
  31744. type: integer
  31745. - description: 开始交易日(yyyymmdd)
  31746. in: query
  31747. name: begindate
  31748. type: string
  31749. - description: 结束交易日(yyyymmdd)
  31750. in: query
  31751. name: enddate
  31752. type: string
  31753. produces:
  31754. - application/json
  31755. responses:
  31756. "200":
  31757. description: OK
  31758. schema:
  31759. items:
  31760. $ref: '#/definitions/models.WrOutInApply'
  31761. type: array
  31762. "500":
  31763. description: Internal Server Error
  31764. schema:
  31765. $ref: '#/definitions/app.Response'
  31766. security:
  31767. - ApiKeyAuth: []
  31768. summary: 查询提货申请
  31769. tags:
  31770. - 仓单贸易v2
  31771. /WrTrade2/QueryWrPerformancePlanStep:
  31772. get:
  31773. parameters:
  31774. - description: 履约计划id(performanceplanid)
  31775. in: query
  31776. name: planid
  31777. required: true
  31778. type: integer
  31779. - description: 当前步骤id
  31780. in: query
  31781. name: curstepid
  31782. type: integer
  31783. produces:
  31784. - application/json
  31785. responses:
  31786. "200":
  31787. description: OK
  31788. schema:
  31789. items:
  31790. $ref: '#/definitions/models.WrPerformancePlanStep'
  31791. type: array
  31792. "500":
  31793. description: Internal Server Error
  31794. schema:
  31795. $ref: '#/definitions/app.Response'
  31796. security:
  31797. - ApiKeyAuth: []
  31798. summary: 查询履约信息详情
  31799. tags:
  31800. - 仓单贸易v2
  31801. /WrTrade2/QueryWrPerformanceStepType:
  31802. get:
  31803. produces:
  31804. - application/json
  31805. responses:
  31806. "200":
  31807. description: OK
  31808. schema:
  31809. items:
  31810. $ref: '#/definitions/models.WrPerformanceStepType'
  31811. type: array
  31812. "500":
  31813. description: Internal Server Error
  31814. schema:
  31815. $ref: '#/definitions/app.Response'
  31816. security:
  31817. - ApiKeyAuth: []
  31818. summary: 查询履约步骤枚举
  31819. tags:
  31820. - 仓单贸易v2
  31821. /WrTrade2/QueryWrPosition:
  31822. get:
  31823. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31824. parameters:
  31825. - description: 用户id
  31826. in: query
  31827. name: userid
  31828. required: true
  31829. type: integer
  31830. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31831. in: query
  31832. name: querytype
  31833. required: true
  31834. type: integer
  31835. - description: 0:仓单预售 1:仓单贸易
  31836. in: query
  31837. name: haswr
  31838. required: true
  31839. type: integer
  31840. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31841. in: query
  31842. name: dgitemname
  31843. type: string
  31844. - description: 仓库id(筛选条件)
  31845. in: query
  31846. name: warehouseid
  31847. type: integer
  31848. - description: 品种id
  31849. in: query
  31850. name: deliverygoodsid
  31851. type: integer
  31852. - description: 品类id
  31853. in: query
  31854. name: wrstandardid
  31855. type: integer
  31856. produces:
  31857. - application/json
  31858. responses:
  31859. "200":
  31860. description: OK
  31861. schema:
  31862. items:
  31863. $ref: '#/definitions/models.WrPosition'
  31864. type: array
  31865. "500":
  31866. description: Internal Server Error
  31867. schema:
  31868. $ref: '#/definitions/app.Response'
  31869. security:
  31870. - ApiKeyAuth: []
  31871. summary: 查询现货(预售)仓单持仓
  31872. tags:
  31873. - 仓单贸易v2
  31874. /WrTrade2/QueryWrPreSaleInfo:
  31875. get:
  31876. parameters:
  31877. - description: 市场id
  31878. in: query
  31879. name: marketid
  31880. type: integer
  31881. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31882. in: query
  31883. name: presalestatus
  31884. type: string
  31885. - description: 摇号标识 - 0:未摇号 1:已摇号
  31886. in: query
  31887. name: lotteryflag
  31888. type: integer
  31889. - description: 最近多少条记录(按创建时间倒序)
  31890. in: query
  31891. name: lastnum
  31892. type: integer
  31893. produces:
  31894. - application/json
  31895. responses:
  31896. "200":
  31897. description: OK
  31898. schema:
  31899. items:
  31900. $ref: '#/definitions/models.WrPreSaleInfo'
  31901. type: array
  31902. "500":
  31903. description: Internal Server Error
  31904. schema:
  31905. $ref: '#/definitions/app.Response'
  31906. security:
  31907. - ApiKeyAuth: []
  31908. summary: 查询新品发布
  31909. tags:
  31910. - 仓单贸易v2
  31911. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31912. get:
  31913. parameters:
  31914. - description: 市场id
  31915. in: query
  31916. name: marketid
  31917. required: true
  31918. type: integer
  31919. - description: 现货商品id
  31920. in: query
  31921. name: wrstandardid
  31922. required: true
  31923. type: integer
  31924. - description: 开始交易日(yyyymmdd)
  31925. in: query
  31926. name: begindate
  31927. type: string
  31928. - description: 结束交易日(yyyymmdd)
  31929. in: query
  31930. name: enddate
  31931. type: string
  31932. - description: 最近多少条记录(按交易日倒序)
  31933. in: query
  31934. name: lastnum
  31935. type: integer
  31936. - description: 是否今日
  31937. in: query
  31938. name: istoday
  31939. type: boolean
  31940. produces:
  31941. - application/json
  31942. responses:
  31943. "200":
  31944. description: OK
  31945. schema:
  31946. items:
  31947. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31948. type: array
  31949. "500":
  31950. description: Internal Server Error
  31951. schema:
  31952. $ref: '#/definitions/app.Response'
  31953. security:
  31954. - ApiKeyAuth: []
  31955. summary: 查询价格走势
  31956. tags:
  31957. - 仓单贸易v2
  31958. /WrTrade2/QueryWrScfContract:
  31959. get:
  31960. parameters:
  31961. - description: 用户id
  31962. in: query
  31963. name: userid
  31964. required: true
  31965. type: integer
  31966. - description: 融资合同id
  31967. in: query
  31968. name: scfcontractid
  31969. type: integer
  31970. produces:
  31971. - application/json
  31972. responses:
  31973. "200":
  31974. description: OK
  31975. schema:
  31976. items:
  31977. $ref: '#/definitions/models.WrScfContract'
  31978. type: array
  31979. "500":
  31980. description: Internal Server Error
  31981. schema:
  31982. $ref: '#/definitions/app.Response'
  31983. security:
  31984. - ApiKeyAuth: []
  31985. summary: 查询仓单贸易融资合同
  31986. tags:
  31987. - 仓单贸易v2
  31988. /WrTrade2/QueryWrScfContractInterest:
  31989. get:
  31990. parameters:
  31991. - description: 融资合同id
  31992. in: query
  31993. name: scfcontractid
  31994. type: integer
  31995. produces:
  31996. - application/json
  31997. responses:
  31998. "200":
  31999. description: OK
  32000. schema:
  32001. items:
  32002. $ref: '#/definitions/models.WrScfContractInterest'
  32003. type: array
  32004. "500":
  32005. description: Internal Server Error
  32006. schema:
  32007. $ref: '#/definitions/app.Response'
  32008. security:
  32009. - ApiKeyAuth: []
  32010. summary: 查询融资合同费用明细
  32011. tags:
  32012. - 仓单贸易v2
  32013. /WrTrade2/QueryWrSearchUser:
  32014. get:
  32015. parameters:
  32016. - description: 用户名称(模糊匹配)
  32017. in: query
  32018. name: username
  32019. required: true
  32020. type: string
  32021. produces:
  32022. - application/json
  32023. responses:
  32024. "200":
  32025. description: OK
  32026. schema:
  32027. items:
  32028. $ref: '#/definitions/models.WrSearchUser'
  32029. type: array
  32030. "500":
  32031. description: Internal Server Error
  32032. schema:
  32033. $ref: '#/definitions/app.Response'
  32034. security:
  32035. - ApiKeyAuth: []
  32036. summary: 查询用户
  32037. tags:
  32038. - 仓单贸易v2
  32039. /WrTrade2/QueryWrSpecialMatchOrder:
  32040. get:
  32041. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32042. parameters:
  32043. - description: 页码
  32044. in: query
  32045. name: page
  32046. type: integer
  32047. - description: 每页条数
  32048. in: query
  32049. name: pagesize
  32050. type: integer
  32051. - description: 用户id
  32052. in: query
  32053. name: userid
  32054. required: true
  32055. type: integer
  32056. - description: 仓单贸易市场id
  32057. in: query
  32058. name: marketid
  32059. type: integer
  32060. - description: 0:仓单预售 1:仓单贸易
  32061. in: query
  32062. name: haswr
  32063. required: true
  32064. type: integer
  32065. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32066. in: query
  32067. name: isspecified
  32068. type: integer
  32069. produces:
  32070. - application/json
  32071. responses:
  32072. "200":
  32073. description: OK
  32074. schema:
  32075. items:
  32076. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32077. type: array
  32078. "500":
  32079. description: Internal Server Error
  32080. schema:
  32081. $ref: '#/definitions/app.Response'
  32082. security:
  32083. - ApiKeyAuth: []
  32084. summary: 查询指定成交
  32085. tags:
  32086. - 仓单贸易v2
  32087. /WrTrade2/QueryWrStandardFactoryItem:
  32088. get:
  32089. parameters:
  32090. - description: 品类id
  32091. in: query
  32092. name: wrstandardid
  32093. required: true
  32094. type: integer
  32095. produces:
  32096. - application/json
  32097. responses:
  32098. "200":
  32099. description: OK
  32100. schema:
  32101. items:
  32102. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32103. type: array
  32104. "500":
  32105. description: Internal Server Error
  32106. schema:
  32107. $ref: '#/definitions/app.Response'
  32108. security:
  32109. - ApiKeyAuth: []
  32110. summary: 查询品类要素定义项
  32111. tags:
  32112. - 仓单贸易v2
  32113. /WrTrade2/QueryWrTradeBargainApply:
  32114. get:
  32115. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32116. 议价->对方议价 填写matchuserid=登录用户id
  32117. parameters:
  32118. - description: 议价人id(摘牌方)
  32119. in: query
  32120. name: userid
  32121. type: integer
  32122. - description: 挂牌方id(查对方议价时,填写此项)
  32123. in: query
  32124. name: matchuserid
  32125. type: integer
  32126. - description: 关联委托单id
  32127. in: query
  32128. name: wrtradeorderid
  32129. type: integer
  32130. - description: 0:仓单预售 1:仓单贸易
  32131. in: query
  32132. name: haswr
  32133. required: true
  32134. type: integer
  32135. - description: 开始交易日(yyyymmdd)
  32136. in: query
  32137. name: begindate
  32138. type: string
  32139. - description: 结束交易日(yyyymmdd)
  32140. in: query
  32141. name: enddate
  32142. type: string
  32143. produces:
  32144. - application/json
  32145. responses:
  32146. "200":
  32147. description: OK
  32148. schema:
  32149. items:
  32150. $ref: '#/definitions/models.WRTradeBargainApply'
  32151. type: array
  32152. "500":
  32153. description: Internal Server Error
  32154. schema:
  32155. $ref: '#/definitions/app.Response'
  32156. security:
  32157. - ApiKeyAuth: []
  32158. summary: 查询议价单
  32159. tags:
  32160. - 仓单贸易v2
  32161. /WrTrade2/QueryWrTradeDetail:
  32162. get:
  32163. parameters:
  32164. - description: 页码
  32165. in: query
  32166. name: page
  32167. type: integer
  32168. - description: 每页条数
  32169. in: query
  32170. name: pagesize
  32171. type: integer
  32172. - description: 用户id
  32173. in: query
  32174. name: userid
  32175. required: true
  32176. type: integer
  32177. - description: 仓单贸易市场id
  32178. in: query
  32179. name: marketid
  32180. type: integer
  32181. - description: 0:仓单预售 1:仓单贸易
  32182. in: query
  32183. name: haswr
  32184. required: true
  32185. type: integer
  32186. - description: 开始交易日(yyyymmdd)
  32187. in: query
  32188. name: begindate
  32189. type: string
  32190. - description: 结束交易日(yyyymmdd)
  32191. in: query
  32192. name: enddate
  32193. type: string
  32194. produces:
  32195. - application/json
  32196. responses:
  32197. "200":
  32198. description: OK
  32199. schema:
  32200. items:
  32201. $ref: '#/definitions/models.WrTradeDetail'
  32202. type: array
  32203. "500":
  32204. description: Internal Server Error
  32205. schema:
  32206. $ref: '#/definitions/app.Response'
  32207. security:
  32208. - ApiKeyAuth: []
  32209. summary: 查询仓单成交明细
  32210. tags:
  32211. - 仓单贸易v2
  32212. /WrTrade2/QueryWrTradeOrderDetail:
  32213. get:
  32214. parameters:
  32215. - description: 页码
  32216. in: query
  32217. name: page
  32218. type: integer
  32219. - description: 每页条数
  32220. in: query
  32221. name: pagesize
  32222. type: integer
  32223. - description: 商品id
  32224. in: query
  32225. name: goodsid
  32226. required: true
  32227. type: integer
  32228. - description: 买卖方向 0-买 1-卖
  32229. in: query
  32230. name: buyorsell
  32231. required: true
  32232. type: integer
  32233. produces:
  32234. - application/json
  32235. responses:
  32236. "200":
  32237. description: OK
  32238. schema:
  32239. items:
  32240. $ref: '#/definitions/models.WrTradeOrderDetail'
  32241. type: array
  32242. "500":
  32243. description: Internal Server Error
  32244. schema:
  32245. $ref: '#/definitions/app.Response'
  32246. security:
  32247. - ApiKeyAuth: []
  32248. summary: 查询合约交易买卖大厅
  32249. tags:
  32250. - 仓单贸易v2
  32251. /WrTrade2/QueryWrTradeQuote:
  32252. get:
  32253. parameters:
  32254. - description: 现货商品id
  32255. in: query
  32256. name: wrstandardid
  32257. required: true
  32258. type: integer
  32259. - description: 开始日期(yyyymmdd)
  32260. in: query
  32261. name: begindate
  32262. required: true
  32263. type: string
  32264. - description: 结束日期(yyyymmdd)
  32265. in: query
  32266. name: enddate
  32267. required: true
  32268. type: string
  32269. - description: 市场id
  32270. in: query
  32271. name: marketid
  32272. type: integer
  32273. produces:
  32274. - application/json
  32275. responses:
  32276. "200":
  32277. description: OK
  32278. schema:
  32279. items:
  32280. $ref: '#/definitions/models.Wrtradetradequote'
  32281. type: array
  32282. "500":
  32283. description: Internal Server Error
  32284. schema:
  32285. $ref: '#/definitions/app.Response'
  32286. security:
  32287. - ApiKeyAuth: []
  32288. summary: 查询仓单贸易成交行情
  32289. tags:
  32290. - 仓单贸易v2
  32291. /WrTrade2/QueryWrUserFriend:
  32292. get:
  32293. parameters:
  32294. - description: 用户id
  32295. in: query
  32296. name: userid
  32297. required: true
  32298. type: integer
  32299. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32300. in: query
  32301. name: newuserid
  32302. type: integer
  32303. produces:
  32304. - application/json
  32305. responses:
  32306. "200":
  32307. description: OK
  32308. schema:
  32309. items:
  32310. $ref: '#/definitions/models.WrUserFriend'
  32311. type: array
  32312. "500":
  32313. description: Internal Server Error
  32314. schema:
  32315. $ref: '#/definitions/app.Response'
  32316. security:
  32317. - ApiKeyAuth: []
  32318. summary: 查询我的朋友
  32319. tags:
  32320. - 仓单贸易v2
  32321. /WrTrade2/QueryWrUserReceiptInfo:
  32322. get:
  32323. parameters:
  32324. - description: 用户id
  32325. in: query
  32326. name: userid
  32327. type: integer
  32328. - description: 发票类型 - 1:个人 2:企业
  32329. in: query
  32330. name: receipttype
  32331. type: integer
  32332. produces:
  32333. - application/json
  32334. responses:
  32335. "200":
  32336. description: OK
  32337. schema:
  32338. items:
  32339. $ref: '#/definitions/models.WrUserReceiptInfo'
  32340. type: array
  32341. "500":
  32342. description: Internal Server Error
  32343. schema:
  32344. $ref: '#/definitions/app.Response'
  32345. security:
  32346. - ApiKeyAuth: []
  32347. summary: 查询发票信息
  32348. tags:
  32349. - 仓单贸易v2
  32350. /WrTrade2/QueryXhcpSellBackApply:
  32351. get:
  32352. parameters:
  32353. - description: 用户ID
  32354. in: query
  32355. name: userid
  32356. required: true
  32357. type: integer
  32358. produces:
  32359. - application/json
  32360. responses:
  32361. "200":
  32362. description: OK
  32363. schema:
  32364. items:
  32365. $ref: '#/definitions/models.Xhcpsellbackapply'
  32366. type: array
  32367. "500":
  32368. description: Internal Server Error
  32369. schema:
  32370. $ref: '#/definitions/app.Response'
  32371. security:
  32372. - ApiKeyAuth: []
  32373. summary: 查询我的回收申请(新会陈皮)
  32374. tags:
  32375. - 仓单贸易v2
  32376. /ZJ/GetBankTip:
  32377. get:
  32378. produces:
  32379. - application/json
  32380. responses:
  32381. "200":
  32382. description: OK
  32383. schema:
  32384. type: string
  32385. "500":
  32386. description: Internal Server Error
  32387. schema:
  32388. $ref: '#/definitions/app.Response'
  32389. summary: 获取中江网银端出入金提示信息
  32390. tags:
  32391. - 中江
  32392. /ZJ/GetCusBankChannels:
  32393. get:
  32394. produces:
  32395. - application/json
  32396. responses:
  32397. "200":
  32398. description: OK
  32399. schema:
  32400. items:
  32401. type: string
  32402. type: array
  32403. "500":
  32404. description: Internal Server Error
  32405. schema:
  32406. $ref: '#/definitions/app.Response'
  32407. summary: 获取中江出入金渠道显示列表
  32408. tags:
  32409. - 中江
  32410. securityDefinitions:
  32411. ApiKeyAuth:
  32412. in: header
  32413. name: Authorization
  32414. type: apiKey
  32415. Group:
  32416. in: header
  32417. name: Group
  32418. type: apiKey
  32419. LoginID:
  32420. in: header
  32421. name: LoginID
  32422. type: apiKey
  32423. swagger: "2.0"