swagger.yaml 899 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remainqty:
  9682. description: 剩余重量
  9683. type: number
  9684. remark:
  9685. description: 备注
  9686. type: string
  9687. sellusername:
  9688. description: 账户名称(机构名称)
  9689. type: string
  9690. settingmaterial:
  9691. description: 镶嵌材料 - 类型:4
  9692. type: string
  9693. size1:
  9694. description: 尺寸1 - 类型:2,4,5
  9695. type: string
  9696. size2:
  9697. description: 尺寸2 - 类型:2,4,5
  9698. type: string
  9699. size3:
  9700. description: 尺寸3 - 类型:2,4,5
  9701. type: string
  9702. stonedesc:
  9703. description: 配石描述 - 类型:4
  9704. type: string
  9705. userid:
  9706. description: 用户ID
  9707. type: integer
  9708. warehouseid:
  9709. description: 仓库ID
  9710. type: integer
  9711. warehousenamedisplay:
  9712. type: string
  9713. weight:
  9714. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9715. type: number
  9716. weightavg:
  9717. description: 平均单颗重量 - 类型:1,3
  9718. type: number
  9719. wrpath:
  9720. description: 仓单扫描件(相对地址)
  9721. type: string
  9722. wrstandardid:
  9723. description: 现货商品ID
  9724. type: integer
  9725. wrtradeorderid:
  9726. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9727. type: string
  9728. zscategory:
  9729. description: 钻石分类 - 枚举”ZSCategory“
  9730. type: integer
  9731. zscategorydisplay:
  9732. type: string
  9733. zscerttype:
  9734. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9735. type: integer
  9736. zscerttypedisplay:
  9737. type: string
  9738. zsclaritytype1:
  9739. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9740. type: integer
  9741. zsclaritytype1display:
  9742. type: string
  9743. zsclaritytype2:
  9744. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9745. type: integer
  9746. zsclaritytype2display:
  9747. type: string
  9748. zscolortype1:
  9749. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9750. type: integer
  9751. zscolortype1display:
  9752. type: string
  9753. zscolortype2:
  9754. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9755. type: integer
  9756. zscolortype2display:
  9757. type: string
  9758. zscrystaltype:
  9759. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9760. type: string
  9761. zscrystaltypedisplay:
  9762. type: string
  9763. zscurrencytype:
  9764. description: 货币类型 - 枚举“ZSCurrencyType”
  9765. type: integer
  9766. zscurrencytypedisplay:
  9767. type: string
  9768. zscurrencytypedisplayunit:
  9769. type: string
  9770. zscuttype1:
  9771. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9772. type: integer
  9773. zscuttype1display:
  9774. type: string
  9775. zscuttype2:
  9776. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9777. type: integer
  9778. zscuttype2display:
  9779. type: string
  9780. zsczcolor1type:
  9781. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9782. type: integer
  9783. zsczcolor1typedisplay:
  9784. type: string
  9785. zsczcolor2type:
  9786. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9787. type: integer
  9788. zsczcolor2typedisplay:
  9789. type: string
  9790. zsczcolor3type:
  9791. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9792. type: integer
  9793. zsczcolor3typedisplay:
  9794. type: string
  9795. zsfluorescencetype1:
  9796. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9797. type: integer
  9798. zsfluorescencetype1display:
  9799. type: string
  9800. zsfluorescencetype2:
  9801. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9802. type: integer
  9803. zsfluorescencetype2display:
  9804. type: string
  9805. zspolishtype1:
  9806. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9807. type: integer
  9808. zspolishtype1display:
  9809. type: string
  9810. zspolishtype2:
  9811. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9812. type: integer
  9813. zspolishtype2display:
  9814. type: string
  9815. zsshapetype:
  9816. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9817. type: string
  9818. zsshapetypedisplay:
  9819. type: string
  9820. zsstyletype:
  9821. description: 款式 - 类型:4
  9822. type: integer
  9823. zsstyletypedisplay:
  9824. type: string
  9825. zssymmetrytype1:
  9826. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9827. type: integer
  9828. zssymmetrytype1display:
  9829. type: string
  9830. zssymmetrytype2:
  9831. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9832. type: integer
  9833. zssymmetrytype2display:
  9834. type: string
  9835. required:
  9836. - goodsno
  9837. type: object
  9838. models.GZWarehouseinfo:
  9839. properties:
  9840. address:
  9841. description: 详细地址
  9842. type: string
  9843. areauserid:
  9844. description: 所属机构
  9845. type: integer
  9846. autoid:
  9847. description: 自增ID
  9848. type: integer
  9849. cityid:
  9850. description: 市
  9851. type: integer
  9852. contactname:
  9853. description: 联系人
  9854. type: string
  9855. contactnum:
  9856. description: 联系电话
  9857. type: string
  9858. countryid:
  9859. description: 国家
  9860. type: integer
  9861. createtime:
  9862. description: 创建时间
  9863. type: string
  9864. districtid:
  9865. description: 区
  9866. type: integer
  9867. hasvideo:
  9868. description: 是否有视频 - 0:无 1:有
  9869. type: integer
  9870. provinceid:
  9871. description: 省
  9872. type: integer
  9873. remark:
  9874. description: 审核备注
  9875. type: string
  9876. videourl:
  9877. description: 视频地址
  9878. type: string
  9879. warehousecode:
  9880. description: 仓库代码
  9881. type: string
  9882. warehousename:
  9883. description: 仓库名称
  9884. type: string
  9885. warehousestatus:
  9886. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9887. type: integer
  9888. warehousetype:
  9889. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9890. type: integer
  9891. type: object
  9892. models.Goods:
  9893. properties:
  9894. agreeunit:
  9895. description: 合约单位
  9896. type: number
  9897. areauserid:
  9898. description: 所属机构
  9899. type: integer
  9900. auditaccountid:
  9901. description: 审核操作员账号
  9902. type: integer
  9903. audittime:
  9904. description: 审核时间
  9905. type: string
  9906. cancelaccountid:
  9907. description: 注销操作员账号
  9908. type: integer
  9909. canceltime:
  9910. description: 注销时间
  9911. type: string
  9912. closepricemode:
  9913. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9914. type: integer
  9915. closepriceparam:
  9916. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9917. type: number
  9918. createtime:
  9919. description: 创建时间
  9920. type: string
  9921. creatorid:
  9922. description: 创建人
  9923. type: integer
  9924. currencyid:
  9925. description: 报价货币ID
  9926. type: integer
  9927. cutmode:
  9928. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9929. type: integer
  9930. decimalplace:
  9931. description: 报价小数位
  9932. type: integer
  9933. delistingdate:
  9934. description: 商品退市时间(状态:退市) -- 已作废
  9935. type: string
  9936. delistingmode:
  9937. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9938. type: integer
  9939. deliveryflag:
  9940. description: 交割标志 - 0:不可交割 1:可交割
  9941. type: integer
  9942. forceclosemode:
  9943. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9944. type: integer
  9945. forceclosevalue:
  9946. description: 定期强平参数 [收益权]
  9947. type: integer
  9948. goodscode:
  9949. description: 商品代码(内部)
  9950. type: string
  9951. goodscurrencyid:
  9952. description: 合约货币ID
  9953. type: integer
  9954. goodsgroupid:
  9955. description: 所属商品组ID
  9956. type: integer
  9957. goodsid:
  9958. description: 商品ID(自增ID SEQ_GOODS)
  9959. type: integer
  9960. goodsname:
  9961. description: 商品名称
  9962. type: string
  9963. goodsquotetype:
  9964. description: '合约报价类型: 1-直接报价 2-间接报价'
  9965. type: integer
  9966. goodsstatus:
  9967. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9968. type: integer
  9969. goodstradetype:
  9970. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9971. type: integer
  9972. goodunitid:
  9973. description: 报价单位ID
  9974. type: integer
  9975. hasquoter:
  9976. description: 是否有报价商 - 0:无报价商 1:有报价商
  9977. type: integer
  9978. hqprotecttime:
  9979. description: 行情保护时间(秒)
  9980. type: integer
  9981. innerdealmode:
  9982. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9983. type: integer
  9984. isbuylimited:
  9985. description: 是否限制建仓量 - 0:不限制 1:限制
  9986. type: integer
  9987. isvisible:
  9988. description: 游客是否可见 - 0:不可见 1:可见
  9989. type: integer
  9990. lasttradedate:
  9991. description: 最后交易日期(状态:待退市)
  9992. type: string
  9993. listingdate:
  9994. description: 交易开始日期
  9995. type: string
  9996. marketid:
  9997. description: 所属市场ID
  9998. type: integer
  9999. modifierid:
  10000. description: 修改人
  10001. type: integer
  10002. modifystatus:
  10003. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10004. type: integer
  10005. modifytime:
  10006. description: 修改时间
  10007. type: string
  10008. outerdealmode:
  10009. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10010. type: integer
  10011. outgoodscode:
  10012. description: 商品代码(外部)
  10013. type: string
  10014. pictureurl:
  10015. description: 商品图片
  10016. type: string
  10017. qtydecimalplace:
  10018. description: 成交量小数位
  10019. type: integer
  10020. quotegear:
  10021. description: 行情档位(1-10)
  10022. type: integer
  10023. quoteminunit:
  10024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10025. type: integer
  10026. quoteshowtype:
  10027. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10028. type: integer
  10029. quoteshowtypeinterval:
  10030. description: 行情报价间隔时间(秒)(成交价时为0)
  10031. type: integer
  10032. remark:
  10033. description: 备注
  10034. type: string
  10035. required:
  10036. - goodscode
  10037. - goodsid
  10038. - goodsname
  10039. - marketid
  10040. type: object
  10041. models.GoodsIDAndName:
  10042. properties:
  10043. goodscode:
  10044. description: 商品代码(内部)
  10045. type: string
  10046. goodsid:
  10047. description: 商品ID(自增ID SEQ_GOODS)
  10048. type: integer
  10049. goodsname:
  10050. description: 商品名称
  10051. type: string
  10052. marketid:
  10053. description: 所属市场ID
  10054. type: integer
  10055. required:
  10056. - goodscode
  10057. - goodsid
  10058. - goodsname
  10059. - marketid
  10060. type: object
  10061. models.Goodsgroup:
  10062. properties:
  10063. agreeunit:
  10064. description: 合约单位
  10065. type: number
  10066. canshort:
  10067. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10068. type: integer
  10069. closepricemode:
  10070. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10071. type: integer
  10072. closepriceparam:
  10073. description: 强平最新价浮动比例 - 方式为2时使用
  10074. type: number
  10075. createtime:
  10076. description: 创建时间
  10077. type: string
  10078. creatorid:
  10079. description: 创建人
  10080. type: integer
  10081. currencyid:
  10082. description: 报价货币ID
  10083. type: integer
  10084. decimalplace:
  10085. description: 报价小数位
  10086. type: integer
  10087. exercisetype:
  10088. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10089. type: integer
  10090. exexchangeid:
  10091. description: 外部交易所ID[通道交易]
  10092. type: integer
  10093. goodsgroupid:
  10094. description: 商品组ID(自增ID)
  10095. type: integer
  10096. goodsgroupname:
  10097. description: 商品组名称
  10098. type: string
  10099. goodsgroupstatus:
  10100. description: 商品组状态 - 1:正常 2:注销
  10101. type: integer
  10102. goodunitid:
  10103. description: 报价单位ID
  10104. type: integer
  10105. innerdealmode:
  10106. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10107. type: integer
  10108. isbuylimited:
  10109. description: 是否限制建仓量 - 0:不限制 1:限制
  10110. type: integer
  10111. marketid:
  10112. description: 所属市场ID
  10113. type: integer
  10114. modifierid:
  10115. description: 修改人
  10116. type: integer
  10117. modifytime:
  10118. description: 修改时间
  10119. type: string
  10120. outerdealmode:
  10121. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10122. type: integer
  10123. outergroupcode:
  10124. description: 外部商品组代码[通道交易]
  10125. type: string
  10126. premiumdecimalplace:
  10127. description: 权利金小数位[场外期权]
  10128. type: integer
  10129. premiumspreadalgorithm:
  10130. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10131. type: integer
  10132. premiumspreadvalue:
  10133. description: 权利金点差值[场外期权]
  10134. type: number
  10135. qtydecimalplace:
  10136. description: 成交量小数位
  10137. type: integer
  10138. quotegear:
  10139. description: 行情档位(1-10)
  10140. type: integer
  10141. quoteminunit:
  10142. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10143. type: integer
  10144. quoterid:
  10145. description: 报价商ID[场外期权]
  10146. type: integer
  10147. quotesourcegroupid:
  10148. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10149. type: integer
  10150. syncgoodsqty:
  10151. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10152. type: integer
  10153. required:
  10154. - goodsgroupid
  10155. - goodsgroupname
  10156. - goodsgroupstatus
  10157. - marketid
  10158. type: object
  10159. models.Goodssortbypreposition:
  10160. properties:
  10161. goodscode:
  10162. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10163. type: string
  10164. goodsgroupcode:
  10165. description: 品种代码
  10166. type: string
  10167. prepositionqty:
  10168. description: 昨持仓量
  10169. type: integer
  10170. sortindex:
  10171. description: 排序
  10172. type: integer
  10173. tradedate:
  10174. description: 交易日
  10175. type: string
  10176. updatetime:
  10177. description: 更新时间
  10178. type: string
  10179. required:
  10180. - goodscode
  10181. - tradedate
  10182. type: object
  10183. models.Hedgeinnerholderdetail:
  10184. properties:
  10185. accountid:
  10186. description: 账号ID
  10187. type: integer
  10188. buyorsell:
  10189. description: 方向 - 0:买 1:卖
  10190. type: integer
  10191. freezeqty:
  10192. description: 冻结数量 - 按单平使用
  10193. type: integer
  10194. goodsid:
  10195. description: 商品ID
  10196. type: integer
  10197. holderamount:
  10198. description: 持仓金额 [商品币种]
  10199. type: number
  10200. holderdays:
  10201. description: 剩余冻结天数
  10202. type: integer
  10203. holderprice:
  10204. description: 持仓价格
  10205. type: number
  10206. holderqty:
  10207. description: 持仓数量
  10208. type: integer
  10209. marketid:
  10210. description: 市场ID
  10211. type: integer
  10212. openprice:
  10213. description: 建仓价格
  10214. type: number
  10215. openqty:
  10216. description: 建仓数量
  10217. type: integer
  10218. parentaccountid:
  10219. description: 所属母账户
  10220. type: integer
  10221. releaseamount:
  10222. description: 释放持仓金额[商品币种]
  10223. type: number
  10224. tradeamount:
  10225. description: 成交金额[账户]
  10226. type: number
  10227. tradedate:
  10228. description: 交易日(yyyyMMdd)
  10229. type: string
  10230. tradeid:
  10231. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10232. type: string
  10233. tradetime:
  10234. description: 交易时间
  10235. type: string
  10236. required:
  10237. - buyorsell
  10238. - tradeid
  10239. type: object
  10240. models.Hedgemarketopenlog:
  10241. properties:
  10242. accountid:
  10243. description: 资金账号[外部母账户]
  10244. type: integer
  10245. fcname:
  10246. description: 期货公司名称
  10247. type: string
  10248. handlestatus:
  10249. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10250. type: integer
  10251. marketid:
  10252. description: 市场ID
  10253. type: integer
  10254. status:
  10255. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10256. type: integer
  10257. tradedate:
  10258. description: 交易日(yyyyMMdd)
  10259. type: string
  10260. updatetime:
  10261. description: 更新时间
  10262. type: string
  10263. required:
  10264. - accountid
  10265. type: object
  10266. models.InternalEnableTradeDetail:
  10267. properties:
  10268. agreeunit:
  10269. description: 合约乘数
  10270. type: number
  10271. areauserid:
  10272. description: 企业ID
  10273. type: integer
  10274. convertratio:
  10275. description: 品种系数
  10276. type: number
  10277. deliverygoodscode:
  10278. description: 现货品种代码
  10279. type: string
  10280. deliverygoodsid:
  10281. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10282. type: integer
  10283. deliverygoodsname:
  10284. description: 现货品种名称
  10285. type: string
  10286. futurehedgeqty:
  10287. description: '[已关联数量]期货持仓套期量'
  10288. type: number
  10289. goodsid:
  10290. description: 期货合约ID
  10291. type: integer
  10292. hedgeditemid:
  10293. description: 被套期项目ID
  10294. type: string
  10295. hedgeditemnum:
  10296. description: 项目编号
  10297. type: string
  10298. tradeuserid:
  10299. description: 交易用户ID
  10300. type: integer
  10301. unexehedgeqty:
  10302. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10303. type: number
  10304. unexespotqty:
  10305. description: 未执行现货量
  10306. type: number
  10307. wrstandardcode:
  10308. description: 现货品类代码
  10309. type: string
  10310. wrstandardid:
  10311. description: 现货品类ID(SEQ_WRSTANDARD)
  10312. type: integer
  10313. wrstandardname:
  10314. description: 现货品类名称
  10315. type: string
  10316. required:
  10317. - areauserid
  10318. - goodsid
  10319. - tradeuserid
  10320. type: object
  10321. models.InternalUncorrelatedTradeDetail:
  10322. properties:
  10323. accountid:
  10324. description: 账号ID
  10325. type: integer
  10326. accountname:
  10327. description: 套期主体
  10328. type: string
  10329. agreeunit:
  10330. description: 合约乘数
  10331. type: number
  10332. areauserid:
  10333. description: 所属机构
  10334. type: integer
  10335. bizsubjectid:
  10336. description: 归属业务部门ID - SubjectID
  10337. type: integer
  10338. buyorsell:
  10339. description: 方向 - 0:买 1:卖
  10340. type: integer
  10341. channelbuildtype:
  10342. description: 委托单据类型 0:无 1:建仓 2:平仓
  10343. type: integer
  10344. convertratio:
  10345. description: 品种系数
  10346. type: number
  10347. createtime:
  10348. description: 创建时间
  10349. type: string
  10350. creatorid:
  10351. description: 创建人ID
  10352. type: integer
  10353. creatorsrc:
  10354. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10355. type: integer
  10356. enableqty:
  10357. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10358. type: number
  10359. enumdicname:
  10360. description: 单位
  10361. type: string
  10362. goodscode:
  10363. description: 合约代码
  10364. type: string
  10365. goodsgroupid:
  10366. description: 对冲品种ID[期货合约商品组ID]
  10367. type: integer
  10368. goodsid:
  10369. description: 商品ID
  10370. type: integer
  10371. goodsname:
  10372. description: 合约名称
  10373. type: string
  10374. hedgeditemid:
  10375. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10376. type: integer
  10377. hedgeflag:
  10378. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10379. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10380. type: integer
  10381. linkdetailid:
  10382. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10383. type: string
  10384. linkstatus:
  10385. description: 关联状态 - 1:成功 2:失败 3:解绑
  10386. type: integer
  10387. middlegoodsid:
  10388. description: 套保品种ID
  10389. type: integer
  10390. middlegoodsqty:
  10391. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10392. type: number
  10393. relatedlot:
  10394. description: '[数量]关联手数'
  10395. type: number
  10396. relatedmode:
  10397. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10398. type: integer
  10399. relatedqty:
  10400. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10401. type: number
  10402. retcode:
  10403. description: 返回码
  10404. type: integer
  10405. saleuserid:
  10406. description: 业务员ID
  10407. type: integer
  10408. tradedate:
  10409. description: 关联交易日(yyyyMMdd)
  10410. type: string
  10411. tradeid:
  10412. description: 成交单号
  10413. type: string
  10414. tradelot:
  10415. description: 成交手数
  10416. type: integer
  10417. tradeprice:
  10418. description: 成交价
  10419. type: number
  10420. tradetime:
  10421. description: 成交时间
  10422. type: string
  10423. tradetradedate:
  10424. description: 成交交易日(yyyyMMdd)
  10425. type: string
  10426. tradeuserid:
  10427. description: 交易用户ID
  10428. type: integer
  10429. type: object
  10430. models.Loginaccount:
  10431. properties:
  10432. accountname:
  10433. description: 账户名称
  10434. type: string
  10435. canoutin:
  10436. description: 是否可出入金 - 0:不可 1:可
  10437. type: integer
  10438. clientroleid:
  10439. description: 终端角色ID
  10440. type: integer
  10441. haslogined:
  10442. description: 是否已登录 - 0:未登录 1:已登录
  10443. type: integer
  10444. hasupdatedpwd:
  10445. description: 是否已更改密码 - 0:未修改 1:已修改
  10446. type: integer
  10447. lastloginip:
  10448. description: 最新登录地址
  10449. type: string
  10450. lastloginmode:
  10451. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10452. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10453. type: integer
  10454. lastloginremark:
  10455. description: 最新登录描述
  10456. type: string
  10457. lastlogintime:
  10458. description: 最新登录时间
  10459. type: string
  10460. logincode:
  10461. description: 登录代码
  10462. type: string
  10463. loginfailnum:
  10464. description: 连续登录失败次数(登录成功时清零)
  10465. type: integer
  10466. loginid:
  10467. description: 登陆账号
  10468. type: integer
  10469. loginport:
  10470. description: 最新登录端口
  10471. type: integer
  10472. loginstatus:
  10473. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10474. type: integer
  10475. loginusertype:
  10476. description: 登录账号类型 - 1:投资者 2:机构交易员
  10477. type: integer
  10478. mobile:
  10479. description: 手机号码(加密存储)
  10480. type: string
  10481. modifierid:
  10482. description: 修改人
  10483. type: integer
  10484. modifysrc:
  10485. description: 审核来源 - 1:管理端 2:终端
  10486. type: integer
  10487. modifytime:
  10488. description: 修改时间
  10489. type: string
  10490. pwdwrongcount:
  10491. description: 密码错误次数
  10492. type: integer
  10493. relateduserid:
  10494. description: 关联用户ID(机构)
  10495. type: integer
  10496. taaccountrighttype:
  10497. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10498. type: integer
  10499. unfreezetime:
  10500. description: 账户解冻时间
  10501. type: string
  10502. userid:
  10503. description: 用户ID
  10504. type: integer
  10505. required:
  10506. - loginid
  10507. type: object
  10508. models.MainAccountInfo:
  10509. properties:
  10510. accountid:
  10511. description: 账号id
  10512. type: integer
  10513. accountname:
  10514. description: 账号名称(taaccount表中的名称)
  10515. type: string
  10516. appid:
  10517. description: AppID
  10518. type: string
  10519. authcode:
  10520. description: 授权码
  10521. type: string
  10522. brokerid:
  10523. description: 经纪商id
  10524. type: string
  10525. fcid:
  10526. description: 期货公司id
  10527. type: integer
  10528. fcname:
  10529. description: 期货公司代码
  10530. type: string
  10531. hedgeaccountcode:
  10532. description: 外部账号代码(主账号登录代码)
  10533. type: string
  10534. hedgeaccountpwd:
  10535. description: 密码
  10536. type: string
  10537. ismain:
  10538. description: 是否主账号
  10539. type: integer
  10540. relateduserid:
  10541. description: 关联用户id
  10542. type: integer
  10543. userid:
  10544. description: 关联用户id
  10545. type: integer
  10546. type: object
  10547. models.Market:
  10548. properties:
  10549. auctionwrtype:
  10550. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10551. type: integer
  10552. canacceptquote:
  10553. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10554. type: integer
  10555. cangoodsexercise:
  10556. description: '[期权]是否可现货行权- 0:否 1:是'
  10557. type: integer
  10558. cangoodsexercisetype:
  10559. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10560. type: integer
  10561. canmanualquotestrike:
  10562. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10563. type: integer
  10564. canmutistage:
  10565. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10566. type: integer
  10567. canpreexercise:
  10568. description: '[期权]是否可预申报- 0:否 1:是'
  10569. type: integer
  10570. clearinterval:
  10571. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10572. type: integer
  10573. contracttmp:
  10574. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10575. type: string
  10576. exchareaid:
  10577. description: 所属交易所,可以没有
  10578. type: integer
  10579. goodstype:
  10580. description: 商品类型 - 1:交易商品 2:仓单商品
  10581. type: integer
  10582. hasrebate:
  10583. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10584. type: integer
  10585. hastradecredit:
  10586. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10587. type: integer
  10588. haswr:
  10589. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10590. type: integer
  10591. isdeductmargin:
  10592. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10593. type: integer
  10594. isrecordsource:
  10595. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10596. type: integer
  10597. isreleasemargin:
  10598. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10599. type: integer
  10600. marginformula:
  10601. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marginformula2:
  10604. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marketid:
  10607. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10608. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10609. type: integer
  10610. marketname:
  10611. description: 市场名称
  10612. type: string
  10613. marketserviceid:
  10614. description: 市场服务ID
  10615. type: integer
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. markettype:
  10620. description: 市场类型- 1:非交易服务 2:交易服务
  10621. type: integer
  10622. matchermode:
  10623. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10624. type: integer
  10625. openmethod:
  10626. description: 开盘模式 - 0 自动 1手动
  10627. type: integer
  10628. otcuserid:
  10629. description: 场外期权做市商[场外期权]
  10630. type: integer
  10631. outersynctime:
  10632. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10633. type: string
  10634. pendingflag:
  10635. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10636. type: integer
  10637. pendingtime:
  10638. description: 待开市时间[通道交易-对冲](HH:mm)
  10639. type: string
  10640. performancetempid:
  10641. description: 履约计划模板ID - 作废
  10642. type: integer
  10643. premiumquotemode:
  10644. description: 权利金报价方式 - 1:自动 2:手动
  10645. type: integer
  10646. rebateratio:
  10647. description: 返利比率[竞价式]
  10648. type: number
  10649. reckonorder:
  10650. description: 结算顺序
  10651. type: integer
  10652. reckonpricealgorithm:
  10653. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10654. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10655. type: integer
  10656. reckonpriceparam:
  10657. description: 结算价参数
  10658. type: integer
  10659. reckontime:
  10660. description: 结算时间[通道交易-对冲](HH:mm)
  10661. type: string
  10662. roleprioritytype:
  10663. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10664. type: integer
  10665. selllistingauditflag:
  10666. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10667. type: integer
  10668. trademarkettype:
  10669. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10670. type: integer
  10671. trademode:
  10672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10673. 21:竞拍-大宗式 22:受托竞价
  10674. type: integer
  10675. tradeproperty:
  10676. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10677. 8:场外期权
  10678. type: integer
  10679. tradetype:
  10680. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10681. type: integer
  10682. required:
  10683. - marketid
  10684. - marketstatus
  10685. - openmethod
  10686. - reckonpricealgorithm
  10687. - trademode
  10688. - tradeproperty
  10689. type: object
  10690. models.Marketcalendar:
  10691. properties:
  10692. holidaydate:
  10693. description: 节假日期(yyyy-MM-dd)
  10694. type: string
  10695. marketid:
  10696. description: 市场ID
  10697. type: integer
  10698. type: object
  10699. models.Marketrun:
  10700. properties:
  10701. afternexttradedate:
  10702. description: 下下交易日
  10703. type: string
  10704. clearquoteflag:
  10705. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10706. type: integer
  10707. lastreckondate:
  10708. description: 最新交易日(结算成功)
  10709. type: string
  10710. machinedate:
  10711. description: 机器时间
  10712. type: string
  10713. manualflag:
  10714. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10715. type: integer
  10716. marketid:
  10717. description: 市场ID
  10718. type: integer
  10719. nexttradedate:
  10720. description: 下一交易日
  10721. type: string
  10722. pretradedate:
  10723. description: 上一交易日
  10724. type: string
  10725. reckonflag:
  10726. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10727. type: integer
  10728. runstatus:
  10729. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10730. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10731. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10732. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10733. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10734. 62.今日免清算
  10735. type: integer
  10736. sectionid:
  10737. description: 时间段号[多时段时用]
  10738. type: integer
  10739. tradedate:
  10740. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10741. type: string
  10742. tradedate2:
  10743. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10744. type: string
  10745. updatetime:
  10746. description: 更新时间
  10747. type: string
  10748. required:
  10749. - marketid
  10750. - nexttradedate
  10751. - reckonflag
  10752. - runstatus
  10753. - tradedate
  10754. - tradedate2
  10755. type: object
  10756. models.Messageboard:
  10757. properties:
  10758. contactnum:
  10759. description: 联系电话
  10760. type: string
  10761. createtime:
  10762. description: 创建时间
  10763. type: string
  10764. message:
  10765. description: 留言信息
  10766. type: string
  10767. messageboardid:
  10768. description: 留言簿ID(SEQ_MessageBoard)
  10769. type: integer
  10770. userid:
  10771. description: 用户ID
  10772. type: integer
  10773. required:
  10774. - messageboardid
  10775. type: object
  10776. models.MyBargainApply:
  10777. properties:
  10778. accountid:
  10779. description: 摘牌资金账号
  10780. type: integer
  10781. applyprice:
  10782. description: 申请价格
  10783. type: string
  10784. applyremark:
  10785. description: 申请备注
  10786. type: string
  10787. applystatus:
  10788. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10789. type: integer
  10790. applytime:
  10791. description: 申请时间
  10792. type: string
  10793. buyorsell:
  10794. description: 买卖 - 0:买 1:卖
  10795. type: integer
  10796. confirmprice:
  10797. description: 可接受价格(拒绝时填写)-作废
  10798. type: number
  10799. confirmqty:
  10800. description: 可接受数量(拒绝时填写)-作废
  10801. type: integer
  10802. confirmremark:
  10803. description: 确认备注
  10804. type: string
  10805. confirmtime:
  10806. description: 确认时间
  10807. type: string
  10808. confirmuserid:
  10809. description: 确认人
  10810. type: integer
  10811. handlestatus:
  10812. description: 处理状态
  10813. type: integer
  10814. ladingbillid:
  10815. description: 摘牌方提单ID [卖]
  10816. type: integer
  10817. marketid:
  10818. description: 市场ID
  10819. type: integer
  10820. matchaccountid:
  10821. description: 挂牌方资金账号
  10822. type: integer
  10823. matchuserid:
  10824. description: 挂牌方用户ID
  10825. type: integer
  10826. price:
  10827. description: 价格
  10828. type: number
  10829. priceper:
  10830. description: 克拉单价 - 类型:1,2,3,5
  10831. type: string
  10832. qty:
  10833. description: 申请数量
  10834. type: number
  10835. refprice:
  10836. description: 参考价格
  10837. type: string
  10838. retcode:
  10839. description: 委托返回代码
  10840. type: integer
  10841. sellusername:
  10842. description: 卖方
  10843. type: string
  10844. sizedisplay:
  10845. description: 尺寸
  10846. type: string
  10847. subnum:
  10848. description: 摘牌方提单子单号 [卖]
  10849. type: integer
  10850. tradedate:
  10851. description: 交易日(yyyyMMdd)
  10852. type: string
  10853. userid:
  10854. description: 摘牌人用户ID
  10855. type: integer
  10856. warehousenamedisplay:
  10857. type: string
  10858. wrbargainid:
  10859. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10860. type: string
  10861. wrtradeorderid:
  10862. description: 关联委托单ID
  10863. type: integer
  10864. zscerttypedisplay:
  10865. type: string
  10866. zsclaritytype1display:
  10867. type: string
  10868. zsclaritytype2display:
  10869. type: string
  10870. zscolortype1display:
  10871. type: string
  10872. zscolortype2display:
  10873. type: string
  10874. zscrystaltypedisplay:
  10875. type: string
  10876. zscurrencytypedisplay:
  10877. type: string
  10878. zscurrencytypedisplayunit:
  10879. type: string
  10880. zscuttype1display:
  10881. type: string
  10882. zscuttype2display:
  10883. type: string
  10884. zsczcolor1typedisplay:
  10885. type: string
  10886. zsczcolor2typedisplay:
  10887. type: string
  10888. zsczcolor3typedisplay:
  10889. type: string
  10890. zsfluorescencetype1display:
  10891. type: string
  10892. zsfluorescencetype2display:
  10893. type: string
  10894. zspolishtype1display:
  10895. type: string
  10896. zspolishtype2display:
  10897. type: string
  10898. zsshapetypedisplay:
  10899. type: string
  10900. zsstyletypedisplay:
  10901. type: string
  10902. zssymmetrytype1display:
  10903. type: string
  10904. zssymmetrytype2display:
  10905. type: string
  10906. required:
  10907. - userid
  10908. type: object
  10909. models.MyBuyOrder:
  10910. properties:
  10911. accountid:
  10912. description: 资金账户ID
  10913. type: integer
  10914. marketid:
  10915. description: 市场ID
  10916. type: integer
  10917. ordertime:
  10918. description: 委托时间
  10919. type: string
  10920. origin:
  10921. description: 原产地
  10922. type: string
  10923. remark:
  10924. description: 备注
  10925. type: string
  10926. userid:
  10927. description: 用户ID
  10928. type: integer
  10929. validtime:
  10930. description: 有效期限
  10931. type: string
  10932. warehouseids:
  10933. description: 仓库ID - 多个, 逗号分隔
  10934. type: string
  10935. warehouseinfosdisplay:
  10936. type: string
  10937. wrtradeorderid:
  10938. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10939. type: string
  10940. wrtradeorderstatus:
  10941. 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、
  10942. type: integer
  10943. zscategory:
  10944. description: 钻石分类 - 枚举”ZSCategory“
  10945. type: integer
  10946. zscategorydisplay:
  10947. type: string
  10948. zsclaritytype:
  10949. description: 净度 - 两个, 逗号分隔
  10950. type: string
  10951. zsclaritytypedisplay:
  10952. type: string
  10953. zscolortype:
  10954. description: 颜色 - 两个, 逗号分隔
  10955. type: string
  10956. zscolortypedisplay:
  10957. type: string
  10958. zscrystaltype:
  10959. description: 晶型 - 多个,逗号分隔
  10960. type: string
  10961. zscrystaltypedisplay:
  10962. type: string
  10963. zscurrencytype:
  10964. description: 货币类型 - 多个, 逗号分隔
  10965. type: string
  10966. zscurrencytypedisplay:
  10967. type: string
  10968. zscuttype:
  10969. description: 切工 - 两个, 逗号分隔
  10970. type: string
  10971. zscuttypedisplay:
  10972. type: string
  10973. zsczcolor1type:
  10974. description: 彩钻颜色1, 逗号分隔
  10975. type: string
  10976. zsczcolor1typedisplay:
  10977. type: string
  10978. zsczcolor2type:
  10979. description: 彩钻颜色2, 逗号分隔
  10980. type: string
  10981. zsczcolor2typedisplay:
  10982. type: string
  10983. zsczcolor3type:
  10984. description: 彩钻颜色3, 逗号分隔
  10985. type: string
  10986. zsczcolor3typedisplay:
  10987. type: string
  10988. zsfluorescencetype:
  10989. description: 荧光 - 多个, 逗号分隔
  10990. type: string
  10991. zsfluorescencetypedisplay:
  10992. type: string
  10993. zspolishtype:
  10994. description: 抛光度 - 两个, 逗号分隔
  10995. type: string
  10996. zspolishtypedisplay:
  10997. type: string
  10998. zsshapetype:
  10999. description: 形状 - 多个, 逗号分隔
  11000. type: string
  11001. zsshapetypedisplay:
  11002. type: string
  11003. zssize:
  11004. description: 尺寸 - 两个小数, 逗号分隔
  11005. type: string
  11006. zsstyletype:
  11007. description: 款式 - 多个, 逗号分隔
  11008. type: string
  11009. zsstyletypedisplay:
  11010. type: string
  11011. zssymmetrytype:
  11012. description: 对称度 - 两个, 逗号分隔
  11013. type: string
  11014. zssymmetrytypedisplay:
  11015. type: string
  11016. zstabledisplay:
  11017. description: 求购信息
  11018. type: string
  11019. required:
  11020. - userid
  11021. type: object
  11022. models.MyDeListing:
  11023. properties:
  11024. buyaccountid:
  11025. description: 买方账号ID
  11026. type: integer
  11027. buychargevalue:
  11028. description: 买方手续费
  11029. type: number
  11030. buyorsell:
  11031. description: 方向 - 0:买 1:卖
  11032. type: integer
  11033. buyuserid:
  11034. description: 买方用户ID
  11035. type: integer
  11036. deliverygoodsid:
  11037. description: 现货品种ID
  11038. type: integer
  11039. exchangerate:
  11040. description: 汇率
  11041. type: number
  11042. goodsno:
  11043. description: 商品编号
  11044. type: string
  11045. marketid:
  11046. description: 市场ID
  11047. type: integer
  11048. matchusername:
  11049. description: 对手方
  11050. type: string
  11051. oritradeamount:
  11052. description: 成交金额[商品币种]
  11053. type: number
  11054. performanceplanid:
  11055. description: 履约计划ID/合同ID
  11056. type: integer
  11057. price:
  11058. description: 价格
  11059. type: number
  11060. qty:
  11061. description: 成交重量
  11062. type: number
  11063. sellaccountid:
  11064. description: 卖方账号ID
  11065. type: integer
  11066. sellchargevalue:
  11067. description: 卖方手续费
  11068. type: number
  11069. selluserid:
  11070. description: 卖方用户ID
  11071. type: integer
  11072. sizedisplay:
  11073. description: 尺寸
  11074. type: string
  11075. tradeamount:
  11076. description: 成交金额
  11077. type: number
  11078. tradedate:
  11079. description: 交易日(yyyyMMdd)
  11080. type: string
  11081. tradeprice:
  11082. description: 成交价格
  11083. type: number
  11084. tradetime:
  11085. description: 成交时间
  11086. type: string
  11087. userid:
  11088. description: 用户ID
  11089. type: integer
  11090. warehousenamedisplay:
  11091. type: string
  11092. wrfactortypeid:
  11093. description: 仓单要素类型ID
  11094. type: integer
  11095. wrstandardid:
  11096. description: 现货商品ID
  11097. type: integer
  11098. wrtradedetailid:
  11099. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11100. type: string
  11101. zscategory:
  11102. description: 钻石分类 - 枚举”ZSCategory“
  11103. type: integer
  11104. zscategorydisplay:
  11105. type: string
  11106. zscerttypedisplay:
  11107. type: string
  11108. zsclaritytype1display:
  11109. type: string
  11110. zsclaritytype2display:
  11111. type: string
  11112. zscolortype1display:
  11113. type: string
  11114. zscolortype2display:
  11115. type: string
  11116. zscrystaltypedisplay:
  11117. type: string
  11118. zscurrencytype:
  11119. description: 货币类型 - 枚举“ZSCurrencyType”
  11120. type: integer
  11121. zscurrencytypedisplay:
  11122. type: string
  11123. zscurrencytypedisplayunit:
  11124. type: string
  11125. zscuttype1display:
  11126. type: string
  11127. zscuttype2display:
  11128. type: string
  11129. zsczcolor1typedisplay:
  11130. type: string
  11131. zsczcolor2typedisplay:
  11132. type: string
  11133. zsczcolor3typedisplay:
  11134. type: string
  11135. zsfluorescencetype1display:
  11136. type: string
  11137. zsfluorescencetype2display:
  11138. type: string
  11139. zspolishtype1display:
  11140. type: string
  11141. zspolishtype2display:
  11142. type: string
  11143. zsshapetypedisplay:
  11144. type: string
  11145. zsstyletypedisplay:
  11146. type: string
  11147. zssymmetrytype1display:
  11148. type: string
  11149. zssymmetrytype2display:
  11150. type: string
  11151. required:
  11152. - userid
  11153. type: object
  11154. models.MyDelistingApply:
  11155. properties:
  11156. applyprice:
  11157. description: 申请价格
  11158. type: number
  11159. applyqty:
  11160. description: 申请数量
  11161. type: number
  11162. applyremark:
  11163. description: 申请备注
  11164. type: string
  11165. applystatus:
  11166. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11167. type: integer
  11168. applytime:
  11169. description: 申请时间
  11170. type: string
  11171. auditremark:
  11172. description: 确认备注
  11173. type: string
  11174. audittime:
  11175. description: 确认时间
  11176. type: string
  11177. buyuserid:
  11178. description: 买方用户ID
  11179. type: integer
  11180. buyusername:
  11181. type: string
  11182. buywrtradeorderid:
  11183. description: 买委托单ID
  11184. type: string
  11185. goodsno:
  11186. description: -- view_GZ_WRStandard_Ex_Query --
  11187. type: string
  11188. ladingbillid:
  11189. description: 卖方提单ID
  11190. type: string
  11191. marketid:
  11192. description: 市场ID
  11193. type: integer
  11194. price:
  11195. description: 价格
  11196. type: number
  11197. sellaccountid:
  11198. description: 卖方账户ID
  11199. type: integer
  11200. selldelistingapplyid:
  11201. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11202. type: string
  11203. selltradeorderid:
  11204. description: 卖方委托ID(买方确认成交后更新)
  11205. type: string
  11206. selluserid:
  11207. description: 卖方用户ID
  11208. type: integer
  11209. subnum:
  11210. description: 卖方提单子单号
  11211. type: integer
  11212. warehouseinfosdisplay:
  11213. type: string
  11214. weight:
  11215. description: 克拉重量
  11216. type: number
  11217. wrfactortypeid:
  11218. description: 仓单要素类型ID
  11219. type: string
  11220. wrstandardid:
  11221. description: 现货商品ID
  11222. type: integer
  11223. zsallproperties:
  11224. description: -- VIEW_GZ_BUYORDERDETAIL_QUERY
  11225. type: string
  11226. zscategorydisplay:
  11227. type: string
  11228. zsclaritytypedisplay:
  11229. type: string
  11230. zscolortypedisplay:
  11231. type: string
  11232. zscrystaltypedisplay:
  11233. type: string
  11234. zscurrencytypedisplay:
  11235. type: string
  11236. zscuttypedisplay:
  11237. type: string
  11238. zsczcolor1typedisplay:
  11239. type: string
  11240. zsczcolor2typedisplay:
  11241. type: string
  11242. zsczcolor3typedisplay:
  11243. type: string
  11244. zsfluorescencetypedisplay:
  11245. type: string
  11246. zspolishtypedisplay:
  11247. type: string
  11248. zsshapetypedisplay:
  11249. type: string
  11250. zssizedisplay:
  11251. type: string
  11252. zsstyletypedisplay:
  11253. type: string
  11254. zssymmetrytypedisplay:
  11255. type: string
  11256. zstabledisplay:
  11257. type: string
  11258. required:
  11259. - selluserid
  11260. type: object
  11261. models.MyFavorite:
  11262. properties:
  11263. buyorsell:
  11264. description: 买卖 - 0:买 1:卖
  11265. type: integer
  11266. favoritestatus:
  11267. description: 收藏状态 - 1:正常 2:失效
  11268. type: integer
  11269. goodsno:
  11270. description: 商品编号
  11271. type: string
  11272. marketid:
  11273. description: 市场ID
  11274. type: integer
  11275. price:
  11276. description: 价格
  11277. type: number
  11278. priceper:
  11279. description: 克拉单价
  11280. type: string
  11281. sizedisplay:
  11282. description: 尺寸
  11283. type: string
  11284. userid:
  11285. description: 用户ID
  11286. type: integer
  11287. warehousenamedisplay:
  11288. type: string
  11289. weight:
  11290. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11291. type: number
  11292. weightavg:
  11293. description: 平均单颗重量 - 类型:1,3
  11294. type: number
  11295. wrfactortypeid:
  11296. description: 仓单要素类型ID/商品ID(77)
  11297. type: string
  11298. wrstandardid:
  11299. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11300. type: integer
  11301. wrtradeorderid:
  11302. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11303. type: string
  11304. zscategorydisplay:
  11305. type: string
  11306. zscerttypedisplay:
  11307. type: string
  11308. zsclaritytype1display:
  11309. type: string
  11310. zsclaritytype2display:
  11311. type: string
  11312. zscolortype1display:
  11313. type: string
  11314. zscolortype2display:
  11315. type: string
  11316. zscrystaltypedisplay:
  11317. type: string
  11318. zscurrencytypedisplay:
  11319. type: string
  11320. zscurrencytypedisplayunit:
  11321. type: string
  11322. zscuttype1display:
  11323. type: string
  11324. zscuttype2display:
  11325. type: string
  11326. zsczcolor1typedisplay:
  11327. type: string
  11328. zsczcolor2typedisplay:
  11329. type: string
  11330. zsczcolor3typedisplay:
  11331. type: string
  11332. zsfluorescencetype1display:
  11333. type: string
  11334. zsfluorescencetype2display:
  11335. type: string
  11336. zspolishtype1display:
  11337. type: string
  11338. zspolishtype2display:
  11339. type: string
  11340. zsshapetypedisplay:
  11341. type: string
  11342. zsstyletypedisplay:
  11343. type: string
  11344. zssymmetrytype1display:
  11345. type: string
  11346. zssymmetrytype2display:
  11347. type: string
  11348. required:
  11349. - userid
  11350. type: object
  11351. models.MyPerformanc:
  11352. properties:
  11353. accountname:
  11354. description: useraccount
  11355. type: string
  11356. amount:
  11357. description: 履约金额
  11358. type: number
  11359. buyaccountid:
  11360. description: 买方账号
  11361. type: integer
  11362. buyerfreezeamount:
  11363. description: 买方履约前冻结资金
  11364. type: number
  11365. buyerfreezeamountremain:
  11366. description: 买方履约前冻结资金剩余
  11367. type: number
  11368. buyerinfo:
  11369. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11370. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11371. type: string
  11372. buyorsell:
  11373. description: 方向 - 0:买 1:卖
  11374. type: integer
  11375. buypaidamount:
  11376. description: 买方已冻/已扣金额
  11377. type: number
  11378. curstepid:
  11379. description: 当前步骤ID
  11380. type: string
  11381. goodsno:
  11382. description: 商品编号
  11383. type: string
  11384. overshortamount:
  11385. description: 溢短金额
  11386. type: number
  11387. paymenttype:
  11388. description: 买方支付方式 - 1:冻结 2:扣款
  11389. type: integer
  11390. performanceplanid:
  11391. description: PerformancePlan
  11392. type: string
  11393. performancestatus:
  11394. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11395. 9:超时待处理 10:超时关闭
  11396. type: integer
  11397. price:
  11398. description: 价格
  11399. type: number
  11400. priceper:
  11401. description: 克拉单价
  11402. type: string
  11403. relatedorderid:
  11404. description: 关联单号(履约类型的关联单号)
  11405. type: string
  11406. remaindays:
  11407. description: 剩余天数
  11408. type: integer
  11409. sellerfreezeamount:
  11410. description: 卖方履约前冻结资金
  11411. type: number
  11412. sellerfreezeamountremain:
  11413. description: 卖方履约前冻结资金剩余
  11414. type: number
  11415. sellerinfo:
  11416. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11417. "xxxxxxxx"}'
  11418. type: string
  11419. sellreceivedamount:
  11420. description: 卖方已收金额
  11421. type: number
  11422. sizedisplay:
  11423. description: 尺寸
  11424. type: string
  11425. steptypeid:
  11426. description: PerformanceStep
  11427. type: integer
  11428. warehousenamedisplay:
  11429. type: string
  11430. zscategorydisplay:
  11431. type: string
  11432. zscerttypedisplay:
  11433. type: string
  11434. zsclaritytype1display:
  11435. type: string
  11436. zsclaritytype2display:
  11437. type: string
  11438. zscolortype1display:
  11439. type: string
  11440. zscolortype2display:
  11441. type: string
  11442. zscrystaltypedisplay:
  11443. type: string
  11444. zscurrencytypedisplay:
  11445. type: string
  11446. zscurrencytypedisplayunit:
  11447. type: string
  11448. zscuttype1display:
  11449. type: string
  11450. zscuttype2display:
  11451. type: string
  11452. zsczcolor1typedisplay:
  11453. type: string
  11454. zsczcolor2typedisplay:
  11455. type: string
  11456. zsczcolor3typedisplay:
  11457. type: string
  11458. zsfluorescencetype1display:
  11459. type: string
  11460. zsfluorescencetype2display:
  11461. type: string
  11462. zspolishtype1display:
  11463. type: string
  11464. zspolishtype2display:
  11465. type: string
  11466. zsshapetypedisplay:
  11467. type: string
  11468. zsstyletypedisplay:
  11469. type: string
  11470. zssymmetrytype1display:
  11471. type: string
  11472. zssymmetrytype2display:
  11473. type: string
  11474. type: object
  11475. models.MySellOrder:
  11476. properties:
  11477. accountid:
  11478. description: 资金账号
  11479. type: integer
  11480. applyid:
  11481. description: 申请单ID
  11482. type: integer
  11483. attachment1:
  11484. description: 附件1
  11485. type: string
  11486. attachment2:
  11487. description: 附件2
  11488. type: string
  11489. buyorsell:
  11490. description: 买卖 - 0:买 1:卖
  11491. type: integer
  11492. canbargain:
  11493. description: 是否可议价 - 0:不可 1:可
  11494. type: integer
  11495. cancelqty:
  11496. description: 撤销数量
  11497. type: integer
  11498. canceltime:
  11499. description: 撤销时间
  11500. type: string
  11501. cerno:
  11502. type: string
  11503. chargealgorithm:
  11504. description: 手续费收取方式 1:比率 2:固定
  11505. type: integer
  11506. chargealgorithmvalue:
  11507. description: 手续费设置值(交易所部分)
  11508. type: number
  11509. chargealgorithmvalue2:
  11510. description: 手续费设置值(会员部分)
  11511. type: number
  11512. clientordertime:
  11513. description: 客户端委托时间
  11514. type: string
  11515. cpcertno:
  11516. type: string
  11517. exchangerate:
  11518. description: 汇率[67]
  11519. type: number
  11520. firstratio:
  11521. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11522. type: number
  11523. fixedprice:
  11524. description: '[克拉单价]固定价格 - [挂牌]'
  11525. type: number
  11526. freezecharge:
  11527. description: 冻结手续费
  11528. type: number
  11529. freezefirstamount:
  11530. description: 冻结首付金额 - [摘牌]
  11531. type: number
  11532. freezemargin:
  11533. description: 冻结保证金
  11534. type: number
  11535. goodsno:
  11536. description: 商品编号
  11537. type: string
  11538. imagepath:
  11539. type: string
  11540. isspecified:
  11541. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11542. type: integer
  11543. kppath:
  11544. type: string
  11545. kpweight:
  11546. type: string
  11547. marginalgorithm:
  11548. description: 保证金方式 - 1:比率 2:固定
  11549. type: integer
  11550. marginvalue:
  11551. description: 保证金设置值
  11552. type: number
  11553. marketid:
  11554. description: 市场ID
  11555. type: integer
  11556. marketprice:
  11557. type: string
  11558. orderamount:
  11559. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11560. type: number
  11561. ordertime:
  11562. description: 委托时间
  11563. type: string
  11564. performancetemplateid:
  11565. description: 履约计划模板ID
  11566. type: integer
  11567. price:
  11568. description: 价格
  11569. type: number
  11570. pricefactor:
  11571. description: 价格系数(浮动价时填写) - [挂牌]
  11572. type: number
  11573. pricemove:
  11574. description: 升贴水(浮动价时填写) - [挂牌]
  11575. type: number
  11576. priceper:
  11577. type: string
  11578. relatedwrtradeorderid:
  11579. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11580. type: integer
  11581. remark:
  11582. type: string
  11583. retcode:
  11584. description: 错误代码
  11585. type: integer
  11586. selledqty:
  11587. description: 成交重量
  11588. type: number
  11589. settingmaterial:
  11590. type: string
  11591. size1:
  11592. type: string
  11593. size2:
  11594. type: string
  11595. size3:
  11596. type: string
  11597. stonedesc:
  11598. type: string
  11599. totalqty:
  11600. description: 总重量
  11601. type: number
  11602. tradedate:
  11603. description: 交易日(yyyyMMdd)
  11604. type: string
  11605. tradeprice:
  11606. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11607. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11608. type: number
  11609. unfreezecharge:
  11610. description: 解冻手续费
  11611. type: number
  11612. unfreezefirstamount:
  11613. description: 解冻首付金额 - [摘牌]
  11614. type: number
  11615. unfreezemargin:
  11616. description: 解冻保证金
  11617. type: number
  11618. userid:
  11619. description: 用户ID
  11620. type: integer
  11621. uuid:
  11622. description: 发起端唯一id
  11623. type: string
  11624. validtime:
  11625. description: 有效期限
  11626. type: string
  11627. validtype:
  11628. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11629. type: integer
  11630. warehousenamedisplay:
  11631. type: string
  11632. wrbargainid:
  11633. description: 议价申请单ID
  11634. type: integer
  11635. wrfactortypeid:
  11636. description: 仓单要素类型ID/商品ID(77)
  11637. type: integer
  11638. wrpath:
  11639. type: string
  11640. wrpricetype:
  11641. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11642. type: integer
  11643. wrstandardid:
  11644. description: 现货商品ID
  11645. type: integer
  11646. wrtradeorderid:
  11647. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11648. type: string
  11649. wrtradeorderstatus:
  11650. 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:撤单解冻贷款失败
  11651. type: integer
  11652. wrtradetype:
  11653. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11654. type: integer
  11655. wrtransferuserid:
  11656. description: 仓单受让用户 - [摘牌]
  11657. type: integer
  11658. zscategory:
  11659. description: 钻石分类 - 枚举”ZSCategory“
  11660. type: integer
  11661. zscategorydisplay:
  11662. description: 钻石分类 - 描述
  11663. type: string
  11664. zscerttypedisplay:
  11665. type: string
  11666. zsclaritytype1display:
  11667. type: string
  11668. zsclaritytype2display:
  11669. type: string
  11670. zscolortype1display:
  11671. type: string
  11672. zscolortype2display:
  11673. type: string
  11674. zscrystaltype:
  11675. type: string
  11676. zscrystaltypedisplay:
  11677. type: string
  11678. zscurrencytype:
  11679. description: 货币类型 - 枚举“ZSCurrencyType”
  11680. type: integer
  11681. zscurrencytypedisplay:
  11682. type: string
  11683. zscurrencytypedisplayunit:
  11684. type: string
  11685. zscuttype1display:
  11686. type: string
  11687. zscuttype2display:
  11688. type: string
  11689. zsczcolor1typedisplay:
  11690. type: string
  11691. zsczcolor2typedisplay:
  11692. type: string
  11693. zsczcolor3typedisplay:
  11694. type: string
  11695. zsfluorescencetype1display:
  11696. type: string
  11697. zsfluorescencetype2display:
  11698. type: string
  11699. zspolishtype1display:
  11700. type: string
  11701. zspolishtype2display:
  11702. type: string
  11703. zsshapetypedisplay:
  11704. type: string
  11705. zsstyletypedisplay:
  11706. type: string
  11707. zssymmetrytype1display:
  11708. type: string
  11709. zssymmetrytype2display:
  11710. type: string
  11711. required:
  11712. - userid
  11713. type: object
  11714. models.MyWRPosition:
  11715. properties:
  11716. cerno:
  11717. description: 证书编号 - 类型:2,4,5
  11718. type: string
  11719. cpcertno:
  11720. description: 金伯利证书编号 - 类型:3
  11721. type: string
  11722. ffreezeqty:
  11723. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11724. type: number
  11725. ftotalqty:
  11726. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11727. type: number
  11728. goodsno:
  11729. description: 商品编号
  11730. type: string
  11731. imagepath:
  11732. description: 商品照片(相对地址)
  11733. type: string
  11734. isvalid:
  11735. description: 是否有效 - 0:无效 1:有效
  11736. type: integer
  11737. kppath:
  11738. description: 金伯利证书图片(相对地址) - 类型:3
  11739. type: string
  11740. kpweight:
  11741. description: 金伯利证书重量 - 类型:3
  11742. type: string
  11743. ladingbillid:
  11744. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11745. type: string
  11746. marketflag:
  11747. description: 是否上架,0-全部 1-是 2-否
  11748. type: integer
  11749. marketprice:
  11750. description: 市场价
  11751. type: string
  11752. origin:
  11753. description: 原产地 - 类型:3
  11754. type: string
  11755. price:
  11756. description: 总价(价格) - 类型:1,2,3,4,5
  11757. type: number
  11758. priceper:
  11759. description: 克拉单价 - 类型:1,2,3,5
  11760. type: string
  11761. remark:
  11762. description: 备注
  11763. type: string
  11764. sellmobile:
  11765. description: 手机号码(加密存储)
  11766. type: string
  11767. sellusername:
  11768. description: 账户名称(机构名称)
  11769. type: string
  11770. settingmaterial:
  11771. description: 镶嵌材料 - 类型:4
  11772. type: string
  11773. size1:
  11774. description: 尺寸1 - 类型:2,4,5
  11775. type: string
  11776. size2:
  11777. description: 尺寸2 - 类型:2,4,5
  11778. type: string
  11779. size3:
  11780. description: 尺寸3 - 类型:2,4,5
  11781. type: string
  11782. stonedesc:
  11783. description: 配石描述 - 类型:4
  11784. type: string
  11785. subnum:
  11786. description: 提单子单号
  11787. type: integer
  11788. userid:
  11789. description: 用户ID
  11790. type: integer
  11791. warehouseid:
  11792. description: 仓库ID
  11793. type: integer
  11794. warehousenamedisplay:
  11795. type: string
  11796. weight:
  11797. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11798. type: number
  11799. weightavg:
  11800. description: 平均单颗重量 - 类型:1,3
  11801. type: number
  11802. wrpath:
  11803. description: 仓单扫描件(相对地址)
  11804. type: string
  11805. wrstandardid:
  11806. description: 现货商品ID
  11807. type: integer
  11808. wrtradeorderid:
  11809. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11810. type: string
  11811. wruserid:
  11812. description: 登录用户ID
  11813. type: integer
  11814. zscategory:
  11815. description: 钻石分类 - 枚举”ZSCategory“
  11816. type: integer
  11817. zscategorydisplay:
  11818. type: string
  11819. zscerttype:
  11820. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11821. type: integer
  11822. zscerttypedisplay:
  11823. type: string
  11824. zsclaritytype1:
  11825. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11826. type: integer
  11827. zsclaritytype1display:
  11828. type: string
  11829. zsclaritytype2:
  11830. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11831. type: integer
  11832. zsclaritytype2display:
  11833. type: string
  11834. zscolortype1:
  11835. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11836. type: integer
  11837. zscolortype1display:
  11838. type: string
  11839. zscolortype2:
  11840. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11841. type: integer
  11842. zscolortype2display:
  11843. type: string
  11844. zscrystaltype:
  11845. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11846. type: string
  11847. zscrystaltypedisplay:
  11848. type: string
  11849. zscurrencytype:
  11850. description: 货币类型 - 枚举“ZSCurrencyType”
  11851. type: integer
  11852. zscurrencytypedisplay:
  11853. type: string
  11854. zscurrencytypedisplayunit:
  11855. type: string
  11856. zscuttype1:
  11857. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11858. type: integer
  11859. zscuttype1display:
  11860. type: string
  11861. zscuttype2:
  11862. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11863. type: integer
  11864. zscuttype2display:
  11865. type: string
  11866. zsczcolor1type:
  11867. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11868. type: integer
  11869. zsczcolor1typedisplay:
  11870. type: string
  11871. zsczcolor2type:
  11872. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11873. type: integer
  11874. zsczcolor2typedisplay:
  11875. type: string
  11876. zsczcolor3type:
  11877. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11878. type: integer
  11879. zsczcolor3typedisplay:
  11880. type: string
  11881. zsfluorescencetype1:
  11882. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11883. type: integer
  11884. zsfluorescencetype1display:
  11885. type: string
  11886. zsfluorescencetype2:
  11887. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11888. type: integer
  11889. zsfluorescencetype2display:
  11890. type: string
  11891. zspolishtype1:
  11892. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11893. type: integer
  11894. zspolishtype1display:
  11895. type: string
  11896. zspolishtype2:
  11897. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11898. type: integer
  11899. zspolishtype2display:
  11900. type: string
  11901. zsshapetype:
  11902. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11903. type: string
  11904. zsshapetypedisplay:
  11905. type: string
  11906. zsstyletype:
  11907. description: 款式 - 类型:4
  11908. type: integer
  11909. zsstyletypedisplay:
  11910. type: string
  11911. zssymmetrytype1:
  11912. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11913. type: integer
  11914. zssymmetrytype1display:
  11915. type: string
  11916. zssymmetrytype2:
  11917. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11918. type: integer
  11919. zssymmetrytype2display:
  11920. type: string
  11921. required:
  11922. - wruserid
  11923. type: object
  11924. models.NewFuncmenulist:
  11925. properties:
  11926. authtype:
  11927. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11928. type: integer
  11929. buttonname:
  11930. description: 按钮名称
  11931. type: string
  11932. buttontype:
  11933. description: 按钮类型 - 存按钮样式
  11934. type: string
  11935. component:
  11936. description: 组件名或组件地址
  11937. type: string
  11938. hidden:
  11939. description: 是否隐藏 - 0:显示 1:隐藏
  11940. type: integer
  11941. iconame:
  11942. description: 菜单图标
  11943. type: string
  11944. menutype:
  11945. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11946. type: integer
  11947. parentcode:
  11948. description: 上级资源代码
  11949. type: string
  11950. remark:
  11951. description: Remark
  11952. type: string
  11953. resourcecode:
  11954. description: 资源代码
  11955. type: string
  11956. resourcelevel:
  11957. description: 级别1-一级 2-二级 3-三级4-四级
  11958. type: integer
  11959. resourcename:
  11960. description: 资源名(Title)
  11961. type: string
  11962. sort:
  11963. description: 排序
  11964. type: integer
  11965. url:
  11966. description: Url
  11967. type: string
  11968. urltype:
  11969. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11970. type: integer
  11971. required:
  11972. - resourcecode
  11973. type: object
  11974. models.OperationPrimaryMenu:
  11975. properties:
  11976. Children:
  11977. description: 二级功能菜单
  11978. items:
  11979. $ref: '#/definitions/models.OperationSecondaryMenu'
  11980. type: array
  11981. Key:
  11982. description: 菜单KEY
  11983. type: string
  11984. Label:
  11985. description: 菜单标题
  11986. type: string
  11987. type: object
  11988. models.OperationSecondaryMenu:
  11989. properties:
  11990. Key:
  11991. description: 菜单KEY
  11992. type: string
  11993. Label:
  11994. description: 菜单标题
  11995. type: string
  11996. TabList:
  11997. description: 三级功能菜单
  11998. items:
  11999. $ref: '#/definitions/models.OperationTabMenu'
  12000. type: array
  12001. type: object
  12002. models.OperationTabMenu:
  12003. properties:
  12004. Key:
  12005. description: 菜单KEY
  12006. type: string
  12007. Label:
  12008. description: 菜单标题
  12009. type: string
  12010. type: object
  12011. models.Patradelinkdetail:
  12012. properties:
  12013. accountname:
  12014. description: 套期主体
  12015. type: string
  12016. agreeunit:
  12017. description: 合约乘数
  12018. type: number
  12019. amount:
  12020. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12021. type: number
  12022. areauserid:
  12023. description: 所属机构
  12024. type: integer
  12025. bizsubjectid:
  12026. description: 归属业务部门ID - SubjectID
  12027. type: integer
  12028. buyorsell:
  12029. description: 方向 - 0:买 1:卖
  12030. type: integer
  12031. convertratio:
  12032. description: 品种系数
  12033. type: number
  12034. convertratiochange:
  12035. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12036. type: number
  12037. createtime:
  12038. description: '[日期时间]创建时间'
  12039. type: string
  12040. creatorid:
  12041. description: 创建人ID
  12042. type: integer
  12043. creatorsrc:
  12044. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12045. type: integer
  12046. goodscode:
  12047. description: 商品代码(内部)
  12048. type: string
  12049. goodsgroupid:
  12050. description: 对冲品种ID[期货合约商品组ID]
  12051. type: integer
  12052. goodsid:
  12053. description: 商品ID
  12054. type: integer
  12055. hedgeditemid:
  12056. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12057. type: integer
  12058. hedgeflag:
  12059. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12060. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12061. type: integer
  12062. linkdetailid:
  12063. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12064. type: string
  12065. linkstatus:
  12066. description: 关联状态 - 1:成功 2:失败 3:解绑
  12067. type: integer
  12068. middlegoodsid:
  12069. description: 套保品种ID
  12070. type: integer
  12071. name:
  12072. description: 账户名/子账户
  12073. type: string
  12074. optioncode:
  12075. description: '[期货合约]期权代码 [期权]'
  12076. type: string
  12077. ordertype:
  12078. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12079. type: integer
  12080. relatedlot:
  12081. description: '[数量]关联手数'
  12082. type: number
  12083. relatedmode:
  12084. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12085. type: integer
  12086. relatedqty:
  12087. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12088. type: number
  12089. retcode:
  12090. description: 返回码
  12091. type: integer
  12092. saleuserid:
  12093. description: 业务员ID
  12094. type: integer
  12095. tradedate:
  12096. description: 关联交易日(yyyyMMdd)
  12097. type: string
  12098. tradeid:
  12099. description: '[成交单号]内部成交单ID'
  12100. type: string
  12101. tradelot:
  12102. description: 成交手数
  12103. type: integer
  12104. tradeprice:
  12105. description: '[价格]成交价格'
  12106. type: number
  12107. tradetradedate:
  12108. description: 成交交易日(yyyyMMdd)
  12109. type: string
  12110. type: object
  12111. models.QhjAccountOutInApply:
  12112. properties:
  12113. accountcode:
  12114. description: 资金账号
  12115. type: string
  12116. accountname:
  12117. description: 用户名称(名称)
  12118. type: string
  12119. accountpwd:
  12120. description: 资金密码
  12121. type: string
  12122. accountticket:
  12123. description: 最新账户服务流水号
  12124. type: string
  12125. amount:
  12126. description: 金额
  12127. type: number
  12128. applyremark:
  12129. description: 申请备注
  12130. type: string
  12131. applystatus:
  12132. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12133. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12134. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12135. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12136. type: integer
  12137. auditid:
  12138. description: 审核人
  12139. type: integer
  12140. audittime:
  12141. description: 审核时间
  12142. type: string
  12143. bank_apply_ticket:
  12144. description: 银行申请流水
  12145. type: string
  12146. bankaccountname:
  12147. description: 银行账户名
  12148. type: string
  12149. bankaccountno:
  12150. description: 银行卡号
  12151. type: string
  12152. bankid:
  12153. description: 银行编号
  12154. type: string
  12155. bankticket:
  12156. description: 银行流水
  12157. type: string
  12158. branchbankid:
  12159. description: 银行支行号
  12160. type: string
  12161. branchbankname:
  12162. description: 银行支行名称
  12163. type: string
  12164. capamountout:
  12165. description: 出金(劣后本金) - 外部子账户
  12166. type: number
  12167. certificatephotourl:
  12168. description: 凭证地址
  12169. type: string
  12170. charge:
  12171. description: 手续费
  12172. type: number
  12173. checkerrorflag:
  12174. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12175. type: integer
  12176. currency:
  12177. description: 币种
  12178. type: string
  12179. cusbankid:
  12180. description: 托管银行编号
  12181. type: string
  12182. exchticket:
  12183. description: 银行服务流水号
  12184. type: string
  12185. executetype:
  12186. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12187. 7:外部子账户:入金 8:外部子账户:出金'
  12188. type: integer
  12189. extendinfo:
  12190. description: 扩展信息
  12191. type: string
  12192. extoperateid:
  12193. description: 交易服务流水号
  12194. type: integer
  12195. infamount:
  12196. description: 劣后金额(自有)
  12197. type: number
  12198. logincode:
  12199. description: 登录账号(账号)
  12200. type: string
  12201. netaddr:
  12202. description: 调转网址
  12203. type: string
  12204. priamount:
  12205. description: 优先金额(授信)
  12206. type: number
  12207. reauditid:
  12208. description: 复审人
  12209. type: integer
  12210. reauditremark:
  12211. description: 复审备注
  12212. type: string
  12213. reaudittime:
  12214. description: 复审时间
  12215. type: string
  12216. relatedorderid:
  12217. description: 三方关联ID
  12218. type: string
  12219. remark:
  12220. description: 备注
  12221. type: string
  12222. remark2:
  12223. description: 备注(失败原因)
  12224. type: string
  12225. soucreamount:
  12226. description: 原始出入金金额
  12227. type: number
  12228. soucrecurrencyid:
  12229. description: 原始出入金币种
  12230. type: integer
  12231. tradedate:
  12232. description: 交易日(yyyyMMdd)
  12233. type: string
  12234. updatetime:
  12235. description: 更新时间(申请时间)
  12236. type: string
  12237. userid:
  12238. description: 用户id
  12239. type: integer
  12240. userinfotype:
  12241. description: 账户类型 1-个人 2-企业
  12242. type: integer
  12243. type: object
  12244. models.QhjAgreementChangeLog:
  12245. properties:
  12246. agreementcontent:
  12247. description: 协议内容
  12248. type: string
  12249. agreementfrequency:
  12250. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12251. type: integer
  12252. agreementid:
  12253. description: 协议ID
  12254. type: integer
  12255. agreementname:
  12256. description: 协议名称
  12257. type: string
  12258. agreementno:
  12259. description: 协议编号
  12260. type: string
  12261. agreementtype:
  12262. description: 协议类型 - 1:注册 2:登录 3:交易
  12263. type: integer
  12264. agreementversion:
  12265. description: 协议版本号
  12266. type: integer
  12267. logid:
  12268. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12269. type: integer
  12270. reviserid:
  12271. description: 修改人
  12272. type: integer
  12273. revisersrc:
  12274. description: 修改来源 - 1:管理端 2:终端
  12275. type: integer
  12276. updatetime:
  12277. description: 更新时间
  12278. type: string
  12279. type: object
  12280. models.QhjAgreementConfig:
  12281. properties:
  12282. agreementcontent:
  12283. description: 协议内容
  12284. type: string
  12285. agreementfrequency:
  12286. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12287. type: integer
  12288. agreementid:
  12289. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12290. type: integer
  12291. agreementname:
  12292. description: 协议名称
  12293. type: string
  12294. agreementno:
  12295. description: 协议编号
  12296. type: string
  12297. agreementtype:
  12298. description: 协议类型 - 1:注册 2:登录 3:交易
  12299. type: integer
  12300. agreementversion:
  12301. description: 协议版本号(从1开始每次修改加1)
  12302. type: integer
  12303. createtime:
  12304. description: 创建时间
  12305. type: string
  12306. creatorid:
  12307. description: 创建人
  12308. type: integer
  12309. creatorsrc:
  12310. description: 创建来源 - 1:管理端 2:终端
  12311. type: integer
  12312. isvalid:
  12313. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12314. type: integer
  12315. reviserid:
  12316. description: 修改人
  12317. type: integer
  12318. revisersrc:
  12319. description: 修改来源 - 1:管理端 2:终端
  12320. type: integer
  12321. updatetime:
  12322. description: 更新时间
  12323. type: string
  12324. type: object
  12325. models.QhjAreaFinanceConfig:
  12326. properties:
  12327. additionalratio:
  12328. description: 追加款比例
  12329. type: number
  12330. advanceratio:
  12331. description: 预付款比例
  12332. type: number
  12333. alarmratio:
  12334. description: 告警比例
  12335. type: number
  12336. consumptiondirectreward:
  12337. description: 消费直推奖励值
  12338. type: number
  12339. consumptionenabled:
  12340. description: 是否启用消费奖励 - 0:不启用 1:启用
  12341. type: integer
  12342. consumptionindirectreward:
  12343. description: 消费间推奖励值
  12344. type: number
  12345. consumptionmodel:
  12346. description: 消费奖励方式 - 1:比率 2:固定
  12347. type: integer
  12348. customerservicenum:
  12349. description: 客服电话
  12350. type: string
  12351. dayinterestrate:
  12352. description: 日利率
  12353. type: number
  12354. disableconsumptiontips:
  12355. description: 关闭消费奖励提示
  12356. type: string
  12357. modifierid:
  12358. description: 修改人ID
  12359. type: integer
  12360. modifysrc:
  12361. description: 审核来源 - 1:管理端 2:终端
  12362. type: integer
  12363. modifytime:
  12364. description: 修改时间
  12365. type: string
  12366. promotionvalue:
  12367. description: 推广奖励值(固定)
  12368. type: number
  12369. scoreconfigvalue1:
  12370. description: 提货积分配置1
  12371. type: integer
  12372. scoreconfigvalue2:
  12373. description: 提货积分配置2
  12374. type: integer
  12375. userid:
  12376. description: 机构用户ID其他做市关系,都设置为 1
  12377. type: integer
  12378. username:
  12379. description: 用户名称
  12380. type: string
  12381. type: object
  12382. models.QhjBankAccountSign:
  12383. properties:
  12384. accountcode:
  12385. description: 资金账号
  12386. type: string
  12387. accountname:
  12388. description: 资金账号对应的账号名(UserName)
  12389. type: string
  12390. accountname2:
  12391. description: 资金账号对应的账号名(UserName) - 密文
  12392. type: string
  12393. accounttype:
  12394. description: 账户类型(UserType)
  12395. type: integer
  12396. applicationtime:
  12397. description: 最后一次更新的时间
  12398. type: string
  12399. applyexchticket:
  12400. description: 申请流水
  12401. type: string
  12402. auditid:
  12403. description: 审核人
  12404. type: integer
  12405. audittime:
  12406. description: 审核时间
  12407. type: string
  12408. bankaccountname:
  12409. description: 签约银行卡账号名
  12410. type: string
  12411. bankaccountname2:
  12412. description: 签约银行卡账号名 - 密文
  12413. type: string
  12414. bankaccountno:
  12415. description: 银行卡号
  12416. type: string
  12417. bankaccountno2:
  12418. description: 银行卡号 - 密文
  12419. type: string
  12420. bankaccounttype:
  12421. description: 银行账户类型 - 1-对私; 2-对公
  12422. type: integer
  12423. bankcardtype:
  12424. description: 银行卡类型
  12425. type: integer
  12426. bankchildaccount:
  12427. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12428. type: string
  12429. bankcity:
  12430. description: 开户行城市
  12431. type: string
  12432. bankid:
  12433. description: 签约银行ID
  12434. type: string
  12435. bankname:
  12436. description: 签约银行名称
  12437. type: string
  12438. bankprovince:
  12439. description: 开户行省份
  12440. type: string
  12441. branchbankid:
  12442. description: 签约银行支行号
  12443. type: string
  12444. branchbankname:
  12445. description: 签约银行支行名称
  12446. type: string
  12447. cardno:
  12448. description: 证件号码
  12449. type: string
  12450. cardno2:
  12451. description: 证件号码 - 密文
  12452. type: string
  12453. cardtype:
  12454. description: 证件类型
  12455. type: string
  12456. currency:
  12457. description: 币种
  12458. type: string
  12459. cusbankid:
  12460. description: 托管银行编号
  12461. type: string
  12462. direct:
  12463. description: 方向(可以判断那方先发起的签约)
  12464. type: integer
  12465. exchticket:
  12466. description: 最后一次签约成功的流水号
  12467. type: string
  12468. extendinfo:
  12469. description: 扩展信息(JSON字符串)
  12470. type: string
  12471. mobilephone:
  12472. description: 手机号
  12473. type: string
  12474. mobilephone2:
  12475. description: 手机号 - 密文
  12476. type: string
  12477. netaddr:
  12478. description: 调转网址
  12479. type: string
  12480. relateduserid:
  12481. description: 关联使用者userid
  12482. type: integer
  12483. signstatus:
  12484. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12485. 10:审核拒绝 11:换签待审核
  12486. type: integer
  12487. updatetime:
  12488. description: 更新时间(签解约更新时间)
  12489. type: string
  12490. type: object
  12491. models.QhjBankInfo:
  12492. properties:
  12493. bankid:
  12494. description: 银行ID
  12495. type: string
  12496. bankname:
  12497. description: 银行名称
  12498. type: string
  12499. clearbankno:
  12500. description: 清算系统银行编号
  12501. type: string
  12502. orderindex:
  12503. description: 排序顺序
  12504. type: integer
  12505. status:
  12506. description: 状态 - 0:正常 1:注销
  12507. type: integer
  12508. type: object
  12509. models.QhjBrokerApply:
  12510. properties:
  12511. applicantid:
  12512. description: 申请人
  12513. type: integer
  12514. applysrc:
  12515. description: 申请来源 - 1:管理端 2:终端
  12516. type: integer
  12517. applystatus:
  12518. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12519. type: integer
  12520. applytime:
  12521. description: 申请时间
  12522. type: string
  12523. auditorid:
  12524. description: 审核人
  12525. type: integer
  12526. auditremark:
  12527. description: 审核备注
  12528. type: string
  12529. auditsrc:
  12530. description: 审核来源 - 1:管理端 2:终端
  12531. type: integer
  12532. audittime:
  12533. description: 审核时间
  12534. type: string
  12535. audittradedate:
  12536. description: 审核交易日(yyyyMMdd)
  12537. type: string
  12538. brokerapplyid:
  12539. description: 申请ID(SEQ_BROKERAPPLY)
  12540. type: integer
  12541. cardbackphotourl:
  12542. description: 证件背面图片地址
  12543. type: string
  12544. cardfrontphotourl:
  12545. description: 证件正面图片地址
  12546. type: string
  12547. cardnum:
  12548. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12549. type: string
  12550. customername:
  12551. description: 姓名
  12552. type: string
  12553. logincode:
  12554. description: 登录代码
  12555. type: string
  12556. mobile:
  12557. description: 手机号码
  12558. type: string
  12559. parentuserid:
  12560. description: 所属机构id
  12561. type: integer
  12562. parentusername:
  12563. description: 所属机构名称
  12564. type: string
  12565. refereeuserid:
  12566. description: 推荐人id(经纪人)
  12567. type: integer
  12568. refernum:
  12569. description: 推荐码
  12570. type: string
  12571. remark:
  12572. description: 备注
  12573. type: string
  12574. subarealevelpath:
  12575. description: 层级路径
  12576. type: string
  12577. tradedate:
  12578. description: 交易日(yyyyMMdd)
  12579. type: string
  12580. userid:
  12581. description: 申请人用户ID
  12582. type: integer
  12583. userinfotype:
  12584. description: 用户类型 1-个人 2-企业
  12585. type: integer
  12586. username:
  12587. description: 用户名称
  12588. type: string
  12589. type: object
  12590. models.QhjBrokerApplyEx:
  12591. properties:
  12592. applylist:
  12593. description: 经纪人申请记录(只返回最新一条)
  12594. items:
  12595. $ref: '#/definitions/models.QhjBrokerApply'
  12596. type: array
  12597. canrecommend:
  12598. description: 是否经纪人 0-不是 1-是
  12599. type: integer
  12600. refernum:
  12601. description: 推荐码
  12602. type: string
  12603. userid:
  12604. description: 用户id
  12605. type: integer
  12606. userinfotype:
  12607. description: 用户类型 1-个人 2-企业
  12608. type: integer
  12609. type: object
  12610. models.QhjBrokerRewardLog:
  12611. properties:
  12612. accountid:
  12613. description: 资金账号ID
  12614. type: integer
  12615. createtime:
  12616. description: 创建时间(时间)
  12617. type: string
  12618. handlestatus:
  12619. description: 处理状态
  12620. type: integer
  12621. logid:
  12622. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12623. type: string
  12624. marketid:
  12625. description: 市场ID
  12626. type: integer
  12627. mmaccountid:
  12628. description: 做市商资金账号ID
  12629. type: string
  12630. mmuserid:
  12631. description: 做市商用户ID
  12632. type: string
  12633. rewardamount:
  12634. description: 奖励金额
  12635. type: number
  12636. rewardmodel:
  12637. description: 消费奖励方式 - 1:比率 2:固定
  12638. type: integer
  12639. rewardtype:
  12640. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12641. type: integer
  12642. rewardvalue:
  12643. description: 配置奖励值
  12644. type: number
  12645. srcamount:
  12646. description: 成交金额 [消费奖励] (金额)
  12647. type: number
  12648. srcgoodsid:
  12649. description: 来源商品ID [消费奖励]
  12650. type: string
  12651. srctime:
  12652. description: 来源时间 (成交时间) [消费奖励]
  12653. type: string
  12654. srctradeid:
  12655. description: 来源成交单ID [消费奖励] - 排除提货成交
  12656. type: string
  12657. srcuserid:
  12658. description: 来源用户ID(推广账户)
  12659. type: string
  12660. srcusername:
  12661. description: 推广账户名称
  12662. type: string
  12663. tradedate:
  12664. description: 交易日(yyyyMMdd)
  12665. type: string
  12666. userid:
  12667. description: 经纪人用户ID
  12668. type: integer
  12669. type: object
  12670. models.QhjContract:
  12671. properties:
  12672. contractconfirmtime:
  12673. description: 合同确认时间(时间)
  12674. type: string
  12675. currisklevel:
  12676. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12677. type: integer
  12678. decimalplace:
  12679. description: 商品报价小数位
  12680. type: integer
  12681. enumdicname:
  12682. description: 单位名称
  12683. type: string
  12684. goodscode:
  12685. description: 商品代码
  12686. type: string
  12687. goodsid:
  12688. description: 商品ID [5:融资单]
  12689. type: integer
  12690. goodsname:
  12691. description: 商品名称
  12692. type: string
  12693. goodunitid:
  12694. description: 商品单位id
  12695. type: integer
  12696. initmargin:
  12697. description: 初始保证金(首付款)
  12698. type: number
  12699. lenderamount:
  12700. description: 贷款金额(总额|订单总额)
  12701. type: number
  12702. marginratio:
  12703. description: 保证金比率(首付比例)
  12704. type: number
  12705. payamount:
  12706. description: 已付(已付货款)
  12707. type: number
  12708. reckonrecovermargin:
  12709. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12710. type: number
  12711. recoveredmargin:
  12712. description: 已追缴保证金
  12713. type: number
  12714. remainamount:
  12715. description: 合同剩余金额(融资额)
  12716. type: number
  12717. scfcontractid:
  12718. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12719. type: string
  12720. scfcontractstatus:
  12721. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12722. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12723. type: integer
  12724. scfcontracttype:
  12725. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12726. type: integer
  12727. totalinterest:
  12728. description: 已计总利息(利息)
  12729. type: number
  12730. tradeprice:
  12731. description: 成交价格(成本价格)
  12732. type: number
  12733. userid:
  12734. description: 用户ID
  12735. type: integer
  12736. username:
  12737. description: 用户名称
  12738. type: string
  12739. wrqty:
  12740. description: 仓单数量(数量)
  12741. type: number
  12742. type: object
  12743. models.QhjContractLog:
  12744. properties:
  12745. amount:
  12746. description: 支付金额
  12747. type: number
  12748. amounttype:
  12749. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12750. type: integer
  12751. logid:
  12752. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12753. type: string
  12754. remainamount:
  12755. description: 剩余货款
  12756. type: number
  12757. scfcontractid:
  12758. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12759. type: integer
  12760. updatetime:
  12761. description: 更新时间
  12762. type: string
  12763. type: object
  12764. models.QhjCusBankSignBankEx:
  12765. properties:
  12766. banklst:
  12767. description: 银行列表
  12768. items:
  12769. $ref: '#/definitions/models.QhjBankInfo'
  12770. type: array
  12771. canallot:
  12772. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12773. type: integer
  12774. canallotquery:
  12775. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12776. type: integer
  12777. canbindcard:
  12778. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12779. type: integer
  12780. caninamount:
  12781. description: 是否可入金 - 0:不可 1:可以
  12782. type: integer
  12783. caninamount2:
  12784. description: 是否可入金(网银端) - 0:不可 1:可以
  12785. type: integer
  12786. canmodifybankcard:
  12787. description: 是否可修改银行卡号 - 0:不可 1:可以
  12788. type: integer
  12789. canmodifyphone:
  12790. description: 是否可修改手机号 - 0:不可 1:可以
  12791. type: integer
  12792. canmodifysigninfo:
  12793. description: 是否可修改签约信息 - 0:不可 1:可以
  12794. type: integer
  12795. canoutamount:
  12796. description: 是否可出金 - 0:不可 1:可以
  12797. type: integer
  12798. canoutamount2:
  12799. description: 是否可出金(网银端) - 0:不可 1:可以
  12800. type: integer
  12801. canrelease:
  12802. description: 是否可解约 - 0:不可 1:可以
  12803. type: integer
  12804. canrelease2:
  12805. description: 是否可解约(网银端) - 0:不可 1:可以
  12806. type: integer
  12807. cansign:
  12808. description: 是否可签约 - 0:不可 1:可以
  12809. type: integer
  12810. cansign2:
  12811. description: 是否可签约(网银端) - 0:不可 1:可以
  12812. type: integer
  12813. currency:
  12814. description: 币种
  12815. type: string
  12816. cusbankid:
  12817. description: 托管银行编号(对应清算中心TRAN_NO)
  12818. type: string
  12819. cusbankname:
  12820. description: 银行业务名称
  12821. type: string
  12822. cusbankshortname:
  12823. description: 银行业务简称
  12824. type: string
  12825. exchbankid:
  12826. description: 交易所开户银行ID
  12827. type: string
  12828. exchpaybankaccname:
  12829. description: 交易所支出结算账户户名
  12830. type: string
  12831. exchpaybankaccno:
  12832. description: 交易所支出结算账户
  12833. type: string
  12834. isneedcheck:
  12835. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12836. type: integer
  12837. isneedclear:
  12838. description: 是否需要清算 - 0:不需要 1:需要
  12839. type: integer
  12840. lastcheckstatus:
  12841. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12842. type: integer
  12843. lastchecktime:
  12844. description: 最后对账时间
  12845. type: string
  12846. lastclearstatus:
  12847. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12848. type: integer
  12849. lastcleartime:
  12850. description: 最后清算时间
  12851. type: string
  12852. lastsignintime:
  12853. description: 最后签到时间
  12854. type: string
  12855. lastsignouttime:
  12856. description: 最后签退时间
  12857. type: string
  12858. riskinfo:
  12859. description: 签约风险提示书
  12860. type: string
  12861. signstatus:
  12862. description: 当前签到/签退状态 - 1:签到 2:签退
  12863. type: integer
  12864. tradedate:
  12865. description: 交易日(yyyyMMdd)
  12866. type: string
  12867. updatetime:
  12868. description: 当前签到/签退更新时间
  12869. type: string
  12870. type: object
  12871. models.QhjCustomer:
  12872. properties:
  12873. address:
  12874. description: 通讯地址
  12875. type: string
  12876. attachment1:
  12877. description: 附件1
  12878. type: string
  12879. attachment2:
  12880. description: 附件2
  12881. type: string
  12882. audittime:
  12883. description: 审核时间
  12884. type: string
  12885. cardbackphotourl:
  12886. description: 证件反面图片地址
  12887. type: string
  12888. cardfrontphotourl:
  12889. description: 证件正面图片地址
  12890. type: string
  12891. cardnum:
  12892. description: 证件号码
  12893. type: string
  12894. cardtype:
  12895. description: 证件类型
  12896. type: integer
  12897. cardtypename:
  12898. description: 证件类型名称
  12899. type: string
  12900. cityid:
  12901. description: 市
  12902. type: integer
  12903. cityname:
  12904. description: 城市名称
  12905. type: string
  12906. contactname:
  12907. description: 联系人
  12908. type: string
  12909. countryid:
  12910. description: 国家
  12911. type: integer
  12912. countryname:
  12913. description: 国家名称
  12914. type: string
  12915. createtime:
  12916. description: 创建时间
  12917. type: string
  12918. customername:
  12919. description: 客户名称
  12920. type: string
  12921. districtid:
  12922. description: 区域
  12923. type: integer
  12924. districtname:
  12925. description: 地区名称
  12926. type: string
  12927. email:
  12928. description: 邮件
  12929. type: string
  12930. legalpersonname:
  12931. description: 法人姓名(企业)
  12932. type: string
  12933. logincode:
  12934. description: 登录账号(代码)
  12935. type: string
  12936. memberuserid:
  12937. description: 所属机构ID(所属会员)
  12938. type: integer
  12939. memberusername:
  12940. description: 所属会员名称
  12941. type: string
  12942. mobile:
  12943. description: 手机号码
  12944. type: string
  12945. modifytime:
  12946. description: 修改时间
  12947. type: string
  12948. nickname:
  12949. description: 昵称
  12950. type: string
  12951. parentuserid:
  12952. description: 上级机构(所属机构)
  12953. type: integer
  12954. parentusername:
  12955. description: 所属机构名称
  12956. type: string
  12957. provinceid:
  12958. description: 省
  12959. type: integer
  12960. provincename:
  12961. description: 省名称
  12962. type: string
  12963. proxystatementurl:
  12964. description: 授权委托书
  12965. type: string
  12966. remark:
  12967. description: 备注
  12968. type: string
  12969. status:
  12970. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12971. type: integer
  12972. statusdesc:
  12973. description: 账户状态中文描述
  12974. type: string
  12975. taxpayernum:
  12976. description: 纳税人识别号
  12977. type: string
  12978. telphone:
  12979. description: 联系电话
  12980. type: string
  12981. userid:
  12982. description: 用户ID
  12983. type: integer
  12984. userinfotype:
  12985. description: 客户类型 1-个人 2-企业
  12986. type: integer
  12987. username:
  12988. description: 用户名称
  12989. type: string
  12990. type: object
  12991. models.QhjCustomerSignLog:
  12992. properties:
  12993. agreementcontent:
  12994. description: 协议内容
  12995. type: string
  12996. agreementid:
  12997. description: 协议ID
  12998. type: integer
  12999. agreementname:
  13000. description: 协议名称
  13001. type: string
  13002. agreementno:
  13003. description: 协议编号
  13004. type: string
  13005. agreementtype:
  13006. description: 协议类型 - 1:注册 2:登录 3:交易
  13007. type: integer
  13008. agreementversion:
  13009. description: 协议版本号
  13010. type: integer
  13011. createtime:
  13012. description: 创建时间
  13013. type: string
  13014. goodscode:
  13015. description: 商品代码
  13016. type: string
  13017. goodsid:
  13018. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13019. type: integer
  13020. goodsname:
  13021. description: 商品名称
  13022. type: string
  13023. logid:
  13024. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13025. type: integer
  13026. nodetype:
  13027. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13028. type: integer
  13029. signadressurl:
  13030. description: 签约文件地址
  13031. type: string
  13032. signtimestamp:
  13033. description: 签约状态时间戳
  13034. type: string
  13035. userid:
  13036. description: 客户ID
  13037. type: integer
  13038. username:
  13039. description: 客户名称
  13040. type: string
  13041. type: object
  13042. models.QhjCustomerSignStatus:
  13043. properties:
  13044. createtime:
  13045. description: 创建时间
  13046. type: string
  13047. goodscode:
  13048. description: 商品代码
  13049. type: string
  13050. goodsid:
  13051. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13052. type: integer
  13053. goodsname:
  13054. description: 商品名称
  13055. type: string
  13056. nodetype:
  13057. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13058. type: integer
  13059. signtimestamp:
  13060. description: 签约状态时间戳
  13061. type: string
  13062. tradedate:
  13063. description: 创建交易日(yyyyMMdd)
  13064. type: string
  13065. updatetime:
  13066. description: 更新时间
  13067. type: string
  13068. userid:
  13069. description: 客户ID
  13070. type: integer
  13071. username:
  13072. description: 客户名称
  13073. type: string
  13074. type: object
  13075. models.QhjMgrAccountOutInApply:
  13076. properties:
  13077. accountcode:
  13078. description: 资金账号
  13079. type: string
  13080. accountname:
  13081. description: 用户名称(名称)
  13082. type: string
  13083. accountpwd:
  13084. description: 资金密码
  13085. type: string
  13086. accountticket:
  13087. description: 最新账户服务流水号
  13088. type: string
  13089. amount:
  13090. description: 金额
  13091. type: number
  13092. applyremark:
  13093. description: 申请备注
  13094. type: string
  13095. applystatus:
  13096. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13097. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13098. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13099. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13100. type: integer
  13101. auditid:
  13102. description: 审核人
  13103. type: integer
  13104. audittime:
  13105. description: 审核时间
  13106. type: string
  13107. bank_apply_ticket:
  13108. description: 银行申请流水
  13109. type: string
  13110. bankaccountname:
  13111. description: 银行账户名
  13112. type: string
  13113. bankaccountno:
  13114. description: 银行卡号
  13115. type: string
  13116. bankid:
  13117. description: 银行编号
  13118. type: string
  13119. bankname:
  13120. description: 银行名称
  13121. type: string
  13122. bankticket:
  13123. description: 银行流水
  13124. type: string
  13125. branchbankid:
  13126. description: 银行支行号
  13127. type: string
  13128. branchbankname:
  13129. description: 银行支行名称
  13130. type: string
  13131. capamountout:
  13132. description: 出金(劣后本金) - 外部子账户
  13133. type: number
  13134. certificatephotourl:
  13135. description: 凭证地址
  13136. type: string
  13137. charge:
  13138. description: 手续费
  13139. type: number
  13140. checkerrorflag:
  13141. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13142. type: integer
  13143. currency:
  13144. description: 币种
  13145. type: string
  13146. cusbankid:
  13147. description: 托管银行编号
  13148. type: string
  13149. exchticket:
  13150. description: 银行服务流水号
  13151. type: string
  13152. executetype:
  13153. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13154. 7:外部子账户:入金 8:外部子账户:出金'
  13155. type: integer
  13156. extendinfo:
  13157. description: 扩展信息
  13158. type: string
  13159. extoperateid:
  13160. description: 交易服务流水号
  13161. type: integer
  13162. infamount:
  13163. description: 劣后金额(自有)
  13164. type: number
  13165. logincode:
  13166. description: 登录账号(账号)
  13167. type: string
  13168. netaddr:
  13169. description: 调转网址
  13170. type: string
  13171. priamount:
  13172. description: 优先金额(授信)
  13173. type: number
  13174. reauditid:
  13175. description: 复审人
  13176. type: integer
  13177. reauditremark:
  13178. description: 复审备注
  13179. type: string
  13180. reaudittime:
  13181. description: 复审时间
  13182. type: string
  13183. relatedorderid:
  13184. description: 三方关联ID
  13185. type: string
  13186. remark:
  13187. description: 备注
  13188. type: string
  13189. remark2:
  13190. description: 备注(失败原因)
  13191. type: string
  13192. soucreamount:
  13193. description: 原始出入金金额
  13194. type: number
  13195. soucrecurrencyid:
  13196. description: 原始出入金币种
  13197. type: integer
  13198. tradedate:
  13199. description: 交易日(yyyyMMdd)
  13200. type: string
  13201. updatetime:
  13202. description: 更新时间(申请时间)
  13203. type: string
  13204. userid:
  13205. description: 用户id
  13206. type: integer
  13207. userinfotype:
  13208. description: 账户类型 1-个人 2-企业
  13209. type: integer
  13210. type: object
  13211. models.QhjMgrBrokerApply:
  13212. properties:
  13213. applicantid:
  13214. description: 申请人
  13215. type: integer
  13216. applysrc:
  13217. description: 申请来源 - 1:管理端 2:终端
  13218. type: integer
  13219. applystatus:
  13220. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13221. type: integer
  13222. applytime:
  13223. description: 申请时间
  13224. type: string
  13225. auditorid:
  13226. description: 审核人
  13227. type: integer
  13228. auditremark:
  13229. description: 审核备注
  13230. type: string
  13231. auditsrc:
  13232. description: 审核来源 - 1:管理端 2:终端
  13233. type: integer
  13234. audittime:
  13235. description: 审核时间
  13236. type: string
  13237. audittradedate:
  13238. description: 审核交易日(yyyyMMdd)
  13239. type: string
  13240. brokerapplyid:
  13241. description: 申请ID(SEQ_BROKERAPPLY)
  13242. type: integer
  13243. cardbackphotourl:
  13244. description: 证件背面图片地址
  13245. type: string
  13246. cardfrontphotourl:
  13247. description: 证件正面图片地址
  13248. type: string
  13249. cardnum:
  13250. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13251. type: string
  13252. customername:
  13253. description: 姓名
  13254. type: string
  13255. filterstatus:
  13256. description: 筛选条件
  13257. type: string
  13258. logincode:
  13259. description: 登录代码
  13260. type: string
  13261. mobile:
  13262. description: 手机号码
  13263. type: string
  13264. parentuserid:
  13265. description: 所属机构id
  13266. type: integer
  13267. parentusername:
  13268. description: 所属机构名称
  13269. type: string
  13270. refereeuserid:
  13271. description: 推荐人id(经纪人)
  13272. type: integer
  13273. refernum:
  13274. description: 推荐码
  13275. type: string
  13276. remark:
  13277. description: 备注
  13278. type: string
  13279. subarealevelpath:
  13280. description: 层级路径
  13281. type: string
  13282. tradedate:
  13283. description: 交易日(yyyyMMdd)
  13284. type: string
  13285. userid:
  13286. description: 申请人用户ID
  13287. type: integer
  13288. userinfotype:
  13289. description: 用户类型 1-个人 2-企业
  13290. type: integer
  13291. username:
  13292. description: 用户名称
  13293. type: string
  13294. type: object
  13295. models.QhjMgrBrokerRewardReport:
  13296. properties:
  13297. createtime:
  13298. description: 创建时间(注册时间)
  13299. type: string
  13300. cycletime:
  13301. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13302. type: string
  13303. cycletype:
  13304. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13305. type: integer
  13306. directtotalnum:
  13307. description: 直推总人数【期末】
  13308. type: integer
  13309. indirecttotalnum:
  13310. description: 间推总人数【期末】
  13311. type: integer
  13312. mobile:
  13313. description: 电话号码
  13314. type: string
  13315. refereeuserid:
  13316. description: 推荐人id(经纪人id)
  13317. type: integer
  13318. refereeusername:
  13319. description: 推荐人名称(经纪人) 上级经纪人名称
  13320. type: string
  13321. refernum:
  13322. description: 推荐码
  13323. type: string
  13324. subarealevelpath:
  13325. description: 用户层级路径
  13326. type: string
  13327. todayrewardamount:
  13328. description: 奖励总金额【汇总】
  13329. type: number
  13330. updatetime:
  13331. description: 更新时间
  13332. type: string
  13333. userid:
  13334. description: 经纪人用户ID
  13335. type: integer
  13336. userinfotype:
  13337. description: 用户类型 1-个人 2-企业
  13338. type: integer
  13339. username:
  13340. description: 用户名称
  13341. type: string
  13342. type: object
  13343. models.QhjMgrContract:
  13344. properties:
  13345. contractconfirmtime:
  13346. description: 合同确认时间(时间)
  13347. type: string
  13348. currisklevel:
  13349. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13350. type: integer
  13351. decimalplace:
  13352. description: 商品报价小数位
  13353. type: integer
  13354. enumdicname:
  13355. description: 单位名称
  13356. type: string
  13357. goodscode:
  13358. description: 商品代码
  13359. type: string
  13360. goodsid:
  13361. description: 商品ID [5:融资单]
  13362. type: integer
  13363. goodsname:
  13364. description: 商品名称
  13365. type: string
  13366. goodunitid:
  13367. description: 商品单位id
  13368. type: integer
  13369. initmargin:
  13370. description: 初始保证金(首付款)
  13371. type: number
  13372. lenderamount:
  13373. description: 贷款金额(总额|订单总额)
  13374. type: number
  13375. logincode:
  13376. description: 账号(登录代码)
  13377. type: string
  13378. marginratio:
  13379. description: 保证金比率(首付比例)
  13380. type: number
  13381. mobile:
  13382. description: 电话号码(用户资料里的电话)
  13383. type: string
  13384. payamount:
  13385. description: 已付(已付货款)
  13386. type: number
  13387. reckonrecovermargin:
  13388. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13389. type: number
  13390. recoveredmargin:
  13391. description: 已追缴保证金
  13392. type: number
  13393. remainamount:
  13394. description: 合同剩余金额(融资额)
  13395. type: number
  13396. scfcontractid:
  13397. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13398. type: string
  13399. scfcontractstatus:
  13400. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13401. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13402. type: integer
  13403. scfcontracttype:
  13404. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13405. type: integer
  13406. totalinterest:
  13407. description: 已计总利息(利息)
  13408. type: number
  13409. tradedate:
  13410. description: 交易日
  13411. type: string
  13412. tradeprice:
  13413. description: 成交价格(成本价格)
  13414. type: number
  13415. userid:
  13416. description: 用户ID
  13417. type: integer
  13418. userinfotype:
  13419. description: 用户类型 1-个人 2-企业
  13420. type: integer
  13421. username:
  13422. description: 用户名称
  13423. type: string
  13424. wrqty:
  13425. description: 仓单数量(数量)
  13426. type: number
  13427. type: object
  13428. models.QhjMgrCustomer:
  13429. properties:
  13430. address:
  13431. description: 通讯地址
  13432. type: string
  13433. attachment1:
  13434. description: 附件1
  13435. type: string
  13436. audittime:
  13437. description: 审核时间
  13438. type: string
  13439. birthday:
  13440. description: 生日
  13441. type: string
  13442. brokerid:
  13443. description: 所属客户经理id
  13444. type: integer
  13445. brokername:
  13446. description: 所属客户经理名称
  13447. type: string
  13448. cardbackphotourl:
  13449. description: 证件反面图片地址
  13450. type: string
  13451. cardfrontphotourl:
  13452. description: 证件正面图片地址
  13453. type: string
  13454. cardnum:
  13455. description: 证件号码
  13456. type: string
  13457. cardtype:
  13458. description: 证件类型
  13459. type: integer
  13460. cardtypename:
  13461. description: 证件类型名称
  13462. type: string
  13463. cityid:
  13464. description: 市
  13465. type: integer
  13466. cityname:
  13467. description: 城市名称
  13468. type: string
  13469. contactname:
  13470. description: 联系人
  13471. type: string
  13472. countryid:
  13473. description: 国家
  13474. type: integer
  13475. countryname:
  13476. description: 国家名称
  13477. type: string
  13478. createtime:
  13479. description: 创建时间
  13480. type: string
  13481. customername:
  13482. description: 客户名称
  13483. type: string
  13484. districtid:
  13485. description: 区域
  13486. type: integer
  13487. districtname:
  13488. description: 地区名称
  13489. type: string
  13490. email:
  13491. description: 邮件
  13492. type: string
  13493. legalpersonname:
  13494. description: 法人姓名(企业)
  13495. type: string
  13496. logincode:
  13497. description: 登录账号(代码)
  13498. type: string
  13499. memberuserid:
  13500. description: 所属机构ID(所属会员)
  13501. type: integer
  13502. memberusername:
  13503. description: 所属会员名称
  13504. type: string
  13505. mobile:
  13506. description: 手机号码
  13507. type: string
  13508. modifytime:
  13509. description: 修改时间
  13510. type: string
  13511. nickname:
  13512. description: 昵称
  13513. type: string
  13514. parentuserid:
  13515. description: 上级机构(所属机构)
  13516. type: integer
  13517. parentusername:
  13518. description: 所属机构名称
  13519. type: string
  13520. provinceid:
  13521. description: 省
  13522. type: integer
  13523. provincename:
  13524. description: 省名称
  13525. type: string
  13526. proxystatementurl:
  13527. description: 授权委托书
  13528. type: string
  13529. querytype:
  13530. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13531. type: integer
  13532. remark:
  13533. description: 备注
  13534. type: string
  13535. sex:
  13536. description: 性别 0-女 1-男
  13537. type: integer
  13538. status:
  13539. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13540. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13541. type: integer
  13542. statusdesc:
  13543. description: 账户状态中文描述
  13544. type: string
  13545. taxpayernum:
  13546. description: 纳税人识别号
  13547. type: string
  13548. telphone:
  13549. description: 联系电话
  13550. type: string
  13551. userid:
  13552. description: 用户ID
  13553. type: integer
  13554. userinfotype:
  13555. description: 客户类型 1-个人 2-企业
  13556. type: integer
  13557. username:
  13558. description: 用户名称
  13559. type: string
  13560. type: object
  13561. models.QhjMgrPickGoods:
  13562. properties:
  13563. enumdicname:
  13564. description: 单位名称(提货商品)
  13565. type: string
  13566. goodsid:
  13567. description: 商品id
  13568. type: integer
  13569. imageaddress:
  13570. description: 图片
  13571. type: string
  13572. modifierid:
  13573. description: 修改人
  13574. type: integer
  13575. modifiername:
  13576. description: 修改人名称
  13577. type: string
  13578. modifysrc:
  13579. description: 修改来源 - 1:管理端 2:终端
  13580. type: integer
  13581. pickupgoodsagreeunit:
  13582. description: 合约乘数
  13583. type: number
  13584. pickupgoodsdesc:
  13585. description: 描述
  13586. type: string
  13587. pickupgoodsid:
  13588. description: 提货商品ID
  13589. type: string
  13590. pickupgoodsname:
  13591. description: 提货商品名称
  13592. type: string
  13593. pickupgoodsstatus:
  13594. description: 状态 - 1:正常 2:停用 3:注销
  13595. type: integer
  13596. pickupgoodsunitid:
  13597. description: 单位ID
  13598. type: integer
  13599. pickupratio:
  13600. description: 提货系数
  13601. type: number
  13602. preparedays:
  13603. description: 备货期(天)
  13604. type: integer
  13605. remark:
  13606. description: 备注
  13607. type: string
  13608. updatetime:
  13609. description: 更新时间
  13610. type: string
  13611. type: object
  13612. models.QhjMgrPositionRsp:
  13613. properties:
  13614. accountid:
  13615. description: 账号Id
  13616. type: integer
  13617. accountname:
  13618. description: 用户名称
  13619. type: string
  13620. agreeunit:
  13621. description: 合约乘数
  13622. type: number
  13623. averageprice:
  13624. description: 均价
  13625. type: number
  13626. avialqty:
  13627. description: 可用数量
  13628. type: number
  13629. decimalplace:
  13630. description: 报价小数位
  13631. type: integer
  13632. enumdicname:
  13633. description: 单位名称(商品)
  13634. type: string
  13635. frozenqty:
  13636. description: 冻结数量
  13637. type: number
  13638. goodscode:
  13639. description: 商品代码(内部)
  13640. type: string
  13641. goodsid:
  13642. description: 商品Id
  13643. type: integer
  13644. goodsname:
  13645. description: 商品名称
  13646. type: string
  13647. goodunitid:
  13648. description: 报价单位ID
  13649. type: integer
  13650. holderamount:
  13651. description: 金额
  13652. type: number
  13653. holderqty:
  13654. description: 持有数量
  13655. type: number
  13656. holdertype:
  13657. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13658. type: integer
  13659. logincode:
  13660. description: 登录代码(账户)
  13661. type: string
  13662. marketid:
  13663. description: 市场id
  13664. type: integer
  13665. qtydecimalplace:
  13666. description: 成交量小数位
  13667. type: integer
  13668. trademode:
  13669. description: 交易模式
  13670. type: integer
  13671. userid:
  13672. description: 用户id
  13673. type: integer
  13674. userinfotype:
  13675. description: 账户类型 1-个人 2-企业
  13676. type: integer
  13677. type: object
  13678. models.QhjMgrSubArea:
  13679. properties:
  13680. accountname:
  13681. description: 账户名称(机构名称)
  13682. type: string
  13683. memberuserid:
  13684. description: 所属会员ID
  13685. type: integer
  13686. parenttopuser:
  13687. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13688. type: string
  13689. parentuserid:
  13690. description: 所属机构ID
  13691. type: integer
  13692. rootuserid:
  13693. description: 根用户ID
  13694. type: string
  13695. subaccountlevel:
  13696. description: 子账户层数
  13697. type: integer
  13698. subarealevelpath:
  13699. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13700. type: string
  13701. userid:
  13702. description: 用户ID
  13703. type: integer
  13704. usertype:
  13705. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13706. type: integer
  13707. type: object
  13708. models.QhjMgrTradeDetailRsp:
  13709. properties:
  13710. accountid:
  13711. description: 资金账号
  13712. type: integer
  13713. accountname:
  13714. description: 用户名称
  13715. type: string
  13716. agreeunit:
  13717. description: 合约乘数
  13718. type: number
  13719. buyorsell:
  13720. description: 成交类型(方向) 0:买 1:卖
  13721. type: integer
  13722. decimalplace:
  13723. description: 报价小数位
  13724. type: integer
  13725. enumdicname:
  13726. description: 单位名称(商品)
  13727. type: string
  13728. goodscode:
  13729. description: 商品代码(内部)
  13730. type: string
  13731. goodsid:
  13732. description: 商品id
  13733. type: integer
  13734. goodsname:
  13735. description: 商品名称
  13736. type: string
  13737. goodunitid:
  13738. description: 报价单位ID
  13739. type: integer
  13740. logincode:
  13741. description: 登录代码(账户)
  13742. type: string
  13743. marketid:
  13744. description: 市场id
  13745. type: integer
  13746. orderid:
  13747. description: 关联委托单号
  13748. type: string
  13749. qtydecimalplace:
  13750. description: 成交量小数位
  13751. type: integer
  13752. tradeamount:
  13753. description: 金额
  13754. type: number
  13755. tradedate:
  13756. description: 交易日
  13757. type: string
  13758. tradeid:
  13759. description: 成交单号
  13760. type: string
  13761. trademode:
  13762. description: 交易模式
  13763. type: integer
  13764. tradeprice:
  13765. description: 价格
  13766. type: number
  13767. tradeqty:
  13768. description: 数量
  13769. type: number
  13770. tradetime:
  13771. description: 成交时间
  13772. type: string
  13773. userid:
  13774. description: 用户id
  13775. type: integer
  13776. userinfotype:
  13777. description: 账户类型 1-个人 2-企业
  13778. type: integer
  13779. type: object
  13780. models.QhjMgrTradeOrderDetailRsp:
  13781. properties:
  13782. accountid:
  13783. description: 资金账号
  13784. type: integer
  13785. accountname:
  13786. description: 用户名称
  13787. type: string
  13788. agreeunit:
  13789. description: 合约乘数
  13790. type: number
  13791. amount:
  13792. description: 金额
  13793. type: number
  13794. decimalplace:
  13795. description: 报价小数位
  13796. type: integer
  13797. enumdicname:
  13798. description: 单位名称(商品)
  13799. type: string
  13800. goodscode:
  13801. description: 商品代码(内部)
  13802. type: string
  13803. goodsid:
  13804. description: 商品id
  13805. type: integer
  13806. goodsname:
  13807. description: 商品名称
  13808. type: string
  13809. goodunitid:
  13810. description: 报价单位ID
  13811. type: integer
  13812. logincode:
  13813. description: 登录代码(账户)
  13814. type: string
  13815. marketid:
  13816. description: 市场id
  13817. type: integer
  13818. orderid:
  13819. description: 关联委托单号
  13820. type: string
  13821. orderprice:
  13822. description: 价格
  13823. type: number
  13824. orderqty:
  13825. description: 数量
  13826. type: number
  13827. orderstatus:
  13828. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13829. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13830. 16:成交失败违约(荷兰式竞拍专用)
  13831. type: integer
  13832. ordertime:
  13833. description: 委托时间
  13834. type: string
  13835. qtydecimalplace:
  13836. description: 成交量小数位
  13837. type: integer
  13838. tradedate:
  13839. description: 交易日
  13840. type: string
  13841. trademode:
  13842. description: 交易模式
  13843. type: integer
  13844. userid:
  13845. description: 用户id
  13846. type: integer
  13847. userinfotype:
  13848. description: 账户类型 1-个人 2-企业
  13849. type: integer
  13850. type: object
  13851. models.QhjMgrTradePayOrder:
  13852. properties:
  13853. accountname:
  13854. description: 用户名称
  13855. type: string
  13856. advanceratio:
  13857. description: 首付比率
  13858. type: number
  13859. agreeunit:
  13860. description: 合约乘数
  13861. type: number
  13862. buyaccountid:
  13863. description: 买方账号ID[报价币种]
  13864. type: integer
  13865. buyorderid:
  13866. description: 买方委托单号(关联单号)
  13867. type: string
  13868. createtime:
  13869. description: 创建时间
  13870. type: string
  13871. decimalplace:
  13872. description: 报价小数位
  13873. type: integer
  13874. enumdicname:
  13875. description: 单位名称(商品)
  13876. type: string
  13877. goodscode:
  13878. description: 商品代码(内部)
  13879. type: string
  13880. goodsid:
  13881. description: 商品ID
  13882. type: integer
  13883. goodsname:
  13884. description: 商品名称
  13885. type: string
  13886. goodunitid:
  13887. description: 报价单位ID
  13888. type: integer
  13889. logincode:
  13890. description: 登录代码(账户)
  13891. type: string
  13892. marketid:
  13893. description: 市场id
  13894. type: integer
  13895. offamount:
  13896. description: 优惠金额
  13897. type: number
  13898. operatetype:
  13899. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13900. type: integer
  13901. payamount:
  13902. description: 支付金额(金额)
  13903. type: number
  13904. payflag:
  13905. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13906. type: integer
  13907. paylimitedtime:
  13908. description: 支付期限
  13909. type: string
  13910. paytime:
  13911. description: 付款时间
  13912. type: string
  13913. qtydecimalplace:
  13914. description: 成交量小数位
  13915. type: integer
  13916. sellaccountid:
  13917. description: 卖方账号ID[报价币种]
  13918. type: integer
  13919. sellorderid:
  13920. description: 卖方委托单号
  13921. type: string
  13922. tradeamount:
  13923. description: 成交金额(优惠后金额)
  13924. type: number
  13925. tradecharge:
  13926. description: 成交手续费(买方)
  13927. type: number
  13928. tradedate:
  13929. description: 交易日(yyyyMMdd)
  13930. type: string
  13931. tradeid:
  13932. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13933. type: string
  13934. trademode:
  13935. description: 交易模式
  13936. type: integer
  13937. tradeprice:
  13938. description: 成交价格(价格)
  13939. type: number
  13940. tradeqty:
  13941. description: 成交数量(数量)
  13942. type: number
  13943. tradetime:
  13944. description: 成交时间
  13945. type: string
  13946. userid:
  13947. description: 用户id
  13948. type: integer
  13949. userinfotype:
  13950. description: 账户类型 1-个人 2-企业
  13951. type: integer
  13952. type: object
  13953. models.QhjMyTeamEx:
  13954. properties:
  13955. accountname:
  13956. description: 用户名称
  13957. type: string
  13958. accountstatus:
  13959. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13960. type: integer
  13961. createtime:
  13962. description: 创建时间
  13963. type: string
  13964. mobile:
  13965. description: 手机号码
  13966. type: string
  13967. refereeuserid:
  13968. description: 推荐人id
  13969. type: integer
  13970. refernum:
  13971. description: 推荐码
  13972. type: string
  13973. subList:
  13974. items:
  13975. $ref: '#/definitions/models.QhjMyTeamEx'
  13976. type: array
  13977. userid:
  13978. description: 用户id
  13979. type: integer
  13980. userinfotype:
  13981. description: 用户类型 1-个人 2-企业
  13982. type: integer
  13983. type: object
  13984. models.QhjNodeAgreementConfig:
  13985. properties:
  13986. agreementcontent:
  13987. description: 协议内容
  13988. type: string
  13989. agreementid:
  13990. description: 协议ID
  13991. type: integer
  13992. agreementname:
  13993. description: 协议名称
  13994. type: string
  13995. agreementno:
  13996. description: 协议编号
  13997. type: string
  13998. agreementtype:
  13999. description: 协议类型 - 1:注册 2:登录 3:交易
  14000. type: integer
  14001. agreementversion:
  14002. description: 协议版本号
  14003. type: integer
  14004. configid:
  14005. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14006. type: integer
  14007. createtime:
  14008. description: 创建时间
  14009. type: string
  14010. goodsid:
  14011. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14012. type: integer
  14013. nodetype:
  14014. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14015. type: integer
  14016. type: object
  14017. models.QhjParentAreaList:
  14018. properties:
  14019. accountname:
  14020. description: 账户名称(机构名称)
  14021. type: string
  14022. userid:
  14023. description: 用户ID
  14024. type: integer
  14025. usertype:
  14026. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14027. type: integer
  14028. type: object
  14029. models.QhjPayOrder:
  14030. properties:
  14031. advanceratio:
  14032. description: 首付比率
  14033. type: number
  14034. buyaccountid:
  14035. description: 买方账号ID[报价币种]
  14036. type: integer
  14037. buyorderid:
  14038. description: 买方委托单号
  14039. type: string
  14040. createtime:
  14041. description: 创建时间
  14042. type: string
  14043. decimalplace:
  14044. description: 商品报价小数位
  14045. type: integer
  14046. enumdicname:
  14047. description: 单位名称
  14048. type: string
  14049. goodscode:
  14050. description: 商品代码
  14051. type: string
  14052. goodsid:
  14053. description: 商品ID
  14054. type: integer
  14055. goodsname:
  14056. description: 商品名称
  14057. type: string
  14058. goodunitid:
  14059. description: 商品单位id
  14060. type: integer
  14061. marketid:
  14062. description: 市场ID
  14063. type: integer
  14064. offamount:
  14065. description: 优惠金额
  14066. type: number
  14067. operatetype:
  14068. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14069. type: integer
  14070. payamount:
  14071. description: 支付金额
  14072. type: number
  14073. payflag:
  14074. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14075. type: integer
  14076. paylimitedtime:
  14077. description: 支付期限
  14078. type: string
  14079. paytime:
  14080. description: 付款时间
  14081. type: string
  14082. qtydecimalplace:
  14083. description: 成交量小数位
  14084. type: integer
  14085. sellaccountid:
  14086. description: 卖方账号ID[报价币种]
  14087. type: integer
  14088. sellorderid:
  14089. description: 卖方委托单号
  14090. type: string
  14091. tradeamount:
  14092. description: 成交金额(优惠后金额)
  14093. type: number
  14094. tradecharge:
  14095. description: 成交手续费(买方)
  14096. type: number
  14097. tradedate:
  14098. description: 交易日(yyyyMMdd)
  14099. type: string
  14100. tradeid:
  14101. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14102. type: string
  14103. tradeprice:
  14104. description: 成交价格
  14105. type: number
  14106. tradeqty:
  14107. description: 成交数量
  14108. type: number
  14109. type: object
  14110. models.QhjPickArea:
  14111. properties:
  14112. address:
  14113. description: 详细地址
  14114. type: string
  14115. cityid:
  14116. description: 市
  14117. type: integer
  14118. cityname:
  14119. description: 城市名称
  14120. type: string
  14121. countryid:
  14122. description: 国家
  14123. type: integer
  14124. countryname:
  14125. description: 国家名称
  14126. type: string
  14127. districtid:
  14128. description: 地区
  14129. type: integer
  14130. districtname:
  14131. description: 地区名称
  14132. type: string
  14133. fromuserid:
  14134. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14135. type: integer
  14136. fromusername:
  14137. description: 所属机构名称
  14138. type: string
  14139. provinceid:
  14140. description: 省
  14141. type: integer
  14142. provincename:
  14143. description: 省名称
  14144. type: string
  14145. suborgtype:
  14146. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14147. type: integer
  14148. userid:
  14149. description: 机构用户ID 其他做市关系,都设置为 1
  14150. type: integer
  14151. username:
  14152. description: 机构用户名称(门店门称)
  14153. type: string
  14154. type: object
  14155. models.QhjPickGoods:
  14156. properties:
  14157. enumdicname:
  14158. description: 单位名称(提货商品)
  14159. type: string
  14160. goodsid:
  14161. description: 商品id
  14162. type: integer
  14163. imageaddress:
  14164. description: 图片
  14165. type: string
  14166. modifierid:
  14167. description: 修改人
  14168. type: integer
  14169. modifiername:
  14170. description: 修改人名称
  14171. type: string
  14172. modifysrc:
  14173. description: 修改来源 - 1:管理端 2:终端
  14174. type: integer
  14175. pickupgoodsagreeunit:
  14176. description: 合约乘数
  14177. type: number
  14178. pickupgoodsdesc:
  14179. description: 描述
  14180. type: string
  14181. pickupgoodsid:
  14182. description: 提货商品ID
  14183. type: string
  14184. pickupgoodsname:
  14185. description: 提货商品名称
  14186. type: string
  14187. pickupgoodsstatus:
  14188. description: 状态 - 1:正常 2:停用 3:注销
  14189. type: integer
  14190. pickupgoodsunitid:
  14191. description: 单位ID
  14192. type: integer
  14193. pickupratio:
  14194. description: 提货系数
  14195. type: number
  14196. preparedays:
  14197. description: 备货期(天)
  14198. type: integer
  14199. remark:
  14200. description: 备注
  14201. type: string
  14202. updatetime:
  14203. description: 更新时间
  14204. type: string
  14205. type: object
  14206. models.QhjRSTriggerLog:
  14207. properties:
  14208. accountid:
  14209. description: 用户资金账户
  14210. type: integer
  14211. accountname:
  14212. description: 账号名称(ACCOUNTID对应的名称)
  14213. type: string
  14214. currencyid:
  14215. description: 币种id
  14216. type: integer
  14217. currencyname:
  14218. description: 币种名称
  14219. type: string
  14220. decimalplace:
  14221. description: 商品报价小数位
  14222. type: integer
  14223. enumdicname:
  14224. description: 单位名称
  14225. type: string
  14226. goodscode:
  14227. description: 定投商品代码
  14228. type: string
  14229. goodsid:
  14230. description: 定投商品ID
  14231. type: integer
  14232. goodsname:
  14233. description: 定投商品名称
  14234. type: string
  14235. goodunitid:
  14236. description: 定投商品单位id
  14237. type: integer
  14238. logid:
  14239. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14240. type: string
  14241. logincode:
  14242. description: 账号(登录代码)
  14243. type: string
  14244. qtydecimalplace:
  14245. description: 成交量小数位
  14246. type: integer
  14247. regularlycycle:
  14248. description: 定投频率 - 1:每周 2:每月
  14249. type: integer
  14250. regularlycyclevalue:
  14251. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14252. type: string
  14253. regularlymode:
  14254. description: 定投方式 - 1:按数量 2:按金额
  14255. type: integer
  14256. regularlymodevalue:
  14257. description: 定投方式值 - 数量或金额
  14258. type: number
  14259. regularlystrategyid:
  14260. description: 定投策略ID
  14261. type: integer
  14262. retcode:
  14263. description: 错误码
  14264. type: string
  14265. tradeid:
  14266. description: 成交单ID
  14267. type: string
  14268. triggeramount:
  14269. description: 触发金额
  14270. type: number
  14271. triggerqty:
  14272. description: 触发数量
  14273. type: number
  14274. triggerstatus:
  14275. description: 触发状态 - 1:成功 2:失败
  14276. type: integer
  14277. triggertime:
  14278. description: 触发时间
  14279. type: string
  14280. triggertradedate:
  14281. description: 触发交易日
  14282. type: string
  14283. userid:
  14284. description: 所属用户ID
  14285. type: integer
  14286. userinfotype:
  14287. description: 用户类型 1-个人 2-企业
  14288. type: integer
  14289. username:
  14290. description: 用户名称(userid对应的名称)
  14291. type: string
  14292. type: object
  14293. models.QhjRStrategy:
  14294. properties:
  14295. accountid:
  14296. description: 用户资金账户
  14297. type: integer
  14298. accountname:
  14299. description: 账号名称(ACCOUNTID对应的名称)
  14300. type: string
  14301. currencyid:
  14302. description: 币种id
  14303. type: integer
  14304. currencyname:
  14305. description: 币种名称
  14306. type: string
  14307. decimalplace:
  14308. description: 商品报价小数位
  14309. type: integer
  14310. enumdicname:
  14311. description: 单位名称
  14312. type: string
  14313. goodscode:
  14314. description: 定投商品代码
  14315. type: string
  14316. goodsid:
  14317. description: 定投商品ID
  14318. type: integer
  14319. goodsname:
  14320. description: 定投商品名称
  14321. type: string
  14322. goodunitid:
  14323. description: 定投商品单位id
  14324. type: integer
  14325. lasteffecttradedate:
  14326. description: 最新生效交易日
  14327. type: string
  14328. laststoptradedate:
  14329. description: 最新暂停交易日
  14330. type: string
  14331. lasttriggertradedate:
  14332. description: 最新触发交易日
  14333. type: string
  14334. logincode:
  14335. description: 账号(登录代码)
  14336. type: string
  14337. nexttriggeramount:
  14338. description: 下次触发金额
  14339. type: number
  14340. nexttriggerdate:
  14341. description: 下次触发日期
  14342. type: string
  14343. nexttriggerqty:
  14344. description: 下次触发数量 [按小数位放大值]
  14345. type: number
  14346. qtydecimalplace:
  14347. description: 成交量小数位
  14348. type: integer
  14349. regularlycycle:
  14350. description: 定投频率 - 1:每周 2:每月
  14351. type: integer
  14352. regularlycyclevalue:
  14353. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14354. type: string
  14355. regularlymode:
  14356. description: 定投方式 - 1:按数量 2:按金额
  14357. type: integer
  14358. regularlymodevalue:
  14359. description: 定投方式值 - 数量或金额
  14360. type: number
  14361. regularlystrategyid:
  14362. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14363. type: integer
  14364. regularlystrategystatus:
  14365. description: 策略状态 - 1:正常 2:暂停 3:终止
  14366. type: integer
  14367. remark:
  14368. description: 备注
  14369. type: string
  14370. triggersuccesstimes:
  14371. description: 累计定投成功次数
  14372. type: string
  14373. triggertotalamount:
  14374. description: 累计定投金额(成功)
  14375. type: number
  14376. triggertotalqty:
  14377. description: 累计定投数量(成功) [按小数位放大值]
  14378. type: number
  14379. triggertotaltimes:
  14380. description: 累计定投总次数
  14381. type: string
  14382. updatesrc:
  14383. description: 更新来源 - 1:管理端 2:终端
  14384. type: integer
  14385. updatetime:
  14386. description: 更新时间
  14387. type: string
  14388. updatorid:
  14389. description: 更新人
  14390. type: string
  14391. userid:
  14392. description: 所属用户ID
  14393. type: integer
  14394. userinfotype:
  14395. description: 用户类型 1-个人 2-企业
  14396. type: integer
  14397. username:
  14398. description: 用户名称(userid对应的名称)
  14399. type: string
  14400. type: object
  14401. models.QhjReckonPriceLog:
  14402. properties:
  14403. decimalplace:
  14404. description: 商品报价小数位
  14405. type: integer
  14406. goodscode:
  14407. description: 商品代码
  14408. type: string
  14409. goodsid:
  14410. description: 商品ID
  14411. type: integer
  14412. goodsname:
  14413. description: 商品名称
  14414. type: string
  14415. lastreckonprice:
  14416. description: 上日结算价
  14417. type: number
  14418. nextdnlimitprice:
  14419. description: 下个交易日跌停价
  14420. type: number
  14421. nexttrade:
  14422. description: 下个交易日
  14423. type: string
  14424. nextuplimitprice:
  14425. description: 下个交易日涨停价
  14426. type: number
  14427. reckonprice:
  14428. description: 今日结算价(定投价)
  14429. type: number
  14430. reckontime:
  14431. description: 结算时间
  14432. type: string
  14433. totalholderqty:
  14434. description: 总持仓数
  14435. type: integer
  14436. totalstock:
  14437. description: 总库存
  14438. type: integer
  14439. tradedate:
  14440. description: 交易日
  14441. type: string
  14442. updowncount:
  14443. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14444. type: integer
  14445. updownflag:
  14446. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14447. type: integer
  14448. updownrate:
  14449. description: 今日涨跌幅
  14450. type: number
  14451. updownrate_2d:
  14452. description: 连续两日涨跌幅
  14453. type: number
  14454. updownrate_3d:
  14455. description: 连续三日涨跌幅
  14456. type: number
  14457. type: object
  14458. models.QhjScoreLog:
  14459. properties:
  14460. accountid:
  14461. description: 账户ID
  14462. type: integer
  14463. createtime:
  14464. description: 创建时间(时间)
  14465. type: string
  14466. goodsid:
  14467. description: 商品ID
  14468. type: integer
  14469. hasuploaded:
  14470. description: 是否已同步(千海金) 0:未同步 1;已同步
  14471. type: integer
  14472. logid:
  14473. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14474. type: string
  14475. marketid:
  14476. description: 市场ID
  14477. type: integer
  14478. relatedamount:
  14479. description: 关联金额
  14480. type: number
  14481. relatedorderid:
  14482. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14483. type: string
  14484. scoreconfigvalue1:
  14485. description: 积分配置1
  14486. type: integer
  14487. scoreconfigvalue2:
  14488. description: 积分配置1
  14489. type: integer
  14490. scoretype:
  14491. description: 积分类型 - 1:提货积分
  14492. type: integer
  14493. scorevalue:
  14494. description: 积分
  14495. type: number
  14496. tradedate:
  14497. description: 交易日(yyyyMMdd)
  14498. type: string
  14499. uploadedtime:
  14500. description: 同步时间
  14501. type: string
  14502. userid:
  14503. description: 用户ID
  14504. type: integer
  14505. type: object
  14506. models.QhjSiteColumnDetail:
  14507. properties:
  14508. author:
  14509. description: 作者
  14510. type: string
  14511. brief:
  14512. description: 简介
  14513. type: string
  14514. columnid:
  14515. description: 所属栏目
  14516. type: integer
  14517. context:
  14518. description: 内容
  14519. type: string
  14520. coverimage:
  14521. description: 封面图片
  14522. type: string
  14523. creaedate:
  14524. description: 创建时间
  14525. type: string
  14526. creatorid:
  14527. description: 创建人
  14528. type: integer
  14529. hits:
  14530. description: 点击数
  14531. type: integer
  14532. id:
  14533. description: ID(SEQ_SITE_COLUMNDETAIL)
  14534. type: integer
  14535. isshow:
  14536. description: 是否展示 - 0:不展示 1:展示
  14537. type: integer
  14538. istop:
  14539. description: 是否置顶 - 0:不置 1:置顶
  14540. type: integer
  14541. modifierid:
  14542. description: 操作人
  14543. type: integer
  14544. publishdate:
  14545. description: 发布日期
  14546. type: string
  14547. status:
  14548. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14549. type: integer
  14550. title:
  14551. description: 标题
  14552. type: string
  14553. updatedate:
  14554. description: 修改时间
  14555. type: string
  14556. userid:
  14557. description: 用户ID(默认为0, 核心为为机构用户ID)
  14558. type: integer
  14559. username:
  14560. description: 用户名称
  14561. type: string
  14562. type: object
  14563. models.QhjTeamOrder:
  14564. properties:
  14565. accountid:
  14566. description: 账户ID[报价币种]
  14567. type: integer
  14568. accountname:
  14569. description: 账户名称
  14570. type: string
  14571. agreeunit:
  14572. description: 合约乘数
  14573. type: number
  14574. buyorsell:
  14575. description: 方向 - 0:买 1:卖
  14576. type: integer
  14577. decimalplace:
  14578. description: 报价小数位
  14579. type: integer
  14580. enumdicname:
  14581. description: 单位名称
  14582. type: string
  14583. goodscode:
  14584. description: 商品代码(内部)
  14585. type: string
  14586. goodsid:
  14587. description: 商品ID
  14588. type: integer
  14589. goodsname:
  14590. description: 商品名称
  14591. type: string
  14592. goodunitid:
  14593. description: 报价单位ID
  14594. type: integer
  14595. marketid:
  14596. description: 市场ID
  14597. type: integer
  14598. marketname:
  14599. description: 市场名称
  14600. type: string
  14601. qtydecimalplace:
  14602. description: 成交量小数位
  14603. type: integer
  14604. refereeuserid:
  14605. description: 推荐人ID
  14606. type: integer
  14607. tradeamount:
  14608. description: 成交金额[账户币种,用于所有权]
  14609. type: number
  14610. tradedate:
  14611. description: 交易日(yyyyMMdd)
  14612. type: string
  14613. trademode:
  14614. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14615. 21:竞拍-大宗式 22:受托竞价
  14616. type: integer
  14617. tradeprice:
  14618. description: 成交价格
  14619. type: number
  14620. tradeqty:
  14621. description: 成交数量
  14622. type: number
  14623. tradetime:
  14624. description: 成交时间
  14625. type: string
  14626. userid:
  14627. description: 用户ID
  14628. type: integer
  14629. type: object
  14630. models.QhjTradeGoodsPickup:
  14631. properties:
  14632. accountid:
  14633. description: 账户ID
  14634. type: integer
  14635. address:
  14636. description: 提货人详细地址
  14637. type: string
  14638. amount:
  14639. description: 提货金额
  14640. type: number
  14641. artradedate:
  14642. description: 自动收货交易日(yyyyMMdd)
  14643. type: string
  14644. auditer:
  14645. description: 审核人
  14646. type: integer
  14647. auditsrc:
  14648. description: 更新来源 - 1:管理端 2:终端
  14649. type: integer
  14650. audittime:
  14651. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14652. type: string
  14653. audittradedate:
  14654. description: 审核交易日(yyyyMMdd)
  14655. type: string
  14656. cardnum:
  14657. description: 提货人证件号码
  14658. type: string
  14659. cardtypeid:
  14660. description: 提货人证件类型
  14661. type: integer
  14662. checkremark:
  14663. description: 审核备注
  14664. type: string
  14665. cityid:
  14666. description: 市
  14667. type: integer
  14668. cityname:
  14669. description: 城市名称
  14670. type: string
  14671. confirmtime:
  14672. description: 取货时间 或 收货时间
  14673. type: string
  14674. countryid:
  14675. description: 国家
  14676. type: integer
  14677. countryname:
  14678. description: 国家名称
  14679. type: string
  14680. decimalplace:
  14681. description: 商品报价小数位
  14682. type: integer
  14683. districtid:
  14684. description: 地区
  14685. type: integer
  14686. districtname:
  14687. description: 地区名称
  14688. type: string
  14689. enumdicname:
  14690. description: 单位名称(提货商品)
  14691. type: string
  14692. expresscompany:
  14693. description: 物流公司
  14694. type: string
  14695. expressnum:
  14696. description: 物流单号
  14697. type: string
  14698. goodsagreeunit:
  14699. description: 交易商品乘数
  14700. type: number
  14701. goodscode:
  14702. description: 商品代码
  14703. type: string
  14704. goodsid:
  14705. description: 商品ID
  14706. type: integer
  14707. goodsname:
  14708. description: 商品名称
  14709. type: string
  14710. goodsqty:
  14711. description: 交易商品手数(69模式按成交量小数位放大取整)
  14712. type: number
  14713. handlestatus:
  14714. description: 处理状态
  14715. type: integer
  14716. logincode:
  14717. description: 账号(登录代码, 有可能为空)
  14718. type: string
  14719. marketid:
  14720. description: 市场ID
  14721. type: integer
  14722. phonenum:
  14723. description: 提货人联系方式
  14724. type: string
  14725. pickupgoodsagreeunit:
  14726. description: 提货商品合约乘数
  14727. type: number
  14728. pickupgoodsid:
  14729. description: 提货商品ID
  14730. type: string
  14731. pickupgoodsname:
  14732. description: 提货商品名称
  14733. type: string
  14734. pickupgoodsqty:
  14735. description: 提货商品手数(数量)
  14736. type: number
  14737. pickupgoodsunitid:
  14738. description: 单位ID(提货商品)
  14739. type: integer
  14740. pickupratio:
  14741. description: 提货系数
  14742. type: number
  14743. preparedays:
  14744. description: 备货期(天)-提货单明细表
  14745. type: integer
  14746. provinceid:
  14747. description: 省
  14748. type: integer
  14749. provincename:
  14750. description: 省名称
  14751. type: string
  14752. qty:
  14753. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14754. type: number
  14755. qtydecimalplace:
  14756. description: 商品数量小数位
  14757. type: integer
  14758. recivername:
  14759. description: 提货人姓名
  14760. type: string
  14761. reqtime:
  14762. description: 提货申请时间
  14763. type: string
  14764. storeuserid:
  14765. description: 门店用户ID (千海金)
  14766. type: integer
  14767. storeusername:
  14768. description: 门店用户名称
  14769. type: string
  14770. takemode:
  14771. description: 提货方式 - 2:自提 3:配送(邮寄)
  14772. type: integer
  14773. takeorderid:
  14774. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14775. type: string
  14776. takeorderstatus:
  14777. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14778. 7:已拒绝 8:已撤销
  14779. type: integer
  14780. takeremark:
  14781. description: 提货备注
  14782. type: string
  14783. tradedate:
  14784. description: 交易日(yyyyMMdd)
  14785. type: string
  14786. updatetime:
  14787. description: 更新时间
  14788. type: string
  14789. userid:
  14790. description: 用户ID
  14791. type: integer
  14792. userinfotype:
  14793. description: 客户类型 1-个人 2-企业
  14794. type: integer
  14795. username:
  14796. description: 用户名称
  14797. type: string
  14798. type: object
  14799. models.QhjUserNodeCfgAndStatus:
  14800. properties:
  14801. agreementcontent:
  14802. description: 协议内容
  14803. type: string
  14804. agreementid:
  14805. description: 协议ID
  14806. type: integer
  14807. agreementname:
  14808. description: 协议名称
  14809. type: string
  14810. agreementno:
  14811. description: 协议编号
  14812. type: string
  14813. agreementtype:
  14814. description: 协议类型 - 1:注册 2:登录 3:交易
  14815. type: integer
  14816. agreementversion:
  14817. description: 协议版本号
  14818. type: integer
  14819. configid:
  14820. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14821. type: integer
  14822. createtime:
  14823. description: 创建时间
  14824. type: string
  14825. goodsid:
  14826. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14827. type: integer
  14828. nodetype:
  14829. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14830. type: integer
  14831. signtimestamp:
  14832. description: 签约状态时间戳(最近一次)
  14833. type: string
  14834. tradedate:
  14835. description: 签约交易日(yyyyMMdd)
  14836. type: string
  14837. userid:
  14838. description: 客户ID
  14839. type: integer
  14840. type: object
  14841. models.Qhjgoodsex:
  14842. properties:
  14843. canfinance:
  14844. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14845. type: integer
  14846. canregularlybuy:
  14847. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14848. type: integer
  14849. defaulttradeuserid:
  14850. description: 默认交易用户ID
  14851. type: integer
  14852. deliverygoodsid:
  14853. description: 现货品种ID
  14854. type: integer
  14855. goodsid:
  14856. description: 商品ID(自增ID SEQ_GOODS)
  14857. type: integer
  14858. minamount:
  14859. description: 最小购买金额
  14860. type: number
  14861. regularlybuyminamount:
  14862. description: 定投最小金额
  14863. type: number
  14864. regularlybuyminqty:
  14865. description: 定投最小数量
  14866. type: number
  14867. spotgoodsbrandid:
  14868. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14869. type: integer
  14870. visibilityforenterprise:
  14871. description: 企业客户是否可见 - 0:不可见 1:可见
  14872. type: integer
  14873. visibilityforpersonal:
  14874. description: 个人客户是否可见 - 0:不可见 1:可见
  14875. type: integer
  14876. wrstandardid:
  14877. description: 现货商品ID
  14878. type: integer
  14879. type: object
  14880. models.QueryErrorInfosRsp:
  14881. properties:
  14882. description:
  14883. description: 异常描述
  14884. type: string
  14885. errorcode:
  14886. description: 异常代码
  14887. type: string
  14888. errorid:
  14889. description: 异常ID
  14890. type: integer
  14891. modulecode:
  14892. description: 所属模块
  14893. type: string
  14894. operatecode:
  14895. description: 所属操作
  14896. type: string
  14897. rownumber:
  14898. description: 行号
  14899. type: string
  14900. required:
  14901. - errorid
  14902. type: object
  14903. models.QueryHedgeOrderDetailRsp:
  14904. properties:
  14905. accountid:
  14906. description: 账户ID
  14907. type: integer
  14908. buyorsell:
  14909. description: 买卖 - 0:买 1:卖
  14910. type: integer
  14911. cancellogincode:
  14912. description: 撤单人
  14913. type: string
  14914. channelbuildtype:
  14915. description: 开平标志 - 0:无 1:建仓 2:平仓
  14916. type: integer
  14917. channelinnerorderstatus:
  14918. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14919. 9:全部成交
  14920. type: integer
  14921. channeloperatetype:
  14922. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14923. type: integer
  14924. closetype:
  14925. description: 平仓方式 - 0:无 1:平今 2:平昨
  14926. type: integer
  14927. curexchangerate:
  14928. description: 当前汇率
  14929. type: number
  14930. decimalplace:
  14931. description: 商品报价小数位
  14932. type: integer
  14933. exchangefullname:
  14934. description: 外部交易所全称
  14935. type: string
  14936. goodscode:
  14937. description: 商品代码(内部)
  14938. type: string
  14939. goodsid:
  14940. description: 商品ID
  14941. type: integer
  14942. goodsname:
  14943. description: 商品名称
  14944. type: string
  14945. marketid:
  14946. description: 市场ID
  14947. type: integer
  14948. openfreezemargin:
  14949. description: 冻结保证金(冻结交易金额)
  14950. type: number
  14951. orderid:
  14952. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14953. type: string
  14954. orderlogincode:
  14955. description: 委托人
  14956. type: string
  14957. orderprice:
  14958. description: 委托价格(账户)
  14959. type: number
  14960. orderqty:
  14961. description: 委托数量
  14962. type: integer
  14963. ordertime:
  14964. description: 委托时间
  14965. type: string
  14966. pricemode:
  14967. description: '取价方式 - 1:市价 2: 限价'
  14968. type: integer
  14969. tradedate:
  14970. description: 交易日(yyyyMMdd)
  14971. type: string
  14972. tradeqty:
  14973. description: 成交数量
  14974. type: integer
  14975. type: object
  14976. models.QueryHedgeTradeDetailRsp:
  14977. properties:
  14978. accountid:
  14979. description: 账号ID
  14980. type: integer
  14981. buyorsell:
  14982. description: 方向 - 0:买 1:卖
  14983. type: integer
  14984. channelbuildtype:
  14985. description: 委托单据类型 0:无 1:建仓 2:平仓
  14986. type: integer
  14987. closecharge:
  14988. description: 平仓手续费(账户)
  14989. type: number
  14990. closecharge2:
  14991. description: 平仓手续费(商品)
  14992. type: number
  14993. closepl:
  14994. description: 平仓盈亏(账户)
  14995. type: number
  14996. closepl2:
  14997. description: 平仓盈亏(商品)
  14998. type: number
  14999. closepl3:
  15000. description: 平仓盈亏(账户)(逐笔)
  15001. type: number
  15002. closepl4:
  15003. description: 平仓盈亏(商品)(逐笔)
  15004. type: number
  15005. closetype:
  15006. description: 平仓方式 - 0:无 1:平今 2:平昨
  15007. type: integer
  15008. curexchangerate:
  15009. description: 当前汇率
  15010. type: number
  15011. decimalplace:
  15012. description: 商品报价小数位
  15013. type: integer
  15014. exchangefullname:
  15015. description: 外部交易所全称
  15016. type: string
  15017. goodscode:
  15018. description: 商品代码(内部)
  15019. type: string
  15020. goodsid:
  15021. description: 商品ID
  15022. type: integer
  15023. goodsname:
  15024. description: 商品名称
  15025. type: string
  15026. marketid:
  15027. description: 市场ID
  15028. type: integer
  15029. opencharge:
  15030. description: 建仓手续费(账户)
  15031. type: number
  15032. opencharge2:
  15033. description: 建仓手续费(商品)
  15034. type: number
  15035. orderid:
  15036. description: 委托单号
  15037. type: string
  15038. orderlogincode:
  15039. description: 委托人
  15040. type: string
  15041. tradeamount:
  15042. description: 成交金额(账户)
  15043. type: number
  15044. tradedate:
  15045. description: 交易日(yyyyMMdd)
  15046. type: string
  15047. tradeid:
  15048. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15049. type: string
  15050. tradeprice:
  15051. description: 成交价格
  15052. type: number
  15053. tradeqty:
  15054. description: 成交数量
  15055. type: integer
  15056. tradetime:
  15057. description: 成交时间
  15058. type: string
  15059. tradetype:
  15060. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15061. type: integer
  15062. type: object
  15063. models.QuotePrimaryMenu:
  15064. properties:
  15065. Index:
  15066. description: 序号
  15067. type: integer
  15068. Key:
  15069. description: 键名
  15070. type: string
  15071. Name:
  15072. description: 菜单名称
  15073. type: string
  15074. SubMenus:
  15075. description: 子菜单
  15076. items:
  15077. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15078. type: array
  15079. SubTitleType:
  15080. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15081. type: integer
  15082. TradeModes:
  15083. description: 包含市场交易类型
  15084. type: string
  15085. type: object
  15086. models.QuoteSecondaryMenu:
  15087. properties:
  15088. ExExchangeCode:
  15089. description: 外部交易所代码
  15090. type: string
  15091. ExExchangeID:
  15092. description: 外部交易所ID
  15093. type: integer
  15094. GoodsGroupIDs:
  15095. description: 商品组ID列表
  15096. items:
  15097. type: integer
  15098. type: array
  15099. Index:
  15100. description: 序号
  15101. type: integer
  15102. MarketID:
  15103. description: 市场ID
  15104. type: integer
  15105. MenuTitle:
  15106. description: 菜单标题(市场名称或外部交易所名称)
  15107. type: string
  15108. TradeMode:
  15109. description: 交易模式
  15110. type: integer
  15111. type: object
  15112. models.RelatedTaAccount:
  15113. properties:
  15114. accountid:
  15115. description: 资金账户ID
  15116. type: integer
  15117. type: object
  15118. models.RoleMenu:
  15119. properties:
  15120. hasright:
  15121. description: 是否有权限 0-没有权限 1-有权限
  15122. type: integer
  15123. iconame:
  15124. description: 菜单图标
  15125. type: string
  15126. menutype:
  15127. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15128. type: integer
  15129. parentcode:
  15130. description: 上级资源代码
  15131. type: string
  15132. remark:
  15133. description: 菜单备注
  15134. type: string
  15135. resourcecode:
  15136. description: 菜单代码
  15137. type: string
  15138. resourcelevel:
  15139. description: 级别
  15140. type: integer
  15141. resourcename:
  15142. description: 菜单名称
  15143. type: string
  15144. roleid:
  15145. description: 角色id
  15146. type: integer
  15147. sort:
  15148. description: 排序
  15149. type: integer
  15150. subMenu:
  15151. description: 子级菜单(结构同上层一样, swag解析不出来)
  15152. items:
  15153. $ref: '#/definitions/models.RoleMenu'
  15154. type: array
  15155. url:
  15156. description: URL
  15157. type: string
  15158. userid:
  15159. description: 用户id
  15160. type: integer
  15161. type: object
  15162. models.SearchGoods:
  15163. properties:
  15164. goodscode:
  15165. description: 商品代码(内部)
  15166. type: string
  15167. goodsid:
  15168. description: 商品ID(自增ID SEQ_GOODS)
  15169. type: integer
  15170. goodsname:
  15171. description: 商品名称
  15172. type: string
  15173. marketid:
  15174. description: 所属市场ID
  15175. type: integer
  15176. marketname:
  15177. description: 市场名称
  15178. type: string
  15179. trademode:
  15180. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15181. 21:竞拍-大宗式 22:受托竞价
  15182. type: integer
  15183. required:
  15184. - goodscode
  15185. - goodsid
  15186. - goodsname
  15187. - marketid
  15188. - trademode
  15189. type: object
  15190. models.SellOrder:
  15191. properties:
  15192. accountid:
  15193. description: 资金账号
  15194. type: integer
  15195. applyid:
  15196. description: 申请单ID
  15197. type: integer
  15198. attachment1:
  15199. description: 附件1
  15200. type: string
  15201. attachment2:
  15202. description: 附件2
  15203. type: string
  15204. buyorsell:
  15205. description: 买卖 - 0:买 1:卖
  15206. type: integer
  15207. canbargain:
  15208. description: 是否可议价 - 0:不可 1:可
  15209. type: integer
  15210. cancelqty:
  15211. description: 撤销数量
  15212. type: integer
  15213. canceltime:
  15214. description: 撤销时间
  15215. type: string
  15216. cerno:
  15217. type: string
  15218. chargealgorithm:
  15219. description: 手续费收取方式 1:比率 2:固定
  15220. type: integer
  15221. chargealgorithmvalue:
  15222. description: 手续费设置值(交易所部分)
  15223. type: number
  15224. chargealgorithmvalue2:
  15225. description: 手续费设置值(会员部分)
  15226. type: number
  15227. clientordertime:
  15228. description: 客户端委托时间
  15229. type: string
  15230. cpcertno:
  15231. type: string
  15232. exchangerate:
  15233. description: 汇率[67]
  15234. type: number
  15235. firstratio:
  15236. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15237. type: number
  15238. fixedprice:
  15239. description: '[克拉单价]固定价格 - [挂牌]'
  15240. type: number
  15241. freezecharge:
  15242. description: 冻结手续费
  15243. type: number
  15244. freezefirstamount:
  15245. description: 冻结首付金额 - [摘牌]
  15246. type: number
  15247. freezemargin:
  15248. description: 冻结保证金
  15249. type: number
  15250. goodsno:
  15251. description: 商品编号
  15252. type: string
  15253. imagepath:
  15254. type: string
  15255. isQueryDiamond:
  15256. description: 是否钻石查询
  15257. type: boolean
  15258. isspecified:
  15259. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15260. type: integer
  15261. kppath:
  15262. type: string
  15263. kpweight:
  15264. type: string
  15265. marginalgorithm:
  15266. description: 保证金方式 - 1:比率 2:固定
  15267. type: integer
  15268. marginvalue:
  15269. description: 保证金设置值
  15270. type: number
  15271. marketid:
  15272. description: 市场ID
  15273. type: integer
  15274. marketprice:
  15275. type: string
  15276. orderamount:
  15277. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15278. type: number
  15279. ordertime:
  15280. description: 委托时间
  15281. type: string
  15282. performancetemplateid:
  15283. description: 履约计划模板ID
  15284. type: integer
  15285. price:
  15286. description: 价格
  15287. type: number
  15288. pricefactor:
  15289. description: 价格系数(浮动价时填写) - [挂牌]
  15290. type: number
  15291. pricemove:
  15292. description: 升贴水(浮动价时填写) - [挂牌]
  15293. type: number
  15294. priceper:
  15295. type: string
  15296. relatedwrtradeorderid:
  15297. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15298. type: integer
  15299. remainqty:
  15300. description: 剩余重量
  15301. type: number
  15302. remark:
  15303. type: string
  15304. retcode:
  15305. description: 错误代码
  15306. type: integer
  15307. sellusername:
  15308. description: 卖方(查询字段-模糊查询)
  15309. type: string
  15310. settingmaterial:
  15311. type: string
  15312. size1:
  15313. type: string
  15314. size2:
  15315. type: string
  15316. size3:
  15317. type: string
  15318. sizedisplay:
  15319. description: 尺寸
  15320. type: string
  15321. stonedesc:
  15322. type: string
  15323. totalqty:
  15324. description: 总重量
  15325. type: number
  15326. tradedate:
  15327. description: 交易日(yyyyMMdd)
  15328. type: string
  15329. tradeprice:
  15330. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15331. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15332. type: number
  15333. unfreezecharge:
  15334. description: 解冻手续费
  15335. type: number
  15336. unfreezefirstamount:
  15337. description: 解冻首付金额 - [摘牌]
  15338. type: number
  15339. unfreezemargin:
  15340. description: 解冻保证金
  15341. type: number
  15342. userid:
  15343. description: 用户ID
  15344. type: integer
  15345. uuid:
  15346. description: 发起端唯一id
  15347. type: string
  15348. validtime:
  15349. description: 有效期限
  15350. type: string
  15351. validtype:
  15352. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15353. type: integer
  15354. warehousenamedisplay:
  15355. type: string
  15356. wrbargainid:
  15357. description: 议价申请单ID
  15358. type: integer
  15359. wrfactortypeid:
  15360. description: 仓单要素类型ID/商品ID(77)
  15361. type: integer
  15362. wrpath:
  15363. type: string
  15364. wrpricetype:
  15365. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15366. type: integer
  15367. wrstandardid:
  15368. description: 现货商品ID
  15369. type: integer
  15370. wrtradeorderid:
  15371. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15372. type: string
  15373. wrtradeorderstatus:
  15374. 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:撤单解冻贷款失败
  15375. type: integer
  15376. wrtradetype:
  15377. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15378. type: integer
  15379. wrtransferuserid:
  15380. description: 仓单受让用户 - [摘牌]
  15381. type: integer
  15382. zscategory:
  15383. description: 钻石分类 - 枚举”ZSCategory“
  15384. type: integer
  15385. zscategorydisplay:
  15386. description: 钻石分类 - 描述
  15387. type: string
  15388. zscerttypedisplay:
  15389. type: string
  15390. zsclaritytype1display:
  15391. type: string
  15392. zsclaritytype2display:
  15393. type: string
  15394. zscolortype1display:
  15395. type: string
  15396. zscolortype2display:
  15397. type: string
  15398. zscrystaltype:
  15399. type: string
  15400. zscrystaltypedisplay:
  15401. type: string
  15402. zscurrencytype:
  15403. description: 货币类型 - 枚举“ZSCurrencyType”
  15404. type: integer
  15405. zscurrencytypedisplay:
  15406. type: string
  15407. zscurrencytypedisplayunit:
  15408. type: string
  15409. zscuttype1display:
  15410. type: string
  15411. zscuttype2display:
  15412. type: string
  15413. zsczcolor1typedisplay:
  15414. type: string
  15415. zsczcolor2typedisplay:
  15416. type: string
  15417. zsczcolor3typedisplay:
  15418. type: string
  15419. zsfluorescencetype1display:
  15420. type: string
  15421. zsfluorescencetype2display:
  15422. type: string
  15423. zspolishtype1display:
  15424. type: string
  15425. zspolishtype2display:
  15426. type: string
  15427. zsshapetypedisplay:
  15428. type: string
  15429. zsstyletypedisplay:
  15430. type: string
  15431. zssymmetrytype1display:
  15432. type: string
  15433. zssymmetrytype2display:
  15434. type: string
  15435. type: object
  15436. models.SellOrderQueryReq:
  15437. properties:
  15438. origin:
  15439. description: 原产地
  15440. type: string
  15441. page:
  15442. description: 页码
  15443. type: integer
  15444. pagesize:
  15445. description: 每页大小
  15446. type: integer
  15447. total:
  15448. description: 总条数
  15449. type: integer
  15450. warehouseid:
  15451. description: 仓库ID
  15452. type: integer
  15453. weight1:
  15454. description: 总重量(克拉重量)-从
  15455. type: number
  15456. weight2:
  15457. description: 总重量(克拉重量)-至
  15458. type: number
  15459. weightavg1:
  15460. description: 平均单颗重量-从
  15461. type: number
  15462. weightavg2:
  15463. description: 平均单颗重量-至
  15464. type: number
  15465. zscategory:
  15466. description: 钻石分类 - 枚举”ZSCategory“
  15467. type: integer
  15468. zscerttype:
  15469. description: 证书类型
  15470. items:
  15471. type: string
  15472. type: array
  15473. zsclaritytype:
  15474. description: 净度
  15475. items:
  15476. type: integer
  15477. type: array
  15478. zscolortype:
  15479. description: 颜色
  15480. items:
  15481. type: integer
  15482. type: array
  15483. zscurrencytype:
  15484. description: 货币类型 - 枚举“ZSCurrencyType”
  15485. items:
  15486. type: string
  15487. type: array
  15488. zscuttype:
  15489. description: 切工
  15490. items:
  15491. type: integer
  15492. type: array
  15493. zsczcolor1type:
  15494. description: 彩钻颜色1
  15495. items:
  15496. type: string
  15497. type: array
  15498. zsfluorescencetype:
  15499. description: 荧光
  15500. items:
  15501. type: integer
  15502. type: array
  15503. zspolishtype:
  15504. description: 抛光度
  15505. items:
  15506. type: integer
  15507. type: array
  15508. zsshapetype:
  15509. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15510. items:
  15511. type: string
  15512. type: array
  15513. zsstyletype:
  15514. description: 款式
  15515. items:
  15516. type: string
  15517. type: array
  15518. zssymmetrytype:
  15519. description: 对称度
  15520. items:
  15521. type: integer
  15522. type: array
  15523. required:
  15524. - zscategory
  15525. type: object
  15526. models.Systemparam:
  15527. properties:
  15528. loginid:
  15529. description: 更新用户账号,登录账号
  15530. type: string
  15531. modifyflag:
  15532. description: 修改标志0 不允许修改 1 允许修改
  15533. type: integer
  15534. paramcode:
  15535. description: 参数代码
  15536. type: string
  15537. paramname:
  15538. description: 参数名
  15539. type: string
  15540. paramtype:
  15541. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15542. type: integer
  15543. paramvalue:
  15544. description: 参数值
  15545. type: string
  15546. paramvalue2:
  15547. description: 参数值(CLOB)
  15548. type: string
  15549. regexpress:
  15550. description: 正则表达式
  15551. type: string
  15552. remark:
  15553. description: 备注
  15554. type: string
  15555. serverip:
  15556. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15557. type: string
  15558. showflag:
  15559. description: 是否显示0 不显示 1 显示
  15560. type: integer
  15561. updatetime:
  15562. description: 更新时间
  15563. type: string
  15564. userid:
  15565. description: 更新用户ID
  15566. type: integer
  15567. required:
  15568. - paramcode
  15569. type: object
  15570. models.Szdz3convertconfig:
  15571. properties:
  15572. canin:
  15573. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15574. type: integer
  15575. canout:
  15576. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15577. type: integer
  15578. converttype:
  15579. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15580. 6:交易转花生米(不设置)
  15581. type: integer
  15582. createtime:
  15583. description: 创建时间
  15584. type: string
  15585. creatorid:
  15586. description: 创建人
  15587. type: integer
  15588. daymaxvalue:
  15589. description: 当日最大转入限制
  15590. type: number
  15591. freezedays:
  15592. description: 冻结天数 [5:花生米转交易]
  15593. type: integer
  15594. innergoodsid:
  15595. description: 内部商品ID[交易]
  15596. type: integer
  15597. inratio:
  15598. description: 目标值
  15599. type: integer
  15600. modifierid:
  15601. description: 修改人
  15602. type: integer
  15603. modifytime:
  15604. description: 修改时间
  15605. type: string
  15606. outergoodscode:
  15607. description: 外部商品代码[JD\PD]
  15608. type: string
  15609. outratio:
  15610. description: 源值
  15611. type: integer
  15612. pddecimalplace:
  15613. description: PD小数位
  15614. type: integer
  15615. timemaxvalue:
  15616. description: 单次最大转入限制
  15617. type: number
  15618. timeminvalue:
  15619. description: 单次最小转入限制
  15620. type: number
  15621. required:
  15622. - converttype
  15623. - innergoodsid
  15624. - outergoodscode
  15625. type: object
  15626. models.Szdz3searchwhitelist:
  15627. properties:
  15628. createtime:
  15629. description: 创建时间
  15630. type: string
  15631. creatorid:
  15632. description: 创建人
  15633. type: integer
  15634. modifierid:
  15635. description: 修改人
  15636. type: integer
  15637. modifytime:
  15638. description: 修改时间
  15639. type: string
  15640. userid:
  15641. description: 用户ID
  15642. type: integer
  15643. required:
  15644. - userid
  15645. type: object
  15646. models.TBGoods:
  15647. properties:
  15648. agreeunit:
  15649. description: 合约乘数
  15650. type: number
  15651. enumdicname:
  15652. description: 单位名称
  15653. type: string
  15654. goodscode:
  15655. description: 商品代码(内部)
  15656. type: string
  15657. goodsid:
  15658. description: 商品ID(自增ID SEQ_GOODS)
  15659. type: integer
  15660. goodsname:
  15661. description: 商品名称
  15662. type: string
  15663. type: object
  15664. models.TBGoodsGroup:
  15665. properties:
  15666. GDLST:
  15667. description: 商品列表
  15668. items:
  15669. $ref: '#/definitions/models.TBGoods'
  15670. type: array
  15671. convertratio:
  15672. description: 折算系数
  15673. type: number
  15674. enumdicname:
  15675. description: 单位名称
  15676. type: string
  15677. exexchangecode:
  15678. description: 交易所代码
  15679. type: string
  15680. exexchangename:
  15681. description: 交易所名称
  15682. type: string
  15683. goodsgroupid:
  15684. description: 商品组ID(自增ID)
  15685. type: integer
  15686. goodsgroupname:
  15687. description: 商品组名称
  15688. type: string
  15689. goodunitid:
  15690. description: 报价单位ID
  15691. type: integer
  15692. type: object
  15693. models.TBMiddleGoods:
  15694. properties:
  15695. GPLST:
  15696. description: 期货品种列表
  15697. items:
  15698. $ref: '#/definitions/models.TBGoodsGroup'
  15699. type: array
  15700. WDLST:
  15701. description: 商品信息列表(现货品类)
  15702. items:
  15703. $ref: '#/definitions/models.TBWrstandard'
  15704. type: array
  15705. areauserid:
  15706. description: 机构用户ID
  15707. type: integer
  15708. enumdicname:
  15709. description: 单位名称
  15710. type: string
  15711. goodsunitid:
  15712. description: 套保品种单位id
  15713. type: integer
  15714. middlegoodscode:
  15715. description: 套保品种代码
  15716. type: string
  15717. middlegoodsid:
  15718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15719. type: integer
  15720. middlegoodsname:
  15721. description: 套保品种名称
  15722. type: string
  15723. needarbitrageratio:
  15724. description: 套利比率
  15725. type: number
  15726. needhedgeratio:
  15727. description: 套保比率
  15728. type: number
  15729. type: object
  15730. models.TBWrstandard:
  15731. properties:
  15732. convertratio:
  15733. description: 折算系数
  15734. type: number
  15735. deliverygoodsname:
  15736. description: 品种名称
  15737. type: string
  15738. enumdicname:
  15739. description: 单位名称
  15740. type: string
  15741. vatrate:
  15742. description: 增值税率
  15743. type: number
  15744. wrstandardcode:
  15745. description: 现货商品代码
  15746. type: string
  15747. wrstandardid:
  15748. description: 现货商品ID(SEQ_WRSTANDARD)
  15749. type: integer
  15750. wrstandardname:
  15751. description: 现货商品名称
  15752. type: string
  15753. type: object
  15754. models.Taaccount:
  15755. properties:
  15756. accountflag:
  15757. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15758. type: integer
  15759. accountid:
  15760. description: 资金账户ID
  15761. type: integer
  15762. accountname:
  15763. description: 账户名称
  15764. type: string
  15765. balance:
  15766. description: 期初余额
  15767. type: number
  15768. capitalbalance:
  15769. description: 本金余额[外部子账户实际出入金余额]
  15770. type: number
  15771. changeflag:
  15772. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15773. type: integer
  15774. changetime:
  15775. description: 账户状态变更时间
  15776. type: string
  15777. closepl:
  15778. description: 今日平仓盈亏
  15779. type: number
  15780. creditdecrease:
  15781. description: 今日授信减少
  15782. type: number
  15783. creditincrease:
  15784. description: 今日授信增加
  15785. type: number
  15786. curamount:
  15787. description: 总市值(从持仓中统计)
  15788. type: number
  15789. currencyid:
  15790. description: 货币ID
  15791. type: integer
  15792. currentbalance:
  15793. description: 期末余额
  15794. type: number
  15795. freezecharge:
  15796. description: 手续费冻结
  15797. type: number
  15798. freezemargin:
  15799. description: 冻结保证金
  15800. type: number
  15801. fromaccountid:
  15802. description: 所属上级账户
  15803. type: integer
  15804. inamount:
  15805. description: 今日入金金额(包括三方入金)
  15806. type: number
  15807. ismain:
  15808. description: 是否母账号 0:不是母账户 1:是母账户
  15809. type: integer
  15810. ismarketaccount:
  15811. description: 是否机构接单账号 0:不是 1:是
  15812. type: integer
  15813. isreckonaccount:
  15814. description: 是否机构分润账号 0:不是 1:是
  15815. type: integer
  15816. mortgagecredit:
  15817. description: 授信金额
  15818. type: number
  15819. orifreezecharge:
  15820. description: 期初手续费冻结
  15821. type: number
  15822. orifreezemargin:
  15823. description: 期初冻结保证金
  15824. type: number
  15825. orimortgagecredit:
  15826. description: 期初授信金额
  15827. type: number
  15828. oriothercredit:
  15829. description: 期初其它授信金额
  15830. type: number
  15831. oriotherfreezemargin:
  15832. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15833. type: number
  15834. orioutamountfreeze:
  15835. description: 期初出金冻结
  15836. type: number
  15837. oriusedmargin:
  15838. description: 期初占用保证金
  15839. type: number
  15840. othercredit:
  15841. description: 其它授信金额
  15842. type: number
  15843. othercreditdecrease:
  15844. description: 今日其它授信减少
  15845. type: number
  15846. othercreditincrease:
  15847. description: 今日其它授信增加
  15848. type: number
  15849. otherfreezemargin:
  15850. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15851. type: number
  15852. otherincome:
  15853. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15854. type: number
  15855. otherpay:
  15856. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15857. type: number
  15858. outamount:
  15859. description: 今日出金金额(包括三方出金)
  15860. type: number
  15861. outamountfreeze:
  15862. description: 出金冻结
  15863. type: number
  15864. outthreshold:
  15865. description: 出金阈值
  15866. type: number
  15867. parentaccountid:
  15868. description: 所属根账号
  15869. type: integer
  15870. paycharge:
  15871. description: 今日手续费支出
  15872. type: number
  15873. relatedaccountstatus:
  15874. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15875. type: integer
  15876. relateduserid:
  15877. description: 关联用户
  15878. type: integer
  15879. remainamount:
  15880. description: 融资额(从融资合同中统计)
  15881. type: number
  15882. serivcegroup:
  15883. description: 服务分组
  15884. type: integer
  15885. signstatus:
  15886. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15887. type: integer
  15888. sublevelpath:
  15889. description: 账号层级路径(逗号分隔,首尾加逗号)
  15890. type: string
  15891. taaccounttype:
  15892. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15893. type: integer
  15894. thirdinamount:
  15895. description: 今日三方入金
  15896. type: number
  15897. thirdoutamount:
  15898. description: 今日三方出金
  15899. type: number
  15900. tradestatus:
  15901. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15902. type: integer
  15903. tradestatuschangetime:
  15904. description: 激活时间
  15905. type: string
  15906. transferamount:
  15907. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15908. type: number
  15909. usedmargin:
  15910. description: 占用保证金
  15911. type: number
  15912. userid:
  15913. description: 用户ID
  15914. type: integer
  15915. required:
  15916. - accountid
  15917. - userid
  15918. type: object
  15919. models.Tablecolumnconfig:
  15920. properties:
  15921. aligntype:
  15922. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15923. type: integer
  15924. autoid:
  15925. description: AutoID
  15926. type: integer
  15927. columnfield:
  15928. description: 列字段
  15929. type: string
  15930. columntitle:
  15931. description: 列Title
  15932. type: string
  15933. columnwidth:
  15934. description: 列宽
  15935. type: string
  15936. fixed:
  15937. description: 固定类型 - 空 | left | right
  15938. type: string
  15939. formatterstring:
  15940. description: 格式化字符
  15941. type: string
  15942. formattertype:
  15943. description: 格式化类型
  15944. type: string
  15945. groupname:
  15946. description: 表头分组名称
  15947. type: string
  15948. ismerge:
  15949. description: 是否合并显示 - 0:不合并 1:合并
  15950. type: integer
  15951. isshow:
  15952. description: 是否显示 - 0:不显示 1:显示
  15953. type: integer
  15954. needsummary:
  15955. description: 是否需要汇总 - 0:不需要 1:需要
  15956. type: integer
  15957. orderindex:
  15958. description: 顺序
  15959. type: integer
  15960. remark:
  15961. description: 备注
  15962. type: string
  15963. summarytype:
  15964. description: 汇总类型 - 1:加总 2:最后一个
  15965. type: integer
  15966. tablekey:
  15967. description: 列表Key
  15968. type: string
  15969. required:
  15970. - autoid
  15971. type: object
  15972. models.TjmdHolderDetailTradeInfo:
  15973. properties:
  15974. agreeunit:
  15975. description: 合约乘数
  15976. type: number
  15977. buyaccountid:
  15978. description: 买方账户
  15979. type: string
  15980. buyusername:
  15981. description: 买方
  15982. type: string
  15983. delistingdate:
  15984. description: 最后结算日
  15985. type: string
  15986. expiredate:
  15987. description: 到期结算价定价日
  15988. type: string
  15989. exprieprice:
  15990. description: 到期清算价格
  15991. type: string
  15992. goodscode:
  15993. description: 商品代码
  15994. type: string
  15995. goodsid:
  15996. description: 商品ID
  15997. type: integer
  15998. goodsname:
  15999. description: 商品名称(交易标的)
  16000. type: string
  16001. lasttradedate:
  16002. description: 最后交易日
  16003. type: string
  16004. listingdate:
  16005. description: 开始交易日
  16006. type: string
  16007. openprice:
  16008. description: 成交价
  16009. type: number
  16010. openqty:
  16011. description: 交易数量
  16012. type: integer
  16013. sellaccountid:
  16014. description: 卖方账户
  16015. type: string
  16016. sellusername:
  16017. description: 卖方
  16018. type: string
  16019. tradeamount:
  16020. description: 初始名义价值
  16021. type: number
  16022. tradedate:
  16023. description: 成交日期
  16024. type: string
  16025. tradeid:
  16026. description: 成交编号
  16027. type: string
  16028. type: object
  16029. models.TjmdMarketSection:
  16030. properties:
  16031. marketsectionid:
  16032. description: 市场版块ID(SEQ_MARKETSECTION)
  16033. type: integer
  16034. marketsectionname:
  16035. description: 市场版块名称
  16036. type: string
  16037. mlist:
  16038. description: 市场列表(板块下面有多少个市场)
  16039. items:
  16040. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16041. type: array
  16042. orderindex:
  16043. description: 排序
  16044. type: integer
  16045. pictureurl:
  16046. description: 图片url, 规格(90*90)
  16047. type: string
  16048. remark:
  16049. description: 备注
  16050. type: string
  16051. type: object
  16052. models.TjmdMarketSectionConfig:
  16053. properties:
  16054. auctionwrtype:
  16055. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16056. type: integer
  16057. canacceptquote:
  16058. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16059. type: integer
  16060. cangoodsexercise:
  16061. description: '[期权]是否可现货行权- 0:否 1:是'
  16062. type: integer
  16063. cangoodsexercisetype:
  16064. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16065. type: integer
  16066. canmanualquotestrike:
  16067. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16068. type: integer
  16069. canmutistage:
  16070. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16071. type: integer
  16072. canpreexercise:
  16073. description: '[期权]是否可预申报- 0:否 1:是'
  16074. type: integer
  16075. clearinterval:
  16076. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16077. type: integer
  16078. contracttmp:
  16079. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16080. type: string
  16081. exchareaid:
  16082. description: 所属交易所,可以没有
  16083. type: integer
  16084. financemarketid:
  16085. description: 融资回购市场ID [仓单贸易]
  16086. type: integer
  16087. goodstype:
  16088. description: 商品类型 - 1:交易商品 2:仓单商品
  16089. type: integer
  16090. hasrebate:
  16091. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16092. type: integer
  16093. hastradecredit:
  16094. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16095. type: integer
  16096. haswr:
  16097. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16098. type: integer
  16099. isdeductmargin:
  16100. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16101. type: integer
  16102. isrecordsource:
  16103. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16104. type: integer
  16105. isreleasemargin:
  16106. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16107. type: integer
  16108. isupdatereckonprice:
  16109. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16110. type: integer
  16111. listingmode:
  16112. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16113. type: integer
  16114. marginformula:
  16115. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16116. type: integer
  16117. marginformula2:
  16118. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16119. type: integer
  16120. marketid:
  16121. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16122. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16123. type: integer
  16124. marketname:
  16125. description: 市场名称
  16126. type: string
  16127. marketsectionid:
  16128. description: 市场版块ID(SEQ_MARKETSECTION)
  16129. type: integer
  16130. marketserviceid:
  16131. description: 市场服务ID
  16132. type: integer
  16133. marketstatus:
  16134. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16135. type: integer
  16136. markettype:
  16137. description: 市场类型- 1:非交易服务 2:交易服务
  16138. type: integer
  16139. matchermode:
  16140. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16141. type: integer
  16142. nowrquotaflag:
  16143. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16144. type: integer
  16145. openmethod:
  16146. description: 开盘模式 - 0 自动 1手动
  16147. type: integer
  16148. orderindex:
  16149. description: 排序
  16150. type: integer
  16151. otcuserid:
  16152. description: 场外期权做市商[场外期权]
  16153. type: integer
  16154. outersynctime:
  16155. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16156. type: string
  16157. paylaterflag:
  16158. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16159. type: integer
  16160. pendingflag:
  16161. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16162. type: integer
  16163. pendingtime:
  16164. description: 待开市时间[通道交易-对冲](HH:mm)
  16165. type: string
  16166. performancetempid:
  16167. description: 履约计划模板ID - 作废
  16168. type: integer
  16169. premiumquotemode:
  16170. description: 权利金报价方式 - 1:自动 2:手动
  16171. type: integer
  16172. rebateratio:
  16173. description: 返利比率[竞价式]
  16174. type: number
  16175. reckonorder:
  16176. description: 结算顺序
  16177. type: integer
  16178. reckonpricealgorithm:
  16179. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16180. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16181. type: integer
  16182. reckonpriceparam:
  16183. description: 结算价参数
  16184. type: integer
  16185. reckontime:
  16186. description: 结算时间[通道交易-对冲](HH:mm)
  16187. type: string
  16188. roleprioritytype:
  16189. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16190. type: integer
  16191. selllistingauditflag:
  16192. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16193. type: integer
  16194. trademarkettype:
  16195. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16196. type: integer
  16197. trademode:
  16198. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16199. 21:竞拍-大宗式 22:受托竞价
  16200. type: integer
  16201. tradeproperty:
  16202. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16203. 8:场外期权
  16204. type: integer
  16205. tradetype:
  16206. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16207. type: integer
  16208. updatereckonpriceinterval:
  16209. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16210. type: integer
  16211. type: object
  16212. models.TjmdQuoteGoods:
  16213. properties:
  16214. buyqty:
  16215. description: 买量(暂不做, 无值, 保留字段)
  16216. type: number
  16217. decimalplace:
  16218. description: 报价小数位
  16219. type: integer
  16220. goodscode:
  16221. description: 合约代码
  16222. type: string
  16223. goodsgroupid:
  16224. description: 商品组ID(自增ID)
  16225. type: integer
  16226. goodsgroupname:
  16227. description: 商品组名称
  16228. type: string
  16229. goodsid:
  16230. description: 合约id
  16231. type: integer
  16232. goodsname:
  16233. description: 合约名称
  16234. type: string
  16235. refgoodscode:
  16236. description: 标的合约代码
  16237. type: string
  16238. refgoodsid:
  16239. description: 标的合约id
  16240. type: integer
  16241. refgoodsname:
  16242. description: 标的合约名称
  16243. type: string
  16244. sellqty:
  16245. description: 卖量(暂不做, 无值, 保留字段)
  16246. type: number
  16247. type: object
  16248. models.TjmdTodayAccountMargin:
  16249. properties:
  16250. accountid:
  16251. description: 账号ID
  16252. type: integer
  16253. goodsid:
  16254. description: 商品ID
  16255. type: integer
  16256. infoc:
  16257. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16258. description: 配置参数
  16259. marketid:
  16260. description: 市场ID
  16261. type: integer
  16262. type: object
  16263. models.TjmdTradeOrderDetail:
  16264. properties:
  16265. buyorsell:
  16266. description: 买卖方向 0-买 1-卖
  16267. type: integer
  16268. goodsid:
  16269. description: 商品id
  16270. type: integer
  16271. marketmaxsub:
  16272. description: 市价最大偏移范围 [浮动价 - 点差]
  16273. type: number
  16274. orderid:
  16275. description: 委托单号
  16276. type: string
  16277. orderprice:
  16278. description: 期初均价
  16279. type: number
  16280. orderqty:
  16281. description: 委托数量
  16282. type: integer
  16283. pricemode:
  16284. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16285. type: integer
  16286. userid:
  16287. description: 用户id
  16288. type: integer
  16289. username:
  16290. description: 用户名称(已脱敏)
  16291. type: string
  16292. type: object
  16293. models.TjmdTransferApply:
  16294. properties:
  16295. applyid:
  16296. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16297. type: integer
  16298. applystatus:
  16299. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16300. type: integer
  16301. applytime:
  16302. description: 申请时间(时间)
  16303. type: string
  16304. auditremark:
  16305. description: 审核备注(拒绝原因?)
  16306. type: string
  16307. begindate:
  16308. description: 开始交易日(yyyymmdd)
  16309. type: string
  16310. buyorsell:
  16311. description: 买卖 - 0:买 1:卖
  16312. type: integer
  16313. enddate:
  16314. description: 结束交易日(yyyymmdd)
  16315. type: string
  16316. goodscode:
  16317. description: 商品代码
  16318. type: string
  16319. goodsid:
  16320. description: 商品ID
  16321. type: integer
  16322. goodsname:
  16323. description: 商品名称
  16324. type: string
  16325. marketid:
  16326. description: 市场ID
  16327. type: integer
  16328. qty:
  16329. description: 期初均价
  16330. type: number
  16331. tradeid:
  16332. description: 成交单号(关联持仓)
  16333. type: string
  16334. transferamount:
  16335. description: 转让总金额(金额)
  16336. type: number
  16337. transferprice:
  16338. description: 转让价格(协议价格)
  16339. type: number
  16340. type: object
  16341. models.TradeHolderDetail:
  16342. properties:
  16343. accountid:
  16344. description: 账号ID
  16345. type: integer
  16346. agreeunit:
  16347. description: 合约乘数
  16348. type: number
  16349. buyorsell:
  16350. description: 方向 - 0:买 1:卖
  16351. type: integer
  16352. currencyid:
  16353. description: 商品币种id
  16354. type: integer
  16355. currencyname:
  16356. description: 币种名称
  16357. type: string
  16358. decimalplace:
  16359. description: 商品价格小数位
  16360. type: integer
  16361. enumdicname:
  16362. description: 商品单位名称
  16363. type: string
  16364. expirecycle:
  16365. description: 行权周期(天) - 1:滚动行权时填写
  16366. type: integer
  16367. expiredate:
  16368. description: 行权日(yyyyMMdd) - 到期日
  16369. type: string
  16370. expiretype:
  16371. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16372. type: integer
  16373. freezeqty:
  16374. description: 期初均价
  16375. type: number
  16376. goodscode:
  16377. description: 商品代码
  16378. type: string
  16379. goodsid:
  16380. description: 商品ID
  16381. type: integer
  16382. goodsname:
  16383. description: 商品名称
  16384. type: string
  16385. goodunitid:
  16386. description: 商品单位id
  16387. type: integer
  16388. holderamount:
  16389. description: 持仓金额
  16390. type: number
  16391. holdercredit:
  16392. description: 持仓授信金额
  16393. type: number
  16394. holderdays:
  16395. description: 剩余冻结天数
  16396. type: integer
  16397. holderprice:
  16398. description: 持仓价格
  16399. type: number
  16400. holderqty:
  16401. description: 期初均价
  16402. type: number
  16403. isconfirmexercise:
  16404. description: 是否确认行权- 0:否 1:是
  16405. type: integer
  16406. ispreexercise:
  16407. description: 是否预申报- 0:否 1:是 2:不可行权
  16408. type: integer
  16409. marketid:
  16410. description: 市场id
  16411. type: integer
  16412. marketname:
  16413. description: 市场名称
  16414. type: string
  16415. openprice:
  16416. description: 建仓价格
  16417. type: number
  16418. openqty:
  16419. description: 期初均价
  16420. type: number
  16421. optiontype:
  16422. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16423. type: integer
  16424. preexerciseprice:
  16425. description: 预申报价格
  16426. type: number
  16427. premium:
  16428. description: 权利金
  16429. type: number
  16430. qtydecimalplace:
  16431. description: 商品成交量小数位
  16432. type: integer
  16433. refgoodscode:
  16434. description: 标的合约代码
  16435. type: string
  16436. refgoodsid:
  16437. description: 标的合约id
  16438. type: integer
  16439. releaseamount:
  16440. description: 释放持仓金额
  16441. type: number
  16442. releaseholdercredit:
  16443. description: 释放持仓授信金额
  16444. type: number
  16445. taname:
  16446. description: 资金账号名称
  16447. type: string
  16448. tradeamount:
  16449. description: 成交金额
  16450. type: number
  16451. tradedate:
  16452. description: 交易日(yyyyMMdd)
  16453. type: string
  16454. tradeid:
  16455. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16456. type: string
  16457. trademode:
  16458. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16459. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16460. type: integer
  16461. tradeproperty:
  16462. description: 交易属性
  16463. type: integer
  16464. tradetime:
  16465. description: 交易时间
  16466. type: string
  16467. userid:
  16468. description: 用户id
  16469. type: integer
  16470. username:
  16471. description: 用户名称
  16472. type: string
  16473. type: object
  16474. models.Unlinkermcphedgeplan:
  16475. properties:
  16476. accountid:
  16477. description: 期货账户ID - 作废
  16478. type: integer
  16479. accountname:
  16480. description: 交易用户
  16481. type: string
  16482. applyid:
  16483. description: 申请人
  16484. type: integer
  16485. applysrc:
  16486. description: 申请来源 - 1:管理端 2:终端
  16487. type: integer
  16488. applytime:
  16489. description: 申请时间
  16490. type: string
  16491. areauserid:
  16492. description: '[企业ID]机构ID'
  16493. type: integer
  16494. auditid:
  16495. description: 审核人
  16496. type: integer
  16497. auditremark:
  16498. description: 审核备注
  16499. type: string
  16500. auditsrc:
  16501. description: 审核来源 - 1:管理端 2:终端
  16502. type: integer
  16503. audittime:
  16504. description: 审核时间
  16505. type: string
  16506. audittradedate:
  16507. description: 审核交易日(yyyyMMdd)
  16508. type: string
  16509. biztype:
  16510. description: 业务类型 - 1:套保
  16511. type: integer
  16512. contracttype:
  16513. description: 计划类型 - 1:采购 -1:销售
  16514. type: integer
  16515. convertfactor:
  16516. description: 标仓系数 - 作废
  16517. type: number
  16518. createtime:
  16519. description: 创建时间
  16520. type: string
  16521. currencyid:
  16522. description: 结算币种ID - 作废
  16523. type: integer
  16524. deliverygoodsid:
  16525. description: 现货品种ID
  16526. type: integer
  16527. enumdicname:
  16528. description: 结算币种
  16529. type: string
  16530. hedgeplanid:
  16531. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16532. type: string
  16533. hedgeplanno:
  16534. description: '[计划编号]套保计划编号,模糊查询'
  16535. type: string
  16536. hedgeplanstatus:
  16537. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16538. type: integer
  16539. isrelated:
  16540. description: 是否已关联计划项目 - 0:否 1:是
  16541. type: integer
  16542. planqty:
  16543. description: '[计划量]计划数量'
  16544. type: number
  16545. plantime:
  16546. description: 计划时间
  16547. type: string
  16548. producttype:
  16549. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16550. type: integer
  16551. remark:
  16552. description: 备注
  16553. type: string
  16554. spotgoodsdesc:
  16555. description: 商品型号
  16556. type: string
  16557. tradedate:
  16558. description: 交易日(yyyyMMdd)
  16559. type: string
  16560. tradeuserid:
  16561. description: 交易用户ID
  16562. type: integer
  16563. updatetime:
  16564. description: 更新时间
  16565. type: string
  16566. wrstandardid:
  16567. description: 现货商品ID
  16568. type: integer
  16569. wrstandardname:
  16570. description: 现货商品,模糊查询
  16571. type: string
  16572. required:
  16573. - areauserid
  16574. type: object
  16575. models.UserCollectConfig:
  16576. properties:
  16577. accountstatus:
  16578. description: 账户状态 - 1:正常 2:停用 3:注销
  16579. type: integer
  16580. collectaccountname:
  16581. description: 收款人账户名称
  16582. type: string
  16583. collectaccountno:
  16584. description: 收款人账户
  16585. type: string
  16586. collectbankname:
  16587. description: 收款人开户行
  16588. type: string
  16589. collectbranchbankname:
  16590. description: 收款人开户支行
  16591. type: string
  16592. collectconfigid:
  16593. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16594. type: string
  16595. remark:
  16596. description: 备注
  16597. type: string
  16598. userid:
  16599. description: 收款人用户ID
  16600. type: integer
  16601. type: object
  16602. models.UserReceiveInfo:
  16603. properties:
  16604. address:
  16605. description: 提货人详细地址
  16606. type: string
  16607. autoid:
  16608. description: AutoID
  16609. type: integer
  16610. cardnum:
  16611. description: 证件号码(加密存储)
  16612. type: string
  16613. cardtypeid:
  16614. description: 证件类型
  16615. type: integer
  16616. cityid:
  16617. description: 市
  16618. type: integer
  16619. cityname:
  16620. description: 城市名称
  16621. type: string
  16622. countryid:
  16623. description: 国家
  16624. type: integer
  16625. countryname:
  16626. description: 国家名称
  16627. type: string
  16628. districtid:
  16629. description: 地区
  16630. type: integer
  16631. districtname:
  16632. description: 地区名称
  16633. type: string
  16634. hasencrypt:
  16635. description: 数据是否已加密 - 0:未加密 1:已加密
  16636. type: integer
  16637. isdefault:
  16638. description: 是否默认地址 - 0:否 1:是
  16639. type: integer
  16640. phonenum:
  16641. description: 提货人联系方式(加密存储)
  16642. type: string
  16643. provinceid:
  16644. description: 省
  16645. type: integer
  16646. provincename:
  16647. description: 省名称
  16648. type: string
  16649. receivername:
  16650. description: 提货人姓名
  16651. type: string
  16652. takeremark:
  16653. description: 提货备注
  16654. type: string
  16655. userid:
  16656. description: 用户ID
  16657. type: integer
  16658. type: object
  16659. models.Useraccount:
  16660. properties:
  16661. accountname:
  16662. description: 账户名称(机构名称)
  16663. type: string
  16664. accountstatus:
  16665. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16666. type: integer
  16667. applysrc:
  16668. description: 申请来源 - 1:管理端 2:终端
  16669. type: integer
  16670. auditremark:
  16671. description: 审核备注
  16672. type: string
  16673. auditsrc:
  16674. description: 审核来源 - 1:管理端 2:终端
  16675. type: integer
  16676. audittime:
  16677. description: 审核时间
  16678. type: string
  16679. audituserid:
  16680. description: 审核人
  16681. type: integer
  16682. broker:
  16683. description: 所属经纪人ID
  16684. type: integer
  16685. canceltime:
  16686. description: 销户时间
  16687. type: string
  16688. canceluserid:
  16689. description: 销户人
  16690. type: integer
  16691. canrecommend:
  16692. description: 是否可推荐 - 0:不可 1;可
  16693. type: integer
  16694. createtime:
  16695. description: 创建时间
  16696. type: string
  16697. creatorid:
  16698. description: 创建人
  16699. type: integer
  16700. hasauth:
  16701. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16702. type: integer
  16703. isanonymous:
  16704. description: 是否匿名下单 - 0:否 1:是
  16705. type: integer
  16706. maxinvestornum:
  16707. description: 最大用户数(经纪会员下投资者个数)
  16708. type: integer
  16709. memberuserid:
  16710. description: 所属会员ID
  16711. type: integer
  16712. modifierid:
  16713. description: 修改人
  16714. type: integer
  16715. modifyremark:
  16716. description: 变更备注
  16717. type: string
  16718. modifystatus:
  16719. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16720. type: integer
  16721. modifytime:
  16722. description: 修改时间
  16723. type: string
  16724. parenttopuser:
  16725. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16726. type: string
  16727. parentuserid:
  16728. description: 所属机构ID
  16729. type: integer
  16730. reckonaccountid:
  16731. description: 默认结算资金账号ID(机构分润使用) 作废
  16732. type: integer
  16733. refercount:
  16734. description: 推荐总人数
  16735. type: integer
  16736. refereeuserid:
  16737. description: 推荐人ID
  16738. type: integer
  16739. refernum:
  16740. description: 推荐码
  16741. type: string
  16742. rootuserid:
  16743. description: 根用户ID
  16744. type: integer
  16745. subaccountlevel:
  16746. description: 子账户层数
  16747. type: integer
  16748. subarealevelpath:
  16749. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16750. type: string
  16751. userid:
  16752. description: 用户ID
  16753. type: integer
  16754. usertype:
  16755. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16756. type: integer
  16757. required:
  16758. - userid
  16759. type: object
  16760. models.Userfavoritegoods:
  16761. properties:
  16762. goodsid:
  16763. description: 商品ID
  16764. type: integer
  16765. required:
  16766. - goodsid
  16767. type: object
  16768. models.Userinfo:
  16769. properties:
  16770. address:
  16771. description: 地址
  16772. type: string
  16773. attachment1:
  16774. description: 附件1
  16775. type: string
  16776. attachment2:
  16777. description: 附件2
  16778. type: string
  16779. bankaccount:
  16780. description: 银行帐号 (加密存储)
  16781. type: string
  16782. bankaccountname:
  16783. description: 收款人名称
  16784. type: string
  16785. bankcardfrontphotourl:
  16786. description: 银行卡正面照地址
  16787. type: string
  16788. bankid:
  16789. description: 银行编码
  16790. type: string
  16791. bankname:
  16792. description: 银行名称
  16793. type: string
  16794. biznature:
  16795. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16796. type: integer
  16797. bizscope:
  16798. description: 企业经营范围(企业)
  16799. type: string
  16800. cardbackphotourl:
  16801. description: 证件背面图片地址
  16802. type: string
  16803. cardfrontphotourl:
  16804. description: 证件正面图片地址
  16805. type: string
  16806. cardnum:
  16807. description: 证件号码(加密存储)
  16808. type: string
  16809. cardtypeid:
  16810. description: 证件类型ID
  16811. type: integer
  16812. cityid:
  16813. description: 市
  16814. type: integer
  16815. company:
  16816. description: 公司(个人)
  16817. type: string
  16818. contactname:
  16819. description: 联系人
  16820. type: string
  16821. countryid:
  16822. description: 国家
  16823. type: integer
  16824. createtime:
  16825. description: 创建时间
  16826. type: string
  16827. creatorid:
  16828. description: 创建人
  16829. type: integer
  16830. customername:
  16831. description: 客户名称(企业名称)
  16832. type: string
  16833. districtid:
  16834. description: 地区
  16835. type: integer
  16836. email:
  16837. description: 邮件(加密存储)
  16838. type: string
  16839. fax:
  16840. description: 传真(加密存储)
  16841. type: string
  16842. halfbodyphotourl:
  16843. description: 半身照地址
  16844. type: string
  16845. hasencrypt:
  16846. description: 数据是否已加密 - 0:未加密 1:已加密
  16847. type: integer
  16848. headurl:
  16849. description: 头像地址
  16850. type: string
  16851. legalcardbackphotourl:
  16852. description: 法人身份证背面照地址
  16853. type: string
  16854. legalcardfrontphotourl:
  16855. description: 法人身份证正面照地址
  16856. type: string
  16857. legalpersonname:
  16858. description: 法人姓名(企业)
  16859. type: string
  16860. mobile:
  16861. description: 手机号码(加密存储)
  16862. type: string
  16863. mobile2:
  16864. description: 手机号码[明文-尚志]
  16865. type: string
  16866. modifierid:
  16867. description: 修改人
  16868. type: integer
  16869. modifiertime:
  16870. description: 修改时间
  16871. type: string
  16872. needinvoice:
  16873. description: 是否需要发票 - 0:不需要 1:需要
  16874. type: integer
  16875. nickname:
  16876. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16877. type: string
  16878. openmode:
  16879. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16880. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16881. type: integer
  16882. otherurl:
  16883. description: 其它图片地址[使用分号分隔]
  16884. type: string
  16885. postalcode:
  16886. description: 邮政编码
  16887. type: string
  16888. provinceid:
  16889. description: 省
  16890. type: integer
  16891. qq:
  16892. description: QQ(加密存储
  16893. type: string
  16894. remark:
  16895. description: 备注
  16896. type: string
  16897. sex:
  16898. description: '用户性别 0: 女 1: 男'
  16899. type: integer
  16900. signpdfurl:
  16901. description: 签约pdf文件
  16902. type: string
  16903. telphone:
  16904. description: 联系电话(加密存储)
  16905. type: string
  16906. userid:
  16907. description: 用户ID
  16908. type: integer
  16909. userinfotype:
  16910. description: 用户信息类型 - 1:个人 2:企业
  16911. type: integer
  16912. userstatus:
  16913. description: 用户状态 - 1:正常 2:注销
  16914. type: integer
  16915. usertype:
  16916. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16917. type: integer
  16918. wechat:
  16919. description: 微信(加密存储)
  16920. type: string
  16921. wskhinfo:
  16922. description: 开户申请信息(JSON)
  16923. type: string
  16924. required:
  16925. - userid
  16926. type: object
  16927. models.WRSConverTDetail:
  16928. properties:
  16929. convertratio:
  16930. description: 套保系数
  16931. type: number
  16932. deliverygoodscode:
  16933. description: 现货商品代码
  16934. type: string
  16935. deliverygoodsid:
  16936. description: 现货品种ID
  16937. type: integer
  16938. deliverygoodsname:
  16939. description: 现货商品名称
  16940. type: string
  16941. enumdicname:
  16942. description: 单位名称
  16943. type: string
  16944. goodsunitid:
  16945. description: 套保品种单位id
  16946. type: integer
  16947. middlegoodscode:
  16948. description: 套保品种代码
  16949. type: string
  16950. middlegoodsid:
  16951. description: 套保品种ID
  16952. type: integer
  16953. middlegoodsname:
  16954. description: 套保品种名称
  16955. type: string
  16956. modifytime:
  16957. description: 修改时间
  16958. type: string
  16959. wrstandardid:
  16960. description: 品类ID
  16961. type: integer
  16962. type: object
  16963. models.WRStandardInfo:
  16964. properties:
  16965. areauserid:
  16966. description: 所属机构
  16967. type: integer
  16968. convertfactor:
  16969. description: 标仓系数
  16970. type: number
  16971. createtime:
  16972. description: 创建时间
  16973. type: string
  16974. creatorid:
  16975. description: 创建人
  16976. type: integer
  16977. deliverygoodsid:
  16978. description: 品种ID
  16979. type: integer
  16980. deliverygoodsname:
  16981. description: 交割商品名称
  16982. type: string
  16983. factoryitemjson:
  16984. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16985. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16986. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16987. 逗号分隔'
  16988. type: string
  16989. isvalid:
  16990. description: 是否有效 - 0:无效 1:有效
  16991. type: integer
  16992. minivalue:
  16993. description: 最小变动值
  16994. type: integer
  16995. minivaluedp:
  16996. description: 最小变动值小数位
  16997. type: integer
  16998. realminivalue:
  16999. description: 实际最小变动值
  17000. type: integer
  17001. realminivaluedp:
  17002. description: 实际最小变动值小数位
  17003. type: integer
  17004. remark:
  17005. description: 备注
  17006. type: string
  17007. unitid:
  17008. description: 单位ID
  17009. type: integer
  17010. unitname:
  17011. description: 单位
  17012. type: string
  17013. updatetime:
  17014. description: 更新时间
  17015. type: string
  17016. updatorid:
  17017. description: 更新人
  17018. type: integer
  17019. wrsstatus:
  17020. description: 状态 - 作废 - 0:未激活 1:正常
  17021. type: integer
  17022. wrstandardcode:
  17023. description: 现货品类代码
  17024. type: string
  17025. wrstandardid:
  17026. description: 现货品类ID(SEQ_WRSTANDARD)
  17027. type: integer
  17028. wrstandardname:
  17029. description: 现货品类名称
  17030. type: string
  17031. required:
  17032. - wrstandardid
  17033. type: object
  17034. models.WRTradeBargainApply:
  17035. properties:
  17036. accountid:
  17037. description: 摘牌资金账号
  17038. type: integer
  17039. applyprice:
  17040. description: 申请价格(议价价格)
  17041. type: string
  17042. applyqty:
  17043. description: 摘牌数量(议价数量)
  17044. type: number
  17045. applyremark:
  17046. description: 申请备注
  17047. type: string
  17048. applystatus:
  17049. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17050. type: integer
  17051. applytime:
  17052. description: 申请时间(议价时间)
  17053. type: string
  17054. begindate:
  17055. description: 开始交易日(yyyymmdd)
  17056. type: string
  17057. buyorsell:
  17058. description: 买卖(挂牌类型) - 0:买 1:卖
  17059. type: integer
  17060. confirmremark:
  17061. description: 确认备注
  17062. type: string
  17063. confirmtime:
  17064. description: 确认时间
  17065. type: string
  17066. confirmuserid:
  17067. description: 确认人
  17068. type: integer
  17069. deliverygoodscode:
  17070. description: 品种代码
  17071. type: string
  17072. deliverygoodsid:
  17073. description: 品种ID
  17074. type: integer
  17075. deliverygoodsname:
  17076. description: 品种名称
  17077. type: string
  17078. deliverymonth:
  17079. description: 交收月
  17080. type: string
  17081. enddate:
  17082. description: 结束交易日(yyyymmdd)
  17083. type: string
  17084. enumdicname:
  17085. description: 单位名称
  17086. type: string
  17087. fixedprice:
  17088. description: 期初均价
  17089. type: number
  17090. handlestatus:
  17091. description: 处理状态
  17092. type: integer
  17093. marginvalue:
  17094. description: 期初均价
  17095. type: number
  17096. marketid:
  17097. description: 市场ID
  17098. type: integer
  17099. matchaccountid:
  17100. description: 挂牌方资金账号
  17101. type: integer
  17102. matchuserid:
  17103. description: 挂牌方用户id
  17104. type: integer
  17105. matchusername:
  17106. description: 挂牌方用户名称(已脱敏)
  17107. type: string
  17108. minivalue:
  17109. description: 现货商品最小变动值
  17110. type: integer
  17111. optioncompare:
  17112. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17113. type: string
  17114. orderqty:
  17115. description: 挂牌数量
  17116. type: integer
  17117. refprice:
  17118. description: 参考价格
  17119. type: string
  17120. retcode:
  17121. description: 委托返回代码
  17122. type: integer
  17123. templatename:
  17124. description: 履约方式(履约模板名称)
  17125. type: string
  17126. tradedate:
  17127. description: 交易日(yyyyMMdd)
  17128. type: string
  17129. userid:
  17130. description: 摘牌人用户ID(议价人ID)
  17131. type: integer
  17132. username:
  17133. description: 议价人名字(已脱敏)
  17134. type: string
  17135. validtime:
  17136. description: 有效期限
  17137. type: string
  17138. warehouseid:
  17139. description: 仓库ID
  17140. type: integer
  17141. warehousename:
  17142. description: 仓库名称
  17143. type: string
  17144. wrbargainid:
  17145. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17146. type: string
  17147. wrfactortypeid:
  17148. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17149. type: string
  17150. wrfactortypename:
  17151. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17152. type: string
  17153. wrstandardcode:
  17154. description: 现货商品代码
  17155. type: string
  17156. wrstandardid:
  17157. description: 现货商品ID
  17158. type: integer
  17159. wrstandardname:
  17160. description: 商品名称
  17161. type: string
  17162. wrtradeorderid:
  17163. description: 关联委托单ID
  17164. type: string
  17165. wrtypename:
  17166. description: 商品
  17167. type: string
  17168. type: object
  17169. models.Warehouseinfo:
  17170. properties:
  17171. address:
  17172. description: 详细地址
  17173. type: string
  17174. areauserid:
  17175. description: 所属机构
  17176. type: integer
  17177. autoid:
  17178. description: 自增ID
  17179. type: integer
  17180. cityid:
  17181. description: 市
  17182. type: integer
  17183. contactname:
  17184. description: 联系人
  17185. type: string
  17186. contactnum:
  17187. description: 联系电话
  17188. type: string
  17189. countryid:
  17190. description: 国家
  17191. type: integer
  17192. createtime:
  17193. description: 创建时间
  17194. type: string
  17195. districtid:
  17196. description: 区
  17197. type: integer
  17198. hasvideo:
  17199. description: 是否有视频 - 0:无 1:有
  17200. type: integer
  17201. provinceid:
  17202. description: 省
  17203. type: integer
  17204. remark:
  17205. description: 审核备注
  17206. type: string
  17207. videourl:
  17208. description: 视频地址
  17209. type: string
  17210. warehousecode:
  17211. description: 仓库代码
  17212. type: string
  17213. warehousename:
  17214. description: 仓库名称
  17215. type: string
  17216. warehousestatus:
  17217. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17218. type: integer
  17219. warehousetype:
  17220. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17221. type: integer
  17222. required:
  17223. - autoid
  17224. - warehousecode
  17225. type: object
  17226. models.WrAverageTradePrice:
  17227. properties:
  17228. averageprice:
  17229. description: 期初均价
  17230. type: number
  17231. tradedate:
  17232. description: 交易日yyyymm
  17233. type: string
  17234. type: object
  17235. models.WrBrandAndYears:
  17236. properties:
  17237. brandlst:
  17238. description: 品牌列表
  17239. items:
  17240. $ref: '#/definitions/models.DgFactoryItem'
  17241. type: array
  17242. yearslst:
  17243. description: 年份列表
  17244. items:
  17245. $ref: '#/definitions/models.DgFactoryItem'
  17246. type: array
  17247. type: object
  17248. models.WrBsGoodsInfo:
  17249. properties:
  17250. buyorsell:
  17251. description: 买卖方向 0-买 1-卖
  17252. type: integer
  17253. goodsid:
  17254. description: 交易合约ID
  17255. type: integer
  17256. lstitem:
  17257. description: 商品信息项
  17258. items:
  17259. $ref: '#/definitions/models.WrTypeItem'
  17260. type: array
  17261. lststep:
  17262. description: 履约规则
  17263. items:
  17264. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17265. type: array
  17266. type: object
  17267. models.WrBuybackDetail:
  17268. properties:
  17269. buybackamount:
  17270. description: 回购金额
  17271. type: number
  17272. buybackqty:
  17273. description: 回购数量
  17274. type: number
  17275. buybackreleasemargin:
  17276. description: 回购释放保证金
  17277. type: number
  17278. buybacktime:
  17279. description: 回购时间
  17280. type: string
  17281. errordesc:
  17282. description: 错误描述
  17283. type: string
  17284. handlestatus:
  17285. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17286. type: integer
  17287. relatedwrid:
  17288. description: 关联仓单ID
  17289. type: integer
  17290. scfcontractid:
  17291. description: SCF合同ID
  17292. type: string
  17293. scfwrbuybackid:
  17294. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17295. type: integer
  17296. tradedate:
  17297. description: 交易日(yyyyMMdd)
  17298. type: string
  17299. type: object
  17300. models.WrClientAdSpaceConfig:
  17301. properties:
  17302. adspaceid:
  17303. description: 广告位ID
  17304. type: integer
  17305. adspacename:
  17306. description: 广告位名称
  17307. type: string
  17308. adspacetype:
  17309. description: 广告位类型 - 1:固定广告位
  17310. type: integer
  17311. areauserid:
  17312. description: 所属机构ID
  17313. type: integer
  17314. createdate:
  17315. description: 创建时间
  17316. type: string
  17317. imagepath:
  17318. description: 图片
  17319. type: string
  17320. modifierid:
  17321. description: 操作人
  17322. type: integer
  17323. recsize:
  17324. description: 推荐尺寸
  17325. type: string
  17326. title:
  17327. description: 标题
  17328. type: string
  17329. updatedate:
  17330. description: 更新时间
  17331. type: string
  17332. urlcontent:
  17333. description: 链接(地址\商品ID\功能菜单Key\appid)
  17334. type: string
  17335. urltype:
  17336. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17337. type: integer
  17338. type: object
  17339. models.WrDeliveryAvalidHoldLB:
  17340. properties:
  17341. accountid:
  17342. description: 资金账号
  17343. type: integer
  17344. avalidqty:
  17345. description: 数量(可点选数量)
  17346. type: number
  17347. deliverygoodsid:
  17348. description: 品种id
  17349. type: integer
  17350. enumdicname:
  17351. description: 单位名称
  17352. type: string
  17353. goodsid:
  17354. description: x合约商品id
  17355. type: integer
  17356. ladingbillid:
  17357. description: 提单id
  17358. type: string
  17359. pgoodscode:
  17360. description: p商品代码(点价合约)
  17361. type: string
  17362. pgoodsid:
  17363. description: p商品id(点价合约)
  17364. type: integer
  17365. pgoodsname:
  17366. description: p商品名称(点价合约)
  17367. type: string
  17368. pricemove:
  17369. description: 升贴水
  17370. type: number
  17371. subnum:
  17372. description: 提单子id
  17373. type: integer
  17374. userid:
  17375. description: 用户id
  17376. type: integer
  17377. username:
  17378. description: 仓单持有人
  17379. type: string
  17380. warehousecode:
  17381. description: 仓库代码
  17382. type: string
  17383. warehouseid:
  17384. description: 仓库id
  17385. type: integer
  17386. warehousename:
  17387. description: 仓库名称
  17388. type: string
  17389. wrfactortypeid:
  17390. description: 仓单要素id
  17391. type: string
  17392. wrstandardcode:
  17393. description: 品代码
  17394. type: string
  17395. wrstandardid:
  17396. description: 品类d
  17397. type: integer
  17398. wrstandardname:
  17399. description: 品类名称
  17400. type: string
  17401. wrtypename:
  17402. description: 商品
  17403. type: string
  17404. xgoodscode:
  17405. description: x合约代码
  17406. type: string
  17407. xgoodsname:
  17408. description: x合约名称
  17409. type: string
  17410. type: object
  17411. models.WrDeliveryDetail:
  17412. properties:
  17413. accountid:
  17414. description: 账号ID
  17415. type: integer
  17416. averageprice:
  17417. description: 期初均价
  17418. type: number
  17419. begindate:
  17420. description: 开始交易日(yyyymmdd)
  17421. type: string
  17422. buyorsell:
  17423. description: 方向 - 0:买 1:卖
  17424. type: integer
  17425. deliveryamount:
  17426. description: 货款金额(X总货款+P总货款)
  17427. type: number
  17428. deliveryid:
  17429. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17430. type: string
  17431. deliveryorderid:
  17432. description: 申报单号
  17433. type: string
  17434. deliverypricemove:
  17435. description: 升贴水(升贴水总额)
  17436. type: number
  17437. deliveryqty:
  17438. description: 交收数量(点选数量)
  17439. type: number
  17440. deliverystatus:
  17441. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17442. type: integer
  17443. deliverytime:
  17444. description: 交割时间
  17445. type: string
  17446. deliverytotalamount:
  17447. description: 交收金额
  17448. type: number
  17449. enddate:
  17450. description: 结束交易日(yyyymmdd)
  17451. type: string
  17452. enumdicname:
  17453. description: 单位名称
  17454. type: string
  17455. matchaccountid:
  17456. description: 对手账号ID
  17457. type: integer
  17458. matchusername:
  17459. description: 对手方名称(仓单持有人)
  17460. type: string
  17461. p1goodsremainamount:
  17462. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17463. type: number
  17464. pdeliverycloseqty:
  17465. description: p合约平仓数量
  17466. type: number
  17467. pdeliveryprice:
  17468. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17469. type: number
  17470. pgoodscode:
  17471. description: 商品代码
  17472. type: string
  17473. pgoodsid:
  17474. description: p点选合约id
  17475. type: integer
  17476. pgoodsname:
  17477. description: 商品名称
  17478. type: string
  17479. ppricemode:
  17480. description: 点价价格方式 - 1:商品价 2:固定值
  17481. type: integer
  17482. tradedate:
  17483. description: 交易日(yyyymmdd)
  17484. type: string
  17485. userid:
  17486. description: 用户id
  17487. type: integer
  17488. username:
  17489. description: 用户名称
  17490. type: string
  17491. warehousename:
  17492. description: 仓库名称
  17493. type: string
  17494. wrfactortypeid:
  17495. description: 仓单要素类型ID
  17496. type: string
  17497. wrtypename:
  17498. description: 商品
  17499. type: string
  17500. xdeliverycloseqty:
  17501. description: 合约数量
  17502. type: number
  17503. xgoodsamount:
  17504. description: 期初均价
  17505. type: number
  17506. xgoodscode:
  17507. description: 商品代码
  17508. type: string
  17509. xgoodsid:
  17510. description: x交易合约ID
  17511. type: integer
  17512. xgoodsname:
  17513. description: 商品名称
  17514. type: string
  17515. type: object
  17516. models.WrDeliveryGoodsSection:
  17517. properties:
  17518. dglst:
  17519. description: 板块商品列表
  17520. items:
  17521. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17522. type: array
  17523. imagepath:
  17524. description: 图片地址
  17525. type: string
  17526. orderindex:
  17527. description: 排序
  17528. type: integer
  17529. sectionid:
  17530. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17531. = 1的版块1 - 云融指数
  17532. type: integer
  17533. sectionname:
  17534. description: 版块名称
  17535. type: string
  17536. sectiontype:
  17537. description: 版块类型 - 1:指数版块 2:普通版块
  17538. type: integer
  17539. type: object
  17540. models.WrDeliveryGoodsSectionConfig:
  17541. properties:
  17542. deliverygoodscode:
  17543. description: 现货商品代码
  17544. type: string
  17545. deliverygoodsid:
  17546. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17547. type: integer
  17548. deliverygoodsname:
  17549. description: 现货商品名称
  17550. type: string
  17551. orderindex:
  17552. description: 排序
  17553. type: integer
  17554. type: object
  17555. models.WrDraftUserInfo:
  17556. properties:
  17557. address:
  17558. description: 地址
  17559. type: string
  17560. attachment1:
  17561. description: 附件1
  17562. type: string
  17563. attachment2:
  17564. description: 附件2
  17565. type: string
  17566. attachment3:
  17567. description: 附件3
  17568. type: string
  17569. attachment4:
  17570. description: 附件4
  17571. type: string
  17572. attachment5:
  17573. description: 附件5
  17574. type: string
  17575. bankaccount:
  17576. description: 银行帐号 (加密存储)
  17577. type: string
  17578. bankaccountname:
  17579. description: 收款人名称
  17580. type: string
  17581. bankcardfrontphotourl:
  17582. description: 银行卡正面照地址
  17583. type: string
  17584. bankid:
  17585. description: 银行编码
  17586. type: string
  17587. bankname:
  17588. description: 银行名称
  17589. type: string
  17590. birthday:
  17591. description: 生日(个人:年月日)
  17592. type: string
  17593. biznature:
  17594. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17595. type: integer
  17596. bizscope:
  17597. description: 企业经营范围(企业)
  17598. type: string
  17599. biztype:
  17600. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17601. type: integer
  17602. cardbackphotourl:
  17603. description: 证件背面图片地址
  17604. type: string
  17605. cardfrontphotourl:
  17606. description: 证件正面图片地址
  17607. type: string
  17608. cardnum:
  17609. description: 证件号码(加密存储)
  17610. type: string
  17611. cardtypeid:
  17612. description: 证件类型ID
  17613. type: integer
  17614. cityid:
  17615. description: 市
  17616. type: integer
  17617. company:
  17618. description: 公司(个人)
  17619. type: string
  17620. contactcardbackphotourl:
  17621. description: 联系人证件背面图片地址
  17622. type: string
  17623. contactcardfrontphotourl:
  17624. description: 联系人证件正面图片地址
  17625. type: string
  17626. contactname:
  17627. description: 联系人
  17628. type: string
  17629. countryid:
  17630. description: 国家
  17631. type: integer
  17632. createtime:
  17633. description: 创建时间
  17634. type: string
  17635. creatorid:
  17636. description: 创建人
  17637. type: integer
  17638. creditquota:
  17639. description: 授信额度(金瑞)
  17640. type: number
  17641. customername:
  17642. description: 客户名称(企业名称)
  17643. type: string
  17644. districtid:
  17645. description: 地区
  17646. type: integer
  17647. email:
  17648. description: 邮件(加密存储)
  17649. type: string
  17650. fax:
  17651. description: 传真(加密存储)
  17652. type: string
  17653. halfbodyphotourl:
  17654. description: 半身照地址
  17655. type: string
  17656. hasencrypt:
  17657. description: 数据是否已加密 - 0:未加密 1:已加密
  17658. type: integer
  17659. headurl:
  17660. description: 头像地址
  17661. type: string
  17662. legalcardbackphotourl:
  17663. description: 法人身份证背面照地址
  17664. type: string
  17665. legalcardfrontphotourl:
  17666. description: 法人身份证正面照地址
  17667. type: string
  17668. legalpersonname:
  17669. description: 法人姓名(企业)
  17670. type: string
  17671. mobile:
  17672. description: 手机号码(加密存储)
  17673. type: string
  17674. mobile2:
  17675. description: 手机号码[明文-尚志]
  17676. type: string
  17677. modifierid:
  17678. description: 修改人
  17679. type: integer
  17680. modifiertime:
  17681. description: 修改时间
  17682. type: string
  17683. needinvoice:
  17684. description: 是否需要发票 - 0:不需要 1:需要
  17685. type: integer
  17686. nickname:
  17687. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17688. type: string
  17689. openmode:
  17690. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17691. 6:苹果手机端注册 7:PC交易端注册"
  17692. type: integer
  17693. otherurl:
  17694. description: 其它图片地址[使用分号分隔]
  17695. type: string
  17696. postalcode:
  17697. description: 邮政编码
  17698. type: string
  17699. provinceid:
  17700. description: 省
  17701. type: integer
  17702. proxystatementurl:
  17703. description: 授权委托书
  17704. type: string
  17705. qq:
  17706. description: QQ(加密存储
  17707. type: string
  17708. remark:
  17709. description: 备注
  17710. type: string
  17711. sex:
  17712. description: '用户性别 0: 女 1: 男'
  17713. type: integer
  17714. signpdfurl:
  17715. description: 签约pdf文件
  17716. type: string
  17717. taxpayernum:
  17718. description: 纳税人识别号
  17719. type: string
  17720. telphone:
  17721. description: 联系电话(加密存储)
  17722. type: string
  17723. userid:
  17724. description: 用户ID
  17725. type: integer
  17726. userinfotype:
  17727. description: 用户信息类型 - 1:个人 2:企业
  17728. type: integer
  17729. userstatus:
  17730. description: 用户状态 - 1:正常 2:注销
  17731. type: integer
  17732. usertype:
  17733. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17734. type: integer
  17735. wechat:
  17736. description: 微信(加密存储)
  17737. type: string
  17738. wskhinfo:
  17739. description: 开户申请信息(JSON)
  17740. type: string
  17741. type: object
  17742. models.WrFAProductDetail:
  17743. properties:
  17744. accountid:
  17745. description: 资金账号
  17746. type: integer
  17747. areauserid:
  17748. description: 金融机构ID
  17749. type: integer
  17750. financingdays:
  17751. description: 天数(天)
  17752. type: integer
  17753. interestminlen:
  17754. description: 最小起息天数
  17755. type: integer
  17756. interestrate:
  17757. description: 利率
  17758. type: number
  17759. interestratemode:
  17760. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17761. type: integer
  17762. interestsettlemode:
  17763. description: 结息方式 - 1:按日结息 3:按月结息
  17764. type: integer
  17765. interestsettlevalue:
  17766. description: 结息方式值
  17767. type: integer
  17768. isautoloan:
  17769. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17770. type: integer
  17771. loantag:
  17772. description: '放款标识: "放款快" 或者为空'
  17773. type: string
  17774. marginratio:
  17775. description: 保证金比率质押率 - [仓单质押]
  17776. type: number
  17777. productdetailid:
  17778. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17779. type: integer
  17780. productid:
  17781. description: 金融产品ID
  17782. type: integer
  17783. productname:
  17784. description: 产品名称
  17785. type: string
  17786. updatetime:
  17787. description: 更新时间
  17788. type: string
  17789. username:
  17790. description: 融出方
  17791. type: string
  17792. type: object
  17793. models.WrFactorTypeInfo:
  17794. properties:
  17795. deliverygoodscode:
  17796. description: 品种代码
  17797. type: string
  17798. deliverygoodsname:
  17799. description: 品种名称
  17800. type: string
  17801. dgfactoryitemid:
  17802. description: 选择项id
  17803. type: integer
  17804. dgfactoryitemtypeid:
  17805. description: 要素选择项ID (1-仓库 2-品牌)
  17806. type: integer
  17807. dgfactoryitemvalue:
  17808. description: 要素项值
  17809. type: string
  17810. itemtypename:
  17811. description: 要素项名称
  17812. type: string
  17813. optioncompare:
  17814. description: 选择比较串
  17815. type: string
  17816. warehouseid:
  17817. description: 仓库id
  17818. type: integer
  17819. wrfactortypeid:
  17820. description: 仓单要素ID
  17821. type: string
  17822. wrfactortypename:
  17823. description: 要素名称
  17824. type: string
  17825. wrfactortypename2:
  17826. description: 要素名称(不含仓库)
  17827. type: string
  17828. wrstandardcode:
  17829. description: 品类代码
  17830. type: string
  17831. wrstandardid:
  17832. description: 品类id
  17833. type: integer
  17834. wrstandardname:
  17835. description: 品类名称
  17836. type: string
  17837. type: object
  17838. models.WrFilterItem:
  17839. properties:
  17840. itemcode:
  17841. description: 代码
  17842. type: string
  17843. itemid:
  17844. description: 项id
  17845. type: integer
  17846. itemname:
  17847. description: 名称
  17848. type: string
  17849. itemtype:
  17850. description: 类型 1-品种 2-品类(商品) 3-仓库
  17851. type: integer
  17852. type: object
  17853. models.WrFinanceBuyApply:
  17854. properties:
  17855. applydate:
  17856. description: 申请时间
  17857. type: string
  17858. applystatus:
  17859. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17860. type: integer
  17861. applyuserid:
  17862. description: 申请人
  17863. type: integer
  17864. auditdate:
  17865. description: 审核时间
  17866. type: string
  17867. auditremark:
  17868. description: 审核备注
  17869. type: string
  17870. audituserid:
  17871. description: 审核人
  17872. type: integer
  17873. buyaccountid:
  17874. description: 买方资金账号
  17875. type: integer
  17876. buyorsell:
  17877. description: 买卖 - 0:买 1:卖
  17878. type: integer
  17879. buyuserid:
  17880. description: 买方用户ID
  17881. type: integer
  17882. buyusername:
  17883. description: 买方名称
  17884. type: string
  17885. buywrtradeorderid:
  17886. description: 融资方买委托单ID
  17887. type: string
  17888. deliverygoodscode:
  17889. description: 品种代码
  17890. type: string
  17891. deliverygoodsid:
  17892. description: 品种ID
  17893. type: integer
  17894. deliverygoodsname:
  17895. description: 品种名称
  17896. type: string
  17897. deliverymonth:
  17898. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17899. type: string
  17900. enumdicname:
  17901. description: 单位名称
  17902. type: string
  17903. financeaccountid:
  17904. description: 融资方资金帐户ID
  17905. type: integer
  17906. financeapplyid:
  17907. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17908. type: string
  17909. financeareauserid:
  17910. description: 融资方用户ID
  17911. type: string
  17912. financename:
  17913. description: 融出方名称
  17914. type: string
  17915. financetype:
  17916. description: 融资类型 1-融资回购
  17917. type: integer
  17918. financingdays:
  17919. description: 天数(天)
  17920. type: integer
  17921. freezebuymargin:
  17922. description: 冻结融资保证金(买方)
  17923. type: number
  17924. handleremark:
  17925. description: 处理备注
  17926. type: string
  17927. handlestatus:
  17928. description: 处理状态
  17929. type: integer
  17930. interestminlen:
  17931. description: 最小起息天数
  17932. type: integer
  17933. interestrate:
  17934. description: 利率
  17935. type: number
  17936. interestratemode:
  17937. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17938. type: integer
  17939. interestsettlemode:
  17940. description: 结息方式 - 1:按日结息 3:按月结息
  17941. type: integer
  17942. interestsettlevalue:
  17943. description: 结息方式值
  17944. type: integer
  17945. isautoloan:
  17946. description: 是否自动放款 - 0:手动 1:自动
  17947. type: integer
  17948. marginratio:
  17949. description: 保证金比率质押率 - [仓单质押]
  17950. type: number
  17951. marketid:
  17952. description: 市场ID
  17953. type: integer
  17954. minivalue:
  17955. description: 现货商品最小变动值
  17956. type: integer
  17957. optioncompare:
  17958. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17959. type: string
  17960. orderqty:
  17961. description: 委托数量(商品数量)
  17962. type: number
  17963. productdetailid:
  17964. description: 产品组合ID
  17965. type: integer
  17966. productid:
  17967. description: 金融产品ID
  17968. type: integer
  17969. productname:
  17970. description: 产品名称
  17971. type: string
  17972. remark:
  17973. description: 备注
  17974. type: string
  17975. scfcontractid:
  17976. description: 仓单回购合同ID
  17977. type: string
  17978. sellaccountid:
  17979. description: 卖方资金账号
  17980. type: integer
  17981. selluserid:
  17982. description: 卖方用户ID
  17983. type: integer
  17984. sellwrtradeorderid:
  17985. description: 卖方委托单ID
  17986. type: string
  17987. tradeamount:
  17988. description: 成交金额(借款金额)
  17989. type: number
  17990. tradedate:
  17991. description: 交易日(yyyyMMdd)
  17992. type: string
  17993. tradeprice:
  17994. description: 成交价格
  17995. type: number
  17996. warehouseid:
  17997. description: 仓库ID
  17998. type: integer
  17999. warehousename:
  18000. description: 仓库名称
  18001. type: string
  18002. wrfactortypeid:
  18003. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18004. type: string
  18005. wrfactortypename:
  18006. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18007. type: string
  18008. wrpricetype:
  18009. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18010. type: integer
  18011. wrstandardcode:
  18012. description: 现货商品代码
  18013. type: string
  18014. wrstandardid:
  18015. description: 现货商品ID
  18016. type: integer
  18017. wrstandardname:
  18018. description: 商品名称
  18019. type: string
  18020. wrtypename:
  18021. description: 商品
  18022. type: string
  18023. type: object
  18024. models.WrFriendApply:
  18025. properties:
  18026. applicantid:
  18027. description: 申请人
  18028. type: integer
  18029. applyname:
  18030. description: 申请人名称
  18031. type: string
  18032. applysrc:
  18033. description: 申请来源 - 1:管理端 2:终端
  18034. type: integer
  18035. applystatus:
  18036. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18037. type: integer
  18038. applytime:
  18039. description: 申请时间
  18040. type: string
  18041. auditname:
  18042. description: 审核人名称
  18043. type: string
  18044. auditorid:
  18045. description: 审核人
  18046. type: integer
  18047. auditremark:
  18048. description: 审核备注
  18049. type: string
  18050. auditsrc:
  18051. description: 审核来源 - 1:管理端 2:终端
  18052. type: integer
  18053. audittime:
  18054. description: 审核时间
  18055. type: string
  18056. friendapplyid:
  18057. description: 申请ID(SEQ_FRIENDAPPLY)
  18058. type: string
  18059. friendname:
  18060. description: 好友名字(已脱敏)
  18061. type: string
  18062. frienduserid:
  18063. description: 好友用户ID
  18064. type: string
  18065. remark:
  18066. description: 备注
  18067. type: string
  18068. userid:
  18069. description: 申请人用户ID
  18070. type: integer
  18071. type: object
  18072. models.WrFtDeliveryGoods:
  18073. properties:
  18074. deliverygoodscode:
  18075. description: 品种代码
  18076. type: string
  18077. deliverygoodsid:
  18078. description: 品种ID
  18079. type: integer
  18080. deliverygoodsname:
  18081. description: 品种名称
  18082. type: string
  18083. wdlst:
  18084. description: 商品列表
  18085. items:
  18086. $ref: '#/definitions/models.WrFtWrstandard'
  18087. type: array
  18088. type: object
  18089. models.WrFtWrstandard:
  18090. properties:
  18091. enumdicname:
  18092. description: 单位名称
  18093. type: string
  18094. minivalue:
  18095. description: 最小变动值
  18096. type: integer
  18097. wrstandardcode:
  18098. description: 现货商品代码
  18099. type: string
  18100. wrstandardid:
  18101. description: 现货商品ID
  18102. type: integer
  18103. wrstandardname:
  18104. description: 商品名称
  18105. type: string
  18106. type: object
  18107. models.WrGoodsInfo:
  18108. properties:
  18109. haswr:
  18110. description: 0:仓单预售 1:仓单贸易
  18111. type: integer
  18112. lstitem:
  18113. description: 商品信息项
  18114. items:
  18115. $ref: '#/definitions/models.WrTypeItem'
  18116. type: array
  18117. lststep:
  18118. description: 履约规则
  18119. items:
  18120. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18121. type: array
  18122. marketid:
  18123. description: 市场id
  18124. type: integer
  18125. type: object
  18126. models.WrGoodsPerformanceStep:
  18127. properties:
  18128. autoid:
  18129. description: AutoID
  18130. type: integer
  18131. isauto:
  18132. description: 是否自动 - 0:不自动 1:自动
  18133. type: integer
  18134. remark:
  18135. description: 备注
  18136. type: string
  18137. stepdate:
  18138. description: 天数信息(T+N)
  18139. type: string
  18140. stepdays:
  18141. description: 距离上一步天数
  18142. type: integer
  18143. stepindex:
  18144. description: 步骤序号
  18145. type: integer
  18146. stepinfo:
  18147. description: 步骤信息(步骤名称+步骤值)
  18148. type: string
  18149. steptypeid:
  18150. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18151. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18152. type: integer
  18153. steptypename:
  18154. description: 步骤名称
  18155. type: string
  18156. stepvalue:
  18157. description: 期初均价
  18158. type: number
  18159. templateid:
  18160. description: 履约计划模板ID
  18161. type: integer
  18162. type: object
  18163. models.WrHoldLB:
  18164. properties:
  18165. accountid:
  18166. description: 持有人帐户ID
  18167. type: integer
  18168. bannerpicurl:
  18169. description: Banner图
  18170. type: string
  18171. createtime:
  18172. description: 创建时间(过户时间)
  18173. type: string
  18174. deliverygoodscode:
  18175. description: 品种代码
  18176. type: string
  18177. deliverygoodsid:
  18178. description: 品种ID
  18179. type: integer
  18180. deliverygoodsname:
  18181. description: 品种名称
  18182. type: string
  18183. enableqty:
  18184. description: 可用数量
  18185. type: number
  18186. enumdicname:
  18187. description: 单位名称
  18188. type: string
  18189. freezerqty:
  18190. description: 冻结数量
  18191. type: number
  18192. ladingbillid:
  18193. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18194. type: string
  18195. minivalue:
  18196. description: 现货商品最小变动值
  18197. type: integer
  18198. optioncompare:
  18199. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18200. type: string
  18201. parentsubnum:
  18202. description: 拆分父子单号
  18203. type: integer
  18204. pledgeqty:
  18205. description: 质押数量
  18206. type: number
  18207. qty:
  18208. description: 数量
  18209. type: number
  18210. subnum:
  18211. description: 提单子单号
  18212. type: integer
  18213. thumurls:
  18214. description: 缩略图
  18215. type: string
  18216. tradedate:
  18217. description: 交易日(yyyyMMdd)
  18218. type: string
  18219. userid:
  18220. description: 持有人ID
  18221. type: integer
  18222. warehouseid:
  18223. description: 仓库ID
  18224. type: integer
  18225. warehousename:
  18226. description: 仓库名称
  18227. type: string
  18228. wrfactortypeid:
  18229. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18230. type: string
  18231. wrfactortypename:
  18232. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18233. type: string
  18234. wrholdeno:
  18235. description: 仓单编号
  18236. type: string
  18237. wrid:
  18238. description: 仓单变更ID
  18239. type: string
  18240. wrstandardcode:
  18241. description: 现货商品代码
  18242. type: string
  18243. wrstandardid:
  18244. description: 现货商品ID
  18245. type: integer
  18246. wrstandardname:
  18247. description: 商品名称
  18248. type: string
  18249. wrtypename:
  18250. description: 商品
  18251. type: string
  18252. type: object
  18253. models.WrMarketTradeConfig:
  18254. properties:
  18255. basisdownratio:
  18256. description: 浮动价基差下限比例(仓单贸易)
  18257. type: number
  18258. basisupratio:
  18259. description: 浮动价基差上限比例(仓单贸易)
  18260. type: number
  18261. buychargealgorithm:
  18262. description: 买方手续费收取方式 1:比率 2:固定
  18263. type: integer
  18264. buychargealgorithm2:
  18265. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18266. type: integer
  18267. buychargealgorithmvalue:
  18268. description: 买方手续费设置值(交易所部分)
  18269. type: number
  18270. buychargealgorithmvalue2:
  18271. description: 买方手续费设置值(会员部分)
  18272. type: number
  18273. buychargealgorithmvalue3:
  18274. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18275. type: number
  18276. buychargealgorithmvalue4:
  18277. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18278. type: number
  18279. buyfirstmarginalgorithm:
  18280. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18281. type: integer
  18282. buyfirstmarginvalue:
  18283. description: 买方出价保证金设置值 - [竞拍]
  18284. type: number
  18285. buymarginalgorithm:
  18286. description: 买方保证金方式 - 1:比率 2:固定
  18287. type: integer
  18288. buymarginvalue:
  18289. description: 买方保证金设置值
  18290. type: number
  18291. buyreleaseratio:
  18292. description: 买方释放比率[2:分步履约]
  18293. type: number
  18294. executemode:
  18295. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18296. type: integer
  18297. executeside:
  18298. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18299. type: integer
  18300. failedchargealgorithm:
  18301. description: 流拍手续费收取方式 1:比率 2:固定
  18302. type: integer
  18303. failedchargevalue:
  18304. description: 流拍手续费设置值
  18305. type: number
  18306. failedchargevalue2:
  18307. description: 流拍卖方手续费设置值
  18308. type: number
  18309. holddays:
  18310. description: 合同期限[2:分步履约]
  18311. type: integer
  18312. listingmode:
  18313. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18314. type: integer
  18315. marketid:
  18316. description: 市场ID-仓单贸易、竞拍、预售
  18317. type: integer
  18318. minqty:
  18319. description: 最小执行量[2:分步履约]
  18320. type: number
  18321. modifierid:
  18322. description: 修改人
  18323. type: integer
  18324. nowrquotaflag:
  18325. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18326. type: integer
  18327. performancetempid:
  18328. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18329. 立即执行(-1)
  18330. type: integer
  18331. performancetempid2:
  18332. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18333. 立即执行
  18334. type: integer
  18335. performancetempid2s:
  18336. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18337. - 履约方式: 立即执行
  18338. type: string
  18339. performancetempids:
  18340. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18341. - 履约方式: 立即执行(-1)
  18342. type: string
  18343. performanceway:
  18344. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18345. type: integer
  18346. sellchargealgorithm:
  18347. description: 卖方手续费收取方式 1:比率 2:固定
  18348. type: integer
  18349. sellchargealgorithm2:
  18350. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18351. type: integer
  18352. sellchargealgorithmvalue:
  18353. description: 卖方手续费设置值(交易所部分)
  18354. type: number
  18355. sellchargealgorithmvalue2:
  18356. description: 卖方手续费设置值(会员部分)
  18357. type: number
  18358. sellchargealgorithmvalue3:
  18359. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18360. type: number
  18361. sellchargealgorithmvalue4:
  18362. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18363. type: number
  18364. sellmarginalgorithm:
  18365. description: 卖方保证金方式 - 1:比率 2:固定
  18366. type: integer
  18367. sellmarginvalue:
  18368. description: 卖方保证金设置值
  18369. type: number
  18370. sellmarginvalue2:
  18371. description: 卖方保证金设置值(无仓单)
  18372. type: number
  18373. sellreleaseratio:
  18374. description: 卖方释放比率[2:分步履约]
  18375. type: number
  18376. updatetime:
  18377. description: 更新时间
  18378. type: string
  18379. type: object
  18380. models.WrOrderDetail:
  18381. properties:
  18382. accountid:
  18383. description: 交易账号(资金账号)
  18384. type: integer
  18385. allfriendsflag:
  18386. description: 是否全好友可见 - 0:否 1:是
  18387. type: integer
  18388. amount:
  18389. description: 期初均价
  18390. type: number
  18391. bannerpicurl:
  18392. description: Banner图
  18393. type: string
  18394. begindate:
  18395. description: 开始交易日(yyyymmdd)
  18396. type: string
  18397. buyorsell:
  18398. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18399. type: integer
  18400. canbargain:
  18401. description: 是否可议价 - 0:不可 1:可
  18402. type: integer
  18403. cancelqty:
  18404. description: 撤销数量
  18405. type: number
  18406. canpart:
  18407. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18408. type: integer
  18409. delistminqty:
  18410. description: 起摘数量
  18411. type: integer
  18412. deliverygoodscode:
  18413. description: 品种代码
  18414. type: string
  18415. deliverygoodsid:
  18416. description: 品种ID
  18417. type: integer
  18418. deliverygoodsname:
  18419. description: 品种名称
  18420. type: string
  18421. deliverymonth:
  18422. description: 交收月
  18423. type: string
  18424. enddate:
  18425. description: 结束交易日(yyyymmdd)
  18426. type: string
  18427. enumdicname:
  18428. description: 单位名称
  18429. type: string
  18430. fixedprice:
  18431. description: 固定价格 - [挂牌]
  18432. type: number
  18433. freezecharge:
  18434. description: 期初均价
  18435. type: number
  18436. freezemargin:
  18437. description: 期初均价
  18438. type: number
  18439. futupricemove:
  18440. description: 期货升贴水
  18441. type: number
  18442. futushow:
  18443. description: 期货合约/升贴水
  18444. type: string
  18445. goodscode:
  18446. description: 期货合约
  18447. type: string
  18448. goodsid:
  18449. description: 期货商品id
  18450. type: integer
  18451. goodsname:
  18452. description: 商品名称
  18453. type: string
  18454. haswr:
  18455. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18456. type: integer
  18457. isspecified:
  18458. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18459. type: integer
  18460. ladingbillid:
  18461. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18462. type: string
  18463. marginvalue:
  18464. description: 期初均价
  18465. type: number
  18466. marketid:
  18467. description: 市场ID
  18468. type: integer
  18469. matchusername:
  18470. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18471. type: string
  18472. minivalue:
  18473. description: 现货商品最小变动值
  18474. type: integer
  18475. optioncompare:
  18476. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18477. type: string
  18478. orderqty:
  18479. description: 委托数量
  18480. type: number
  18481. ordertime:
  18482. description: 委托时间(挂牌时间)
  18483. type: string
  18484. performancetemplateid:
  18485. description: 履约模板id
  18486. type: integer
  18487. pricemove:
  18488. description: 升贴水(浮动价时填写) - [挂牌]
  18489. type: number
  18490. taname:
  18491. description: 交易用户名称(资金账号名称)
  18492. type: string
  18493. thumurls:
  18494. description: 缩略图
  18495. type: string
  18496. tradedate:
  18497. description: 交易日(yyyyMMdd)
  18498. type: string
  18499. tradeprice:
  18500. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18501. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18502. type: number
  18503. tradeqty:
  18504. description: 成交数量
  18505. type: number
  18506. userid:
  18507. description: 用户ID
  18508. type: integer
  18509. validtime:
  18510. description: 挂牌有效期
  18511. type: string
  18512. validtype:
  18513. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18514. type: integer
  18515. warehouseid:
  18516. description: 仓库ID
  18517. type: integer
  18518. warehousename:
  18519. description: 仓库名称
  18520. type: string
  18521. wrfactortypeid:
  18522. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18523. type: string
  18524. wrfactortypename:
  18525. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18526. type: string
  18527. wrpricetype:
  18528. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18529. type: integer
  18530. wrstandardcode:
  18531. description: 现货商品代码
  18532. type: string
  18533. wrstandardid:
  18534. description: 现货商品ID
  18535. type: integer
  18536. wrstandardname:
  18537. description: 商品名称
  18538. type: string
  18539. wrtradeorderid:
  18540. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18541. type: string
  18542. wrtradeorderstatus:
  18543. 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:撤单解冻贷款失败
  18544. type: integer
  18545. wrtradetype:
  18546. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18547. type: integer
  18548. wrtypename:
  18549. description: 商品
  18550. type: string
  18551. type: object
  18552. models.WrOrderQuote:
  18553. properties:
  18554. bannerpicurl:
  18555. description: Banner图
  18556. type: string
  18557. buyprice:
  18558. description: 买价
  18559. type: number
  18560. buypricemove:
  18561. description: 买升贴水(基差)
  18562. type: number
  18563. buyqty:
  18564. description: 买量
  18565. type: number
  18566. deliverygoodscode:
  18567. description: 品种代码
  18568. type: string
  18569. deliverygoodsid:
  18570. description: 品种id
  18571. type: integer
  18572. deliverygoodsname:
  18573. description: 品种名称
  18574. type: string
  18575. deliverymonth:
  18576. description: 交收月
  18577. type: string
  18578. enumdicname:
  18579. description: 单位名称
  18580. type: string
  18581. goodscode:
  18582. description: 商品合约(浮动价列表才有)
  18583. type: string
  18584. goodsid:
  18585. description: 商品id(浮动价列表才有)
  18586. type: integer
  18587. minivalue:
  18588. description: 现货商品最小变动值
  18589. type: integer
  18590. pictureurls:
  18591. description: 详情图片(逗号分隔)
  18592. type: string
  18593. sellprice:
  18594. description: 卖价
  18595. type: number
  18596. sellpricemove:
  18597. description: 卖升贴水(基差)
  18598. type: number
  18599. sellqty:
  18600. description: 卖量
  18601. type: number
  18602. thumurls:
  18603. description: 缩略图片(1:1)(逗号分隔)
  18604. type: string
  18605. warehousecode:
  18606. description: 仓库代码
  18607. type: string
  18608. warehouseid:
  18609. description: 仓库id
  18610. type: integer
  18611. warehousename:
  18612. description: 仓库名称
  18613. type: string
  18614. wrfactortypeid:
  18615. description: 仓单要素id
  18616. type: string
  18617. wrfactortypename:
  18618. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18619. type: string
  18620. wrgoodsname:
  18621. description: 商品(商品名称+仓库要素名称 拼接)
  18622. type: string
  18623. wrstandardcode:
  18624. description: 商品代码
  18625. type: string
  18626. wrstandardid:
  18627. description: 商品id
  18628. type: integer
  18629. wrstandardname:
  18630. description: 商品名称
  18631. type: string
  18632. type: object
  18633. models.WrOrderQuoteDetail:
  18634. properties:
  18635. buyorsell:
  18636. description: 买卖 - 0:买 1:卖
  18637. type: integer
  18638. delistminqty:
  18639. description: 期初均价
  18640. type: number
  18641. deliverymonth:
  18642. description: 交收月
  18643. type: string
  18644. enumdicname:
  18645. description: 单位名称
  18646. type: string
  18647. fixedprice:
  18648. description: 买(卖)价
  18649. type: number
  18650. marketid:
  18651. description: 市场id
  18652. type: integer
  18653. minivalue:
  18654. description: 现货商品最小变动值
  18655. type: integer
  18656. orderqty:
  18657. description: 买(卖)量(=委托量-成交量)
  18658. type: number
  18659. ordertime:
  18660. description: 委托时间
  18661. type: string
  18662. pricemove:
  18663. description: 买(卖)升贴水- 基差
  18664. type: number
  18665. userid:
  18666. description: 购买方(销售方)用户ID
  18667. type: integer
  18668. username:
  18669. description: 购买方(销售方)
  18670. type: string
  18671. wrtradeorderid:
  18672. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18673. type: string
  18674. type: object
  18675. models.WrOutInApply:
  18676. properties:
  18677. applyid:
  18678. description: 申请单id
  18679. type: string
  18680. applystatus:
  18681. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18682. 8:已撤销
  18683. type: integer
  18684. applytime:
  18685. description: 申请时间
  18686. type: string
  18687. applytype:
  18688. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18689. type: integer
  18690. bannerpicurl:
  18691. description: Banner图
  18692. type: string
  18693. begindate:
  18694. description: 开始交易日(yyyymmdd)
  18695. type: string
  18696. deliverygoodscode:
  18697. description: 品种代码
  18698. type: string
  18699. deliverygoodsid:
  18700. description: 品种ID
  18701. type: integer
  18702. deliverygoodsname:
  18703. description: 品种名称
  18704. type: string
  18705. enddate:
  18706. description: 结束交易日(yyyymmdd)
  18707. type: string
  18708. enumdicname:
  18709. description: 单位名称
  18710. type: string
  18711. expresscompany:
  18712. description: 物流公司
  18713. type: string
  18714. expressnum:
  18715. description: 物流单号
  18716. type: string
  18717. minivalue:
  18718. description: 现货商品最小变动值
  18719. type: integer
  18720. optioncompare:
  18721. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18722. type: string
  18723. qty:
  18724. description: 数量
  18725. type: integer
  18726. userid:
  18727. description: 用户id
  18728. type: integer
  18729. warehouseid:
  18730. description: 仓库ID
  18731. type: integer
  18732. warehousename:
  18733. description: 仓库名称
  18734. type: string
  18735. wrfactortypeid:
  18736. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18737. type: string
  18738. wrfactortypename:
  18739. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18740. type: string
  18741. wrstandardcode:
  18742. description: 现货商品代码
  18743. type: string
  18744. wrstandardid:
  18745. description: 现货商品ID
  18746. type: integer
  18747. wrstandardname:
  18748. description: 商品名称
  18749. type: string
  18750. wrtypename:
  18751. description: 商品
  18752. type: string
  18753. type: object
  18754. models.WrPerformancePlan:
  18755. properties:
  18756. activatemonth:
  18757. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18758. type: string
  18759. amount:
  18760. description: 履约金额(总金额)
  18761. type: number
  18762. begindate:
  18763. description: 开始交易日(yyyymmdd)
  18764. type: string
  18765. buyaccountid:
  18766. description: 买方账号
  18767. type: integer
  18768. buyerfreezeamount:
  18769. description: 履约冻结(买履约)
  18770. type: number
  18771. buyerfreezeamountremain:
  18772. description: 履约冻结剩余(买履约)
  18773. type: number
  18774. buyorsell:
  18775. description: 买卖方向 0-买 1-卖
  18776. type: integer
  18777. buypaidamount:
  18778. description: 买方已冻/已扣金额 (已付金额)
  18779. type: number
  18780. buyusername:
  18781. description: 买方名字
  18782. type: string
  18783. contractid:
  18784. description: 合同ID
  18785. type: integer
  18786. createtime:
  18787. description: 创建时间
  18788. type: string
  18789. creatorid:
  18790. description: 创建人
  18791. type: integer
  18792. curstepdeadline:
  18793. description: 当前步骤到期时间
  18794. type: string
  18795. curstepid:
  18796. description: 当前步骤ID
  18797. type: string
  18798. curstepname:
  18799. description: 当前步骤名称
  18800. type: string
  18801. deliverygoodscode:
  18802. description: 品种代码
  18803. type: string
  18804. deliverygoodsid:
  18805. description: 品种ID
  18806. type: integer
  18807. deliverygoodsname:
  18808. description: 品种名称
  18809. type: string
  18810. enddate:
  18811. description: 结束交易日(yyyymmdd)
  18812. type: string
  18813. enumdicname:
  18814. description: 单位名称
  18815. type: string
  18816. expressfee:
  18817. description: 运费
  18818. type: number
  18819. expressfeeconfirmed:
  18820. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18821. type: integer
  18822. hasovershort:
  18823. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18824. type: integer
  18825. haswr:
  18826. description: 类型 0-仓单预售 1-仓单贸易
  18827. type: integer
  18828. marketid:
  18829. description: 市场ID
  18830. type: integer
  18831. middleaccountid:
  18832. description: 中间商资金账号ID
  18833. type: integer
  18834. middleuserid:
  18835. description: 中间商用户ID
  18836. type: integer
  18837. minivalue:
  18838. description: 现货商品最小变动值
  18839. type: integer
  18840. optioncompare:
  18841. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18842. type: string
  18843. overshortamount:
  18844. description: 溢短金额
  18845. type: number
  18846. overshortqty:
  18847. description: 溢短数量
  18848. type: number
  18849. paymenttype:
  18850. description: 付款方式 - 1:冻结 2:扣款
  18851. type: integer
  18852. performanceplanid:
  18853. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18854. type: string
  18855. performancestatus:
  18856. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18857. 9:超时待处理 10:超时关闭
  18858. type: integer
  18859. performancetype:
  18860. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18861. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18862. type: integer
  18863. qty:
  18864. description: 履约数量
  18865. type: number
  18866. relatedorderid:
  18867. description: 关联单号(履约类型的关联单号)
  18868. type: string
  18869. remark:
  18870. description: 备注
  18871. type: string
  18872. sellaccountid:
  18873. description: 卖方账号
  18874. type: integer
  18875. sellerfreezeamount:
  18876. description: 履约冻结(卖履约)
  18877. type: number
  18878. sellerfreezeamountremain:
  18879. description: 履约冻结剩余(卖履约)
  18880. type: number
  18881. sellreceivedamount:
  18882. description: 卖方已收金额
  18883. type: number
  18884. sellusername:
  18885. description: 卖方名字
  18886. type: string
  18887. shipremark:
  18888. description: 发货备注[物流单号]
  18889. type: string
  18890. starttime:
  18891. description: 开始时间
  18892. type: string
  18893. steptypeid:
  18894. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18895. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18896. type: integer
  18897. typename:
  18898. description: 履约类型 名称
  18899. type: string
  18900. unpaidamount:
  18901. description: 期初均价
  18902. type: number
  18903. userid:
  18904. description: 用户id
  18905. type: integer
  18906. warehouseid:
  18907. description: 仓库ID
  18908. type: integer
  18909. warehousename:
  18910. description: 仓库名称
  18911. type: string
  18912. wrfactortypeid:
  18913. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18914. type: string
  18915. wrfactortypename:
  18916. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18917. type: string
  18918. wrstandardcode:
  18919. description: 现货商品代码
  18920. type: string
  18921. wrstandardid:
  18922. description: 现货商品ID
  18923. type: integer
  18924. wrstandardname:
  18925. description: 商品名称
  18926. type: string
  18927. wrtransferuserid:
  18928. description: 仓单受让用户
  18929. type: integer
  18930. wrtypename:
  18931. description: 商品
  18932. type: string
  18933. required:
  18934. - userid
  18935. type: object
  18936. models.WrPerformancePlanStep:
  18937. properties:
  18938. delaydays:
  18939. description: 延期申请天数
  18940. type: integer
  18941. deliverygoodscode:
  18942. description: 品种代码
  18943. type: string
  18944. deliverygoodsid:
  18945. description: 品种ID
  18946. type: integer
  18947. deliverygoodsname:
  18948. description: 品种名称
  18949. type: string
  18950. endtime:
  18951. description: 结束日期
  18952. type: string
  18953. enumdicname:
  18954. description: 单位名称
  18955. type: string
  18956. executeside:
  18957. description: 步骤执行方 - 1:买方 2:卖方
  18958. type: integer
  18959. handlestatus:
  18960. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18961. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18962. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18963. type: integer
  18964. isauto:
  18965. description: 是否自动 - 0:不自动 1:自动
  18966. type: integer
  18967. islastreceivestep:
  18968. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18969. type: integer
  18970. minivalue:
  18971. description: 现货商品最小变动值
  18972. type: integer
  18973. optioncompare:
  18974. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18975. type: string
  18976. overdays:
  18977. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18978. type: integer
  18979. performancestepid:
  18980. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18981. type: string
  18982. planid:
  18983. description: 所属履约计划ID
  18984. type: string
  18985. realamount:
  18986. description: 实际完成金额
  18987. type: number
  18988. relatedorderid:
  18989. description: 关联单号
  18990. type: string
  18991. remaindays:
  18992. description: 剩余天数
  18993. type: integer
  18994. remark:
  18995. description: 错误备注
  18996. type: string
  18997. starttime:
  18998. description: 开始日期
  18999. type: string
  19000. stepamount:
  19001. description: 步骤金额
  19002. type: number
  19003. stepdays:
  19004. description: 距离上一步天数(分钟)
  19005. type: integer
  19006. stepindex:
  19007. description: 步骤序号
  19008. type: integer
  19009. steplanchtype:
  19010. description: 步骤启动类型 - 1:系统自动 2:手动
  19011. type: integer
  19012. stepremark:
  19013. description: 步骤备注
  19014. type: string
  19015. stepstatus:
  19016. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19017. type: integer
  19018. steptypeid:
  19019. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19020. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19021. type: integer
  19022. steptypename:
  19023. description: 步骤名称
  19024. type: string
  19025. stepvalue:
  19026. description: 步骤值
  19027. type: number
  19028. warehouseid:
  19029. description: 仓库ID
  19030. type: integer
  19031. warehousename:
  19032. description: 仓库名称
  19033. type: string
  19034. wrfactortypeid:
  19035. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19036. type: string
  19037. wrfactortypename:
  19038. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19039. type: string
  19040. wrstandardcode:
  19041. description: 现货商品代码
  19042. type: string
  19043. wrstandardid:
  19044. description: 现货商品ID
  19045. type: integer
  19046. wrstandardname:
  19047. description: 商品名称
  19048. type: string
  19049. wrtypename:
  19050. description: 商品
  19051. type: string
  19052. type: object
  19053. models.WrPerformanceStepType:
  19054. properties:
  19055. canauto:
  19056. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19057. type: integer
  19058. steptypeid:
  19059. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19060. type: integer
  19061. steptypename:
  19062. description: 步骤类型名称
  19063. type: string
  19064. type: object
  19065. models.WrPerformanceTemplateEx:
  19066. properties:
  19067. autoid:
  19068. description: AutoID 模板id
  19069. type: integer
  19070. createtime:
  19071. description: 创建时间
  19072. type: string
  19073. creatorid:
  19074. description: 创建人
  19075. type: integer
  19076. lstStep:
  19077. description: 步骤信息列表
  19078. items:
  19079. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19080. type: array
  19081. paymenttype:
  19082. description: 支付方式 - 1:冻结 2:扣款
  19083. type: integer
  19084. takemode:
  19085. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19086. type: integer
  19087. templatename:
  19088. description: 模板名称
  19089. type: string
  19090. templatetype:
  19091. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19092. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19093. type: integer
  19094. userid:
  19095. description: 所属用户
  19096. type: integer
  19097. type: object
  19098. models.WrPosition:
  19099. properties:
  19100. accountid:
  19101. description: 帐户ID
  19102. type: integer
  19103. buyexcuteqty:
  19104. description: 采购履约中数量
  19105. type: number
  19106. creditcurqty:
  19107. description: 授信当前数量(预售仓单:预售当前量)
  19108. type: number
  19109. creditenableqty:
  19110. description: '授信可用数量(预售仓单: 可用数量)'
  19111. type: number
  19112. creditfreezeqty:
  19113. description: '授信冻结数量(预售仓单: 当前数量)'
  19114. type: number
  19115. credittotalqty:
  19116. description: 授信总数量(预售仓单:预售总量)
  19117. type: number
  19118. credittradeqty:
  19119. description: 授信成交数量(预售仓单:成交总量)
  19120. type: number
  19121. deliverygoodscode:
  19122. description: 品种代码
  19123. type: string
  19124. deliverygoodsid:
  19125. description: 品种ID
  19126. type: integer
  19127. deliverygoodsname:
  19128. description: 品种名称
  19129. type: string
  19130. enalbeqty:
  19131. description: 可用数量
  19132. type: number
  19133. enumdicname:
  19134. description: 单位名称
  19135. type: string
  19136. freezeqty:
  19137. description: 总冻结数量
  19138. type: number
  19139. haswr:
  19140. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19141. type: integer
  19142. minivalue:
  19143. description: 现货商品最小变动值
  19144. type: integer
  19145. modifytime:
  19146. description: 修改时间(过户时间)
  19147. type: string
  19148. optioncompare:
  19149. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19150. type: string
  19151. pledgeqty:
  19152. description: 质押数量
  19153. type: number
  19154. querytype:
  19155. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19156. type: integer
  19157. sellexcuteqty:
  19158. description: 销售履约中数量
  19159. type: number
  19160. totalqty:
  19161. description: 总数量(库存数量)
  19162. type: number
  19163. warehouseid:
  19164. description: 仓库ID
  19165. type: integer
  19166. warehousename:
  19167. description: 仓库名称
  19168. type: string
  19169. wrfactortypeid:
  19170. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19171. type: string
  19172. wrfactortypename:
  19173. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19174. type: string
  19175. wrpositionid:
  19176. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19177. type: string
  19178. wrpositionno:
  19179. description: 仓单编号
  19180. type: string
  19181. wrstandardcode:
  19182. description: 现货商品代码
  19183. type: string
  19184. wrstandardid:
  19185. description: 现货商品ID
  19186. type: integer
  19187. wrstandardname:
  19188. description: 商品名称
  19189. type: string
  19190. wrtypename:
  19191. description: 商品
  19192. type: string
  19193. wruserid:
  19194. description: 持有人ID
  19195. type: integer
  19196. type: object
  19197. models.WrPreSaleInfo:
  19198. properties:
  19199. bannerpicurl:
  19200. description: Banner图
  19201. type: string
  19202. baseqty:
  19203. description: 中签基数
  19204. type: number
  19205. createtime:
  19206. description: 创建时间
  19207. type: string
  19208. deliverygoodsid:
  19209. description: 现货品种ID
  19210. type: integer
  19211. enddate:
  19212. description: 预售结束日期
  19213. type: string
  19214. enumdicname:
  19215. description: 单位名称
  19216. type: string
  19217. lotteryflag:
  19218. description: 摇号标识 - 0:未摇号 1:已摇号
  19219. type: integer
  19220. lotteryqty:
  19221. description: 摇号总量
  19222. type: number
  19223. luckyqty:
  19224. description: 已中签量
  19225. type: number
  19226. marketid:
  19227. description: 市场ID
  19228. type: integer
  19229. maxbuyqty:
  19230. description: 单人最大申购量
  19231. type: number
  19232. maxluckyqty:
  19233. description: 单人最大中签量
  19234. type: number
  19235. pictureurls:
  19236. description: 详情图片(逗号分隔)
  19237. type: string
  19238. placeqty:
  19239. description: 已配售量
  19240. type: number
  19241. presaleapplyid:
  19242. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19243. example: "0"
  19244. type: string
  19245. presaleqty:
  19246. description: 预售总量
  19247. type: number
  19248. presalestatus:
  19249. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19250. type: integer
  19251. sellaccountid:
  19252. description: 发行方资金账户ID
  19253. type: integer
  19254. selluserid:
  19255. description: 发行方用户ID
  19256. type: integer
  19257. sellwrtradeorderid:
  19258. description: 发行方卖委托单ID
  19259. type: string
  19260. startdate:
  19261. description: 预售开始日期
  19262. type: string
  19263. takestartdate:
  19264. description: 提货开始日期
  19265. type: string
  19266. thumurls:
  19267. description: 缩略图片(1:1)(逗号分隔)
  19268. type: string
  19269. tradedate:
  19270. description: 交易日
  19271. type: string
  19272. unitid:
  19273. description: 单位ID
  19274. type: integer
  19275. unitprice:
  19276. description: 商品单价
  19277. type: number
  19278. username:
  19279. description: 发行方用户名称
  19280. type: string
  19281. warehousecode:
  19282. description: 仓库代码(仓库简称)
  19283. type: string
  19284. warehouseid:
  19285. description: 仓库ID
  19286. type: integer
  19287. warehousename:
  19288. description: 仓库名称
  19289. type: string
  19290. wrfactortypeid:
  19291. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19292. example: "0"
  19293. type: string
  19294. wrstandardid:
  19295. description: 现货商品ID
  19296. type: integer
  19297. wrstandardname:
  19298. description: 现货商品名称
  19299. type: string
  19300. type: object
  19301. models.WrQuoteOrderMyq:
  19302. properties:
  19303. buyorsell:
  19304. description: 买卖 - 0:买 1:卖
  19305. type: integer
  19306. canbargain:
  19307. description: 是否可议价 - 0:不可 1:可
  19308. type: integer
  19309. canpart:
  19310. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19311. type: integer
  19312. delistminqty:
  19313. description: 期初均价
  19314. type: number
  19315. deliverygoodscode:
  19316. description: 品种代码
  19317. type: string
  19318. deliverygoodsid:
  19319. description: 品种ID
  19320. type: integer
  19321. deliverygoodsname:
  19322. description: 品种名称
  19323. type: string
  19324. deliverymonth:
  19325. description: 交收月
  19326. type: string
  19327. enumdicname:
  19328. description: 单位名称
  19329. type: string
  19330. fixedprice:
  19331. description: 买(卖)价
  19332. type: number
  19333. goodscode:
  19334. description: 商品合约代码
  19335. type: string
  19336. marginflag:
  19337. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19338. type: integer
  19339. marginvalue:
  19340. description: 保证金设置值
  19341. type: number
  19342. minivalue:
  19343. description: 现货商品最小变动值
  19344. type: integer
  19345. orderqty:
  19346. description: 买(卖)量(=委托量-成交量)
  19347. type: number
  19348. ordertime:
  19349. description: 委托时间
  19350. type: string
  19351. performancetemplateid:
  19352. description: 履约模板id
  19353. type: integer
  19354. pricemove:
  19355. description: 买(卖)升贴水- 基差
  19356. type: number
  19357. templatename:
  19358. description: 履约模板名称
  19359. type: string
  19360. userid:
  19361. description: 购买方(销售方)用户ID
  19362. type: integer
  19363. username:
  19364. description: 购买方(销售方)
  19365. type: string
  19366. validtime:
  19367. description: 有效期限
  19368. type: string
  19369. validtype:
  19370. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19371. type: integer
  19372. warehousename:
  19373. description: 仓库名称
  19374. type: string
  19375. wrfactortypeid:
  19376. description: 仓单要素id
  19377. type: string
  19378. wrstandardcode:
  19379. description: 现货商品代码
  19380. type: string
  19381. wrstandardid:
  19382. description: 现货商品ID
  19383. type: integer
  19384. wrstandardname:
  19385. description: 商品名称
  19386. type: string
  19387. wrtradeorderid:
  19388. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19389. type: string
  19390. wrtypename:
  19391. description: 商品
  19392. type: string
  19393. type: object
  19394. models.WrReckonSpotGoodsTradeSum:
  19395. properties:
  19396. begindate:
  19397. description: 开始日期(结果含开始日期) yyyymmdd
  19398. type: string
  19399. enddate:
  19400. description: 结束日期(结果含结束日期) yyyymmdd
  19401. type: string
  19402. istoday:
  19403. description: 是否当日
  19404. type: boolean
  19405. marketid:
  19406. description: 市场ID
  19407. type: integer
  19408. price:
  19409. description: 价格 = 日成交金额 / 日成交数量
  19410. type: string
  19411. reckondate:
  19412. description: 日期 格式 yyyymmdd
  19413. type: string
  19414. tradeamount:
  19415. description: 期初均价
  19416. type: number
  19417. tradeqty:
  19418. description: 期初均价
  19419. type: number
  19420. wrstandardid:
  19421. description: 现货商品ID
  19422. type: integer
  19423. type: object
  19424. models.WrScfContract:
  19425. properties:
  19426. borroweruserid:
  19427. description: 借款用户ID
  19428. type: integer
  19429. buybackwrpositionqty:
  19430. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19431. type: number
  19432. closeinterest:
  19433. description: 已结利息 -> 已结费用
  19434. type: number
  19435. currisklevel:
  19436. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19437. type: integer
  19438. deadline:
  19439. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19440. type: string
  19441. deliverygoodscode:
  19442. description: 品种代码
  19443. type: string
  19444. deliverygoodsid:
  19445. description: 品种ID
  19446. type: integer
  19447. deliverygoodsname:
  19448. description: 品种名称
  19449. type: string
  19450. enumdicname:
  19451. description: 单位名称
  19452. type: string
  19453. financingdays:
  19454. description: 天数(天)
  19455. type: integer
  19456. initmargin:
  19457. description: 保证金 - [仓单回购]
  19458. type: number
  19459. interestamount:
  19460. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19461. type: number
  19462. interestdebt:
  19463. description: 利息欠款(记录负数) -> 费用欠款
  19464. type: number
  19465. interestminlen:
  19466. description: 最小起息天数
  19467. type: integer
  19468. interestrate:
  19469. description: 利率
  19470. type: number
  19471. interestratemode:
  19472. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19473. type: integer
  19474. interestsettlemode:
  19475. description: 结息方式 - 1:按日结息 3:按月结息
  19476. type: integer
  19477. interestsettlevalue:
  19478. description: 结息方式值
  19479. type: integer
  19480. isautoloan:
  19481. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19482. type: integer
  19483. lastcloseinterestday:
  19484. description: 最近结息日(yyyyMMdd)
  19485. type: string
  19486. lenderamount:
  19487. description: 贷款金额 -> 借款金额
  19488. type: number
  19489. lenderuserid:
  19490. description: 贷款方用户ID -> 融出方用户ID
  19491. type: integer
  19492. lenderusername:
  19493. description: 融出方
  19494. type: string
  19495. marginratio:
  19496. description: 保证金比率质押率 - [仓单质押]
  19497. type: number
  19498. marketid:
  19499. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19500. type: integer
  19501. minivalue:
  19502. description: 现货商品最小变动值
  19503. type: integer
  19504. optioncompare:
  19505. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19506. type: string
  19507. pricemove:
  19508. description: 估值升贴水值
  19509. type: number
  19510. productdetailid:
  19511. description: 产品组合ID
  19512. type: integer
  19513. productid:
  19514. description: 金融产品ID
  19515. type: integer
  19516. productname:
  19517. description: 产品名称
  19518. type: string
  19519. remainamount:
  19520. description: 合同剩余金额 -> 剩余金额
  19521. type: number
  19522. remainwrpositionqty:
  19523. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19524. type: number
  19525. remark:
  19526. description: 备注
  19527. type: string
  19528. scfcontractid:
  19529. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19530. type: string
  19531. scfcontractstatus:
  19532. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19533. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19534. type: integer
  19535. scfcontracttype:
  19536. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19537. type: integer
  19538. startinterestday:
  19539. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19540. type: string
  19541. totalinterest:
  19542. description: 已计利息 -> 已计费用
  19543. type: number
  19544. unpaidinterest:
  19545. description: 期初均价
  19546. type: number
  19547. updatetime:
  19548. description: 更新时间
  19549. type: string
  19550. warehouseid:
  19551. description: 仓库ID
  19552. type: integer
  19553. warehousename:
  19554. description: 仓库名称
  19555. type: string
  19556. wrfactortypeid:
  19557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19558. type: string
  19559. wrfactortypename:
  19560. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19561. type: string
  19562. wrqty:
  19563. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19564. type: number
  19565. wrstandardcode:
  19566. description: 现货商品代码
  19567. type: string
  19568. wrstandardid:
  19569. description: 现货商品ID
  19570. type: integer
  19571. wrstandardname:
  19572. description: 商品名称
  19573. type: string
  19574. wrtypename:
  19575. description: 商品
  19576. type: string
  19577. type: object
  19578. models.WrScfContractInterest:
  19579. properties:
  19580. closeinterest:
  19581. description: 已结利息
  19582. type: number
  19583. closeintereststatus:
  19584. description: 结息状态 - 1:未结 2:已结
  19585. type: integer
  19586. closetime:
  19587. description: 结息时间
  19588. type: string
  19589. closetradedate:
  19590. description: 结息交易日
  19591. type: string
  19592. creatorid:
  19593. description: 操作人ID
  19594. type: integer
  19595. dayrate:
  19596. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19597. type: number
  19598. interest:
  19599. description: 利息
  19600. type: number
  19601. interestamount:
  19602. description: 计息金额
  19603. type: number
  19604. interestday:
  19605. description: 计息日(yyyyMMdd)
  19606. type: string
  19607. scfcontractid:
  19608. description: SCF合同ID
  19609. type: string
  19610. scfcontractinterestid:
  19611. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19612. type: integer
  19613. updatetime:
  19614. description: 更新时间
  19615. type: string
  19616. type: object
  19617. models.WrSearchUser:
  19618. properties:
  19619. userid:
  19620. description: 用户ID
  19621. type: integer
  19622. username:
  19623. description: 用户名称(已脱敏)
  19624. type: string
  19625. username2:
  19626. description: 用户名称(未脱敏)
  19627. type: string
  19628. usertype:
  19629. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19630. type: integer
  19631. required:
  19632. - username
  19633. type: object
  19634. models.WrSiteColumnDetail:
  19635. properties:
  19636. brief:
  19637. description: 简介
  19638. type: string
  19639. context:
  19640. description: 内容
  19641. type: string
  19642. coverimage:
  19643. description: 封面图片
  19644. type: string
  19645. creaedate:
  19646. description: 创建时间
  19647. type: string
  19648. id:
  19649. description: ID(SEQ_SITE_COLUMNDETAIL)
  19650. type: integer
  19651. istop:
  19652. description: 是否置顶 - 0:不置 1:置顶
  19653. type: integer
  19654. publishdate:
  19655. description: 发布日期
  19656. type: string
  19657. title:
  19658. description: 标题
  19659. type: string
  19660. updatedate:
  19661. description: 修改时间
  19662. type: string
  19663. type: object
  19664. models.WrSpecialMatchOrder:
  19665. properties:
  19666. amount:
  19667. description: 金额 = 数量 * 价格
  19668. type: number
  19669. buyorsell:
  19670. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19671. type: integer
  19672. cancelqty:
  19673. description: 撤销数量
  19674. type: number
  19675. deliverygoodscode:
  19676. description: 品种代码
  19677. type: string
  19678. deliverygoodsid:
  19679. description: 品种ID
  19680. type: integer
  19681. deliverygoodsname:
  19682. description: 品种名称
  19683. type: string
  19684. enumdicname:
  19685. description: 单位名称
  19686. type: string
  19687. fixedprice:
  19688. description: 固定价格(价格)
  19689. type: number
  19690. haswr:
  19691. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19692. type: integer
  19693. isspecified:
  19694. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19695. type: integer
  19696. marketid:
  19697. description: 市场ID
  19698. type: integer
  19699. matchuserid:
  19700. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19701. type: integer
  19702. matchusername:
  19703. description: 指定方
  19704. type: string
  19705. minivalue:
  19706. description: 现货商品最小变动值
  19707. type: integer
  19708. optioncompare:
  19709. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19710. type: string
  19711. orderqty:
  19712. description: 委托数量
  19713. type: number
  19714. ordertime:
  19715. description: 委托时间
  19716. type: string
  19717. pricemove:
  19718. description: 升贴水(浮动价时填写) - [挂牌]
  19719. type: number
  19720. tradedate:
  19721. description: 交易日(yyyyMMdd)
  19722. type: string
  19723. tradeprice:
  19724. description: 成交价格
  19725. type: number
  19726. tradeqty:
  19727. description: 成交数量
  19728. type: number
  19729. userid:
  19730. description: 用户ID
  19731. type: integer
  19732. username:
  19733. description: 发起方
  19734. type: string
  19735. warehouseid:
  19736. description: 仓库ID
  19737. type: integer
  19738. warehousename:
  19739. description: 仓库名称
  19740. type: string
  19741. wrfactortypeid:
  19742. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19743. type: string
  19744. wrfactortypename:
  19745. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19746. type: string
  19747. wrpricetype:
  19748. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19749. type: integer
  19750. wrstandardcode:
  19751. description: 现货商品代码
  19752. type: string
  19753. wrstandardid:
  19754. description: 现货商品ID
  19755. type: integer
  19756. wrstandardname:
  19757. description: 商品名称
  19758. type: string
  19759. wrtradeorderid:
  19760. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19761. type: string
  19762. wrtradeorderstatus:
  19763. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19764. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19765. type: integer
  19766. wrtradetype:
  19767. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19768. type: integer
  19769. wrtypename:
  19770. description: 商品
  19771. type: string
  19772. type: object
  19773. models.WrSpotGroupTradeSum:
  19774. properties:
  19775. deliverygoodscode:
  19776. description: 现货品种代码
  19777. type: string
  19778. deliverygoodsid:
  19779. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19780. type: integer
  19781. deliverygoodsname:
  19782. description: 现货品种名称
  19783. type: string
  19784. lastavgprice:
  19785. description: 上上个交易日价格(前2天价格)
  19786. type: string
  19787. lastreckondate:
  19788. description: 上上个交易日(前2天交易日)
  19789. type: string
  19790. reckondate:
  19791. description: 上个交易日(前1天交易日)
  19792. type: string
  19793. todayavgprice:
  19794. description: 上个交易日价格(前1天价格)
  19795. type: string
  19796. updown:
  19797. description: 涨跌
  19798. type: string
  19799. updownratio:
  19800. description: 涨幅(已格式化, 直接显示即可)
  19801. type: string
  19802. type: object
  19803. models.WrSpotGroupTradeSumDetail:
  19804. properties:
  19805. deliverygoodsid:
  19806. description: 现货商品id
  19807. type: integer
  19808. price:
  19809. description: 价格
  19810. type: number
  19811. reckondate:
  19812. description: 日期(yyymmdd, 如:20211031)
  19813. type: string
  19814. type: object
  19815. models.WrSpotGroupTradeSumEx:
  19816. properties:
  19817. lst:
  19818. description: 指数列表
  19819. items:
  19820. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19821. type: array
  19822. prereckondate:
  19823. description: 上上个交易日(yyymmdd)
  19824. type: string
  19825. reckondate:
  19826. description: 上个交易日(yyyymmdd)
  19827. type: string
  19828. type: object
  19829. models.WrStandardFactoryItem:
  19830. properties:
  19831. dgfactoryitemid:
  19832. description: 选择项id
  19833. type: integer
  19834. dgfactoryitemvalue:
  19835. description: 要素项值
  19836. type: string
  19837. warehouseid:
  19838. description: 仓库id
  19839. type: integer
  19840. type: object
  19841. models.WrStandardFactoryItemEx:
  19842. properties:
  19843. dgfactoryitemtypeid:
  19844. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19845. type: integer
  19846. itemlst:
  19847. description: 要素项列表
  19848. items:
  19849. $ref: '#/definitions/models.WrStandardFactoryItem'
  19850. type: array
  19851. itemtypename:
  19852. description: 要素项类型名称
  19853. type: string
  19854. wrstandardid:
  19855. description: 品类
  19856. type: integer
  19857. type: object
  19858. models.WrTradeDetail:
  19859. properties:
  19860. accountid:
  19861. description: 资金账号
  19862. type: integer
  19863. bannerpicurl:
  19864. description: Banner图
  19865. type: string
  19866. begindate:
  19867. description: 开始交易日(yyyymmdd)
  19868. type: string
  19869. buyorsell:
  19870. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19871. type: integer
  19872. chargevalue:
  19873. description: 手续费
  19874. type: number
  19875. deliverygoodscode:
  19876. description: 品种代码
  19877. type: string
  19878. deliverygoodsid:
  19879. description: 品种ID
  19880. type: integer
  19881. deliverygoodsname:
  19882. description: 品种名称
  19883. type: string
  19884. deliverymonth:
  19885. description: 交收月
  19886. type: string
  19887. enddate:
  19888. description: 结束交易日(yyyymmdd)
  19889. type: string
  19890. enumdicname:
  19891. description: 单位名称
  19892. type: string
  19893. haswr:
  19894. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19895. type: integer
  19896. marketid:
  19897. description: 市场ID
  19898. type: integer
  19899. matchaccountid:
  19900. description: 对手账号
  19901. type: integer
  19902. matchusername:
  19903. description: 对手方
  19904. type: string
  19905. minivalue:
  19906. description: 现货商品最小变动值
  19907. type: integer
  19908. optioncompare:
  19909. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19910. type: string
  19911. thumurls:
  19912. description: 缩略图
  19913. type: string
  19914. tradedate:
  19915. description: 交易日(yyyyMMdd)
  19916. type: string
  19917. tradeprice:
  19918. description: 成交价格
  19919. type: number
  19920. tradeqty:
  19921. description: 成交数量
  19922. type: number
  19923. tradetime:
  19924. description: 成交时间
  19925. type: string
  19926. userid:
  19927. description: 用户ID
  19928. type: integer
  19929. warehouseid:
  19930. description: 仓库ID
  19931. type: integer
  19932. warehousename:
  19933. description: 仓库名称
  19934. type: string
  19935. wrfactortypeid:
  19936. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19937. type: string
  19938. wrfactortypename:
  19939. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19940. type: string
  19941. wrstandardcode:
  19942. description: 现货商品代码
  19943. type: string
  19944. wrstandardid:
  19945. description: 现货商品ID
  19946. type: integer
  19947. wrstandardname:
  19948. description: 商品名称
  19949. type: string
  19950. wrtradedetailid:
  19951. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19952. type: string
  19953. wrtradetype:
  19954. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19955. type: integer
  19956. wrtypename:
  19957. description: 商品
  19958. type: string
  19959. type: object
  19960. models.WrTradeOrderDetail:
  19961. properties:
  19962. buyorsell:
  19963. description: 买卖方向 0-买 1-卖
  19964. type: integer
  19965. goodsid:
  19966. description: 商品id
  19967. type: integer
  19968. orderid:
  19969. description: 委托单号
  19970. type: string
  19971. orderprice:
  19972. description: 期初均价
  19973. type: number
  19974. orderqty:
  19975. description: 委托数量
  19976. type: integer
  19977. userid:
  19978. description: 用户id
  19979. type: integer
  19980. username:
  19981. description: 用户名称(已脱敏)
  19982. type: string
  19983. type: object
  19984. models.WrTypeItem:
  19985. properties:
  19986. name:
  19987. description: 名称
  19988. type: string
  19989. value:
  19990. description: 值
  19991. type: string
  19992. type: object
  19993. models.WrUserFriend:
  19994. properties:
  19995. friendname:
  19996. description: 朋友名称(已脱敏)
  19997. type: string
  19998. frienduserid:
  19999. description: 朋友id
  20000. type: integer
  20001. isfriend:
  20002. description: 是否好友 0-不是 1-是
  20003. type: integer
  20004. userid:
  20005. description: 用户id
  20006. type: integer
  20007. type: object
  20008. models.WrUserReceiptInfo:
  20009. properties:
  20010. address:
  20011. description: 地址[发票类型:企业]
  20012. type: string
  20013. autoid:
  20014. description: AutoID
  20015. type: integer
  20016. contactinfo:
  20017. description: 联系方式
  20018. type: string
  20019. idnum:
  20020. description: 身份证号码[发票类型:个人]
  20021. type: string
  20022. isdefault:
  20023. description: 是否默认地址 - 0:否 1:是
  20024. type: integer
  20025. receiptaccount:
  20026. description: 发票帐号[发票类型:企业]
  20027. type: string
  20028. receiptbank:
  20029. description: 发票开户行[发票类型:企业]
  20030. type: string
  20031. receipttype:
  20032. description: 发票类型 - 1:个人 2:企业
  20033. type: integer
  20034. taxpayerid:
  20035. description: 纳税人识别号
  20036. type: string
  20037. userid:
  20038. description: 用户ID
  20039. type: integer
  20040. username:
  20041. description: 户名(个人姓名或企业名称)
  20042. type: string
  20043. type: object
  20044. models.Wrtradetradequote:
  20045. properties:
  20046. begindate:
  20047. description: 开始日期(结果含开始日期) yyyymmdd
  20048. type: string
  20049. buyaccountid:
  20050. description: 买方账号ID
  20051. type: integer
  20052. buyuserid:
  20053. description: 买方用户ID
  20054. type: integer
  20055. deliverygoodsid:
  20056. description: 现货品种ID
  20057. type: integer
  20058. enddate:
  20059. description: 结束日期(结果含结束日期) yyyymmdd
  20060. type: string
  20061. marketid:
  20062. description: 市场ID
  20063. type: integer
  20064. sellaccountid:
  20065. description: 卖方账号ID
  20066. type: integer
  20067. selluserid:
  20068. description: 卖方用户ID
  20069. type: integer
  20070. tradeamount:
  20071. description: 成交金额
  20072. type: number
  20073. tradedate:
  20074. description: 交易日(yyyyMMdd)
  20075. type: string
  20076. tradeprice:
  20077. description: 成交价格
  20078. type: number
  20079. tradeqty:
  20080. description: 成交数量
  20081. type: integer
  20082. tradetime:
  20083. description: 成交时间
  20084. type: string
  20085. wrfactortypeid:
  20086. description: 仓单要素类型ID
  20087. type: integer
  20088. wrstandardid:
  20089. description: 现货商品ID
  20090. type: integer
  20091. wrtradedetailid:
  20092. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20093. type: string
  20094. type: object
  20095. models.XHBRAND:
  20096. properties:
  20097. brandid:
  20098. description: 品牌id
  20099. type: integer
  20100. brandname:
  20101. description: 品牌名称
  20102. type: string
  20103. isvalid:
  20104. description: 是否有效 0-无效 1-有效
  20105. type: integer
  20106. type: object
  20107. models.XHDeliveryGoods:
  20108. properties:
  20109. areauserid:
  20110. description: 所属机构
  20111. type: integer
  20112. bdlst:
  20113. description: 品牌列表
  20114. items:
  20115. $ref: '#/definitions/models.XHBRAND'
  20116. type: array
  20117. deliverygoodscode:
  20118. description: 现货品种代码
  20119. type: string
  20120. deliverygoodsid:
  20121. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20122. type: integer
  20123. deliverygoodsname:
  20124. description: 现货品种名称
  20125. type: string
  20126. dgstatus:
  20127. description: 品种状态 - 作废 - 0:未激活 1:正常
  20128. type: integer
  20129. filterSubEmpty:
  20130. description: 过滤下级为空的
  20131. type: integer
  20132. isvalid:
  20133. description: 是否有效 - 0:无效 1:有效
  20134. type: integer
  20135. remark:
  20136. description: 备注
  20137. type: string
  20138. unitid:
  20139. description: 单位id(目前看,数据库中是空值)
  20140. type: integer
  20141. wdlst:
  20142. description: 品类(现货商品)列表
  20143. items:
  20144. $ref: '#/definitions/models.XHWrstandard'
  20145. type: array
  20146. type: object
  20147. models.XHMiddleGoods:
  20148. properties:
  20149. GPLST:
  20150. description: 期货品种列表
  20151. items:
  20152. $ref: '#/definitions/models.TBGoodsGroup'
  20153. type: array
  20154. convertratio:
  20155. description: 拆算系数
  20156. type: number
  20157. costratio:
  20158. description: 成本权重
  20159. type: number
  20160. deliverygoodsid:
  20161. description: 现货商品id
  20162. type: integer
  20163. enumdicname:
  20164. description: 单位名称
  20165. type: string
  20166. middlegoodscode:
  20167. description: 套保品种代码
  20168. type: string
  20169. middlegoodsid:
  20170. description: 套保品种id
  20171. type: integer
  20172. middlegoodsname:
  20173. description: 套保品种名称
  20174. type: string
  20175. unitid:
  20176. description: 单位id
  20177. type: integer
  20178. type: object
  20179. models.XHWrstandard:
  20180. properties:
  20181. bannerpicurl:
  20182. description: banner图
  20183. type: string
  20184. deliverygoodsid:
  20185. description: 品种ID
  20186. type: integer
  20187. enumdicname:
  20188. description: 单位名称
  20189. type: string
  20190. mglst:
  20191. description: 套保品列表
  20192. items:
  20193. $ref: '#/definitions/models.XHMiddleGoods'
  20194. type: array
  20195. pictureurls:
  20196. description: 详情图片(逗号分隔)
  20197. type: string
  20198. thumurls:
  20199. description: 缩略图片(1:1)(逗号分隔)
  20200. type: string
  20201. unitid:
  20202. description: 单位id
  20203. type: integer
  20204. vatrate:
  20205. description: 增值税率
  20206. type: number
  20207. wrstandardcode:
  20208. description: 现货商品代码
  20209. type: string
  20210. wrstandardid:
  20211. description: 现货商品ID(SEQ_WRSTANDARD)
  20212. type: integer
  20213. wrstandardname:
  20214. description: 现货商品名称
  20215. type: string
  20216. type: object
  20217. models.XhcpSellBackApplyEx:
  20218. properties:
  20219. applyremark:
  20220. description: 申请备注
  20221. type: string
  20222. expirytype:
  20223. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20224. type: integer
  20225. goodsspec:
  20226. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20227. type: integer
  20228. holeflag:
  20229. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20230. type: integer
  20231. isunopened:
  20232. description: 是否原封 - 1:否 2:是
  20233. type: integer
  20234. mpflag:
  20235. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20236. type: integer
  20237. openflag:
  20238. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20239. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20240. type: integer
  20241. phonenum:
  20242. description: 联系电话
  20243. type: string
  20244. userid:
  20245. description: 所属用户ID
  20246. type: integer
  20247. zpflag:
  20248. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20249. type: integer
  20250. required:
  20251. - userid
  20252. type: object
  20253. models.Xhcpsellbackapply:
  20254. properties:
  20255. applyid:
  20256. description: 申请人
  20257. type: integer
  20258. applyremark:
  20259. description: 申请备注
  20260. type: string
  20261. applysrc:
  20262. description: 申请来源 - 1:管理端 2:终端
  20263. type: integer
  20264. applystatus:
  20265. description: 申请状态 - 1:待确认 2:已处理
  20266. type: integer
  20267. applytime:
  20268. description: 申请时间
  20269. type: string
  20270. auditremark:
  20271. description: 审核备注
  20272. type: string
  20273. auditsrc:
  20274. description: 审核来源 - 1:管理端 2:终端
  20275. type: integer
  20276. expirytype:
  20277. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20278. type: integer
  20279. goodsspec:
  20280. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20281. type: integer
  20282. holeflag:
  20283. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20284. type: integer
  20285. isunopened:
  20286. description: 是否原封 - 1:否 2:是
  20287. type: integer
  20288. mpflag:
  20289. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20290. type: integer
  20291. openflag:
  20292. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20293. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20294. type: integer
  20295. phonenum:
  20296. description: 联系电话
  20297. type: string
  20298. sellbackapplyid:
  20299. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20300. type: string
  20301. userid:
  20302. description: 所属用户ID
  20303. type: integer
  20304. zpflag:
  20305. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20306. type: integer
  20307. required:
  20308. - userid
  20309. type: object
  20310. order.QueryHisTradeDetailRsp:
  20311. properties:
  20312. accountid:
  20313. description: 账户ID[报价币种]
  20314. type: integer
  20315. advanceratio:
  20316. description: 首付比率
  20317. type: number
  20318. buildtype:
  20319. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20320. type: integer
  20321. buyorsell:
  20322. description: 方向 - 0:买 1:卖
  20323. type: integer
  20324. charge:
  20325. description: 手续费
  20326. type: number
  20327. closecharge:
  20328. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20329. type: number
  20330. closeexchagechargevalue:
  20331. description: 平仓交易所手续费设置值
  20332. type: number
  20333. closefeealgorithm:
  20334. description: 平仓手续费收取方式 1:比率 2:固定
  20335. type: integer
  20336. closememberchargevalue:
  20337. description: 平仓会员手续费设置值
  20338. type: number
  20339. closepl:
  20340. description: 平仓盈亏
  20341. type: number
  20342. closepl2:
  20343. description: 平仓盈亏[逐笔]
  20344. type: number
  20345. closeqty:
  20346. description: 平仓数量(先建后平操作 需要记录)
  20347. type: number
  20348. creditamount:
  20349. description: 授信金额
  20350. type: number
  20351. decimalplace:
  20352. description: 商品报价小数位
  20353. type: integer
  20354. enumdicname:
  20355. description: 单位名称
  20356. type: string
  20357. gcaccountid:
  20358. description: 账户ID[合约币种]
  20359. type: integer
  20360. goodscode:
  20361. description: 商品代码
  20362. type: string
  20363. goodsid:
  20364. description: 商品ID
  20365. type: integer
  20366. goodsname:
  20367. description: 商品名称
  20368. type: string
  20369. goodunitid:
  20370. description: 商品单位id
  20371. type: integer
  20372. histradedate:
  20373. description: 历史交易日
  20374. type: string
  20375. intclosepl:
  20376. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20377. type: integer
  20378. isconfirmexercise:
  20379. description: 是否确认行权- 0:否 1:是
  20380. type: integer
  20381. ismain:
  20382. description: 是否主单 - 0:不是 1:是
  20383. type: integer
  20384. ispreexercise:
  20385. description: 是否预申报- 0:否 1:是
  20386. type: integer
  20387. isreckoned:
  20388. description: 是否结算 - 0:未结算 1:已结算
  20389. type: integer
  20390. isvaliddata:
  20391. description: 是否有效 - 0:无效 1:有效
  20392. type: integer
  20393. listingselecttype:
  20394. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20395. type: integer
  20396. marketid:
  20397. description: 市场ID
  20398. type: integer
  20399. marketname:
  20400. description: 市场名称
  20401. type: string
  20402. matchaccountid:
  20403. description: 对手账号id
  20404. type: integer
  20405. memberuserid:
  20406. description: 会员id 个人投资者 需要填写
  20407. type: integer
  20408. opencharge:
  20409. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20410. type: number
  20411. openexchagechargevalue:
  20412. description: 建仓交易所手续费设置值
  20413. type: number
  20414. openfeealgorithm:
  20415. description: 建仓手续费收取方式 1:比率 2:固定
  20416. type: integer
  20417. openmemberchargevalue:
  20418. description: 建仓会员手续费设置值
  20419. type: number
  20420. openqty:
  20421. description: 开仓数量(先建后平操作 需要记录)
  20422. type: number
  20423. optiontype:
  20424. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20425. type: integer
  20426. orderid:
  20427. description: 委托单号
  20428. type: string
  20429. payamount:
  20430. description: 支付金额(付款金额)
  20431. type: number
  20432. performanceplanid:
  20433. description: 履约计划ID[期权]
  20434. type: integer
  20435. performancestatus:
  20436. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20437. type: integer
  20438. preexerciseprice:
  20439. description: 预申报价格
  20440. type: number
  20441. premium:
  20442. description: 权利金 - [持仓单的权利金]
  20443. type: number
  20444. qtydecimalplace:
  20445. description: 商品报价小数位
  20446. type: integer
  20447. recvamount:
  20448. description: 到账金额 = 成交金额 - 手续费
  20449. type: number
  20450. relatedouttradeid:
  20451. description: 关联外部成交单ID
  20452. type: integer
  20453. status:
  20454. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20455. type: integer
  20456. totalamount:
  20457. description: 订单总额 = 成交金额 + 手续费
  20458. type: number
  20459. tradeamount:
  20460. description: 成交金额[账户币种,用于所有权]
  20461. type: number
  20462. tradedate:
  20463. description: 交易日(yyyyMMdd)
  20464. type: string
  20465. tradeid:
  20466. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20467. type: string
  20468. trademode:
  20469. description: 交易模式
  20470. type: integer
  20471. tradeprice:
  20472. description: 成交价格
  20473. type: number
  20474. tradeproperty:
  20475. description: 交易属性
  20476. type: integer
  20477. tradeqty:
  20478. description: 成交数量
  20479. type: number
  20480. tradetime:
  20481. description: 成交时间
  20482. type: string
  20483. tradetype:
  20484. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20485. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20486. type: integer
  20487. required:
  20488. - accountid
  20489. - buyorsell
  20490. - goodsid
  20491. - histradedate
  20492. - marketid
  20493. - memberuserid
  20494. - orderid
  20495. - tradeamount
  20496. - tradedate
  20497. - tradeid
  20498. - tradeprice
  20499. - tradeqty
  20500. - tradetime
  20501. type: object
  20502. order.QueryHisTradeOrderDetailRsp:
  20503. properties:
  20504. accountid:
  20505. description: 账户ID[报价币种]
  20506. type: integer
  20507. buildtype:
  20508. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20509. type: integer
  20510. buyorsell:
  20511. description: 买卖 - 0:买 1:卖
  20512. type: integer
  20513. cancelorderid:
  20514. description: 撤单单号(撤单时填写)
  20515. type: string
  20516. cancelqty:
  20517. description: 撤单数量
  20518. type: number
  20519. clientordertime:
  20520. description: 客户端委托时间
  20521. type: string
  20522. clientticket:
  20523. description: 客户端流水号
  20524. type: string
  20525. clienttype:
  20526. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20527. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20528. type: integer
  20529. closeexchagechargevalue:
  20530. description: 平仓交易所手续费设置值
  20531. type: number
  20532. closefeealgorithm:
  20533. description: 平仓手续费收取方式 1:比率 2:固定
  20534. type: integer
  20535. closefreezecharge:
  20536. description: 平仓冻结手续费(先建后平操作,需要记录)
  20537. type: number
  20538. closememberchargevalue:
  20539. description: 平仓会员手续费设置值
  20540. type: number
  20541. closeqty:
  20542. description: 平仓数量(先建后平操作 需要记录)
  20543. type: number
  20544. closetradeqty:
  20545. description: 平仓成交数量(先建后平操作,需要记录)
  20546. type: number
  20547. closeunfreezecharge:
  20548. description: 平仓解冻手续费(先建后平操作,需要记录)
  20549. type: number
  20550. decimalplace:
  20551. description: 商品报价小数位
  20552. type: integer
  20553. delistingtype:
  20554. description: 摘牌类型 - 1:价格最优 2:点选成交
  20555. type: integer
  20556. enumdicname:
  20557. description: 单位名称
  20558. type: string
  20559. freezecharge:
  20560. description: 冻结手续费
  20561. type: number
  20562. freezemargin:
  20563. description: 冻结保证金(冻结交易金额)
  20564. type: number
  20565. gcaccountid:
  20566. description: 账户ID[合约币种]
  20567. type: integer
  20568. goodscode:
  20569. description: 商品代码
  20570. type: string
  20571. goodsid:
  20572. description: 商品ID
  20573. type: integer
  20574. goodsname:
  20575. description: 商品名称
  20576. type: string
  20577. goodunitid:
  20578. description: 商品单位id
  20579. type: integer
  20580. histradedate:
  20581. description: 历史交易日
  20582. type: string
  20583. isconfirmexercise:
  20584. description: 是否确认行权- 0:否 1:是
  20585. type: integer
  20586. ispreexercise:
  20587. description: 是否预申报- 0:否 1:是
  20588. type: integer
  20589. isvaliddata:
  20590. description: 是否有效 - 0:无效 1:有效
  20591. type: integer
  20592. listingselecttype:
  20593. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20594. type: integer
  20595. marginalgorithm:
  20596. description: 保证金收取方式 1:比率 2:固定
  20597. type: integer
  20598. marginvalue:
  20599. description: 即市保证金设置值
  20600. type: number
  20601. marketid:
  20602. description: 市场ID
  20603. type: integer
  20604. marketmaxsub:
  20605. description: 市价最大偏移范围
  20606. type: number
  20607. marketname:
  20608. description: 市场名称
  20609. type: string
  20610. memberuserid:
  20611. description: 所属会员UserID
  20612. type: integer
  20613. openexchagechargevalue:
  20614. description: 建仓交易所手续费设置值
  20615. type: number
  20616. openfeealgorithm:
  20617. description: 建仓手续费收取方式 1:比率 2:固定
  20618. type: integer
  20619. openfreezecharge:
  20620. description: 开仓冻结手续费(先建后平操作,需要记录)
  20621. type: number
  20622. openmemberchargevalue:
  20623. description: 建仓会员手续费设置值
  20624. type: number
  20625. openqty:
  20626. description: 开仓数量(先建后平操作,需要记录)
  20627. type: number
  20628. opentradeqty:
  20629. description: 开仓成交数量(先建后平操作,需要记录)
  20630. type: number
  20631. openunfreezecharge:
  20632. description: 开仓解冻手续费(先建后平操作,需要记录)
  20633. type: number
  20634. operatetype:
  20635. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20636. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20637. 15:管理端协议转让
  20638. type: integer
  20639. operatorid:
  20640. description: 登录账号(LoginID)
  20641. type: integer
  20642. optiontype:
  20643. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20644. type: integer
  20645. orderid:
  20646. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20647. type: string
  20648. orderprice:
  20649. description: 委托价格
  20650. type: number
  20651. orderqty:
  20652. description: 委托数量
  20653. type: number
  20654. ordersrc:
  20655. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20656. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20657. type: integer
  20658. orderstatus:
  20659. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20660. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20661. 16:成交失败违约(荷兰式竞拍专用)
  20662. type: integer
  20663. ordertime:
  20664. description: 委托时间
  20665. type: string
  20666. preexerciseprice:
  20667. description: 预申报价格
  20668. type: number
  20669. premium:
  20670. description: 权利金
  20671. type: number
  20672. preorderid:
  20673. description: 关联预埋单号(止盈止损单时填写)
  20674. type: string
  20675. pricemode:
  20676. description: '取价方式 - 1:市价 2: 限价'
  20677. type: integer
  20678. qtydecimalplace:
  20679. description: 成交量小数位
  20680. type: integer
  20681. quoteid:
  20682. description: 报价单ID
  20683. type: integer
  20684. relatedid:
  20685. description: 关联单号(交割单)
  20686. type: string
  20687. retcode:
  20688. description: 错误代码
  20689. type: integer
  20690. sessionid:
  20691. description: 会话ID
  20692. type: integer
  20693. tradedate:
  20694. description: 交易日(yyyyMMdd)
  20695. type: string
  20696. trademode:
  20697. description: 交易模式
  20698. type: integer
  20699. tradeproperty:
  20700. description: 交易属性
  20701. type: integer
  20702. tradeqty:
  20703. description: 成交数量
  20704. type: number
  20705. unfreezecharge:
  20706. description: 解冻手续费
  20707. type: number
  20708. unfreezemargin:
  20709. description: 解冻保证金
  20710. type: number
  20711. updatetime:
  20712. description: 更新时间
  20713. type: string
  20714. uuid:
  20715. description: 发起端唯一id
  20716. type: string
  20717. validtime:
  20718. description: 有效期限
  20719. type: string
  20720. validtype:
  20721. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20722. type: integer
  20723. volumetype:
  20724. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20725. type: integer
  20726. required:
  20727. - accountid
  20728. - buildtype
  20729. - buyorsell
  20730. - goodsid
  20731. - histradedate
  20732. - marketid
  20733. - memberuserid
  20734. - operatetype
  20735. - orderid
  20736. - orderqty
  20737. - ordertime
  20738. - pricemode
  20739. - tradedate
  20740. - validtype
  20741. type: object
  20742. order.QueryTradeDetailRsp:
  20743. properties:
  20744. accountid:
  20745. description: 账户ID[报价币种]
  20746. type: integer
  20747. advanceratio:
  20748. description: 首付比率
  20749. type: number
  20750. buildtype:
  20751. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20752. type: integer
  20753. buyorsell:
  20754. description: 方向 - 0:买 1:卖
  20755. type: integer
  20756. charge:
  20757. description: 手续费
  20758. type: number
  20759. closecharge:
  20760. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20761. type: number
  20762. closeexchagechargevalue:
  20763. description: 平仓交易所手续费设置值
  20764. type: number
  20765. closefeealgorithm:
  20766. description: 平仓手续费收取方式 1:比率 2:固定
  20767. type: integer
  20768. closememberchargevalue:
  20769. description: 平仓会员手续费设置值
  20770. type: number
  20771. closepl:
  20772. description: 平仓盈亏
  20773. type: number
  20774. closepl2:
  20775. description: 平仓盈亏[逐笔]
  20776. type: number
  20777. closeqty:
  20778. description: 平仓数量(先建后平操作 需要记录)
  20779. type: number
  20780. creditamount:
  20781. description: 授信金额
  20782. type: number
  20783. decimalplace:
  20784. description: 商品报价小数位
  20785. type: integer
  20786. enumdicname:
  20787. description: 单位名称
  20788. type: string
  20789. gcaccountid:
  20790. description: 账户ID[合约币种]
  20791. type: integer
  20792. goodscode:
  20793. description: 商品代码
  20794. type: string
  20795. goodsid:
  20796. description: 商品ID
  20797. type: integer
  20798. goodsname:
  20799. description: 商品名称
  20800. type: string
  20801. goodunitid:
  20802. description: 商品单位id
  20803. type: integer
  20804. intclosepl:
  20805. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20806. type: integer
  20807. isconfirmexercise:
  20808. description: 是否确认行权- 0:否 1:是
  20809. type: integer
  20810. ismain:
  20811. description: 是否主单 - 0:不是 1:是
  20812. type: integer
  20813. ispreexercise:
  20814. description: 是否预申报- 0:否 1:是
  20815. type: integer
  20816. isreckoned:
  20817. description: 是否结算 - 0:未结算 1:已结算
  20818. type: integer
  20819. listingselecttype:
  20820. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20821. type: integer
  20822. marketid:
  20823. description: 市场ID
  20824. type: integer
  20825. marketname:
  20826. description: 市场名称
  20827. type: string
  20828. matchaccountid:
  20829. description: 对手账号id
  20830. type: integer
  20831. memberuserid:
  20832. description: 会员id 个人投资者 需要填写
  20833. type: integer
  20834. opencharge:
  20835. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20836. type: number
  20837. openexchagechargevalue:
  20838. description: 建仓交易所手续费设置值
  20839. type: number
  20840. openfeealgorithm:
  20841. description: 建仓手续费收取方式 1:比率 2:固定
  20842. type: integer
  20843. openmemberchargevalue:
  20844. description: 建仓会员手续费设置值
  20845. type: number
  20846. openqty:
  20847. description: 开仓数量(先建后平操作 需要记录)
  20848. type: number
  20849. optiontype:
  20850. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20851. type: integer
  20852. orderid:
  20853. description: 委托单号
  20854. type: string
  20855. payamount:
  20856. description: 支付金额(付款金额)
  20857. type: number
  20858. performanceplanid:
  20859. description: 履约计划ID[期权]
  20860. type: integer
  20861. performancestatus:
  20862. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20863. type: integer
  20864. preexerciseprice:
  20865. description: 预申报价格
  20866. type: number
  20867. premium:
  20868. description: 权利金 - [持仓单的权利金]
  20869. type: number
  20870. qtydecimalplace:
  20871. description: 商品报价小数位
  20872. type: integer
  20873. recvamount:
  20874. description: 到账金额 = 成交金额 - 手续费
  20875. type: number
  20876. relatedouttradeid:
  20877. description: 关联外部成交单ID
  20878. type: integer
  20879. status:
  20880. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20881. type: integer
  20882. totalamount:
  20883. description: 订单总额 = 成交金额 + 手续费
  20884. type: number
  20885. tradeamount:
  20886. description: 成交金额[账户币种,用于所有权]
  20887. type: number
  20888. tradedate:
  20889. description: 交易日(yyyyMMdd)
  20890. type: string
  20891. tradeid:
  20892. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20893. type: string
  20894. trademode:
  20895. description: 交易模式
  20896. type: integer
  20897. tradeprice:
  20898. description: 成交价格
  20899. type: number
  20900. tradeproperty:
  20901. description: 交易属性
  20902. type: integer
  20903. tradeqty:
  20904. description: 成交数量
  20905. type: number
  20906. tradetime:
  20907. description: 成交时间
  20908. type: string
  20909. tradetype:
  20910. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20911. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20912. type: integer
  20913. required:
  20914. - accountid
  20915. - buyorsell
  20916. - goodsid
  20917. - marketid
  20918. - memberuserid
  20919. - orderid
  20920. - tradeamount
  20921. - tradedate
  20922. - tradeid
  20923. - tradeprice
  20924. - tradeqty
  20925. - tradetime
  20926. type: object
  20927. order.QueryTradeOrderDetailRsp:
  20928. properties:
  20929. accountid:
  20930. description: 账户ID[报价币种]
  20931. type: integer
  20932. buildtype:
  20933. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20934. type: integer
  20935. buyorsell:
  20936. description: 买卖 - 0:买 1:卖
  20937. type: integer
  20938. cancelorderid:
  20939. description: 撤单单号(撤单时填写)
  20940. type: string
  20941. cancelqty:
  20942. description: 撤单数量
  20943. type: number
  20944. clienttype:
  20945. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20946. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20947. type: integer
  20948. closefreezecharge:
  20949. description: 平仓冻结手续费(先建后平操作,需要记录)
  20950. type: number
  20951. closeqty:
  20952. description: 平仓数量(先建后平操作 需要记录)
  20953. type: number
  20954. closetradeqty:
  20955. description: 平仓成交数量(先建后平操作,需要记录)
  20956. type: number
  20957. closeunfreezecharge:
  20958. description: 平仓解冻手续费(先建后平操作,需要记录)
  20959. type: number
  20960. decimalplace:
  20961. description: 商品报价小数位
  20962. type: integer
  20963. delistingtype:
  20964. description: 摘牌类型 - 1:价格最优 2:点选成交
  20965. type: integer
  20966. enableqty:
  20967. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20968. type: number
  20969. enumdicname:
  20970. description: 单位名称
  20971. type: string
  20972. freezecharge:
  20973. description: 冻结手续费
  20974. type: number
  20975. freezemargin:
  20976. description: 冻结保证金(冻结交易金额)
  20977. type: number
  20978. goodscode:
  20979. description: 商品代码
  20980. type: string
  20981. goodsid:
  20982. description: 商品ID
  20983. type: integer
  20984. goodsname:
  20985. description: 商品名称
  20986. type: string
  20987. goodunitid:
  20988. description: 商品单位id
  20989. type: integer
  20990. listingselecttype:
  20991. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20992. type: integer
  20993. marketid:
  20994. description: 市场ID
  20995. type: integer
  20996. marketname:
  20997. description: 市场名称
  20998. type: string
  20999. openfreezecharge:
  21000. description: 开仓冻结手续费(先建后平操作,需要记录)
  21001. type: number
  21002. openqty:
  21003. description: 开仓数量(先建后平操作,需要记录)
  21004. type: number
  21005. opentradeqty:
  21006. description: 开仓成交数量(先建后平操作,需要记录)
  21007. type: number
  21008. openunfreezecharge:
  21009. description: 开仓解冻手续费(先建后平操作,需要记录)
  21010. type: number
  21011. operatetype:
  21012. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21013. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21014. 15:管理端协议转让
  21015. type: integer
  21016. operatorid:
  21017. description: 登录账号(LoginID)
  21018. type: integer
  21019. orderid:
  21020. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21021. type: string
  21022. orderprice:
  21023. description: 委托价格
  21024. type: number
  21025. orderqty:
  21026. description: 委托数量
  21027. type: number
  21028. ordersrc:
  21029. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21030. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21031. type: integer
  21032. orderstatus:
  21033. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21034. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21035. 16:成交失败违约(荷兰式竞拍专用)
  21036. type: integer
  21037. ordertime:
  21038. description: 委托时间
  21039. type: string
  21040. preorderid:
  21041. description: 关联预埋单号(止盈止损单时填写)
  21042. type: string
  21043. pricemode:
  21044. description: '取价方式 - 1:市价 2: 限价'
  21045. type: integer
  21046. qtydecimalplace:
  21047. description: 商品报价小数位
  21048. type: integer
  21049. relatedid:
  21050. description: 关联单号(交割单)
  21051. type: string
  21052. tradedate:
  21053. description: 交易日(yyyyMMdd)
  21054. type: string
  21055. trademode:
  21056. description: 交易模式
  21057. type: integer
  21058. tradeqty:
  21059. description: 成交数量
  21060. type: number
  21061. unfreezecharge:
  21062. description: 解冻手续费
  21063. type: number
  21064. unfreezemargin:
  21065. description: 解冻保证金
  21066. type: number
  21067. validtime:
  21068. description: 有效期限
  21069. type: string
  21070. validtype:
  21071. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21072. type: integer
  21073. volumetype:
  21074. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21075. type: integer
  21076. required:
  21077. - accountid
  21078. - buildtype
  21079. - buyorsell
  21080. - goodsid
  21081. - marketid
  21082. - operatetype
  21083. - orderqty
  21084. - ordertime
  21085. - pricemode
  21086. - tradedate
  21087. - validtype
  21088. type: object
  21089. order.QueryTradePositionRsp:
  21090. properties:
  21091. accountid:
  21092. description: 资金账户
  21093. type: integer
  21094. agreeunit:
  21095. description: 合约单位
  21096. type: number
  21097. averageprice:
  21098. description: 持仓均价
  21099. type: number
  21100. buyorsell:
  21101. description: 方向 - 0:买 1:卖
  21102. type: integer
  21103. closetotalqty:
  21104. description: 平仓总数量
  21105. type: number
  21106. curholderamount:
  21107. description: 当前持仓总金额[商品币种]
  21108. type: number
  21109. curpositionqty:
  21110. description: 当前持仓总数量
  21111. type: number
  21112. currencyid:
  21113. description: 报价货币ID
  21114. type: integer
  21115. curtdposition:
  21116. description: 期末今日头寸
  21117. type: number
  21118. decimalplace:
  21119. description: 报价小数位
  21120. type: integer
  21121. enableqty:
  21122. description: 可用量
  21123. type: number
  21124. fretdposition:
  21125. description: 冻结今日头寸
  21126. type: number
  21127. frozenqty:
  21128. description: 持仓冻结数量
  21129. type: number
  21130. goodscode:
  21131. description: 商品代码
  21132. type: string
  21133. goodsid:
  21134. description: 商品Id
  21135. type: integer
  21136. goodsname:
  21137. description: 商品名称
  21138. type: string
  21139. goodunit:
  21140. description: 报价单位
  21141. type: string
  21142. goodunitid:
  21143. description: 报价单位ID
  21144. type: integer
  21145. holderamount:
  21146. description: 期初持仓总金额[商品币种]
  21147. type: number
  21148. lastprice:
  21149. description: 最新价
  21150. type: number
  21151. marketamount:
  21152. description: 市值
  21153. type: number
  21154. marketid:
  21155. description: 所属市场ID
  21156. type: integer
  21157. openreqqty:
  21158. description: 开仓申请数量(用于比较最大持仓数量)
  21159. type: number
  21160. opentotalqty:
  21161. description: 开仓总数量
  21162. type: number
  21163. otherfrozenqty:
  21164. description: 持仓其他冻结数量(交割冻结)
  21165. type: number
  21166. positionpl:
  21167. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21168. * 合约单位
  21169. type: number
  21170. positionplrate:
  21171. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21172. type: number
  21173. positionqty:
  21174. description: 期初持仓数量
  21175. type: number
  21176. qtydecimalplace:
  21177. description: 成交量小数位
  21178. type: integer
  21179. refgoodscode:
  21180. description: 参考商品代码
  21181. type: string
  21182. refgoodsid:
  21183. description: 参考商品ID
  21184. type: integer
  21185. tnqty:
  21186. description: T+N冻结总量
  21187. type: number
  21188. tnusedqty:
  21189. description: T+N使用量(可以使用T+N的冻结数量)
  21190. type: number
  21191. trademode:
  21192. description: 交易模式
  21193. type: integer
  21194. tradeproperty:
  21195. description: 交易属性
  21196. type: integer
  21197. usedmargin:
  21198. description: 占用保证金[商品币种]
  21199. type: number
  21200. required:
  21201. - goodsid
  21202. type: object
  21203. pb.GoodsMarginCfgStruct:
  21204. properties:
  21205. CustomerTypeID:
  21206. description: 投资者客户类型
  21207. type: integer
  21208. GoodsID:
  21209. description: 商品ID
  21210. type: integer
  21211. IsDefault:
  21212. description: 是否默认标志位
  21213. type: integer
  21214. LockMarginValue:
  21215. description: 锁仓保证金
  21216. type: number
  21217. MarginAlgorithm:
  21218. description: 保证金计算方式
  21219. type: integer
  21220. MarketMarginValue:
  21221. description: 即市保证金值
  21222. type: number
  21223. RealMarginAlgorithm:
  21224. description: 实付保证金计算方式
  21225. type: integer
  21226. RealMarginValue:
  21227. description: 实付比例
  21228. type: number
  21229. ReckonMarginValue:
  21230. description: 结算保证金值
  21231. type: number
  21232. type: object
  21233. quote.HistoryData:
  21234. properties:
  21235. c:
  21236. description: 收盘价
  21237. type: number
  21238. f:
  21239. description: 是否补充数据
  21240. type: boolean
  21241. h:
  21242. description: 最高价
  21243. type: number
  21244. hv:
  21245. description: 持仓量
  21246. type: integer
  21247. l:
  21248. description: 最低价
  21249. type: number
  21250. o:
  21251. description: 开盘价
  21252. type: number
  21253. s:
  21254. description: 结算价,日线周期(包括)以上才有
  21255. type: number
  21256. ts:
  21257. description: 时间
  21258. type: string
  21259. tt:
  21260. description: 总金额
  21261. type: number
  21262. tv:
  21263. description: 总量(成交量)
  21264. type: integer
  21265. type: object
  21266. quote.HistoryTikData:
  21267. properties:
  21268. AV:
  21269. description: 卖量
  21270. type: integer
  21271. Ask:
  21272. description: 卖价
  21273. type: number
  21274. BV:
  21275. description: 买量
  21276. type: integer
  21277. Bid:
  21278. description: 买价
  21279. type: number
  21280. HI:
  21281. description: 单笔持仓
  21282. type: integer
  21283. HV:
  21284. description: 持仓量
  21285. type: integer
  21286. PE:
  21287. description: 现价
  21288. type: number
  21289. TDR:
  21290. description: 交易方向,0:买 1:卖
  21291. type: integer
  21292. TK:
  21293. description: 交易类型
  21294. type: integer
  21295. TS:
  21296. description: 行情时间文本
  21297. type: string
  21298. TT:
  21299. description: 现金额
  21300. type: number
  21301. Vol:
  21302. description: 现量
  21303. type: integer
  21304. type: object
  21305. quote.QueryQuoteDayRsp:
  21306. properties:
  21307. ask:
  21308. description: 卖1
  21309. type: number
  21310. ask2:
  21311. description: 卖2
  21312. type: number
  21313. ask3:
  21314. description: 卖3
  21315. type: number
  21316. ask4:
  21317. description: 卖4
  21318. type: number
  21319. ask5:
  21320. description: 卖5
  21321. type: number
  21322. ask6:
  21323. description: 卖6
  21324. type: number
  21325. ask7:
  21326. description: 卖7
  21327. type: number
  21328. ask8:
  21329. description: 卖8
  21330. type: number
  21331. ask9:
  21332. description: 卖9
  21333. type: number
  21334. ask10:
  21335. description: 卖10
  21336. type: number
  21337. askorderid:
  21338. description: 卖单号1
  21339. type: integer
  21340. askorderid2:
  21341. description: 卖单号2
  21342. type: integer
  21343. askorderid3:
  21344. description: 卖单号3
  21345. type: integer
  21346. askorderid4:
  21347. description: 卖单号4
  21348. type: integer
  21349. askorderid5:
  21350. description: 卖单号5
  21351. type: integer
  21352. askordervolume:
  21353. description: 卖单量1
  21354. type: integer
  21355. askordervolume2:
  21356. description: 卖单量2
  21357. type: integer
  21358. askordervolume3:
  21359. description: 卖单量3
  21360. type: integer
  21361. askordervolume4:
  21362. description: 卖单量4
  21363. type: integer
  21364. askordervolume5:
  21365. description: 卖单量5
  21366. type: integer
  21367. askordervolume6:
  21368. description: 卖单量6
  21369. type: integer
  21370. askordervolume7:
  21371. description: 卖单量7
  21372. type: integer
  21373. askordervolume8:
  21374. description: 卖单量8
  21375. type: integer
  21376. askordervolume9:
  21377. description: 卖单量9
  21378. type: integer
  21379. askordervolume10:
  21380. description: 卖单量10
  21381. type: integer
  21382. askqueueinfo:
  21383. description: 大利市卖港股用
  21384. type: string
  21385. askvolume:
  21386. description: 卖量1
  21387. type: integer
  21388. askvolume2:
  21389. description: 卖量2
  21390. type: integer
  21391. askvolume3:
  21392. description: 卖量3
  21393. type: integer
  21394. askvolume4:
  21395. description: 卖量4
  21396. type: integer
  21397. askvolume5:
  21398. description: 卖量5
  21399. type: integer
  21400. askvolume6:
  21401. description: 卖量6
  21402. type: integer
  21403. askvolume7:
  21404. description: 卖量7
  21405. type: integer
  21406. askvolume8:
  21407. description: 卖量8
  21408. type: integer
  21409. askvolume9:
  21410. description: 卖量9
  21411. type: integer
  21412. askvolume10:
  21413. description: 卖量10
  21414. type: integer
  21415. averageprice:
  21416. description: 均价
  21417. type: number
  21418. bid:
  21419. description: 买1
  21420. type: number
  21421. bid2:
  21422. description: 买2
  21423. type: number
  21424. bid3:
  21425. description: 买3
  21426. type: number
  21427. bid4:
  21428. description: 买4
  21429. type: number
  21430. bid5:
  21431. description: 买5
  21432. type: number
  21433. bid6:
  21434. description: 买6
  21435. type: number
  21436. bid7:
  21437. description: 买7
  21438. type: number
  21439. bid8:
  21440. description: 买8
  21441. type: number
  21442. bid9:
  21443. description: 买9
  21444. type: number
  21445. bid10:
  21446. description: 买10
  21447. type: number
  21448. bidorderid:
  21449. description: 买单号1
  21450. type: integer
  21451. bidorderid2:
  21452. description: 买单号2
  21453. type: integer
  21454. bidorderid3:
  21455. description: 买单号3
  21456. type: integer
  21457. bidorderid4:
  21458. description: 买单号4
  21459. type: integer
  21460. bidorderid5:
  21461. description: 买单号5
  21462. type: integer
  21463. bidordervolume:
  21464. description: 买单量1
  21465. type: integer
  21466. bidordervolume2:
  21467. description: 买单量2
  21468. type: integer
  21469. bidordervolume3:
  21470. description: 买单量3
  21471. type: integer
  21472. bidordervolume4:
  21473. description: 买单量4
  21474. type: integer
  21475. bidordervolume5:
  21476. description: 买单量5
  21477. type: integer
  21478. bidordervolume6:
  21479. description: 买单量6
  21480. type: integer
  21481. bidordervolume7:
  21482. description: 买单量7
  21483. type: integer
  21484. bidordervolume8:
  21485. description: 买单量8
  21486. type: integer
  21487. bidordervolume9:
  21488. description: 买单量9
  21489. type: integer
  21490. bidordervolume10:
  21491. description: 买单量10
  21492. type: integer
  21493. bidqueueinfo:
  21494. description: 大利市买港股用
  21495. type: string
  21496. bidvolume:
  21497. description: 买量1
  21498. type: integer
  21499. bidvolume2:
  21500. description: 买量2
  21501. type: integer
  21502. bidvolume3:
  21503. description: 买量3
  21504. type: integer
  21505. bidvolume4:
  21506. description: 买量4
  21507. type: integer
  21508. bidvolume5:
  21509. description: 买量5
  21510. type: integer
  21511. bidvolume6:
  21512. description: 买量6
  21513. type: integer
  21514. bidvolume7:
  21515. description: 买量7
  21516. type: integer
  21517. bidvolume8:
  21518. description: 买量8
  21519. type: integer
  21520. bidvolume9:
  21521. description: 买量9
  21522. type: integer
  21523. bidvolume10:
  21524. description: 买量10
  21525. type: integer
  21526. calloptionpremiums:
  21527. description: 认购期权1
  21528. type: integer
  21529. calloptionpremiums2:
  21530. description: 认购期权2
  21531. type: integer
  21532. calloptionpremiums3:
  21533. description: 认购期权3
  21534. type: integer
  21535. calloptionpremiums4:
  21536. description: 认购期权4
  21537. type: integer
  21538. calloptionpremiums5:
  21539. description: 认购期权5
  21540. type: integer
  21541. cleartime:
  21542. description: 清盘时间
  21543. type: integer
  21544. exchangecode:
  21545. description: 交易所代码
  21546. type: integer
  21547. exchangedate:
  21548. description: 交易日
  21549. type: integer
  21550. goodscode:
  21551. description: 商品代码
  21552. type: string
  21553. grepmarketprice:
  21554. description: 暗盘价 港股专用
  21555. type: number
  21556. highest:
  21557. description: 最高价
  21558. type: number
  21559. holdincrement:
  21560. description: 单笔持仓
  21561. type: integer
  21562. holdvolume:
  21563. description: 持仓
  21564. type: integer
  21565. iep:
  21566. description: 平衡价 港股专用
  21567. type: number
  21568. iev:
  21569. description: 平衡量 港股专用
  21570. type: number
  21571. inventory:
  21572. description: 库存
  21573. type: integer
  21574. iscleared:
  21575. description: 是否清盘标志
  21576. type: integer
  21577. issettled:
  21578. description: 是否结算标志
  21579. type: integer
  21580. last:
  21581. description: 最新价
  21582. type: number
  21583. lastlot:
  21584. description: 最新成交手数
  21585. type: integer
  21586. lasttime:
  21587. description: 行情时间(只有现价变化行情时间才变化)
  21588. type: string
  21589. lastturnover:
  21590. description: 最新成交金额
  21591. type: number
  21592. lastvolume:
  21593. description: 最新成交量
  21594. type: integer
  21595. limitdown:
  21596. description: 跌停价
  21597. type: number
  21598. limitup:
  21599. description: 涨停价
  21600. type: number
  21601. lowest:
  21602. description: 最低价
  21603. type: number
  21604. nontotalholdervolume:
  21605. description: 非交易持仓量
  21606. type: integer
  21607. nontotallot:
  21608. description: 非交易总手数
  21609. type: integer
  21610. nontotalturnover:
  21611. description: 非交易总金额
  21612. type: integer
  21613. nontotalvolume:
  21614. description: 非交易总量
  21615. type: integer
  21616. opened:
  21617. description: 开盘价
  21618. type: number
  21619. opentime:
  21620. description: 开盘时间
  21621. type: string
  21622. orderid:
  21623. description: 序号
  21624. type: integer
  21625. preclose:
  21626. description: 昨收
  21627. type: number
  21628. preholdvolume:
  21629. description: 昨持仓
  21630. type: integer
  21631. presettle:
  21632. description: 昨结价
  21633. type: number
  21634. publictradetype:
  21635. description: 公共交易标志类型 港股专用
  21636. type: string
  21637. putoptionpremiums:
  21638. description: 认沽期权1
  21639. type: integer
  21640. putoptionpremiums2:
  21641. description: 认沽期权2
  21642. type: integer
  21643. putoptionpremiums3:
  21644. description: 认沽期权3
  21645. type: integer
  21646. putoptionpremiums4:
  21647. description: 认沽期权4
  21648. type: integer
  21649. putoptionpremiums5:
  21650. description: 认沽期权5
  21651. type: integer
  21652. settle:
  21653. description: 结算价
  21654. type: number
  21655. strikeprice:
  21656. description: 发行价
  21657. type: number
  21658. totalaskvolume:
  21659. description: 内盘
  21660. type: integer
  21661. totalbidvolume:
  21662. description: 外盘
  21663. type: integer
  21664. totallot:
  21665. description: 总手数
  21666. type: integer
  21667. totalturnover:
  21668. description: 总金额
  21669. type: number
  21670. totalvolume:
  21671. description: 总量
  21672. type: integer
  21673. utclasttime:
  21674. description: utc的行情时间
  21675. type: string
  21676. type: object
  21677. quote.QueryTSDataRsp:
  21678. properties:
  21679. Count:
  21680. description: 交易日应有数据个数
  21681. type: integer
  21682. decimalPlace:
  21683. description: 小数位
  21684. type: integer
  21685. endTime:
  21686. description: 结束时间
  21687. type: string
  21688. goodsCode:
  21689. description: 商品代码
  21690. type: string
  21691. historyDatas:
  21692. description: 历史数据
  21693. items:
  21694. $ref: '#/definitions/quote.HistoryData'
  21695. type: array
  21696. outGoodsCode:
  21697. description: 外部商品代码
  21698. type: string
  21699. preSettle:
  21700. description: 昨结价
  21701. type: number
  21702. runSteps:
  21703. description: 交易日开休市计划
  21704. items:
  21705. $ref: '#/definitions/quote.TSDataRunStep'
  21706. type: array
  21707. startTime:
  21708. description: 开始时间
  21709. type: string
  21710. tradeDate:
  21711. description: 交易日
  21712. type: string
  21713. type: object
  21714. quote.TSDataRunStep:
  21715. properties:
  21716. end:
  21717. description: 真实结束时间
  21718. type: string
  21719. endflag:
  21720. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21721. type: integer
  21722. endtime:
  21723. description: 结束时间(HH:mm)
  21724. type: string
  21725. endweekday:
  21726. description: 结束周几
  21727. type: integer
  21728. groupid:
  21729. description: 分组ID
  21730. type: integer
  21731. runstep:
  21732. description: 运行阶段 - 2:连续交易
  21733. type: integer
  21734. sectionid:
  21735. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21736. 结束时间=结算时间 结束周几=结算周几
  21737. type: integer
  21738. start:
  21739. description: 真实开始时间
  21740. type: string
  21741. startflag:
  21742. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21743. type: integer
  21744. starttime:
  21745. description: 起始时间(HH:mm)
  21746. type: string
  21747. startweekday:
  21748. description: 起始周几
  21749. type: integer
  21750. tradeweekday:
  21751. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21752. type: integer
  21753. type: object
  21754. szdz.QueryConvertLogRsp:
  21755. properties:
  21756. accountid:
  21757. description: 资金账户ID
  21758. type: integer
  21759. clientticket:
  21760. description: 客户端流水号
  21761. type: string
  21762. converttype:
  21763. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21764. type: integer
  21765. createtime:
  21766. description: 记账时间
  21767. type: string
  21768. daymaxvalue:
  21769. description: 配置当日最大转入限制
  21770. type: number
  21771. daymaxvalue2:
  21772. description: 配置当日最大转入限制(转入)
  21773. type: number
  21774. goodscode:
  21775. description: 商品代码
  21776. type: string
  21777. goodsname:
  21778. description: 商品名称
  21779. type: string
  21780. handlestatus:
  21781. description: 处理状态
  21782. type: integer
  21783. innergoodsid:
  21784. description: 内部商品ID
  21785. type: integer
  21786. inratio:
  21787. description: 配置转入比值
  21788. type: integer
  21789. invalue:
  21790. description: 目标值
  21791. type: number
  21792. logid:
  21793. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21794. type: integer
  21795. mobile:
  21796. description: 手机号码(加密存储)
  21797. type: string
  21798. outergoodscode:
  21799. description: 外部商品代码[JD\PD]
  21800. type: string
  21801. outratio:
  21802. description: 配置转出比值
  21803. type: integer
  21804. outvalue:
  21805. description: 源值
  21806. type: number
  21807. pddecimalplace:
  21808. description: PD小数位
  21809. type: integer
  21810. qty:
  21811. description: 数量
  21812. type: string
  21813. remark:
  21814. description: 备注
  21815. type: string
  21816. sessionid:
  21817. description: 会话ID
  21818. type: integer
  21819. timemaxvalue:
  21820. description: 配置单次最大转入限制
  21821. type: number
  21822. timemaxvalue2:
  21823. description: 配置单次最大转入限制(转入)
  21824. type: number
  21825. timeminvalue:
  21826. description: 配置单次最小数量限制
  21827. type: number
  21828. timeminvalue2:
  21829. description: 配置单次最小数量限制(转入)
  21830. type: number
  21831. tradedate:
  21832. description: 交易日(yyyyMMdd)
  21833. type: string
  21834. userid:
  21835. description: 用户ID
  21836. type: integer
  21837. required:
  21838. - logid
  21839. type: object
  21840. szdz.QueryGoodsPickupRsp:
  21841. properties:
  21842. accountid:
  21843. description: 账户ID
  21844. type: integer
  21845. address:
  21846. description: 提货人详细地址
  21847. type: string
  21848. auditer:
  21849. description: 审核人
  21850. type: integer
  21851. audittime:
  21852. description: 审核时间
  21853. type: string
  21854. cardnum:
  21855. description: 提货人证件号码
  21856. type: string
  21857. cardtypeid:
  21858. description: 提货人证件类型
  21859. type: integer
  21860. checkremark:
  21861. description: 审核备注
  21862. type: string
  21863. goodscode:
  21864. description: 商品代码
  21865. type: string
  21866. goodsid:
  21867. description: 商品ID
  21868. type: integer
  21869. goodsname:
  21870. description: 商品名称
  21871. type: string
  21872. handlestatus:
  21873. description: 处理状态
  21874. type: integer
  21875. marketid:
  21876. description: 市场ID
  21877. type: integer
  21878. phonenum:
  21879. description: 提货人联系方式
  21880. type: string
  21881. qty:
  21882. description: 提货数量
  21883. type: number
  21884. recivername:
  21885. description: 提货人姓名
  21886. type: string
  21887. reqtime:
  21888. description: 更新时间
  21889. type: string
  21890. takemode:
  21891. description: 提货方式 - 2:自提 3:配送
  21892. type: integer
  21893. takeorderid:
  21894. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21895. type: string
  21896. takeorderstatus:
  21897. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21898. type: integer
  21899. takeremark:
  21900. description: 提货备注
  21901. type: string
  21902. tradedate:
  21903. description: 交易日(yyyyMMdd)
  21904. type: string
  21905. userid:
  21906. description: 用户ID
  21907. type: integer
  21908. required:
  21909. - takeorderid
  21910. type: object
  21911. szdz.QueryRecieptOrderRsp:
  21912. properties:
  21913. accountName:
  21914. description: 所属账号名称(已脱敏)
  21915. type: string
  21916. accountid:
  21917. description: 资金账号
  21918. type: integer
  21919. buyorsell:
  21920. description: 方向 - 0:买 1:卖
  21921. type: integer
  21922. enableqty:
  21923. description: 可摘数量
  21924. type: integer
  21925. goodscode:
  21926. description: 商品代码
  21927. type: string
  21928. goodsid:
  21929. description: 商品ID
  21930. type: integer
  21931. goodsname:
  21932. description: 商品名称
  21933. type: string
  21934. orderid:
  21935. description: 委托单号
  21936. type: string
  21937. orderprice:
  21938. description: 委托价格
  21939. type: number
  21940. ordertime:
  21941. description: 委托时间
  21942. type: string
  21943. tradedate:
  21944. description: 交易日(yyyyMMdd)
  21945. type: string
  21946. required:
  21947. - ordertime
  21948. type: object
  21949. szdz.QuerySZDZTradePositionRsp:
  21950. properties:
  21951. accountid:
  21952. description: 账号Id
  21953. type: integer
  21954. agreeunit:
  21955. description: 合约单位
  21956. type: number
  21957. averageprice:
  21958. description: 持仓均价
  21959. type: number
  21960. buyorsell:
  21961. description: 方向 - 0:买 1:卖
  21962. type: integer
  21963. closetotalqty:
  21964. description: 平仓总数量
  21965. type: integer
  21966. curholderamount:
  21967. description: 当前持仓总金额
  21968. type: number
  21969. curpositionqty:
  21970. description: 当前持仓总数量
  21971. type: integer
  21972. currencyid:
  21973. description: 报价货币ID
  21974. type: integer
  21975. curtdposition:
  21976. description: 期末今日头寸
  21977. type: integer
  21978. decimalplace:
  21979. description: 报价小数位
  21980. type: integer
  21981. enableqty:
  21982. description: 可用量
  21983. type: integer
  21984. fretdposition:
  21985. description: 冻结今日头寸
  21986. type: integer
  21987. frozenqty:
  21988. description: 持仓冻结数量
  21989. type: integer
  21990. goodscode:
  21991. description: 商品代码(内部)
  21992. type: string
  21993. goodsid:
  21994. description: 商品Id
  21995. type: integer
  21996. goodsname:
  21997. description: 商品名称
  21998. type: string
  21999. goodunit:
  22000. description: 报价单位
  22001. type: string
  22002. goodunitid:
  22003. description: 报价单位ID
  22004. type: integer
  22005. holderamount:
  22006. description: 期初持仓总金额
  22007. type: number
  22008. marketid:
  22009. description: 市场ID
  22010. type: integer
  22011. openreqqty:
  22012. description: 开仓申请数量
  22013. type: integer
  22014. opentotalqty:
  22015. description: 开仓总数量
  22016. type: integer
  22017. otherfrozenqty:
  22018. description: 持仓其他冻结数量(交割冻结)
  22019. type: integer
  22020. positionqty:
  22021. description: 期初持仓数量
  22022. type: integer
  22023. szdz3freezqty:
  22024. description: 尚志大宗转换冻结总数量
  22025. type: integer
  22026. tnqty:
  22027. description: T+N冻结总量
  22028. type: integer
  22029. tnusedqty:
  22030. description: T+N使用量
  22031. type: integer
  22032. trademode:
  22033. description: 交易模式
  22034. type: integer
  22035. usedmargin:
  22036. description: 占用保证金
  22037. type: number
  22038. type: object
  22039. taaccount.QueryAmountLogRsp:
  22040. properties:
  22041. OPERATETYPENAME:
  22042. description: 资金操作类型名称
  22043. type: string
  22044. accountid:
  22045. description: 资金账户ID
  22046. type: integer
  22047. agoodscode:
  22048. description: 竞拍商品代码
  22049. type: string
  22050. agoodsname:
  22051. description: 竞拍商品名称
  22052. type: string
  22053. amount:
  22054. description: 资金金额
  22055. type: number
  22056. amountadjusttype:
  22057. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22058. type: integer
  22059. autoid:
  22060. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22061. type: integer
  22062. balance:
  22063. description: 期初余额
  22064. type: number
  22065. businesscode:
  22066. description: 业务编号
  22067. type: integer
  22068. createtime:
  22069. description: 发生时间
  22070. type: string
  22071. currencyid:
  22072. description: 币种ID
  22073. type: integer
  22074. currentbalance:
  22075. description: 期末余额(变动后金额)
  22076. type: number
  22077. dgoodscode:
  22078. description: 交割商品代码
  22079. type: string
  22080. dgoodsname:
  22081. description: 交割商品名称
  22082. type: string
  22083. goodscode:
  22084. description: 商品代码
  22085. type: string
  22086. goodsid:
  22087. description: 商品ID
  22088. type: integer
  22089. goodsname:
  22090. description: 商品名称
  22091. type: string
  22092. marketid:
  22093. description: 市场ID
  22094. type: integer
  22095. marketname:
  22096. description: 市场名称
  22097. type: string
  22098. moneyticket:
  22099. description: 资金流水号:银行端流水号
  22100. type: integer
  22101. operatetype:
  22102. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22103. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22104. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22105. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22106. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22107. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22108. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22109. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22110. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22111. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22112. type: integer
  22113. relationorderid:
  22114. description: 关联单号
  22115. type: string
  22116. remark:
  22117. description: 备注
  22118. type: string
  22119. trademode:
  22120. description: 交易模式
  22121. type: integer
  22122. required:
  22123. - accountid
  22124. - amount
  22125. - amountadjusttype
  22126. - autoid
  22127. - balance
  22128. - createtime
  22129. - currentbalance
  22130. - operatetype
  22131. type: object
  22132. taaccount.QueryHisAmountLogRsp:
  22133. properties:
  22134. OPERATETYPENAME:
  22135. description: 资金操作类型名称
  22136. type: string
  22137. accountid:
  22138. description: 资金账户ID
  22139. type: integer
  22140. agoodscode:
  22141. description: 竞拍商品代码
  22142. type: string
  22143. agoodsname:
  22144. description: 竞拍商品名称
  22145. type: string
  22146. amount:
  22147. description: 资金金额
  22148. type: number
  22149. amountadjusttype:
  22150. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22151. type: integer
  22152. autoid:
  22153. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22154. type: integer
  22155. balance:
  22156. description: 期初余额
  22157. type: number
  22158. businesscode:
  22159. description: 业务编号
  22160. type: integer
  22161. createtime:
  22162. description: 发生时间
  22163. type: string
  22164. currencyid:
  22165. description: 币种ID
  22166. type: integer
  22167. currentbalance:
  22168. description: 期末余额(变动后金额)
  22169. type: number
  22170. dgoodscode:
  22171. description: 交割商品代码
  22172. type: string
  22173. dgoodsname:
  22174. description: 交割商品名称
  22175. type: string
  22176. goodscode:
  22177. description: 商品代码
  22178. type: string
  22179. goodsid:
  22180. description: 商品ID
  22181. type: integer
  22182. goodsname:
  22183. description: 商品名称
  22184. type: string
  22185. histradedate:
  22186. description: 历史交易日
  22187. type: string
  22188. isvaliddata:
  22189. description: 是否有效 - 0:无效 1:有效
  22190. type: integer
  22191. marketid:
  22192. description: 市场ID
  22193. type: integer
  22194. marketname:
  22195. description: 市场名称
  22196. type: string
  22197. moneyticket:
  22198. description: 资金流水号:银行端流水号
  22199. type: integer
  22200. operatetype:
  22201. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22202. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22203. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22204. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22205. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22206. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22207. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22208. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22209. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22210. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22211. type: integer
  22212. relationorderid:
  22213. description: 关联单号
  22214. type: string
  22215. remark:
  22216. description: 备注
  22217. type: string
  22218. trademode:
  22219. description: 交易模式
  22220. type: integer
  22221. required:
  22222. - accountid
  22223. - amount
  22224. - amountadjusttype
  22225. - autoid
  22226. - balance
  22227. - createtime
  22228. - currentbalance
  22229. - histradedate
  22230. - operatetype
  22231. type: object
  22232. trade.QueryRecieptOrderRsp:
  22233. properties:
  22234. accountName:
  22235. description: 所属账号名称(已脱敏)
  22236. type: string
  22237. accountid:
  22238. description: 资金账号
  22239. type: integer
  22240. buyorsell:
  22241. description: 方向 - 0:买 1:卖
  22242. type: integer
  22243. enableqty:
  22244. description: 可摘数量
  22245. type: integer
  22246. goodscode:
  22247. description: 商品代码
  22248. type: string
  22249. goodsid:
  22250. description: 商品ID
  22251. type: integer
  22252. goodsname:
  22253. description: 商品名称
  22254. type: string
  22255. orderid:
  22256. description: 委托单号
  22257. type: string
  22258. orderprice:
  22259. description: 委托价格
  22260. type: number
  22261. ordertime:
  22262. description: 委托时间
  22263. type: string
  22264. tradedate:
  22265. description: 交易日(yyyyMMdd)
  22266. type: string
  22267. required:
  22268. - ordertime
  22269. type: object
  22270. user.LoginQueryRsp:
  22271. properties:
  22272. areaRoles:
  22273. description: 所属角色信息
  22274. items:
  22275. $ref: '#/definitions/models.Arearole'
  22276. type: array
  22277. externalExchanges:
  22278. description: 外部交易所
  22279. items:
  22280. $ref: '#/definitions/models.Externalexchange'
  22281. type: array
  22282. goodsgroups:
  22283. description: 商品组
  22284. items:
  22285. $ref: '#/definitions/models.Goodsgroup'
  22286. type: array
  22287. loginAccount:
  22288. $ref: '#/definitions/models.Loginaccount'
  22289. description: 登录账号
  22290. markets:
  22291. description: 市场
  22292. items:
  22293. $ref: '#/definitions/models.Market'
  22294. type: array
  22295. systemParams:
  22296. description: 系统参数
  22297. items:
  22298. $ref: '#/definitions/models.Systemparam'
  22299. type: array
  22300. userAccount:
  22301. $ref: '#/definitions/models.Useraccount'
  22302. description: 用户账号
  22303. userInfo:
  22304. $ref: '#/definitions/models.Userinfo'
  22305. description: 用户信息
  22306. username:
  22307. description: 用户姓名
  22308. type: string
  22309. type: object
  22310. info:
  22311. contact: {}
  22312. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22313. termsOfService: http://www.muchinfo.cn
  22314. title: MTP2.0 查询服务 API
  22315. version: "1.0"
  22316. paths:
  22317. /CPTrade/QueryCPTradeMyBidInfos:
  22318. get:
  22319. parameters:
  22320. - description: 资金账户
  22321. in: query
  22322. name: accountid
  22323. required: true
  22324. type: integer
  22325. - description: 预售市场ID
  22326. in: query
  22327. name: marketid
  22328. type: integer
  22329. - description: 预售商品ID
  22330. in: query
  22331. name: goodsid
  22332. type: integer
  22333. produces:
  22334. - application/json
  22335. responses:
  22336. "200":
  22337. description: OK
  22338. schema:
  22339. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22340. "500":
  22341. description: Internal Server Error
  22342. schema:
  22343. $ref: '#/definitions/app.Response'
  22344. security:
  22345. - ApiKeyAuth: []
  22346. summary: 查询产能预售我的出价信息
  22347. tags:
  22348. - 产能预售
  22349. /CPTrade/QueryCPTradeOrderDetail:
  22350. get:
  22351. parameters:
  22352. - description: 预售商品ID
  22353. in: query
  22354. name: goodsid
  22355. type: integer
  22356. - description: 预售市场ID
  22357. in: query
  22358. name: marketid
  22359. type: integer
  22360. - description: 预售商品ID列表 - 格式:1,2,3
  22361. in: query
  22362. name: goodsids
  22363. type: string
  22364. produces:
  22365. - application/json
  22366. responses:
  22367. "200":
  22368. description: OK
  22369. schema:
  22370. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22371. "500":
  22372. description: Internal Server Error
  22373. schema:
  22374. $ref: '#/definitions/app.Response'
  22375. security:
  22376. - ApiKeyAuth: []
  22377. summary: 查询产能预售委托单信息
  22378. tags:
  22379. - 产能预售
  22380. /CPTrade/QueryMyCPTradeGoods:
  22381. get:
  22382. parameters:
  22383. - description: 资金账户
  22384. in: query
  22385. name: accountid
  22386. required: true
  22387. type: integer
  22388. produces:
  22389. - application/json
  22390. responses:
  22391. "200":
  22392. description: OK
  22393. schema:
  22394. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22395. "500":
  22396. description: Internal Server Error
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. security:
  22400. - ApiKeyAuth: []
  22401. summary: 查询我的预售信息
  22402. tags:
  22403. - 产能预售
  22404. /CPTrade/QueryPositionCancel:
  22405. get:
  22406. parameters:
  22407. - description: 账户ID
  22408. in: query
  22409. name: userid
  22410. required: true
  22411. type: integer
  22412. - description: 注销ID
  22413. in: query
  22414. name: cancelid
  22415. type: integer
  22416. - description: 资金账户ID
  22417. in: query
  22418. name: accountid
  22419. type: integer
  22420. produces:
  22421. - application/json
  22422. responses:
  22423. "200":
  22424. description: OK
  22425. schema:
  22426. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22427. "500":
  22428. description: Internal Server Error
  22429. schema:
  22430. $ref: '#/definitions/app.Response'
  22431. security:
  22432. - ApiKeyAuth: []
  22433. summary: 查询远期订单注销申请信息
  22434. tags:
  22435. - 产能预售
  22436. /CPTrade/QueryPreasleApply:
  22437. get:
  22438. parameters:
  22439. - description: 账户ID
  22440. in: query
  22441. name: userid
  22442. required: true
  22443. type: integer
  22444. - description: 申请ID
  22445. in: query
  22446. name: applyid
  22447. type: integer
  22448. - description: 资金账户ID
  22449. in: query
  22450. name: accountid
  22451. type: integer
  22452. produces:
  22453. - application/json
  22454. responses:
  22455. "200":
  22456. description: OK
  22457. schema:
  22458. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22459. "500":
  22460. description: Internal Server Error
  22461. schema:
  22462. $ref: '#/definitions/app.Response'
  22463. security:
  22464. - ApiKeyAuth: []
  22465. summary: 查询产能预售申请信息
  22466. tags:
  22467. - 产能预售
  22468. /CPTrade/QueryPresaleGoodsEx:
  22469. get:
  22470. parameters:
  22471. - description: 预售商品ID
  22472. in: query
  22473. name: goodsid
  22474. type: integer
  22475. - description: 预售市场ID
  22476. in: query
  22477. name: marketid
  22478. type: integer
  22479. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22480. in: query
  22481. name: presalemode
  22482. type: integer
  22483. - description: 预售商品ID列表 - 格式:1,2,3
  22484. in: query
  22485. name: goodsids
  22486. type: string
  22487. - description: 预售商品代码
  22488. in: query
  22489. name: goodscode
  22490. type: string
  22491. produces:
  22492. - application/json
  22493. responses:
  22494. "200":
  22495. description: OK
  22496. schema:
  22497. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22498. "500":
  22499. description: Internal Server Error
  22500. schema:
  22501. $ref: '#/definitions/app.Response'
  22502. security:
  22503. - ApiKeyAuth: []
  22504. summary: 查询产能预售商品扩展信息
  22505. tags:
  22506. - 产能预售
  22507. /CPTrade/QueryUserGoodsData:
  22508. get:
  22509. parameters:
  22510. - description: 资金账户ID
  22511. in: query
  22512. name: accountid
  22513. required: true
  22514. type: integer
  22515. produces:
  22516. - application/json
  22517. responses:
  22518. "200":
  22519. description: OK
  22520. schema:
  22521. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22522. "500":
  22523. description: Internal Server Error
  22524. schema:
  22525. $ref: '#/definitions/app.Response'
  22526. security:
  22527. - ApiKeyAuth: []
  22528. summary: 查询远期订单信息
  22529. tags:
  22530. - 产能预售
  22531. /Common/DeleteNewFuncmenu:
  22532. delete:
  22533. consumes:
  22534. - application/json
  22535. parameters:
  22536. - description: 菜单表数据,只需要resourcecode字段即可
  22537. in: body
  22538. name: data
  22539. required: true
  22540. schema:
  22541. $ref: '#/definitions/models.NewFuncmenulist'
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. $ref: '#/definitions/app.Response'
  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/FindNewFuncmenu:
  22559. get:
  22560. parameters:
  22561. - description: 资源代码
  22562. in: query
  22563. name: resourcecode
  22564. type: string
  22565. - description: 上级资源代码
  22566. in: query
  22567. name: parentcode
  22568. type: string
  22569. - description: 资源名(Title), 模糊查询
  22570. in: query
  22571. name: resourcename
  22572. type: string
  22573. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22574. in: query
  22575. name: menutype
  22576. type: string
  22577. produces:
  22578. - application/json
  22579. responses:
  22580. "200":
  22581. description: OK
  22582. schema:
  22583. items:
  22584. $ref: '#/definitions/models.NewFuncmenulist'
  22585. type: array
  22586. "500":
  22587. description: Internal Server Error
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. security:
  22591. - ApiKeyAuth: []
  22592. summary: 获取菜单表数据
  22593. tags:
  22594. - 通用服务
  22595. /Common/GetAllEnums:
  22596. get:
  22597. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22598. parameters:
  22599. - description: 起始自增ID
  22600. in: query
  22601. name: autoid
  22602. type: integer
  22603. produces:
  22604. - application/json
  22605. responses:
  22606. "200":
  22607. description: OK
  22608. schema:
  22609. $ref: '#/definitions/models.Enumdicitem'
  22610. "500":
  22611. description: Internal Server Error
  22612. schema:
  22613. $ref: '#/definitions/app.Response'
  22614. summary: 获取所有枚举信息
  22615. tags:
  22616. - 通用服务
  22617. /Common/GetClientMenus:
  22618. get:
  22619. parameters:
  22620. - description: 登录账号
  22621. in: query
  22622. name: loginID
  22623. required: true
  22624. type: integer
  22625. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22626. in: query
  22627. name: clientType
  22628. type: integer
  22629. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22630. in: query
  22631. name: name
  22632. type: string
  22633. produces:
  22634. - application/json
  22635. responses:
  22636. "200":
  22637. description: OK
  22638. schema:
  22639. items:
  22640. $ref: '#/definitions/common.ClientMenu'
  22641. type: array
  22642. "500":
  22643. description: Internal Server Error
  22644. schema:
  22645. $ref: '#/definitions/app.Response'
  22646. security:
  22647. - ApiKeyAuth: []
  22648. summary: 获取交易端菜单
  22649. tags:
  22650. - 通用服务
  22651. /Common/GetClientNewFuncmenu:
  22652. get:
  22653. parameters:
  22654. - description: 登录账号
  22655. in: query
  22656. name: loginid
  22657. required: true
  22658. type: integer
  22659. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22660. in: query
  22661. name: menutype
  22662. required: true
  22663. type: integer
  22664. produces:
  22665. - application/json
  22666. responses:
  22667. "200":
  22668. description: OK
  22669. schema:
  22670. items:
  22671. $ref: '#/definitions/models.NewFuncmenulist'
  22672. type: array
  22673. "500":
  22674. description: Internal Server Error
  22675. schema:
  22676. $ref: '#/definitions/app.Response'
  22677. security:
  22678. - ApiKeyAuth: []
  22679. summary: 获取终端菜单
  22680. tags:
  22681. - 通用服务
  22682. /Common/GetDivisions:
  22683. get:
  22684. produces:
  22685. - application/json
  22686. responses:
  22687. "200":
  22688. description: OK
  22689. schema:
  22690. $ref: '#/definitions/models.Division'
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. summary: 查询区域信息
  22696. tags:
  22697. - 通用服务
  22698. /Common/GetPCWebMenus:
  22699. get:
  22700. parameters:
  22701. - description: 登录账号
  22702. in: query
  22703. name: loginID
  22704. required: true
  22705. type: integer
  22706. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22707. in: query
  22708. name: name
  22709. type: string
  22710. produces:
  22711. - application/json
  22712. responses:
  22713. "200":
  22714. description: OK
  22715. schema:
  22716. items:
  22717. $ref: '#/definitions/common.PCWebMenu'
  22718. type: array
  22719. "500":
  22720. description: Internal Server Error
  22721. schema:
  22722. $ref: '#/definitions/app.Response'
  22723. security:
  22724. - ApiKeyAuth: []
  22725. summary: 获取PCWeb交易端菜单
  22726. tags:
  22727. - 通用服务
  22728. /Common/GetServerTime:
  22729. get:
  22730. produces:
  22731. - application/json
  22732. responses:
  22733. "200":
  22734. description: OK
  22735. schema:
  22736. $ref: '#/definitions/app.Response'
  22737. "500":
  22738. description: Internal Server Error
  22739. schema:
  22740. $ref: '#/definitions/app.Response'
  22741. summary: 获取服务器时间
  22742. tags:
  22743. - 通用服务
  22744. /Common/InsertNewFuncmenu:
  22745. post:
  22746. consumes:
  22747. - application/json
  22748. parameters:
  22749. - description: 菜单表数据
  22750. in: body
  22751. name: data
  22752. required: true
  22753. schema:
  22754. $ref: '#/definitions/models.NewFuncmenulist'
  22755. produces:
  22756. - application/json
  22757. responses:
  22758. "200":
  22759. description: OK
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. "500":
  22763. description: Internal Server Error
  22764. schema:
  22765. $ref: '#/definitions/app.Response'
  22766. security:
  22767. - ApiKeyAuth: []
  22768. summary: 插入菜单表数据
  22769. tags:
  22770. - 通用服务
  22771. /Common/NoticeReaded:
  22772. post:
  22773. parameters:
  22774. - description: 登录账号
  22775. in: query
  22776. name: loginID
  22777. required: true
  22778. type: integer
  22779. - description: 通知公告ID
  22780. in: query
  22781. name: noticeID
  22782. required: true
  22783. type: integer
  22784. produces:
  22785. - application/json
  22786. responses:
  22787. "200":
  22788. description: OK
  22789. schema:
  22790. $ref: '#/definitions/app.Response'
  22791. "500":
  22792. description: Internal Server Error
  22793. schema:
  22794. $ref: '#/definitions/app.Response'
  22795. security:
  22796. - ApiKeyAuth: []
  22797. summary: 通知公告设置已读请求
  22798. tags:
  22799. - 通用服务
  22800. /Common/QueryErrorInfos:
  22801. get:
  22802. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22803. parameters:
  22804. - description: 起始行号前索引
  22805. in: query
  22806. name: rowNumber
  22807. type: string
  22808. produces:
  22809. - application/json
  22810. responses:
  22811. "200":
  22812. description: OK
  22813. schema:
  22814. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22815. "500":
  22816. description: Internal Server Error
  22817. schema:
  22818. $ref: '#/definitions/app.Response'
  22819. summary: 获取数据库错误信息
  22820. tags:
  22821. - 通用服务
  22822. /Common/QueryImageConfigs:
  22823. get:
  22824. parameters:
  22825. - description: 用户id
  22826. in: query
  22827. name: userId
  22828. type: integer
  22829. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22830. in: query
  22831. name: imageType
  22832. type: integer
  22833. produces:
  22834. - application/json
  22835. responses:
  22836. "200":
  22837. description: OK
  22838. schema:
  22839. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22840. "500":
  22841. description: Internal Server Error
  22842. schema:
  22843. $ref: '#/definitions/app.Response'
  22844. summary: 查询轮播图配置信息
  22845. tags:
  22846. - 通用服务
  22847. /Common/QueryNotice:
  22848. get:
  22849. parameters:
  22850. - description: 页码
  22851. in: query
  22852. name: page
  22853. type: integer
  22854. - description: 每页条数
  22855. in: query
  22856. name: pagesize
  22857. type: integer
  22858. - description: 登录账号
  22859. in: query
  22860. name: loginID
  22861. required: true
  22862. type: integer
  22863. - description: 消息类型 - 1:公告通知 2:系统消息
  22864. in: query
  22865. name: msgType
  22866. type: integer
  22867. - description: 是否只获取未读信息
  22868. in: query
  22869. name: onlyUnRead
  22870. type: boolean
  22871. - description: 自增ID,传入后会返回这个ID后面的记录
  22872. in: query
  22873. name: lastID
  22874. type: integer
  22875. produces:
  22876. - application/json
  22877. responses:
  22878. "200":
  22879. description: OK
  22880. schema:
  22881. $ref: '#/definitions/common.QueryNoticeRsp'
  22882. "500":
  22883. description: Internal Server Error
  22884. schema:
  22885. $ref: '#/definitions/app.Response'
  22886. security:
  22887. - ApiKeyAuth: []
  22888. summary: 通知公告系统消息查询
  22889. tags:
  22890. - 通用服务
  22891. /Common/QueryProvincesAndCities:
  22892. get:
  22893. parameters:
  22894. - description: 省ID
  22895. in: query
  22896. name: provinceID
  22897. type: integer
  22898. produces:
  22899. - application/json
  22900. responses:
  22901. "200":
  22902. description: OK
  22903. schema:
  22904. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. summary: 查询省市信息(不包括区)
  22910. tags:
  22911. - 通用服务
  22912. /Common/QueryRates:
  22913. get:
  22914. parameters:
  22915. - description: 页码
  22916. in: query
  22917. name: page
  22918. type: integer
  22919. - description: 每页条数
  22920. in: query
  22921. name: pagesize
  22922. type: integer
  22923. - description: 源币种ID
  22924. in: query
  22925. name: oricurrencyid
  22926. type: integer
  22927. - description: 目标币种ID
  22928. in: query
  22929. name: descurrencyid
  22930. type: integer
  22931. produces:
  22932. - application/json
  22933. responses:
  22934. "200":
  22935. description: OK
  22936. schema:
  22937. items:
  22938. $ref: '#/definitions/models.Exchangerateconfig'
  22939. type: array
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. - LoginID: []
  22947. - Group: []
  22948. summary: 查询汇率信息
  22949. tags:
  22950. - 通用服务
  22951. /Common/QueryTableDefine:
  22952. get:
  22953. parameters:
  22954. - description: 表key
  22955. in: query
  22956. name: tableKey
  22957. type: string
  22958. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22959. in: query
  22960. name: tableType
  22961. type: integer
  22962. produces:
  22963. - application/json
  22964. responses:
  22965. "200":
  22966. description: OK
  22967. schema:
  22968. $ref: '#/definitions/common.QueryTableDefineRsp'
  22969. "500":
  22970. description: Internal Server Error
  22971. schema:
  22972. $ref: '#/definitions/app.Response'
  22973. summary: 查询交易端列表头信息
  22974. tags:
  22975. - 通用服务
  22976. /Common/QueryTraderMenu:
  22977. get:
  22978. parameters:
  22979. - description: 登录账号
  22980. in: query
  22981. name: loginid
  22982. required: true
  22983. type: integer
  22984. produces:
  22985. - application/json
  22986. responses:
  22987. "200":
  22988. description: OK
  22989. schema:
  22990. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22991. "500":
  22992. description: Internal Server Error
  22993. schema:
  22994. $ref: '#/definitions/app.Response'
  22995. summary: 查询交易端菜单
  22996. tags:
  22997. - 通用服务
  22998. /Common/UpdateNewFuncmenu:
  22999. put:
  23000. consumes:
  23001. - application/json
  23002. parameters:
  23003. - description: 菜单表数据
  23004. in: body
  23005. name: data
  23006. required: true
  23007. schema:
  23008. $ref: '#/definitions/models.NewFuncmenulist'
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. $ref: '#/definitions/app.Response'
  23016. "500":
  23017. description: Internal Server Error
  23018. schema:
  23019. $ref: '#/definitions/app.Response'
  23020. security:
  23021. - ApiKeyAuth: []
  23022. summary: 更新菜单表数据
  23023. tags:
  23024. - 通用服务
  23025. /Delivery/QueryDeliveryRelation:
  23026. get:
  23027. parameters:
  23028. - description: 商品ID
  23029. in: query
  23030. name: goodsid
  23031. type: integer
  23032. - description: 品种ID
  23033. in: query
  23034. name: deliverygoodsid
  23035. type: integer
  23036. - description: 市场ID
  23037. in: query
  23038. name: marketid
  23039. type: integer
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 查询商品交割关系表
  23054. tags:
  23055. - 交割服务
  23056. /Ermcp/GetErmcpGoods:
  23057. get:
  23058. parameters:
  23059. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23060. in: query
  23061. name: userid
  23062. type: integer
  23063. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23064. in: query
  23065. name: lastUpdateTime
  23066. type: string
  23067. produces:
  23068. - application/json
  23069. responses:
  23070. "200":
  23071. description: OK
  23072. schema:
  23073. $ref: '#/definitions/models.ErmcpGoods'
  23074. "500":
  23075. description: Internal Server Error
  23076. schema:
  23077. $ref: '#/definitions/app.Response'
  23078. security:
  23079. - ApiKeyAuth: []
  23080. summary: 查询企业风管期货商品信息
  23081. tags:
  23082. - 企业风险管理(app)
  23083. /Ermcp/GetErmcpGoodsSortByPosition:
  23084. get:
  23085. parameters:
  23086. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23087. in: query
  23088. name: sortIndex
  23089. type: string
  23090. produces:
  23091. - application/json
  23092. responses:
  23093. "200":
  23094. description: OK
  23095. schema:
  23096. $ref: '#/definitions/models.Goodssortbypreposition'
  23097. "500":
  23098. description: Internal Server Error
  23099. schema:
  23100. $ref: '#/definitions/app.Response'
  23101. security:
  23102. - ApiKeyAuth: []
  23103. summary: 查询企业风管期货主力、次主力商品信息
  23104. tags:
  23105. - 企业风险管理(app)
  23106. /Ermcp/GetErmcpOutAccountStatus:
  23107. get:
  23108. parameters:
  23109. - description: 登录账号
  23110. in: query
  23111. name: loginID
  23112. required: true
  23113. type: integer
  23114. produces:
  23115. - application/json
  23116. responses:
  23117. "200":
  23118. description: OK
  23119. schema:
  23120. $ref: '#/definitions/models.Hedgemarketopenlog'
  23121. "500":
  23122. description: Internal Server Error
  23123. schema:
  23124. $ref: '#/definitions/app.Response'
  23125. security:
  23126. - ApiKeyAuth: []
  23127. summary: 获取目标登录账号当前对冲账号在线状态
  23128. tags:
  23129. - 企业风险管理(app)
  23130. /Ermcp/GetErmcpRoleFuncMenuLists:
  23131. get:
  23132. parameters:
  23133. - description: 登录账号
  23134. in: query
  23135. name: loginID
  23136. required: true
  23137. type: integer
  23138. produces:
  23139. - application/json
  23140. responses:
  23141. "200":
  23142. description: OK
  23143. schema:
  23144. $ref: '#/definitions/models.Funcmenulist'
  23145. "500":
  23146. description: Internal Server Error
  23147. schema:
  23148. $ref: '#/definitions/app.Response'
  23149. security:
  23150. - ApiKeyAuth: []
  23151. summary: 获取企业风管终端权限
  23152. tags:
  23153. - 企业风险管理(app)
  23154. /Ermcp/QueryAccMgrBizGroupSet:
  23155. get:
  23156. parameters:
  23157. - description: 用户ID
  23158. in: query
  23159. name: userid
  23160. required: true
  23161. type: integer
  23162. - description: 现货商品id
  23163. in: query
  23164. name: deliverygoodsid
  23165. type: integer
  23166. produces:
  23167. - application/json
  23168. responses:
  23169. "200":
  23170. description: OK
  23171. schema:
  23172. items:
  23173. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23174. type: array
  23175. "500":
  23176. description: Internal Server Error
  23177. schema:
  23178. $ref: '#/definitions/app.Response'
  23179. security:
  23180. - ApiKeyAuth: []
  23181. summary: 查询业务类型分组(账户管理/账户设置)
  23182. tags:
  23183. - 企业风险管理(app)
  23184. /Ermcp/QueryAccMgrLoginUser:
  23185. get:
  23186. parameters:
  23187. - description: 用户ID
  23188. in: query
  23189. name: userid
  23190. required: true
  23191. type: integer
  23192. - description: 用户类型 2-机构 7-企业成员
  23193. in: query
  23194. name: usertype
  23195. type: integer
  23196. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23197. in: query
  23198. name: querytype
  23199. required: true
  23200. type: integer
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询账户管理登录账号(账户管理/登录账号)
  23217. tags:
  23218. - 企业风险管理(app)
  23219. /Ermcp/QueryAccMgrMainAccountInfo:
  23220. get:
  23221. parameters:
  23222. - description: 用户ID
  23223. in: query
  23224. name: userid
  23225. type: integer
  23226. - description: 主账号id
  23227. in: query
  23228. name: accountid
  23229. type: integer
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. items:
  23237. $ref: '#/definitions/models.MainAccountInfo'
  23238. type: array
  23239. "500":
  23240. description: Internal Server Error
  23241. schema:
  23242. $ref: '#/definitions/app.Response'
  23243. security:
  23244. - ApiKeyAuth: []
  23245. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23246. tags:
  23247. - 企业风险管理(app)
  23248. /Ermcp/QueryAccMgrRole:
  23249. get:
  23250. parameters:
  23251. - description: 用户ID
  23252. in: query
  23253. name: userid
  23254. required: true
  23255. type: integer
  23256. produces:
  23257. - application/json
  23258. responses:
  23259. "200":
  23260. description: OK
  23261. schema:
  23262. items:
  23263. $ref: '#/definitions/models.ErmcpRole'
  23264. type: array
  23265. "500":
  23266. description: Internal Server Error
  23267. schema:
  23268. $ref: '#/definitions/app.Response'
  23269. security:
  23270. - ApiKeyAuth: []
  23271. summary: 查询账户管理角色设置(账户管理/角色设置)
  23272. tags:
  23273. - 企业风险管理(app)
  23274. /Ermcp/QueryAccMgrRoleMenu:
  23275. get:
  23276. parameters:
  23277. - description: 用户ID
  23278. in: query
  23279. name: userid
  23280. required: true
  23281. type: integer
  23282. - description: 角色id(可多个,逗号隔开)
  23283. in: query
  23284. name: roleid
  23285. type: string
  23286. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23287. in: query
  23288. name: menutype
  23289. type: integer
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. items:
  23297. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23298. type: array
  23299. "500":
  23300. description: Internal Server Error
  23301. schema:
  23302. $ref: '#/definitions/app.Response'
  23303. security:
  23304. - ApiKeyAuth: []
  23305. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23306. tags:
  23307. - 企业风险管理(app)
  23308. /Ermcp/QueryAccMgrTaAccountInfo:
  23309. get:
  23310. parameters:
  23311. - description: 用户ID
  23312. in: query
  23313. name: userid
  23314. required: true
  23315. type: integer
  23316. - description: 账号id
  23317. in: query
  23318. name: accountid
  23319. type: integer
  23320. produces:
  23321. - application/json
  23322. responses:
  23323. "200":
  23324. description: OK
  23325. schema:
  23326. items:
  23327. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23328. type: array
  23329. "500":
  23330. description: Internal Server Error
  23331. schema:
  23332. $ref: '#/definitions/app.Response'
  23333. security:
  23334. - ApiKeyAuth: []
  23335. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23336. tags:
  23337. - 企业风险管理(app)
  23338. /Ermcp/QueryAccMgrTaaccount:
  23339. get:
  23340. parameters:
  23341. - description: 用户ID
  23342. in: query
  23343. name: userid
  23344. required: true
  23345. type: integer
  23346. produces:
  23347. - application/json
  23348. responses:
  23349. "200":
  23350. description: OK
  23351. schema:
  23352. items:
  23353. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23354. type: array
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 查询账户管理期货账号(账户管理/期货账号)
  23362. tags:
  23363. - 企业风险管理(app)
  23364. /Ermcp/QueryAvaildGoodsGroup:
  23365. get:
  23366. parameters:
  23367. - description: 所属机构ID
  23368. in: query
  23369. name: userid
  23370. required: true
  23371. type: integer
  23372. produces:
  23373. - application/json
  23374. responses:
  23375. "200":
  23376. description: OK
  23377. schema:
  23378. items:
  23379. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23380. type: array
  23381. "500":
  23382. description: Internal Server Error
  23383. schema:
  23384. $ref: '#/definitions/app.Response'
  23385. security:
  23386. - ApiKeyAuth: []
  23387. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23388. tags:
  23389. - 企业风险管理(app)
  23390. /Ermcp/QueryBusinessDj:
  23391. get:
  23392. parameters:
  23393. - description: 用户ID
  23394. in: query
  23395. name: UserId
  23396. required: true
  23397. type: integer
  23398. - description: 用户类型 2-机构 7-企业成员
  23399. in: query
  23400. name: usertype
  23401. type: integer
  23402. - description: 现货合同ID, 不填则查所有
  23403. in: query
  23404. name: relatedid
  23405. type: string
  23406. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23407. in: query
  23408. name: applystatus
  23409. type: string
  23410. produces:
  23411. - application/json
  23412. responses:
  23413. "200":
  23414. description: OK
  23415. schema:
  23416. items:
  23417. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23418. type: array
  23419. "500":
  23420. description: Internal Server Error
  23421. schema:
  23422. $ref: '#/definitions/app.Response'
  23423. security:
  23424. - ApiKeyAuth: []
  23425. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23426. tags:
  23427. - 企业风险管理(app)
  23428. /Ermcp/QueryBusinessFp:
  23429. get:
  23430. parameters:
  23431. - description: 用户ID
  23432. in: query
  23433. name: UserId
  23434. required: true
  23435. type: integer
  23436. - description: 用户类型 2-机构 7-企业成员
  23437. in: query
  23438. name: usertype
  23439. type: integer
  23440. - description: 现货合同ID, 不填则查所有
  23441. in: query
  23442. name: relatedid
  23443. type: string
  23444. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23445. in: query
  23446. name: applystatus
  23447. type: string
  23448. produces:
  23449. - application/json
  23450. responses:
  23451. "200":
  23452. description: OK
  23453. schema:
  23454. items:
  23455. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23456. type: array
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23464. tags:
  23465. - 企业风险管理(app)
  23466. /Ermcp/QueryBusinessJs:
  23467. get:
  23468. parameters:
  23469. - description: 用户ID
  23470. in: query
  23471. name: UserId
  23472. required: true
  23473. type: integer
  23474. - description: 用户类型 2-机构 7-企业成员
  23475. in: query
  23476. name: usertype
  23477. type: integer
  23478. - description: 现货合同ID, 不填则查所有
  23479. in: query
  23480. name: relatedid
  23481. type: string
  23482. - description: 操作申请id
  23483. in: query
  23484. name: operateapplyid
  23485. type: string
  23486. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23487. in: query
  23488. name: applystatus
  23489. type: string
  23490. produces:
  23491. - application/json
  23492. responses:
  23493. "200":
  23494. description: OK
  23495. schema:
  23496. items:
  23497. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23498. type: array
  23499. "500":
  23500. description: Internal Server Error
  23501. schema:
  23502. $ref: '#/definitions/app.Response'
  23503. security:
  23504. - ApiKeyAuth: []
  23505. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23506. tags:
  23507. - 企业风险管理(app)
  23508. /Ermcp/QueryBusinessJsEx:
  23509. get:
  23510. parameters:
  23511. - description: 用户ID
  23512. in: query
  23513. name: UserId
  23514. required: true
  23515. type: integer
  23516. - description: 用户类型 2-机构 7-企业成员
  23517. in: query
  23518. name: usertype
  23519. type: integer
  23520. - description: 现货合同ID, 不填则查所有
  23521. in: query
  23522. name: relatedid
  23523. type: string
  23524. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23525. in: query
  23526. name: applystatus
  23527. type: string
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. items:
  23535. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23536. type: array
  23537. "500":
  23538. description: Internal Server Error
  23539. schema:
  23540. $ref: '#/definitions/app.Response'
  23541. security:
  23542. - ApiKeyAuth: []
  23543. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23544. tags:
  23545. - 企业风险管理(app)
  23546. /Ermcp/QueryBusinessKx:
  23547. get:
  23548. parameters:
  23549. - description: 用户ID
  23550. in: query
  23551. name: UserId
  23552. required: true
  23553. type: integer
  23554. - description: 用户类型 2-机构 7-企业成员
  23555. in: query
  23556. name: usertype
  23557. type: integer
  23558. - description: 现货合同ID, 不填则查所有
  23559. in: query
  23560. name: relatedid
  23561. type: string
  23562. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23563. in: query
  23564. name: applystatus
  23565. type: string
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. items:
  23573. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23574. type: array
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23582. tags:
  23583. - 企业风险管理(app)
  23584. /Ermcp/QueryChangeLog:
  23585. get:
  23586. parameters:
  23587. - description: 合同ID
  23588. in: query
  23589. name: RelatedId
  23590. required: true
  23591. type: string
  23592. produces:
  23593. - application/json
  23594. responses:
  23595. "200":
  23596. description: OK
  23597. schema:
  23598. items:
  23599. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23600. type: array
  23601. "500":
  23602. description: Internal Server Error
  23603. schema:
  23604. $ref: '#/definitions/app.Response'
  23605. security:
  23606. - ApiKeyAuth: []
  23607. summary: 查询变更记录
  23608. tags:
  23609. - 企业风险管理(app)
  23610. /Ermcp/QueryErmcpHisOrderDetails:
  23611. get:
  23612. parameters:
  23613. - description: 资金账户ID
  23614. in: query
  23615. name: accountID
  23616. required: true
  23617. type: integer
  23618. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23619. in: query
  23620. name: startDate
  23621. type: string
  23622. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23623. in: query
  23624. name: endDate
  23625. type: string
  23626. produces:
  23627. - application/json
  23628. responses:
  23629. "200":
  23630. description: OK
  23631. schema:
  23632. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23633. "500":
  23634. description: Internal Server Error
  23635. schema:
  23636. $ref: '#/definitions/app.Response'
  23637. security:
  23638. - ApiKeyAuth: []
  23639. summary: 获取企业风管期货历史委托单信息
  23640. tags:
  23641. - 企业风险管理(app)
  23642. /Ermcp/QueryErmcpHisTradeDetails:
  23643. get:
  23644. parameters:
  23645. - description: 资金账户ID
  23646. in: query
  23647. name: accountID
  23648. required: true
  23649. type: integer
  23650. - description: 商品ID
  23651. in: query
  23652. name: goodsID
  23653. type: integer
  23654. - description: 买卖方向,0:买 1:卖
  23655. in: query
  23656. name: buyOrSell
  23657. type: integer
  23658. - description: 关联委托单号
  23659. in: query
  23660. name: orderID
  23661. type: integer
  23662. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23663. in: query
  23664. name: startDate
  23665. type: string
  23666. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23667. in: query
  23668. name: endDate
  23669. type: string
  23670. produces:
  23671. - application/json
  23672. responses:
  23673. "200":
  23674. description: OK
  23675. schema:
  23676. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 获取企业风管期货历史成交单信息
  23684. tags:
  23685. - 企业风险管理(app)
  23686. /Ermcp/QueryErmcpInnerHolderDetails:
  23687. get:
  23688. parameters:
  23689. - description: 资金账户ID
  23690. in: query
  23691. name: accountID
  23692. required: true
  23693. type: integer
  23694. - description: 商品ID
  23695. in: query
  23696. name: goodsID
  23697. type: integer
  23698. - description: 买卖方向,0:买 1:卖
  23699. in: query
  23700. name: buyOrSell
  23701. type: integer
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23709. "500":
  23710. description: Internal Server Error
  23711. schema:
  23712. $ref: '#/definitions/app.Response'
  23713. security:
  23714. - ApiKeyAuth: []
  23715. summary: 获取企业风管期货内部持仓单信息
  23716. tags:
  23717. - 企业风险管理(app)
  23718. /Ermcp/QueryErmcpOrderDetails:
  23719. get:
  23720. parameters:
  23721. - description: 资金账户ID
  23722. in: query
  23723. name: accountID
  23724. required: true
  23725. type: integer
  23726. produces:
  23727. - application/json
  23728. responses:
  23729. "200":
  23730. description: OK
  23731. schema:
  23732. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23733. "500":
  23734. description: Internal Server Error
  23735. schema:
  23736. $ref: '#/definitions/app.Response'
  23737. security:
  23738. - ApiKeyAuth: []
  23739. summary: 获取企业风管期货委托单信息
  23740. tags:
  23741. - 企业风险管理(app)
  23742. /Ermcp/QueryErmcpTradeDetails:
  23743. get:
  23744. parameters:
  23745. - description: 资金账户ID
  23746. in: query
  23747. name: accountID
  23748. required: true
  23749. type: integer
  23750. - description: 商品ID
  23751. in: query
  23752. name: goodsID
  23753. type: integer
  23754. - description: 买卖方向,0:买 1:卖
  23755. in: query
  23756. name: buyOrSell
  23757. type: integer
  23758. - description: 关联委托单号
  23759. in: query
  23760. name: orderID
  23761. type: integer
  23762. produces:
  23763. - application/json
  23764. responses:
  23765. "200":
  23766. description: OK
  23767. schema:
  23768. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23769. "500":
  23770. description: Internal Server Error
  23771. schema:
  23772. $ref: '#/definitions/app.Response'
  23773. security:
  23774. - ApiKeyAuth: []
  23775. summary: 获取企业风管期货成交单信息
  23776. tags:
  23777. - 企业风险管理(app)
  23778. /Ermcp/QueryErmcpTradePosition:
  23779. get:
  23780. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23781. parameters:
  23782. - description: 资金账户ID
  23783. in: query
  23784. name: accountID
  23785. required: true
  23786. type: integer
  23787. - description: 所属市场ID
  23788. in: query
  23789. name: marketID
  23790. type: integer
  23791. produces:
  23792. - application/json
  23793. responses:
  23794. "200":
  23795. description: OK
  23796. schema:
  23797. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23798. "500":
  23799. description: Internal Server Error
  23800. schema:
  23801. $ref: '#/definitions/app.Response'
  23802. security:
  23803. - ApiKeyAuth: []
  23804. summary: 获取企业风管期货持仓头寸信息
  23805. tags:
  23806. - 企业风险管理(app)
  23807. /Ermcp/QueryExposureDetail:
  23808. get:
  23809. parameters:
  23810. - description: 所属机构ID
  23811. in: query
  23812. name: areaUserId
  23813. required: true
  23814. type: integer
  23815. - description: 套保商品
  23816. in: query
  23817. name: middleGoodsId
  23818. required: true
  23819. type: integer
  23820. produces:
  23821. - application/json
  23822. responses:
  23823. "200":
  23824. description: OK
  23825. schema:
  23826. items:
  23827. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23828. type: array
  23829. "500":
  23830. description: Internal Server Error
  23831. schema:
  23832. $ref: '#/definitions/app.Response'
  23833. security:
  23834. - ApiKeyAuth: []
  23835. summary: 查询敞口现货明细
  23836. tags:
  23837. - 企业风险管理(app)
  23838. /Ermcp/QueryExposureGoods:
  23839. get:
  23840. parameters:
  23841. - description: 套保商品id
  23842. in: query
  23843. name: middlegoodsid
  23844. required: true
  23845. type: integer
  23846. produces:
  23847. - application/json
  23848. responses:
  23849. "200":
  23850. description: OK
  23851. schema:
  23852. items:
  23853. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23854. type: array
  23855. "500":
  23856. description: Internal Server Error
  23857. schema:
  23858. $ref: '#/definitions/app.Response'
  23859. security:
  23860. - ApiKeyAuth: []
  23861. summary: 查询敞口主力合约
  23862. tags:
  23863. - 企业风险管理(app)
  23864. /Ermcp/QueryExposureHedgePosition:
  23865. get:
  23866. parameters:
  23867. - description: 用户id
  23868. in: query
  23869. name: userid
  23870. required: true
  23871. type: integer
  23872. produces:
  23873. - application/json
  23874. responses:
  23875. "200":
  23876. description: OK
  23877. schema:
  23878. items:
  23879. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23880. type: array
  23881. "500":
  23882. description: Internal Server Error
  23883. schema:
  23884. $ref: '#/definitions/app.Response'
  23885. security:
  23886. - ApiKeyAuth: []
  23887. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23888. tags:
  23889. - 企业风险管理(app)
  23890. /Ermcp/QueryExposureHedgePositionDetail:
  23891. get:
  23892. parameters:
  23893. - description: 所属机构ID
  23894. in: query
  23895. name: userid
  23896. required: true
  23897. type: integer
  23898. - description: 商品id
  23899. in: query
  23900. name: goodsId
  23901. required: true
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. items:
  23910. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23911. type: array
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23919. tags:
  23920. - 企业风险管理(app)
  23921. /Ermcp/QueryExposureSpot:
  23922. get:
  23923. parameters:
  23924. - description: 所属机构ID
  23925. in: query
  23926. name: areaUserId
  23927. required: true
  23928. type: integer
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. items:
  23936. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23937. type: array
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. summary: 查询敞口现货头寸(敞口/现货头寸)
  23945. tags:
  23946. - 企业风险管理(app)
  23947. /Ermcp/QueryExposureSpotDetail:
  23948. get:
  23949. parameters:
  23950. - description: 所属机构ID
  23951. in: query
  23952. name: areaUserId
  23953. required: true
  23954. type: integer
  23955. - description: 现货品种ID
  23956. in: query
  23957. name: wrstandardId
  23958. required: true
  23959. type: integer
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. items:
  23967. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23968. type: array
  23969. "500":
  23970. description: Internal Server Error
  23971. schema:
  23972. $ref: '#/definitions/app.Response'
  23973. security:
  23974. - ApiKeyAuth: []
  23975. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23976. tags:
  23977. - 企业风险管理(app)
  23978. /Ermcp/QueryFuturesCompany:
  23979. get:
  23980. produces:
  23981. - application/json
  23982. responses:
  23983. "200":
  23984. description: OK
  23985. schema:
  23986. items:
  23987. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23988. type: array
  23989. "500":
  23990. description: Internal Server Error
  23991. schema:
  23992. $ref: '#/definitions/app.Response'
  23993. security:
  23994. - ApiKeyAuth: []
  23995. summary: 查询期货公司
  23996. tags:
  23997. - 企业风险管理(app)
  23998. /Ermcp/QueryGGConvertConfig:
  23999. get:
  24000. parameters:
  24001. - description: 品种id(不填则查所有)
  24002. in: query
  24003. name: goodsgroupid
  24004. type: integer
  24005. produces:
  24006. - application/json
  24007. responses:
  24008. "200":
  24009. description: OK
  24010. schema:
  24011. items:
  24012. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24013. type: array
  24014. "500":
  24015. description: Internal Server Error
  24016. schema:
  24017. $ref: '#/definitions/app.Response'
  24018. security:
  24019. - ApiKeyAuth: []
  24020. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24021. tags:
  24022. - 企业风险管理(app)
  24023. /Ermcp/QueryGoodsBrand:
  24024. get:
  24025. parameters:
  24026. - description: 用户ID
  24027. in: query
  24028. name: userid
  24029. required: true
  24030. type: integer
  24031. - description: 现货商品ID
  24032. in: query
  24033. name: wrstandardid
  24034. type: integer
  24035. produces:
  24036. - application/json
  24037. responses:
  24038. "200":
  24039. description: OK
  24040. schema:
  24041. items:
  24042. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24043. type: array
  24044. "500":
  24045. description: Internal Server Error
  24046. schema:
  24047. $ref: '#/definitions/app.Response'
  24048. security:
  24049. - ApiKeyAuth: []
  24050. summary: 查询商品品牌
  24051. tags:
  24052. - 企业风险管理(app)
  24053. /Ermcp/QueryGoodsModel:
  24054. get:
  24055. parameters:
  24056. - description: 用户ID
  24057. in: query
  24058. name: userid
  24059. required: true
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.ErmcpGoodsModel'
  24069. type: array
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询商品型号
  24077. tags:
  24078. - 企业风险管理(app)
  24079. /Ermcp/QueryHisExposure:
  24080. get:
  24081. parameters:
  24082. - description: 用户id
  24083. in: query
  24084. name: userid
  24085. required: true
  24086. type: integer
  24087. - description: 每个品种记录数
  24088. in: query
  24089. name: lastNum
  24090. required: true
  24091. type: integer
  24092. produces:
  24093. - application/json
  24094. responses:
  24095. "200":
  24096. description: OK
  24097. schema:
  24098. items:
  24099. $ref: '#/definitions/ermcp.HisExposureRsp'
  24100. type: array
  24101. "500":
  24102. description: Internal Server Error
  24103. schema:
  24104. $ref: '#/definitions/app.Response'
  24105. security:
  24106. - ApiKeyAuth: []
  24107. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24108. tags:
  24109. - 企业风险管理(app)
  24110. /Ermcp/QueryMiddleGoods:
  24111. get:
  24112. parameters:
  24113. - description: 所属机构ID
  24114. in: query
  24115. name: userid
  24116. required: true
  24117. type: integer
  24118. - description: 状态 0-停用 1-正常
  24119. in: query
  24120. name: status
  24121. required: true
  24122. type: integer
  24123. produces:
  24124. - application/json
  24125. responses:
  24126. "200":
  24127. description: OK
  24128. schema:
  24129. items:
  24130. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24131. type: array
  24132. "500":
  24133. description: Internal Server Error
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. security:
  24137. - ApiKeyAuth: []
  24138. summary: 查询套保品种(菜单:套保品种)
  24139. tags:
  24140. - 企业风险管理(app)
  24141. /Ermcp/QueryMiddleGoodsChangeLog:
  24142. get:
  24143. parameters:
  24144. - description: 所属机构ID
  24145. in: query
  24146. name: userid
  24147. required: true
  24148. type: integer
  24149. - description: 套保品种id
  24150. in: query
  24151. name: middlegoodsid
  24152. required: true
  24153. type: integer
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. items:
  24161. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24162. type: array
  24163. "500":
  24164. description: Internal Server Error
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. security:
  24168. - ApiKeyAuth: []
  24169. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24170. tags:
  24171. - 企业风险管理(app)
  24172. /Ermcp/QueryMiddleGoodsDetail:
  24173. get:
  24174. parameters:
  24175. - description: 所属机构ID
  24176. in: query
  24177. name: userid
  24178. required: true
  24179. type: integer
  24180. - description: 套保品种id
  24181. in: query
  24182. name: middlegoodsid
  24183. type: integer
  24184. produces:
  24185. - application/json
  24186. responses:
  24187. "200":
  24188. description: OK
  24189. schema:
  24190. items:
  24191. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24192. type: array
  24193. "500":
  24194. description: Internal Server Error
  24195. schema:
  24196. $ref: '#/definitions/app.Response'
  24197. security:
  24198. - ApiKeyAuth: []
  24199. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24200. tags:
  24201. - 企业风险管理(app)
  24202. /Ermcp/QueryPendingAuditInfo:
  24203. get:
  24204. parameters:
  24205. - description: 用户ID
  24206. in: query
  24207. name: UserId
  24208. required: true
  24209. type: integer
  24210. produces:
  24211. - application/json
  24212. responses:
  24213. "200":
  24214. description: OK
  24215. schema:
  24216. items:
  24217. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24218. type: array
  24219. "500":
  24220. description: Internal Server Error
  24221. schema:
  24222. $ref: '#/definitions/app.Response'
  24223. security:
  24224. - ApiKeyAuth: []
  24225. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24226. tags:
  24227. - 企业风险管理(app)
  24228. /Ermcp/QueryRealtimeExposure:
  24229. get:
  24230. parameters:
  24231. - description: 所属机构ID
  24232. in: query
  24233. name: userid
  24234. required: true
  24235. type: integer
  24236. produces:
  24237. - application/json
  24238. responses:
  24239. "200":
  24240. description: OK
  24241. schema:
  24242. items:
  24243. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24244. type: array
  24245. "500":
  24246. description: Internal Server Error
  24247. schema:
  24248. $ref: '#/definitions/app.Response'
  24249. security:
  24250. - ApiKeyAuth: []
  24251. summary: 查询实时敞口
  24252. tags:
  24253. - 企业风险管理(app)
  24254. /Ermcp/QueryRealtimeExposurePosition:
  24255. get:
  24256. parameters:
  24257. - description: 用户id
  24258. in: query
  24259. name: userid
  24260. required: true
  24261. type: integer
  24262. - description: 套保商品ID
  24263. in: query
  24264. name: middleGoodsId
  24265. required: true
  24266. type: integer
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. items:
  24274. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24275. type: array
  24276. "500":
  24277. description: Internal Server Error
  24278. schema:
  24279. $ref: '#/definitions/app.Response'
  24280. security:
  24281. - ApiKeyAuth: []
  24282. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24283. tags:
  24284. - 企业风险管理(app)
  24285. /Ermcp/QueryRoleMenu:
  24286. get:
  24287. parameters:
  24288. - description: 登录ID
  24289. in: query
  24290. name: loginid
  24291. required: true
  24292. type: integer
  24293. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24294. in: query
  24295. name: menutype
  24296. type: integer
  24297. produces:
  24298. - application/json
  24299. responses:
  24300. "200":
  24301. description: OK
  24302. schema:
  24303. items:
  24304. $ref: '#/definitions/models.RoleMenu'
  24305. type: array
  24306. "500":
  24307. description: Internal Server Error
  24308. schema:
  24309. $ref: '#/definitions/app.Response'
  24310. security:
  24311. - ApiKeyAuth: []
  24312. summary: 查询角色菜单和权限
  24313. tags:
  24314. - 企业风险管理(app)
  24315. /Ermcp/QueryTradeConfigTMP:
  24316. get:
  24317. parameters:
  24318. - description: 所属机构id
  24319. in: query
  24320. name: areauserid
  24321. type: integer
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询交易模板配置
  24338. tags:
  24339. - 企业风险管理(app)
  24340. /Ermcp/QueryUserInfo:
  24341. get:
  24342. parameters:
  24343. - description: 所属机构用户ID
  24344. in: query
  24345. name: MemberUserID
  24346. required: true
  24347. type: integer
  24348. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24349. in: query
  24350. name: queryType
  24351. required: true
  24352. type: integer
  24353. produces:
  24354. - application/json
  24355. responses:
  24356. "200":
  24357. description: OK
  24358. schema:
  24359. items:
  24360. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24361. type: array
  24362. "500":
  24363. description: Internal Server Error
  24364. schema:
  24365. $ref: '#/definitions/app.Response'
  24366. security:
  24367. - ApiKeyAuth: []
  24368. summary: 查询客户资料
  24369. tags:
  24370. - 企业风险管理(app)
  24371. /Ermcp/QueryWarehouseInfo:
  24372. get:
  24373. parameters:
  24374. - description: 用户ID
  24375. in: query
  24376. name: userid
  24377. required: true
  24378. type: integer
  24379. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24380. in: query
  24381. name: status
  24382. type: string
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. items:
  24390. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24391. type: array
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. security:
  24397. - ApiKeyAuth: []
  24398. summary: 查询仓库信息
  24399. tags:
  24400. - 企业风险管理(app)
  24401. /Ermcp3/QryAreaExpourseContractDetail:
  24402. get:
  24403. parameters:
  24404. - description: 用户ID
  24405. in: query
  24406. name: userid
  24407. required: true
  24408. type: integer
  24409. - description: 套保商品id
  24410. in: query
  24411. name: middlegoodsid
  24412. required: true
  24413. type: integer
  24414. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24415. in: query
  24416. name: cycletype
  24417. required: true
  24418. type: integer
  24419. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24420. 全(0)【原值】
  24421. in: query
  24422. name: cycletime
  24423. required: true
  24424. type: string
  24425. produces:
  24426. - application/json
  24427. responses:
  24428. "200":
  24429. description: OK
  24430. schema:
  24431. items:
  24432. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24433. type: array
  24434. "500":
  24435. description: Internal Server Error
  24436. schema:
  24437. $ref: '#/definitions/app.Response'
  24438. security:
  24439. - ApiKeyAuth: []
  24440. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24441. tags:
  24442. - 企业风险管理v3(app)
  24443. /Ermcp3/QryAreaExpourseFutuDetail:
  24444. get:
  24445. parameters:
  24446. - description: 用户ID
  24447. in: query
  24448. name: userid
  24449. required: true
  24450. type: integer
  24451. - description: 套保商品id
  24452. in: query
  24453. name: middlegoodsid
  24454. required: true
  24455. type: integer
  24456. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24457. in: query
  24458. name: cycletype
  24459. required: true
  24460. type: integer
  24461. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24462. 全(0)【原值】
  24463. in: query
  24464. name: cycletime
  24465. required: true
  24466. type: string
  24467. produces:
  24468. - application/json
  24469. responses:
  24470. "200":
  24471. description: OK
  24472. schema:
  24473. items:
  24474. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24475. type: array
  24476. "500":
  24477. description: Internal Server Error
  24478. schema:
  24479. $ref: '#/definitions/app.Response'
  24480. security:
  24481. - ApiKeyAuth: []
  24482. summary: 查询敞口期货明细(敞口报表/期货明细)
  24483. tags:
  24484. - 企业风险管理v3(app)
  24485. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24486. get:
  24487. parameters:
  24488. - description: 用户ID
  24489. in: query
  24490. name: userid
  24491. required: true
  24492. type: integer
  24493. - description: 套保商品id
  24494. in: query
  24495. name: middlegoodsid
  24496. required: true
  24497. type: integer
  24498. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24499. in: query
  24500. name: cycletype
  24501. required: true
  24502. type: integer
  24503. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24504. 全(0)【原值】
  24505. in: query
  24506. name: cycletime
  24507. required: true
  24508. type: string
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24525. tags:
  24526. - 企业风险管理v3(app)
  24527. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24528. get:
  24529. parameters:
  24530. - description: 用户ID
  24531. in: query
  24532. name: userid
  24533. required: true
  24534. type: integer
  24535. - description: 套保商品id
  24536. in: query
  24537. name: middlegoodsid
  24538. required: true
  24539. type: integer
  24540. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24541. in: query
  24542. name: cycletype
  24543. required: true
  24544. type: integer
  24545. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24546. 全(0)【原值】
  24547. in: query
  24548. name: cycletime
  24549. required: true
  24550. type: string
  24551. produces:
  24552. - application/json
  24553. responses:
  24554. "200":
  24555. description: OK
  24556. schema:
  24557. items:
  24558. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24559. type: array
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24567. tags:
  24568. - 企业风险管理v3(app)
  24569. /Ermcp3/QryAreaExpourseReport:
  24570. get:
  24571. parameters:
  24572. - description: 用户ID
  24573. in: query
  24574. name: userid
  24575. required: true
  24576. type: integer
  24577. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24578. in: query
  24579. name: querytype
  24580. required: true
  24581. type: integer
  24582. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24583. in: query
  24584. name: cycletype
  24585. required: true
  24586. type: integer
  24587. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24588. 全(0)【原值】
  24589. in: query
  24590. name: cycletime
  24591. required: true
  24592. type: string
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. items:
  24600. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24601. type: array
  24602. "500":
  24603. description: Internal Server Error
  24604. schema:
  24605. $ref: '#/definitions/app.Response'
  24606. security:
  24607. - ApiKeyAuth: []
  24608. summary: 查询敞口报表
  24609. tags:
  24610. - 企业风险管理v3(app)
  24611. /Ermcp3/QryAreaSpotplReport:
  24612. get:
  24613. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24614. parameters:
  24615. - description: 用户ID
  24616. in: query
  24617. name: userid
  24618. required: true
  24619. type: integer
  24620. - description: 查询类型 1-报表 2-报表明细
  24621. in: query
  24622. name: querytype
  24623. required: true
  24624. type: integer
  24625. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24626. in: query
  24627. name: cycletype
  24628. required: true
  24629. type: integer
  24630. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24631. 全(0)【原值】
  24632. in: query
  24633. name: cycletime
  24634. required: true
  24635. type: string
  24636. - description: 现货品种id(明细必填)
  24637. in: query
  24638. name: deliverygoodsid
  24639. type: integer
  24640. - description: 币种id(明细必填)
  24641. in: query
  24642. name: currencyid
  24643. type: integer
  24644. - description: 日/周/月报表汇总维度 1:品种+品类
  24645. in: query
  24646. name: sumflag
  24647. type: integer
  24648. produces:
  24649. - application/json
  24650. responses:
  24651. "200":
  24652. description: OK
  24653. schema:
  24654. items:
  24655. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24656. type: array
  24657. "500":
  24658. description: Internal Server Error
  24659. schema:
  24660. $ref: '#/definitions/app.Response'
  24661. security:
  24662. - ApiKeyAuth: []
  24663. summary: 查询现货报表
  24664. tags:
  24665. - 企业风险管理v3(app)
  24666. /Ermcp3/QryAreaStockReport:
  24667. get:
  24668. parameters:
  24669. - description: 用户ID
  24670. in: query
  24671. name: userid
  24672. required: true
  24673. type: integer
  24674. - description: 查询类型 1-报表 2-报表明细
  24675. in: query
  24676. name: querytype
  24677. required: true
  24678. type: integer
  24679. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24680. in: query
  24681. name: cycletype
  24682. required: true
  24683. type: integer
  24684. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24685. 全(0)【原值】
  24686. in: query
  24687. name: cycletime
  24688. required: true
  24689. type: string
  24690. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24691. in: query
  24692. name: sumfields
  24693. type: string
  24694. - description: 品种ID
  24695. in: query
  24696. name: deliverygoodsid
  24697. type: integer
  24698. - description: 品类ID
  24699. in: query
  24700. name: wrstandardid
  24701. type: integer
  24702. - description: 品牌ID
  24703. in: query
  24704. name: spotgoodsbrandid
  24705. type: integer
  24706. - description: 仓库ID
  24707. in: query
  24708. name: warehouseinfoid
  24709. type: integer
  24710. produces:
  24711. - application/json
  24712. responses:
  24713. "200":
  24714. description: OK
  24715. schema:
  24716. items:
  24717. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24718. type: array
  24719. "500":
  24720. description: Internal Server Error
  24721. schema:
  24722. $ref: '#/definitions/app.Response'
  24723. security:
  24724. - ApiKeyAuth: []
  24725. summary: 查询库存报表
  24726. tags:
  24727. - 企业风险管理v3(app)
  24728. /Ermcp3/QryAreaSumPL:
  24729. get:
  24730. parameters:
  24731. - description: 用户ID
  24732. in: query
  24733. name: userid
  24734. required: true
  24735. type: integer
  24736. - description: 查询类型 1-报表 2-报表明细
  24737. in: query
  24738. name: querytype
  24739. required: true
  24740. type: integer
  24741. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24742. in: query
  24743. name: cycletype
  24744. required: true
  24745. type: integer
  24746. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24747. 全(0)【原值】
  24748. in: query
  24749. name: cycletime
  24750. required: true
  24751. type: string
  24752. - description: 币种id(明细必填)
  24753. in: query
  24754. name: currencyid
  24755. type: integer
  24756. - description: 套保品种ID, 查询类型为2时起效
  24757. in: query
  24758. name: middlegoodsid
  24759. type: integer
  24760. produces:
  24761. - application/json
  24762. responses:
  24763. "200":
  24764. description: OK
  24765. schema:
  24766. items:
  24767. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24768. type: array
  24769. "500":
  24770. description: Internal Server Error
  24771. schema:
  24772. $ref: '#/definitions/app.Response'
  24773. security:
  24774. - ApiKeyAuth: []
  24775. summary: 查询汇总损益表
  24776. tags:
  24777. - 企业风险管理v3(app)
  24778. /Ermcp3/QryFinanceReport:
  24779. get:
  24780. parameters:
  24781. - description: 用户ID
  24782. in: query
  24783. name: userid
  24784. required: true
  24785. type: integer
  24786. - description: 查询类型 1-报表 2-报表明细
  24787. in: query
  24788. name: querytype
  24789. required: true
  24790. type: integer
  24791. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24792. in: query
  24793. name: cycletype
  24794. required: true
  24795. type: integer
  24796. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24797. 全(0)【原值】
  24798. in: query
  24799. name: cycletime
  24800. required: true
  24801. type: string
  24802. - description: 币种id(报表明细必填)
  24803. in: query
  24804. name: currencyid
  24805. type: integer
  24806. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24807. in: query
  24808. name: sumfields
  24809. type: string
  24810. produces:
  24811. - application/json
  24812. responses:
  24813. "200":
  24814. description: OK
  24815. schema:
  24816. items:
  24817. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24818. type: array
  24819. "500":
  24820. description: Internal Server Error
  24821. schema:
  24822. $ref: '#/definitions/app.Response'
  24823. security:
  24824. - ApiKeyAuth: []
  24825. summary: 查询财务报表
  24826. tags:
  24827. - 企业风险管理v3(app)
  24828. /Ermcp3/QrySCMiddleGoodsReport:
  24829. get:
  24830. parameters:
  24831. - description: 用户ID
  24832. in: query
  24833. name: userid
  24834. required: true
  24835. type: integer
  24836. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24837. in: query
  24838. name: cycletype
  24839. required: true
  24840. type: integer
  24841. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24842. 全(0)【原值】
  24843. in: query
  24844. name: cycletime
  24845. required: true
  24846. type: string
  24847. - description: 合同id
  24848. in: query
  24849. name: spotcontractid
  24850. type: integer
  24851. - description: 套保品种id
  24852. in: query
  24853. name: middlegoodsid
  24854. type: integer
  24855. - description: 现货品种id
  24856. in: query
  24857. name: deliverygoodsid
  24858. type: integer
  24859. - description: 现货商品id
  24860. in: query
  24861. name: wrstandardid
  24862. type: integer
  24863. - description: 合同编号(模糊匹配)
  24864. in: query
  24865. name: contractno
  24866. type: string
  24867. produces:
  24868. - application/json
  24869. responses:
  24870. "200":
  24871. description: OK
  24872. schema:
  24873. items:
  24874. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24875. type: array
  24876. "500":
  24877. description: Internal Server Error
  24878. schema:
  24879. $ref: '#/definitions/app.Response'
  24880. security:
  24881. - ApiKeyAuth: []
  24882. summary: 查询定价报表
  24883. tags:
  24884. - 企业风险管理v3(app)
  24885. /Ermcp3/QryTaFutureDataReport:
  24886. get:
  24887. parameters:
  24888. - description: 用户ID
  24889. in: query
  24890. name: userid
  24891. required: true
  24892. type: integer
  24893. - description: 查询类型 1-报表 2-报表明细
  24894. in: query
  24895. name: querytype
  24896. required: true
  24897. type: integer
  24898. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24899. in: query
  24900. name: cycletype
  24901. required: true
  24902. type: integer
  24903. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24904. 全(0)【原值】
  24905. in: query
  24906. name: cycletime
  24907. required: true
  24908. type: string
  24909. - description: 币种id(查明细必填)
  24910. in: query
  24911. name: currencyid
  24912. type: integer
  24913. - description: 品种id(查明细必填)
  24914. in: query
  24915. name: goodsgroupid
  24916. type: integer
  24917. - description: 商品id(查明细必填)
  24918. in: query
  24919. name: goodsid
  24920. type: integer
  24921. - description: 买卖方向(查明细必填)
  24922. in: query
  24923. name: buyorsell
  24924. type: integer
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. items:
  24932. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24933. type: array
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 查询期货报表
  24941. tags:
  24942. - 企业风险管理v3(app)
  24943. /Ermcp3/QueryAreaStock:
  24944. get:
  24945. parameters:
  24946. - description: 用户ID
  24947. in: query
  24948. name: userid
  24949. required: true
  24950. type: integer
  24951. produces:
  24952. - application/json
  24953. responses:
  24954. "200":
  24955. description: OK
  24956. schema:
  24957. items:
  24958. $ref: '#/definitions/models.Ermcp3AreaStock'
  24959. type: array
  24960. "500":
  24961. description: Internal Server Error
  24962. schema:
  24963. $ref: '#/definitions/app.Response'
  24964. security:
  24965. - ApiKeyAuth: []
  24966. summary: 查询机构库存(库存管理/当前库存)
  24967. tags:
  24968. - 企业风险管理v3(app)
  24969. /Ermcp3/QueryAreaStockApply:
  24970. get:
  24971. parameters:
  24972. - description: 用户ID
  24973. in: query
  24974. name: userid
  24975. required: true
  24976. type: integer
  24977. - description: 用户类型 2-机构 7-企业成员
  24978. in: query
  24979. name: usertype
  24980. type: integer
  24981. - description: 现货商品ID
  24982. in: query
  24983. name: deliverygoodsid
  24984. type: integer
  24985. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24986. in: query
  24987. name: inouttype
  24988. type: string
  24989. - description: 合同ID
  24990. in: query
  24991. name: spotcontractid
  24992. type: integer
  24993. - description: 品类ID
  24994. in: query
  24995. name: wrstandardid
  24996. type: integer
  24997. - description: 品牌ID
  24998. in: query
  24999. name: spotgoodsbrandid
  25000. type: integer
  25001. - description: 仓库ID
  25002. in: query
  25003. name: warehouseinfoid
  25004. type: integer
  25005. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25006. in: query
  25007. name: applystatus
  25008. type: string
  25009. produces:
  25010. - application/json
  25011. responses:
  25012. "200":
  25013. description: OK
  25014. schema:
  25015. items:
  25016. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25017. type: array
  25018. "500":
  25019. description: Internal Server Error
  25020. schema:
  25021. $ref: '#/definitions/app.Response'
  25022. security:
  25023. - ApiKeyAuth: []
  25024. summary: 查询库存申请(出入库记录|库存审核)
  25025. tags:
  25026. - 企业风险管理v3(app)
  25027. /Ermcp3/QueryAreaStockApplySum:
  25028. get:
  25029. parameters:
  25030. - description: 合同ID
  25031. in: query
  25032. name: spotcontractid
  25033. required: true
  25034. type: integer
  25035. produces:
  25036. - application/json
  25037. responses:
  25038. "200":
  25039. description: OK
  25040. schema:
  25041. items:
  25042. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25043. type: array
  25044. "500":
  25045. description: Internal Server Error
  25046. schema:
  25047. $ref: '#/definitions/app.Response'
  25048. security:
  25049. - ApiKeyAuth: []
  25050. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25051. tags:
  25052. - 企业风险管理v3(app)
  25053. /Ermcp3/QueryDGFactoryItem:
  25054. get:
  25055. parameters:
  25056. - description: 用户id
  25057. in: query
  25058. name: userid
  25059. type: integer
  25060. - description: 用户类型 2-机构 7-企业成员
  25061. in: query
  25062. name: usertype
  25063. type: integer
  25064. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25065. in: query
  25066. name: dgfactoryitemid
  25067. type: integer
  25068. - description: 现货品种ID
  25069. in: query
  25070. name: deliverygoodsid
  25071. type: integer
  25072. - description: 要素项类型
  25073. in: query
  25074. name: dgfactoryitemtypeid
  25075. type: integer
  25076. - description: 顺序
  25077. in: query
  25078. name: orderindex
  25079. type: integer
  25080. produces:
  25081. - application/json
  25082. responses:
  25083. "200":
  25084. description: OK
  25085. schema:
  25086. items:
  25087. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25088. type: array
  25089. "500":
  25090. description: Internal Server Error
  25091. schema:
  25092. $ref: '#/definitions/app.Response'
  25093. security:
  25094. - ApiKeyAuth: []
  25095. summary: 查询品种要素定义项
  25096. tags:
  25097. - 企业风险管理v3(app)
  25098. /Ermcp3/QueryDeliveryGoods:
  25099. get:
  25100. parameters:
  25101. - description: 用户id
  25102. in: query
  25103. name: userid
  25104. required: true
  25105. type: integer
  25106. - description: 用户类型 2-机构 7-企业成员
  25107. in: query
  25108. name: usertype
  25109. type: integer
  25110. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25111. in: query
  25112. name: excludecfg
  25113. type: integer
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询现货商品
  25130. tags:
  25131. - 企业风险管理v3(app)
  25132. /Ermcp3/QueryDeliveryGoodsDetail:
  25133. get:
  25134. parameters:
  25135. - description: 用户id
  25136. in: query
  25137. name: userid
  25138. required: true
  25139. type: integer
  25140. - description: 用户类型 2-机构 7-企业成员
  25141. in: query
  25142. name: usertype
  25143. type: integer
  25144. - description: 现货商品id
  25145. in: query
  25146. name: deliverygoodsid
  25147. type: integer
  25148. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25149. in: query
  25150. name: filtersubempty
  25151. type: integer
  25152. produces:
  25153. - application/json
  25154. responses:
  25155. "200":
  25156. description: OK
  25157. schema:
  25158. items:
  25159. $ref: '#/definitions/models.XHDeliveryGoods'
  25160. type: array
  25161. "500":
  25162. description: Internal Server Error
  25163. schema:
  25164. $ref: '#/definitions/app.Response'
  25165. security:
  25166. - ApiKeyAuth: []
  25167. summary: 查询现货商品详情
  25168. tags:
  25169. - 企业风险管理v3(app)
  25170. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25171. get:
  25172. parameters:
  25173. - description: 合同id
  25174. in: query
  25175. name: spotcontractid
  25176. required: true
  25177. type: string
  25178. produces:
  25179. - application/json
  25180. responses:
  25181. "200":
  25182. description: OK
  25183. schema:
  25184. items:
  25185. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25186. type: array
  25187. "500":
  25188. description: Internal Server Error
  25189. schema:
  25190. $ref: '#/definitions/app.Response'
  25191. security:
  25192. - ApiKeyAuth: []
  25193. summary: 查询现货合同期现配置信息
  25194. tags:
  25195. - 企业风险管理v3(app)
  25196. /Ermcp3/QueryExposureDetail:
  25197. get:
  25198. parameters:
  25199. - description: 用户id
  25200. in: query
  25201. name: userid
  25202. required: true
  25203. type: integer
  25204. - description: 用户类型 2-机构 7-企业成员
  25205. in: query
  25206. name: usertype
  25207. type: integer
  25208. - description: 套保商品
  25209. in: query
  25210. name: middlegoodsid
  25211. required: true
  25212. type: integer
  25213. produces:
  25214. - application/json
  25215. responses:
  25216. "200":
  25217. description: OK
  25218. schema:
  25219. items:
  25220. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25221. type: array
  25222. "500":
  25223. description: Internal Server Error
  25224. schema:
  25225. $ref: '#/definitions/app.Response'
  25226. security:
  25227. - ApiKeyAuth: []
  25228. summary: 查询敞口现货明细
  25229. tags:
  25230. - 企业风险管理v3(app)
  25231. /Ermcp3/QueryExposureSpot:
  25232. get:
  25233. parameters:
  25234. - description: 用户id
  25235. in: query
  25236. name: userid
  25237. required: true
  25238. type: integer
  25239. - description: 用户类型 2-机构 7-企业成员
  25240. in: query
  25241. name: usertype
  25242. type: integer
  25243. produces:
  25244. - application/json
  25245. responses:
  25246. "200":
  25247. description: OK
  25248. schema:
  25249. items:
  25250. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25251. type: array
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 查询敞口现货头寸(敞口/现货头寸)
  25259. tags:
  25260. - 企业风险管理v3(app)
  25261. /Ermcp3/QueryExposureSpotDetail:
  25262. get:
  25263. parameters:
  25264. - description: 用户id
  25265. in: query
  25266. name: userid
  25267. required: true
  25268. type: integer
  25269. - description: 用户类型 2-机构 7-企业成员
  25270. in: query
  25271. name: usertype
  25272. type: integer
  25273. - description: 现货商品ID
  25274. in: query
  25275. name: wrstandardid
  25276. required: true
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. items:
  25285. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25286. type: array
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25294. tags:
  25295. - 企业风险管理v3(app)
  25296. /Ermcp3/QueryGoodsGroup:
  25297. get:
  25298. parameters:
  25299. - description: 用户id
  25300. in: query
  25301. name: userid
  25302. required: true
  25303. type: integer
  25304. - description: 用户类型 2-机构 7-企业成员
  25305. in: query
  25306. name: usertype
  25307. type: integer
  25308. - description: 排除套保品中已关联的商品组 1-排除
  25309. in: query
  25310. name: excludecfg
  25311. type: integer
  25312. produces:
  25313. - application/json
  25314. responses:
  25315. "200":
  25316. description: OK
  25317. schema:
  25318. items:
  25319. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25320. type: array
  25321. "500":
  25322. description: Internal Server Error
  25323. schema:
  25324. $ref: '#/definitions/app.Response'
  25325. security:
  25326. - ApiKeyAuth: []
  25327. summary: 查询期货商品组
  25328. tags:
  25329. - 企业风险管理v3(app)
  25330. /Ermcp3/QueryGoodsWrstandard:
  25331. get:
  25332. parameters:
  25333. - description: 用户id
  25334. in: query
  25335. name: userid
  25336. required: true
  25337. type: integer
  25338. - description: 用户类型 2-机构 7-企业成员
  25339. in: query
  25340. name: usertype
  25341. type: integer
  25342. - description: 现货商品id
  25343. in: query
  25344. name: deliverygoodsid
  25345. type: integer
  25346. produces:
  25347. - application/json
  25348. responses:
  25349. "200":
  25350. description: OK
  25351. schema:
  25352. items:
  25353. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25354. type: array
  25355. "500":
  25356. description: Internal Server Error
  25357. schema:
  25358. $ref: '#/definitions/app.Response'
  25359. security:
  25360. - ApiKeyAuth: []
  25361. summary: 查询商品品类
  25362. tags:
  25363. - 企业风险管理v3(app)
  25364. /Ermcp3/QueryGoodsbrand:
  25365. get:
  25366. parameters:
  25367. - description: 用户id
  25368. in: query
  25369. name: userid
  25370. required: true
  25371. type: integer
  25372. - description: 用户类型 2-机构 7-企业成员
  25373. in: query
  25374. name: usertype
  25375. type: integer
  25376. produces:
  25377. - application/json
  25378. responses:
  25379. "200":
  25380. description: OK
  25381. schema:
  25382. items:
  25383. $ref: '#/definitions/models.Ermcp3Brand'
  25384. type: array
  25385. "500":
  25386. description: Internal Server Error
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. security:
  25390. - ApiKeyAuth: []
  25391. summary: 查询商品品牌
  25392. tags:
  25393. - 企业风险管理v3(app)
  25394. /Ermcp3/QueryHPMiddleGoods:
  25395. get:
  25396. parameters:
  25397. - description: 用户ID(填登录用户的userid)
  25398. in: query
  25399. name: userid
  25400. required: true
  25401. type: integer
  25402. - description: 买卖方向 0-买 1-卖
  25403. in: query
  25404. name: buyorsell
  25405. required: true
  25406. type: integer
  25407. - description: 商品组id
  25408. in: query
  25409. name: goodsgroupid
  25410. required: true
  25411. type: integer
  25412. - description: 套保计划编号(模糊匹配)
  25413. in: query
  25414. name: hedgeplanno
  25415. type: string
  25416. - description: 现货商品名称(模糊匹配)
  25417. in: query
  25418. name: wrstandardname
  25419. type: string
  25420. produces:
  25421. - application/json
  25422. responses:
  25423. "200":
  25424. description: OK
  25425. schema:
  25426. items:
  25427. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25428. type: array
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 查询可关联套保计划
  25436. tags:
  25437. - 企业风险管理v3(app)
  25438. /Ermcp3/QueryHedgePlan:
  25439. get:
  25440. parameters:
  25441. - description: 用户ID
  25442. in: query
  25443. name: userid
  25444. required: true
  25445. type: integer
  25446. - description: 用户类型 2-机构 7-企业成员
  25447. in: query
  25448. name: usertype
  25449. type: integer
  25450. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25451. in: query
  25452. name: hedgeplanstatus
  25453. required: true
  25454. type: string
  25455. produces:
  25456. - application/json
  25457. responses:
  25458. "200":
  25459. description: OK
  25460. schema:
  25461. items:
  25462. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25463. type: array
  25464. "500":
  25465. description: Internal Server Error
  25466. schema:
  25467. $ref: '#/definitions/app.Response'
  25468. security:
  25469. - ApiKeyAuth: []
  25470. summary: 查询套保计划
  25471. tags:
  25472. - 企业风险管理v3(app)
  25473. /Ermcp3/QueryInnerTradeLink:
  25474. get:
  25475. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25476. parameters:
  25477. - description: 外部成交单号
  25478. in: query
  25479. name: outtradeid
  25480. required: true
  25481. type: integer
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  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/QueryMiddleGoodsDetail:
  25501. get:
  25502. parameters:
  25503. - description: 用户id
  25504. in: query
  25505. name: userid
  25506. required: true
  25507. type: integer
  25508. - description: 用户类型 2-机构 7-企业成员
  25509. in: query
  25510. name: usertype
  25511. type: integer
  25512. - description: 套保品种id
  25513. in: query
  25514. name: middlegoodsid
  25515. type: integer
  25516. produces:
  25517. - application/json
  25518. responses:
  25519. "200":
  25520. description: OK
  25521. schema:
  25522. items:
  25523. $ref: '#/definitions/models.TBMiddleGoods'
  25524. type: array
  25525. "500":
  25526. description: Internal Server Error
  25527. schema:
  25528. $ref: '#/definitions/app.Response'
  25529. security:
  25530. - ApiKeyAuth: []
  25531. summary: 查询套保品种详情(套保品种/商品详情)
  25532. tags:
  25533. - 企业风险管理v3(app)
  25534. /Ermcp3/QueryOutTradeLink:
  25535. get:
  25536. description: 页面 app 现货->期现关联->外部成交单关联
  25537. parameters:
  25538. - description: 用户ID(填登录用户的userid)
  25539. in: query
  25540. name: userid
  25541. required: true
  25542. type: integer
  25543. - description: 外部订单号(模糊匹配)
  25544. in: query
  25545. name: outtradeid
  25546. type: string
  25547. - description: 合约名称/代码(模糊匹配)
  25548. in: query
  25549. name: goodsname
  25550. type: string
  25551. - description: 关联状态 0-未关联 1-已关联
  25552. in: query
  25553. name: hasinnerorder
  25554. type: integer
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. items:
  25562. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25563. type: array
  25564. "500":
  25565. description: Internal Server Error
  25566. schema:
  25567. $ref: '#/definitions/app.Response'
  25568. security:
  25569. - ApiKeyAuth: []
  25570. summary: 查询外部成交单关联
  25571. tags:
  25572. - 企业风险管理v3(app)
  25573. /Ermcp3/QueryPaAreaAuditCfg:
  25574. get:
  25575. parameters:
  25576. - description: 用户id
  25577. in: query
  25578. name: userid
  25579. required: true
  25580. type: integer
  25581. produces:
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. items:
  25588. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25589. type: array
  25590. "500":
  25591. description: Internal Server Error
  25592. schema:
  25593. $ref: '#/definitions/app.Response'
  25594. security:
  25595. - ApiKeyAuth: []
  25596. summary: 查询审核设置
  25597. tags:
  25598. - 企业风险管理v3(app)
  25599. /Ermcp3/QueryPaAreaSubject:
  25600. get:
  25601. parameters:
  25602. - description: 用户id
  25603. in: query
  25604. name: userid
  25605. required: true
  25606. type: integer
  25607. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25608. in: query
  25609. name: subjectid
  25610. type: integer
  25611. - description: 主体类型 - 1:交易主体 2:业务部门
  25612. in: query
  25613. name: subjecttype
  25614. type: integer
  25615. - description: '主体状态 - 1:正常 2: 停用'
  25616. in: query
  25617. name: subjectstatus
  25618. type: integer
  25619. produces:
  25620. - application/json
  25621. responses:
  25622. "200":
  25623. description: OK
  25624. schema:
  25625. items:
  25626. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25627. type: array
  25628. "500":
  25629. description: Internal Server Error
  25630. schema:
  25631. $ref: '#/definitions/app.Response'
  25632. security:
  25633. - ApiKeyAuth: []
  25634. summary: 查询交易主体
  25635. tags:
  25636. - 企业风险管理v3(app)
  25637. /Ermcp3/QueryPaTradeLink:
  25638. get:
  25639. description: 页面 app 现货->期现关联->期现单据关联
  25640. parameters:
  25641. - description: 用户ID
  25642. in: query
  25643. name: userid
  25644. required: true
  25645. type: integer
  25646. produces:
  25647. - application/json
  25648. responses:
  25649. "200":
  25650. description: OK
  25651. schema:
  25652. items:
  25653. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  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/QueryPaTradeLinkDetail:
  25665. get:
  25666. description: 页面 app 现货->期现关联->关联记录
  25667. parameters:
  25668. - description: 用户ID(填登录用户的userid)
  25669. in: query
  25670. name: userid
  25671. required: true
  25672. type: integer
  25673. - description: 关联状态 1:成功 2:失败 3:解绑
  25674. in: query
  25675. name: linkstatus
  25676. type: integer
  25677. - description: 期货订单号(模糊匹配)
  25678. in: query
  25679. name: tradeid
  25680. type: string
  25681. - description: 现货编号(模糊匹配)
  25682. in: query
  25683. name: contractno
  25684. type: string
  25685. - description: 期货账户(模糊匹配)
  25686. in: query
  25687. name: taname
  25688. type: string
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询期现关联记录
  25705. tags:
  25706. - 企业风险管理v3(app)
  25707. /Ermcp3/QueryParamChangeApp:
  25708. get:
  25709. description: |-
  25710. 原型页面:
  25711. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25712. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25713. parameters:
  25714. - description: 用户ID
  25715. in: query
  25716. name: userid
  25717. required: true
  25718. type: integer
  25719. - description: 现货品种id
  25720. in: query
  25721. name: deliverygoodsid
  25722. type: integer
  25723. - description: 现货商品id
  25724. in: query
  25725. name: wrstandardid
  25726. type: integer
  25727. - description: 套保商品id
  25728. in: query
  25729. name: middlegoodsid
  25730. type: integer
  25731. - description: 操作类型 1:新增 2:修改
  25732. in: query
  25733. name: operatetype
  25734. type: integer
  25735. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25736. in: query
  25737. name: paramchangetype
  25738. type: integer
  25739. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25740. in: query
  25741. name: ftstatus
  25742. type: string
  25743. produces:
  25744. - application/json
  25745. responses:
  25746. "200":
  25747. description: OK
  25748. schema:
  25749. items:
  25750. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25751. type: array
  25752. "500":
  25753. description: Internal Server Error
  25754. schema:
  25755. $ref: '#/definitions/app.Response'
  25756. security:
  25757. - ApiKeyAuth: []
  25758. summary: 查询现货商品参数变更申请(流水)
  25759. tags:
  25760. - 企业风险管理v3(app)
  25761. /Ermcp3/QueryRootUserAccount:
  25762. get:
  25763. parameters:
  25764. - description: 用户ID
  25765. in: query
  25766. name: userid
  25767. required: true
  25768. type: integer
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. items:
  25776. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25777. type: array
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. security:
  25783. - ApiKeyAuth: []
  25784. summary: 查询顶级用户信息
  25785. tags:
  25786. - 企业风险管理v3(app)
  25787. /Ermcp3/QuerySCMiddleGoods:
  25788. get:
  25789. description: |-
  25790. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25791. 现货编号 即 合同编号
  25792. parameters:
  25793. - description: 用户ID(填登录用户的userid)
  25794. in: query
  25795. name: userid
  25796. required: true
  25797. type: integer
  25798. - description: 买卖方向 0-买 1-卖
  25799. in: query
  25800. name: buyorsell
  25801. required: true
  25802. type: integer
  25803. - description: 商品组id
  25804. in: query
  25805. name: goodsgroupid
  25806. required: true
  25807. type: integer
  25808. - description: 业务类型 1:套保 2:套利
  25809. in: query
  25810. name: biztype
  25811. type: integer
  25812. - description: 现货编号(模糊匹配)
  25813. in: query
  25814. name: contractno
  25815. type: string
  25816. - description: 对手方(模糊匹配)
  25817. in: query
  25818. name: customername
  25819. type: string
  25820. - description: 现货商品名称(模糊匹配)
  25821. in: query
  25822. name: wrstandardname
  25823. type: string
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. items:
  25831. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25832. type: array
  25833. "500":
  25834. description: Internal Server Error
  25835. schema:
  25836. $ref: '#/definitions/app.Response'
  25837. security:
  25838. - ApiKeyAuth: []
  25839. summary: 查询现货订单
  25840. tags:
  25841. - 企业风险管理v3(app)
  25842. /Ermcp3/QuerySpotContract:
  25843. get:
  25844. parameters:
  25845. - description: 用户id(当指定contractid, userid可不填)
  25846. in: query
  25847. name: userid
  25848. required: true
  25849. type: integer
  25850. - description: 用户类型 2-机构 7-企业成员
  25851. in: query
  25852. name: usertype
  25853. type: integer
  25854. - description: 合同类型 1-采购, -1-销售
  25855. in: query
  25856. name: contracttype
  25857. type: integer
  25858. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25859. in: query
  25860. name: querytype
  25861. type: string
  25862. - description: 合同ID(SpotContractId)
  25863. in: query
  25864. name: contractid
  25865. type: string
  25866. - description: 合同编号(模糊匹配)
  25867. in: query
  25868. name: contractno
  25869. type: string
  25870. - description: 商品名称(模糊匹配)
  25871. in: query
  25872. name: wrstandardname
  25873. type: string
  25874. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25875. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25876. in: query
  25877. name: status
  25878. type: string
  25879. - description: 是否只查今日的合同 1-查今日合同
  25880. in: query
  25881. name: istoday
  25882. type: integer
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. items:
  25890. $ref: '#/definitions/models.Ermcp3Contract'
  25891. type: array
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 查询现货合同
  25899. tags:
  25900. - 企业风险管理v3(app)
  25901. /Ermcp3/QuerySpotContractBS:
  25902. get:
  25903. parameters:
  25904. - description: 用户id
  25905. in: query
  25906. name: userid
  25907. required: true
  25908. type: integer
  25909. - description: 用户类型 2-机构 7-企业成员
  25910. in: query
  25911. name: usertype
  25912. type: integer
  25913. - description: 合同类型 1-采购, -1-销售
  25914. in: query
  25915. name: contracttype
  25916. required: true
  25917. type: integer
  25918. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25919. in: query
  25920. name: querytype
  25921. type: integer
  25922. - description: 合同ID(SpotContractId)
  25923. in: query
  25924. name: contractid
  25925. type: string
  25926. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25927. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25928. in: query
  25929. name: status
  25930. type: string
  25931. - description: 是否只查今日的合同 1-查今日合同
  25932. in: query
  25933. name: istoday
  25934. type: integer
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. items:
  25942. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25943. type: array
  25944. "500":
  25945. description: Internal Server Error
  25946. schema:
  25947. $ref: '#/definitions/app.Response'
  25948. security:
  25949. - ApiKeyAuth: []
  25950. summary: 查询合同(采购/销售)
  25951. tags:
  25952. - 企业风险管理v3(app)
  25953. /Ermcp3/QuerySpotGoodsPrice:
  25954. get:
  25955. parameters:
  25956. - description: 用户ID
  25957. in: query
  25958. name: userid
  25959. required: true
  25960. type: integer
  25961. produces:
  25962. - application/json
  25963. responses:
  25964. "200":
  25965. description: OK
  25966. schema:
  25967. items:
  25968. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25969. type: array
  25970. "500":
  25971. description: Internal Server Error
  25972. schema:
  25973. $ref: '#/definitions/app.Response'
  25974. security:
  25975. - ApiKeyAuth: []
  25976. summary: 查询现货市价(现货市价)
  25977. tags:
  25978. - 企业风险管理v3(app)
  25979. /Ermcp3/QuerySpotGoodsPriceLog:
  25980. get:
  25981. parameters:
  25982. - description: 用户ID
  25983. in: query
  25984. name: userid
  25985. required: true
  25986. type: integer
  25987. - description: 现货商品ID
  25988. in: query
  25989. name: deliverygoodsid
  25990. required: true
  25991. type: integer
  25992. - description: 品牌ID
  25993. in: query
  25994. name: brandid
  25995. type: integer
  25996. - description: 品类ID
  25997. in: query
  25998. name: wrstandardid
  25999. type: integer
  26000. produces:
  26001. - application/json
  26002. responses:
  26003. "200":
  26004. description: OK
  26005. schema:
  26006. items:
  26007. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26008. type: array
  26009. "500":
  26010. description: Internal Server Error
  26011. schema:
  26012. $ref: '#/definitions/app.Response'
  26013. security:
  26014. - ApiKeyAuth: []
  26015. summary: 查询现货市价详情(现货市价/详情)
  26016. tags:
  26017. - 企业风险管理v3(app)
  26018. /Ermcp3/QuerySubTaaccount:
  26019. get:
  26020. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26021. parameters:
  26022. - description: 母账号id
  26023. in: query
  26024. name: parentaccountid
  26025. type: integer
  26026. - description: 母账号代码
  26027. in: query
  26028. name: parentaccountcode
  26029. type: string
  26030. produces:
  26031. - application/json
  26032. responses:
  26033. "200":
  26034. description: OK
  26035. schema:
  26036. items:
  26037. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26038. type: array
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 查询期货子账户
  26046. tags:
  26047. - 企业风险管理v3(app)
  26048. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26049. get:
  26050. parameters:
  26051. - description: 套期项目ID
  26052. in: query
  26053. name: hedgeditemid
  26054. required: true
  26055. type: integer
  26056. produces:
  26057. - application/json
  26058. responses:
  26059. "200":
  26060. description: OK
  26061. schema:
  26062. items:
  26063. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26064. type: array
  26065. "500":
  26066. description: Internal Server Error
  26067. schema:
  26068. $ref: '#/definitions/app.Response'
  26069. security:
  26070. - ApiKeyAuth: []
  26071. summary: 现货成交明细查询
  26072. tags:
  26073. - 企业风险管理v8
  26074. /Ermcp8/QueryERMCP2HedgedItemspot:
  26075. get:
  26076. parameters:
  26077. - description: 套期项目ID
  26078. in: query
  26079. name: hedgeditemid
  26080. required: true
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. items:
  26089. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26090. type: array
  26091. "500":
  26092. description: Internal Server Error
  26093. schema:
  26094. $ref: '#/definitions/app.Response'
  26095. security:
  26096. - ApiKeyAuth: []
  26097. summary: 套期计划明细查询
  26098. tags:
  26099. - 企业风险管理v8
  26100. /Ermcp8/QueryERMCPJRLinkPos:
  26101. get:
  26102. parameters:
  26103. - description: 套期项目ID
  26104. in: query
  26105. name: hedgeditemid
  26106. required: true
  26107. type: integer
  26108. produces:
  26109. - application/json
  26110. responses:
  26111. "200":
  26112. description: OK
  26113. schema:
  26114. items:
  26115. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26116. type: array
  26117. "500":
  26118. description: Internal Server Error
  26119. schema:
  26120. $ref: '#/definitions/app.Response'
  26121. security:
  26122. - ApiKeyAuth: []
  26123. summary: 期货持仓明细查询
  26124. tags:
  26125. - 企业风险管理v8
  26126. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26127. get:
  26128. parameters:
  26129. - description: 套期项目ID
  26130. in: query
  26131. name: hedgeditemid
  26132. required: true
  26133. type: integer
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. items:
  26141. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26142. type: array
  26143. "500":
  26144. description: Internal Server Error
  26145. schema:
  26146. $ref: '#/definitions/app.Response'
  26147. security:
  26148. - ApiKeyAuth: []
  26149. summary: 期货成交单明细查询
  26150. tags:
  26151. - 企业风险管理v8
  26152. /Ermcp8/QueryErmcp2AreaExposure:
  26153. get:
  26154. parameters:
  26155. - description: 用户ID
  26156. in: query
  26157. name: userid
  26158. required: true
  26159. type: string
  26160. produces:
  26161. - application/json
  26162. responses:
  26163. "200":
  26164. description: OK
  26165. schema:
  26166. items:
  26167. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26168. type: array
  26169. "500":
  26170. description: Internal Server Error
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. security:
  26174. - ApiKeyAuth: []
  26175. summary: 企业敞口查询
  26176. tags:
  26177. - 企业风险管理v8
  26178. /Ermcp8/QueryErmcp2HedgedItem:
  26179. get:
  26180. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26181. parameters:
  26182. - description: 用户ID
  26183. in: query
  26184. name: userid
  26185. required: true
  26186. type: string
  26187. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26188. in: query
  26189. name: hedgedtype
  26190. type: integer
  26191. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26192. in: query
  26193. name: hedgeditemstatus
  26194. type: integer
  26195. produces:
  26196. - application/json
  26197. responses:
  26198. "200":
  26199. description: OK
  26200. schema:
  26201. items:
  26202. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26203. type: array
  26204. "500":
  26205. description: Internal Server Error
  26206. schema:
  26207. $ref: '#/definitions/app.Response'
  26208. security:
  26209. - ApiKeyAuth: []
  26210. summary: 查询被套期项目信息
  26211. tags:
  26212. - 企业风险管理v8
  26213. /Ermcp8/QueryErmcp2HedgedItemLink:
  26214. get:
  26215. parameters:
  26216. - description: 现货合同ID
  26217. in: query
  26218. name: spotcontractid
  26219. required: true
  26220. type: integer
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. items:
  26228. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26229. type: array
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 现货合同关联被套期项目查询
  26237. tags:
  26238. - 企业风险管理v8
  26239. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26240. get:
  26241. parameters:
  26242. - description: 用户ID
  26243. in: query
  26244. name: userid
  26245. required: true
  26246. type: integer
  26247. - description: 套保品种ID
  26248. in: query
  26249. name: middlegoodsid
  26250. required: true
  26251. type: integer
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. items:
  26259. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26260. type: array
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 敞口明细 - 计划变动明细
  26268. tags:
  26269. - 企业风险管理v8
  26270. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26271. get:
  26272. parameters:
  26273. - description: 用户ID
  26274. in: query
  26275. name: userid
  26276. required: true
  26277. type: integer
  26278. - description: 套保品种ID
  26279. in: query
  26280. name: middlegoodsid
  26281. required: true
  26282. type: integer
  26283. produces:
  26284. - application/json
  26285. responses:
  26286. "200":
  26287. description: OK
  26288. schema:
  26289. items:
  26290. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26291. type: array
  26292. "500":
  26293. description: Internal Server Error
  26294. schema:
  26295. $ref: '#/definitions/app.Response'
  26296. security:
  26297. - ApiKeyAuth: []
  26298. summary: 敞口明细 - 现货变动明细查询
  26299. tags:
  26300. - 企业风险管理v8
  26301. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26302. get:
  26303. parameters:
  26304. - description: 用户ID
  26305. in: query
  26306. name: userid
  26307. required: true
  26308. type: integer
  26309. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26310. in: query
  26311. name: spottype
  26312. required: true
  26313. type: integer
  26314. - description: 现货商品ID
  26315. in: query
  26316. name: wrstandardid
  26317. type: integer
  26318. produces:
  26319. - application/json
  26320. responses:
  26321. "200":
  26322. description: OK
  26323. schema:
  26324. items:
  26325. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26326. type: array
  26327. "500":
  26328. description: Internal Server Error
  26329. schema:
  26330. $ref: '#/definitions/app.Response'
  26331. security:
  26332. - ApiKeyAuth: []
  26333. summary: 可关联项目查询
  26334. tags:
  26335. - 企业风险管理v8
  26336. /Ermcp8/QueryErmcp8HedgeditemReport:
  26337. get:
  26338. parameters:
  26339. - description: 用户ID
  26340. in: query
  26341. name: userid
  26342. required: true
  26343. type: integer
  26344. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26345. in: query
  26346. name: cycletype
  26347. type: integer
  26348. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26349. 全(0)【原值】
  26350. in: query
  26351. name: cycletime
  26352. required: true
  26353. type: string
  26354. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26355. in: query
  26356. name: hedgedtype
  26357. type: integer
  26358. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26359. in: query
  26360. name: hedgeditemstatus
  26361. type: integer
  26362. - description: 项目编号,模糊查询
  26363. in: query
  26364. name: hedgeditemnum
  26365. type: string
  26366. - description: 现货商品ID
  26367. in: query
  26368. name: wrstandardid
  26369. type: integer
  26370. produces:
  26371. - application/json
  26372. responses:
  26373. "200":
  26374. description: OK
  26375. schema:
  26376. items:
  26377. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26378. type: array
  26379. "500":
  26380. description: Internal Server Error
  26381. schema:
  26382. $ref: '#/definitions/app.Response'
  26383. security:
  26384. - ApiKeyAuth: []
  26385. summary: 套期项目报表查询
  26386. tags:
  26387. - 企业风险管理v8
  26388. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26389. get:
  26390. parameters:
  26391. - description: 用户ID
  26392. in: query
  26393. name: userid
  26394. required: true
  26395. type: string
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. items:
  26403. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26404. type: array
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 查询执行中项目查询信息
  26412. tags:
  26413. - 企业风险管理v8
  26414. /Ermcp8/QueryInternalEnableTradeDetail:
  26415. get:
  26416. parameters:
  26417. - description: 企业ID
  26418. in: query
  26419. name: areauserid
  26420. required: true
  26421. type: integer
  26422. - description: 期货合约ID
  26423. in: query
  26424. name: goodsid
  26425. required: true
  26426. type: integer
  26427. - description: 交易用户ID
  26428. in: query
  26429. name: tradeuserid
  26430. required: true
  26431. type: integer
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. items:
  26439. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26440. type: array
  26441. "500":
  26442. description: Internal Server Error
  26443. schema:
  26444. $ref: '#/definitions/app.Response'
  26445. security:
  26446. - ApiKeyAuth: []
  26447. summary: 内部成交单可关联项目查询
  26448. tags:
  26449. - 企业风险管理v8
  26450. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26451. get:
  26452. parameters:
  26453. - description: 用户编号
  26454. in: query
  26455. name: userid
  26456. required: true
  26457. type: integer
  26458. - description: 起始日期(格式yyyymmdd)
  26459. in: query
  26460. name: begindate
  26461. type: string
  26462. - description: 终止日期(格式yyyymmdd)
  26463. in: query
  26464. name: enddate
  26465. type: string
  26466. - description: 合约代码
  26467. in: query
  26468. name: goodscode
  26469. type: string
  26470. - description: 合约名称
  26471. in: query
  26472. name: goodsname
  26473. type: string
  26474. - description: 成交单号
  26475. in: query
  26476. name: tradeid
  26477. type: integer
  26478. - description: 方向 - 0:买 1:卖
  26479. in: query
  26480. name: buyorsell
  26481. type: integer
  26482. - description: 套期主体
  26483. in: query
  26484. name: accountname
  26485. type: string
  26486. produces:
  26487. - application/json
  26488. responses:
  26489. "200":
  26490. description: OK
  26491. schema:
  26492. items:
  26493. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26494. type: array
  26495. "500":
  26496. description: Internal Server Error
  26497. schema:
  26498. $ref: '#/definitions/app.Response'
  26499. security:
  26500. - ApiKeyAuth: []
  26501. summary: 内部未关联成交单查询
  26502. tags:
  26503. - 企业风险管理v8
  26504. /Ermcp8/QueryMarketCalendar:
  26505. get:
  26506. parameters:
  26507. - description: 市场ID
  26508. in: query
  26509. name: marketid
  26510. type: integer
  26511. produces:
  26512. - application/json
  26513. responses:
  26514. "200":
  26515. description: OK
  26516. schema:
  26517. items:
  26518. $ref: '#/definitions/models.Marketcalendar'
  26519. type: array
  26520. "500":
  26521. description: Internal Server Error
  26522. schema:
  26523. $ref: '#/definitions/app.Response'
  26524. security:
  26525. - ApiKeyAuth: []
  26526. summary: 市场节假日查询
  26527. tags:
  26528. - 企业风险管理v8
  26529. /Ermcp8/QueryPatradeLinkDetail:
  26530. get:
  26531. parameters:
  26532. - description: 用户ID
  26533. in: query
  26534. name: userid
  26535. required: true
  26536. type: integer
  26537. - description: 套保品种ID
  26538. in: query
  26539. name: middlegoodsid
  26540. required: true
  26541. type: integer
  26542. produces:
  26543. - application/json
  26544. responses:
  26545. "200":
  26546. description: OK
  26547. schema:
  26548. items:
  26549. $ref: '#/definitions/models.Patradelinkdetail'
  26550. type: array
  26551. "500":
  26552. description: Internal Server Error
  26553. schema:
  26554. $ref: '#/definitions/app.Response'
  26555. security:
  26556. - ApiKeyAuth: []
  26557. summary: 敞口明细 - 期货变动明细
  26558. tags:
  26559. - 企业风险管理v8
  26560. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26561. get:
  26562. parameters:
  26563. - description: 企业ID
  26564. in: query
  26565. name: areauserid
  26566. required: true
  26567. type: integer
  26568. - description: 计划类型 - 1:采购 -1:销售
  26569. in: query
  26570. name: contracttype
  26571. type: integer
  26572. - description: 计划编号,模糊查询
  26573. in: query
  26574. name: hedgeplanno
  26575. type: string
  26576. - description: 现货商品,模糊查询
  26577. in: query
  26578. name: wrstandardname
  26579. type: string
  26580. produces:
  26581. - application/json
  26582. responses:
  26583. "200":
  26584. description: OK
  26585. schema:
  26586. items:
  26587. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26588. type: array
  26589. "500":
  26590. description: Internal Server Error
  26591. schema:
  26592. $ref: '#/definitions/app.Response'
  26593. security:
  26594. - ApiKeyAuth: []
  26595. summary: 未关联购销计划
  26596. tags:
  26597. - 企业风险管理v8
  26598. /Ermcp8/QueryUnLinkSpotContract:
  26599. get:
  26600. parameters:
  26601. - description: 用户ID
  26602. in: query
  26603. name: userid
  26604. required: true
  26605. type: integer
  26606. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26607. in: query
  26608. name: pricetype
  26609. type: integer
  26610. - description: 合同编号, 模拟查询
  26611. in: query
  26612. name: contractno
  26613. type: string
  26614. - description: 对手方, 模拟查询
  26615. in: query
  26616. name: customername
  26617. type: string
  26618. - description: 项合同类型 - 1:采购 -1:销售
  26619. in: query
  26620. name: contracttype
  26621. type: integer
  26622. produces:
  26623. - application/json
  26624. responses:
  26625. "200":
  26626. description: OK
  26627. schema:
  26628. items:
  26629. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26630. type: array
  26631. "500":
  26632. description: Internal Server Error
  26633. schema:
  26634. $ref: '#/definitions/app.Response'
  26635. security:
  26636. - ApiKeyAuth: []
  26637. summary: 未关联合同查询
  26638. tags:
  26639. - 企业风险管理v8
  26640. /Erms2/QueryArbitrageStrategy:
  26641. get:
  26642. parameters:
  26643. - description: 账户ID
  26644. in: query
  26645. name: userid
  26646. required: true
  26647. type: integer
  26648. - description: 商品组ID(品种ID)
  26649. in: query
  26650. name: goodsgroupid
  26651. type: string
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26659. "500":
  26660. description: Internal Server Error
  26661. schema:
  26662. $ref: '#/definitions/app.Response'
  26663. security:
  26664. - ApiKeyAuth: []
  26665. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26666. tags:
  26667. - 风险管理
  26668. /Erms2/QueryInnerTradeDetail:
  26669. get:
  26670. parameters:
  26671. - description: 资金账户
  26672. in: query
  26673. name: accountid
  26674. required: true
  26675. type: integer
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26683. "500":
  26684. description: Internal Server Error
  26685. schema:
  26686. $ref: '#/definitions/app.Response'
  26687. security:
  26688. - ApiKeyAuth: []
  26689. summary: 查询内部成交单信息
  26690. tags:
  26691. - 风险管理
  26692. /Erms2/QuerySpotContract:
  26693. get:
  26694. parameters:
  26695. - description: 策略申请ID
  26696. in: query
  26697. name: asapplyid
  26698. required: true
  26699. type: integer
  26700. - description: 现货合同ID
  26701. in: query
  26702. name: spotcontractid
  26703. type: integer
  26704. produces:
  26705. - application/json
  26706. responses:
  26707. "200":
  26708. description: OK
  26709. schema:
  26710. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26718. tags:
  26719. - 风险管理
  26720. /Erms3/AddErms2ASApply:
  26721. post:
  26722. parameters:
  26723. - description: 申请参数
  26724. in: body
  26725. name: jsonBody
  26726. required: true
  26727. schema:
  26728. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26729. produces:
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. "500":
  26737. description: Internal Server Error
  26738. schema:
  26739. $ref: '#/definitions/app.Response'
  26740. security:
  26741. - ApiKeyAuth: []
  26742. summary: 新增期现套利业务申请
  26743. tags:
  26744. - 风险管理v3
  26745. /Erms3/AddErms2SpotTradeApply:
  26746. post:
  26747. parameters:
  26748. - description: 申请参数
  26749. in: body
  26750. name: jsonBody
  26751. required: true
  26752. schema:
  26753. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26754. produces:
  26755. - application/json
  26756. responses:
  26757. "200":
  26758. description: OK
  26759. schema:
  26760. $ref: '#/definitions/app.Response'
  26761. "500":
  26762. description: Internal Server Error
  26763. schema:
  26764. $ref: '#/definitions/app.Response'
  26765. security:
  26766. - ApiKeyAuth: []
  26767. summary: 新增现货贸易业务申请
  26768. tags:
  26769. - 风险管理v3
  26770. /Erms3/AddSpotContractApply:
  26771. post:
  26772. parameters:
  26773. - description: 申请参数
  26774. in: body
  26775. name: jsonBody
  26776. required: true
  26777. schema:
  26778. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26779. produces:
  26780. - application/json
  26781. responses:
  26782. "200":
  26783. description: OK
  26784. schema:
  26785. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26786. "500":
  26787. description: Internal Server Error
  26788. schema:
  26789. $ref: '#/definitions/app.Response'
  26790. security:
  26791. - ApiKeyAuth: []
  26792. summary: 新增现货合同申请
  26793. tags:
  26794. - 风险管理v3
  26795. /Erms3/AddUserInfoApply:
  26796. post:
  26797. parameters:
  26798. - description: 用户信息
  26799. in: body
  26800. name: jsonBody
  26801. required: true
  26802. schema:
  26803. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26804. produces:
  26805. - application/json
  26806. responses:
  26807. "200":
  26808. description: OK
  26809. schema:
  26810. $ref: '#/definitions/app.Response'
  26811. "500":
  26812. description: Internal Server Error
  26813. schema:
  26814. $ref: '#/definitions/app.Response'
  26815. security:
  26816. - ApiKeyAuth: []
  26817. summary: 新增客户申请
  26818. tags:
  26819. - 风险管理v3
  26820. /Erms3/DeleteUserInfoApply:
  26821. get:
  26822. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26823. parameters:
  26824. - description: 用户ID
  26825. in: query
  26826. name: userID
  26827. required: true
  26828. type: integer
  26829. produces:
  26830. - application/json
  26831. responses:
  26832. "200":
  26833. description: OK
  26834. schema:
  26835. $ref: '#/definitions/app.Response'
  26836. "500":
  26837. description: Internal Server Error
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. security:
  26841. - ApiKeyAuth: []
  26842. summary: 删除客户申请
  26843. tags:
  26844. - 风险管理v3
  26845. /Erms3/ModifyUserInfoApply:
  26846. post:
  26847. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26848. int, "userstate": 2 }'
  26849. parameters:
  26850. - description: 用户信息
  26851. in: body
  26852. name: jsonBody
  26853. required: true
  26854. schema:
  26855. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  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/QueryBusinessInfo:
  26873. get:
  26874. parameters:
  26875. - description: 资金账号ID列表,用逗号分隔
  26876. in: query
  26877. name: accountids
  26878. required: true
  26879. type: string
  26880. - description: 状态,0为未结束 1为已结束
  26881. in: query
  26882. name: status
  26883. required: true
  26884. type: integer
  26885. produces:
  26886. - application/json
  26887. responses:
  26888. "200":
  26889. description: OK
  26890. schema:
  26891. items:
  26892. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26893. type: array
  26894. "500":
  26895. description: Internal Server Error
  26896. schema:
  26897. $ref: '#/definitions/app.Response'
  26898. security:
  26899. - ApiKeyAuth: []
  26900. summary: 查询业务表单数据
  26901. tags:
  26902. - 风险管理v3
  26903. /Erms3/QueryPendingAuditContract:
  26904. get:
  26905. parameters:
  26906. - description: 资金账号ID列表,逗号隔开
  26907. in: query
  26908. name: accountids
  26909. required: true
  26910. type: string
  26911. - description: 合同类型 1-采购 -1-销售
  26912. in: query
  26913. name: contracttype
  26914. required: true
  26915. type: integer
  26916. - description: 合同模式 1-普通 2-回购
  26917. in: query
  26918. name: contractmode
  26919. required: true
  26920. type: integer
  26921. produces:
  26922. - application/json
  26923. responses:
  26924. "200":
  26925. description: OK
  26926. schema:
  26927. items:
  26928. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26929. type: array
  26930. "500":
  26931. description: Internal Server Error
  26932. schema:
  26933. $ref: '#/definitions/app.Response'
  26934. security:
  26935. - ApiKeyAuth: []
  26936. summary: 查询待审核合同
  26937. tags:
  26938. - 风险管理v3
  26939. /Erms3/QueryPendingBusiness:
  26940. get:
  26941. parameters:
  26942. - description: 资金账号ID列表,逗号隔开
  26943. in: query
  26944. name: accountids
  26945. required: true
  26946. type: string
  26947. produces:
  26948. - application/json
  26949. responses:
  26950. "200":
  26951. description: OK
  26952. schema:
  26953. items:
  26954. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26955. type: array
  26956. "500":
  26957. description: Internal Server Error
  26958. schema:
  26959. $ref: '#/definitions/app.Response'
  26960. security:
  26961. - ApiKeyAuth: []
  26962. summary: 查询待审核基差贸易业务
  26963. tags:
  26964. - 风险管理v3
  26965. /Erms3/QuerySpotContractAppleForm:
  26966. get:
  26967. parameters:
  26968. - description: 登录账号
  26969. in: query
  26970. name: loginID
  26971. required: true
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询合同申请表单数据
  26987. tags:
  26988. - 风险管理v3
  26989. /Erms3/QuerySpotContractDetail:
  26990. get:
  26991. parameters:
  26992. - description: 资金账号ID列表,用逗号分隔
  26993. in: query
  26994. name: accountids
  26995. required: true
  26996. type: string
  26997. - description: 合同类型,1为采购合同 -1为销售合同
  26998. in: query
  26999. name: contracttype
  27000. required: true
  27001. type: integer
  27002. - description: 合同模式,1为普通合同 2为回购销售合同
  27003. in: query
  27004. name: contractmode
  27005. required: true
  27006. type: integer
  27007. - description: 状态,0为履约中 1为已完成
  27008. in: query
  27009. name: status
  27010. required: true
  27011. type: integer
  27012. produces:
  27013. - application/json
  27014. responses:
  27015. "200":
  27016. description: OK
  27017. schema:
  27018. items:
  27019. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27020. type: array
  27021. "500":
  27022. description: Internal Server Error
  27023. schema:
  27024. $ref: '#/definitions/app.Response'
  27025. security:
  27026. - ApiKeyAuth: []
  27027. summary: 查询合同详细信息
  27028. tags:
  27029. - 风险管理v3
  27030. /Erms3/QueryUserInfoApplies:
  27031. get:
  27032. parameters:
  27033. - description: 页码
  27034. in: query
  27035. name: page
  27036. type: integer
  27037. - description: 每页条数
  27038. in: query
  27039. name: pagesize
  27040. type: integer
  27041. - description: 客户名称,支持模糊查询
  27042. in: query
  27043. name: userName
  27044. type: string
  27045. produces:
  27046. - application/json
  27047. responses:
  27048. "200":
  27049. description: OK
  27050. schema:
  27051. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27052. "500":
  27053. description: Internal Server Error
  27054. schema:
  27055. $ref: '#/definitions/app.Response'
  27056. security:
  27057. - ApiKeyAuth: []
  27058. summary: 客户申请信息查询
  27059. tags:
  27060. - 风险管理v3
  27061. /Erms3/QueryUserInfos:
  27062. get:
  27063. parameters:
  27064. - description: 页码
  27065. in: query
  27066. name: page
  27067. type: integer
  27068. - description: 每页条数
  27069. in: query
  27070. name: pagesize
  27071. type: integer
  27072. - description: 客户名称,支持模糊查询
  27073. in: query
  27074. name: userName
  27075. type: string
  27076. produces:
  27077. - application/json
  27078. responses:
  27079. "200":
  27080. description: OK
  27081. schema:
  27082. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27083. "500":
  27084. description: Internal Server Error
  27085. schema:
  27086. $ref: '#/definitions/app.Response'
  27087. security:
  27088. - ApiKeyAuth: []
  27089. summary: 客户信息查询
  27090. tags:
  27091. - 风险管理v3
  27092. /Guangzuan/GetGoods:
  27093. get:
  27094. parameters:
  27095. - description: 商品编号
  27096. in: query
  27097. name: goodsno
  27098. required: true
  27099. type: string
  27100. produces:
  27101. - application/json
  27102. responses:
  27103. "200":
  27104. description: OK
  27105. schema:
  27106. $ref: '#/definitions/models.GZGoods'
  27107. "500":
  27108. description: Internal Server Error
  27109. schema:
  27110. $ref: '#/definitions/app.Response'
  27111. security:
  27112. - ApiKeyAuth: []
  27113. - LoginID: []
  27114. - Group: []
  27115. summary: 获取钻石详情
  27116. tags:
  27117. - 广钻
  27118. /Guangzuan/QueryBuyOrder:
  27119. get:
  27120. parameters:
  27121. - description: 页码
  27122. in: query
  27123. name: page
  27124. type: integer
  27125. - description: 每页条数
  27126. in: query
  27127. name: pagesize
  27128. type: integer
  27129. - description: 商品(查询字段-模糊查询)
  27130. in: query
  27131. name: zsallproperties
  27132. type: string
  27133. - description: 钻石分类, 格式:1,2,3
  27134. in: query
  27135. name: zscategorys
  27136. type: string
  27137. - description: 委托单号
  27138. in: query
  27139. name: wrtradeorderid
  27140. type: integer
  27141. - description: 买方(查询字段-模糊查询)
  27142. in: query
  27143. name: buyusername
  27144. type: string
  27145. produces:
  27146. - application/json
  27147. responses:
  27148. "200":
  27149. description: OK
  27150. schema:
  27151. items:
  27152. $ref: '#/definitions/models.BuyOrder'
  27153. type: array
  27154. "500":
  27155. description: Internal Server Error
  27156. schema:
  27157. $ref: '#/definitions/app.Response'
  27158. security:
  27159. - ApiKeyAuth: []
  27160. - LoginID: []
  27161. - Group: []
  27162. summary: 查询求购大厅委托单
  27163. tags:
  27164. - 广钻
  27165. /Guangzuan/QueryDiamond:
  27166. post:
  27167. parameters:
  27168. - description: 钻石搜索入参
  27169. in: body
  27170. name: data
  27171. required: true
  27172. schema:
  27173. $ref: '#/definitions/models.SellOrderQueryReq'
  27174. produces:
  27175. - application/json
  27176. responses:
  27177. "200":
  27178. description: OK
  27179. schema:
  27180. items:
  27181. $ref: '#/definitions/models.SellOrder'
  27182. type: array
  27183. "500":
  27184. description: Internal Server Error
  27185. schema:
  27186. $ref: '#/definitions/app.Response'
  27187. security:
  27188. - ApiKeyAuth: []
  27189. - LoginID: []
  27190. - Group: []
  27191. summary: 钻石搜索
  27192. tags:
  27193. - 广钻
  27194. /Guangzuan/QueryMyBargainApply:
  27195. get:
  27196. parameters:
  27197. - description: 用户ID
  27198. in: query
  27199. name: userid
  27200. required: true
  27201. type: integer
  27202. - description: 页码
  27203. in: query
  27204. name: page
  27205. type: integer
  27206. - description: 每页条数
  27207. in: query
  27208. name: pagesize
  27209. type: integer
  27210. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27211. in: query
  27212. name: applystatus
  27213. type: integer
  27214. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27215. in: query
  27216. name: type
  27217. type: integer
  27218. produces:
  27219. - application/json
  27220. responses:
  27221. "200":
  27222. description: OK
  27223. schema:
  27224. items:
  27225. $ref: '#/definitions/models.MyBargainApply'
  27226. type: array
  27227. "500":
  27228. description: Internal Server Error
  27229. schema:
  27230. $ref: '#/definitions/app.Response'
  27231. security:
  27232. - ApiKeyAuth: []
  27233. - LoginID: []
  27234. - Group: []
  27235. summary: 查询我的询价-求购
  27236. tags:
  27237. - 广钻
  27238. /Guangzuan/QueryMyBuyOrder:
  27239. get:
  27240. parameters:
  27241. - description: 用户ID
  27242. in: query
  27243. name: userid
  27244. required: true
  27245. type: integer
  27246. - description: 页码
  27247. in: query
  27248. name: page
  27249. type: integer
  27250. - description: 每页条数
  27251. in: query
  27252. name: pagesize
  27253. type: integer
  27254. - description: 商品(查询字段-模糊查询)
  27255. in: query
  27256. name: zsallproperties
  27257. type: string
  27258. - description: 钻石分类, 格式:1,2,3
  27259. in: query
  27260. name: zscategorys
  27261. type: string
  27262. - description: 委托单号
  27263. in: query
  27264. name: wrtradeorderid
  27265. type: integer
  27266. - description: 是否历史查询
  27267. in: query
  27268. name: ishis
  27269. type: boolean
  27270. - description: 开始交易日(yyyymmdd)
  27271. in: query
  27272. name: begindate
  27273. type: string
  27274. - description: 结束交易日(yyyymmdd)
  27275. in: query
  27276. name: enddate
  27277. type: string
  27278. produces:
  27279. - application/json
  27280. responses:
  27281. "200":
  27282. description: OK
  27283. schema:
  27284. items:
  27285. $ref: '#/definitions/models.MyBuyOrder'
  27286. type: array
  27287. "500":
  27288. description: Internal Server Error
  27289. schema:
  27290. $ref: '#/definitions/app.Response'
  27291. security:
  27292. - ApiKeyAuth: []
  27293. - LoginID: []
  27294. - Group: []
  27295. summary: 查询我的求购
  27296. tags:
  27297. - 广钻
  27298. /Guangzuan/QueryMyDeListing:
  27299. get:
  27300. parameters:
  27301. - description: 用户ID
  27302. in: query
  27303. name: userid
  27304. required: true
  27305. type: integer
  27306. - description: 页码
  27307. in: query
  27308. name: page
  27309. type: integer
  27310. - description: 每页条数
  27311. in: query
  27312. name: pagesize
  27313. type: integer
  27314. - description: 商品(查询字段-模糊查询)
  27315. in: query
  27316. name: zsallproperties
  27317. type: string
  27318. - description: 钻石分类, 格式:1,2,3
  27319. in: query
  27320. name: zscategorys
  27321. type: string
  27322. - description: 成交单号
  27323. in: query
  27324. name: wrtradedetailid
  27325. type: integer
  27326. - description: 方向,0-购买 1-出售
  27327. in: query
  27328. name: buyorsell
  27329. type: integer
  27330. - description: 对手方(模糊匹配)
  27331. in: query
  27332. name: matchusername
  27333. type: string
  27334. - description: 开始交易日(yyyymmdd)
  27335. in: query
  27336. name: begindate
  27337. type: string
  27338. - description: 结束交易日(yyyymmdd)
  27339. in: query
  27340. name: enddate
  27341. type: string
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. items:
  27349. $ref: '#/definitions/models.MyDeListing'
  27350. type: array
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. - LoginID: []
  27358. - Group: []
  27359. summary: 查询我的摘牌
  27360. tags:
  27361. - 广钻
  27362. /Guangzuan/QueryMyDelistingApply:
  27363. get:
  27364. parameters:
  27365. - description: 用户ID
  27366. in: query
  27367. name: userid
  27368. required: true
  27369. type: integer
  27370. - description: 页码
  27371. in: query
  27372. name: page
  27373. type: integer
  27374. - description: 每页条数
  27375. in: query
  27376. name: pagesize
  27377. type: integer
  27378. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27379. in: query
  27380. name: applystatus
  27381. type: integer
  27382. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27383. in: query
  27384. name: type
  27385. type: integer
  27386. produces:
  27387. - application/json
  27388. responses:
  27389. "200":
  27390. description: OK
  27391. schema:
  27392. items:
  27393. $ref: '#/definitions/models.MyDelistingApply'
  27394. type: array
  27395. "500":
  27396. description: Internal Server Error
  27397. schema:
  27398. $ref: '#/definitions/app.Response'
  27399. security:
  27400. - ApiKeyAuth: []
  27401. - LoginID: []
  27402. - Group: []
  27403. summary: 查询我的询价-出售
  27404. tags:
  27405. - 广钻
  27406. /Guangzuan/QueryMyFavorite:
  27407. get:
  27408. parameters:
  27409. - description: 用户ID
  27410. in: query
  27411. name: userid
  27412. required: true
  27413. type: integer
  27414. - description: 页码
  27415. in: query
  27416. name: page
  27417. type: integer
  27418. - description: 每页条数
  27419. in: query
  27420. name: pagesize
  27421. type: integer
  27422. - description: 钻石分类, 格式:1,2,3
  27423. in: query
  27424. name: zscategorys
  27425. type: string
  27426. produces:
  27427. - application/json
  27428. responses:
  27429. "200":
  27430. description: OK
  27431. schema:
  27432. items:
  27433. $ref: '#/definitions/models.MyFavorite'
  27434. type: array
  27435. "500":
  27436. description: Internal Server Error
  27437. schema:
  27438. $ref: '#/definitions/app.Response'
  27439. security:
  27440. - ApiKeyAuth: []
  27441. - LoginID: []
  27442. - Group: []
  27443. summary: 查询我的收藏
  27444. tags:
  27445. - 广钻
  27446. /Guangzuan/QueryMyPerformanc:
  27447. get:
  27448. parameters:
  27449. - description: 用户ID
  27450. in: query
  27451. name: userid
  27452. required: true
  27453. type: integer
  27454. - description: 页码
  27455. in: query
  27456. name: page
  27457. type: integer
  27458. - description: 每页条数
  27459. in: query
  27460. name: pagesize
  27461. type: integer
  27462. - description: 商品(查询字段-模糊查询)
  27463. in: query
  27464. name: zsallproperties
  27465. type: string
  27466. - description: 方向,0-买 1-卖
  27467. in: query
  27468. name: buyorsell
  27469. type: integer
  27470. - description: 是否历史查询
  27471. in: query
  27472. name: ishis
  27473. type: boolean
  27474. - description: 开始交易日(yyyymmdd)
  27475. in: query
  27476. name: begindate
  27477. type: string
  27478. - description: 结束交易日(yyyymmdd)
  27479. in: query
  27480. name: enddate
  27481. type: string
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. items:
  27489. $ref: '#/definitions/models.MyPerformanc'
  27490. type: array
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. - LoginID: []
  27498. - Group: []
  27499. summary: 查询我的履约
  27500. tags:
  27501. - 广钻
  27502. /Guangzuan/QueryMySellOrder:
  27503. get:
  27504. parameters:
  27505. - description: 用户ID
  27506. in: query
  27507. name: userid
  27508. required: true
  27509. type: integer
  27510. - description: 页码
  27511. in: query
  27512. name: page
  27513. type: integer
  27514. - description: 每页条数
  27515. in: query
  27516. name: pagesize
  27517. type: integer
  27518. - description: 商品(查询字段-模糊查询)
  27519. in: query
  27520. name: zsallproperties
  27521. type: string
  27522. - description: 钻石分类, 格式:1,2,3
  27523. in: query
  27524. name: zscategorys
  27525. type: string
  27526. - description: 委托单号
  27527. in: query
  27528. name: wrtradeorderid
  27529. type: integer
  27530. - description: 是否历史查询
  27531. in: query
  27532. name: ishis
  27533. type: boolean
  27534. - description: 开始交易日(yyyymmdd)
  27535. in: query
  27536. name: begindate
  27537. type: string
  27538. - description: 结束交易日(yyyymmdd)
  27539. in: query
  27540. name: enddate
  27541. type: string
  27542. produces:
  27543. - application/json
  27544. responses:
  27545. "200":
  27546. description: OK
  27547. schema:
  27548. items:
  27549. $ref: '#/definitions/models.MySellOrder'
  27550. type: array
  27551. "500":
  27552. description: Internal Server Error
  27553. schema:
  27554. $ref: '#/definitions/app.Response'
  27555. security:
  27556. - ApiKeyAuth: []
  27557. - LoginID: []
  27558. - Group: []
  27559. summary: 查询我的出售
  27560. tags:
  27561. - 广钻
  27562. /Guangzuan/QueryMyWRPosition:
  27563. get:
  27564. parameters:
  27565. - description: 页码
  27566. in: query
  27567. name: page
  27568. type: integer
  27569. - description: 每页条数
  27570. in: query
  27571. name: pagesize
  27572. type: integer
  27573. - description: 登录用户ID
  27574. in: query
  27575. name: wruserid
  27576. required: true
  27577. type: integer
  27578. - description: 商品(查询字段-模糊查询)
  27579. in: query
  27580. name: zsallproperties
  27581. type: string
  27582. - description: 钻石分类, 格式:1,2,3
  27583. in: query
  27584. name: zscategorys
  27585. type: string
  27586. - description: 仓库ID
  27587. in: query
  27588. name: warehouseid
  27589. type: integer
  27590. - description: 是否上架,0-全部 1-是 2-否
  27591. in: query
  27592. name: marketflag
  27593. type: integer
  27594. produces:
  27595. - application/json
  27596. responses:
  27597. "200":
  27598. description: OK
  27599. schema:
  27600. items:
  27601. $ref: '#/definitions/models.MyWRPosition'
  27602. type: array
  27603. "500":
  27604. description: Internal Server Error
  27605. schema:
  27606. $ref: '#/definitions/app.Response'
  27607. security:
  27608. - ApiKeyAuth: []
  27609. - LoginID: []
  27610. - Group: []
  27611. summary: 查询我的库存
  27612. tags:
  27613. - 广钻
  27614. /Guangzuan/QuerySellOrder:
  27615. get:
  27616. parameters:
  27617. - description: 页码
  27618. in: query
  27619. name: page
  27620. type: integer
  27621. - description: 每页条数
  27622. in: query
  27623. name: pagesize
  27624. type: integer
  27625. - description: 商品(查询字段-模糊查询)
  27626. in: query
  27627. name: zsallproperties
  27628. type: string
  27629. - description: 钻石分类, 格式:1,2,3
  27630. in: query
  27631. name: zscategorys
  27632. type: string
  27633. - description: 委托单号
  27634. in: query
  27635. name: wrtradeorderid
  27636. type: integer
  27637. - description: 卖方(查询字段-模糊查询)
  27638. in: query
  27639. name: buyusername
  27640. type: string
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.SellOrder'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. - LoginID: []
  27657. - Group: []
  27658. summary: 查询出售大厅委托单
  27659. tags:
  27660. - 广钻
  27661. /Guangzuan/QueryWarehouseInfo:
  27662. get:
  27663. parameters:
  27664. - description: 页码
  27665. in: query
  27666. name: page
  27667. type: integer
  27668. - description: 每页条数
  27669. in: query
  27670. name: pagesize
  27671. type: integer
  27672. - description: 用户ID
  27673. in: query
  27674. name: userid
  27675. required: true
  27676. type: integer
  27677. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27678. in: query
  27679. name: status
  27680. type: string
  27681. - description: 是返回交易所仓库
  27682. in: query
  27683. name: isincludeexchange
  27684. type: boolean
  27685. produces:
  27686. - application/json
  27687. responses:
  27688. "200":
  27689. description: OK
  27690. schema:
  27691. items:
  27692. $ref: '#/definitions/models.GZWarehouseinfo'
  27693. type: array
  27694. "500":
  27695. description: Internal Server Error
  27696. schema:
  27697. $ref: '#/definitions/app.Response'
  27698. security:
  27699. - ApiKeyAuth: []
  27700. - LoginID: []
  27701. - Group: []
  27702. summary: 查询仓库信息
  27703. tags:
  27704. - 广钻
  27705. /Market/GetAllExExchanges:
  27706. get:
  27707. produces:
  27708. - application/json
  27709. responses:
  27710. "200":
  27711. description: OK
  27712. schema:
  27713. $ref: '#/definitions/models.Goods'
  27714. "500":
  27715. description: Internal Server Error
  27716. schema:
  27717. $ref: '#/definitions/app.Response'
  27718. security:
  27719. - ApiKeyAuth: []
  27720. summary: 获取所有外部交易所信息
  27721. tags:
  27722. - 通用市场
  27723. /Market/QueryGoodsesByLoginID:
  27724. get:
  27725. parameters:
  27726. - description: 登录账号
  27727. in: query
  27728. name: loginID
  27729. required: true
  27730. type: integer
  27731. - description: 市场ID列表,格式:1,2,3
  27732. in: query
  27733. name: marketIDs
  27734. type: string
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. $ref: '#/definitions/models.Goods'
  27742. "500":
  27743. description: Internal Server Error
  27744. schema:
  27745. $ref: '#/definitions/app.Response'
  27746. security:
  27747. - ApiKeyAuth: []
  27748. summary: 获取登录账号有权限的商品信息
  27749. tags:
  27750. - 通用市场
  27751. /Market/QueryMarketRun:
  27752. get:
  27753. parameters:
  27754. - description: 市场ID,不传返回所有
  27755. in: query
  27756. name: marketID
  27757. type: integer
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. $ref: '#/definitions/models.Marketrun'
  27765. "500":
  27766. description: Internal Server Error
  27767. schema:
  27768. $ref: '#/definitions/app.Response'
  27769. security:
  27770. - ApiKeyAuth: []
  27771. summary: 查询市场运行信息
  27772. tags:
  27773. - 通用市场
  27774. /Market/QueryMarketsByLoginID:
  27775. get:
  27776. parameters:
  27777. - description: 登录账号
  27778. in: query
  27779. name: loginID
  27780. required: true
  27781. type: integer
  27782. produces:
  27783. - application/json
  27784. responses:
  27785. "200":
  27786. description: OK
  27787. schema:
  27788. $ref: '#/definitions/models.Market'
  27789. "500":
  27790. description: Internal Server Error
  27791. schema:
  27792. $ref: '#/definitions/app.Response'
  27793. security:
  27794. - ApiKeyAuth: []
  27795. summary: 获取登录账号有权限的市场信息
  27796. tags:
  27797. - 通用市场
  27798. /Order/QueryHisTradeDetail:
  27799. get:
  27800. parameters:
  27801. - description: 资金账户 - 格式:1,2,3
  27802. in: query
  27803. name: accountID
  27804. required: true
  27805. type: string
  27806. - description: 成交单号
  27807. in: query
  27808. name: tradeID
  27809. type: integer
  27810. - description: 委托单号
  27811. in: query
  27812. name: orderID
  27813. type: integer
  27814. - description: 商品ID
  27815. in: query
  27816. name: goodsID
  27817. type: integer
  27818. - description: 交易模式 - 格式:1,2,3
  27819. in: query
  27820. name: tradeMode
  27821. type: string
  27822. - description: 委托单据类型
  27823. in: query
  27824. name: buildType
  27825. type: integer
  27826. - description: 成交类别 - 格式:1,2,3
  27827. in: query
  27828. name: tradeType
  27829. type: string
  27830. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27831. in: query
  27832. name: startDate
  27833. type: string
  27834. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27835. in: query
  27836. name: endDate
  27837. type: string
  27838. produces:
  27839. - application/json
  27840. responses:
  27841. "200":
  27842. description: OK
  27843. schema:
  27844. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27845. "500":
  27846. description: Internal Server Error
  27847. schema:
  27848. $ref: '#/definitions/app.Response'
  27849. security:
  27850. - ApiKeyAuth: []
  27851. summary: 历史成交单查询(合约市场)
  27852. tags:
  27853. - 通用单据
  27854. /Order/QueryHisTradeOrderDetail:
  27855. get:
  27856. parameters:
  27857. - description: 资金账户 - 格式:1,2,3
  27858. in: query
  27859. name: accountID
  27860. required: true
  27861. type: string
  27862. - description: 交易模式 - 格式:1,2,3
  27863. in: query
  27864. name: tradeMode
  27865. type: string
  27866. - description: 委托状态 - 格式:1,2,3
  27867. in: query
  27868. name: orderStatus
  27869. type: string
  27870. - description: 委托单号
  27871. in: query
  27872. name: orderID
  27873. type: integer
  27874. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27875. in: query
  27876. name: startDate
  27877. type: string
  27878. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27879. in: query
  27880. name: endDate
  27881. type: string
  27882. produces:
  27883. - application/json
  27884. responses:
  27885. "200":
  27886. description: OK
  27887. schema:
  27888. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 历史委托单查询请求(合约市场)
  27896. tags:
  27897. - 通用单据
  27898. /Order/QueryTradeDetail:
  27899. get:
  27900. parameters:
  27901. - description: 资金账户 - 格式:1,2,3
  27902. in: query
  27903. name: accountID
  27904. required: true
  27905. type: string
  27906. - description: 成交单号
  27907. in: query
  27908. name: tradeID
  27909. type: integer
  27910. - description: 委托单号
  27911. in: query
  27912. name: orderID
  27913. type: integer
  27914. - description: 交易模式 - 格式:1,2,3
  27915. in: query
  27916. name: tradeMode
  27917. type: string
  27918. - description: 委托单据类型
  27919. in: query
  27920. name: buildType
  27921. type: integer
  27922. - description: 成交类别 - 格式:1,2,3
  27923. in: query
  27924. name: tradeType
  27925. type: string
  27926. - description: 商品ID
  27927. in: query
  27928. name: goodsID
  27929. type: integer
  27930. produces:
  27931. - application/json
  27932. responses:
  27933. "200":
  27934. description: OK
  27935. schema:
  27936. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27937. "500":
  27938. description: Internal Server Error
  27939. schema:
  27940. $ref: '#/definitions/app.Response'
  27941. security:
  27942. - ApiKeyAuth: []
  27943. summary: 成交单查询(合约市场)
  27944. tags:
  27945. - 通用单据
  27946. /Order/QueryTradeHolderDetail:
  27947. get:
  27948. parameters:
  27949. - description: 用户id
  27950. in: query
  27951. name: userid
  27952. type: integer
  27953. - description: 资金账号, 格式 1,2,3
  27954. in: query
  27955. name: accids
  27956. type: string
  27957. - description: 交易模式, 格式 1,2,3
  27958. in: query
  27959. name: trademodes
  27960. type: string
  27961. - description: 市场id, 格式 1,2,3
  27962. in: query
  27963. name: marketids
  27964. type: string
  27965. - description: 商品id
  27966. in: query
  27967. name: goodsid
  27968. type: integer
  27969. - description: 买卖方向 0-买 1-卖
  27970. in: query
  27971. name: buyorsell
  27972. type: integer
  27973. produces:
  27974. - application/json
  27975. responses:
  27976. "200":
  27977. description: OK
  27978. schema:
  27979. items:
  27980. $ref: '#/definitions/models.TradeHolderDetail'
  27981. type: array
  27982. "500":
  27983. description: Internal Server Error
  27984. schema:
  27985. $ref: '#/definitions/app.Response'
  27986. security:
  27987. - ApiKeyAuth: []
  27988. summary: 查询持仓明细
  27989. tags:
  27990. - 通用单据
  27991. /Order/QueryTradeOrderDetail:
  27992. get:
  27993. parameters:
  27994. - description: 资金账户 - 格式:1,2,3
  27995. in: query
  27996. name: accountID
  27997. required: true
  27998. type: string
  27999. - description: 交易模式 - 格式:1,2,3
  28000. in: query
  28001. name: tradeMode
  28002. type: string
  28003. - description: 委托状态 - 格式:1,2,3
  28004. in: query
  28005. name: orderStatus
  28006. type: string
  28007. - description: 委托单号
  28008. in: query
  28009. name: orderID
  28010. type: integer
  28011. produces:
  28012. - application/json
  28013. responses:
  28014. "200":
  28015. description: OK
  28016. schema:
  28017. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28018. "500":
  28019. description: Internal Server Error
  28020. schema:
  28021. $ref: '#/definitions/app.Response'
  28022. security:
  28023. - ApiKeyAuth: []
  28024. summary: 委托单查询请求(合约市场)
  28025. tags:
  28026. - 通用单据
  28027. /Order/QueryTradePosition:
  28028. get:
  28029. parameters:
  28030. - description: 资金账户 - 格式:1,2,3
  28031. in: query
  28032. name: accountID
  28033. required: true
  28034. type: string
  28035. - description: 交易模式 - 格式:1,2,3
  28036. in: query
  28037. name: tradeMode
  28038. type: string
  28039. produces:
  28040. - application/json
  28041. responses:
  28042. "200":
  28043. description: OK
  28044. schema:
  28045. $ref: '#/definitions/order.QueryTradePositionRsp'
  28046. "500":
  28047. description: Internal Server Error
  28048. schema:
  28049. $ref: '#/definitions/app.Response'
  28050. security:
  28051. - ApiKeyAuth: []
  28052. summary: 持仓汇总查询(合约市场)
  28053. tags:
  28054. - 通用单据
  28055. /Qhj/QueryAccountInOutApply:
  28056. get:
  28057. parameters:
  28058. - description: 用户ID
  28059. in: query
  28060. name: userid
  28061. required: true
  28062. type: integer
  28063. - description: 申请起始日期(格式yyyymmdd)
  28064. in: query
  28065. name: begindate
  28066. type: string
  28067. - description: 申请截止日期(格式yyyymmdd)
  28068. in: query
  28069. name: enddate
  28070. type: string
  28071. - description: 模糊搜索名称
  28072. in: query
  28073. name: likename
  28074. type: string
  28075. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28076. in: query
  28077. name: applystatus
  28078. type: integer
  28079. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28080. in: query
  28081. name: querytype
  28082. type: integer
  28083. produces:
  28084. - application/json
  28085. responses:
  28086. "200":
  28087. description: OK
  28088. schema:
  28089. items:
  28090. $ref: '#/definitions/models.QhjAccountOutInApply'
  28091. type: array
  28092. "500":
  28093. description: Internal Server Error
  28094. schema:
  28095. $ref: '#/definitions/app.Response'
  28096. security:
  28097. - ApiKeyAuth: []
  28098. summary: 查询充值提现
  28099. tags:
  28100. - 大连千海金
  28101. /Qhj/QueryAreaFinanceConfig:
  28102. get:
  28103. parameters:
  28104. - description: 机构用户ID 其他做市关系,都设置为 1
  28105. in: query
  28106. name: userid
  28107. type: integer
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 查询企业配置表
  28124. tags:
  28125. - 大连千海金
  28126. /Qhj/QueryBankAccountSign:
  28127. get:
  28128. parameters:
  28129. - description: 用户ID
  28130. in: query
  28131. name: userid
  28132. required: true
  28133. type: integer
  28134. produces:
  28135. - application/json
  28136. responses:
  28137. "200":
  28138. description: OK
  28139. schema:
  28140. items:
  28141. $ref: '#/definitions/models.QhjBankAccountSign'
  28142. type: array
  28143. "500":
  28144. description: Internal Server Error
  28145. schema:
  28146. $ref: '#/definitions/app.Response'
  28147. security:
  28148. - ApiKeyAuth: []
  28149. summary: 查询签约银行信息(提现账户管理)
  28150. tags:
  28151. - 大连千海金
  28152. /Qhj/QueryBankInfo:
  28153. get:
  28154. produces:
  28155. - application/json
  28156. responses:
  28157. "200":
  28158. description: OK
  28159. schema:
  28160. items:
  28161. $ref: '#/definitions/models.QhjBankInfo'
  28162. type: array
  28163. "500":
  28164. description: Internal Server Error
  28165. schema:
  28166. $ref: '#/definitions/app.Response'
  28167. security:
  28168. - ApiKeyAuth: []
  28169. summary: 查询开户行
  28170. tags:
  28171. - 大连千海金
  28172. /Qhj/QueryBrokerApply:
  28173. get:
  28174. parameters:
  28175. - description: 所属机构ID
  28176. in: query
  28177. name: userid
  28178. type: integer
  28179. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28180. in: query
  28181. name: filterstatus
  28182. type: string
  28183. produces:
  28184. - application/json
  28185. responses:
  28186. "200":
  28187. description: OK
  28188. schema:
  28189. items:
  28190. $ref: '#/definitions/models.QhjBrokerApply'
  28191. type: array
  28192. "500":
  28193. description: Internal Server Error
  28194. schema:
  28195. $ref: '#/definitions/app.Response'
  28196. security:
  28197. - ApiKeyAuth: []
  28198. summary: 查询经纪人申请
  28199. tags:
  28200. - 大连千海金
  28201. /Qhj/QueryBrokerApplyEx:
  28202. get:
  28203. parameters:
  28204. - description: 所属机构ID
  28205. in: query
  28206. name: userid
  28207. type: integer
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. items:
  28215. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28216. type: array
  28217. "500":
  28218. description: Internal Server Error
  28219. schema:
  28220. $ref: '#/definitions/app.Response'
  28221. security:
  28222. - ApiKeyAuth: []
  28223. summary: 查询经纪人信息和申请记录
  28224. tags:
  28225. - 大连千海金
  28226. /Qhj/QueryBrokerRewardLog:
  28227. get:
  28228. parameters:
  28229. - description: 用户ID
  28230. in: query
  28231. name: userid
  28232. required: true
  28233. type: integer
  28234. - description: 开始交易日(yyyymmdd)
  28235. in: query
  28236. name: begindate
  28237. type: string
  28238. - description: 结束交易日(yyyymmdd)
  28239. in: query
  28240. name: enddate
  28241. type: string
  28242. produces:
  28243. - application/json
  28244. responses:
  28245. "200":
  28246. description: OK
  28247. schema:
  28248. items:
  28249. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28250. type: array
  28251. "500":
  28252. description: Internal Server Error
  28253. schema:
  28254. $ref: '#/definitions/app.Response'
  28255. security:
  28256. - ApiKeyAuth: []
  28257. summary: 查询奖励流水(我的奖励)
  28258. tags:
  28259. - 大连千海金
  28260. /Qhj/QueryContract:
  28261. get:
  28262. parameters:
  28263. - description: 用户ID
  28264. in: query
  28265. name: userid
  28266. type: integer
  28267. - description: scf合同id
  28268. in: query
  28269. name: scfcontractid
  28270. type: integer
  28271. produces:
  28272. - application/json
  28273. responses:
  28274. "200":
  28275. description: OK
  28276. schema:
  28277. items:
  28278. $ref: '#/definitions/models.QhjContract'
  28279. type: array
  28280. "500":
  28281. description: Internal Server Error
  28282. schema:
  28283. $ref: '#/definitions/app.Response'
  28284. security:
  28285. - ApiKeyAuth: []
  28286. summary: 查询融资明细(合同)
  28287. tags:
  28288. - 大连千海金
  28289. /Qhj/QueryContractLog:
  28290. get:
  28291. parameters:
  28292. - description: scf合同id
  28293. in: query
  28294. name: scfcontractid
  28295. required: true
  28296. type: integer
  28297. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28298. in: query
  28299. name: amounttype
  28300. type: string
  28301. produces:
  28302. - application/json
  28303. responses:
  28304. "200":
  28305. description: OK
  28306. schema:
  28307. items:
  28308. $ref: '#/definitions/models.QhjContractLog'
  28309. type: array
  28310. "500":
  28311. description: Internal Server Error
  28312. schema:
  28313. $ref: '#/definitions/app.Response'
  28314. security:
  28315. - ApiKeyAuth: []
  28316. summary: 查询融资明细流水(融资明细详情页中的流水)
  28317. tags:
  28318. - 大连千海金
  28319. /Qhj/QueryCusBankSignBank:
  28320. get:
  28321. produces:
  28322. - application/json
  28323. responses:
  28324. "200":
  28325. description: OK
  28326. schema:
  28327. items:
  28328. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28329. type: array
  28330. "500":
  28331. description: Internal Server Error
  28332. schema:
  28333. $ref: '#/definitions/app.Response'
  28334. security:
  28335. - ApiKeyAuth: []
  28336. summary: 查询托管银行
  28337. tags:
  28338. - 大连千海金
  28339. /Qhj/QueryCustomerInfo:
  28340. get:
  28341. parameters:
  28342. - description: 用户ID
  28343. in: query
  28344. name: userid
  28345. required: true
  28346. type: integer
  28347. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28348. in: query
  28349. name: querytype
  28350. required: true
  28351. type: integer
  28352. - description: 客户类型 1-个人 2-企业
  28353. in: query
  28354. name: userinfotype
  28355. type: integer
  28356. - description: 客户名称(模糊匹配)
  28357. in: query
  28358. name: customername
  28359. type: string
  28360. - description: 昵称(模糊匹配)
  28361. in: query
  28362. name: nickname
  28363. type: string
  28364. - description: 是否包含子级 1-包含
  28365. in: query
  28366. name: includesub
  28367. type: integer
  28368. produces:
  28369. - application/json
  28370. responses:
  28371. "200":
  28372. description: OK
  28373. schema:
  28374. items:
  28375. $ref: '#/definitions/models.QhjCustomer'
  28376. type: array
  28377. "500":
  28378. description: Internal Server Error
  28379. schema:
  28380. $ref: '#/definitions/app.Response'
  28381. security:
  28382. - ApiKeyAuth: []
  28383. summary: 查询客户资料
  28384. tags:
  28385. - 大连千海金
  28386. /Qhj/QueryGoodsEx:
  28387. get:
  28388. parameters:
  28389. - description: 商品id
  28390. in: query
  28391. name: goodsid
  28392. type: integer
  28393. produces:
  28394. - application/json
  28395. responses:
  28396. "200":
  28397. description: OK
  28398. schema:
  28399. items:
  28400. $ref: '#/definitions/models.Qhjgoodsex'
  28401. type: array
  28402. "500":
  28403. description: Internal Server Error
  28404. schema:
  28405. $ref: '#/definitions/app.Response'
  28406. security:
  28407. - ApiKeyAuth: []
  28408. summary: 交易商品扩展表
  28409. tags:
  28410. - 大连千海金
  28411. /Qhj/QueryMyTeam:
  28412. get:
  28413. parameters:
  28414. - description: 用户ID
  28415. in: query
  28416. name: userid
  28417. required: true
  28418. type: integer
  28419. produces:
  28420. - application/json
  28421. responses:
  28422. "200":
  28423. description: OK
  28424. schema:
  28425. items:
  28426. $ref: '#/definitions/models.QhjMyTeamEx'
  28427. type: array
  28428. "500":
  28429. description: Internal Server Error
  28430. schema:
  28431. $ref: '#/definitions/app.Response'
  28432. security:
  28433. - ApiKeyAuth: []
  28434. summary: 查询我的团队
  28435. tags:
  28436. - 大连千海金
  28437. /Qhj/QueryMyTeamOrder:
  28438. get:
  28439. parameters:
  28440. - description: 页码
  28441. in: query
  28442. name: page
  28443. type: integer
  28444. - description: 每页条数
  28445. in: query
  28446. name: pagesize
  28447. type: integer
  28448. - description: 用户ID
  28449. in: query
  28450. name: userid
  28451. required: true
  28452. type: integer
  28453. - description: 交易模式
  28454. in: query
  28455. name: trademode
  28456. type: integer
  28457. - description: 名称(模糊搜索账户)
  28458. in: query
  28459. name: filtername
  28460. type: string
  28461. produces:
  28462. - application/json
  28463. responses:
  28464. "200":
  28465. description: OK
  28466. schema:
  28467. items:
  28468. $ref: '#/definitions/models.QhjTeamOrder'
  28469. type: array
  28470. "500":
  28471. description: Internal Server Error
  28472. schema:
  28473. $ref: '#/definitions/app.Response'
  28474. security:
  28475. - ApiKeyAuth: []
  28476. summary: 查询团队订单(我的团队/团队订单)
  28477. tags:
  28478. - 大连千海金
  28479. /Qhj/QueryParentAreaList:
  28480. get:
  28481. parameters:
  28482. - description: 用户ID
  28483. in: query
  28484. name: userid
  28485. required: true
  28486. type: integer
  28487. produces:
  28488. - application/json
  28489. responses:
  28490. "200":
  28491. description: OK
  28492. schema:
  28493. items:
  28494. $ref: '#/definitions/models.QhjParentAreaList'
  28495. type: array
  28496. "500":
  28497. description: Internal Server Error
  28498. schema:
  28499. $ref: '#/definitions/app.Response'
  28500. security:
  28501. - ApiKeyAuth: []
  28502. summary: 查询所属机构列表
  28503. tags:
  28504. - 大连千海金
  28505. /Qhj/QueryPayOrder:
  28506. get:
  28507. parameters:
  28508. - description: 资金账号id
  28509. in: query
  28510. name: accountid
  28511. required: true
  28512. type: integer
  28513. - description: 成交单号
  28514. in: query
  28515. name: tradeid
  28516. type: integer
  28517. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28518. in: query
  28519. name: payflag
  28520. type: string
  28521. produces:
  28522. - application/json
  28523. responses:
  28524. "200":
  28525. description: OK
  28526. schema:
  28527. items:
  28528. $ref: '#/definitions/models.QhjPayOrder'
  28529. type: array
  28530. "500":
  28531. description: Internal Server Error
  28532. schema:
  28533. $ref: '#/definitions/app.Response'
  28534. security:
  28535. - ApiKeyAuth: []
  28536. summary: 查询待付款单据
  28537. tags:
  28538. - 大连千海金
  28539. /Qhj/QueryPickArea:
  28540. get:
  28541. parameters:
  28542. - description: 用户ID
  28543. in: query
  28544. name: userid
  28545. type: integer
  28546. produces:
  28547. - application/json
  28548. responses:
  28549. "200":
  28550. description: OK
  28551. schema:
  28552. items:
  28553. $ref: '#/definitions/models.QhjPickArea'
  28554. type: array
  28555. "500":
  28556. description: Internal Server Error
  28557. schema:
  28558. $ref: '#/definitions/app.Response'
  28559. security:
  28560. - ApiKeyAuth: []
  28561. summary: 查询提货门店
  28562. tags:
  28563. - 大连千海金
  28564. /Qhj/QueryPickGoods:
  28565. get:
  28566. parameters:
  28567. - description: 交易商品id
  28568. in: query
  28569. name: goodsid
  28570. required: true
  28571. type: integer
  28572. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28573. in: query
  28574. name: status
  28575. type: string
  28576. produces:
  28577. - application/json
  28578. responses:
  28579. "200":
  28580. description: OK
  28581. schema:
  28582. items:
  28583. $ref: '#/definitions/models.QhjPickGoods'
  28584. type: array
  28585. "500":
  28586. description: Internal Server Error
  28587. schema:
  28588. $ref: '#/definitions/app.Response'
  28589. security:
  28590. - ApiKeyAuth: []
  28591. summary: 查询提货商品
  28592. tags:
  28593. - 大连千海金
  28594. /Qhj/QueryRSTriggerLog:
  28595. get:
  28596. parameters:
  28597. - description: 用户ID
  28598. in: query
  28599. name: userid
  28600. type: integer
  28601. - description: 定投策略id
  28602. in: query
  28603. name: regularlystrategyid
  28604. type: integer
  28605. - description: 商品id
  28606. in: query
  28607. name: goodsid
  28608. type: integer
  28609. - description: 开始交易日(yyyymmdd)
  28610. in: query
  28611. name: begindate
  28612. type: string
  28613. - description: 结束交易日(yyyymmdd)
  28614. in: query
  28615. name: enddate
  28616. type: string
  28617. - description: 名称(模糊搜索账户)
  28618. in: query
  28619. name: filtername
  28620. type: string
  28621. produces:
  28622. - application/json
  28623. responses:
  28624. "200":
  28625. description: OK
  28626. schema:
  28627. items:
  28628. $ref: '#/definitions/models.QhjRSTriggerLog'
  28629. type: array
  28630. "500":
  28631. description: Internal Server Error
  28632. schema:
  28633. $ref: '#/definitions/app.Response'
  28634. security:
  28635. - ApiKeyAuth: []
  28636. summary: 查询定投记录(定投管理/详情/定投记录)
  28637. tags:
  28638. - 大连千海金
  28639. /Qhj/QueryRStrategy:
  28640. get:
  28641. parameters:
  28642. - description: 用户ID
  28643. in: query
  28644. name: userid
  28645. type: integer
  28646. - description: 商品id
  28647. in: query
  28648. name: goodsid
  28649. type: integer
  28650. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28651. in: query
  28652. name: status
  28653. type: string
  28654. - description: 名称(模糊搜索账户)
  28655. in: query
  28656. name: filtername
  28657. type: string
  28658. produces:
  28659. - application/json
  28660. responses:
  28661. "200":
  28662. description: OK
  28663. schema:
  28664. items:
  28665. $ref: '#/definitions/models.QhjRStrategy'
  28666. type: array
  28667. "500":
  28668. description: Internal Server Error
  28669. schema:
  28670. $ref: '#/definitions/app.Response'
  28671. security:
  28672. - ApiKeyAuth: []
  28673. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28674. tags:
  28675. - 大连千海金
  28676. /Qhj/QueryReckonPriceLog:
  28677. get:
  28678. parameters:
  28679. - description: 商品ID
  28680. in: query
  28681. name: goodsid
  28682. type: integer
  28683. - description: 交易日 格式(yyyymmdd)
  28684. in: query
  28685. name: tradedate
  28686. type: string
  28687. produces:
  28688. - application/json
  28689. responses:
  28690. "200":
  28691. description: OK
  28692. schema:
  28693. items:
  28694. $ref: '#/definitions/models.QhjReckonPriceLog'
  28695. type: array
  28696. "500":
  28697. description: Internal Server Error
  28698. schema:
  28699. $ref: '#/definitions/app.Response'
  28700. security:
  28701. - ApiKeyAuth: []
  28702. summary: 查询定投价(结算价)
  28703. tags:
  28704. - 大连千海金
  28705. /Qhj/QueryScoreLog:
  28706. get:
  28707. parameters:
  28708. - description: 用户ID
  28709. in: query
  28710. name: userid
  28711. required: true
  28712. type: integer
  28713. - description: 开始交易日(yyyymmdd)
  28714. in: query
  28715. name: begindate
  28716. type: string
  28717. - description: 结束交易日(yyyymmdd)
  28718. in: query
  28719. name: enddate
  28720. type: string
  28721. - description: 最近多少条
  28722. in: query
  28723. name: lastnum
  28724. type: integer
  28725. produces:
  28726. - application/json
  28727. responses:
  28728. "200":
  28729. description: OK
  28730. schema:
  28731. items:
  28732. $ref: '#/definitions/models.QhjScoreLog'
  28733. type: array
  28734. "500":
  28735. description: Internal Server Error
  28736. schema:
  28737. $ref: '#/definitions/app.Response'
  28738. security:
  28739. - ApiKeyAuth: []
  28740. summary: 查询积分流水(我的积分)
  28741. tags:
  28742. - 大连千海金
  28743. /Qhj/QuerySiteColumnDetail:
  28744. get:
  28745. parameters:
  28746. - description: 用户ID
  28747. in: query
  28748. name: userid
  28749. required: true
  28750. type: integer
  28751. produces:
  28752. - application/json
  28753. responses:
  28754. "200":
  28755. description: OK
  28756. schema:
  28757. items:
  28758. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28759. type: array
  28760. "500":
  28761. description: Internal Server Error
  28762. schema:
  28763. $ref: '#/definitions/app.Response'
  28764. security:
  28765. - ApiKeyAuth: []
  28766. summary: 查询资讯
  28767. tags:
  28768. - 大连千海金
  28769. /Qhj/QueryTradeGoodsPickup:
  28770. get:
  28771. parameters:
  28772. - description: 用户ID
  28773. in: query
  28774. name: userid
  28775. required: true
  28776. type: integer
  28777. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28778. 7:已拒绝 8:已撤销
  28779. in: query
  28780. name: takeorderstatus
  28781. type: integer
  28782. produces:
  28783. - application/json
  28784. responses:
  28785. "200":
  28786. description: OK
  28787. schema:
  28788. items:
  28789. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28790. type: array
  28791. "500":
  28792. description: Internal Server Error
  28793. schema:
  28794. $ref: '#/definitions/app.Response'
  28795. security:
  28796. - ApiKeyAuth: []
  28797. summary: 查询提货
  28798. tags:
  28799. - 大连千海金
  28800. /Qhj/QueryUserCollectConfig:
  28801. get:
  28802. parameters:
  28803. - description: 用户ID
  28804. in: query
  28805. name: userid
  28806. required: true
  28807. type: integer
  28808. produces:
  28809. - application/json
  28810. responses:
  28811. "200":
  28812. description: OK
  28813. schema:
  28814. items:
  28815. $ref: '#/definitions/models.UserCollectConfig'
  28816. type: array
  28817. "500":
  28818. description: Internal Server Error
  28819. schema:
  28820. $ref: '#/definitions/app.Response'
  28821. security:
  28822. - ApiKeyAuth: []
  28823. summary: 查询提现账户设置
  28824. tags:
  28825. - 大连千海金
  28826. /Qhj/QueryUserReceiveInfo:
  28827. get:
  28828. parameters:
  28829. - description: 用户ID
  28830. in: query
  28831. name: userid
  28832. required: true
  28833. type: integer
  28834. produces:
  28835. - application/json
  28836. responses:
  28837. "200":
  28838. description: OK
  28839. schema:
  28840. items:
  28841. $ref: '#/definitions/models.UserReceiveInfo'
  28842. type: array
  28843. "500":
  28844. description: Internal Server Error
  28845. schema:
  28846. $ref: '#/definitions/app.Response'
  28847. security:
  28848. - ApiKeyAuth: []
  28849. summary: 查询收货地址信息
  28850. tags:
  28851. - 大连千海金
  28852. /QhjMgr/QueryAccountInOutApply:
  28853. get:
  28854. parameters:
  28855. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28856. in: query
  28857. name: querytype
  28858. required: true
  28859. type: integer
  28860. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28861. in: query
  28862. name: applystatus
  28863. type: integer
  28864. - description: 申请起始日期(格式yyyymmdd)
  28865. in: query
  28866. name: begindate
  28867. type: string
  28868. - description: 申请截止日期(格式yyyymmdd)
  28869. in: query
  28870. name: enddate
  28871. type: string
  28872. - description: 模糊搜索名称
  28873. in: query
  28874. name: likename
  28875. type: string
  28876. produces:
  28877. - application/json
  28878. responses:
  28879. "200":
  28880. description: OK
  28881. schema:
  28882. items:
  28883. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28884. type: array
  28885. "500":
  28886. description: Internal Server Error
  28887. schema:
  28888. $ref: '#/definitions/app.Response'
  28889. security:
  28890. - ApiKeyAuth: []
  28891. summary: 查询充值提现
  28892. tags:
  28893. - 大连千海金(PCWeb)
  28894. /QhjMgr/QueryBrokerApply:
  28895. get:
  28896. parameters:
  28897. - description: 所属机构ID
  28898. in: query
  28899. name: userid
  28900. type: integer
  28901. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28902. in: query
  28903. name: filterstatus
  28904. type: string
  28905. - description: 名称(模糊匹配)
  28906. in: query
  28907. name: filtername
  28908. type: string
  28909. - description: 是否包含子级 1-包含
  28910. in: query
  28911. name: includesub
  28912. type: integer
  28913. produces:
  28914. - application/json
  28915. responses:
  28916. "200":
  28917. description: OK
  28918. schema:
  28919. items:
  28920. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28921. type: array
  28922. "500":
  28923. description: Internal Server Error
  28924. schema:
  28925. $ref: '#/definitions/app.Response'
  28926. security:
  28927. - ApiKeyAuth: []
  28928. summary: 查询经纪人申请
  28929. tags:
  28930. - 大连千海金(PCWeb)
  28931. /QhjMgr/QueryBrokerRewardReport:
  28932. get:
  28933. parameters:
  28934. - description: 所属机构ID
  28935. in: query
  28936. name: userid
  28937. required: true
  28938. type: integer
  28939. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28940. in: query
  28941. name: cycletype
  28942. required: true
  28943. type: integer
  28944. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28945. in: query
  28946. name: cycletime
  28947. required: true
  28948. type: string
  28949. - description: 名称(模糊匹配)
  28950. in: query
  28951. name: filtername
  28952. type: string
  28953. - description: 是否包含子级 1-包含
  28954. in: query
  28955. name: includesub
  28956. type: integer
  28957. produces:
  28958. - application/json
  28959. responses:
  28960. "200":
  28961. description: OK
  28962. schema:
  28963. items:
  28964. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28965. type: array
  28966. "500":
  28967. description: Internal Server Error
  28968. schema:
  28969. $ref: '#/definitions/app.Response'
  28970. security:
  28971. - ApiKeyAuth: []
  28972. summary: 查询经纪人奖励报表(废弃)
  28973. tags:
  28974. - 大连千海金(PCWeb)
  28975. /QhjMgr/QueryContract:
  28976. get:
  28977. parameters:
  28978. - description: 用户ID
  28979. in: query
  28980. name: userid
  28981. type: integer
  28982. - description: 商品id
  28983. in: query
  28984. name: goodsid
  28985. type: integer
  28986. - description: 名称(模糊搜索账户)
  28987. in: query
  28988. name: filtername
  28989. type: string
  28990. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28991. in: query
  28992. name: risklevel
  28993. type: string
  28994. - description: 开始交易日(yyyymmdd)
  28995. in: query
  28996. name: begindate
  28997. type: string
  28998. - description: 结束交易日(yyyymmdd)
  28999. in: query
  29000. name: enddate
  29001. type: string
  29002. produces:
  29003. - application/json
  29004. responses:
  29005. "200":
  29006. description: OK
  29007. schema:
  29008. items:
  29009. $ref: '#/definitions/models.QhjMgrContract'
  29010. type: array
  29011. "500":
  29012. description: Internal Server Error
  29013. schema:
  29014. $ref: '#/definitions/app.Response'
  29015. security:
  29016. - ApiKeyAuth: []
  29017. summary: 查询融资信息(合同)
  29018. tags:
  29019. - 大连千海金(PCWeb)
  29020. /QhjMgr/QueryCustomerInfo:
  29021. get:
  29022. parameters:
  29023. - description: 用户ID
  29024. in: query
  29025. name: userid
  29026. required: true
  29027. type: integer
  29028. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29029. in: query
  29030. name: querytype
  29031. required: true
  29032. type: integer
  29033. - description: 客户类型 1-个人 2-企业
  29034. in: query
  29035. name: userinfotype
  29036. type: integer
  29037. - description: 客户名称(模糊匹配)
  29038. in: query
  29039. name: customername
  29040. type: string
  29041. - description: 昵称(模糊匹配)
  29042. in: query
  29043. name: nickname
  29044. type: string
  29045. - description: 所属客户经理(模糊匹配)
  29046. in: query
  29047. name: brokername
  29048. type: string
  29049. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29050. 如0503 -5月3日)
  29051. in: query
  29052. name: birthday
  29053. type: string
  29054. - description: 是否包含子级 1-包含
  29055. in: query
  29056. name: includesub
  29057. type: integer
  29058. produces:
  29059. - application/json
  29060. responses:
  29061. "200":
  29062. description: OK
  29063. schema:
  29064. items:
  29065. $ref: '#/definitions/models.QhjMgrCustomer'
  29066. type: array
  29067. "500":
  29068. description: Internal Server Error
  29069. schema:
  29070. $ref: '#/definitions/app.Response'
  29071. security:
  29072. - ApiKeyAuth: []
  29073. summary: 查询客户资料
  29074. tags:
  29075. - 大连千海金(PCWeb)
  29076. /QhjMgr/QueryPickGoods:
  29077. get:
  29078. parameters:
  29079. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29080. in: query
  29081. name: status
  29082. type: string
  29083. produces:
  29084. - application/json
  29085. responses:
  29086. "200":
  29087. description: OK
  29088. schema:
  29089. items:
  29090. $ref: '#/definitions/models.QhjMgrPickGoods'
  29091. type: array
  29092. "500":
  29093. description: Internal Server Error
  29094. schema:
  29095. $ref: '#/definitions/app.Response'
  29096. security:
  29097. - ApiKeyAuth: []
  29098. summary: 查询提货商品
  29099. tags:
  29100. - 大连千海金(PCWeb)
  29101. /QhjMgr/QuerySubArea:
  29102. get:
  29103. parameters:
  29104. - description: 用户ID
  29105. in: query
  29106. name: userid
  29107. required: true
  29108. type: integer
  29109. produces:
  29110. - application/json
  29111. responses:
  29112. "200":
  29113. description: OK
  29114. schema:
  29115. items:
  29116. $ref: '#/definitions/models.QhjMgrSubArea'
  29117. type: array
  29118. "500":
  29119. description: Internal Server Error
  29120. schema:
  29121. $ref: '#/definitions/app.Response'
  29122. security:
  29123. - ApiKeyAuth: []
  29124. summary: 查询子机构列表
  29125. tags:
  29126. - 大连千海金(PCWeb)
  29127. /QhjMgr/QueryTradeDetail:
  29128. get:
  29129. parameters:
  29130. - description: 用户ID
  29131. in: query
  29132. name: userid
  29133. required: true
  29134. type: integer
  29135. - description: 用户类型 1-个人 2-企业
  29136. in: query
  29137. name: userinfotype
  29138. type: integer
  29139. - description: 交易模式
  29140. in: query
  29141. name: trademode
  29142. type: integer
  29143. - description: 商品id
  29144. in: query
  29145. name: goodsid
  29146. type: integer
  29147. - description: 名称(模糊搜索账户)
  29148. in: query
  29149. name: filtername
  29150. type: string
  29151. - description: 开始交易日(yyyymmdd)
  29152. in: query
  29153. name: begindate
  29154. type: string
  29155. - description: 结束交易日(yyyymmdd)
  29156. in: query
  29157. name: enddate
  29158. type: string
  29159. - description: 是否包含子级 1-包含
  29160. in: query
  29161. name: includesub
  29162. type: integer
  29163. produces:
  29164. - application/json
  29165. responses:
  29166. "200":
  29167. description: OK
  29168. schema:
  29169. items:
  29170. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29171. type: array
  29172. "500":
  29173. description: Internal Server Error
  29174. schema:
  29175. $ref: '#/definitions/app.Response'
  29176. security:
  29177. - ApiKeyAuth: []
  29178. summary: 查询成交明细
  29179. tags:
  29180. - 大连千海金(PCWeb)
  29181. /QhjMgr/QueryTradeOrderDetail:
  29182. get:
  29183. parameters:
  29184. - description: 用户ID
  29185. in: query
  29186. name: userid
  29187. required: true
  29188. type: integer
  29189. - description: 用户类型 1-个人 2-企业
  29190. in: query
  29191. name: userinfotype
  29192. type: integer
  29193. - description: 交易模式
  29194. in: query
  29195. name: trademode
  29196. type: integer
  29197. - description: 商品id
  29198. in: query
  29199. name: goodsid
  29200. type: integer
  29201. - description: 名称(模糊搜索账户)
  29202. in: query
  29203. name: filtername
  29204. type: string
  29205. - description: 开始交易日(yyyymmdd)
  29206. in: query
  29207. name: begindate
  29208. type: string
  29209. - description: 结束交易日(yyyymmdd)
  29210. in: query
  29211. name: enddate
  29212. type: string
  29213. - description: 是否包含子级 1-包含
  29214. in: query
  29215. name: includesub
  29216. type: integer
  29217. produces:
  29218. - application/json
  29219. responses:
  29220. "200":
  29221. description: OK
  29222. schema:
  29223. items:
  29224. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29225. type: array
  29226. "500":
  29227. description: Internal Server Error
  29228. schema:
  29229. $ref: '#/definitions/app.Response'
  29230. security:
  29231. - ApiKeyAuth: []
  29232. summary: 查询委托明细
  29233. tags:
  29234. - 大连千海金(PCWeb)
  29235. /QhjMgr/QueryTradePayOrder:
  29236. get:
  29237. parameters:
  29238. - description: 用户ID
  29239. in: query
  29240. name: userid
  29241. required: true
  29242. type: integer
  29243. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29244. in: query
  29245. name: payflag
  29246. type: string
  29247. - description: 用户类型 1-个人 2-企业
  29248. in: query
  29249. name: userinfotype
  29250. type: integer
  29251. - description: 交易模式
  29252. in: query
  29253. name: trademode
  29254. type: integer
  29255. - description: 商品id
  29256. in: query
  29257. name: goodsid
  29258. type: integer
  29259. - description: 名称(模糊搜索账户)
  29260. in: query
  29261. name: filtername
  29262. type: string
  29263. - description: 开始交易日(yyyymmdd)
  29264. in: query
  29265. name: begindate
  29266. type: string
  29267. - description: 结束交易日(yyyymmdd)
  29268. in: query
  29269. name: enddate
  29270. type: string
  29271. - description: 是否包含子级 1-包含
  29272. in: query
  29273. name: includesub
  29274. type: integer
  29275. produces:
  29276. - application/json
  29277. responses:
  29278. "200":
  29279. description: OK
  29280. schema:
  29281. items:
  29282. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29283. type: array
  29284. "500":
  29285. description: Internal Server Error
  29286. schema:
  29287. $ref: '#/definitions/app.Response'
  29288. security:
  29289. - ApiKeyAuth: []
  29290. summary: 查询待付款单
  29291. tags:
  29292. - 大连千海金(PCWeb)
  29293. /QhjMgr/QueryTradePosition:
  29294. get:
  29295. parameters:
  29296. - description: 用户ID
  29297. in: query
  29298. name: userid
  29299. required: true
  29300. type: integer
  29301. - description: 用户类型 1-个人 2-企业
  29302. in: query
  29303. name: userinfotype
  29304. type: integer
  29305. - description: 交易模式
  29306. in: query
  29307. name: trademode
  29308. type: integer
  29309. - description: 商品id
  29310. in: query
  29311. name: goodsid
  29312. type: integer
  29313. - description: 名称(模糊搜索账户)
  29314. in: query
  29315. name: filtername
  29316. type: string
  29317. - description: 是否包含子级 1-包含
  29318. in: query
  29319. name: includesub
  29320. type: integer
  29321. produces:
  29322. - application/json
  29323. responses:
  29324. "200":
  29325. description: OK
  29326. schema:
  29327. items:
  29328. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29329. type: array
  29330. "500":
  29331. description: Internal Server Error
  29332. schema:
  29333. $ref: '#/definitions/app.Response'
  29334. security:
  29335. - ApiKeyAuth: []
  29336. summary: 查询持仓汇总
  29337. tags:
  29338. - 大连千海金(PCWeb)
  29339. /QhjSys/QueryAgreementChangeLog:
  29340. get:
  29341. parameters:
  29342. - description: 协议ID
  29343. in: query
  29344. name: agreementid
  29345. type: integer
  29346. - description: 协议版本号
  29347. in: query
  29348. name: agreementversion
  29349. type: integer
  29350. - description: 协议类型 - 1:注册 2:登录 3:交易
  29351. in: query
  29352. name: agreementtype
  29353. type: integer
  29354. - description: 协议编号(模糊匹配)
  29355. in: query
  29356. name: agreementno
  29357. type: string
  29358. - description: 协议名称(模糊匹配)
  29359. in: query
  29360. name: agreementname
  29361. type: string
  29362. produces:
  29363. - application/json
  29364. responses:
  29365. "200":
  29366. description: OK
  29367. schema:
  29368. items:
  29369. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29370. type: array
  29371. "500":
  29372. description: Internal Server Error
  29373. schema:
  29374. $ref: '#/definitions/app.Response'
  29375. security:
  29376. - ApiKeyAuth: []
  29377. summary: 查询协议配置变更流水
  29378. tags:
  29379. - 大连千海金(协议和签约信息)
  29380. /QhjSys/QueryAgreementConfig:
  29381. get:
  29382. parameters:
  29383. - description: 协议ID
  29384. in: query
  29385. name: agreementid
  29386. type: integer
  29387. - description: 协议版本号
  29388. in: query
  29389. name: agreementversion
  29390. type: integer
  29391. - description: 协议类型 - 1:注册 2:登录 3:交易
  29392. in: query
  29393. name: agreementtype
  29394. type: integer
  29395. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29396. in: query
  29397. name: isvalid
  29398. type: integer
  29399. - description: 协议编号(模糊匹配)
  29400. in: query
  29401. name: agreementno
  29402. type: string
  29403. - description: 协议名称(模糊匹配)
  29404. in: query
  29405. name: agreementname
  29406. type: string
  29407. produces:
  29408. - application/json
  29409. responses:
  29410. "200":
  29411. description: OK
  29412. schema:
  29413. items:
  29414. $ref: '#/definitions/models.QhjAgreementConfig'
  29415. type: array
  29416. "500":
  29417. description: Internal Server Error
  29418. schema:
  29419. $ref: '#/definitions/app.Response'
  29420. security:
  29421. - ApiKeyAuth: []
  29422. summary: 查询协议配置
  29423. tags:
  29424. - 大连千海金(协议和签约信息)
  29425. /QhjSys/QueryCustomerSignStatus:
  29426. get:
  29427. parameters:
  29428. - description: 客户ID
  29429. in: query
  29430. name: userid
  29431. type: integer
  29432. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29433. in: query
  29434. name: nodetype
  29435. type: integer
  29436. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29437. in: query
  29438. name: goodsid
  29439. type: integer
  29440. - description: 创建交易日(yyyyMMdd)
  29441. in: query
  29442. name: tradedate
  29443. type: string
  29444. - description: 用户名称(模糊匹配)
  29445. in: query
  29446. name: username
  29447. type: string
  29448. produces:
  29449. - application/json
  29450. responses:
  29451. "200":
  29452. description: OK
  29453. schema:
  29454. items:
  29455. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29456. type: array
  29457. "500":
  29458. description: Internal Server Error
  29459. schema:
  29460. $ref: '#/definitions/app.Response'
  29461. security:
  29462. - ApiKeyAuth: []
  29463. summary: 查询客户协议签约状态
  29464. tags:
  29465. - 大连千海金(协议和签约信息)
  29466. /QhjSys/QueryNodeAgreementConfig:
  29467. get:
  29468. parameters:
  29469. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29470. in: query
  29471. name: configid
  29472. type: integer
  29473. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29474. in: query
  29475. name: nodetype
  29476. type: integer
  29477. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29478. in: query
  29479. name: goodsid
  29480. type: integer
  29481. - description: 协议ID
  29482. in: query
  29483. name: agreementid
  29484. type: integer
  29485. - description: 协议类型 - 1:注册 2:登录 3:交易
  29486. in: query
  29487. name: agreementtype
  29488. type: integer
  29489. - description: 协议版本号
  29490. in: query
  29491. name: agreementversion
  29492. type: integer
  29493. - description: 协议编号(模糊匹配)
  29494. in: query
  29495. name: agreementno
  29496. type: string
  29497. - description: 协议名称(模糊匹配)
  29498. in: query
  29499. name: agreementname
  29500. type: string
  29501. produces:
  29502. - application/json
  29503. responses:
  29504. "200":
  29505. description: OK
  29506. schema:
  29507. items:
  29508. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29509. type: array
  29510. "500":
  29511. description: Internal Server Error
  29512. schema:
  29513. $ref: '#/definitions/app.Response'
  29514. security:
  29515. - ApiKeyAuth: []
  29516. summary: 查询协议节点配置
  29517. tags:
  29518. - 大连千海金(协议和签约信息)
  29519. /QhjSys/QueryQhjCustomerSignLog:
  29520. get:
  29521. parameters:
  29522. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29523. in: query
  29524. name: logid
  29525. type: integer
  29526. - description: 客户ID
  29527. in: query
  29528. name: userid
  29529. type: integer
  29530. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29531. in: query
  29532. name: nodetype
  29533. type: integer
  29534. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29535. in: query
  29536. name: goodsid
  29537. type: integer
  29538. - description: 协议ID
  29539. in: query
  29540. name: agreementid
  29541. type: integer
  29542. - description: 用户名称(模糊匹配)
  29543. in: query
  29544. name: username
  29545. type: string
  29546. - description: 协议编号(模糊匹配)
  29547. in: query
  29548. name: agreementno
  29549. type: string
  29550. - description: 协议名称(模糊匹配)
  29551. in: query
  29552. name: agreementname
  29553. type: string
  29554. produces:
  29555. - application/json
  29556. responses:
  29557. "200":
  29558. description: OK
  29559. schema:
  29560. items:
  29561. $ref: '#/definitions/models.QhjCustomerSignLog'
  29562. type: array
  29563. "500":
  29564. description: Internal Server Error
  29565. schema:
  29566. $ref: '#/definitions/app.Response'
  29567. security:
  29568. - ApiKeyAuth: []
  29569. summary: 查询客户协议签约流水
  29570. tags:
  29571. - 大连千海金(协议和签约信息)
  29572. /QhjSys/QueryUserNodeCfgAndStatus:
  29573. get:
  29574. parameters:
  29575. - description: 客户ID
  29576. in: query
  29577. name: userid
  29578. type: integer
  29579. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29580. in: query
  29581. name: configid
  29582. type: integer
  29583. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29584. in: query
  29585. name: nodetype
  29586. type: string
  29587. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29588. in: query
  29589. name: goodsid
  29590. type: integer
  29591. - description: 协议ID
  29592. in: query
  29593. name: agreementid
  29594. type: integer
  29595. - description: 协议类型 - 1:注册 2:登录 3:交易
  29596. in: query
  29597. name: agreementtype
  29598. type: integer
  29599. - description: 协议版本号
  29600. in: query
  29601. name: agreementversion
  29602. type: integer
  29603. - description: 协议编号(模糊匹配)
  29604. in: query
  29605. name: agreementno
  29606. type: string
  29607. - description: 协议名称(模糊匹配)
  29608. in: query
  29609. name: agreementname
  29610. type: string
  29611. produces:
  29612. - application/json
  29613. responses:
  29614. "200":
  29615. description: OK
  29616. schema:
  29617. items:
  29618. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29619. type: array
  29620. "500":
  29621. description: Internal Server Error
  29622. schema:
  29623. $ref: '#/definitions/app.Response'
  29624. security:
  29625. - ApiKeyAuth: []
  29626. summary: 查询用户协议节点配置和状态
  29627. tags:
  29628. - 大连千海金(协议和签约信息)
  29629. /Quote/QueryHistoryDatas:
  29630. get:
  29631. parameters:
  29632. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29633. 日线 12:周线 13:月线 14:年线'
  29634. in: query
  29635. name: cycleType
  29636. required: true
  29637. type: integer
  29638. - description: 商品代码
  29639. in: query
  29640. name: goodsCode
  29641. required: true
  29642. type: string
  29643. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29644. in: query
  29645. name: startTime
  29646. type: string
  29647. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29648. in: query
  29649. name: endTime
  29650. type: string
  29651. - description: 条数
  29652. in: query
  29653. name: count
  29654. type: integer
  29655. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29656. in: query
  29657. name: isAsc
  29658. type: boolean
  29659. produces:
  29660. - application/json
  29661. responses:
  29662. "200":
  29663. description: OK
  29664. schema:
  29665. $ref: '#/definitions/quote.HistoryData'
  29666. "500":
  29667. description: Internal Server Error
  29668. schema:
  29669. $ref: '#/definitions/app.Response'
  29670. security:
  29671. - ApiKeyAuth: []
  29672. summary: 查询行情历史数据
  29673. tags:
  29674. - 行情服务
  29675. /Quote/QueryHistoryTikDatas:
  29676. get:
  29677. parameters:
  29678. - description: 商品代码
  29679. in: query
  29680. name: goodsCode
  29681. required: true
  29682. type: string
  29683. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29684. in: query
  29685. name: startTime
  29686. type: string
  29687. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29688. in: query
  29689. name: endTime
  29690. type: string
  29691. - description: 条数
  29692. in: query
  29693. name: count
  29694. type: integer
  29695. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29696. in: query
  29697. name: isAsc
  29698. type: boolean
  29699. produces:
  29700. - application/json
  29701. responses:
  29702. "200":
  29703. description: OK
  29704. schema:
  29705. $ref: '#/definitions/quote.HistoryTikData'
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 查询行情Tik数据
  29713. tags:
  29714. - 行情服务
  29715. /Quote/QueryQuoteDay:
  29716. get:
  29717. parameters:
  29718. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29719. in: query
  29720. name: goodsCodes
  29721. type: string
  29722. produces:
  29723. - application/json
  29724. responses:
  29725. "200":
  29726. description: OK
  29727. schema:
  29728. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29729. "500":
  29730. description: Internal Server Error
  29731. schema:
  29732. $ref: '#/definitions/app.Response'
  29733. security:
  29734. - ApiKeyAuth: []
  29735. summary: 获取商品盘面信息
  29736. tags:
  29737. - 行情服务
  29738. /Quote/QueryTSData:
  29739. get:
  29740. parameters:
  29741. - description: 商品代码
  29742. in: query
  29743. name: goodsCode
  29744. required: true
  29745. type: string
  29746. produces:
  29747. - application/json
  29748. responses:
  29749. "200":
  29750. description: OK
  29751. schema:
  29752. $ref: '#/definitions/quote.QueryTSDataRsp'
  29753. "500":
  29754. description: Internal Server Error
  29755. schema:
  29756. $ref: '#/definitions/app.Response'
  29757. security:
  29758. - ApiKeyAuth: []
  29759. summary: 分时图数据查询
  29760. tags:
  29761. - 行情服务
  29762. /SZDZ/QueryConvertConfig:
  29763. get:
  29764. parameters:
  29765. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29766. 6:交易转花生米(不设置)
  29767. in: query
  29768. name: convertType
  29769. type: integer
  29770. - description: 外部商品代码[JD\PD]
  29771. in: query
  29772. name: outerGoodsCode
  29773. type: string
  29774. - description: 内部商品ID列表[交易],格式:1,2,3
  29775. in: query
  29776. name: innerGoodsIDs
  29777. type: string
  29778. produces:
  29779. - application/json
  29780. responses:
  29781. "200":
  29782. description: OK
  29783. schema:
  29784. $ref: '#/definitions/models.Szdz3convertconfig'
  29785. "500":
  29786. description: Internal Server Error
  29787. schema:
  29788. $ref: '#/definitions/app.Response'
  29789. security:
  29790. - ApiKeyAuth: []
  29791. summary: 查询交易系统转换设置
  29792. tags:
  29793. - 定制【尚志大宗】
  29794. /SZDZ/QueryConvertLog:
  29795. get:
  29796. parameters:
  29797. - description: 资金账户 - 格式:1,2,3
  29798. in: query
  29799. name: accountID
  29800. required: true
  29801. type: string
  29802. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29803. in: query
  29804. name: startDate
  29805. type: string
  29806. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29807. in: query
  29808. name: endDate
  29809. type: string
  29810. produces:
  29811. - application/json
  29812. responses:
  29813. "200":
  29814. description: OK
  29815. schema:
  29816. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29817. "500":
  29818. description: Internal Server Error
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. security:
  29822. - ApiKeyAuth: []
  29823. summary: 交易系统转换流水查询
  29824. tags:
  29825. - 定制【尚志大宗】
  29826. /SZDZ/QueryGoodsPickup:
  29827. get:
  29828. parameters:
  29829. - description: 资金账户 - 格式:1,2,3
  29830. in: query
  29831. name: accountID
  29832. required: true
  29833. type: string
  29834. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29835. in: query
  29836. name: takeOrderStatus
  29837. type: integer
  29838. produces:
  29839. - application/json
  29840. responses:
  29841. "200":
  29842. description: OK
  29843. schema:
  29844. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29845. "500":
  29846. description: Internal Server Error
  29847. schema:
  29848. $ref: '#/definitions/app.Response'
  29849. security:
  29850. - ApiKeyAuth: []
  29851. summary: 商品提货单查询
  29852. tags:
  29853. - 定制【尚志大宗】
  29854. /SZDZ/QueryRecieptOrder:
  29855. get:
  29856. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29857. parameters:
  29858. - description: 页码
  29859. in: query
  29860. name: page
  29861. type: integer
  29862. - description: 每页条数
  29863. in: query
  29864. name: pagesize
  29865. type: integer
  29866. - description: 商品ID
  29867. in: query
  29868. name: goodsID
  29869. required: true
  29870. type: integer
  29871. - description: 所属账户名称
  29872. in: query
  29873. name: accountName
  29874. type: string
  29875. - description: 市场ID
  29876. in: query
  29877. name: marketID
  29878. type: integer
  29879. - description: 方向 - 0:买 1:卖
  29880. in: query
  29881. name: buyorsell
  29882. required: true
  29883. type: integer
  29884. produces:
  29885. - application/json
  29886. responses:
  29887. "200":
  29888. description: OK
  29889. schema:
  29890. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29891. "500":
  29892. description: Internal Server Error
  29893. schema:
  29894. $ref: '#/definitions/app.Response'
  29895. security:
  29896. - ApiKeyAuth: []
  29897. summary: 点选挂牌委托单据查询(摘牌大厅)
  29898. tags:
  29899. - 定制【尚志大宗】
  29900. /SZDZ/QuerySZDZTradePosition:
  29901. get:
  29902. parameters:
  29903. - description: 资金账户
  29904. in: query
  29905. name: accountID
  29906. required: true
  29907. type: integer
  29908. produces:
  29909. - application/json
  29910. responses:
  29911. "200":
  29912. description: OK
  29913. schema:
  29914. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29915. "500":
  29916. description: Internal Server Error
  29917. schema:
  29918. $ref: '#/definitions/app.Response'
  29919. security:
  29920. - ApiKeyAuth: []
  29921. summary: 持仓汇总查询(尚志大宗)
  29922. tags:
  29923. - 定制【尚志大宗】
  29924. /SZDZ/SearchWhite:
  29925. get:
  29926. parameters:
  29927. - description: 用户ID
  29928. in: query
  29929. name: userID
  29930. required: true
  29931. type: integer
  29932. produces:
  29933. - application/json
  29934. responses:
  29935. "200":
  29936. description: OK
  29937. schema:
  29938. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29939. "500":
  29940. description: Internal Server Error
  29941. schema:
  29942. $ref: '#/definitions/app.Response'
  29943. security:
  29944. - ApiKeyAuth: []
  29945. summary: 搜索白名单
  29946. tags:
  29947. - 定制【尚志大宗】
  29948. /Search/SearchGoodses:
  29949. get:
  29950. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29951. parameters:
  29952. - description: 检索内容
  29953. in: query
  29954. name: content
  29955. required: true
  29956. type: string
  29957. - description: 交易模式,格式:1,2,3
  29958. in: query
  29959. name: tradeModes
  29960. type: string
  29961. produces:
  29962. - application/json
  29963. responses:
  29964. "200":
  29965. description: OK
  29966. schema:
  29967. $ref: '#/definitions/models.SearchGoods'
  29968. "500":
  29969. description: Internal Server Error
  29970. schema:
  29971. $ref: '#/definitions/app.Response'
  29972. summary: 检索商品信息
  29973. tags:
  29974. - 检索服务
  29975. /TaAccount/GetTaAccounts:
  29976. get:
  29977. parameters:
  29978. - description: 登录账户
  29979. in: query
  29980. name: loginID
  29981. required: true
  29982. type: integer
  29983. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29984. in: query
  29985. name: taAccountType
  29986. type: integer
  29987. produces:
  29988. - application/json
  29989. responses:
  29990. "200":
  29991. description: OK
  29992. schema:
  29993. $ref: '#/definitions/models.Taaccount'
  29994. "500":
  29995. description: Internal Server Error
  29996. schema:
  29997. $ref: '#/definitions/app.Response'
  29998. security:
  29999. - ApiKeyAuth: []
  30000. summary: 获取资金账户信息
  30001. tags:
  30002. - 资金账户
  30003. /TaAccount/QueryAmountLog:
  30004. get:
  30005. parameters:
  30006. - description: 页码
  30007. in: query
  30008. name: page
  30009. type: integer
  30010. - description: 每页条数
  30011. in: query
  30012. name: pagesize
  30013. type: integer
  30014. - description: 资金账户 - 格式:1,2,3
  30015. in: query
  30016. name: accountID
  30017. required: true
  30018. type: string
  30019. - description: 资金操作类型 - 格式:1,2,3
  30020. in: query
  30021. name: OperateType
  30022. type: string
  30023. produces:
  30024. - application/json
  30025. responses:
  30026. "200":
  30027. description: OK
  30028. schema:
  30029. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30030. "500":
  30031. description: Internal Server Error
  30032. schema:
  30033. $ref: '#/definitions/app.Response'
  30034. security:
  30035. - ApiKeyAuth: []
  30036. summary: 资金流水查询(当前)
  30037. tags:
  30038. - 资金账户
  30039. /TaAccount/QueryHisAmountLog:
  30040. get:
  30041. parameters:
  30042. - description: 页码
  30043. in: query
  30044. name: page
  30045. type: integer
  30046. - description: 每页条数
  30047. in: query
  30048. name: pagesize
  30049. type: integer
  30050. - description: 资金账户 - 格式:1,2,3
  30051. in: query
  30052. name: accountID
  30053. required: true
  30054. type: string
  30055. - description: 资金操作类型 - 格式:1,2,3
  30056. in: query
  30057. name: OperateType
  30058. type: string
  30059. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30060. in: query
  30061. name: startDate
  30062. type: string
  30063. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30064. in: query
  30065. name: endDate
  30066. type: string
  30067. produces:
  30068. - application/json
  30069. responses:
  30070. "200":
  30071. description: OK
  30072. schema:
  30073. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30074. "500":
  30075. description: Internal Server Error
  30076. schema:
  30077. $ref: '#/definitions/app.Response'
  30078. security:
  30079. - ApiKeyAuth: []
  30080. summary: 资金流水查询(历史)
  30081. tags:
  30082. - 资金账户
  30083. /TaAccount/QueryRelatedTaAccount:
  30084. get:
  30085. parameters:
  30086. - description: 关联UserID
  30087. in: query
  30088. name: relateduserid
  30089. required: true
  30090. type: integer
  30091. produces:
  30092. - application/json
  30093. responses:
  30094. "200":
  30095. description: OK
  30096. schema:
  30097. items:
  30098. $ref: '#/definitions/models.RelatedTaAccount'
  30099. type: array
  30100. "500":
  30101. description: Internal Server Error
  30102. schema:
  30103. $ref: '#/definitions/app.Response'
  30104. security:
  30105. - ApiKeyAuth: []
  30106. summary: 查询关联资金账户信息
  30107. tags:
  30108. - 资金账户
  30109. /Tjmd/QueryQuoteGoodsList:
  30110. get:
  30111. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30112. parameters:
  30113. - description: 用户类型
  30114. in: query
  30115. name: usertype
  30116. required: true
  30117. type: integer
  30118. - description: 市场id, 格式 1,2,3
  30119. in: query
  30120. name: marketids
  30121. type: string
  30122. - description: 商品组id
  30123. in: query
  30124. name: goodsgroupid
  30125. type: integer
  30126. - description: 商品id
  30127. in: query
  30128. name: goodsid
  30129. type: integer
  30130. produces:
  30131. - application/json
  30132. responses:
  30133. "200":
  30134. description: OK
  30135. schema:
  30136. items:
  30137. $ref: '#/definitions/models.TjmdQuoteGoods'
  30138. type: array
  30139. "500":
  30140. description: Internal Server Error
  30141. schema:
  30142. $ref: '#/definitions/app.Response'
  30143. security:
  30144. - ApiKeyAuth: []
  30145. summary: 查询掉期报价列表
  30146. tags:
  30147. - 天津麦顿
  30148. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30149. get:
  30150. parameters:
  30151. - description: 成交单号
  30152. in: query
  30153. name: tradeid
  30154. required: true
  30155. type: string
  30156. produces:
  30157. - application/json
  30158. responses:
  30159. "200":
  30160. description: OK
  30161. schema:
  30162. items:
  30163. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30164. type: array
  30165. "500":
  30166. description: Internal Server Error
  30167. schema:
  30168. $ref: '#/definitions/app.Response'
  30169. security:
  30170. - ApiKeyAuth: []
  30171. summary: 掉期商品订单详情(交易确认书)
  30172. tags:
  30173. - 天津麦顿
  30174. /Tjmd/QueryTjmdMarketSection:
  30175. get:
  30176. produces:
  30177. - application/json
  30178. responses:
  30179. "200":
  30180. description: OK
  30181. schema:
  30182. items:
  30183. $ref: '#/definitions/models.TjmdMarketSection'
  30184. type: array
  30185. "500":
  30186. description: Internal Server Error
  30187. schema:
  30188. $ref: '#/definitions/app.Response'
  30189. security:
  30190. - ApiKeyAuth: []
  30191. summary: 查询市场板块
  30192. tags:
  30193. - 天津麦顿
  30194. /Tjmd/QueryTjmdTodayAccountMargin:
  30195. get:
  30196. parameters:
  30197. - description: 市场id
  30198. in: query
  30199. name: marketid
  30200. type: string
  30201. - description: 商品id
  30202. in: query
  30203. name: goodsid
  30204. type: string
  30205. - description: 资金账号
  30206. in: query
  30207. name: accountid
  30208. type: string
  30209. produces:
  30210. - application/json
  30211. responses:
  30212. "200":
  30213. description: OK
  30214. schema:
  30215. items:
  30216. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30217. type: array
  30218. "500":
  30219. description: Internal Server Error
  30220. schema:
  30221. $ref: '#/definitions/app.Response'
  30222. security:
  30223. - ApiKeyAuth: []
  30224. summary: 查询今日账户保证金配置
  30225. tags:
  30226. - 天津麦顿
  30227. /Tjmd/QueryTjmdTradeOrderDetail:
  30228. get:
  30229. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30230. parameters:
  30231. - description: 页码
  30232. in: query
  30233. name: page
  30234. type: integer
  30235. - description: 每页条数
  30236. in: query
  30237. name: pagesize
  30238. type: integer
  30239. - description: 用户id
  30240. in: query
  30241. name: userid
  30242. required: true
  30243. type: integer
  30244. - description: 用户类型
  30245. in: query
  30246. name: usertype
  30247. required: true
  30248. type: integer
  30249. - description: 市场id, 格式 1,2,3
  30250. in: query
  30251. name: marketids
  30252. type: string
  30253. - description: 商品id
  30254. in: query
  30255. name: goodsid
  30256. required: true
  30257. type: integer
  30258. - description: 买卖方向 0-买 1-卖
  30259. in: query
  30260. name: buyorsell
  30261. required: true
  30262. type: integer
  30263. produces:
  30264. - application/json
  30265. responses:
  30266. "200":
  30267. description: OK
  30268. schema:
  30269. items:
  30270. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30271. type: array
  30272. "500":
  30273. description: Internal Server Error
  30274. schema:
  30275. $ref: '#/definitions/app.Response'
  30276. security:
  30277. - ApiKeyAuth: []
  30278. summary: 查询掉期买卖大厅
  30279. tags:
  30280. - 天津麦顿
  30281. /Tjmd/QueryTjmdTransferApply:
  30282. get:
  30283. parameters:
  30284. - description: 类型 1-我的申请 2-对方申请
  30285. in: query
  30286. name: applytype
  30287. required: true
  30288. type: integer
  30289. - description: 市场id, 格式 1,2,3
  30290. in: query
  30291. name: marketids
  30292. type: string
  30293. - description: 资金账号, 格式 25000000001,25000000003
  30294. in: query
  30295. name: accountids
  30296. type: string
  30297. - description: 开始交易日(yyyymmdd)
  30298. in: query
  30299. name: begindate
  30300. type: string
  30301. - description: 结束交易日(yyyymmdd)
  30302. in: query
  30303. name: enddate
  30304. type: string
  30305. produces:
  30306. - application/json
  30307. responses:
  30308. "200":
  30309. description: OK
  30310. schema:
  30311. items:
  30312. $ref: '#/definitions/models.TjmdTransferApply'
  30313. type: array
  30314. "500":
  30315. description: Internal Server Error
  30316. schema:
  30317. $ref: '#/definitions/app.Response'
  30318. security:
  30319. - ApiKeyAuth: []
  30320. summary: 查询掉期协议单
  30321. tags:
  30322. - 天津麦顿
  30323. /Trade/QueryRecieptOrder:
  30324. get:
  30325. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30326. parameters:
  30327. - description: 页码
  30328. in: query
  30329. name: page
  30330. type: integer
  30331. - description: 每页条数
  30332. in: query
  30333. name: pagesize
  30334. type: integer
  30335. - description: 商品ID
  30336. in: query
  30337. name: goodsID
  30338. required: true
  30339. type: integer
  30340. - description: 所属账户名称
  30341. in: query
  30342. name: accountName
  30343. type: string
  30344. - description: 市场ID
  30345. in: query
  30346. name: marketID
  30347. type: integer
  30348. - description: 方向 - 0:买 1:卖
  30349. in: query
  30350. name: buyorsell
  30351. required: true
  30352. type: integer
  30353. produces:
  30354. - application/json
  30355. responses:
  30356. "200":
  30357. description: OK
  30358. schema:
  30359. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30367. tags:
  30368. - 通用交易
  30369. /User/AddMessageBoard:
  30370. post:
  30371. parameters:
  30372. - description: 用户ID
  30373. in: query
  30374. name: userID
  30375. required: true
  30376. type: integer
  30377. - description: 留言信息
  30378. in: query
  30379. name: message
  30380. required: true
  30381. type: string
  30382. - description: 联系电话
  30383. in: query
  30384. name: contactNum
  30385. required: true
  30386. type: string
  30387. produces:
  30388. - application/json
  30389. responses:
  30390. "200":
  30391. description: OK
  30392. schema:
  30393. $ref: '#/definitions/app.Response'
  30394. "500":
  30395. description: Internal Server Error
  30396. schema:
  30397. $ref: '#/definitions/app.Response'
  30398. security:
  30399. - ApiKeyAuth: []
  30400. summary: 添加用户留言板信息
  30401. tags:
  30402. - 用户信息
  30403. /User/AddUserFavoriteGoods:
  30404. post:
  30405. parameters:
  30406. - description: 用户ID
  30407. in: query
  30408. name: userID
  30409. required: true
  30410. type: integer
  30411. - description: 商品ID
  30412. in: query
  30413. name: goodsID
  30414. required: true
  30415. type: integer
  30416. produces:
  30417. - application/json
  30418. responses:
  30419. "200":
  30420. description: OK
  30421. schema:
  30422. $ref: '#/definitions/app.Response'
  30423. "500":
  30424. description: Internal Server Error
  30425. schema:
  30426. $ref: '#/definitions/app.Response'
  30427. security:
  30428. - ApiKeyAuth: []
  30429. summary: 添加用户商品收藏信息
  30430. tags:
  30431. - 用户信息
  30432. /User/GetLoginID:
  30433. get:
  30434. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30435. parameters:
  30436. - description: 登录代码
  30437. in: query
  30438. name: username
  30439. required: true
  30440. type: string
  30441. produces:
  30442. - application/json
  30443. responses:
  30444. "200":
  30445. description: OK
  30446. schema:
  30447. $ref: '#/definitions/app.Response'
  30448. "500":
  30449. description: Internal Server Error
  30450. schema:
  30451. $ref: '#/definitions/app.Response'
  30452. summary: 获取登录ID
  30453. tags:
  30454. - 用户信息
  30455. /User/GetUserAccount:
  30456. get:
  30457. parameters:
  30458. - description: 用户ID
  30459. in: query
  30460. name: userID
  30461. required: true
  30462. type: integer
  30463. produces:
  30464. - application/json
  30465. responses:
  30466. "200":
  30467. description: OK
  30468. schema:
  30469. $ref: '#/definitions/models.Useraccount'
  30470. "500":
  30471. description: Internal Server Error
  30472. schema:
  30473. $ref: '#/definitions/app.Response'
  30474. security:
  30475. - ApiKeyAuth: []
  30476. summary: 获取用户账号信息
  30477. tags:
  30478. - 用户信息
  30479. /User/GetUserAuthStatus:
  30480. get:
  30481. parameters:
  30482. - description: 用户ID
  30483. in: query
  30484. name: userID
  30485. required: true
  30486. type: integer
  30487. produces:
  30488. - application/json
  30489. responses:
  30490. "200":
  30491. description: OK
  30492. schema:
  30493. $ref: '#/definitions/app.Response'
  30494. "500":
  30495. description: Internal Server Error
  30496. schema:
  30497. $ref: '#/definitions/app.Response'
  30498. security:
  30499. - ApiKeyAuth: []
  30500. summary: 获取用户实名认证状态
  30501. tags:
  30502. - 用户信息
  30503. /User/LoginQuery:
  30504. get:
  30505. parameters:
  30506. - description: 登录账号
  30507. in: query
  30508. name: loginID
  30509. required: true
  30510. type: integer
  30511. produces:
  30512. - application/json
  30513. responses:
  30514. "200":
  30515. description: OK
  30516. schema:
  30517. $ref: '#/definitions/user.LoginQueryRsp'
  30518. "500":
  30519. description: Internal Server Error
  30520. schema:
  30521. $ref: '#/definitions/app.Response'
  30522. security:
  30523. - ApiKeyAuth: []
  30524. summary: 账户登录后信息查询
  30525. tags:
  30526. - 用户信息
  30527. /User/QueryMessageBoard:
  30528. get:
  30529. parameters:
  30530. - description: 用户ID
  30531. in: query
  30532. name: userID
  30533. required: true
  30534. type: integer
  30535. produces:
  30536. - application/json
  30537. responses:
  30538. "200":
  30539. description: OK
  30540. schema:
  30541. $ref: '#/definitions/models.Messageboard'
  30542. "500":
  30543. description: Internal Server Error
  30544. schema:
  30545. $ref: '#/definitions/app.Response'
  30546. security:
  30547. - ApiKeyAuth: []
  30548. summary: 获取用户留言板信息
  30549. tags:
  30550. - 用户信息
  30551. /User/QueryUserFavoriteGoodses:
  30552. get:
  30553. parameters:
  30554. - description: 用户ID
  30555. in: query
  30556. name: userID
  30557. required: true
  30558. type: integer
  30559. produces:
  30560. - application/json
  30561. responses:
  30562. "200":
  30563. description: OK
  30564. schema:
  30565. $ref: '#/definitions/models.Userfavoritegoods'
  30566. "500":
  30567. description: Internal Server Error
  30568. schema:
  30569. $ref: '#/definitions/app.Response'
  30570. security:
  30571. - ApiKeyAuth: []
  30572. summary: 获取用户商品收藏信息
  30573. tags:
  30574. - 用户信息
  30575. /User/QueryUserInfo:
  30576. get:
  30577. parameters:
  30578. - description: 用户ID
  30579. in: query
  30580. name: userID
  30581. required: true
  30582. type: integer
  30583. - description: 是否解密
  30584. in: query
  30585. name: isDecrypt
  30586. type: boolean
  30587. produces:
  30588. - application/json
  30589. responses:
  30590. "200":
  30591. description: OK
  30592. schema:
  30593. $ref: '#/definitions/models.Userinfo'
  30594. "500":
  30595. description: Internal Server Error
  30596. schema:
  30597. $ref: '#/definitions/app.Response'
  30598. security:
  30599. - ApiKeyAuth: []
  30600. summary: 获取用户信息
  30601. tags:
  30602. - 用户信息
  30603. /User/QueryUserReferNum:
  30604. get:
  30605. parameters:
  30606. - description: 用户ID
  30607. in: query
  30608. name: userID
  30609. required: true
  30610. type: integer
  30611. produces:
  30612. - application/json
  30613. responses:
  30614. "200":
  30615. description: OK
  30616. schema:
  30617. $ref: '#/definitions/app.Response'
  30618. "500":
  30619. description: Internal Server Error
  30620. schema:
  30621. $ref: '#/definitions/app.Response'
  30622. summary: 获取用户邀请码
  30623. tags:
  30624. - 用户信息
  30625. /User/RemoveUserFavoriteGoods:
  30626. post:
  30627. parameters:
  30628. - description: 用户ID
  30629. in: query
  30630. name: userID
  30631. required: true
  30632. type: integer
  30633. - description: 商品ID
  30634. in: query
  30635. name: goodsID
  30636. required: true
  30637. type: integer
  30638. produces:
  30639. - application/json
  30640. responses:
  30641. "200":
  30642. description: OK
  30643. schema:
  30644. $ref: '#/definitions/app.Response'
  30645. "500":
  30646. description: Internal Server Error
  30647. schema:
  30648. $ref: '#/definitions/app.Response'
  30649. security:
  30650. - ApiKeyAuth: []
  30651. summary: 移除用户商品收藏信息
  30652. tags:
  30653. - 用户信息
  30654. /User/UpdateUserAccountStatus:
  30655. post:
  30656. parameters:
  30657. - description: 用户ID
  30658. in: query
  30659. name: userID
  30660. required: true
  30661. type: integer
  30662. - description: 账户状态 - 4:正常 6:注销(停用)
  30663. in: query
  30664. name: accountStatus
  30665. required: true
  30666. type: integer
  30667. produces:
  30668. - application/json
  30669. responses:
  30670. "200":
  30671. description: OK
  30672. schema:
  30673. $ref: '#/definitions/app.Response'
  30674. "500":
  30675. description: Internal Server Error
  30676. schema:
  30677. $ref: '#/definitions/app.Response'
  30678. security:
  30679. - ApiKeyAuth: []
  30680. summary: 更新用户状态
  30681. tags:
  30682. - 用户信息
  30683. /WRTrade/GetAllDeliveryGoods:
  30684. get:
  30685. produces:
  30686. - application/json
  30687. responses:
  30688. "200":
  30689. description: OK
  30690. schema:
  30691. $ref: '#/definitions/app.Response'
  30692. "500":
  30693. description: Internal Server Error
  30694. schema:
  30695. $ref: '#/definitions/app.Response'
  30696. security:
  30697. - ApiKeyAuth: []
  30698. summary: 获取带仓单分类的种类信息
  30699. tags:
  30700. - 仓单贸易
  30701. - 仓单贸易
  30702. /WrTrade2/InsertXhcpSellBackApply:
  30703. post:
  30704. parameters:
  30705. - description: 回收申请
  30706. in: body
  30707. name: jsonBody
  30708. required: true
  30709. schema:
  30710. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30711. produces:
  30712. - application/json
  30713. responses:
  30714. "200":
  30715. description: OK
  30716. schema:
  30717. $ref: '#/definitions/app.Response'
  30718. "500":
  30719. description: Internal Server Error
  30720. schema:
  30721. $ref: '#/definitions/app.Response'
  30722. security:
  30723. - ApiKeyAuth: []
  30724. summary: 新增回收申请(新会陈皮)
  30725. tags:
  30726. - 仓单贸易v2
  30727. /WrTrade2/QueryDeliveryGoodsSection:
  30728. get:
  30729. produces:
  30730. - application/json
  30731. responses:
  30732. "200":
  30733. description: OK
  30734. schema:
  30735. items:
  30736. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30737. type: array
  30738. "500":
  30739. description: Internal Server Error
  30740. schema:
  30741. $ref: '#/definitions/app.Response'
  30742. security:
  30743. - ApiKeyAuth: []
  30744. summary: 查询板块(分类)
  30745. tags:
  30746. - 仓单贸易v2
  30747. /WrTrade2/QueryFaProductDetail:
  30748. get:
  30749. description: 页面 买卖大厅 -> 选择融资方案
  30750. parameters:
  30751. - description: 仓单要素id
  30752. in: query
  30753. name: wrfactortypeid
  30754. required: true
  30755. type: integer
  30756. produces:
  30757. - application/json
  30758. responses:
  30759. "200":
  30760. description: OK
  30761. schema:
  30762. items:
  30763. $ref: '#/definitions/models.WrFAProductDetail'
  30764. type: array
  30765. "500":
  30766. description: Internal Server Error
  30767. schema:
  30768. $ref: '#/definitions/app.Response'
  30769. security:
  30770. - ApiKeyAuth: []
  30771. summary: 查询融资产品列表
  30772. tags:
  30773. - 仓单贸易v2
  30774. /WrTrade2/QueryFilterItem:
  30775. get:
  30776. parameters:
  30777. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30778. in: query
  30779. name: itype
  30780. required: true
  30781. type: string
  30782. produces:
  30783. - application/json
  30784. responses:
  30785. "200":
  30786. description: OK
  30787. schema:
  30788. items:
  30789. $ref: '#/definitions/models.WrFilterItem'
  30790. type: array
  30791. "500":
  30792. description: Internal Server Error
  30793. schema:
  30794. $ref: '#/definitions/app.Response'
  30795. security:
  30796. - ApiKeyAuth: []
  30797. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30798. tags:
  30799. - 仓单贸易v2
  30800. /WrTrade2/QueryFtDeliveryGoods:
  30801. get:
  30802. produces:
  30803. - application/json
  30804. responses:
  30805. "200":
  30806. description: OK
  30807. schema:
  30808. items:
  30809. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30810. type: array
  30811. "500":
  30812. description: Internal Server Error
  30813. schema:
  30814. $ref: '#/definitions/app.Response'
  30815. security:
  30816. - ApiKeyAuth: []
  30817. summary: 查询品种品类筛选框列表
  30818. tags:
  30819. - 仓单贸易v2
  30820. /WrTrade2/QueryHoldLB:
  30821. get:
  30822. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30823. parameters:
  30824. - description: 资金账号
  30825. in: query
  30826. name: accountid
  30827. required: true
  30828. type: integer
  30829. - description: 仓库id
  30830. in: query
  30831. name: warehouseid
  30832. type: integer
  30833. - description: 品种id
  30834. in: query
  30835. name: deliverygoodsid
  30836. type: integer
  30837. - description: 品类id
  30838. in: query
  30839. name: wrstandardid
  30840. type: integer
  30841. - description: 仓单要素id
  30842. in: query
  30843. name: wrfactortypeid
  30844. type: integer
  30845. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30846. in: query
  30847. name: dgitemname
  30848. type: string
  30849. produces:
  30850. - application/json
  30851. responses:
  30852. "200":
  30853. description: OK
  30854. schema:
  30855. items:
  30856. $ref: '#/definitions/models.WrHoldLB'
  30857. type: array
  30858. "500":
  30859. description: Internal Server Error
  30860. schema:
  30861. $ref: '#/definitions/app.Response'
  30862. security:
  30863. - ApiKeyAuth: []
  30864. summary: 查询仓单持有记录
  30865. tags:
  30866. - 仓单贸易v2
  30867. /WrTrade2/QueryOrderQuote:
  30868. get:
  30869. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30870. 唯一确定1条记录
  30871. parameters:
  30872. - description: 页码
  30873. in: query
  30874. name: page
  30875. type: integer
  30876. - description: 每页条数
  30877. in: query
  30878. name: pagesize
  30879. type: integer
  30880. - description: 仓单贸易市场id
  30881. in: query
  30882. name: marketid
  30883. type: integer
  30884. - description: 价格方式 - 1:固定价 2-浮动价
  30885. in: query
  30886. name: wrpricetype
  30887. required: true
  30888. type: integer
  30889. - description: 0:仓单预售 1:仓单贸易
  30890. in: query
  30891. name: haswr
  30892. type: integer
  30893. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30894. in: query
  30895. name: dgitemname
  30896. type: string
  30897. - description: 仓库id(筛选条件)
  30898. in: query
  30899. name: warehouseid
  30900. type: integer
  30901. - description: 品种id
  30902. in: query
  30903. name: deliverygoodsid
  30904. type: integer
  30905. - description: 品类id
  30906. in: query
  30907. name: wrstandardid
  30908. type: integer
  30909. - description: 品牌id(dgfactoryitemid)
  30910. in: query
  30911. name: brandid
  30912. type: integer
  30913. - description: 年份id(dgfactoryitemid)
  30914. in: query
  30915. name: yearsid
  30916. type: integer
  30917. - description: 仓单要素id
  30918. in: query
  30919. name: wrfactortypeid
  30920. type: integer
  30921. - description: 交收月(yyyy-mm) 仓单预售填写
  30922. in: query
  30923. name: deliverymonth
  30924. type: string
  30925. produces:
  30926. - application/json
  30927. responses:
  30928. "200":
  30929. description: OK
  30930. schema:
  30931. items:
  30932. $ref: '#/definitions/models.WrOrderQuote'
  30933. type: array
  30934. "500":
  30935. description: Internal Server Error
  30936. schema:
  30937. $ref: '#/definitions/app.Response'
  30938. security:
  30939. - ApiKeyAuth: []
  30940. summary: 查询大厅行情列表
  30941. tags:
  30942. - 仓单贸易v2
  30943. /WrTrade2/QueryOrderQuoteDetail:
  30944. get:
  30945. parameters:
  30946. - description: 页码
  30947. in: query
  30948. name: page
  30949. type: integer
  30950. - description: 每页条数
  30951. in: query
  30952. name: pagesize
  30953. type: integer
  30954. - description: 仓单贸易市场id
  30955. in: query
  30956. name: marketid
  30957. type: integer
  30958. - description: 价格方式 - 1:固定价 2-浮动价
  30959. in: query
  30960. name: wrpricetype
  30961. required: true
  30962. type: integer
  30963. - description: 0:仓单预售 1:仓单贸易
  30964. in: query
  30965. name: haswr
  30966. type: integer
  30967. - description: 仓单要素id
  30968. in: query
  30969. name: wrfactortypeid
  30970. required: true
  30971. type: integer
  30972. - description: 期货商品id(浮动价方式时填)
  30973. in: query
  30974. name: goodsid
  30975. type: integer
  30976. - description: 买卖方向 0-买 1-卖
  30977. in: query
  30978. name: buyorsell
  30979. required: true
  30980. type: integer
  30981. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30982. in: query
  30983. name: deliverymonth
  30984. type: string
  30985. produces:
  30986. - application/json
  30987. responses:
  30988. "200":
  30989. description: OK
  30990. schema:
  30991. items:
  30992. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30993. type: array
  30994. "500":
  30995. description: Internal Server Error
  30996. schema:
  30997. $ref: '#/definitions/app.Response'
  30998. security:
  30999. - ApiKeyAuth: []
  31000. summary: 查询买卖大厅
  31001. tags:
  31002. - 仓单贸易v2
  31003. /WrTrade2/QueryOrderQuoteMyq:
  31004. get:
  31005. parameters:
  31006. - description: 页码
  31007. in: query
  31008. name: page
  31009. type: integer
  31010. - description: 每页条数
  31011. in: query
  31012. name: pagesize
  31013. type: integer
  31014. - description: 用户id
  31015. in: query
  31016. name: userid
  31017. required: true
  31018. type: integer
  31019. - description: 仓单贸易市场id
  31020. in: query
  31021. name: marketid
  31022. type: integer
  31023. - description: 0:仓单预售 1:仓单贸易
  31024. in: query
  31025. name: haswr
  31026. type: integer
  31027. - description: 买卖方向 0-买 1-卖
  31028. in: query
  31029. name: buyorsell
  31030. required: true
  31031. type: integer
  31032. - description: 品种id
  31033. in: query
  31034. name: deliverygoodsid
  31035. type: integer
  31036. - description: 品类id
  31037. in: query
  31038. name: wrstandardid
  31039. type: integer
  31040. - description: 交收月(yyyy-mm) 仓单预售填写
  31041. in: query
  31042. name: deliverymonth
  31043. type: string
  31044. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31045. in: query
  31046. name: dgitemname
  31047. type: string
  31048. produces:
  31049. - application/json
  31050. responses:
  31051. "200":
  31052. description: OK
  31053. schema:
  31054. items:
  31055. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31056. type: array
  31057. "500":
  31058. description: Internal Server Error
  31059. schema:
  31060. $ref: '#/definitions/app.Response'
  31061. security:
  31062. - ApiKeyAuth: []
  31063. summary: 查询贸易圈挂牌大厅
  31064. tags:
  31065. - 仓单贸易v2
  31066. /WrTrade2/QueryPerformancePlan:
  31067. get:
  31068. parameters:
  31069. - description: 用户id
  31070. in: query
  31071. name: userid
  31072. required: true
  31073. type: integer
  31074. - description: 买卖方向 0-买 1-卖
  31075. in: query
  31076. name: buyorsell
  31077. required: true
  31078. type: integer
  31079. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31080. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31081. in: query
  31082. name: status
  31083. type: string
  31084. - description: 开始交易日(yyyymmdd)
  31085. in: query
  31086. name: begindate
  31087. type: string
  31088. - description: 结束交易日(yyyymmdd)
  31089. in: query
  31090. name: enddate
  31091. type: string
  31092. produces:
  31093. - application/json
  31094. responses:
  31095. "200":
  31096. description: OK
  31097. schema:
  31098. items:
  31099. $ref: '#/definitions/models.WrPerformancePlan'
  31100. type: array
  31101. "500":
  31102. description: Internal Server Error
  31103. schema:
  31104. $ref: '#/definitions/app.Response'
  31105. security:
  31106. - ApiKeyAuth: []
  31107. summary: 查询履约信息
  31108. tags:
  31109. - 仓单贸易v2
  31110. /WrTrade2/QueryPermancePlanTmp:
  31111. get:
  31112. description: |-
  31113. 返回指定用户的模板和公共模板(用户id为空)
  31114. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31115. parameters:
  31116. - description: 用户id
  31117. in: query
  31118. name: userid
  31119. type: integer
  31120. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31121. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31122. in: query
  31123. name: tmptype
  31124. type: string
  31125. - description: 是否包含公共模板(用户id为空的) 1-包含
  31126. in: query
  31127. name: includepub
  31128. type: integer
  31129. - description: 市场id(天津麦顿指定此参数,其它不用)
  31130. in: query
  31131. name: marketid
  31132. type: integer
  31133. produces:
  31134. - application/json
  31135. responses:
  31136. "200":
  31137. description: OK
  31138. schema:
  31139. items:
  31140. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31141. type: array
  31142. "500":
  31143. description: Internal Server Error
  31144. schema:
  31145. $ref: '#/definitions/app.Response'
  31146. security:
  31147. - ApiKeyAuth: []
  31148. summary: 查询履约模板
  31149. tags:
  31150. - 仓单贸易v2
  31151. /WrTrade2/QuerySiteColumnDetail:
  31152. get:
  31153. parameters:
  31154. - description: 页码
  31155. in: query
  31156. name: page
  31157. type: integer
  31158. - description: 每页条数
  31159. in: query
  31160. name: pagesize
  31161. type: integer
  31162. - description: 所属栏目id
  31163. in: query
  31164. name: columnid
  31165. type: integer
  31166. produces:
  31167. - application/json
  31168. responses:
  31169. "200":
  31170. description: OK
  31171. schema:
  31172. items:
  31173. $ref: '#/definitions/models.WrSiteColumnDetail'
  31174. type: array
  31175. "500":
  31176. description: Internal Server Error
  31177. schema:
  31178. $ref: '#/definitions/app.Response'
  31179. security:
  31180. - ApiKeyAuth: []
  31181. summary: 查询资讯
  31182. tags:
  31183. - 仓单贸易v2
  31184. /WrTrade2/QuerySpotGroupTradeSum:
  31185. get:
  31186. produces:
  31187. - application/json
  31188. responses:
  31189. "200":
  31190. description: OK
  31191. schema:
  31192. items:
  31193. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31194. type: array
  31195. "500":
  31196. description: Internal Server Error
  31197. schema:
  31198. $ref: '#/definitions/app.Response'
  31199. security:
  31200. - ApiKeyAuth: []
  31201. summary: 查询指数
  31202. tags:
  31203. - 仓单贸易v2
  31204. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31205. get:
  31206. description: 查询的结果将会按日期 从小到大 排序
  31207. parameters:
  31208. - description: 现货商品id
  31209. in: query
  31210. name: deliverygoodsid
  31211. required: true
  31212. type: integer
  31213. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31214. in: query
  31215. name: lastnum
  31216. type: integer
  31217. produces:
  31218. - application/json
  31219. responses:
  31220. "200":
  31221. description: OK
  31222. schema:
  31223. items:
  31224. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31225. type: array
  31226. "500":
  31227. description: Internal Server Error
  31228. schema:
  31229. $ref: '#/definitions/app.Response'
  31230. security:
  31231. - ApiKeyAuth: []
  31232. summary: 查询指数详细(价格走势图)
  31233. tags:
  31234. - 仓单贸易v2
  31235. /WrTrade2/QueryWrAverageTradePrice:
  31236. get:
  31237. parameters:
  31238. - description: 页码
  31239. in: query
  31240. name: page
  31241. type: integer
  31242. - description: 每页条数
  31243. in: query
  31244. name: pagesize
  31245. type: integer
  31246. - description: 0:仓单预售 1:仓单贸易
  31247. in: query
  31248. name: haswr
  31249. required: true
  31250. type: integer
  31251. - description: 仓单要素id
  31252. in: query
  31253. name: wrfactortypeid
  31254. required: true
  31255. type: integer
  31256. produces:
  31257. - application/json
  31258. responses:
  31259. "200":
  31260. description: OK
  31261. schema:
  31262. items:
  31263. $ref: '#/definitions/models.WrAverageTradePrice'
  31264. type: array
  31265. "500":
  31266. description: Internal Server Error
  31267. schema:
  31268. $ref: '#/definitions/app.Response'
  31269. security:
  31270. - ApiKeyAuth: []
  31271. summary: 查询成交价(历史走势)
  31272. tags:
  31273. - 仓单贸易v2
  31274. /WrTrade2/QueryWrBrandAndYears:
  31275. get:
  31276. produces:
  31277. - application/json
  31278. responses:
  31279. "200":
  31280. description: OK
  31281. schema:
  31282. items:
  31283. $ref: '#/definitions/models.WrBrandAndYears'
  31284. type: array
  31285. "500":
  31286. description: Internal Server Error
  31287. schema:
  31288. $ref: '#/definitions/app.Response'
  31289. security:
  31290. - ApiKeyAuth: []
  31291. summary: 查询品牌和年份
  31292. tags:
  31293. - 仓单贸易v2
  31294. /WrTrade2/QueryWrBsGoodsInfo:
  31295. get:
  31296. description: 合约交易/买卖大厅/详情
  31297. parameters:
  31298. - description: 商品id
  31299. in: query
  31300. name: goodsid
  31301. required: true
  31302. type: integer
  31303. produces:
  31304. - application/json
  31305. responses:
  31306. "200":
  31307. description: OK
  31308. schema:
  31309. items:
  31310. $ref: '#/definitions/models.WrBsGoodsInfo'
  31311. type: array
  31312. "500":
  31313. description: Internal Server Error
  31314. schema:
  31315. $ref: '#/definitions/app.Response'
  31316. security:
  31317. - ApiKeyAuth: []
  31318. summary: 查询合约交易买卖大厅详情
  31319. tags:
  31320. - 仓单贸易v2
  31321. /WrTrade2/QueryWrBuybackDetail:
  31322. get:
  31323. parameters:
  31324. - description: 融资合同id
  31325. in: query
  31326. name: scfcontractid
  31327. type: integer
  31328. produces:
  31329. - application/json
  31330. responses:
  31331. "200":
  31332. description: OK
  31333. schema:
  31334. items:
  31335. $ref: '#/definitions/models.WrBuybackDetail'
  31336. type: array
  31337. "500":
  31338. description: Internal Server Error
  31339. schema:
  31340. $ref: '#/definitions/app.Response'
  31341. security:
  31342. - ApiKeyAuth: []
  31343. summary: 查询仓单回购明细
  31344. tags:
  31345. - 仓单贸易v2
  31346. /WrTrade2/QueryWrClientAdSpaceConfig:
  31347. get:
  31348. produces:
  31349. - application/json
  31350. responses:
  31351. "200":
  31352. description: OK
  31353. schema:
  31354. items:
  31355. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31356. type: array
  31357. "500":
  31358. description: Internal Server Error
  31359. schema:
  31360. $ref: '#/definitions/app.Response'
  31361. security:
  31362. - ApiKeyAuth: []
  31363. summary: 查询固定广告配置
  31364. tags:
  31365. - 仓单贸易v2
  31366. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31367. get:
  31368. parameters:
  31369. - description: 资金账号
  31370. in: query
  31371. name: accountid
  31372. required: true
  31373. type: integer
  31374. - description: 商品id
  31375. in: query
  31376. name: goodsid
  31377. required: true
  31378. type: integer
  31379. produces:
  31380. - application/json
  31381. responses:
  31382. "200":
  31383. description: OK
  31384. schema:
  31385. items:
  31386. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31387. type: array
  31388. "500":
  31389. description: Internal Server Error
  31390. schema:
  31391. $ref: '#/definitions/app.Response'
  31392. security:
  31393. - ApiKeyAuth: []
  31394. summary: 查询合约交收可点选仓单
  31395. tags:
  31396. - 仓单贸易v2
  31397. /WrTrade2/QueryWrDeliveryDetail:
  31398. get:
  31399. parameters:
  31400. - description: 用户id
  31401. in: query
  31402. name: userid
  31403. required: true
  31404. type: integer
  31405. - description: 资金账号id
  31406. in: query
  31407. name: accountid
  31408. type: integer
  31409. - description: 开始交易日(yyyymmdd)
  31410. in: query
  31411. name: begindate
  31412. type: string
  31413. - description: 结束交易日(yyyymmdd)
  31414. in: query
  31415. name: enddate
  31416. type: string
  31417. produces:
  31418. - application/json
  31419. responses:
  31420. "200":
  31421. description: OK
  31422. schema:
  31423. items:
  31424. $ref: '#/definitions/models.WrDeliveryDetail'
  31425. type: array
  31426. "500":
  31427. description: Internal Server Error
  31428. schema:
  31429. $ref: '#/definitions/app.Response'
  31430. security:
  31431. - ApiKeyAuth: []
  31432. summary: 查询交收
  31433. tags:
  31434. - 仓单贸易v2
  31435. /WrTrade2/QueryWrDraftUserInfo:
  31436. get:
  31437. parameters:
  31438. - description: 用户ID
  31439. in: query
  31440. name: userid
  31441. required: true
  31442. type: integer
  31443. - description: 用户状态 1:正常 2:注销
  31444. in: query
  31445. name: userstatus
  31446. type: integer
  31447. produces:
  31448. - application/json
  31449. responses:
  31450. "200":
  31451. description: OK
  31452. schema:
  31453. items:
  31454. $ref: '#/definitions/models.WrDraftUserInfo'
  31455. type: array
  31456. "500":
  31457. description: Internal Server Error
  31458. schema:
  31459. $ref: '#/definitions/app.Response'
  31460. security:
  31461. - ApiKeyAuth: []
  31462. summary: 查询实名认证信息
  31463. tags:
  31464. - 仓单贸易v2
  31465. /WrTrade2/QueryWrFactorTypeInfo:
  31466. get:
  31467. parameters:
  31468. - description: 仓单要素id
  31469. in: query
  31470. name: wrfactortypeid
  31471. required: true
  31472. type: integer
  31473. produces:
  31474. - application/json
  31475. responses:
  31476. "200":
  31477. description: OK
  31478. schema:
  31479. items:
  31480. $ref: '#/definitions/models.WrFactorTypeInfo'
  31481. type: array
  31482. "500":
  31483. description: Internal Server Error
  31484. schema:
  31485. $ref: '#/definitions/app.Response'
  31486. security:
  31487. - ApiKeyAuth: []
  31488. summary: 查询仓单要素详细信息
  31489. tags:
  31490. - 仓单贸易v2
  31491. /WrTrade2/QueryWrFactorTypeInfoEx:
  31492. get:
  31493. parameters:
  31494. - description: 仓单要素id
  31495. in: query
  31496. name: wrfactortypeid
  31497. required: true
  31498. type: integer
  31499. produces:
  31500. - application/json
  31501. responses:
  31502. "200":
  31503. description: OK
  31504. schema:
  31505. items:
  31506. $ref: '#/definitions/models.WrTypeItem'
  31507. type: array
  31508. "500":
  31509. description: Internal Server Error
  31510. schema:
  31511. $ref: '#/definitions/app.Response'
  31512. security:
  31513. - ApiKeyAuth: []
  31514. summary: 查询仓单要素详细信息列表项
  31515. tags:
  31516. - 仓单贸易v2
  31517. /WrTrade2/QueryWrFinanceBuyApply:
  31518. get:
  31519. description: 页面 融资信息+ / 申请单
  31520. parameters:
  31521. - description: 用户id
  31522. in: query
  31523. name: userid
  31524. required: true
  31525. type: integer
  31526. produces:
  31527. - application/json
  31528. responses:
  31529. "200":
  31530. description: OK
  31531. schema:
  31532. items:
  31533. $ref: '#/definitions/models.WrFinanceBuyApply'
  31534. type: array
  31535. "500":
  31536. description: Internal Server Error
  31537. schema:
  31538. $ref: '#/definitions/app.Response'
  31539. security:
  31540. - ApiKeyAuth: []
  31541. summary: 查询融资购买申请
  31542. tags:
  31543. - 仓单贸易v2
  31544. /WrTrade2/QueryWrFriendApply:
  31545. get:
  31546. parameters:
  31547. - description: 用户id
  31548. in: query
  31549. name: userid
  31550. required: true
  31551. type: integer
  31552. produces:
  31553. - application/json
  31554. responses:
  31555. "200":
  31556. description: OK
  31557. schema:
  31558. items:
  31559. $ref: '#/definitions/models.WrFriendApply'
  31560. type: array
  31561. "500":
  31562. description: Internal Server Error
  31563. schema:
  31564. $ref: '#/definitions/app.Response'
  31565. security:
  31566. - ApiKeyAuth: []
  31567. summary: 查询好友申请记录
  31568. tags:
  31569. - 仓单贸易v2
  31570. /WrTrade2/QueryWrGoodsInfo:
  31571. get:
  31572. parameters:
  31573. - description: 仓单贸易市场id
  31574. in: query
  31575. name: marketid
  31576. type: integer
  31577. - description: 0:仓单预售 1:仓单贸易
  31578. in: query
  31579. name: haswr
  31580. required: true
  31581. type: integer
  31582. - description: 仓单要素id
  31583. in: query
  31584. name: wrfactortypeid
  31585. required: true
  31586. type: integer
  31587. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31588. in: query
  31589. name: tmplateid
  31590. type: integer
  31591. produces:
  31592. - application/json
  31593. responses:
  31594. "200":
  31595. description: OK
  31596. schema:
  31597. items:
  31598. $ref: '#/definitions/models.WrGoodsInfo'
  31599. type: array
  31600. "500":
  31601. description: Internal Server Error
  31602. schema:
  31603. $ref: '#/definitions/app.Response'
  31604. security:
  31605. - ApiKeyAuth: []
  31606. summary: 查询仓单商品信息
  31607. tags:
  31608. - 仓单贸易v2
  31609. /WrTrade2/QueryWrMarketTradeConfig:
  31610. get:
  31611. parameters:
  31612. - description: 市场id
  31613. in: query
  31614. name: marketid
  31615. type: integer
  31616. produces:
  31617. - application/json
  31618. responses:
  31619. "200":
  31620. description: OK
  31621. schema:
  31622. items:
  31623. $ref: '#/definitions/models.WrMarketTradeConfig'
  31624. type: array
  31625. "500":
  31626. description: Internal Server Error
  31627. schema:
  31628. $ref: '#/definitions/app.Response'
  31629. security:
  31630. - ApiKeyAuth: []
  31631. summary: 查询市场交易参数配置
  31632. tags:
  31633. - 仓单贸易v2
  31634. /WrTrade2/QueryWrOrderDetail:
  31635. get:
  31636. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31637. parameters:
  31638. - description: 页码
  31639. in: query
  31640. name: page
  31641. type: integer
  31642. - description: 每页条数
  31643. in: query
  31644. name: pagesize
  31645. type: integer
  31646. - description: 用户id
  31647. in: query
  31648. name: userid
  31649. required: true
  31650. type: integer
  31651. - description: 仓单贸易市场id
  31652. in: query
  31653. name: marketid
  31654. type: integer
  31655. - description: 0:仓单预售 1:仓单贸易
  31656. in: query
  31657. name: haswr
  31658. required: true
  31659. type: integer
  31660. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31661. in: query
  31662. name: bcancel
  31663. type: integer
  31664. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31665. in: query
  31666. name: wrtradetype
  31667. type: integer
  31668. - description: 开始交易日(yyyymmdd)
  31669. in: query
  31670. name: begindate
  31671. type: string
  31672. - description: 结束交易日(yyyymmdd)
  31673. in: query
  31674. name: enddate
  31675. type: string
  31676. produces:
  31677. - application/json
  31678. responses:
  31679. "200":
  31680. description: OK
  31681. schema:
  31682. items:
  31683. $ref: '#/definitions/models.WrOrderDetail'
  31684. type: array
  31685. "500":
  31686. description: Internal Server Error
  31687. schema:
  31688. $ref: '#/definitions/app.Response'
  31689. security:
  31690. - ApiKeyAuth: []
  31691. summary: 查询仓单委托单
  31692. tags:
  31693. - 仓单贸易v2
  31694. /WrTrade2/QueryWrOutInApply:
  31695. get:
  31696. parameters:
  31697. - description: 页码
  31698. in: query
  31699. name: page
  31700. type: integer
  31701. - description: 每页条数
  31702. in: query
  31703. name: pagesize
  31704. type: integer
  31705. - description: 用户id
  31706. in: query
  31707. name: userid
  31708. required: true
  31709. type: integer
  31710. - description: 开始交易日(yyyymmdd)
  31711. in: query
  31712. name: begindate
  31713. type: string
  31714. - description: 结束交易日(yyyymmdd)
  31715. in: query
  31716. name: enddate
  31717. type: string
  31718. produces:
  31719. - application/json
  31720. responses:
  31721. "200":
  31722. description: OK
  31723. schema:
  31724. items:
  31725. $ref: '#/definitions/models.WrOutInApply'
  31726. type: array
  31727. "500":
  31728. description: Internal Server Error
  31729. schema:
  31730. $ref: '#/definitions/app.Response'
  31731. security:
  31732. - ApiKeyAuth: []
  31733. summary: 查询提货申请
  31734. tags:
  31735. - 仓单贸易v2
  31736. /WrTrade2/QueryWrPerformancePlanStep:
  31737. get:
  31738. parameters:
  31739. - description: 履约计划id(performanceplanid)
  31740. in: query
  31741. name: planid
  31742. required: true
  31743. type: integer
  31744. - description: 当前步骤id
  31745. in: query
  31746. name: curstepid
  31747. type: integer
  31748. produces:
  31749. - application/json
  31750. responses:
  31751. "200":
  31752. description: OK
  31753. schema:
  31754. items:
  31755. $ref: '#/definitions/models.WrPerformancePlanStep'
  31756. type: array
  31757. "500":
  31758. description: Internal Server Error
  31759. schema:
  31760. $ref: '#/definitions/app.Response'
  31761. security:
  31762. - ApiKeyAuth: []
  31763. summary: 查询履约信息详情
  31764. tags:
  31765. - 仓单贸易v2
  31766. /WrTrade2/QueryWrPerformanceStepType:
  31767. get:
  31768. produces:
  31769. - application/json
  31770. responses:
  31771. "200":
  31772. description: OK
  31773. schema:
  31774. items:
  31775. $ref: '#/definitions/models.WrPerformanceStepType'
  31776. type: array
  31777. "500":
  31778. description: Internal Server Error
  31779. schema:
  31780. $ref: '#/definitions/app.Response'
  31781. security:
  31782. - ApiKeyAuth: []
  31783. summary: 查询履约步骤枚举
  31784. tags:
  31785. - 仓单贸易v2
  31786. /WrTrade2/QueryWrPosition:
  31787. get:
  31788. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31789. parameters:
  31790. - description: 用户id
  31791. in: query
  31792. name: userid
  31793. required: true
  31794. type: integer
  31795. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31796. in: query
  31797. name: querytype
  31798. required: true
  31799. type: integer
  31800. - description: 0:仓单预售 1:仓单贸易
  31801. in: query
  31802. name: haswr
  31803. required: true
  31804. type: integer
  31805. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31806. in: query
  31807. name: dgitemname
  31808. type: string
  31809. - description: 仓库id(筛选条件)
  31810. in: query
  31811. name: warehouseid
  31812. type: integer
  31813. - description: 品种id
  31814. in: query
  31815. name: deliverygoodsid
  31816. type: integer
  31817. - description: 品类id
  31818. in: query
  31819. name: wrstandardid
  31820. type: integer
  31821. produces:
  31822. - application/json
  31823. responses:
  31824. "200":
  31825. description: OK
  31826. schema:
  31827. items:
  31828. $ref: '#/definitions/models.WrPosition'
  31829. type: array
  31830. "500":
  31831. description: Internal Server Error
  31832. schema:
  31833. $ref: '#/definitions/app.Response'
  31834. security:
  31835. - ApiKeyAuth: []
  31836. summary: 查询现货(预售)仓单持仓
  31837. tags:
  31838. - 仓单贸易v2
  31839. /WrTrade2/QueryWrPreSaleInfo:
  31840. get:
  31841. parameters:
  31842. - description: 市场id
  31843. in: query
  31844. name: marketid
  31845. type: integer
  31846. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31847. in: query
  31848. name: presalestatus
  31849. type: string
  31850. - description: 摇号标识 - 0:未摇号 1:已摇号
  31851. in: query
  31852. name: lotteryflag
  31853. type: integer
  31854. - description: 最近多少条记录(按创建时间倒序)
  31855. in: query
  31856. name: lastnum
  31857. type: integer
  31858. produces:
  31859. - application/json
  31860. responses:
  31861. "200":
  31862. description: OK
  31863. schema:
  31864. items:
  31865. $ref: '#/definitions/models.WrPreSaleInfo'
  31866. type: array
  31867. "500":
  31868. description: Internal Server Error
  31869. schema:
  31870. $ref: '#/definitions/app.Response'
  31871. security:
  31872. - ApiKeyAuth: []
  31873. summary: 查询新品发布
  31874. tags:
  31875. - 仓单贸易v2
  31876. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31877. get:
  31878. parameters:
  31879. - description: 市场id
  31880. in: query
  31881. name: marketid
  31882. required: true
  31883. type: integer
  31884. - description: 现货商品id
  31885. in: query
  31886. name: wrstandardid
  31887. required: true
  31888. type: integer
  31889. - description: 开始交易日(yyyymmdd)
  31890. in: query
  31891. name: begindate
  31892. type: string
  31893. - description: 结束交易日(yyyymmdd)
  31894. in: query
  31895. name: enddate
  31896. type: string
  31897. - description: 最近多少条记录(按交易日倒序)
  31898. in: query
  31899. name: lastnum
  31900. type: integer
  31901. - description: 是否今日
  31902. in: query
  31903. name: istoday
  31904. type: boolean
  31905. produces:
  31906. - application/json
  31907. responses:
  31908. "200":
  31909. description: OK
  31910. schema:
  31911. items:
  31912. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31913. type: array
  31914. "500":
  31915. description: Internal Server Error
  31916. schema:
  31917. $ref: '#/definitions/app.Response'
  31918. security:
  31919. - ApiKeyAuth: []
  31920. summary: 查询价格走势
  31921. tags:
  31922. - 仓单贸易v2
  31923. /WrTrade2/QueryWrScfContract:
  31924. get:
  31925. parameters:
  31926. - description: 用户id
  31927. in: query
  31928. name: userid
  31929. required: true
  31930. type: integer
  31931. - description: 融资合同id
  31932. in: query
  31933. name: scfcontractid
  31934. type: integer
  31935. produces:
  31936. - application/json
  31937. responses:
  31938. "200":
  31939. description: OK
  31940. schema:
  31941. items:
  31942. $ref: '#/definitions/models.WrScfContract'
  31943. type: array
  31944. "500":
  31945. description: Internal Server Error
  31946. schema:
  31947. $ref: '#/definitions/app.Response'
  31948. security:
  31949. - ApiKeyAuth: []
  31950. summary: 查询仓单贸易融资合同
  31951. tags:
  31952. - 仓单贸易v2
  31953. /WrTrade2/QueryWrScfContractInterest:
  31954. get:
  31955. parameters:
  31956. - description: 融资合同id
  31957. in: query
  31958. name: scfcontractid
  31959. type: integer
  31960. produces:
  31961. - application/json
  31962. responses:
  31963. "200":
  31964. description: OK
  31965. schema:
  31966. items:
  31967. $ref: '#/definitions/models.WrScfContractInterest'
  31968. type: array
  31969. "500":
  31970. description: Internal Server Error
  31971. schema:
  31972. $ref: '#/definitions/app.Response'
  31973. security:
  31974. - ApiKeyAuth: []
  31975. summary: 查询融资合同费用明细
  31976. tags:
  31977. - 仓单贸易v2
  31978. /WrTrade2/QueryWrSearchUser:
  31979. get:
  31980. parameters:
  31981. - description: 用户名称(模糊匹配)
  31982. in: query
  31983. name: username
  31984. required: true
  31985. type: string
  31986. produces:
  31987. - application/json
  31988. responses:
  31989. "200":
  31990. description: OK
  31991. schema:
  31992. items:
  31993. $ref: '#/definitions/models.WrSearchUser'
  31994. type: array
  31995. "500":
  31996. description: Internal Server Error
  31997. schema:
  31998. $ref: '#/definitions/app.Response'
  31999. security:
  32000. - ApiKeyAuth: []
  32001. summary: 查询用户
  32002. tags:
  32003. - 仓单贸易v2
  32004. /WrTrade2/QueryWrSpecialMatchOrder:
  32005. get:
  32006. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32007. parameters:
  32008. - description: 页码
  32009. in: query
  32010. name: page
  32011. type: integer
  32012. - description: 每页条数
  32013. in: query
  32014. name: pagesize
  32015. type: integer
  32016. - description: 用户id
  32017. in: query
  32018. name: userid
  32019. required: true
  32020. type: integer
  32021. - description: 仓单贸易市场id
  32022. in: query
  32023. name: marketid
  32024. type: integer
  32025. - description: 0:仓单预售 1:仓单贸易
  32026. in: query
  32027. name: haswr
  32028. required: true
  32029. type: integer
  32030. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32031. in: query
  32032. name: isspecified
  32033. type: integer
  32034. produces:
  32035. - application/json
  32036. responses:
  32037. "200":
  32038. description: OK
  32039. schema:
  32040. items:
  32041. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32042. type: array
  32043. "500":
  32044. description: Internal Server Error
  32045. schema:
  32046. $ref: '#/definitions/app.Response'
  32047. security:
  32048. - ApiKeyAuth: []
  32049. summary: 查询指定成交
  32050. tags:
  32051. - 仓单贸易v2
  32052. /WrTrade2/QueryWrStandardFactoryItem:
  32053. get:
  32054. parameters:
  32055. - description: 品类id
  32056. in: query
  32057. name: wrstandardid
  32058. required: true
  32059. type: integer
  32060. produces:
  32061. - application/json
  32062. responses:
  32063. "200":
  32064. description: OK
  32065. schema:
  32066. items:
  32067. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32068. type: array
  32069. "500":
  32070. description: Internal Server Error
  32071. schema:
  32072. $ref: '#/definitions/app.Response'
  32073. security:
  32074. - ApiKeyAuth: []
  32075. summary: 查询品类要素定义项
  32076. tags:
  32077. - 仓单贸易v2
  32078. /WrTrade2/QueryWrTradeBargainApply:
  32079. get:
  32080. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32081. 议价->对方议价 填写matchuserid=登录用户id
  32082. parameters:
  32083. - description: 议价人id(摘牌方)
  32084. in: query
  32085. name: userid
  32086. type: integer
  32087. - description: 挂牌方id(查对方议价时,填写此项)
  32088. in: query
  32089. name: matchuserid
  32090. type: integer
  32091. - description: 关联委托单id
  32092. in: query
  32093. name: wrtradeorderid
  32094. type: integer
  32095. - description: 0:仓单预售 1:仓单贸易
  32096. in: query
  32097. name: haswr
  32098. required: true
  32099. type: integer
  32100. - description: 开始交易日(yyyymmdd)
  32101. in: query
  32102. name: begindate
  32103. type: string
  32104. - description: 结束交易日(yyyymmdd)
  32105. in: query
  32106. name: enddate
  32107. type: string
  32108. produces:
  32109. - application/json
  32110. responses:
  32111. "200":
  32112. description: OK
  32113. schema:
  32114. items:
  32115. $ref: '#/definitions/models.WRTradeBargainApply'
  32116. type: array
  32117. "500":
  32118. description: Internal Server Error
  32119. schema:
  32120. $ref: '#/definitions/app.Response'
  32121. security:
  32122. - ApiKeyAuth: []
  32123. summary: 查询议价单
  32124. tags:
  32125. - 仓单贸易v2
  32126. /WrTrade2/QueryWrTradeDetail:
  32127. get:
  32128. parameters:
  32129. - description: 页码
  32130. in: query
  32131. name: page
  32132. type: integer
  32133. - description: 每页条数
  32134. in: query
  32135. name: pagesize
  32136. type: integer
  32137. - description: 用户id
  32138. in: query
  32139. name: userid
  32140. required: true
  32141. type: integer
  32142. - description: 仓单贸易市场id
  32143. in: query
  32144. name: marketid
  32145. type: integer
  32146. - description: 0:仓单预售 1:仓单贸易
  32147. in: query
  32148. name: haswr
  32149. required: true
  32150. type: integer
  32151. - description: 开始交易日(yyyymmdd)
  32152. in: query
  32153. name: begindate
  32154. type: string
  32155. - description: 结束交易日(yyyymmdd)
  32156. in: query
  32157. name: enddate
  32158. type: string
  32159. produces:
  32160. - application/json
  32161. responses:
  32162. "200":
  32163. description: OK
  32164. schema:
  32165. items:
  32166. $ref: '#/definitions/models.WrTradeDetail'
  32167. type: array
  32168. "500":
  32169. description: Internal Server Error
  32170. schema:
  32171. $ref: '#/definitions/app.Response'
  32172. security:
  32173. - ApiKeyAuth: []
  32174. summary: 查询仓单成交明细
  32175. tags:
  32176. - 仓单贸易v2
  32177. /WrTrade2/QueryWrTradeOrderDetail:
  32178. get:
  32179. parameters:
  32180. - description: 页码
  32181. in: query
  32182. name: page
  32183. type: integer
  32184. - description: 每页条数
  32185. in: query
  32186. name: pagesize
  32187. type: integer
  32188. - description: 商品id
  32189. in: query
  32190. name: goodsid
  32191. required: true
  32192. type: integer
  32193. - description: 买卖方向 0-买 1-卖
  32194. in: query
  32195. name: buyorsell
  32196. required: true
  32197. type: integer
  32198. produces:
  32199. - application/json
  32200. responses:
  32201. "200":
  32202. description: OK
  32203. schema:
  32204. items:
  32205. $ref: '#/definitions/models.WrTradeOrderDetail'
  32206. type: array
  32207. "500":
  32208. description: Internal Server Error
  32209. schema:
  32210. $ref: '#/definitions/app.Response'
  32211. security:
  32212. - ApiKeyAuth: []
  32213. summary: 查询合约交易买卖大厅
  32214. tags:
  32215. - 仓单贸易v2
  32216. /WrTrade2/QueryWrTradeQuote:
  32217. get:
  32218. parameters:
  32219. - description: 现货商品id
  32220. in: query
  32221. name: wrstandardid
  32222. required: true
  32223. type: integer
  32224. - description: 开始日期(yyyymmdd)
  32225. in: query
  32226. name: begindate
  32227. required: true
  32228. type: string
  32229. - description: 结束日期(yyyymmdd)
  32230. in: query
  32231. name: enddate
  32232. required: true
  32233. type: string
  32234. - description: 市场id
  32235. in: query
  32236. name: marketid
  32237. type: integer
  32238. produces:
  32239. - application/json
  32240. responses:
  32241. "200":
  32242. description: OK
  32243. schema:
  32244. items:
  32245. $ref: '#/definitions/models.Wrtradetradequote'
  32246. type: array
  32247. "500":
  32248. description: Internal Server Error
  32249. schema:
  32250. $ref: '#/definitions/app.Response'
  32251. security:
  32252. - ApiKeyAuth: []
  32253. summary: 查询仓单贸易成交行情
  32254. tags:
  32255. - 仓单贸易v2
  32256. /WrTrade2/QueryWrUserFriend:
  32257. get:
  32258. parameters:
  32259. - description: 用户id
  32260. in: query
  32261. name: userid
  32262. required: true
  32263. type: integer
  32264. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32265. in: query
  32266. name: newuserid
  32267. type: integer
  32268. produces:
  32269. - application/json
  32270. responses:
  32271. "200":
  32272. description: OK
  32273. schema:
  32274. items:
  32275. $ref: '#/definitions/models.WrUserFriend'
  32276. type: array
  32277. "500":
  32278. description: Internal Server Error
  32279. schema:
  32280. $ref: '#/definitions/app.Response'
  32281. security:
  32282. - ApiKeyAuth: []
  32283. summary: 查询我的朋友
  32284. tags:
  32285. - 仓单贸易v2
  32286. /WrTrade2/QueryWrUserReceiptInfo:
  32287. get:
  32288. parameters:
  32289. - description: 用户id
  32290. in: query
  32291. name: userid
  32292. type: integer
  32293. - description: 发票类型 - 1:个人 2:企业
  32294. in: query
  32295. name: receipttype
  32296. type: integer
  32297. produces:
  32298. - application/json
  32299. responses:
  32300. "200":
  32301. description: OK
  32302. schema:
  32303. items:
  32304. $ref: '#/definitions/models.WrUserReceiptInfo'
  32305. type: array
  32306. "500":
  32307. description: Internal Server Error
  32308. schema:
  32309. $ref: '#/definitions/app.Response'
  32310. security:
  32311. - ApiKeyAuth: []
  32312. summary: 查询发票信息
  32313. tags:
  32314. - 仓单贸易v2
  32315. /WrTrade2/QueryXhcpSellBackApply:
  32316. get:
  32317. parameters:
  32318. - description: 用户ID
  32319. in: query
  32320. name: userid
  32321. required: true
  32322. type: integer
  32323. produces:
  32324. - application/json
  32325. responses:
  32326. "200":
  32327. description: OK
  32328. schema:
  32329. items:
  32330. $ref: '#/definitions/models.Xhcpsellbackapply'
  32331. type: array
  32332. "500":
  32333. description: Internal Server Error
  32334. schema:
  32335. $ref: '#/definitions/app.Response'
  32336. security:
  32337. - ApiKeyAuth: []
  32338. summary: 查询我的回收申请(新会陈皮)
  32339. tags:
  32340. - 仓单贸易v2
  32341. /ZJ/GetBankTip:
  32342. get:
  32343. produces:
  32344. - application/json
  32345. responses:
  32346. "200":
  32347. description: OK
  32348. schema:
  32349. type: string
  32350. "500":
  32351. description: Internal Server Error
  32352. schema:
  32353. $ref: '#/definitions/app.Response'
  32354. summary: 获取中江网银端出入金提示信息
  32355. tags:
  32356. - 中江
  32357. /ZJ/GetCusBankChannels:
  32358. get:
  32359. produces:
  32360. - application/json
  32361. responses:
  32362. "200":
  32363. description: OK
  32364. schema:
  32365. items:
  32366. type: string
  32367. type: array
  32368. "500":
  32369. description: Internal Server Error
  32370. schema:
  32371. $ref: '#/definitions/app.Response'
  32372. summary: 获取中江出入金渠道显示列表
  32373. tags:
  32374. - 中江
  32375. securityDefinitions:
  32376. ApiKeyAuth:
  32377. in: header
  32378. name: Authorization
  32379. type: apiKey
  32380. Group:
  32381. in: header
  32382. name: Group
  32383. type: apiKey
  32384. LoginID:
  32385. in: header
  32386. name: LoginID
  32387. type: apiKey
  32388. swagger: "2.0"