swagger.yaml 900 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GZGoods:
  9647. properties:
  9648. cerno:
  9649. description: 证书编号 - 类型:2,4,5
  9650. type: string
  9651. cpcertno:
  9652. description: 金伯利证书编号 - 类型:3
  9653. type: string
  9654. goodsno:
  9655. description: 商品编号
  9656. type: string
  9657. imagepath:
  9658. description: 商品照片(相对地址)
  9659. type: string
  9660. isvalid:
  9661. description: 是否有效 - 0:无效 1:有效
  9662. type: integer
  9663. kppath:
  9664. description: 金伯利证书图片(相对地址) - 类型:3
  9665. type: string
  9666. kpweight:
  9667. description: 金伯利证书重量 - 类型:3
  9668. type: string
  9669. marketprice:
  9670. description: 市场价
  9671. type: string
  9672. mobile:
  9673. description: 手机号码
  9674. type: string
  9675. origin:
  9676. description: 原产地 - 类型:3
  9677. type: string
  9678. price:
  9679. description: 总价(价格) - 类型:1,2,3,4,5
  9680. type: number
  9681. priceper:
  9682. description: 克拉单价 - 类型:1,2,3,5
  9683. type: string
  9684. remainqty:
  9685. description: 剩余重量
  9686. type: number
  9687. remark:
  9688. description: 备注
  9689. type: string
  9690. sellusername:
  9691. description: 账户名称(机构名称)
  9692. type: string
  9693. settingmaterial:
  9694. description: 镶嵌材料 - 类型:4
  9695. type: string
  9696. size1:
  9697. description: 尺寸1 - 类型:2,4,5
  9698. type: string
  9699. size2:
  9700. description: 尺寸2 - 类型:2,4,5
  9701. type: string
  9702. size3:
  9703. description: 尺寸3 - 类型:2,4,5
  9704. type: string
  9705. stonedesc:
  9706. description: 配石描述 - 类型:4
  9707. type: string
  9708. userid:
  9709. description: 用户ID
  9710. type: integer
  9711. warehouseid:
  9712. description: 仓库ID
  9713. type: integer
  9714. warehousenamedisplay:
  9715. type: string
  9716. weight:
  9717. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9718. type: number
  9719. weightavg:
  9720. description: 平均单颗重量 - 类型:1,3
  9721. type: number
  9722. wrpath:
  9723. description: 仓单扫描件(相对地址)
  9724. type: string
  9725. wrstandardid:
  9726. description: 现货商品ID
  9727. type: integer
  9728. wrtradeorderid:
  9729. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9730. type: string
  9731. zscategory:
  9732. description: 钻石分类 - 枚举”ZSCategory“
  9733. type: integer
  9734. zscategorydisplay:
  9735. type: string
  9736. zscerttype:
  9737. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9738. type: integer
  9739. zscerttypedisplay:
  9740. type: string
  9741. zsclaritytype1:
  9742. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9743. type: integer
  9744. zsclaritytype1display:
  9745. type: string
  9746. zsclaritytype2:
  9747. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9748. type: integer
  9749. zsclaritytype2display:
  9750. type: string
  9751. zscolortype1:
  9752. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9753. type: integer
  9754. zscolortype1display:
  9755. type: string
  9756. zscolortype2:
  9757. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9758. type: integer
  9759. zscolortype2display:
  9760. type: string
  9761. zscrystaltype:
  9762. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9763. type: string
  9764. zscrystaltypedisplay:
  9765. type: string
  9766. zscurrencytype:
  9767. description: 货币类型 - 枚举“ZSCurrencyType”
  9768. type: integer
  9769. zscurrencytypedisplay:
  9770. type: string
  9771. zscurrencytypedisplayunit:
  9772. type: string
  9773. zscuttype1:
  9774. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9775. type: integer
  9776. zscuttype1display:
  9777. type: string
  9778. zscuttype2:
  9779. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9780. type: integer
  9781. zscuttype2display:
  9782. type: string
  9783. zsczcolor1type:
  9784. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9785. type: integer
  9786. zsczcolor1typedisplay:
  9787. type: string
  9788. zsczcolor2type:
  9789. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9790. type: integer
  9791. zsczcolor2typedisplay:
  9792. type: string
  9793. zsczcolor3type:
  9794. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9795. type: integer
  9796. zsczcolor3typedisplay:
  9797. type: string
  9798. zsfluorescencetype1:
  9799. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9800. type: integer
  9801. zsfluorescencetype1display:
  9802. type: string
  9803. zsfluorescencetype2:
  9804. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9805. type: integer
  9806. zsfluorescencetype2display:
  9807. type: string
  9808. zspolishtype1:
  9809. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9810. type: integer
  9811. zspolishtype1display:
  9812. type: string
  9813. zspolishtype2:
  9814. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9815. type: integer
  9816. zspolishtype2display:
  9817. type: string
  9818. zsshapetype:
  9819. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9820. type: string
  9821. zsshapetypedisplay:
  9822. type: string
  9823. zsstyletype:
  9824. description: 款式 - 类型:4
  9825. type: integer
  9826. zsstyletypedisplay:
  9827. type: string
  9828. zssymmetrytype1:
  9829. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9830. type: integer
  9831. zssymmetrytype1display:
  9832. type: string
  9833. zssymmetrytype2:
  9834. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9835. type: integer
  9836. zssymmetrytype2display:
  9837. type: string
  9838. required:
  9839. - goodsno
  9840. type: object
  9841. models.GZWarehouseinfo:
  9842. properties:
  9843. address:
  9844. description: 详细地址
  9845. type: string
  9846. areauserid:
  9847. description: 所属机构
  9848. type: integer
  9849. autoid:
  9850. description: 自增ID
  9851. type: integer
  9852. cityid:
  9853. description: 市
  9854. type: integer
  9855. contactname:
  9856. description: 联系人
  9857. type: string
  9858. contactnum:
  9859. description: 联系电话
  9860. type: string
  9861. countryid:
  9862. description: 国家
  9863. type: integer
  9864. createtime:
  9865. description: 创建时间
  9866. type: string
  9867. districtid:
  9868. description: 区
  9869. type: integer
  9870. hasvideo:
  9871. description: 是否有视频 - 0:无 1:有
  9872. type: integer
  9873. provinceid:
  9874. description: 省
  9875. type: integer
  9876. remark:
  9877. description: 审核备注
  9878. type: string
  9879. videourl:
  9880. description: 视频地址
  9881. type: string
  9882. warehousecode:
  9883. description: 仓库代码
  9884. type: string
  9885. warehousename:
  9886. description: 仓库名称
  9887. type: string
  9888. warehousestatus:
  9889. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9890. type: integer
  9891. warehousetype:
  9892. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9893. type: integer
  9894. type: object
  9895. models.Goods:
  9896. properties:
  9897. agreeunit:
  9898. description: 合约单位
  9899. type: number
  9900. areauserid:
  9901. description: 所属机构
  9902. type: integer
  9903. auditaccountid:
  9904. description: 审核操作员账号
  9905. type: integer
  9906. audittime:
  9907. description: 审核时间
  9908. type: string
  9909. cancelaccountid:
  9910. description: 注销操作员账号
  9911. type: integer
  9912. canceltime:
  9913. description: 注销时间
  9914. type: string
  9915. closepricemode:
  9916. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9917. type: integer
  9918. closepriceparam:
  9919. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9920. type: number
  9921. createtime:
  9922. description: 创建时间
  9923. type: string
  9924. creatorid:
  9925. description: 创建人
  9926. type: integer
  9927. currencyid:
  9928. description: 报价货币ID
  9929. type: integer
  9930. cutmode:
  9931. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9932. type: integer
  9933. decimalplace:
  9934. description: 报价小数位
  9935. type: integer
  9936. delistingdate:
  9937. description: 商品退市时间(状态:退市) -- 已作废
  9938. type: string
  9939. delistingmode:
  9940. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9941. type: integer
  9942. deliveryflag:
  9943. description: 交割标志 - 0:不可交割 1:可交割
  9944. type: integer
  9945. forceclosemode:
  9946. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9947. type: integer
  9948. forceclosevalue:
  9949. description: 定期强平参数 [收益权]
  9950. type: integer
  9951. goodscode:
  9952. description: 商品代码(内部)
  9953. type: string
  9954. goodscurrencyid:
  9955. description: 合约货币ID
  9956. type: integer
  9957. goodsgroupid:
  9958. description: 所属商品组ID
  9959. type: integer
  9960. goodsid:
  9961. description: 商品ID(自增ID SEQ_GOODS)
  9962. type: integer
  9963. goodsname:
  9964. description: 商品名称
  9965. type: string
  9966. goodsquotetype:
  9967. description: '合约报价类型: 1-直接报价 2-间接报价'
  9968. type: integer
  9969. goodsstatus:
  9970. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9971. type: integer
  9972. goodstradetype:
  9973. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9974. type: integer
  9975. goodunitid:
  9976. description: 报价单位ID
  9977. type: integer
  9978. hasquoter:
  9979. description: 是否有报价商 - 0:无报价商 1:有报价商
  9980. type: integer
  9981. hqprotecttime:
  9982. description: 行情保护时间(秒)
  9983. type: integer
  9984. innerdealmode:
  9985. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9986. type: integer
  9987. isbuylimited:
  9988. description: 是否限制建仓量 - 0:不限制 1:限制
  9989. type: integer
  9990. isvisible:
  9991. description: 游客是否可见 - 0:不可见 1:可见
  9992. type: integer
  9993. lasttradedate:
  9994. description: 最后交易日期(状态:待退市)
  9995. type: string
  9996. listingdate:
  9997. description: 交易开始日期
  9998. type: string
  9999. marketid:
  10000. description: 所属市场ID
  10001. type: integer
  10002. modifierid:
  10003. description: 修改人
  10004. type: integer
  10005. modifystatus:
  10006. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10007. type: integer
  10008. modifytime:
  10009. description: 修改时间
  10010. type: string
  10011. outerdealmode:
  10012. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10013. type: integer
  10014. outgoodscode:
  10015. description: 商品代码(外部)
  10016. type: string
  10017. pictureurl:
  10018. description: 商品图片
  10019. type: string
  10020. qtydecimalplace:
  10021. description: 成交量小数位
  10022. type: integer
  10023. quotegear:
  10024. description: 行情档位(1-10)
  10025. type: integer
  10026. quoteminunit:
  10027. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10028. type: integer
  10029. quoteshowtype:
  10030. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10031. type: integer
  10032. quoteshowtypeinterval:
  10033. description: 行情报价间隔时间(秒)(成交价时为0)
  10034. type: integer
  10035. remark:
  10036. description: 备注
  10037. type: string
  10038. required:
  10039. - goodscode
  10040. - goodsid
  10041. - goodsname
  10042. - marketid
  10043. type: object
  10044. models.GoodsIDAndName:
  10045. properties:
  10046. goodscode:
  10047. description: 商品代码(内部)
  10048. type: string
  10049. goodsid:
  10050. description: 商品ID(自增ID SEQ_GOODS)
  10051. type: integer
  10052. goodsname:
  10053. description: 商品名称
  10054. type: string
  10055. marketid:
  10056. description: 所属市场ID
  10057. type: integer
  10058. required:
  10059. - goodscode
  10060. - goodsid
  10061. - goodsname
  10062. - marketid
  10063. type: object
  10064. models.Goodsgroup:
  10065. properties:
  10066. agreeunit:
  10067. description: 合约单位
  10068. type: number
  10069. canshort:
  10070. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10071. type: integer
  10072. closepricemode:
  10073. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10074. type: integer
  10075. closepriceparam:
  10076. description: 强平最新价浮动比例 - 方式为2时使用
  10077. type: number
  10078. createtime:
  10079. description: 创建时间
  10080. type: string
  10081. creatorid:
  10082. description: 创建人
  10083. type: integer
  10084. currencyid:
  10085. description: 报价货币ID
  10086. type: integer
  10087. decimalplace:
  10088. description: 报价小数位
  10089. type: integer
  10090. exercisetype:
  10091. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10092. type: integer
  10093. exexchangeid:
  10094. description: 外部交易所ID[通道交易]
  10095. type: integer
  10096. goodsgroupid:
  10097. description: 商品组ID(自增ID)
  10098. type: integer
  10099. goodsgroupname:
  10100. description: 商品组名称
  10101. type: string
  10102. goodsgroupstatus:
  10103. description: 商品组状态 - 1:正常 2:注销
  10104. type: integer
  10105. goodunitid:
  10106. description: 报价单位ID
  10107. type: integer
  10108. innerdealmode:
  10109. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10110. type: integer
  10111. isbuylimited:
  10112. description: 是否限制建仓量 - 0:不限制 1:限制
  10113. type: integer
  10114. marketid:
  10115. description: 所属市场ID
  10116. type: integer
  10117. modifierid:
  10118. description: 修改人
  10119. type: integer
  10120. modifytime:
  10121. description: 修改时间
  10122. type: string
  10123. outerdealmode:
  10124. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10125. type: integer
  10126. outergroupcode:
  10127. description: 外部商品组代码[通道交易]
  10128. type: string
  10129. premiumdecimalplace:
  10130. description: 权利金小数位[场外期权]
  10131. type: integer
  10132. premiumspreadalgorithm:
  10133. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10134. type: integer
  10135. premiumspreadvalue:
  10136. description: 权利金点差值[场外期权]
  10137. type: number
  10138. qtydecimalplace:
  10139. description: 成交量小数位
  10140. type: integer
  10141. quotegear:
  10142. description: 行情档位(1-10)
  10143. type: integer
  10144. quoteminunit:
  10145. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10146. type: integer
  10147. quoterid:
  10148. description: 报价商ID[场外期权]
  10149. type: integer
  10150. quotesourcegroupid:
  10151. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10152. type: integer
  10153. syncgoodsqty:
  10154. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10155. type: integer
  10156. required:
  10157. - goodsgroupid
  10158. - goodsgroupname
  10159. - goodsgroupstatus
  10160. - marketid
  10161. type: object
  10162. models.Goodssortbypreposition:
  10163. properties:
  10164. goodscode:
  10165. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10166. type: string
  10167. goodsgroupcode:
  10168. description: 品种代码
  10169. type: string
  10170. prepositionqty:
  10171. description: 昨持仓量
  10172. type: integer
  10173. sortindex:
  10174. description: 排序
  10175. type: integer
  10176. tradedate:
  10177. description: 交易日
  10178. type: string
  10179. updatetime:
  10180. description: 更新时间
  10181. type: string
  10182. required:
  10183. - goodscode
  10184. - tradedate
  10185. type: object
  10186. models.Hedgeinnerholderdetail:
  10187. properties:
  10188. accountid:
  10189. description: 账号ID
  10190. type: integer
  10191. buyorsell:
  10192. description: 方向 - 0:买 1:卖
  10193. type: integer
  10194. freezeqty:
  10195. description: 冻结数量 - 按单平使用
  10196. type: integer
  10197. goodsid:
  10198. description: 商品ID
  10199. type: integer
  10200. holderamount:
  10201. description: 持仓金额 [商品币种]
  10202. type: number
  10203. holderdays:
  10204. description: 剩余冻结天数
  10205. type: integer
  10206. holderprice:
  10207. description: 持仓价格
  10208. type: number
  10209. holderqty:
  10210. description: 持仓数量
  10211. type: integer
  10212. marketid:
  10213. description: 市场ID
  10214. type: integer
  10215. openprice:
  10216. description: 建仓价格
  10217. type: number
  10218. openqty:
  10219. description: 建仓数量
  10220. type: integer
  10221. parentaccountid:
  10222. description: 所属母账户
  10223. type: integer
  10224. releaseamount:
  10225. description: 释放持仓金额[商品币种]
  10226. type: number
  10227. tradeamount:
  10228. description: 成交金额[账户]
  10229. type: number
  10230. tradedate:
  10231. description: 交易日(yyyyMMdd)
  10232. type: string
  10233. tradeid:
  10234. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10235. type: string
  10236. tradetime:
  10237. description: 交易时间
  10238. type: string
  10239. required:
  10240. - buyorsell
  10241. - tradeid
  10242. type: object
  10243. models.Hedgemarketopenlog:
  10244. properties:
  10245. accountid:
  10246. description: 资金账号[外部母账户]
  10247. type: integer
  10248. fcname:
  10249. description: 期货公司名称
  10250. type: string
  10251. handlestatus:
  10252. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10253. type: integer
  10254. marketid:
  10255. description: 市场ID
  10256. type: integer
  10257. status:
  10258. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10259. type: integer
  10260. tradedate:
  10261. description: 交易日(yyyyMMdd)
  10262. type: string
  10263. updatetime:
  10264. description: 更新时间
  10265. type: string
  10266. required:
  10267. - accountid
  10268. type: object
  10269. models.InternalEnableTradeDetail:
  10270. properties:
  10271. agreeunit:
  10272. description: 合约乘数
  10273. type: number
  10274. areauserid:
  10275. description: 企业ID
  10276. type: integer
  10277. convertratio:
  10278. description: 品种系数
  10279. type: number
  10280. deliverygoodscode:
  10281. description: 现货品种代码
  10282. type: string
  10283. deliverygoodsid:
  10284. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10285. type: integer
  10286. deliverygoodsname:
  10287. description: 现货品种名称
  10288. type: string
  10289. futurehedgeqty:
  10290. description: '[已关联数量]期货持仓套期量'
  10291. type: number
  10292. goodsid:
  10293. description: 期货合约ID
  10294. type: integer
  10295. hedgeditemid:
  10296. description: 被套期项目ID
  10297. type: string
  10298. hedgeditemnum:
  10299. description: 项目编号
  10300. type: string
  10301. tradeuserid:
  10302. description: 交易用户ID
  10303. type: integer
  10304. unexehedgeqty:
  10305. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10306. type: number
  10307. unexespotqty:
  10308. description: 未执行现货量
  10309. type: number
  10310. wrstandardcode:
  10311. description: 现货品类代码
  10312. type: string
  10313. wrstandardid:
  10314. description: 现货品类ID(SEQ_WRSTANDARD)
  10315. type: integer
  10316. wrstandardname:
  10317. description: 现货品类名称
  10318. type: string
  10319. required:
  10320. - areauserid
  10321. - goodsid
  10322. - tradeuserid
  10323. type: object
  10324. models.InternalUncorrelatedTradeDetail:
  10325. properties:
  10326. accountid:
  10327. description: 账号ID
  10328. type: integer
  10329. accountname:
  10330. description: 套期主体
  10331. type: string
  10332. agreeunit:
  10333. description: 合约乘数
  10334. type: number
  10335. areauserid:
  10336. description: 所属机构
  10337. type: integer
  10338. bizsubjectid:
  10339. description: 归属业务部门ID - SubjectID
  10340. type: integer
  10341. buyorsell:
  10342. description: 方向 - 0:买 1:卖
  10343. type: integer
  10344. channelbuildtype:
  10345. description: 委托单据类型 0:无 1:建仓 2:平仓
  10346. type: integer
  10347. convertratio:
  10348. description: 品种系数
  10349. type: number
  10350. createtime:
  10351. description: 创建时间
  10352. type: string
  10353. creatorid:
  10354. description: 创建人ID
  10355. type: integer
  10356. creatorsrc:
  10357. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10358. type: integer
  10359. enableqty:
  10360. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10361. type: number
  10362. enumdicname:
  10363. description: 单位
  10364. type: string
  10365. goodscode:
  10366. description: 合约代码
  10367. type: string
  10368. goodsgroupid:
  10369. description: 对冲品种ID[期货合约商品组ID]
  10370. type: integer
  10371. goodsid:
  10372. description: 商品ID
  10373. type: integer
  10374. goodsname:
  10375. description: 合约名称
  10376. type: string
  10377. hedgeditemid:
  10378. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10379. type: integer
  10380. hedgeflag:
  10381. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10382. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10383. type: integer
  10384. linkdetailid:
  10385. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10386. type: string
  10387. linkstatus:
  10388. description: 关联状态 - 1:成功 2:失败 3:解绑
  10389. type: integer
  10390. middlegoodsid:
  10391. description: 套保品种ID
  10392. type: integer
  10393. middlegoodsqty:
  10394. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10395. type: number
  10396. relatedlot:
  10397. description: '[数量]关联手数'
  10398. type: number
  10399. relatedmode:
  10400. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10401. type: integer
  10402. relatedqty:
  10403. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10404. type: number
  10405. retcode:
  10406. description: 返回码
  10407. type: integer
  10408. saleuserid:
  10409. description: 业务员ID
  10410. type: integer
  10411. tradedate:
  10412. description: 关联交易日(yyyyMMdd)
  10413. type: string
  10414. tradeid:
  10415. description: 成交单号
  10416. type: string
  10417. tradelot:
  10418. description: 成交手数
  10419. type: integer
  10420. tradeprice:
  10421. description: 成交价
  10422. type: number
  10423. tradetime:
  10424. description: 成交时间
  10425. type: string
  10426. tradetradedate:
  10427. description: 成交交易日(yyyyMMdd)
  10428. type: string
  10429. tradeuserid:
  10430. description: 交易用户ID
  10431. type: integer
  10432. type: object
  10433. models.Loginaccount:
  10434. properties:
  10435. accountname:
  10436. description: 账户名称
  10437. type: string
  10438. canoutin:
  10439. description: 是否可出入金 - 0:不可 1:可
  10440. type: integer
  10441. clientroleid:
  10442. description: 终端角色ID
  10443. type: integer
  10444. haslogined:
  10445. description: 是否已登录 - 0:未登录 1:已登录
  10446. type: integer
  10447. hasupdatedpwd:
  10448. description: 是否已更改密码 - 0:未修改 1:已修改
  10449. type: integer
  10450. lastloginip:
  10451. description: 最新登录地址
  10452. type: string
  10453. lastloginmode:
  10454. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10455. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10456. type: integer
  10457. lastloginremark:
  10458. description: 最新登录描述
  10459. type: string
  10460. lastlogintime:
  10461. description: 最新登录时间
  10462. type: string
  10463. logincode:
  10464. description: 登录代码
  10465. type: string
  10466. loginfailnum:
  10467. description: 连续登录失败次数(登录成功时清零)
  10468. type: integer
  10469. loginid:
  10470. description: 登陆账号
  10471. type: integer
  10472. loginport:
  10473. description: 最新登录端口
  10474. type: integer
  10475. loginstatus:
  10476. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10477. type: integer
  10478. loginusertype:
  10479. description: 登录账号类型 - 1:投资者 2:机构交易员
  10480. type: integer
  10481. mobile:
  10482. description: 手机号码(加密存储)
  10483. type: string
  10484. modifierid:
  10485. description: 修改人
  10486. type: integer
  10487. modifysrc:
  10488. description: 审核来源 - 1:管理端 2:终端
  10489. type: integer
  10490. modifytime:
  10491. description: 修改时间
  10492. type: string
  10493. pwdwrongcount:
  10494. description: 密码错误次数
  10495. type: integer
  10496. relateduserid:
  10497. description: 关联用户ID(机构)
  10498. type: integer
  10499. taaccountrighttype:
  10500. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10501. type: integer
  10502. unfreezetime:
  10503. description: 账户解冻时间
  10504. type: string
  10505. userid:
  10506. description: 用户ID
  10507. type: integer
  10508. required:
  10509. - loginid
  10510. type: object
  10511. models.MainAccountInfo:
  10512. properties:
  10513. accountid:
  10514. description: 账号id
  10515. type: integer
  10516. accountname:
  10517. description: 账号名称(taaccount表中的名称)
  10518. type: string
  10519. appid:
  10520. description: AppID
  10521. type: string
  10522. authcode:
  10523. description: 授权码
  10524. type: string
  10525. brokerid:
  10526. description: 经纪商id
  10527. type: string
  10528. fcid:
  10529. description: 期货公司id
  10530. type: integer
  10531. fcname:
  10532. description: 期货公司代码
  10533. type: string
  10534. hedgeaccountcode:
  10535. description: 外部账号代码(主账号登录代码)
  10536. type: string
  10537. hedgeaccountpwd:
  10538. description: 密码
  10539. type: string
  10540. ismain:
  10541. description: 是否主账号
  10542. type: integer
  10543. relateduserid:
  10544. description: 关联用户id
  10545. type: integer
  10546. userid:
  10547. description: 关联用户id
  10548. type: integer
  10549. type: object
  10550. models.Market:
  10551. properties:
  10552. auctionwrtype:
  10553. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10554. type: integer
  10555. canacceptquote:
  10556. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10557. type: integer
  10558. cangoodsexercise:
  10559. description: '[期权]是否可现货行权- 0:否 1:是'
  10560. type: integer
  10561. cangoodsexercisetype:
  10562. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10563. type: integer
  10564. canmanualquotestrike:
  10565. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10566. type: integer
  10567. canmutistage:
  10568. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10569. type: integer
  10570. canpreexercise:
  10571. description: '[期权]是否可预申报- 0:否 1:是'
  10572. type: integer
  10573. clearinterval:
  10574. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10575. type: integer
  10576. contracttmp:
  10577. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10578. type: string
  10579. exchareaid:
  10580. description: 所属交易所,可以没有
  10581. type: integer
  10582. goodstype:
  10583. description: 商品类型 - 1:交易商品 2:仓单商品
  10584. type: integer
  10585. hasrebate:
  10586. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10587. type: integer
  10588. hastradecredit:
  10589. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10590. type: integer
  10591. haswr:
  10592. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10593. type: integer
  10594. isdeductmargin:
  10595. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10596. type: integer
  10597. isrecordsource:
  10598. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10599. type: integer
  10600. isreleasemargin:
  10601. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10602. type: integer
  10603. marginformula:
  10604. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marginformula2:
  10607. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10608. type: integer
  10609. marketid:
  10610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10612. type: integer
  10613. marketname:
  10614. description: 市场名称
  10615. type: string
  10616. marketserviceid:
  10617. description: 市场服务ID
  10618. type: integer
  10619. marketstatus:
  10620. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10621. type: integer
  10622. markettype:
  10623. description: 市场类型- 1:非交易服务 2:交易服务
  10624. type: integer
  10625. matchermode:
  10626. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10627. type: integer
  10628. openmethod:
  10629. description: 开盘模式 - 0 自动 1手动
  10630. type: integer
  10631. otcuserid:
  10632. description: 场外期权做市商[场外期权]
  10633. type: integer
  10634. outersynctime:
  10635. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10636. type: string
  10637. pendingflag:
  10638. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10639. type: integer
  10640. pendingtime:
  10641. description: 待开市时间[通道交易-对冲](HH:mm)
  10642. type: string
  10643. performancetempid:
  10644. description: 履约计划模板ID - 作废
  10645. type: integer
  10646. premiumquotemode:
  10647. description: 权利金报价方式 - 1:自动 2:手动
  10648. type: integer
  10649. rebateratio:
  10650. description: 返利比率[竞价式]
  10651. type: number
  10652. reckonorder:
  10653. description: 结算顺序
  10654. type: integer
  10655. reckonpricealgorithm:
  10656. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10657. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10658. type: integer
  10659. reckonpriceparam:
  10660. description: 结算价参数
  10661. type: integer
  10662. reckontime:
  10663. description: 结算时间[通道交易-对冲](HH:mm)
  10664. type: string
  10665. roleprioritytype:
  10666. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10667. type: integer
  10668. selllistingauditflag:
  10669. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10670. type: integer
  10671. trademarkettype:
  10672. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10673. type: integer
  10674. trademode:
  10675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10676. 21:竞拍-大宗式 22:受托竞价
  10677. type: integer
  10678. tradeproperty:
  10679. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10680. 8:场外期权
  10681. type: integer
  10682. tradetype:
  10683. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10684. type: integer
  10685. required:
  10686. - marketid
  10687. - marketstatus
  10688. - openmethod
  10689. - reckonpricealgorithm
  10690. - trademode
  10691. - tradeproperty
  10692. type: object
  10693. models.Marketcalendar:
  10694. properties:
  10695. holidaydate:
  10696. description: 节假日期(yyyy-MM-dd)
  10697. type: string
  10698. marketid:
  10699. description: 市场ID
  10700. type: integer
  10701. type: object
  10702. models.Marketrun:
  10703. properties:
  10704. afternexttradedate:
  10705. description: 下下交易日
  10706. type: string
  10707. clearquoteflag:
  10708. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10709. type: integer
  10710. lastreckondate:
  10711. description: 最新交易日(结算成功)
  10712. type: string
  10713. machinedate:
  10714. description: 机器时间
  10715. type: string
  10716. manualflag:
  10717. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10718. type: integer
  10719. marketid:
  10720. description: 市场ID
  10721. type: integer
  10722. nexttradedate:
  10723. description: 下一交易日
  10724. type: string
  10725. pretradedate:
  10726. description: 上一交易日
  10727. type: string
  10728. reckonflag:
  10729. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10730. type: integer
  10731. runstatus:
  10732. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10733. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10734. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10735. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10736. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10737. 62.今日免清算
  10738. type: integer
  10739. sectionid:
  10740. description: 时间段号[多时段时用]
  10741. type: integer
  10742. tradedate:
  10743. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10744. type: string
  10745. tradedate2:
  10746. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10747. type: string
  10748. updatetime:
  10749. description: 更新时间
  10750. type: string
  10751. required:
  10752. - marketid
  10753. - nexttradedate
  10754. - reckonflag
  10755. - runstatus
  10756. - tradedate
  10757. - tradedate2
  10758. type: object
  10759. models.Messageboard:
  10760. properties:
  10761. contactnum:
  10762. description: 联系电话
  10763. type: string
  10764. createtime:
  10765. description: 创建时间
  10766. type: string
  10767. message:
  10768. description: 留言信息
  10769. type: string
  10770. messageboardid:
  10771. description: 留言簿ID(SEQ_MessageBoard)
  10772. type: integer
  10773. userid:
  10774. description: 用户ID
  10775. type: integer
  10776. required:
  10777. - messageboardid
  10778. type: object
  10779. models.MyBargainApply:
  10780. properties:
  10781. accountid:
  10782. description: 摘牌资金账号
  10783. type: integer
  10784. applyprice:
  10785. description: 申请价格
  10786. type: string
  10787. applyremark:
  10788. description: 申请备注
  10789. type: string
  10790. applystatus:
  10791. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10792. type: integer
  10793. applytime:
  10794. description: 申请时间
  10795. type: string
  10796. buyorsell:
  10797. description: 买卖 - 0:买 1:卖
  10798. type: integer
  10799. confirmprice:
  10800. description: 可接受价格(拒绝时填写)-作废
  10801. type: number
  10802. confirmqty:
  10803. description: 可接受数量(拒绝时填写)-作废
  10804. type: integer
  10805. confirmremark:
  10806. description: 确认备注
  10807. type: string
  10808. confirmtime:
  10809. description: 确认时间
  10810. type: string
  10811. confirmuserid:
  10812. description: 确认人
  10813. type: integer
  10814. goodsno:
  10815. description: 商品编号
  10816. type: string
  10817. handlestatus:
  10818. description: 处理状态
  10819. type: integer
  10820. ladingbillid:
  10821. description: 摘牌方提单ID [卖]
  10822. type: integer
  10823. marketid:
  10824. description: 市场ID
  10825. type: integer
  10826. matchaccountid:
  10827. description: 挂牌方资金账号
  10828. type: integer
  10829. matchuserid:
  10830. description: 挂牌方用户ID
  10831. type: integer
  10832. performancetemplateid:
  10833. description: 履约计划模板ID
  10834. type: integer
  10835. price:
  10836. description: 价格
  10837. type: number
  10838. priceper:
  10839. description: 克拉单价 - 类型:1,2,3,5
  10840. type: string
  10841. qty:
  10842. description: 申请数量
  10843. type: number
  10844. refprice:
  10845. description: 参考价格
  10846. type: string
  10847. retcode:
  10848. description: 委托返回代码
  10849. type: integer
  10850. sellusername:
  10851. description: 卖方
  10852. type: string
  10853. sizedisplay:
  10854. description: 尺寸
  10855. type: string
  10856. subnum:
  10857. description: 摘牌方提单子单号 [卖]
  10858. type: integer
  10859. tradedate:
  10860. description: 交易日(yyyyMMdd)
  10861. type: string
  10862. userid:
  10863. description: 摘牌人用户ID
  10864. type: integer
  10865. warehousenamedisplay:
  10866. type: string
  10867. wrbargainid:
  10868. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10869. type: string
  10870. wrtradeorderid:
  10871. description: 关联委托单ID
  10872. type: string
  10873. zscerttypedisplay:
  10874. type: string
  10875. zsclaritytype1display:
  10876. type: string
  10877. zsclaritytype2display:
  10878. type: string
  10879. zscolortype1display:
  10880. type: string
  10881. zscolortype2display:
  10882. type: string
  10883. zscrystaltypedisplay:
  10884. type: string
  10885. zscurrencytypedisplay:
  10886. type: string
  10887. zscurrencytypedisplayunit:
  10888. type: string
  10889. zscuttype1display:
  10890. type: string
  10891. zscuttype2display:
  10892. type: string
  10893. zsczcolor1typedisplay:
  10894. type: string
  10895. zsczcolor2typedisplay:
  10896. type: string
  10897. zsczcolor3typedisplay:
  10898. type: string
  10899. zsfluorescencetype1display:
  10900. type: string
  10901. zsfluorescencetype2display:
  10902. type: string
  10903. zspolishtype1display:
  10904. type: string
  10905. zspolishtype2display:
  10906. type: string
  10907. zsshapetypedisplay:
  10908. type: string
  10909. zsstyletypedisplay:
  10910. type: string
  10911. zssymmetrytype1display:
  10912. type: string
  10913. zssymmetrytype2display:
  10914. type: string
  10915. required:
  10916. - userid
  10917. type: object
  10918. models.MyBuyOrder:
  10919. properties:
  10920. accountid:
  10921. description: 资金账户ID
  10922. type: integer
  10923. marketid:
  10924. description: 市场ID
  10925. type: integer
  10926. ordertime:
  10927. description: 委托时间
  10928. type: string
  10929. origin:
  10930. description: 原产地
  10931. type: string
  10932. performancetemplateid:
  10933. description: 履约计划模板ID
  10934. type: integer
  10935. remark:
  10936. description: 备注
  10937. type: string
  10938. userid:
  10939. description: 用户ID
  10940. type: integer
  10941. validtime:
  10942. description: 有效期限
  10943. type: string
  10944. warehouseids:
  10945. description: 仓库ID - 多个, 逗号分隔
  10946. type: string
  10947. warehouseinfosdisplay:
  10948. type: string
  10949. wrtradeorderid:
  10950. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10951. type: string
  10952. wrtradeorderstatus:
  10953. 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、
  10954. type: integer
  10955. zscategory:
  10956. description: 钻石分类 - 枚举”ZSCategory“
  10957. type: integer
  10958. zscategorydisplay:
  10959. type: string
  10960. zsclaritytype:
  10961. description: 净度 - 两个, 逗号分隔
  10962. type: string
  10963. zsclaritytypedisplay:
  10964. type: string
  10965. zscolortype:
  10966. description: 颜色 - 两个, 逗号分隔
  10967. type: string
  10968. zscolortypedisplay:
  10969. type: string
  10970. zscrystaltype:
  10971. description: 晶型 - 多个,逗号分隔
  10972. type: string
  10973. zscrystaltypedisplay:
  10974. type: string
  10975. zscurrencytype:
  10976. description: 货币类型 - 多个, 逗号分隔
  10977. type: string
  10978. zscurrencytypedisplay:
  10979. type: string
  10980. zscuttype:
  10981. description: 切工 - 两个, 逗号分隔
  10982. type: string
  10983. zscuttypedisplay:
  10984. type: string
  10985. zsczcolor1type:
  10986. description: 彩钻颜色1, 逗号分隔
  10987. type: string
  10988. zsczcolor1typedisplay:
  10989. type: string
  10990. zsczcolor2type:
  10991. description: 彩钻颜色2, 逗号分隔
  10992. type: string
  10993. zsczcolor2typedisplay:
  10994. type: string
  10995. zsczcolor3type:
  10996. description: 彩钻颜色3, 逗号分隔
  10997. type: string
  10998. zsczcolor3typedisplay:
  10999. type: string
  11000. zsfluorescencetype:
  11001. description: 荧光 - 多个, 逗号分隔
  11002. type: string
  11003. zsfluorescencetypedisplay:
  11004. type: string
  11005. zspolishtype:
  11006. description: 抛光度 - 两个, 逗号分隔
  11007. type: string
  11008. zspolishtypedisplay:
  11009. type: string
  11010. zsshapetype:
  11011. description: 形状 - 多个, 逗号分隔
  11012. type: string
  11013. zsshapetypedisplay:
  11014. type: string
  11015. zssize:
  11016. description: 尺寸 - 两个小数, 逗号分隔
  11017. type: string
  11018. zsstyletype:
  11019. description: 款式 - 多个, 逗号分隔
  11020. type: string
  11021. zsstyletypedisplay:
  11022. type: string
  11023. zssymmetrytype:
  11024. description: 对称度 - 两个, 逗号分隔
  11025. type: string
  11026. zssymmetrytypedisplay:
  11027. type: string
  11028. zstabledisplay:
  11029. description: 求购信息
  11030. type: string
  11031. required:
  11032. - userid
  11033. type: object
  11034. models.MyDeListing:
  11035. properties:
  11036. buyaccountid:
  11037. description: 买方账号ID
  11038. type: integer
  11039. buychargevalue:
  11040. description: 买方手续费
  11041. type: number
  11042. buyuserid:
  11043. description: 买方用户ID
  11044. type: integer
  11045. deliverygoodsid:
  11046. description: 现货品种ID
  11047. type: integer
  11048. exchangerate:
  11049. description: 汇率
  11050. type: number
  11051. goodsno:
  11052. description: 商品编号
  11053. type: string
  11054. marketid:
  11055. description: 市场ID
  11056. type: integer
  11057. matchusername:
  11058. description: 对手方
  11059. type: string
  11060. oritradeamount:
  11061. description: 成交金额[商品币种]
  11062. type: number
  11063. performanceplanid:
  11064. description: 履约计划ID/合同ID
  11065. type: integer
  11066. price:
  11067. description: 价格
  11068. type: number
  11069. qty:
  11070. description: 成交重量
  11071. type: number
  11072. sellaccountid:
  11073. description: 卖方账号ID
  11074. type: integer
  11075. sellchargevalue:
  11076. description: 卖方手续费
  11077. type: number
  11078. selluserid:
  11079. description: 卖方用户ID
  11080. type: integer
  11081. sizedisplay:
  11082. description: 尺寸
  11083. type: string
  11084. tradeamount:
  11085. description: 成交金额
  11086. type: number
  11087. tradedate:
  11088. description: 交易日(yyyyMMdd)
  11089. type: string
  11090. tradeprice:
  11091. description: 成交价格
  11092. type: number
  11093. tradetime:
  11094. description: 成交时间
  11095. type: string
  11096. userid:
  11097. description: 用户ID
  11098. type: integer
  11099. warehousenamedisplay:
  11100. type: string
  11101. wrfactortypeid:
  11102. description: 仓单要素类型ID
  11103. type: integer
  11104. wrstandardid:
  11105. description: 现货商品ID
  11106. type: integer
  11107. wrtradedetailid:
  11108. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11109. type: string
  11110. zscategory:
  11111. description: 钻石分类 - 枚举”ZSCategory“
  11112. type: integer
  11113. zscategorydisplay:
  11114. type: string
  11115. zscerttypedisplay:
  11116. type: string
  11117. zsclaritytype1display:
  11118. type: string
  11119. zsclaritytype2display:
  11120. type: string
  11121. zscolortype1display:
  11122. type: string
  11123. zscolortype2display:
  11124. type: string
  11125. zscrystaltypedisplay:
  11126. type: string
  11127. zscurrencytype:
  11128. description: 货币类型 - 枚举“ZSCurrencyType”
  11129. type: integer
  11130. zscurrencytypedisplay:
  11131. type: string
  11132. zscurrencytypedisplayunit:
  11133. type: string
  11134. zscuttype1display:
  11135. type: string
  11136. zscuttype2display:
  11137. type: string
  11138. zsczcolor1typedisplay:
  11139. type: string
  11140. zsczcolor2typedisplay:
  11141. type: string
  11142. zsczcolor3typedisplay:
  11143. type: string
  11144. zsfluorescencetype1display:
  11145. type: string
  11146. zsfluorescencetype2display:
  11147. type: string
  11148. zspolishtype1display:
  11149. type: string
  11150. zspolishtype2display:
  11151. type: string
  11152. zsshapetypedisplay:
  11153. type: string
  11154. zsstyletypedisplay:
  11155. type: string
  11156. zssymmetrytype1display:
  11157. type: string
  11158. zssymmetrytype2display:
  11159. type: string
  11160. required:
  11161. - userid
  11162. type: object
  11163. models.MyDelistingApply:
  11164. properties:
  11165. applyprice:
  11166. description: 申请价格
  11167. type: number
  11168. applyqty:
  11169. description: 申请数量
  11170. type: number
  11171. applyremark:
  11172. description: 申请备注
  11173. type: string
  11174. applystatus:
  11175. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11176. type: integer
  11177. applytime:
  11178. description: 申请时间
  11179. type: string
  11180. auditremark:
  11181. description: 确认备注
  11182. type: string
  11183. audittime:
  11184. description: 确认时间
  11185. type: string
  11186. buyuserid:
  11187. description: 买方用户ID
  11188. type: integer
  11189. buyusername:
  11190. type: string
  11191. buywrtradeorderid:
  11192. description: 买委托单ID
  11193. type: string
  11194. goodsno:
  11195. description: 商品编号
  11196. type: string
  11197. ladingbillid:
  11198. description: 卖方提单ID
  11199. type: string
  11200. marketid:
  11201. description: 市场ID
  11202. type: integer
  11203. performancetemplateid:
  11204. description: 履约计划模板ID
  11205. type: integer
  11206. price:
  11207. description: 价格
  11208. type: number
  11209. sellaccountid:
  11210. description: 卖方账户ID
  11211. type: integer
  11212. selldelistingapplyid:
  11213. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11214. type: string
  11215. selltradeorderid:
  11216. description: 卖方委托ID(买方确认成交后更新)
  11217. type: string
  11218. selluserid:
  11219. description: 卖方用户ID
  11220. type: integer
  11221. sizedisplay:
  11222. description: 尺寸
  11223. type: string
  11224. subnum:
  11225. description: 卖方提单子单号
  11226. type: integer
  11227. warehouseinfosdisplay:
  11228. type: string
  11229. weight:
  11230. description: 克拉重量
  11231. type: number
  11232. wrfactortypeid:
  11233. description: 仓单要素类型ID
  11234. type: string
  11235. wrstandardid:
  11236. description: 现货商品ID
  11237. type: integer
  11238. zsallproperties:
  11239. type: string
  11240. zscategorydisplay:
  11241. type: string
  11242. zsclaritytypedisplay:
  11243. type: string
  11244. zscolortypedisplay:
  11245. type: string
  11246. zscrystaltypedisplay:
  11247. type: string
  11248. zscurrencytypedisplay:
  11249. type: string
  11250. zscuttypedisplay:
  11251. type: string
  11252. zsczcolor1typedisplay:
  11253. type: string
  11254. zsczcolor2typedisplay:
  11255. type: string
  11256. zsczcolor3typedisplay:
  11257. type: string
  11258. zsfluorescencetypedisplay:
  11259. type: string
  11260. zspolishtypedisplay:
  11261. type: string
  11262. zsshapetypedisplay:
  11263. type: string
  11264. zssizedisplay:
  11265. type: string
  11266. zsstyletypedisplay:
  11267. type: string
  11268. zssymmetrytypedisplay:
  11269. type: string
  11270. zstabledisplay:
  11271. type: string
  11272. required:
  11273. - selluserid
  11274. type: object
  11275. models.MyFavorite:
  11276. properties:
  11277. buyorsell:
  11278. description: 买卖 - 0:买 1:卖
  11279. type: integer
  11280. favoritestatus:
  11281. description: 收藏状态 - 1:正常 2:失效
  11282. type: integer
  11283. goodsno:
  11284. description: 商品编号
  11285. type: string
  11286. marketid:
  11287. description: 市场ID
  11288. type: integer
  11289. price:
  11290. description: 价格
  11291. type: number
  11292. priceper:
  11293. description: 克拉单价
  11294. type: string
  11295. sizedisplay:
  11296. description: 尺寸
  11297. type: string
  11298. userid:
  11299. description: 用户ID
  11300. type: integer
  11301. warehousenamedisplay:
  11302. type: string
  11303. weight:
  11304. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11305. type: number
  11306. weightavg:
  11307. description: 平均单颗重量 - 类型:1,3
  11308. type: number
  11309. wrfactortypeid:
  11310. description: 仓单要素类型ID/商品ID(77)
  11311. type: string
  11312. wrstandardid:
  11313. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11314. type: integer
  11315. wrtradeorderid:
  11316. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11317. type: string
  11318. zscategorydisplay:
  11319. type: string
  11320. zscerttypedisplay:
  11321. type: string
  11322. zsclaritytype1display:
  11323. type: string
  11324. zsclaritytype2display:
  11325. type: string
  11326. zscolortype1display:
  11327. type: string
  11328. zscolortype2display:
  11329. type: string
  11330. zscrystaltypedisplay:
  11331. type: string
  11332. zscurrencytypedisplay:
  11333. type: string
  11334. zscurrencytypedisplayunit:
  11335. type: string
  11336. zscuttype1display:
  11337. type: string
  11338. zscuttype2display:
  11339. type: string
  11340. zsczcolor1typedisplay:
  11341. type: string
  11342. zsczcolor2typedisplay:
  11343. type: string
  11344. zsczcolor3typedisplay:
  11345. type: string
  11346. zsfluorescencetype1display:
  11347. type: string
  11348. zsfluorescencetype2display:
  11349. type: string
  11350. zspolishtype1display:
  11351. type: string
  11352. zspolishtype2display:
  11353. type: string
  11354. zsshapetypedisplay:
  11355. type: string
  11356. zsstyletypedisplay:
  11357. type: string
  11358. zssymmetrytype1display:
  11359. type: string
  11360. zssymmetrytype2display:
  11361. type: string
  11362. required:
  11363. - userid
  11364. type: object
  11365. models.MyPerformanc:
  11366. properties:
  11367. accountname:
  11368. description: '[对手方]账户名称(机构名称)'
  11369. type: string
  11370. amount:
  11371. description: 履约金额
  11372. type: number
  11373. buyaccountid:
  11374. description: 买方账号
  11375. type: integer
  11376. buyerfreezeamount:
  11377. description: 买方履约前冻结资金
  11378. type: number
  11379. buyerfreezeamountremain:
  11380. description: 买方履约前冻结资金剩余
  11381. type: number
  11382. buyerinfo:
  11383. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11384. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11385. type: string
  11386. buyorsell:
  11387. description: 方向 - 0:买 1:卖
  11388. type: integer
  11389. buypaidamount:
  11390. description: 买方已冻/已扣金额
  11391. type: number
  11392. curstepid:
  11393. description: 当前步骤ID
  11394. type: string
  11395. goodsno:
  11396. description: 商品编号
  11397. type: string
  11398. overshortamount:
  11399. description: 溢短金额
  11400. type: number
  11401. paymenttype:
  11402. description: 买方支付方式 - 1:冻结 2:扣款
  11403. type: integer
  11404. performanceplanid:
  11405. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11406. type: string
  11407. performancestatus:
  11408. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11409. 9:超时待处理 10:超时关闭
  11410. type: integer
  11411. price:
  11412. description: 价格
  11413. type: number
  11414. priceper:
  11415. description: 克拉单价
  11416. type: string
  11417. relatedorderid:
  11418. description: 关联单号(履约类型的关联单号)
  11419. type: string
  11420. remaindays:
  11421. description: 剩余天数
  11422. type: integer
  11423. sellerfreezeamount:
  11424. description: 卖方履约前冻结资金
  11425. type: number
  11426. sellerfreezeamountremain:
  11427. description: 卖方履约前冻结资金剩余
  11428. type: number
  11429. sellerinfo:
  11430. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11431. "xxxxxxxx"}'
  11432. type: string
  11433. sellreceivedamount:
  11434. description: 卖方已收金额
  11435. type: number
  11436. sizedisplay:
  11437. description: 尺寸
  11438. type: string
  11439. steptypeid:
  11440. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11441. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11442. type: integer
  11443. warehousenamedisplay:
  11444. type: string
  11445. zscategorydisplay:
  11446. type: string
  11447. zscerttypedisplay:
  11448. type: string
  11449. zsclaritytype1display:
  11450. type: string
  11451. zsclaritytype2display:
  11452. type: string
  11453. zscolortype1display:
  11454. type: string
  11455. zscolortype2display:
  11456. type: string
  11457. zscrystaltypedisplay:
  11458. type: string
  11459. zscurrencytypedisplay:
  11460. type: string
  11461. zscurrencytypedisplayunit:
  11462. type: string
  11463. zscuttype1display:
  11464. type: string
  11465. zscuttype2display:
  11466. type: string
  11467. zsczcolor1typedisplay:
  11468. type: string
  11469. zsczcolor2typedisplay:
  11470. type: string
  11471. zsczcolor3typedisplay:
  11472. type: string
  11473. zsfluorescencetype1display:
  11474. type: string
  11475. zsfluorescencetype2display:
  11476. type: string
  11477. zspolishtype1display:
  11478. type: string
  11479. zspolishtype2display:
  11480. type: string
  11481. zsshapetypedisplay:
  11482. type: string
  11483. zsstyletypedisplay:
  11484. type: string
  11485. zssymmetrytype1display:
  11486. type: string
  11487. zssymmetrytype2display:
  11488. type: string
  11489. type: object
  11490. models.MySellOrder:
  11491. properties:
  11492. accountid:
  11493. description: 资金账号
  11494. type: integer
  11495. applyid:
  11496. description: 申请单ID
  11497. type: integer
  11498. attachment1:
  11499. description: 附件1
  11500. type: string
  11501. attachment2:
  11502. description: 附件2
  11503. type: string
  11504. buyorsell:
  11505. description: 买卖 - 0:买 1:卖
  11506. type: integer
  11507. canbargain:
  11508. description: 是否可议价 - 0:不可 1:可
  11509. type: integer
  11510. cancelqty:
  11511. description: 撤销数量
  11512. type: integer
  11513. canceltime:
  11514. description: 撤销时间
  11515. type: string
  11516. cerno:
  11517. type: string
  11518. chargealgorithm:
  11519. description: 手续费收取方式 1:比率 2:固定
  11520. type: integer
  11521. chargealgorithmvalue:
  11522. description: 手续费设置值(交易所部分)
  11523. type: number
  11524. chargealgorithmvalue2:
  11525. description: 手续费设置值(会员部分)
  11526. type: number
  11527. clientordertime:
  11528. description: 客户端委托时间
  11529. type: string
  11530. cpcertno:
  11531. type: string
  11532. exchangerate:
  11533. description: 汇率[67]
  11534. type: number
  11535. firstratio:
  11536. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11537. type: number
  11538. fixedprice:
  11539. description: '[克拉单价]固定价格 - [挂牌]'
  11540. type: number
  11541. freezecharge:
  11542. description: 冻结手续费
  11543. type: number
  11544. freezefirstamount:
  11545. description: 冻结首付金额 - [摘牌]
  11546. type: number
  11547. freezemargin:
  11548. description: 冻结保证金
  11549. type: number
  11550. goodsno:
  11551. description: 商品编号
  11552. type: string
  11553. imagepath:
  11554. type: string
  11555. isspecified:
  11556. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11557. type: integer
  11558. kppath:
  11559. type: string
  11560. kpweight:
  11561. type: string
  11562. marginalgorithm:
  11563. description: 保证金方式 - 1:比率 2:固定
  11564. type: integer
  11565. marginvalue:
  11566. description: 保证金设置值
  11567. type: number
  11568. marketid:
  11569. description: 市场ID
  11570. type: integer
  11571. marketprice:
  11572. type: string
  11573. orderamount:
  11574. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11575. type: number
  11576. ordertime:
  11577. description: 委托时间
  11578. type: string
  11579. performancetemplateid:
  11580. description: 履约计划模板ID
  11581. type: integer
  11582. price:
  11583. description: 价格
  11584. type: number
  11585. pricefactor:
  11586. description: 价格系数(浮动价时填写) - [挂牌]
  11587. type: number
  11588. pricemove:
  11589. description: 升贴水(浮动价时填写) - [挂牌]
  11590. type: number
  11591. priceper:
  11592. type: string
  11593. relatedwrtradeorderid:
  11594. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11595. type: integer
  11596. remark:
  11597. type: string
  11598. retcode:
  11599. description: 错误代码
  11600. type: integer
  11601. selledqty:
  11602. description: 成交重量
  11603. type: number
  11604. settingmaterial:
  11605. type: string
  11606. size1:
  11607. type: string
  11608. size2:
  11609. type: string
  11610. size3:
  11611. type: string
  11612. stonedesc:
  11613. type: string
  11614. totalqty:
  11615. description: 总重量
  11616. type: number
  11617. tradedate:
  11618. description: 交易日(yyyyMMdd)
  11619. type: string
  11620. tradeprice:
  11621. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11622. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11623. type: number
  11624. unfreezecharge:
  11625. description: 解冻手续费
  11626. type: number
  11627. unfreezefirstamount:
  11628. description: 解冻首付金额 - [摘牌]
  11629. type: number
  11630. unfreezemargin:
  11631. description: 解冻保证金
  11632. type: number
  11633. userid:
  11634. description: 用户ID
  11635. type: integer
  11636. uuid:
  11637. description: 发起端唯一id
  11638. type: string
  11639. validtime:
  11640. description: 有效期限
  11641. type: string
  11642. validtype:
  11643. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11644. type: integer
  11645. warehousenamedisplay:
  11646. type: string
  11647. wrbargainid:
  11648. description: 议价申请单ID
  11649. type: integer
  11650. wrfactortypeid:
  11651. description: 仓单要素类型ID/商品ID(77)
  11652. type: integer
  11653. wrpath:
  11654. type: string
  11655. wrpricetype:
  11656. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11657. type: integer
  11658. wrstandardid:
  11659. description: 现货商品ID
  11660. type: integer
  11661. wrtradeorderid:
  11662. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11663. type: string
  11664. wrtradeorderstatus:
  11665. 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:撤单解冻贷款失败
  11666. type: integer
  11667. wrtradetype:
  11668. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11669. type: integer
  11670. wrtransferuserid:
  11671. description: 仓单受让用户 - [摘牌]
  11672. type: integer
  11673. zscategory:
  11674. description: 钻石分类 - 枚举”ZSCategory“
  11675. type: integer
  11676. zscategorydisplay:
  11677. description: 钻石分类 - 描述
  11678. type: string
  11679. zscerttypedisplay:
  11680. type: string
  11681. zsclaritytype1display:
  11682. type: string
  11683. zsclaritytype2display:
  11684. type: string
  11685. zscolortype1display:
  11686. type: string
  11687. zscolortype2display:
  11688. type: string
  11689. zscrystaltype:
  11690. type: string
  11691. zscrystaltypedisplay:
  11692. type: string
  11693. zscurrencytype:
  11694. description: 货币类型 - 枚举“ZSCurrencyType”
  11695. type: integer
  11696. zscurrencytypedisplay:
  11697. type: string
  11698. zscurrencytypedisplayunit:
  11699. type: string
  11700. zscuttype1display:
  11701. type: string
  11702. zscuttype2display:
  11703. type: string
  11704. zsczcolor1typedisplay:
  11705. type: string
  11706. zsczcolor2typedisplay:
  11707. type: string
  11708. zsczcolor3typedisplay:
  11709. type: string
  11710. zsfluorescencetype1display:
  11711. type: string
  11712. zsfluorescencetype2display:
  11713. type: string
  11714. zspolishtype1display:
  11715. type: string
  11716. zspolishtype2display:
  11717. type: string
  11718. zsshapetypedisplay:
  11719. type: string
  11720. zsstyletypedisplay:
  11721. type: string
  11722. zssymmetrytype1display:
  11723. type: string
  11724. zssymmetrytype2display:
  11725. type: string
  11726. required:
  11727. - userid
  11728. type: object
  11729. models.MyWRPosition:
  11730. properties:
  11731. cerno:
  11732. description: 证书编号 - 类型:2,4,5
  11733. type: string
  11734. cpcertno:
  11735. description: 金伯利证书编号 - 类型:3
  11736. type: string
  11737. ffreezeqty:
  11738. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11739. type: number
  11740. ftotalqty:
  11741. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11742. type: number
  11743. goodsno:
  11744. description: 商品编号
  11745. type: string
  11746. imagepath:
  11747. description: 商品照片(相对地址)
  11748. type: string
  11749. isvalid:
  11750. description: 是否有效 - 0:无效 1:有效
  11751. type: integer
  11752. kppath:
  11753. description: 金伯利证书图片(相对地址) - 类型:3
  11754. type: string
  11755. kpweight:
  11756. description: 金伯利证书重量 - 类型:3
  11757. type: string
  11758. ladingbillid:
  11759. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11760. type: string
  11761. marketflag:
  11762. description: 是否上架,0-全部 1-是 2-否
  11763. type: integer
  11764. marketprice:
  11765. description: 市场价
  11766. type: string
  11767. origin:
  11768. description: 原产地 - 类型:3
  11769. type: string
  11770. price:
  11771. description: 总价(价格) - 类型:1,2,3,4,5
  11772. type: number
  11773. priceper:
  11774. description: 克拉单价 - 类型:1,2,3,5
  11775. type: string
  11776. remark:
  11777. description: 备注
  11778. type: string
  11779. sellmobile:
  11780. description: 手机号码(加密存储)
  11781. type: string
  11782. sellusername:
  11783. description: 账户名称(机构名称)
  11784. type: string
  11785. settingmaterial:
  11786. description: 镶嵌材料 - 类型:4
  11787. type: string
  11788. size1:
  11789. description: 尺寸1 - 类型:2,4,5
  11790. type: string
  11791. size2:
  11792. description: 尺寸2 - 类型:2,4,5
  11793. type: string
  11794. size3:
  11795. description: 尺寸3 - 类型:2,4,5
  11796. type: string
  11797. stonedesc:
  11798. description: 配石描述 - 类型:4
  11799. type: string
  11800. subnum:
  11801. description: 提单子单号
  11802. type: integer
  11803. userid:
  11804. description: 用户ID
  11805. type: integer
  11806. warehouseid:
  11807. description: 仓库ID
  11808. type: integer
  11809. warehousenamedisplay:
  11810. type: string
  11811. weight:
  11812. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11813. type: number
  11814. weightavg:
  11815. description: 平均单颗重量 - 类型:1,3
  11816. type: number
  11817. wrpath:
  11818. description: 仓单扫描件(相对地址)
  11819. type: string
  11820. wrstandardid:
  11821. description: 现货商品ID
  11822. type: integer
  11823. wrtradeorderid:
  11824. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11825. type: string
  11826. wruserid:
  11827. description: 登录用户ID
  11828. type: integer
  11829. zscategory:
  11830. description: 钻石分类 - 枚举”ZSCategory“
  11831. type: integer
  11832. zscategorydisplay:
  11833. type: string
  11834. zscerttype:
  11835. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11836. type: integer
  11837. zscerttypedisplay:
  11838. type: string
  11839. zsclaritytype1:
  11840. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11841. type: integer
  11842. zsclaritytype1display:
  11843. type: string
  11844. zsclaritytype2:
  11845. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11846. type: integer
  11847. zsclaritytype2display:
  11848. type: string
  11849. zscolortype1:
  11850. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11851. type: integer
  11852. zscolortype1display:
  11853. type: string
  11854. zscolortype2:
  11855. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11856. type: integer
  11857. zscolortype2display:
  11858. type: string
  11859. zscrystaltype:
  11860. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11861. type: string
  11862. zscrystaltypedisplay:
  11863. type: string
  11864. zscurrencytype:
  11865. description: 货币类型 - 枚举“ZSCurrencyType”
  11866. type: integer
  11867. zscurrencytypedisplay:
  11868. type: string
  11869. zscurrencytypedisplayunit:
  11870. type: string
  11871. zscuttype1:
  11872. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11873. type: integer
  11874. zscuttype1display:
  11875. type: string
  11876. zscuttype2:
  11877. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11878. type: integer
  11879. zscuttype2display:
  11880. type: string
  11881. zsczcolor1type:
  11882. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11883. type: integer
  11884. zsczcolor1typedisplay:
  11885. type: string
  11886. zsczcolor2type:
  11887. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11888. type: integer
  11889. zsczcolor2typedisplay:
  11890. type: string
  11891. zsczcolor3type:
  11892. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11893. type: integer
  11894. zsczcolor3typedisplay:
  11895. type: string
  11896. zsfluorescencetype1:
  11897. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11898. type: integer
  11899. zsfluorescencetype1display:
  11900. type: string
  11901. zsfluorescencetype2:
  11902. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11903. type: integer
  11904. zsfluorescencetype2display:
  11905. type: string
  11906. zspolishtype1:
  11907. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11908. type: integer
  11909. zspolishtype1display:
  11910. type: string
  11911. zspolishtype2:
  11912. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11913. type: integer
  11914. zspolishtype2display:
  11915. type: string
  11916. zsshapetype:
  11917. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11918. type: string
  11919. zsshapetypedisplay:
  11920. type: string
  11921. zsstyletype:
  11922. description: 款式 - 类型:4
  11923. type: integer
  11924. zsstyletypedisplay:
  11925. type: string
  11926. zssymmetrytype1:
  11927. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11928. type: integer
  11929. zssymmetrytype1display:
  11930. type: string
  11931. zssymmetrytype2:
  11932. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11933. type: integer
  11934. zssymmetrytype2display:
  11935. type: string
  11936. required:
  11937. - wruserid
  11938. type: object
  11939. models.NewFuncmenulist:
  11940. properties:
  11941. authtype:
  11942. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11943. type: integer
  11944. buttonname:
  11945. description: 按钮名称
  11946. type: string
  11947. buttontype:
  11948. description: 按钮类型 - 存按钮样式
  11949. type: string
  11950. component:
  11951. description: 组件名或组件地址
  11952. type: string
  11953. hidden:
  11954. description: 是否隐藏 - 0:显示 1:隐藏
  11955. type: integer
  11956. iconame:
  11957. description: 菜单图标
  11958. type: string
  11959. menutype:
  11960. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11961. type: integer
  11962. parentcode:
  11963. description: 上级资源代码
  11964. type: string
  11965. remark:
  11966. description: Remark
  11967. type: string
  11968. resourcecode:
  11969. description: 资源代码
  11970. type: string
  11971. resourcelevel:
  11972. description: 级别1-一级 2-二级 3-三级4-四级
  11973. type: integer
  11974. resourcename:
  11975. description: 资源名(Title)
  11976. type: string
  11977. sort:
  11978. description: 排序
  11979. type: integer
  11980. url:
  11981. description: Url
  11982. type: string
  11983. urltype:
  11984. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11985. type: integer
  11986. required:
  11987. - resourcecode
  11988. type: object
  11989. models.OperationPrimaryMenu:
  11990. properties:
  11991. Children:
  11992. description: 二级功能菜单
  11993. items:
  11994. $ref: '#/definitions/models.OperationSecondaryMenu'
  11995. type: array
  11996. Key:
  11997. description: 菜单KEY
  11998. type: string
  11999. Label:
  12000. description: 菜单标题
  12001. type: string
  12002. type: object
  12003. models.OperationSecondaryMenu:
  12004. properties:
  12005. Key:
  12006. description: 菜单KEY
  12007. type: string
  12008. Label:
  12009. description: 菜单标题
  12010. type: string
  12011. TabList:
  12012. description: 三级功能菜单
  12013. items:
  12014. $ref: '#/definitions/models.OperationTabMenu'
  12015. type: array
  12016. type: object
  12017. models.OperationTabMenu:
  12018. properties:
  12019. Key:
  12020. description: 菜单KEY
  12021. type: string
  12022. Label:
  12023. description: 菜单标题
  12024. type: string
  12025. type: object
  12026. models.Patradelinkdetail:
  12027. properties:
  12028. accountname:
  12029. description: 套期主体
  12030. type: string
  12031. agreeunit:
  12032. description: 合约乘数
  12033. type: number
  12034. amount:
  12035. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12036. type: number
  12037. areauserid:
  12038. description: 所属机构
  12039. type: integer
  12040. bizsubjectid:
  12041. description: 归属业务部门ID - SubjectID
  12042. type: integer
  12043. buyorsell:
  12044. description: 方向 - 0:买 1:卖
  12045. type: integer
  12046. convertratio:
  12047. description: 品种系数
  12048. type: number
  12049. convertratiochange:
  12050. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12051. type: number
  12052. createtime:
  12053. description: '[日期时间]创建时间'
  12054. type: string
  12055. creatorid:
  12056. description: 创建人ID
  12057. type: integer
  12058. creatorsrc:
  12059. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12060. type: integer
  12061. goodscode:
  12062. description: 商品代码(内部)
  12063. type: string
  12064. goodsgroupid:
  12065. description: 对冲品种ID[期货合约商品组ID]
  12066. type: integer
  12067. goodsid:
  12068. description: 商品ID
  12069. type: integer
  12070. hedgeditemid:
  12071. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12072. type: integer
  12073. hedgeflag:
  12074. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12075. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12076. type: integer
  12077. linkdetailid:
  12078. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12079. type: string
  12080. linkstatus:
  12081. description: 关联状态 - 1:成功 2:失败 3:解绑
  12082. type: integer
  12083. middlegoodsid:
  12084. description: 套保品种ID
  12085. type: integer
  12086. name:
  12087. description: 账户名/子账户
  12088. type: string
  12089. optioncode:
  12090. description: '[期货合约]期权代码 [期权]'
  12091. type: string
  12092. ordertype:
  12093. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12094. type: integer
  12095. relatedlot:
  12096. description: '[数量]关联手数'
  12097. type: number
  12098. relatedmode:
  12099. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12100. type: integer
  12101. relatedqty:
  12102. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12103. type: number
  12104. retcode:
  12105. description: 返回码
  12106. type: integer
  12107. saleuserid:
  12108. description: 业务员ID
  12109. type: integer
  12110. tradedate:
  12111. description: 关联交易日(yyyyMMdd)
  12112. type: string
  12113. tradeid:
  12114. description: '[成交单号]内部成交单ID'
  12115. type: string
  12116. tradelot:
  12117. description: 成交手数
  12118. type: integer
  12119. tradeprice:
  12120. description: '[价格]成交价格'
  12121. type: number
  12122. tradetradedate:
  12123. description: 成交交易日(yyyyMMdd)
  12124. type: string
  12125. type: object
  12126. models.QhjAccountOutInApply:
  12127. properties:
  12128. accountcode:
  12129. description: 资金账号
  12130. type: string
  12131. accountname:
  12132. description: 用户名称(名称)
  12133. type: string
  12134. accountpwd:
  12135. description: 资金密码
  12136. type: string
  12137. accountticket:
  12138. description: 最新账户服务流水号
  12139. type: string
  12140. amount:
  12141. description: 金额
  12142. type: number
  12143. applyremark:
  12144. description: 申请备注
  12145. type: string
  12146. applystatus:
  12147. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12148. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12149. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12150. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12151. type: integer
  12152. auditid:
  12153. description: 审核人
  12154. type: integer
  12155. audittime:
  12156. description: 审核时间
  12157. type: string
  12158. bank_apply_ticket:
  12159. description: 银行申请流水
  12160. type: string
  12161. bankaccountname:
  12162. description: 银行账户名
  12163. type: string
  12164. bankaccountno:
  12165. description: 银行卡号
  12166. type: string
  12167. bankid:
  12168. description: 银行编号
  12169. type: string
  12170. bankticket:
  12171. description: 银行流水
  12172. type: string
  12173. branchbankid:
  12174. description: 银行支行号
  12175. type: string
  12176. branchbankname:
  12177. description: 银行支行名称
  12178. type: string
  12179. capamountout:
  12180. description: 出金(劣后本金) - 外部子账户
  12181. type: number
  12182. certificatephotourl:
  12183. description: 凭证地址
  12184. type: string
  12185. charge:
  12186. description: 手续费
  12187. type: number
  12188. checkerrorflag:
  12189. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12190. type: integer
  12191. currency:
  12192. description: 币种
  12193. type: string
  12194. cusbankid:
  12195. description: 托管银行编号
  12196. type: string
  12197. exchticket:
  12198. description: 银行服务流水号
  12199. type: string
  12200. executetype:
  12201. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12202. 7:外部子账户:入金 8:外部子账户:出金'
  12203. type: integer
  12204. extendinfo:
  12205. description: 扩展信息
  12206. type: string
  12207. extoperateid:
  12208. description: 交易服务流水号
  12209. type: integer
  12210. infamount:
  12211. description: 劣后金额(自有)
  12212. type: number
  12213. logincode:
  12214. description: 登录账号(账号)
  12215. type: string
  12216. netaddr:
  12217. description: 调转网址
  12218. type: string
  12219. priamount:
  12220. description: 优先金额(授信)
  12221. type: number
  12222. reauditid:
  12223. description: 复审人
  12224. type: integer
  12225. reauditremark:
  12226. description: 复审备注
  12227. type: string
  12228. reaudittime:
  12229. description: 复审时间
  12230. type: string
  12231. relatedorderid:
  12232. description: 三方关联ID
  12233. type: string
  12234. remark:
  12235. description: 备注
  12236. type: string
  12237. remark2:
  12238. description: 备注(失败原因)
  12239. type: string
  12240. soucreamount:
  12241. description: 原始出入金金额
  12242. type: number
  12243. soucrecurrencyid:
  12244. description: 原始出入金币种
  12245. type: integer
  12246. tradedate:
  12247. description: 交易日(yyyyMMdd)
  12248. type: string
  12249. updatetime:
  12250. description: 更新时间(申请时间)
  12251. type: string
  12252. userid:
  12253. description: 用户id
  12254. type: integer
  12255. userinfotype:
  12256. description: 账户类型 1-个人 2-企业
  12257. type: integer
  12258. type: object
  12259. models.QhjAgreementChangeLog:
  12260. properties:
  12261. agreementcontent:
  12262. description: 协议内容
  12263. type: string
  12264. agreementfrequency:
  12265. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12266. type: integer
  12267. agreementid:
  12268. description: 协议ID
  12269. type: integer
  12270. agreementname:
  12271. description: 协议名称
  12272. type: string
  12273. agreementno:
  12274. description: 协议编号
  12275. type: string
  12276. agreementtype:
  12277. description: 协议类型 - 1:注册 2:登录 3:交易
  12278. type: integer
  12279. agreementversion:
  12280. description: 协议版本号
  12281. type: integer
  12282. logid:
  12283. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12284. type: integer
  12285. reviserid:
  12286. description: 修改人
  12287. type: integer
  12288. revisersrc:
  12289. description: 修改来源 - 1:管理端 2:终端
  12290. type: integer
  12291. updatetime:
  12292. description: 更新时间
  12293. type: string
  12294. type: object
  12295. models.QhjAgreementConfig:
  12296. properties:
  12297. agreementcontent:
  12298. description: 协议内容
  12299. type: string
  12300. agreementfrequency:
  12301. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12302. type: integer
  12303. agreementid:
  12304. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12305. type: integer
  12306. agreementname:
  12307. description: 协议名称
  12308. type: string
  12309. agreementno:
  12310. description: 协议编号
  12311. type: string
  12312. agreementtype:
  12313. description: 协议类型 - 1:注册 2:登录 3:交易
  12314. type: integer
  12315. agreementversion:
  12316. description: 协议版本号(从1开始每次修改加1)
  12317. type: integer
  12318. createtime:
  12319. description: 创建时间
  12320. type: string
  12321. creatorid:
  12322. description: 创建人
  12323. type: integer
  12324. creatorsrc:
  12325. description: 创建来源 - 1:管理端 2:终端
  12326. type: integer
  12327. isvalid:
  12328. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12329. type: integer
  12330. reviserid:
  12331. description: 修改人
  12332. type: integer
  12333. revisersrc:
  12334. description: 修改来源 - 1:管理端 2:终端
  12335. type: integer
  12336. updatetime:
  12337. description: 更新时间
  12338. type: string
  12339. type: object
  12340. models.QhjAreaFinanceConfig:
  12341. properties:
  12342. additionalratio:
  12343. description: 追加款比例
  12344. type: number
  12345. advanceratio:
  12346. description: 预付款比例
  12347. type: number
  12348. alarmratio:
  12349. description: 告警比例
  12350. type: number
  12351. consumptiondirectreward:
  12352. description: 消费直推奖励值
  12353. type: number
  12354. consumptionenabled:
  12355. description: 是否启用消费奖励 - 0:不启用 1:启用
  12356. type: integer
  12357. consumptionindirectreward:
  12358. description: 消费间推奖励值
  12359. type: number
  12360. consumptionmodel:
  12361. description: 消费奖励方式 - 1:比率 2:固定
  12362. type: integer
  12363. customerservicenum:
  12364. description: 客服电话
  12365. type: string
  12366. dayinterestrate:
  12367. description: 日利率
  12368. type: number
  12369. disableconsumptiontips:
  12370. description: 关闭消费奖励提示
  12371. type: string
  12372. modifierid:
  12373. description: 修改人ID
  12374. type: integer
  12375. modifysrc:
  12376. description: 审核来源 - 1:管理端 2:终端
  12377. type: integer
  12378. modifytime:
  12379. description: 修改时间
  12380. type: string
  12381. promotionvalue:
  12382. description: 推广奖励值(固定)
  12383. type: number
  12384. scoreconfigvalue1:
  12385. description: 提货积分配置1
  12386. type: integer
  12387. scoreconfigvalue2:
  12388. description: 提货积分配置2
  12389. type: integer
  12390. userid:
  12391. description: 机构用户ID其他做市关系,都设置为 1
  12392. type: integer
  12393. username:
  12394. description: 用户名称
  12395. type: string
  12396. type: object
  12397. models.QhjBankAccountSign:
  12398. properties:
  12399. accountcode:
  12400. description: 资金账号
  12401. type: string
  12402. accountname:
  12403. description: 资金账号对应的账号名(UserName)
  12404. type: string
  12405. accountname2:
  12406. description: 资金账号对应的账号名(UserName) - 密文
  12407. type: string
  12408. accounttype:
  12409. description: 账户类型(UserType)
  12410. type: integer
  12411. applicationtime:
  12412. description: 最后一次更新的时间
  12413. type: string
  12414. applyexchticket:
  12415. description: 申请流水
  12416. type: string
  12417. auditid:
  12418. description: 审核人
  12419. type: integer
  12420. audittime:
  12421. description: 审核时间
  12422. type: string
  12423. bankaccountname:
  12424. description: 签约银行卡账号名
  12425. type: string
  12426. bankaccountname2:
  12427. description: 签约银行卡账号名 - 密文
  12428. type: string
  12429. bankaccountno:
  12430. description: 银行卡号
  12431. type: string
  12432. bankaccountno2:
  12433. description: 银行卡号 - 密文
  12434. type: string
  12435. bankaccounttype:
  12436. description: 银行账户类型 - 1-对私; 2-对公
  12437. type: integer
  12438. bankcardtype:
  12439. description: 银行卡类型
  12440. type: integer
  12441. bankchildaccount:
  12442. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12443. type: string
  12444. bankcity:
  12445. description: 开户行城市
  12446. type: string
  12447. bankid:
  12448. description: 签约银行ID
  12449. type: string
  12450. bankname:
  12451. description: 签约银行名称
  12452. type: string
  12453. bankprovince:
  12454. description: 开户行省份
  12455. type: string
  12456. branchbankid:
  12457. description: 签约银行支行号
  12458. type: string
  12459. branchbankname:
  12460. description: 签约银行支行名称
  12461. type: string
  12462. cardno:
  12463. description: 证件号码
  12464. type: string
  12465. cardno2:
  12466. description: 证件号码 - 密文
  12467. type: string
  12468. cardtype:
  12469. description: 证件类型
  12470. type: string
  12471. currency:
  12472. description: 币种
  12473. type: string
  12474. cusbankid:
  12475. description: 托管银行编号
  12476. type: string
  12477. direct:
  12478. description: 方向(可以判断那方先发起的签约)
  12479. type: integer
  12480. exchticket:
  12481. description: 最后一次签约成功的流水号
  12482. type: string
  12483. extendinfo:
  12484. description: 扩展信息(JSON字符串)
  12485. type: string
  12486. mobilephone:
  12487. description: 手机号
  12488. type: string
  12489. mobilephone2:
  12490. description: 手机号 - 密文
  12491. type: string
  12492. netaddr:
  12493. description: 调转网址
  12494. type: string
  12495. relateduserid:
  12496. description: 关联使用者userid
  12497. type: integer
  12498. signstatus:
  12499. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12500. 10:审核拒绝 11:换签待审核
  12501. type: integer
  12502. updatetime:
  12503. description: 更新时间(签解约更新时间)
  12504. type: string
  12505. type: object
  12506. models.QhjBankInfo:
  12507. properties:
  12508. bankid:
  12509. description: 银行ID
  12510. type: string
  12511. bankname:
  12512. description: 银行名称
  12513. type: string
  12514. clearbankno:
  12515. description: 清算系统银行编号
  12516. type: string
  12517. orderindex:
  12518. description: 排序顺序
  12519. type: integer
  12520. status:
  12521. description: 状态 - 0:正常 1:注销
  12522. type: integer
  12523. type: object
  12524. models.QhjBrokerApply:
  12525. properties:
  12526. applicantid:
  12527. description: 申请人
  12528. type: integer
  12529. applysrc:
  12530. description: 申请来源 - 1:管理端 2:终端
  12531. type: integer
  12532. applystatus:
  12533. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12534. type: integer
  12535. applytime:
  12536. description: 申请时间
  12537. type: string
  12538. auditorid:
  12539. description: 审核人
  12540. type: integer
  12541. auditremark:
  12542. description: 审核备注
  12543. type: string
  12544. auditsrc:
  12545. description: 审核来源 - 1:管理端 2:终端
  12546. type: integer
  12547. audittime:
  12548. description: 审核时间
  12549. type: string
  12550. audittradedate:
  12551. description: 审核交易日(yyyyMMdd)
  12552. type: string
  12553. brokerapplyid:
  12554. description: 申请ID(SEQ_BROKERAPPLY)
  12555. type: integer
  12556. cardbackphotourl:
  12557. description: 证件背面图片地址
  12558. type: string
  12559. cardfrontphotourl:
  12560. description: 证件正面图片地址
  12561. type: string
  12562. cardnum:
  12563. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12564. type: string
  12565. customername:
  12566. description: 姓名
  12567. type: string
  12568. logincode:
  12569. description: 登录代码
  12570. type: string
  12571. mobile:
  12572. description: 手机号码
  12573. type: string
  12574. parentuserid:
  12575. description: 所属机构id
  12576. type: integer
  12577. parentusername:
  12578. description: 所属机构名称
  12579. type: string
  12580. refereeuserid:
  12581. description: 推荐人id(经纪人)
  12582. type: integer
  12583. refernum:
  12584. description: 推荐码
  12585. type: string
  12586. remark:
  12587. description: 备注
  12588. type: string
  12589. subarealevelpath:
  12590. description: 层级路径
  12591. type: string
  12592. tradedate:
  12593. description: 交易日(yyyyMMdd)
  12594. type: string
  12595. userid:
  12596. description: 申请人用户ID
  12597. type: integer
  12598. userinfotype:
  12599. description: 用户类型 1-个人 2-企业
  12600. type: integer
  12601. username:
  12602. description: 用户名称
  12603. type: string
  12604. type: object
  12605. models.QhjBrokerApplyEx:
  12606. properties:
  12607. applylist:
  12608. description: 经纪人申请记录(只返回最新一条)
  12609. items:
  12610. $ref: '#/definitions/models.QhjBrokerApply'
  12611. type: array
  12612. canrecommend:
  12613. description: 是否经纪人 0-不是 1-是
  12614. type: integer
  12615. refernum:
  12616. description: 推荐码
  12617. type: string
  12618. userid:
  12619. description: 用户id
  12620. type: integer
  12621. userinfotype:
  12622. description: 用户类型 1-个人 2-企业
  12623. type: integer
  12624. type: object
  12625. models.QhjBrokerRewardLog:
  12626. properties:
  12627. accountid:
  12628. description: 资金账号ID
  12629. type: integer
  12630. createtime:
  12631. description: 创建时间(时间)
  12632. type: string
  12633. handlestatus:
  12634. description: 处理状态
  12635. type: integer
  12636. logid:
  12637. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12638. type: string
  12639. marketid:
  12640. description: 市场ID
  12641. type: integer
  12642. mmaccountid:
  12643. description: 做市商资金账号ID
  12644. type: string
  12645. mmuserid:
  12646. description: 做市商用户ID
  12647. type: string
  12648. rewardamount:
  12649. description: 奖励金额
  12650. type: number
  12651. rewardmodel:
  12652. description: 消费奖励方式 - 1:比率 2:固定
  12653. type: integer
  12654. rewardtype:
  12655. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12656. type: integer
  12657. rewardvalue:
  12658. description: 配置奖励值
  12659. type: number
  12660. srcamount:
  12661. description: 成交金额 [消费奖励] (金额)
  12662. type: number
  12663. srcgoodsid:
  12664. description: 来源商品ID [消费奖励]
  12665. type: string
  12666. srctime:
  12667. description: 来源时间 (成交时间) [消费奖励]
  12668. type: string
  12669. srctradeid:
  12670. description: 来源成交单ID [消费奖励] - 排除提货成交
  12671. type: string
  12672. srcuserid:
  12673. description: 来源用户ID(推广账户)
  12674. type: string
  12675. srcusername:
  12676. description: 推广账户名称
  12677. type: string
  12678. tradedate:
  12679. description: 交易日(yyyyMMdd)
  12680. type: string
  12681. userid:
  12682. description: 经纪人用户ID
  12683. type: integer
  12684. type: object
  12685. models.QhjContract:
  12686. properties:
  12687. contractconfirmtime:
  12688. description: 合同确认时间(时间)
  12689. type: string
  12690. currisklevel:
  12691. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12692. type: integer
  12693. decimalplace:
  12694. description: 商品报价小数位
  12695. type: integer
  12696. enumdicname:
  12697. description: 单位名称
  12698. type: string
  12699. goodscode:
  12700. description: 商品代码
  12701. type: string
  12702. goodsid:
  12703. description: 商品ID [5:融资单]
  12704. type: integer
  12705. goodsname:
  12706. description: 商品名称
  12707. type: string
  12708. goodunitid:
  12709. description: 商品单位id
  12710. type: integer
  12711. initmargin:
  12712. description: 初始保证金(首付款)
  12713. type: number
  12714. lenderamount:
  12715. description: 贷款金额(总额|订单总额)
  12716. type: number
  12717. marginratio:
  12718. description: 保证金比率(首付比例)
  12719. type: number
  12720. payamount:
  12721. description: 已付(已付货款)
  12722. type: number
  12723. reckonrecovermargin:
  12724. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12725. type: number
  12726. recoveredmargin:
  12727. description: 已追缴保证金
  12728. type: number
  12729. remainamount:
  12730. description: 合同剩余金额(融资额)
  12731. type: number
  12732. scfcontractid:
  12733. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12734. type: string
  12735. scfcontractstatus:
  12736. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12737. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12738. type: integer
  12739. scfcontracttype:
  12740. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12741. type: integer
  12742. totalinterest:
  12743. description: 已计总利息(利息)
  12744. type: number
  12745. tradeprice:
  12746. description: 成交价格(成本价格)
  12747. type: number
  12748. userid:
  12749. description: 用户ID
  12750. type: integer
  12751. username:
  12752. description: 用户名称
  12753. type: string
  12754. wrqty:
  12755. description: 仓单数量(数量)
  12756. type: number
  12757. type: object
  12758. models.QhjContractLog:
  12759. properties:
  12760. amount:
  12761. description: 支付金额
  12762. type: number
  12763. amounttype:
  12764. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12765. type: integer
  12766. logid:
  12767. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12768. type: string
  12769. remainamount:
  12770. description: 剩余货款
  12771. type: number
  12772. scfcontractid:
  12773. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12774. type: integer
  12775. updatetime:
  12776. description: 更新时间
  12777. type: string
  12778. type: object
  12779. models.QhjCusBankSignBankEx:
  12780. properties:
  12781. banklst:
  12782. description: 银行列表
  12783. items:
  12784. $ref: '#/definitions/models.QhjBankInfo'
  12785. type: array
  12786. canallot:
  12787. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12788. type: integer
  12789. canallotquery:
  12790. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12791. type: integer
  12792. canbindcard:
  12793. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12794. type: integer
  12795. caninamount:
  12796. description: 是否可入金 - 0:不可 1:可以
  12797. type: integer
  12798. caninamount2:
  12799. description: 是否可入金(网银端) - 0:不可 1:可以
  12800. type: integer
  12801. canmodifybankcard:
  12802. description: 是否可修改银行卡号 - 0:不可 1:可以
  12803. type: integer
  12804. canmodifyphone:
  12805. description: 是否可修改手机号 - 0:不可 1:可以
  12806. type: integer
  12807. canmodifysigninfo:
  12808. description: 是否可修改签约信息 - 0:不可 1:可以
  12809. type: integer
  12810. canoutamount:
  12811. description: 是否可出金 - 0:不可 1:可以
  12812. type: integer
  12813. canoutamount2:
  12814. description: 是否可出金(网银端) - 0:不可 1:可以
  12815. type: integer
  12816. canrelease:
  12817. description: 是否可解约 - 0:不可 1:可以
  12818. type: integer
  12819. canrelease2:
  12820. description: 是否可解约(网银端) - 0:不可 1:可以
  12821. type: integer
  12822. cansign:
  12823. description: 是否可签约 - 0:不可 1:可以
  12824. type: integer
  12825. cansign2:
  12826. description: 是否可签约(网银端) - 0:不可 1:可以
  12827. type: integer
  12828. currency:
  12829. description: 币种
  12830. type: string
  12831. cusbankid:
  12832. description: 托管银行编号(对应清算中心TRAN_NO)
  12833. type: string
  12834. cusbankname:
  12835. description: 银行业务名称
  12836. type: string
  12837. cusbankshortname:
  12838. description: 银行业务简称
  12839. type: string
  12840. exchbankid:
  12841. description: 交易所开户银行ID
  12842. type: string
  12843. exchpaybankaccname:
  12844. description: 交易所支出结算账户户名
  12845. type: string
  12846. exchpaybankaccno:
  12847. description: 交易所支出结算账户
  12848. type: string
  12849. isneedcheck:
  12850. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12851. type: integer
  12852. isneedclear:
  12853. description: 是否需要清算 - 0:不需要 1:需要
  12854. type: integer
  12855. lastcheckstatus:
  12856. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12857. type: integer
  12858. lastchecktime:
  12859. description: 最后对账时间
  12860. type: string
  12861. lastclearstatus:
  12862. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12863. type: integer
  12864. lastcleartime:
  12865. description: 最后清算时间
  12866. type: string
  12867. lastsignintime:
  12868. description: 最后签到时间
  12869. type: string
  12870. lastsignouttime:
  12871. description: 最后签退时间
  12872. type: string
  12873. riskinfo:
  12874. description: 签约风险提示书
  12875. type: string
  12876. signstatus:
  12877. description: 当前签到/签退状态 - 1:签到 2:签退
  12878. type: integer
  12879. tradedate:
  12880. description: 交易日(yyyyMMdd)
  12881. type: string
  12882. updatetime:
  12883. description: 当前签到/签退更新时间
  12884. type: string
  12885. type: object
  12886. models.QhjCustomer:
  12887. properties:
  12888. address:
  12889. description: 通讯地址
  12890. type: string
  12891. attachment1:
  12892. description: 附件1
  12893. type: string
  12894. attachment2:
  12895. description: 附件2
  12896. type: string
  12897. audittime:
  12898. description: 审核时间
  12899. type: string
  12900. cardbackphotourl:
  12901. description: 证件反面图片地址
  12902. type: string
  12903. cardfrontphotourl:
  12904. description: 证件正面图片地址
  12905. type: string
  12906. cardnum:
  12907. description: 证件号码
  12908. type: string
  12909. cardtype:
  12910. description: 证件类型
  12911. type: integer
  12912. cardtypename:
  12913. description: 证件类型名称
  12914. type: string
  12915. cityid:
  12916. description: 市
  12917. type: integer
  12918. cityname:
  12919. description: 城市名称
  12920. type: string
  12921. contactname:
  12922. description: 联系人
  12923. type: string
  12924. countryid:
  12925. description: 国家
  12926. type: integer
  12927. countryname:
  12928. description: 国家名称
  12929. type: string
  12930. createtime:
  12931. description: 创建时间
  12932. type: string
  12933. customername:
  12934. description: 客户名称
  12935. type: string
  12936. districtid:
  12937. description: 区域
  12938. type: integer
  12939. districtname:
  12940. description: 地区名称
  12941. type: string
  12942. email:
  12943. description: 邮件
  12944. type: string
  12945. legalpersonname:
  12946. description: 法人姓名(企业)
  12947. type: string
  12948. logincode:
  12949. description: 登录账号(代码)
  12950. type: string
  12951. memberuserid:
  12952. description: 所属机构ID(所属会员)
  12953. type: integer
  12954. memberusername:
  12955. description: 所属会员名称
  12956. type: string
  12957. mobile:
  12958. description: 手机号码
  12959. type: string
  12960. modifytime:
  12961. description: 修改时间
  12962. type: string
  12963. nickname:
  12964. description: 昵称
  12965. type: string
  12966. parentuserid:
  12967. description: 上级机构(所属机构)
  12968. type: integer
  12969. parentusername:
  12970. description: 所属机构名称
  12971. type: string
  12972. provinceid:
  12973. description: 省
  12974. type: integer
  12975. provincename:
  12976. description: 省名称
  12977. type: string
  12978. proxystatementurl:
  12979. description: 授权委托书
  12980. type: string
  12981. remark:
  12982. description: 备注
  12983. type: string
  12984. status:
  12985. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12986. type: integer
  12987. statusdesc:
  12988. description: 账户状态中文描述
  12989. type: string
  12990. taxpayernum:
  12991. description: 纳税人识别号
  12992. type: string
  12993. telphone:
  12994. description: 联系电话
  12995. type: string
  12996. userid:
  12997. description: 用户ID
  12998. type: integer
  12999. userinfotype:
  13000. description: 客户类型 1-个人 2-企业
  13001. type: integer
  13002. username:
  13003. description: 用户名称
  13004. type: string
  13005. type: object
  13006. models.QhjCustomerSignLog:
  13007. properties:
  13008. agreementcontent:
  13009. description: 协议内容
  13010. type: string
  13011. agreementid:
  13012. description: 协议ID
  13013. type: integer
  13014. agreementname:
  13015. description: 协议名称
  13016. type: string
  13017. agreementno:
  13018. description: 协议编号
  13019. type: string
  13020. agreementtype:
  13021. description: 协议类型 - 1:注册 2:登录 3:交易
  13022. type: integer
  13023. agreementversion:
  13024. description: 协议版本号
  13025. type: integer
  13026. createtime:
  13027. description: 创建时间
  13028. type: string
  13029. goodscode:
  13030. description: 商品代码
  13031. type: string
  13032. goodsid:
  13033. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13034. type: integer
  13035. goodsname:
  13036. description: 商品名称
  13037. type: string
  13038. logid:
  13039. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13040. type: integer
  13041. nodetype:
  13042. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13043. type: integer
  13044. signadressurl:
  13045. description: 签约文件地址
  13046. type: string
  13047. signtimestamp:
  13048. description: 签约状态时间戳
  13049. type: string
  13050. userid:
  13051. description: 客户ID
  13052. type: integer
  13053. username:
  13054. description: 客户名称
  13055. type: string
  13056. type: object
  13057. models.QhjCustomerSignStatus:
  13058. properties:
  13059. createtime:
  13060. description: 创建时间
  13061. type: string
  13062. goodscode:
  13063. description: 商品代码
  13064. type: string
  13065. goodsid:
  13066. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13067. type: integer
  13068. goodsname:
  13069. description: 商品名称
  13070. type: string
  13071. nodetype:
  13072. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13073. type: integer
  13074. signtimestamp:
  13075. description: 签约状态时间戳
  13076. type: string
  13077. tradedate:
  13078. description: 创建交易日(yyyyMMdd)
  13079. type: string
  13080. updatetime:
  13081. description: 更新时间
  13082. type: string
  13083. userid:
  13084. description: 客户ID
  13085. type: integer
  13086. username:
  13087. description: 客户名称
  13088. type: string
  13089. type: object
  13090. models.QhjMgrAccountOutInApply:
  13091. properties:
  13092. accountcode:
  13093. description: 资金账号
  13094. type: string
  13095. accountname:
  13096. description: 用户名称(名称)
  13097. type: string
  13098. accountpwd:
  13099. description: 资金密码
  13100. type: string
  13101. accountticket:
  13102. description: 最新账户服务流水号
  13103. type: string
  13104. amount:
  13105. description: 金额
  13106. type: number
  13107. applyremark:
  13108. description: 申请备注
  13109. type: string
  13110. applystatus:
  13111. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13112. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13113. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13114. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13115. type: integer
  13116. auditid:
  13117. description: 审核人
  13118. type: integer
  13119. audittime:
  13120. description: 审核时间
  13121. type: string
  13122. bank_apply_ticket:
  13123. description: 银行申请流水
  13124. type: string
  13125. bankaccountname:
  13126. description: 银行账户名
  13127. type: string
  13128. bankaccountno:
  13129. description: 银行卡号
  13130. type: string
  13131. bankid:
  13132. description: 银行编号
  13133. type: string
  13134. bankname:
  13135. description: 银行名称
  13136. type: string
  13137. bankticket:
  13138. description: 银行流水
  13139. type: string
  13140. branchbankid:
  13141. description: 银行支行号
  13142. type: string
  13143. branchbankname:
  13144. description: 银行支行名称
  13145. type: string
  13146. capamountout:
  13147. description: 出金(劣后本金) - 外部子账户
  13148. type: number
  13149. certificatephotourl:
  13150. description: 凭证地址
  13151. type: string
  13152. charge:
  13153. description: 手续费
  13154. type: number
  13155. checkerrorflag:
  13156. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13157. type: integer
  13158. currency:
  13159. description: 币种
  13160. type: string
  13161. cusbankid:
  13162. description: 托管银行编号
  13163. type: string
  13164. exchticket:
  13165. description: 银行服务流水号
  13166. type: string
  13167. executetype:
  13168. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13169. 7:外部子账户:入金 8:外部子账户:出金'
  13170. type: integer
  13171. extendinfo:
  13172. description: 扩展信息
  13173. type: string
  13174. extoperateid:
  13175. description: 交易服务流水号
  13176. type: integer
  13177. infamount:
  13178. description: 劣后金额(自有)
  13179. type: number
  13180. logincode:
  13181. description: 登录账号(账号)
  13182. type: string
  13183. netaddr:
  13184. description: 调转网址
  13185. type: string
  13186. priamount:
  13187. description: 优先金额(授信)
  13188. type: number
  13189. reauditid:
  13190. description: 复审人
  13191. type: integer
  13192. reauditremark:
  13193. description: 复审备注
  13194. type: string
  13195. reaudittime:
  13196. description: 复审时间
  13197. type: string
  13198. relatedorderid:
  13199. description: 三方关联ID
  13200. type: string
  13201. remark:
  13202. description: 备注
  13203. type: string
  13204. remark2:
  13205. description: 备注(失败原因)
  13206. type: string
  13207. soucreamount:
  13208. description: 原始出入金金额
  13209. type: number
  13210. soucrecurrencyid:
  13211. description: 原始出入金币种
  13212. type: integer
  13213. tradedate:
  13214. description: 交易日(yyyyMMdd)
  13215. type: string
  13216. updatetime:
  13217. description: 更新时间(申请时间)
  13218. type: string
  13219. userid:
  13220. description: 用户id
  13221. type: integer
  13222. userinfotype:
  13223. description: 账户类型 1-个人 2-企业
  13224. type: integer
  13225. type: object
  13226. models.QhjMgrBrokerApply:
  13227. properties:
  13228. applicantid:
  13229. description: 申请人
  13230. type: integer
  13231. applysrc:
  13232. description: 申请来源 - 1:管理端 2:终端
  13233. type: integer
  13234. applystatus:
  13235. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13236. type: integer
  13237. applytime:
  13238. description: 申请时间
  13239. type: string
  13240. auditorid:
  13241. description: 审核人
  13242. type: integer
  13243. auditremark:
  13244. description: 审核备注
  13245. type: string
  13246. auditsrc:
  13247. description: 审核来源 - 1:管理端 2:终端
  13248. type: integer
  13249. audittime:
  13250. description: 审核时间
  13251. type: string
  13252. audittradedate:
  13253. description: 审核交易日(yyyyMMdd)
  13254. type: string
  13255. brokerapplyid:
  13256. description: 申请ID(SEQ_BROKERAPPLY)
  13257. type: integer
  13258. cardbackphotourl:
  13259. description: 证件背面图片地址
  13260. type: string
  13261. cardfrontphotourl:
  13262. description: 证件正面图片地址
  13263. type: string
  13264. cardnum:
  13265. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13266. type: string
  13267. customername:
  13268. description: 姓名
  13269. type: string
  13270. filterstatus:
  13271. description: 筛选条件
  13272. type: string
  13273. logincode:
  13274. description: 登录代码
  13275. type: string
  13276. mobile:
  13277. description: 手机号码
  13278. type: string
  13279. parentuserid:
  13280. description: 所属机构id
  13281. type: integer
  13282. parentusername:
  13283. description: 所属机构名称
  13284. type: string
  13285. refereeuserid:
  13286. description: 推荐人id(经纪人)
  13287. type: integer
  13288. refernum:
  13289. description: 推荐码
  13290. type: string
  13291. remark:
  13292. description: 备注
  13293. type: string
  13294. subarealevelpath:
  13295. description: 层级路径
  13296. type: string
  13297. tradedate:
  13298. description: 交易日(yyyyMMdd)
  13299. type: string
  13300. userid:
  13301. description: 申请人用户ID
  13302. type: integer
  13303. userinfotype:
  13304. description: 用户类型 1-个人 2-企业
  13305. type: integer
  13306. username:
  13307. description: 用户名称
  13308. type: string
  13309. type: object
  13310. models.QhjMgrBrokerRewardReport:
  13311. properties:
  13312. createtime:
  13313. description: 创建时间(注册时间)
  13314. type: string
  13315. cycletime:
  13316. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13317. type: string
  13318. cycletype:
  13319. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13320. type: integer
  13321. directtotalnum:
  13322. description: 直推总人数【期末】
  13323. type: integer
  13324. indirecttotalnum:
  13325. description: 间推总人数【期末】
  13326. type: integer
  13327. mobile:
  13328. description: 电话号码
  13329. type: string
  13330. refereeuserid:
  13331. description: 推荐人id(经纪人id)
  13332. type: integer
  13333. refereeusername:
  13334. description: 推荐人名称(经纪人) 上级经纪人名称
  13335. type: string
  13336. refernum:
  13337. description: 推荐码
  13338. type: string
  13339. subarealevelpath:
  13340. description: 用户层级路径
  13341. type: string
  13342. todayrewardamount:
  13343. description: 奖励总金额【汇总】
  13344. type: number
  13345. updatetime:
  13346. description: 更新时间
  13347. type: string
  13348. userid:
  13349. description: 经纪人用户ID
  13350. type: integer
  13351. userinfotype:
  13352. description: 用户类型 1-个人 2-企业
  13353. type: integer
  13354. username:
  13355. description: 用户名称
  13356. type: string
  13357. type: object
  13358. models.QhjMgrContract:
  13359. properties:
  13360. contractconfirmtime:
  13361. description: 合同确认时间(时间)
  13362. type: string
  13363. currisklevel:
  13364. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13365. type: integer
  13366. decimalplace:
  13367. description: 商品报价小数位
  13368. type: integer
  13369. enumdicname:
  13370. description: 单位名称
  13371. type: string
  13372. goodscode:
  13373. description: 商品代码
  13374. type: string
  13375. goodsid:
  13376. description: 商品ID [5:融资单]
  13377. type: integer
  13378. goodsname:
  13379. description: 商品名称
  13380. type: string
  13381. goodunitid:
  13382. description: 商品单位id
  13383. type: integer
  13384. initmargin:
  13385. description: 初始保证金(首付款)
  13386. type: number
  13387. lenderamount:
  13388. description: 贷款金额(总额|订单总额)
  13389. type: number
  13390. logincode:
  13391. description: 账号(登录代码)
  13392. type: string
  13393. marginratio:
  13394. description: 保证金比率(首付比例)
  13395. type: number
  13396. mobile:
  13397. description: 电话号码(用户资料里的电话)
  13398. type: string
  13399. payamount:
  13400. description: 已付(已付货款)
  13401. type: number
  13402. reckonrecovermargin:
  13403. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13404. type: number
  13405. recoveredmargin:
  13406. description: 已追缴保证金
  13407. type: number
  13408. remainamount:
  13409. description: 合同剩余金额(融资额)
  13410. type: number
  13411. scfcontractid:
  13412. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13413. type: string
  13414. scfcontractstatus:
  13415. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13416. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13417. type: integer
  13418. scfcontracttype:
  13419. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13420. type: integer
  13421. totalinterest:
  13422. description: 已计总利息(利息)
  13423. type: number
  13424. tradedate:
  13425. description: 交易日
  13426. type: string
  13427. tradeprice:
  13428. description: 成交价格(成本价格)
  13429. type: number
  13430. userid:
  13431. description: 用户ID
  13432. type: integer
  13433. userinfotype:
  13434. description: 用户类型 1-个人 2-企业
  13435. type: integer
  13436. username:
  13437. description: 用户名称
  13438. type: string
  13439. wrqty:
  13440. description: 仓单数量(数量)
  13441. type: number
  13442. type: object
  13443. models.QhjMgrCustomer:
  13444. properties:
  13445. address:
  13446. description: 通讯地址
  13447. type: string
  13448. attachment1:
  13449. description: 附件1
  13450. type: string
  13451. audittime:
  13452. description: 审核时间
  13453. type: string
  13454. birthday:
  13455. description: 生日
  13456. type: string
  13457. brokerid:
  13458. description: 所属客户经理id
  13459. type: integer
  13460. brokername:
  13461. description: 所属客户经理名称
  13462. type: string
  13463. cardbackphotourl:
  13464. description: 证件反面图片地址
  13465. type: string
  13466. cardfrontphotourl:
  13467. description: 证件正面图片地址
  13468. type: string
  13469. cardnum:
  13470. description: 证件号码
  13471. type: string
  13472. cardtype:
  13473. description: 证件类型
  13474. type: integer
  13475. cardtypename:
  13476. description: 证件类型名称
  13477. type: string
  13478. cityid:
  13479. description: 市
  13480. type: integer
  13481. cityname:
  13482. description: 城市名称
  13483. type: string
  13484. contactname:
  13485. description: 联系人
  13486. type: string
  13487. countryid:
  13488. description: 国家
  13489. type: integer
  13490. countryname:
  13491. description: 国家名称
  13492. type: string
  13493. createtime:
  13494. description: 创建时间
  13495. type: string
  13496. customername:
  13497. description: 客户名称
  13498. type: string
  13499. districtid:
  13500. description: 区域
  13501. type: integer
  13502. districtname:
  13503. description: 地区名称
  13504. type: string
  13505. email:
  13506. description: 邮件
  13507. type: string
  13508. legalpersonname:
  13509. description: 法人姓名(企业)
  13510. type: string
  13511. logincode:
  13512. description: 登录账号(代码)
  13513. type: string
  13514. memberuserid:
  13515. description: 所属机构ID(所属会员)
  13516. type: integer
  13517. memberusername:
  13518. description: 所属会员名称
  13519. type: string
  13520. mobile:
  13521. description: 手机号码
  13522. type: string
  13523. modifytime:
  13524. description: 修改时间
  13525. type: string
  13526. nickname:
  13527. description: 昵称
  13528. type: string
  13529. parentuserid:
  13530. description: 上级机构(所属机构)
  13531. type: integer
  13532. parentusername:
  13533. description: 所属机构名称
  13534. type: string
  13535. provinceid:
  13536. description: 省
  13537. type: integer
  13538. provincename:
  13539. description: 省名称
  13540. type: string
  13541. proxystatementurl:
  13542. description: 授权委托书
  13543. type: string
  13544. querytype:
  13545. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13546. type: integer
  13547. remark:
  13548. description: 备注
  13549. type: string
  13550. sex:
  13551. description: 性别 0-女 1-男
  13552. type: integer
  13553. status:
  13554. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13555. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13556. type: integer
  13557. statusdesc:
  13558. description: 账户状态中文描述
  13559. type: string
  13560. taxpayernum:
  13561. description: 纳税人识别号
  13562. type: string
  13563. telphone:
  13564. description: 联系电话
  13565. type: string
  13566. userid:
  13567. description: 用户ID
  13568. type: integer
  13569. userinfotype:
  13570. description: 客户类型 1-个人 2-企业
  13571. type: integer
  13572. username:
  13573. description: 用户名称
  13574. type: string
  13575. type: object
  13576. models.QhjMgrPickGoods:
  13577. properties:
  13578. enumdicname:
  13579. description: 单位名称(提货商品)
  13580. type: string
  13581. goodsid:
  13582. description: 商品id
  13583. type: integer
  13584. imageaddress:
  13585. description: 图片
  13586. type: string
  13587. modifierid:
  13588. description: 修改人
  13589. type: integer
  13590. modifiername:
  13591. description: 修改人名称
  13592. type: string
  13593. modifysrc:
  13594. description: 修改来源 - 1:管理端 2:终端
  13595. type: integer
  13596. pickupgoodsagreeunit:
  13597. description: 合约乘数
  13598. type: number
  13599. pickupgoodsdesc:
  13600. description: 描述
  13601. type: string
  13602. pickupgoodsid:
  13603. description: 提货商品ID
  13604. type: string
  13605. pickupgoodsname:
  13606. description: 提货商品名称
  13607. type: string
  13608. pickupgoodsstatus:
  13609. description: 状态 - 1:正常 2:停用 3:注销
  13610. type: integer
  13611. pickupgoodsunitid:
  13612. description: 单位ID
  13613. type: integer
  13614. pickupratio:
  13615. description: 提货系数
  13616. type: number
  13617. preparedays:
  13618. description: 备货期(天)
  13619. type: integer
  13620. remark:
  13621. description: 备注
  13622. type: string
  13623. updatetime:
  13624. description: 更新时间
  13625. type: string
  13626. type: object
  13627. models.QhjMgrPositionRsp:
  13628. properties:
  13629. accountid:
  13630. description: 账号Id
  13631. type: integer
  13632. accountname:
  13633. description: 用户名称
  13634. type: string
  13635. agreeunit:
  13636. description: 合约乘数
  13637. type: number
  13638. averageprice:
  13639. description: 均价
  13640. type: number
  13641. avialqty:
  13642. description: 可用数量
  13643. type: number
  13644. decimalplace:
  13645. description: 报价小数位
  13646. type: integer
  13647. enumdicname:
  13648. description: 单位名称(商品)
  13649. type: string
  13650. frozenqty:
  13651. description: 冻结数量
  13652. type: number
  13653. goodscode:
  13654. description: 商品代码(内部)
  13655. type: string
  13656. goodsid:
  13657. description: 商品Id
  13658. type: integer
  13659. goodsname:
  13660. description: 商品名称
  13661. type: string
  13662. goodunitid:
  13663. description: 报价单位ID
  13664. type: integer
  13665. holderamount:
  13666. description: 金额
  13667. type: number
  13668. holderqty:
  13669. description: 持有数量
  13670. type: number
  13671. holdertype:
  13672. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13673. type: integer
  13674. logincode:
  13675. description: 登录代码(账户)
  13676. type: string
  13677. marketid:
  13678. description: 市场id
  13679. type: integer
  13680. qtydecimalplace:
  13681. description: 成交量小数位
  13682. type: integer
  13683. trademode:
  13684. description: 交易模式
  13685. type: integer
  13686. userid:
  13687. description: 用户id
  13688. type: integer
  13689. userinfotype:
  13690. description: 账户类型 1-个人 2-企业
  13691. type: integer
  13692. type: object
  13693. models.QhjMgrSubArea:
  13694. properties:
  13695. accountname:
  13696. description: 账户名称(机构名称)
  13697. type: string
  13698. memberuserid:
  13699. description: 所属会员ID
  13700. type: integer
  13701. parenttopuser:
  13702. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13703. type: string
  13704. parentuserid:
  13705. description: 所属机构ID
  13706. type: integer
  13707. rootuserid:
  13708. description: 根用户ID
  13709. type: string
  13710. subaccountlevel:
  13711. description: 子账户层数
  13712. type: integer
  13713. subarealevelpath:
  13714. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13715. type: string
  13716. userid:
  13717. description: 用户ID
  13718. type: integer
  13719. usertype:
  13720. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13721. type: integer
  13722. type: object
  13723. models.QhjMgrTradeDetailRsp:
  13724. properties:
  13725. accountid:
  13726. description: 资金账号
  13727. type: integer
  13728. accountname:
  13729. description: 用户名称
  13730. type: string
  13731. agreeunit:
  13732. description: 合约乘数
  13733. type: number
  13734. buyorsell:
  13735. description: 成交类型(方向) 0:买 1:卖
  13736. type: integer
  13737. decimalplace:
  13738. description: 报价小数位
  13739. type: integer
  13740. enumdicname:
  13741. description: 单位名称(商品)
  13742. type: string
  13743. goodscode:
  13744. description: 商品代码(内部)
  13745. type: string
  13746. goodsid:
  13747. description: 商品id
  13748. type: integer
  13749. goodsname:
  13750. description: 商品名称
  13751. type: string
  13752. goodunitid:
  13753. description: 报价单位ID
  13754. type: integer
  13755. logincode:
  13756. description: 登录代码(账户)
  13757. type: string
  13758. marketid:
  13759. description: 市场id
  13760. type: integer
  13761. orderid:
  13762. description: 关联委托单号
  13763. type: string
  13764. qtydecimalplace:
  13765. description: 成交量小数位
  13766. type: integer
  13767. tradeamount:
  13768. description: 金额
  13769. type: number
  13770. tradedate:
  13771. description: 交易日
  13772. type: string
  13773. tradeid:
  13774. description: 成交单号
  13775. type: string
  13776. trademode:
  13777. description: 交易模式
  13778. type: integer
  13779. tradeprice:
  13780. description: 价格
  13781. type: number
  13782. tradeqty:
  13783. description: 数量
  13784. type: number
  13785. tradetime:
  13786. description: 成交时间
  13787. type: string
  13788. userid:
  13789. description: 用户id
  13790. type: integer
  13791. userinfotype:
  13792. description: 账户类型 1-个人 2-企业
  13793. type: integer
  13794. type: object
  13795. models.QhjMgrTradeOrderDetailRsp:
  13796. properties:
  13797. accountid:
  13798. description: 资金账号
  13799. type: integer
  13800. accountname:
  13801. description: 用户名称
  13802. type: string
  13803. agreeunit:
  13804. description: 合约乘数
  13805. type: number
  13806. amount:
  13807. description: 金额
  13808. type: number
  13809. decimalplace:
  13810. description: 报价小数位
  13811. type: integer
  13812. enumdicname:
  13813. description: 单位名称(商品)
  13814. type: string
  13815. goodscode:
  13816. description: 商品代码(内部)
  13817. type: string
  13818. goodsid:
  13819. description: 商品id
  13820. type: integer
  13821. goodsname:
  13822. description: 商品名称
  13823. type: string
  13824. goodunitid:
  13825. description: 报价单位ID
  13826. type: integer
  13827. logincode:
  13828. description: 登录代码(账户)
  13829. type: string
  13830. marketid:
  13831. description: 市场id
  13832. type: integer
  13833. orderid:
  13834. description: 关联委托单号
  13835. type: string
  13836. orderprice:
  13837. description: 价格
  13838. type: number
  13839. orderqty:
  13840. description: 数量
  13841. type: number
  13842. orderstatus:
  13843. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13844. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13845. 16:成交失败违约(荷兰式竞拍专用)
  13846. type: integer
  13847. ordertime:
  13848. description: 委托时间
  13849. type: string
  13850. qtydecimalplace:
  13851. description: 成交量小数位
  13852. type: integer
  13853. tradedate:
  13854. description: 交易日
  13855. type: string
  13856. trademode:
  13857. description: 交易模式
  13858. type: integer
  13859. userid:
  13860. description: 用户id
  13861. type: integer
  13862. userinfotype:
  13863. description: 账户类型 1-个人 2-企业
  13864. type: integer
  13865. type: object
  13866. models.QhjMgrTradePayOrder:
  13867. properties:
  13868. accountname:
  13869. description: 用户名称
  13870. type: string
  13871. advanceratio:
  13872. description: 首付比率
  13873. type: number
  13874. agreeunit:
  13875. description: 合约乘数
  13876. type: number
  13877. buyaccountid:
  13878. description: 买方账号ID[报价币种]
  13879. type: integer
  13880. buyorderid:
  13881. description: 买方委托单号(关联单号)
  13882. type: string
  13883. createtime:
  13884. description: 创建时间
  13885. type: string
  13886. decimalplace:
  13887. description: 报价小数位
  13888. type: integer
  13889. enumdicname:
  13890. description: 单位名称(商品)
  13891. type: string
  13892. goodscode:
  13893. description: 商品代码(内部)
  13894. type: string
  13895. goodsid:
  13896. description: 商品ID
  13897. type: integer
  13898. goodsname:
  13899. description: 商品名称
  13900. type: string
  13901. goodunitid:
  13902. description: 报价单位ID
  13903. type: integer
  13904. logincode:
  13905. description: 登录代码(账户)
  13906. type: string
  13907. marketid:
  13908. description: 市场id
  13909. type: integer
  13910. offamount:
  13911. description: 优惠金额
  13912. type: number
  13913. operatetype:
  13914. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13915. type: integer
  13916. payamount:
  13917. description: 支付金额(金额)
  13918. type: number
  13919. payflag:
  13920. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13921. type: integer
  13922. paylimitedtime:
  13923. description: 支付期限
  13924. type: string
  13925. paytime:
  13926. description: 付款时间
  13927. type: string
  13928. qtydecimalplace:
  13929. description: 成交量小数位
  13930. type: integer
  13931. sellaccountid:
  13932. description: 卖方账号ID[报价币种]
  13933. type: integer
  13934. sellorderid:
  13935. description: 卖方委托单号
  13936. type: string
  13937. tradeamount:
  13938. description: 成交金额(优惠后金额)
  13939. type: number
  13940. tradecharge:
  13941. description: 成交手续费(买方)
  13942. type: number
  13943. tradedate:
  13944. description: 交易日(yyyyMMdd)
  13945. type: string
  13946. tradeid:
  13947. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13948. type: string
  13949. trademode:
  13950. description: 交易模式
  13951. type: integer
  13952. tradeprice:
  13953. description: 成交价格(价格)
  13954. type: number
  13955. tradeqty:
  13956. description: 成交数量(数量)
  13957. type: number
  13958. tradetime:
  13959. description: 成交时间
  13960. type: string
  13961. userid:
  13962. description: 用户id
  13963. type: integer
  13964. userinfotype:
  13965. description: 账户类型 1-个人 2-企业
  13966. type: integer
  13967. type: object
  13968. models.QhjMyTeamEx:
  13969. properties:
  13970. accountname:
  13971. description: 用户名称
  13972. type: string
  13973. accountstatus:
  13974. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13975. type: integer
  13976. createtime:
  13977. description: 创建时间
  13978. type: string
  13979. mobile:
  13980. description: 手机号码
  13981. type: string
  13982. refereeuserid:
  13983. description: 推荐人id
  13984. type: integer
  13985. refernum:
  13986. description: 推荐码
  13987. type: string
  13988. subList:
  13989. items:
  13990. $ref: '#/definitions/models.QhjMyTeamEx'
  13991. type: array
  13992. userid:
  13993. description: 用户id
  13994. type: integer
  13995. userinfotype:
  13996. description: 用户类型 1-个人 2-企业
  13997. type: integer
  13998. type: object
  13999. models.QhjNodeAgreementConfig:
  14000. properties:
  14001. agreementcontent:
  14002. description: 协议内容
  14003. type: string
  14004. agreementid:
  14005. description: 协议ID
  14006. type: integer
  14007. agreementname:
  14008. description: 协议名称
  14009. type: string
  14010. agreementno:
  14011. description: 协议编号
  14012. type: string
  14013. agreementtype:
  14014. description: 协议类型 - 1:注册 2:登录 3:交易
  14015. type: integer
  14016. agreementversion:
  14017. description: 协议版本号
  14018. type: integer
  14019. configid:
  14020. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14021. type: integer
  14022. createtime:
  14023. description: 创建时间
  14024. type: string
  14025. goodsid:
  14026. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14027. type: integer
  14028. nodetype:
  14029. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14030. type: integer
  14031. type: object
  14032. models.QhjParentAreaList:
  14033. properties:
  14034. accountname:
  14035. description: 账户名称(机构名称)
  14036. type: string
  14037. userid:
  14038. description: 用户ID
  14039. type: integer
  14040. usertype:
  14041. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14042. type: integer
  14043. type: object
  14044. models.QhjPayOrder:
  14045. properties:
  14046. advanceratio:
  14047. description: 首付比率
  14048. type: number
  14049. buyaccountid:
  14050. description: 买方账号ID[报价币种]
  14051. type: integer
  14052. buyorderid:
  14053. description: 买方委托单号
  14054. type: string
  14055. createtime:
  14056. description: 创建时间
  14057. type: string
  14058. decimalplace:
  14059. description: 商品报价小数位
  14060. type: integer
  14061. enumdicname:
  14062. description: 单位名称
  14063. type: string
  14064. goodscode:
  14065. description: 商品代码
  14066. type: string
  14067. goodsid:
  14068. description: 商品ID
  14069. type: integer
  14070. goodsname:
  14071. description: 商品名称
  14072. type: string
  14073. goodunitid:
  14074. description: 商品单位id
  14075. type: integer
  14076. marketid:
  14077. description: 市场ID
  14078. type: integer
  14079. offamount:
  14080. description: 优惠金额
  14081. type: number
  14082. operatetype:
  14083. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14084. type: integer
  14085. payamount:
  14086. description: 支付金额
  14087. type: number
  14088. payflag:
  14089. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14090. type: integer
  14091. paylimitedtime:
  14092. description: 支付期限
  14093. type: string
  14094. paytime:
  14095. description: 付款时间
  14096. type: string
  14097. qtydecimalplace:
  14098. description: 成交量小数位
  14099. type: integer
  14100. sellaccountid:
  14101. description: 卖方账号ID[报价币种]
  14102. type: integer
  14103. sellorderid:
  14104. description: 卖方委托单号
  14105. type: string
  14106. tradeamount:
  14107. description: 成交金额(优惠后金额)
  14108. type: number
  14109. tradecharge:
  14110. description: 成交手续费(买方)
  14111. type: number
  14112. tradedate:
  14113. description: 交易日(yyyyMMdd)
  14114. type: string
  14115. tradeid:
  14116. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14117. type: string
  14118. tradeprice:
  14119. description: 成交价格
  14120. type: number
  14121. tradeqty:
  14122. description: 成交数量
  14123. type: number
  14124. type: object
  14125. models.QhjPickArea:
  14126. properties:
  14127. address:
  14128. description: 详细地址
  14129. type: string
  14130. cityid:
  14131. description: 市
  14132. type: integer
  14133. cityname:
  14134. description: 城市名称
  14135. type: string
  14136. countryid:
  14137. description: 国家
  14138. type: integer
  14139. countryname:
  14140. description: 国家名称
  14141. type: string
  14142. districtid:
  14143. description: 地区
  14144. type: integer
  14145. districtname:
  14146. description: 地区名称
  14147. type: string
  14148. fromuserid:
  14149. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14150. type: integer
  14151. fromusername:
  14152. description: 所属机构名称
  14153. type: string
  14154. provinceid:
  14155. description: 省
  14156. type: integer
  14157. provincename:
  14158. description: 省名称
  14159. type: string
  14160. suborgtype:
  14161. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14162. type: integer
  14163. userid:
  14164. description: 机构用户ID 其他做市关系,都设置为 1
  14165. type: integer
  14166. username:
  14167. description: 机构用户名称(门店门称)
  14168. type: string
  14169. type: object
  14170. models.QhjPickGoods:
  14171. properties:
  14172. enumdicname:
  14173. description: 单位名称(提货商品)
  14174. type: string
  14175. goodsid:
  14176. description: 商品id
  14177. type: integer
  14178. imageaddress:
  14179. description: 图片
  14180. type: string
  14181. modifierid:
  14182. description: 修改人
  14183. type: integer
  14184. modifiername:
  14185. description: 修改人名称
  14186. type: string
  14187. modifysrc:
  14188. description: 修改来源 - 1:管理端 2:终端
  14189. type: integer
  14190. pickupgoodsagreeunit:
  14191. description: 合约乘数
  14192. type: number
  14193. pickupgoodsdesc:
  14194. description: 描述
  14195. type: string
  14196. pickupgoodsid:
  14197. description: 提货商品ID
  14198. type: string
  14199. pickupgoodsname:
  14200. description: 提货商品名称
  14201. type: string
  14202. pickupgoodsstatus:
  14203. description: 状态 - 1:正常 2:停用 3:注销
  14204. type: integer
  14205. pickupgoodsunitid:
  14206. description: 单位ID
  14207. type: integer
  14208. pickupratio:
  14209. description: 提货系数
  14210. type: number
  14211. preparedays:
  14212. description: 备货期(天)
  14213. type: integer
  14214. remark:
  14215. description: 备注
  14216. type: string
  14217. updatetime:
  14218. description: 更新时间
  14219. type: string
  14220. type: object
  14221. models.QhjRSTriggerLog:
  14222. properties:
  14223. accountid:
  14224. description: 用户资金账户
  14225. type: integer
  14226. accountname:
  14227. description: 账号名称(ACCOUNTID对应的名称)
  14228. type: string
  14229. currencyid:
  14230. description: 币种id
  14231. type: integer
  14232. currencyname:
  14233. description: 币种名称
  14234. type: string
  14235. decimalplace:
  14236. description: 商品报价小数位
  14237. type: integer
  14238. enumdicname:
  14239. description: 单位名称
  14240. type: string
  14241. goodscode:
  14242. description: 定投商品代码
  14243. type: string
  14244. goodsid:
  14245. description: 定投商品ID
  14246. type: integer
  14247. goodsname:
  14248. description: 定投商品名称
  14249. type: string
  14250. goodunitid:
  14251. description: 定投商品单位id
  14252. type: integer
  14253. logid:
  14254. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14255. type: string
  14256. logincode:
  14257. description: 账号(登录代码)
  14258. type: string
  14259. qtydecimalplace:
  14260. description: 成交量小数位
  14261. type: integer
  14262. regularlycycle:
  14263. description: 定投频率 - 1:每周 2:每月
  14264. type: integer
  14265. regularlycyclevalue:
  14266. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14267. type: string
  14268. regularlymode:
  14269. description: 定投方式 - 1:按数量 2:按金额
  14270. type: integer
  14271. regularlymodevalue:
  14272. description: 定投方式值 - 数量或金额
  14273. type: number
  14274. regularlystrategyid:
  14275. description: 定投策略ID
  14276. type: integer
  14277. retcode:
  14278. description: 错误码
  14279. type: string
  14280. tradeid:
  14281. description: 成交单ID
  14282. type: string
  14283. triggeramount:
  14284. description: 触发金额
  14285. type: number
  14286. triggerqty:
  14287. description: 触发数量
  14288. type: number
  14289. triggerstatus:
  14290. description: 触发状态 - 1:成功 2:失败
  14291. type: integer
  14292. triggertime:
  14293. description: 触发时间
  14294. type: string
  14295. triggertradedate:
  14296. description: 触发交易日
  14297. type: string
  14298. userid:
  14299. description: 所属用户ID
  14300. type: integer
  14301. userinfotype:
  14302. description: 用户类型 1-个人 2-企业
  14303. type: integer
  14304. username:
  14305. description: 用户名称(userid对应的名称)
  14306. type: string
  14307. type: object
  14308. models.QhjRStrategy:
  14309. properties:
  14310. accountid:
  14311. description: 用户资金账户
  14312. type: integer
  14313. accountname:
  14314. description: 账号名称(ACCOUNTID对应的名称)
  14315. type: string
  14316. currencyid:
  14317. description: 币种id
  14318. type: integer
  14319. currencyname:
  14320. description: 币种名称
  14321. type: string
  14322. decimalplace:
  14323. description: 商品报价小数位
  14324. type: integer
  14325. enumdicname:
  14326. description: 单位名称
  14327. type: string
  14328. goodscode:
  14329. description: 定投商品代码
  14330. type: string
  14331. goodsid:
  14332. description: 定投商品ID
  14333. type: integer
  14334. goodsname:
  14335. description: 定投商品名称
  14336. type: string
  14337. goodunitid:
  14338. description: 定投商品单位id
  14339. type: integer
  14340. lasteffecttradedate:
  14341. description: 最新生效交易日
  14342. type: string
  14343. laststoptradedate:
  14344. description: 最新暂停交易日
  14345. type: string
  14346. lasttriggertradedate:
  14347. description: 最新触发交易日
  14348. type: string
  14349. logincode:
  14350. description: 账号(登录代码)
  14351. type: string
  14352. nexttriggeramount:
  14353. description: 下次触发金额
  14354. type: number
  14355. nexttriggerdate:
  14356. description: 下次触发日期
  14357. type: string
  14358. nexttriggerqty:
  14359. description: 下次触发数量 [按小数位放大值]
  14360. type: number
  14361. qtydecimalplace:
  14362. description: 成交量小数位
  14363. type: integer
  14364. regularlycycle:
  14365. description: 定投频率 - 1:每周 2:每月
  14366. type: integer
  14367. regularlycyclevalue:
  14368. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14369. type: string
  14370. regularlymode:
  14371. description: 定投方式 - 1:按数量 2:按金额
  14372. type: integer
  14373. regularlymodevalue:
  14374. description: 定投方式值 - 数量或金额
  14375. type: number
  14376. regularlystrategyid:
  14377. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14378. type: integer
  14379. regularlystrategystatus:
  14380. description: 策略状态 - 1:正常 2:暂停 3:终止
  14381. type: integer
  14382. remark:
  14383. description: 备注
  14384. type: string
  14385. triggersuccesstimes:
  14386. description: 累计定投成功次数
  14387. type: string
  14388. triggertotalamount:
  14389. description: 累计定投金额(成功)
  14390. type: number
  14391. triggertotalqty:
  14392. description: 累计定投数量(成功) [按小数位放大值]
  14393. type: number
  14394. triggertotaltimes:
  14395. description: 累计定投总次数
  14396. type: string
  14397. updatesrc:
  14398. description: 更新来源 - 1:管理端 2:终端
  14399. type: integer
  14400. updatetime:
  14401. description: 更新时间
  14402. type: string
  14403. updatorid:
  14404. description: 更新人
  14405. type: string
  14406. userid:
  14407. description: 所属用户ID
  14408. type: integer
  14409. userinfotype:
  14410. description: 用户类型 1-个人 2-企业
  14411. type: integer
  14412. username:
  14413. description: 用户名称(userid对应的名称)
  14414. type: string
  14415. type: object
  14416. models.QhjReckonPriceLog:
  14417. properties:
  14418. decimalplace:
  14419. description: 商品报价小数位
  14420. type: integer
  14421. goodscode:
  14422. description: 商品代码
  14423. type: string
  14424. goodsid:
  14425. description: 商品ID
  14426. type: integer
  14427. goodsname:
  14428. description: 商品名称
  14429. type: string
  14430. lastreckonprice:
  14431. description: 上日结算价
  14432. type: number
  14433. nextdnlimitprice:
  14434. description: 下个交易日跌停价
  14435. type: number
  14436. nexttrade:
  14437. description: 下个交易日
  14438. type: string
  14439. nextuplimitprice:
  14440. description: 下个交易日涨停价
  14441. type: number
  14442. reckonprice:
  14443. description: 今日结算价(定投价)
  14444. type: number
  14445. reckontime:
  14446. description: 结算时间
  14447. type: string
  14448. totalholderqty:
  14449. description: 总持仓数
  14450. type: integer
  14451. totalstock:
  14452. description: 总库存
  14453. type: integer
  14454. tradedate:
  14455. description: 交易日
  14456. type: string
  14457. updowncount:
  14458. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14459. type: integer
  14460. updownflag:
  14461. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14462. type: integer
  14463. updownrate:
  14464. description: 今日涨跌幅
  14465. type: number
  14466. updownrate_2d:
  14467. description: 连续两日涨跌幅
  14468. type: number
  14469. updownrate_3d:
  14470. description: 连续三日涨跌幅
  14471. type: number
  14472. type: object
  14473. models.QhjScoreLog:
  14474. properties:
  14475. accountid:
  14476. description: 账户ID
  14477. type: integer
  14478. createtime:
  14479. description: 创建时间(时间)
  14480. type: string
  14481. goodsid:
  14482. description: 商品ID
  14483. type: integer
  14484. hasuploaded:
  14485. description: 是否已同步(千海金) 0:未同步 1;已同步
  14486. type: integer
  14487. logid:
  14488. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14489. type: string
  14490. marketid:
  14491. description: 市场ID
  14492. type: integer
  14493. relatedamount:
  14494. description: 关联金额
  14495. type: number
  14496. relatedorderid:
  14497. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14498. type: string
  14499. scoreconfigvalue1:
  14500. description: 积分配置1
  14501. type: integer
  14502. scoreconfigvalue2:
  14503. description: 积分配置1
  14504. type: integer
  14505. scoretype:
  14506. description: 积分类型 - 1:提货积分
  14507. type: integer
  14508. scorevalue:
  14509. description: 积分
  14510. type: number
  14511. tradedate:
  14512. description: 交易日(yyyyMMdd)
  14513. type: string
  14514. uploadedtime:
  14515. description: 同步时间
  14516. type: string
  14517. userid:
  14518. description: 用户ID
  14519. type: integer
  14520. type: object
  14521. models.QhjSiteColumnDetail:
  14522. properties:
  14523. author:
  14524. description: 作者
  14525. type: string
  14526. brief:
  14527. description: 简介
  14528. type: string
  14529. columnid:
  14530. description: 所属栏目
  14531. type: integer
  14532. context:
  14533. description: 内容
  14534. type: string
  14535. coverimage:
  14536. description: 封面图片
  14537. type: string
  14538. creaedate:
  14539. description: 创建时间
  14540. type: string
  14541. creatorid:
  14542. description: 创建人
  14543. type: integer
  14544. hits:
  14545. description: 点击数
  14546. type: integer
  14547. id:
  14548. description: ID(SEQ_SITE_COLUMNDETAIL)
  14549. type: integer
  14550. isshow:
  14551. description: 是否展示 - 0:不展示 1:展示
  14552. type: integer
  14553. istop:
  14554. description: 是否置顶 - 0:不置 1:置顶
  14555. type: integer
  14556. modifierid:
  14557. description: 操作人
  14558. type: integer
  14559. publishdate:
  14560. description: 发布日期
  14561. type: string
  14562. status:
  14563. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14564. type: integer
  14565. title:
  14566. description: 标题
  14567. type: string
  14568. updatedate:
  14569. description: 修改时间
  14570. type: string
  14571. userid:
  14572. description: 用户ID(默认为0, 核心为为机构用户ID)
  14573. type: integer
  14574. username:
  14575. description: 用户名称
  14576. type: string
  14577. type: object
  14578. models.QhjTeamOrder:
  14579. properties:
  14580. accountid:
  14581. description: 账户ID[报价币种]
  14582. type: integer
  14583. accountname:
  14584. description: 账户名称
  14585. type: string
  14586. agreeunit:
  14587. description: 合约乘数
  14588. type: number
  14589. buyorsell:
  14590. description: 方向 - 0:买 1:卖
  14591. type: integer
  14592. decimalplace:
  14593. description: 报价小数位
  14594. type: integer
  14595. enumdicname:
  14596. description: 单位名称
  14597. type: string
  14598. goodscode:
  14599. description: 商品代码(内部)
  14600. type: string
  14601. goodsid:
  14602. description: 商品ID
  14603. type: integer
  14604. goodsname:
  14605. description: 商品名称
  14606. type: string
  14607. goodunitid:
  14608. description: 报价单位ID
  14609. type: integer
  14610. marketid:
  14611. description: 市场ID
  14612. type: integer
  14613. marketname:
  14614. description: 市场名称
  14615. type: string
  14616. qtydecimalplace:
  14617. description: 成交量小数位
  14618. type: integer
  14619. refereeuserid:
  14620. description: 推荐人ID
  14621. type: integer
  14622. tradeamount:
  14623. description: 成交金额[账户币种,用于所有权]
  14624. type: number
  14625. tradedate:
  14626. description: 交易日(yyyyMMdd)
  14627. type: string
  14628. trademode:
  14629. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14630. 21:竞拍-大宗式 22:受托竞价
  14631. type: integer
  14632. tradeprice:
  14633. description: 成交价格
  14634. type: number
  14635. tradeqty:
  14636. description: 成交数量
  14637. type: number
  14638. tradetime:
  14639. description: 成交时间
  14640. type: string
  14641. userid:
  14642. description: 用户ID
  14643. type: integer
  14644. type: object
  14645. models.QhjTradeGoodsPickup:
  14646. properties:
  14647. accountid:
  14648. description: 账户ID
  14649. type: integer
  14650. address:
  14651. description: 提货人详细地址
  14652. type: string
  14653. amount:
  14654. description: 提货金额
  14655. type: number
  14656. artradedate:
  14657. description: 自动收货交易日(yyyyMMdd)
  14658. type: string
  14659. auditer:
  14660. description: 审核人
  14661. type: integer
  14662. auditsrc:
  14663. description: 更新来源 - 1:管理端 2:终端
  14664. type: integer
  14665. audittime:
  14666. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14667. type: string
  14668. audittradedate:
  14669. description: 审核交易日(yyyyMMdd)
  14670. type: string
  14671. cardnum:
  14672. description: 提货人证件号码
  14673. type: string
  14674. cardtypeid:
  14675. description: 提货人证件类型
  14676. type: integer
  14677. checkremark:
  14678. description: 审核备注
  14679. type: string
  14680. cityid:
  14681. description: 市
  14682. type: integer
  14683. cityname:
  14684. description: 城市名称
  14685. type: string
  14686. confirmtime:
  14687. description: 取货时间 或 收货时间
  14688. type: string
  14689. countryid:
  14690. description: 国家
  14691. type: integer
  14692. countryname:
  14693. description: 国家名称
  14694. type: string
  14695. decimalplace:
  14696. description: 商品报价小数位
  14697. type: integer
  14698. districtid:
  14699. description: 地区
  14700. type: integer
  14701. districtname:
  14702. description: 地区名称
  14703. type: string
  14704. enumdicname:
  14705. description: 单位名称(提货商品)
  14706. type: string
  14707. expresscompany:
  14708. description: 物流公司
  14709. type: string
  14710. expressnum:
  14711. description: 物流单号
  14712. type: string
  14713. goodsagreeunit:
  14714. description: 交易商品乘数
  14715. type: number
  14716. goodscode:
  14717. description: 商品代码
  14718. type: string
  14719. goodsid:
  14720. description: 商品ID
  14721. type: integer
  14722. goodsname:
  14723. description: 商品名称
  14724. type: string
  14725. goodsqty:
  14726. description: 交易商品手数(69模式按成交量小数位放大取整)
  14727. type: number
  14728. handlestatus:
  14729. description: 处理状态
  14730. type: integer
  14731. logincode:
  14732. description: 账号(登录代码, 有可能为空)
  14733. type: string
  14734. marketid:
  14735. description: 市场ID
  14736. type: integer
  14737. phonenum:
  14738. description: 提货人联系方式
  14739. type: string
  14740. pickupgoodsagreeunit:
  14741. description: 提货商品合约乘数
  14742. type: number
  14743. pickupgoodsid:
  14744. description: 提货商品ID
  14745. type: string
  14746. pickupgoodsname:
  14747. description: 提货商品名称
  14748. type: string
  14749. pickupgoodsqty:
  14750. description: 提货商品手数(数量)
  14751. type: number
  14752. pickupgoodsunitid:
  14753. description: 单位ID(提货商品)
  14754. type: integer
  14755. pickupratio:
  14756. description: 提货系数
  14757. type: number
  14758. preparedays:
  14759. description: 备货期(天)-提货单明细表
  14760. type: integer
  14761. provinceid:
  14762. description: 省
  14763. type: integer
  14764. provincename:
  14765. description: 省名称
  14766. type: string
  14767. qty:
  14768. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14769. type: number
  14770. qtydecimalplace:
  14771. description: 商品数量小数位
  14772. type: integer
  14773. recivername:
  14774. description: 提货人姓名
  14775. type: string
  14776. reqtime:
  14777. description: 提货申请时间
  14778. type: string
  14779. storeuserid:
  14780. description: 门店用户ID (千海金)
  14781. type: integer
  14782. storeusername:
  14783. description: 门店用户名称
  14784. type: string
  14785. takemode:
  14786. description: 提货方式 - 2:自提 3:配送(邮寄)
  14787. type: integer
  14788. takeorderid:
  14789. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14790. type: string
  14791. takeorderstatus:
  14792. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14793. 7:已拒绝 8:已撤销
  14794. type: integer
  14795. takeremark:
  14796. description: 提货备注
  14797. type: string
  14798. tradedate:
  14799. description: 交易日(yyyyMMdd)
  14800. type: string
  14801. updatetime:
  14802. description: 更新时间
  14803. type: string
  14804. userid:
  14805. description: 用户ID
  14806. type: integer
  14807. userinfotype:
  14808. description: 客户类型 1-个人 2-企业
  14809. type: integer
  14810. username:
  14811. description: 用户名称
  14812. type: string
  14813. type: object
  14814. models.QhjUserNodeCfgAndStatus:
  14815. properties:
  14816. agreementcontent:
  14817. description: 协议内容
  14818. type: string
  14819. agreementid:
  14820. description: 协议ID
  14821. type: integer
  14822. agreementname:
  14823. description: 协议名称
  14824. type: string
  14825. agreementno:
  14826. description: 协议编号
  14827. type: string
  14828. agreementtype:
  14829. description: 协议类型 - 1:注册 2:登录 3:交易
  14830. type: integer
  14831. agreementversion:
  14832. description: 协议版本号
  14833. type: integer
  14834. configid:
  14835. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14836. type: integer
  14837. createtime:
  14838. description: 创建时间
  14839. type: string
  14840. goodsid:
  14841. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14842. type: integer
  14843. nodetype:
  14844. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14845. type: integer
  14846. signtimestamp:
  14847. description: 签约状态时间戳(最近一次)
  14848. type: string
  14849. tradedate:
  14850. description: 签约交易日(yyyyMMdd)
  14851. type: string
  14852. userid:
  14853. description: 客户ID
  14854. type: integer
  14855. type: object
  14856. models.Qhjgoodsex:
  14857. properties:
  14858. canfinance:
  14859. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14860. type: integer
  14861. canregularlybuy:
  14862. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14863. type: integer
  14864. defaulttradeuserid:
  14865. description: 默认交易用户ID
  14866. type: integer
  14867. deliverygoodsid:
  14868. description: 现货品种ID
  14869. type: integer
  14870. goodsid:
  14871. description: 商品ID(自增ID SEQ_GOODS)
  14872. type: integer
  14873. minamount:
  14874. description: 最小购买金额
  14875. type: number
  14876. regularlybuyminamount:
  14877. description: 定投最小金额
  14878. type: number
  14879. regularlybuyminqty:
  14880. description: 定投最小数量
  14881. type: number
  14882. spotgoodsbrandid:
  14883. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14884. type: integer
  14885. visibilityforenterprise:
  14886. description: 企业客户是否可见 - 0:不可见 1:可见
  14887. type: integer
  14888. visibilityforpersonal:
  14889. description: 个人客户是否可见 - 0:不可见 1:可见
  14890. type: integer
  14891. wrstandardid:
  14892. description: 现货商品ID
  14893. type: integer
  14894. type: object
  14895. models.QueryErrorInfosRsp:
  14896. properties:
  14897. description:
  14898. description: 异常描述
  14899. type: string
  14900. errorcode:
  14901. description: 异常代码
  14902. type: string
  14903. errorid:
  14904. description: 异常ID
  14905. type: integer
  14906. modulecode:
  14907. description: 所属模块
  14908. type: string
  14909. operatecode:
  14910. description: 所属操作
  14911. type: string
  14912. rownumber:
  14913. description: 行号
  14914. type: string
  14915. required:
  14916. - errorid
  14917. type: object
  14918. models.QueryHedgeOrderDetailRsp:
  14919. properties:
  14920. accountid:
  14921. description: 账户ID
  14922. type: integer
  14923. buyorsell:
  14924. description: 买卖 - 0:买 1:卖
  14925. type: integer
  14926. cancellogincode:
  14927. description: 撤单人
  14928. type: string
  14929. channelbuildtype:
  14930. description: 开平标志 - 0:无 1:建仓 2:平仓
  14931. type: integer
  14932. channelinnerorderstatus:
  14933. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14934. 9:全部成交
  14935. type: integer
  14936. channeloperatetype:
  14937. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14938. type: integer
  14939. closetype:
  14940. description: 平仓方式 - 0:无 1:平今 2:平昨
  14941. type: integer
  14942. curexchangerate:
  14943. description: 当前汇率
  14944. type: number
  14945. decimalplace:
  14946. description: 商品报价小数位
  14947. type: integer
  14948. exchangefullname:
  14949. description: 外部交易所全称
  14950. type: string
  14951. goodscode:
  14952. description: 商品代码(内部)
  14953. type: string
  14954. goodsid:
  14955. description: 商品ID
  14956. type: integer
  14957. goodsname:
  14958. description: 商品名称
  14959. type: string
  14960. marketid:
  14961. description: 市场ID
  14962. type: integer
  14963. openfreezemargin:
  14964. description: 冻结保证金(冻结交易金额)
  14965. type: number
  14966. orderid:
  14967. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14968. type: string
  14969. orderlogincode:
  14970. description: 委托人
  14971. type: string
  14972. orderprice:
  14973. description: 委托价格(账户)
  14974. type: number
  14975. orderqty:
  14976. description: 委托数量
  14977. type: integer
  14978. ordertime:
  14979. description: 委托时间
  14980. type: string
  14981. pricemode:
  14982. description: '取价方式 - 1:市价 2: 限价'
  14983. type: integer
  14984. tradedate:
  14985. description: 交易日(yyyyMMdd)
  14986. type: string
  14987. tradeqty:
  14988. description: 成交数量
  14989. type: integer
  14990. type: object
  14991. models.QueryHedgeTradeDetailRsp:
  14992. properties:
  14993. accountid:
  14994. description: 账号ID
  14995. type: integer
  14996. buyorsell:
  14997. description: 方向 - 0:买 1:卖
  14998. type: integer
  14999. channelbuildtype:
  15000. description: 委托单据类型 0:无 1:建仓 2:平仓
  15001. type: integer
  15002. closecharge:
  15003. description: 平仓手续费(账户)
  15004. type: number
  15005. closecharge2:
  15006. description: 平仓手续费(商品)
  15007. type: number
  15008. closepl:
  15009. description: 平仓盈亏(账户)
  15010. type: number
  15011. closepl2:
  15012. description: 平仓盈亏(商品)
  15013. type: number
  15014. closepl3:
  15015. description: 平仓盈亏(账户)(逐笔)
  15016. type: number
  15017. closepl4:
  15018. description: 平仓盈亏(商品)(逐笔)
  15019. type: number
  15020. closetype:
  15021. description: 平仓方式 - 0:无 1:平今 2:平昨
  15022. type: integer
  15023. curexchangerate:
  15024. description: 当前汇率
  15025. type: number
  15026. decimalplace:
  15027. description: 商品报价小数位
  15028. type: integer
  15029. exchangefullname:
  15030. description: 外部交易所全称
  15031. type: string
  15032. goodscode:
  15033. description: 商品代码(内部)
  15034. type: string
  15035. goodsid:
  15036. description: 商品ID
  15037. type: integer
  15038. goodsname:
  15039. description: 商品名称
  15040. type: string
  15041. marketid:
  15042. description: 市场ID
  15043. type: integer
  15044. opencharge:
  15045. description: 建仓手续费(账户)
  15046. type: number
  15047. opencharge2:
  15048. description: 建仓手续费(商品)
  15049. type: number
  15050. orderid:
  15051. description: 委托单号
  15052. type: string
  15053. orderlogincode:
  15054. description: 委托人
  15055. type: string
  15056. tradeamount:
  15057. description: 成交金额(账户)
  15058. type: number
  15059. tradedate:
  15060. description: 交易日(yyyyMMdd)
  15061. type: string
  15062. tradeid:
  15063. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15064. type: string
  15065. tradeprice:
  15066. description: 成交价格
  15067. type: number
  15068. tradeqty:
  15069. description: 成交数量
  15070. type: integer
  15071. tradetime:
  15072. description: 成交时间
  15073. type: string
  15074. tradetype:
  15075. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15076. type: integer
  15077. type: object
  15078. models.QuotePrimaryMenu:
  15079. properties:
  15080. Index:
  15081. description: 序号
  15082. type: integer
  15083. Key:
  15084. description: 键名
  15085. type: string
  15086. Name:
  15087. description: 菜单名称
  15088. type: string
  15089. SubMenus:
  15090. description: 子菜单
  15091. items:
  15092. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15093. type: array
  15094. SubTitleType:
  15095. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15096. type: integer
  15097. TradeModes:
  15098. description: 包含市场交易类型
  15099. type: string
  15100. type: object
  15101. models.QuoteSecondaryMenu:
  15102. properties:
  15103. ExExchangeCode:
  15104. description: 外部交易所代码
  15105. type: string
  15106. ExExchangeID:
  15107. description: 外部交易所ID
  15108. type: integer
  15109. GoodsGroupIDs:
  15110. description: 商品组ID列表
  15111. items:
  15112. type: integer
  15113. type: array
  15114. Index:
  15115. description: 序号
  15116. type: integer
  15117. MarketID:
  15118. description: 市场ID
  15119. type: integer
  15120. MenuTitle:
  15121. description: 菜单标题(市场名称或外部交易所名称)
  15122. type: string
  15123. TradeMode:
  15124. description: 交易模式
  15125. type: integer
  15126. type: object
  15127. models.RelatedTaAccount:
  15128. properties:
  15129. accountid:
  15130. description: 资金账户ID
  15131. type: integer
  15132. type: object
  15133. models.RoleMenu:
  15134. properties:
  15135. hasright:
  15136. description: 是否有权限 0-没有权限 1-有权限
  15137. type: integer
  15138. iconame:
  15139. description: 菜单图标
  15140. type: string
  15141. menutype:
  15142. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15143. type: integer
  15144. parentcode:
  15145. description: 上级资源代码
  15146. type: string
  15147. remark:
  15148. description: 菜单备注
  15149. type: string
  15150. resourcecode:
  15151. description: 菜单代码
  15152. type: string
  15153. resourcelevel:
  15154. description: 级别
  15155. type: integer
  15156. resourcename:
  15157. description: 菜单名称
  15158. type: string
  15159. roleid:
  15160. description: 角色id
  15161. type: integer
  15162. sort:
  15163. description: 排序
  15164. type: integer
  15165. subMenu:
  15166. description: 子级菜单(结构同上层一样, swag解析不出来)
  15167. items:
  15168. $ref: '#/definitions/models.RoleMenu'
  15169. type: array
  15170. url:
  15171. description: URL
  15172. type: string
  15173. userid:
  15174. description: 用户id
  15175. type: integer
  15176. type: object
  15177. models.SearchGoods:
  15178. properties:
  15179. goodscode:
  15180. description: 商品代码(内部)
  15181. type: string
  15182. goodsid:
  15183. description: 商品ID(自增ID SEQ_GOODS)
  15184. type: integer
  15185. goodsname:
  15186. description: 商品名称
  15187. type: string
  15188. marketid:
  15189. description: 所属市场ID
  15190. type: integer
  15191. marketname:
  15192. description: 市场名称
  15193. type: string
  15194. trademode:
  15195. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15196. 21:竞拍-大宗式 22:受托竞价
  15197. type: integer
  15198. required:
  15199. - goodscode
  15200. - goodsid
  15201. - goodsname
  15202. - marketid
  15203. - trademode
  15204. type: object
  15205. models.SellOrder:
  15206. properties:
  15207. accountid:
  15208. description: 资金账号
  15209. type: integer
  15210. applyid:
  15211. description: 申请单ID
  15212. type: integer
  15213. attachment1:
  15214. description: 附件1
  15215. type: string
  15216. attachment2:
  15217. description: 附件2
  15218. type: string
  15219. buyorsell:
  15220. description: 买卖 - 0:买 1:卖
  15221. type: integer
  15222. canbargain:
  15223. description: 是否可议价 - 0:不可 1:可
  15224. type: integer
  15225. cancelqty:
  15226. description: 撤销数量
  15227. type: integer
  15228. canceltime:
  15229. description: 撤销时间
  15230. type: string
  15231. cerno:
  15232. type: string
  15233. chargealgorithm:
  15234. description: 手续费收取方式 1:比率 2:固定
  15235. type: integer
  15236. chargealgorithmvalue:
  15237. description: 手续费设置值(交易所部分)
  15238. type: number
  15239. chargealgorithmvalue2:
  15240. description: 手续费设置值(会员部分)
  15241. type: number
  15242. clientordertime:
  15243. description: 客户端委托时间
  15244. type: string
  15245. cpcertno:
  15246. type: string
  15247. exchangerate:
  15248. description: 汇率[67]
  15249. type: number
  15250. firstratio:
  15251. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15252. type: number
  15253. fixedprice:
  15254. description: '[克拉单价]固定价格 - [挂牌]'
  15255. type: number
  15256. freezecharge:
  15257. description: 冻结手续费
  15258. type: number
  15259. freezefirstamount:
  15260. description: 冻结首付金额 - [摘牌]
  15261. type: number
  15262. freezemargin:
  15263. description: 冻结保证金
  15264. type: number
  15265. goodsno:
  15266. description: 商品编号
  15267. type: string
  15268. imagepath:
  15269. type: string
  15270. isQueryDiamond:
  15271. description: 是否钻石查询
  15272. type: boolean
  15273. isspecified:
  15274. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15275. type: integer
  15276. kppath:
  15277. type: string
  15278. kpweight:
  15279. type: string
  15280. marginalgorithm:
  15281. description: 保证金方式 - 1:比率 2:固定
  15282. type: integer
  15283. marginvalue:
  15284. description: 保证金设置值
  15285. type: number
  15286. marketid:
  15287. description: 市场ID
  15288. type: integer
  15289. marketprice:
  15290. type: string
  15291. orderamount:
  15292. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15293. type: number
  15294. ordertime:
  15295. description: 委托时间
  15296. type: string
  15297. performancetemplateid:
  15298. description: 履约计划模板ID
  15299. type: integer
  15300. price:
  15301. description: 价格
  15302. type: number
  15303. pricefactor:
  15304. description: 价格系数(浮动价时填写) - [挂牌]
  15305. type: number
  15306. pricemove:
  15307. description: 升贴水(浮动价时填写) - [挂牌]
  15308. type: number
  15309. priceper:
  15310. type: string
  15311. relatedwrtradeorderid:
  15312. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15313. type: integer
  15314. remainqty:
  15315. description: 剩余重量
  15316. type: number
  15317. remark:
  15318. type: string
  15319. retcode:
  15320. description: 错误代码
  15321. type: integer
  15322. sellusername:
  15323. description: 卖方(查询字段-模糊查询)
  15324. type: string
  15325. settingmaterial:
  15326. type: string
  15327. size1:
  15328. type: string
  15329. size2:
  15330. type: string
  15331. size3:
  15332. type: string
  15333. sizedisplay:
  15334. description: 尺寸
  15335. type: string
  15336. stonedesc:
  15337. type: string
  15338. totalqty:
  15339. description: 总重量
  15340. type: number
  15341. tradedate:
  15342. description: 交易日(yyyyMMdd)
  15343. type: string
  15344. tradeprice:
  15345. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15346. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15347. type: number
  15348. unfreezecharge:
  15349. description: 解冻手续费
  15350. type: number
  15351. unfreezefirstamount:
  15352. description: 解冻首付金额 - [摘牌]
  15353. type: number
  15354. unfreezemargin:
  15355. description: 解冻保证金
  15356. type: number
  15357. userid:
  15358. description: 用户ID
  15359. type: integer
  15360. uuid:
  15361. description: 发起端唯一id
  15362. type: string
  15363. validtime:
  15364. description: 有效期限
  15365. type: string
  15366. validtype:
  15367. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15368. type: integer
  15369. warehousenamedisplay:
  15370. type: string
  15371. wrbargainid:
  15372. description: 议价申请单ID
  15373. type: integer
  15374. wrfactortypeid:
  15375. description: 仓单要素类型ID/商品ID(77)
  15376. type: integer
  15377. wrpath:
  15378. type: string
  15379. wrpricetype:
  15380. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15381. type: integer
  15382. wrstandardid:
  15383. description: 现货商品ID
  15384. type: integer
  15385. wrtradeorderid:
  15386. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15387. type: string
  15388. wrtradeorderstatus:
  15389. 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:撤单解冻贷款失败
  15390. type: integer
  15391. wrtradetype:
  15392. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15393. type: integer
  15394. wrtransferuserid:
  15395. description: 仓单受让用户 - [摘牌]
  15396. type: integer
  15397. zscategory:
  15398. description: 钻石分类 - 枚举”ZSCategory“
  15399. type: integer
  15400. zscategorydisplay:
  15401. description: 钻石分类 - 描述
  15402. type: string
  15403. zscerttypedisplay:
  15404. type: string
  15405. zsclaritytype1display:
  15406. type: string
  15407. zsclaritytype2display:
  15408. type: string
  15409. zscolortype1display:
  15410. type: string
  15411. zscolortype2display:
  15412. type: string
  15413. zscrystaltype:
  15414. type: string
  15415. zscrystaltypedisplay:
  15416. type: string
  15417. zscurrencytype:
  15418. description: 货币类型 - 枚举“ZSCurrencyType”
  15419. type: integer
  15420. zscurrencytypedisplay:
  15421. type: string
  15422. zscurrencytypedisplayunit:
  15423. type: string
  15424. zscuttype1display:
  15425. type: string
  15426. zscuttype2display:
  15427. type: string
  15428. zsczcolor1typedisplay:
  15429. type: string
  15430. zsczcolor2typedisplay:
  15431. type: string
  15432. zsczcolor3typedisplay:
  15433. type: string
  15434. zsfluorescencetype1display:
  15435. type: string
  15436. zsfluorescencetype2display:
  15437. type: string
  15438. zspolishtype1display:
  15439. type: string
  15440. zspolishtype2display:
  15441. type: string
  15442. zsshapetypedisplay:
  15443. type: string
  15444. zsstyletypedisplay:
  15445. type: string
  15446. zssymmetrytype1display:
  15447. type: string
  15448. zssymmetrytype2display:
  15449. type: string
  15450. type: object
  15451. models.SellOrderQueryReq:
  15452. properties:
  15453. origin:
  15454. description: 原产地
  15455. type: string
  15456. page:
  15457. description: 页码
  15458. type: integer
  15459. pagesize:
  15460. description: 每页大小
  15461. type: integer
  15462. total:
  15463. description: 总条数
  15464. type: integer
  15465. warehouseid:
  15466. description: 仓库ID
  15467. type: integer
  15468. weight1:
  15469. description: 总重量(克拉重量)-从
  15470. type: number
  15471. weight2:
  15472. description: 总重量(克拉重量)-至
  15473. type: number
  15474. weightavg1:
  15475. description: 平均单颗重量-从
  15476. type: number
  15477. weightavg2:
  15478. description: 平均单颗重量-至
  15479. type: number
  15480. zscategory:
  15481. description: 钻石分类 - 枚举”ZSCategory“
  15482. type: integer
  15483. zscerttype:
  15484. description: 证书类型
  15485. items:
  15486. type: string
  15487. type: array
  15488. zsclaritytype:
  15489. description: 净度
  15490. items:
  15491. type: integer
  15492. type: array
  15493. zscolortype:
  15494. description: 颜色
  15495. items:
  15496. type: integer
  15497. type: array
  15498. zscurrencytype:
  15499. description: 货币类型 - 枚举“ZSCurrencyType”
  15500. items:
  15501. type: string
  15502. type: array
  15503. zscuttype:
  15504. description: 切工
  15505. items:
  15506. type: integer
  15507. type: array
  15508. zsczcolor1type:
  15509. description: 彩钻颜色1
  15510. items:
  15511. type: string
  15512. type: array
  15513. zsfluorescencetype:
  15514. description: 荧光
  15515. items:
  15516. type: integer
  15517. type: array
  15518. zspolishtype:
  15519. description: 抛光度
  15520. items:
  15521. type: integer
  15522. type: array
  15523. zsshapetype:
  15524. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15525. items:
  15526. type: string
  15527. type: array
  15528. zsstyletype:
  15529. description: 款式
  15530. items:
  15531. type: string
  15532. type: array
  15533. zssymmetrytype:
  15534. description: 对称度
  15535. items:
  15536. type: integer
  15537. type: array
  15538. required:
  15539. - zscategory
  15540. type: object
  15541. models.Systemparam:
  15542. properties:
  15543. loginid:
  15544. description: 更新用户账号,登录账号
  15545. type: string
  15546. modifyflag:
  15547. description: 修改标志0 不允许修改 1 允许修改
  15548. type: integer
  15549. paramcode:
  15550. description: 参数代码
  15551. type: string
  15552. paramname:
  15553. description: 参数名
  15554. type: string
  15555. paramtype:
  15556. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15557. type: integer
  15558. paramvalue:
  15559. description: 参数值
  15560. type: string
  15561. paramvalue2:
  15562. description: 参数值(CLOB)
  15563. type: string
  15564. regexpress:
  15565. description: 正则表达式
  15566. type: string
  15567. remark:
  15568. description: 备注
  15569. type: string
  15570. serverip:
  15571. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15572. type: string
  15573. showflag:
  15574. description: 是否显示0 不显示 1 显示
  15575. type: integer
  15576. updatetime:
  15577. description: 更新时间
  15578. type: string
  15579. userid:
  15580. description: 更新用户ID
  15581. type: integer
  15582. required:
  15583. - paramcode
  15584. type: object
  15585. models.Szdz3convertconfig:
  15586. properties:
  15587. canin:
  15588. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15589. type: integer
  15590. canout:
  15591. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15592. type: integer
  15593. converttype:
  15594. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15595. 6:交易转花生米(不设置)
  15596. type: integer
  15597. createtime:
  15598. description: 创建时间
  15599. type: string
  15600. creatorid:
  15601. description: 创建人
  15602. type: integer
  15603. daymaxvalue:
  15604. description: 当日最大转入限制
  15605. type: number
  15606. freezedays:
  15607. description: 冻结天数 [5:花生米转交易]
  15608. type: integer
  15609. innergoodsid:
  15610. description: 内部商品ID[交易]
  15611. type: integer
  15612. inratio:
  15613. description: 目标值
  15614. type: integer
  15615. modifierid:
  15616. description: 修改人
  15617. type: integer
  15618. modifytime:
  15619. description: 修改时间
  15620. type: string
  15621. outergoodscode:
  15622. description: 外部商品代码[JD\PD]
  15623. type: string
  15624. outratio:
  15625. description: 源值
  15626. type: integer
  15627. pddecimalplace:
  15628. description: PD小数位
  15629. type: integer
  15630. timemaxvalue:
  15631. description: 单次最大转入限制
  15632. type: number
  15633. timeminvalue:
  15634. description: 单次最小转入限制
  15635. type: number
  15636. required:
  15637. - converttype
  15638. - innergoodsid
  15639. - outergoodscode
  15640. type: object
  15641. models.Szdz3searchwhitelist:
  15642. properties:
  15643. createtime:
  15644. description: 创建时间
  15645. type: string
  15646. creatorid:
  15647. description: 创建人
  15648. type: integer
  15649. modifierid:
  15650. description: 修改人
  15651. type: integer
  15652. modifytime:
  15653. description: 修改时间
  15654. type: string
  15655. userid:
  15656. description: 用户ID
  15657. type: integer
  15658. required:
  15659. - userid
  15660. type: object
  15661. models.TBGoods:
  15662. properties:
  15663. agreeunit:
  15664. description: 合约乘数
  15665. type: number
  15666. enumdicname:
  15667. description: 单位名称
  15668. type: string
  15669. goodscode:
  15670. description: 商品代码(内部)
  15671. type: string
  15672. goodsid:
  15673. description: 商品ID(自增ID SEQ_GOODS)
  15674. type: integer
  15675. goodsname:
  15676. description: 商品名称
  15677. type: string
  15678. type: object
  15679. models.TBGoodsGroup:
  15680. properties:
  15681. GDLST:
  15682. description: 商品列表
  15683. items:
  15684. $ref: '#/definitions/models.TBGoods'
  15685. type: array
  15686. convertratio:
  15687. description: 折算系数
  15688. type: number
  15689. enumdicname:
  15690. description: 单位名称
  15691. type: string
  15692. exexchangecode:
  15693. description: 交易所代码
  15694. type: string
  15695. exexchangename:
  15696. description: 交易所名称
  15697. type: string
  15698. goodsgroupid:
  15699. description: 商品组ID(自增ID)
  15700. type: integer
  15701. goodsgroupname:
  15702. description: 商品组名称
  15703. type: string
  15704. goodunitid:
  15705. description: 报价单位ID
  15706. type: integer
  15707. type: object
  15708. models.TBMiddleGoods:
  15709. properties:
  15710. GPLST:
  15711. description: 期货品种列表
  15712. items:
  15713. $ref: '#/definitions/models.TBGoodsGroup'
  15714. type: array
  15715. WDLST:
  15716. description: 商品信息列表(现货品类)
  15717. items:
  15718. $ref: '#/definitions/models.TBWrstandard'
  15719. type: array
  15720. areauserid:
  15721. description: 机构用户ID
  15722. type: integer
  15723. enumdicname:
  15724. description: 单位名称
  15725. type: string
  15726. goodsunitid:
  15727. description: 套保品种单位id
  15728. type: integer
  15729. middlegoodscode:
  15730. description: 套保品种代码
  15731. type: string
  15732. middlegoodsid:
  15733. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15734. type: integer
  15735. middlegoodsname:
  15736. description: 套保品种名称
  15737. type: string
  15738. needarbitrageratio:
  15739. description: 套利比率
  15740. type: number
  15741. needhedgeratio:
  15742. description: 套保比率
  15743. type: number
  15744. type: object
  15745. models.TBWrstandard:
  15746. properties:
  15747. convertratio:
  15748. description: 折算系数
  15749. type: number
  15750. deliverygoodsname:
  15751. description: 品种名称
  15752. type: string
  15753. enumdicname:
  15754. description: 单位名称
  15755. type: string
  15756. vatrate:
  15757. description: 增值税率
  15758. type: number
  15759. wrstandardcode:
  15760. description: 现货商品代码
  15761. type: string
  15762. wrstandardid:
  15763. description: 现货商品ID(SEQ_WRSTANDARD)
  15764. type: integer
  15765. wrstandardname:
  15766. description: 现货商品名称
  15767. type: string
  15768. type: object
  15769. models.Taaccount:
  15770. properties:
  15771. accountflag:
  15772. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15773. type: integer
  15774. accountid:
  15775. description: 资金账户ID
  15776. type: integer
  15777. accountname:
  15778. description: 账户名称
  15779. type: string
  15780. balance:
  15781. description: 期初余额
  15782. type: number
  15783. capitalbalance:
  15784. description: 本金余额[外部子账户实际出入金余额]
  15785. type: number
  15786. changeflag:
  15787. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15788. type: integer
  15789. changetime:
  15790. description: 账户状态变更时间
  15791. type: string
  15792. closepl:
  15793. description: 今日平仓盈亏
  15794. type: number
  15795. creditdecrease:
  15796. description: 今日授信减少
  15797. type: number
  15798. creditincrease:
  15799. description: 今日授信增加
  15800. type: number
  15801. curamount:
  15802. description: 总市值(从持仓中统计)
  15803. type: number
  15804. currencyid:
  15805. description: 货币ID
  15806. type: integer
  15807. currentbalance:
  15808. description: 期末余额
  15809. type: number
  15810. freezecharge:
  15811. description: 手续费冻结
  15812. type: number
  15813. freezemargin:
  15814. description: 冻结保证金
  15815. type: number
  15816. fromaccountid:
  15817. description: 所属上级账户
  15818. type: integer
  15819. inamount:
  15820. description: 今日入金金额(包括三方入金)
  15821. type: number
  15822. ismain:
  15823. description: 是否母账号 0:不是母账户 1:是母账户
  15824. type: integer
  15825. ismarketaccount:
  15826. description: 是否机构接单账号 0:不是 1:是
  15827. type: integer
  15828. isreckonaccount:
  15829. description: 是否机构分润账号 0:不是 1:是
  15830. type: integer
  15831. mortgagecredit:
  15832. description: 授信金额
  15833. type: number
  15834. orifreezecharge:
  15835. description: 期初手续费冻结
  15836. type: number
  15837. orifreezemargin:
  15838. description: 期初冻结保证金
  15839. type: number
  15840. orimortgagecredit:
  15841. description: 期初授信金额
  15842. type: number
  15843. oriothercredit:
  15844. description: 期初其它授信金额
  15845. type: number
  15846. oriotherfreezemargin:
  15847. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15848. type: number
  15849. orioutamountfreeze:
  15850. description: 期初出金冻结
  15851. type: number
  15852. oriusedmargin:
  15853. description: 期初占用保证金
  15854. type: number
  15855. othercredit:
  15856. description: 其它授信金额
  15857. type: number
  15858. othercreditdecrease:
  15859. description: 今日其它授信减少
  15860. type: number
  15861. othercreditincrease:
  15862. description: 今日其它授信增加
  15863. type: number
  15864. otherfreezemargin:
  15865. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15866. type: number
  15867. otherincome:
  15868. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15869. type: number
  15870. otherpay:
  15871. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15872. type: number
  15873. outamount:
  15874. description: 今日出金金额(包括三方出金)
  15875. type: number
  15876. outamountfreeze:
  15877. description: 出金冻结
  15878. type: number
  15879. outthreshold:
  15880. description: 出金阈值
  15881. type: number
  15882. parentaccountid:
  15883. description: 所属根账号
  15884. type: integer
  15885. paycharge:
  15886. description: 今日手续费支出
  15887. type: number
  15888. relatedaccountstatus:
  15889. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15890. type: integer
  15891. relateduserid:
  15892. description: 关联用户
  15893. type: integer
  15894. remainamount:
  15895. description: 融资额(从融资合同中统计)
  15896. type: number
  15897. serivcegroup:
  15898. description: 服务分组
  15899. type: integer
  15900. signstatus:
  15901. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15902. type: integer
  15903. sublevelpath:
  15904. description: 账号层级路径(逗号分隔,首尾加逗号)
  15905. type: string
  15906. taaccounttype:
  15907. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15908. type: integer
  15909. thirdinamount:
  15910. description: 今日三方入金
  15911. type: number
  15912. thirdoutamount:
  15913. description: 今日三方出金
  15914. type: number
  15915. tradestatus:
  15916. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15917. type: integer
  15918. tradestatuschangetime:
  15919. description: 激活时间
  15920. type: string
  15921. transferamount:
  15922. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15923. type: number
  15924. usedmargin:
  15925. description: 占用保证金
  15926. type: number
  15927. userid:
  15928. description: 用户ID
  15929. type: integer
  15930. required:
  15931. - accountid
  15932. - userid
  15933. type: object
  15934. models.Tablecolumnconfig:
  15935. properties:
  15936. aligntype:
  15937. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15938. type: integer
  15939. autoid:
  15940. description: AutoID
  15941. type: integer
  15942. columnfield:
  15943. description: 列字段
  15944. type: string
  15945. columntitle:
  15946. description: 列Title
  15947. type: string
  15948. columnwidth:
  15949. description: 列宽
  15950. type: string
  15951. fixed:
  15952. description: 固定类型 - 空 | left | right
  15953. type: string
  15954. formatterstring:
  15955. description: 格式化字符
  15956. type: string
  15957. formattertype:
  15958. description: 格式化类型
  15959. type: string
  15960. groupname:
  15961. description: 表头分组名称
  15962. type: string
  15963. ismerge:
  15964. description: 是否合并显示 - 0:不合并 1:合并
  15965. type: integer
  15966. isshow:
  15967. description: 是否显示 - 0:不显示 1:显示
  15968. type: integer
  15969. needsummary:
  15970. description: 是否需要汇总 - 0:不需要 1:需要
  15971. type: integer
  15972. orderindex:
  15973. description: 顺序
  15974. type: integer
  15975. remark:
  15976. description: 备注
  15977. type: string
  15978. summarytype:
  15979. description: 汇总类型 - 1:加总 2:最后一个
  15980. type: integer
  15981. tablekey:
  15982. description: 列表Key
  15983. type: string
  15984. required:
  15985. - autoid
  15986. type: object
  15987. models.TjmdHolderDetailTradeInfo:
  15988. properties:
  15989. agreeunit:
  15990. description: 合约乘数
  15991. type: number
  15992. buyaccountid:
  15993. description: 买方账户
  15994. type: string
  15995. buyusername:
  15996. description: 买方
  15997. type: string
  15998. delistingdate:
  15999. description: 最后结算日
  16000. type: string
  16001. expiredate:
  16002. description: 到期结算价定价日
  16003. type: string
  16004. exprieprice:
  16005. description: 到期清算价格
  16006. type: string
  16007. goodscode:
  16008. description: 商品代码
  16009. type: string
  16010. goodsid:
  16011. description: 商品ID
  16012. type: integer
  16013. goodsname:
  16014. description: 商品名称(交易标的)
  16015. type: string
  16016. lasttradedate:
  16017. description: 最后交易日
  16018. type: string
  16019. listingdate:
  16020. description: 开始交易日
  16021. type: string
  16022. openprice:
  16023. description: 成交价
  16024. type: number
  16025. openqty:
  16026. description: 交易数量
  16027. type: integer
  16028. sellaccountid:
  16029. description: 卖方账户
  16030. type: string
  16031. sellusername:
  16032. description: 卖方
  16033. type: string
  16034. tradeamount:
  16035. description: 初始名义价值
  16036. type: number
  16037. tradedate:
  16038. description: 成交日期
  16039. type: string
  16040. tradeid:
  16041. description: 成交编号
  16042. type: string
  16043. type: object
  16044. models.TjmdMarketSection:
  16045. properties:
  16046. marketsectionid:
  16047. description: 市场版块ID(SEQ_MARKETSECTION)
  16048. type: integer
  16049. marketsectionname:
  16050. description: 市场版块名称
  16051. type: string
  16052. mlist:
  16053. description: 市场列表(板块下面有多少个市场)
  16054. items:
  16055. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16056. type: array
  16057. orderindex:
  16058. description: 排序
  16059. type: integer
  16060. pictureurl:
  16061. description: 图片url, 规格(90*90)
  16062. type: string
  16063. remark:
  16064. description: 备注
  16065. type: string
  16066. type: object
  16067. models.TjmdMarketSectionConfig:
  16068. properties:
  16069. auctionwrtype:
  16070. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16071. type: integer
  16072. canacceptquote:
  16073. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16074. type: integer
  16075. cangoodsexercise:
  16076. description: '[期权]是否可现货行权- 0:否 1:是'
  16077. type: integer
  16078. cangoodsexercisetype:
  16079. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16080. type: integer
  16081. canmanualquotestrike:
  16082. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16083. type: integer
  16084. canmutistage:
  16085. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16086. type: integer
  16087. canpreexercise:
  16088. description: '[期权]是否可预申报- 0:否 1:是'
  16089. type: integer
  16090. clearinterval:
  16091. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16092. type: integer
  16093. contracttmp:
  16094. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16095. type: string
  16096. exchareaid:
  16097. description: 所属交易所,可以没有
  16098. type: integer
  16099. financemarketid:
  16100. description: 融资回购市场ID [仓单贸易]
  16101. type: integer
  16102. goodstype:
  16103. description: 商品类型 - 1:交易商品 2:仓单商品
  16104. type: integer
  16105. hasrebate:
  16106. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16107. type: integer
  16108. hastradecredit:
  16109. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16110. type: integer
  16111. haswr:
  16112. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16113. type: integer
  16114. isdeductmargin:
  16115. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16116. type: integer
  16117. isrecordsource:
  16118. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16119. type: integer
  16120. isreleasemargin:
  16121. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16122. type: integer
  16123. isupdatereckonprice:
  16124. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16125. type: integer
  16126. listingmode:
  16127. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16128. type: integer
  16129. marginformula:
  16130. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16131. type: integer
  16132. marginformula2:
  16133. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16134. type: integer
  16135. marketid:
  16136. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16137. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16138. type: integer
  16139. marketname:
  16140. description: 市场名称
  16141. type: string
  16142. marketsectionid:
  16143. description: 市场版块ID(SEQ_MARKETSECTION)
  16144. type: integer
  16145. marketserviceid:
  16146. description: 市场服务ID
  16147. type: integer
  16148. marketstatus:
  16149. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16150. type: integer
  16151. markettype:
  16152. description: 市场类型- 1:非交易服务 2:交易服务
  16153. type: integer
  16154. matchermode:
  16155. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16156. type: integer
  16157. nowrquotaflag:
  16158. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16159. type: integer
  16160. openmethod:
  16161. description: 开盘模式 - 0 自动 1手动
  16162. type: integer
  16163. orderindex:
  16164. description: 排序
  16165. type: integer
  16166. otcuserid:
  16167. description: 场外期权做市商[场外期权]
  16168. type: integer
  16169. outersynctime:
  16170. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16171. type: string
  16172. paylaterflag:
  16173. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16174. type: integer
  16175. pendingflag:
  16176. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16177. type: integer
  16178. pendingtime:
  16179. description: 待开市时间[通道交易-对冲](HH:mm)
  16180. type: string
  16181. performancetempid:
  16182. description: 履约计划模板ID - 作废
  16183. type: integer
  16184. premiumquotemode:
  16185. description: 权利金报价方式 - 1:自动 2:手动
  16186. type: integer
  16187. rebateratio:
  16188. description: 返利比率[竞价式]
  16189. type: number
  16190. reckonorder:
  16191. description: 结算顺序
  16192. type: integer
  16193. reckonpricealgorithm:
  16194. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16195. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16196. type: integer
  16197. reckonpriceparam:
  16198. description: 结算价参数
  16199. type: integer
  16200. reckontime:
  16201. description: 结算时间[通道交易-对冲](HH:mm)
  16202. type: string
  16203. roleprioritytype:
  16204. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16205. type: integer
  16206. selllistingauditflag:
  16207. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16208. type: integer
  16209. trademarkettype:
  16210. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16211. type: integer
  16212. trademode:
  16213. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16214. 21:竞拍-大宗式 22:受托竞价
  16215. type: integer
  16216. tradeproperty:
  16217. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16218. 8:场外期权
  16219. type: integer
  16220. tradetype:
  16221. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16222. type: integer
  16223. updatereckonpriceinterval:
  16224. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16225. type: integer
  16226. type: object
  16227. models.TjmdQuoteGoods:
  16228. properties:
  16229. buyqty:
  16230. description: 买量(暂不做, 无值, 保留字段)
  16231. type: number
  16232. decimalplace:
  16233. description: 报价小数位
  16234. type: integer
  16235. goodscode:
  16236. description: 合约代码
  16237. type: string
  16238. goodsgroupid:
  16239. description: 商品组ID(自增ID)
  16240. type: integer
  16241. goodsgroupname:
  16242. description: 商品组名称
  16243. type: string
  16244. goodsid:
  16245. description: 合约id
  16246. type: integer
  16247. goodsname:
  16248. description: 合约名称
  16249. type: string
  16250. refgoodscode:
  16251. description: 标的合约代码
  16252. type: string
  16253. refgoodsid:
  16254. description: 标的合约id
  16255. type: integer
  16256. refgoodsname:
  16257. description: 标的合约名称
  16258. type: string
  16259. sellqty:
  16260. description: 卖量(暂不做, 无值, 保留字段)
  16261. type: number
  16262. type: object
  16263. models.TjmdTodayAccountMargin:
  16264. properties:
  16265. accountid:
  16266. description: 账号ID
  16267. type: integer
  16268. goodsid:
  16269. description: 商品ID
  16270. type: integer
  16271. infoc:
  16272. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16273. description: 配置参数
  16274. marketid:
  16275. description: 市场ID
  16276. type: integer
  16277. type: object
  16278. models.TjmdTradeOrderDetail:
  16279. properties:
  16280. buyorsell:
  16281. description: 买卖方向 0-买 1-卖
  16282. type: integer
  16283. goodsid:
  16284. description: 商品id
  16285. type: integer
  16286. marketmaxsub:
  16287. description: 市价最大偏移范围 [浮动价 - 点差]
  16288. type: number
  16289. orderid:
  16290. description: 委托单号
  16291. type: string
  16292. orderprice:
  16293. description: 期初均价
  16294. type: number
  16295. orderqty:
  16296. description: 委托数量
  16297. type: integer
  16298. pricemode:
  16299. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16300. type: integer
  16301. userid:
  16302. description: 用户id
  16303. type: integer
  16304. username:
  16305. description: 用户名称(已脱敏)
  16306. type: string
  16307. type: object
  16308. models.TjmdTransferApply:
  16309. properties:
  16310. applyid:
  16311. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16312. type: integer
  16313. applystatus:
  16314. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16315. type: integer
  16316. applytime:
  16317. description: 申请时间(时间)
  16318. type: string
  16319. auditremark:
  16320. description: 审核备注(拒绝原因?)
  16321. type: string
  16322. begindate:
  16323. description: 开始交易日(yyyymmdd)
  16324. type: string
  16325. buyorsell:
  16326. description: 买卖 - 0:买 1:卖
  16327. type: integer
  16328. enddate:
  16329. description: 结束交易日(yyyymmdd)
  16330. type: string
  16331. goodscode:
  16332. description: 商品代码
  16333. type: string
  16334. goodsid:
  16335. description: 商品ID
  16336. type: integer
  16337. goodsname:
  16338. description: 商品名称
  16339. type: string
  16340. marketid:
  16341. description: 市场ID
  16342. type: integer
  16343. qty:
  16344. description: 期初均价
  16345. type: number
  16346. tradeid:
  16347. description: 成交单号(关联持仓)
  16348. type: string
  16349. transferamount:
  16350. description: 转让总金额(金额)
  16351. type: number
  16352. transferprice:
  16353. description: 转让价格(协议价格)
  16354. type: number
  16355. type: object
  16356. models.TradeHolderDetail:
  16357. properties:
  16358. accountid:
  16359. description: 账号ID
  16360. type: integer
  16361. agreeunit:
  16362. description: 合约乘数
  16363. type: number
  16364. buyorsell:
  16365. description: 方向 - 0:买 1:卖
  16366. type: integer
  16367. currencyid:
  16368. description: 商品币种id
  16369. type: integer
  16370. currencyname:
  16371. description: 币种名称
  16372. type: string
  16373. decimalplace:
  16374. description: 商品价格小数位
  16375. type: integer
  16376. enumdicname:
  16377. description: 商品单位名称
  16378. type: string
  16379. expirecycle:
  16380. description: 行权周期(天) - 1:滚动行权时填写
  16381. type: integer
  16382. expiredate:
  16383. description: 行权日(yyyyMMdd) - 到期日
  16384. type: string
  16385. expiretype:
  16386. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16387. type: integer
  16388. freezeqty:
  16389. description: 期初均价
  16390. type: number
  16391. goodscode:
  16392. description: 商品代码
  16393. type: string
  16394. goodsid:
  16395. description: 商品ID
  16396. type: integer
  16397. goodsname:
  16398. description: 商品名称
  16399. type: string
  16400. goodunitid:
  16401. description: 商品单位id
  16402. type: integer
  16403. holderamount:
  16404. description: 持仓金额
  16405. type: number
  16406. holdercredit:
  16407. description: 持仓授信金额
  16408. type: number
  16409. holderdays:
  16410. description: 剩余冻结天数
  16411. type: integer
  16412. holderprice:
  16413. description: 持仓价格
  16414. type: number
  16415. holderqty:
  16416. description: 期初均价
  16417. type: number
  16418. isconfirmexercise:
  16419. description: 是否确认行权- 0:否 1:是
  16420. type: integer
  16421. ispreexercise:
  16422. description: 是否预申报- 0:否 1:是 2:不可行权
  16423. type: integer
  16424. marketid:
  16425. description: 市场id
  16426. type: integer
  16427. marketname:
  16428. description: 市场名称
  16429. type: string
  16430. openprice:
  16431. description: 建仓价格
  16432. type: number
  16433. openqty:
  16434. description: 期初均价
  16435. type: number
  16436. optiontype:
  16437. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16438. type: integer
  16439. preexerciseprice:
  16440. description: 预申报价格
  16441. type: number
  16442. premium:
  16443. description: 权利金
  16444. type: number
  16445. qtydecimalplace:
  16446. description: 商品成交量小数位
  16447. type: integer
  16448. refgoodscode:
  16449. description: 标的合约代码
  16450. type: string
  16451. refgoodsid:
  16452. description: 标的合约id
  16453. type: integer
  16454. releaseamount:
  16455. description: 释放持仓金额
  16456. type: number
  16457. releaseholdercredit:
  16458. description: 释放持仓授信金额
  16459. type: number
  16460. taname:
  16461. description: 资金账号名称
  16462. type: string
  16463. tradeamount:
  16464. description: 成交金额
  16465. type: number
  16466. tradedate:
  16467. description: 交易日(yyyyMMdd)
  16468. type: string
  16469. tradeid:
  16470. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16471. type: string
  16472. trademode:
  16473. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16474. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16475. type: integer
  16476. tradeproperty:
  16477. description: 交易属性
  16478. type: integer
  16479. tradetime:
  16480. description: 交易时间
  16481. type: string
  16482. userid:
  16483. description: 用户id
  16484. type: integer
  16485. username:
  16486. description: 用户名称
  16487. type: string
  16488. type: object
  16489. models.Unlinkermcphedgeplan:
  16490. properties:
  16491. accountid:
  16492. description: 期货账户ID - 作废
  16493. type: integer
  16494. accountname:
  16495. description: 交易用户
  16496. type: string
  16497. applyid:
  16498. description: 申请人
  16499. type: integer
  16500. applysrc:
  16501. description: 申请来源 - 1:管理端 2:终端
  16502. type: integer
  16503. applytime:
  16504. description: 申请时间
  16505. type: string
  16506. areauserid:
  16507. description: '[企业ID]机构ID'
  16508. type: integer
  16509. auditid:
  16510. description: 审核人
  16511. type: integer
  16512. auditremark:
  16513. description: 审核备注
  16514. type: string
  16515. auditsrc:
  16516. description: 审核来源 - 1:管理端 2:终端
  16517. type: integer
  16518. audittime:
  16519. description: 审核时间
  16520. type: string
  16521. audittradedate:
  16522. description: 审核交易日(yyyyMMdd)
  16523. type: string
  16524. biztype:
  16525. description: 业务类型 - 1:套保
  16526. type: integer
  16527. contracttype:
  16528. description: 计划类型 - 1:采购 -1:销售
  16529. type: integer
  16530. convertfactor:
  16531. description: 标仓系数 - 作废
  16532. type: number
  16533. createtime:
  16534. description: 创建时间
  16535. type: string
  16536. currencyid:
  16537. description: 结算币种ID - 作废
  16538. type: integer
  16539. deliverygoodsid:
  16540. description: 现货品种ID
  16541. type: integer
  16542. enumdicname:
  16543. description: 结算币种
  16544. type: string
  16545. hedgeplanid:
  16546. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16547. type: string
  16548. hedgeplanno:
  16549. description: '[计划编号]套保计划编号,模糊查询'
  16550. type: string
  16551. hedgeplanstatus:
  16552. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16553. type: integer
  16554. isrelated:
  16555. description: 是否已关联计划项目 - 0:否 1:是
  16556. type: integer
  16557. planqty:
  16558. description: '[计划量]计划数量'
  16559. type: number
  16560. plantime:
  16561. description: 计划时间
  16562. type: string
  16563. producttype:
  16564. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16565. type: integer
  16566. remark:
  16567. description: 备注
  16568. type: string
  16569. spotgoodsdesc:
  16570. description: 商品型号
  16571. type: string
  16572. tradedate:
  16573. description: 交易日(yyyyMMdd)
  16574. type: string
  16575. tradeuserid:
  16576. description: 交易用户ID
  16577. type: integer
  16578. updatetime:
  16579. description: 更新时间
  16580. type: string
  16581. wrstandardid:
  16582. description: 现货商品ID
  16583. type: integer
  16584. wrstandardname:
  16585. description: 现货商品,模糊查询
  16586. type: string
  16587. required:
  16588. - areauserid
  16589. type: object
  16590. models.UserCollectConfig:
  16591. properties:
  16592. accountstatus:
  16593. description: 账户状态 - 1:正常 2:停用 3:注销
  16594. type: integer
  16595. collectaccountname:
  16596. description: 收款人账户名称
  16597. type: string
  16598. collectaccountno:
  16599. description: 收款人账户
  16600. type: string
  16601. collectbankname:
  16602. description: 收款人开户行
  16603. type: string
  16604. collectbranchbankname:
  16605. description: 收款人开户支行
  16606. type: string
  16607. collectconfigid:
  16608. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16609. type: string
  16610. remark:
  16611. description: 备注
  16612. type: string
  16613. userid:
  16614. description: 收款人用户ID
  16615. type: integer
  16616. type: object
  16617. models.UserReceiveInfo:
  16618. properties:
  16619. address:
  16620. description: 提货人详细地址
  16621. type: string
  16622. autoid:
  16623. description: AutoID
  16624. type: integer
  16625. cardnum:
  16626. description: 证件号码(加密存储)
  16627. type: string
  16628. cardtypeid:
  16629. description: 证件类型
  16630. type: integer
  16631. cityid:
  16632. description: 市
  16633. type: integer
  16634. cityname:
  16635. description: 城市名称
  16636. type: string
  16637. countryid:
  16638. description: 国家
  16639. type: integer
  16640. countryname:
  16641. description: 国家名称
  16642. type: string
  16643. districtid:
  16644. description: 地区
  16645. type: integer
  16646. districtname:
  16647. description: 地区名称
  16648. type: string
  16649. hasencrypt:
  16650. description: 数据是否已加密 - 0:未加密 1:已加密
  16651. type: integer
  16652. isdefault:
  16653. description: 是否默认地址 - 0:否 1:是
  16654. type: integer
  16655. phonenum:
  16656. description: 提货人联系方式(加密存储)
  16657. type: string
  16658. provinceid:
  16659. description: 省
  16660. type: integer
  16661. provincename:
  16662. description: 省名称
  16663. type: string
  16664. receivername:
  16665. description: 提货人姓名
  16666. type: string
  16667. takeremark:
  16668. description: 提货备注
  16669. type: string
  16670. userid:
  16671. description: 用户ID
  16672. type: integer
  16673. type: object
  16674. models.Useraccount:
  16675. properties:
  16676. accountname:
  16677. description: 账户名称(机构名称)
  16678. type: string
  16679. accountstatus:
  16680. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16681. type: integer
  16682. applysrc:
  16683. description: 申请来源 - 1:管理端 2:终端
  16684. type: integer
  16685. auditremark:
  16686. description: 审核备注
  16687. type: string
  16688. auditsrc:
  16689. description: 审核来源 - 1:管理端 2:终端
  16690. type: integer
  16691. audittime:
  16692. description: 审核时间
  16693. type: string
  16694. audituserid:
  16695. description: 审核人
  16696. type: integer
  16697. broker:
  16698. description: 所属经纪人ID
  16699. type: integer
  16700. canceltime:
  16701. description: 销户时间
  16702. type: string
  16703. canceluserid:
  16704. description: 销户人
  16705. type: integer
  16706. canrecommend:
  16707. description: 是否可推荐 - 0:不可 1;可
  16708. type: integer
  16709. createtime:
  16710. description: 创建时间
  16711. type: string
  16712. creatorid:
  16713. description: 创建人
  16714. type: integer
  16715. hasauth:
  16716. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16717. type: integer
  16718. isanonymous:
  16719. description: 是否匿名下单 - 0:否 1:是
  16720. type: integer
  16721. maxinvestornum:
  16722. description: 最大用户数(经纪会员下投资者个数)
  16723. type: integer
  16724. memberuserid:
  16725. description: 所属会员ID
  16726. type: integer
  16727. modifierid:
  16728. description: 修改人
  16729. type: integer
  16730. modifyremark:
  16731. description: 变更备注
  16732. type: string
  16733. modifystatus:
  16734. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16735. type: integer
  16736. modifytime:
  16737. description: 修改时间
  16738. type: string
  16739. parenttopuser:
  16740. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16741. type: string
  16742. parentuserid:
  16743. description: 所属机构ID
  16744. type: integer
  16745. reckonaccountid:
  16746. description: 默认结算资金账号ID(机构分润使用) 作废
  16747. type: integer
  16748. refercount:
  16749. description: 推荐总人数
  16750. type: integer
  16751. refereeuserid:
  16752. description: 推荐人ID
  16753. type: integer
  16754. refernum:
  16755. description: 推荐码
  16756. type: string
  16757. rootuserid:
  16758. description: 根用户ID
  16759. type: integer
  16760. subaccountlevel:
  16761. description: 子账户层数
  16762. type: integer
  16763. subarealevelpath:
  16764. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16765. type: string
  16766. userid:
  16767. description: 用户ID
  16768. type: integer
  16769. usertype:
  16770. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16771. type: integer
  16772. required:
  16773. - userid
  16774. type: object
  16775. models.Userfavoritegoods:
  16776. properties:
  16777. goodsid:
  16778. description: 商品ID
  16779. type: integer
  16780. required:
  16781. - goodsid
  16782. type: object
  16783. models.Userinfo:
  16784. properties:
  16785. address:
  16786. description: 地址
  16787. type: string
  16788. attachment1:
  16789. description: 附件1
  16790. type: string
  16791. attachment2:
  16792. description: 附件2
  16793. type: string
  16794. bankaccount:
  16795. description: 银行帐号 (加密存储)
  16796. type: string
  16797. bankaccountname:
  16798. description: 收款人名称
  16799. type: string
  16800. bankcardfrontphotourl:
  16801. description: 银行卡正面照地址
  16802. type: string
  16803. bankid:
  16804. description: 银行编码
  16805. type: string
  16806. bankname:
  16807. description: 银行名称
  16808. type: string
  16809. biznature:
  16810. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16811. type: integer
  16812. bizscope:
  16813. description: 企业经营范围(企业)
  16814. type: string
  16815. cardbackphotourl:
  16816. description: 证件背面图片地址
  16817. type: string
  16818. cardfrontphotourl:
  16819. description: 证件正面图片地址
  16820. type: string
  16821. cardnum:
  16822. description: 证件号码(加密存储)
  16823. type: string
  16824. cardtypeid:
  16825. description: 证件类型ID
  16826. type: integer
  16827. cityid:
  16828. description: 市
  16829. type: integer
  16830. company:
  16831. description: 公司(个人)
  16832. type: string
  16833. contactname:
  16834. description: 联系人
  16835. type: string
  16836. countryid:
  16837. description: 国家
  16838. type: integer
  16839. createtime:
  16840. description: 创建时间
  16841. type: string
  16842. creatorid:
  16843. description: 创建人
  16844. type: integer
  16845. customername:
  16846. description: 客户名称(企业名称)
  16847. type: string
  16848. districtid:
  16849. description: 地区
  16850. type: integer
  16851. email:
  16852. description: 邮件(加密存储)
  16853. type: string
  16854. fax:
  16855. description: 传真(加密存储)
  16856. type: string
  16857. halfbodyphotourl:
  16858. description: 半身照地址
  16859. type: string
  16860. hasencrypt:
  16861. description: 数据是否已加密 - 0:未加密 1:已加密
  16862. type: integer
  16863. headurl:
  16864. description: 头像地址
  16865. type: string
  16866. legalcardbackphotourl:
  16867. description: 法人身份证背面照地址
  16868. type: string
  16869. legalcardfrontphotourl:
  16870. description: 法人身份证正面照地址
  16871. type: string
  16872. legalpersonname:
  16873. description: 法人姓名(企业)
  16874. type: string
  16875. mobile:
  16876. description: 手机号码(加密存储)
  16877. type: string
  16878. mobile2:
  16879. description: 手机号码[明文-尚志]
  16880. type: string
  16881. modifierid:
  16882. description: 修改人
  16883. type: integer
  16884. modifiertime:
  16885. description: 修改时间
  16886. type: string
  16887. needinvoice:
  16888. description: 是否需要发票 - 0:不需要 1:需要
  16889. type: integer
  16890. nickname:
  16891. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16892. type: string
  16893. openmode:
  16894. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16895. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16896. type: integer
  16897. otherurl:
  16898. description: 其它图片地址[使用分号分隔]
  16899. type: string
  16900. postalcode:
  16901. description: 邮政编码
  16902. type: string
  16903. provinceid:
  16904. description: 省
  16905. type: integer
  16906. qq:
  16907. description: QQ(加密存储
  16908. type: string
  16909. remark:
  16910. description: 备注
  16911. type: string
  16912. sex:
  16913. description: '用户性别 0: 女 1: 男'
  16914. type: integer
  16915. signpdfurl:
  16916. description: 签约pdf文件
  16917. type: string
  16918. telphone:
  16919. description: 联系电话(加密存储)
  16920. type: string
  16921. userid:
  16922. description: 用户ID
  16923. type: integer
  16924. userinfotype:
  16925. description: 用户信息类型 - 1:个人 2:企业
  16926. type: integer
  16927. userstatus:
  16928. description: 用户状态 - 1:正常 2:注销
  16929. type: integer
  16930. usertype:
  16931. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16932. type: integer
  16933. wechat:
  16934. description: 微信(加密存储)
  16935. type: string
  16936. wskhinfo:
  16937. description: 开户申请信息(JSON)
  16938. type: string
  16939. required:
  16940. - userid
  16941. type: object
  16942. models.WRSConverTDetail:
  16943. properties:
  16944. convertratio:
  16945. description: 套保系数
  16946. type: number
  16947. deliverygoodscode:
  16948. description: 现货商品代码
  16949. type: string
  16950. deliverygoodsid:
  16951. description: 现货品种ID
  16952. type: integer
  16953. deliverygoodsname:
  16954. description: 现货商品名称
  16955. type: string
  16956. enumdicname:
  16957. description: 单位名称
  16958. type: string
  16959. goodsunitid:
  16960. description: 套保品种单位id
  16961. type: integer
  16962. middlegoodscode:
  16963. description: 套保品种代码
  16964. type: string
  16965. middlegoodsid:
  16966. description: 套保品种ID
  16967. type: integer
  16968. middlegoodsname:
  16969. description: 套保品种名称
  16970. type: string
  16971. modifytime:
  16972. description: 修改时间
  16973. type: string
  16974. wrstandardid:
  16975. description: 品类ID
  16976. type: integer
  16977. type: object
  16978. models.WRStandardInfo:
  16979. properties:
  16980. areauserid:
  16981. description: 所属机构
  16982. type: integer
  16983. convertfactor:
  16984. description: 标仓系数
  16985. type: number
  16986. createtime:
  16987. description: 创建时间
  16988. type: string
  16989. creatorid:
  16990. description: 创建人
  16991. type: integer
  16992. deliverygoodsid:
  16993. description: 品种ID
  16994. type: integer
  16995. deliverygoodsname:
  16996. description: 交割商品名称
  16997. type: string
  16998. factoryitemjson:
  16999. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17000. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17001. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17002. 逗号分隔'
  17003. type: string
  17004. isvalid:
  17005. description: 是否有效 - 0:无效 1:有效
  17006. type: integer
  17007. minivalue:
  17008. description: 最小变动值
  17009. type: integer
  17010. minivaluedp:
  17011. description: 最小变动值小数位
  17012. type: integer
  17013. realminivalue:
  17014. description: 实际最小变动值
  17015. type: integer
  17016. realminivaluedp:
  17017. description: 实际最小变动值小数位
  17018. type: integer
  17019. remark:
  17020. description: 备注
  17021. type: string
  17022. unitid:
  17023. description: 单位ID
  17024. type: integer
  17025. unitname:
  17026. description: 单位
  17027. type: string
  17028. updatetime:
  17029. description: 更新时间
  17030. type: string
  17031. updatorid:
  17032. description: 更新人
  17033. type: integer
  17034. wrsstatus:
  17035. description: 状态 - 作废 - 0:未激活 1:正常
  17036. type: integer
  17037. wrstandardcode:
  17038. description: 现货品类代码
  17039. type: string
  17040. wrstandardid:
  17041. description: 现货品类ID(SEQ_WRSTANDARD)
  17042. type: integer
  17043. wrstandardname:
  17044. description: 现货品类名称
  17045. type: string
  17046. required:
  17047. - wrstandardid
  17048. type: object
  17049. models.WRTradeBargainApply:
  17050. properties:
  17051. accountid:
  17052. description: 摘牌资金账号
  17053. type: integer
  17054. applyprice:
  17055. description: 申请价格(议价价格)
  17056. type: string
  17057. applyqty:
  17058. description: 摘牌数量(议价数量)
  17059. type: number
  17060. applyremark:
  17061. description: 申请备注
  17062. type: string
  17063. applystatus:
  17064. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17065. type: integer
  17066. applytime:
  17067. description: 申请时间(议价时间)
  17068. type: string
  17069. begindate:
  17070. description: 开始交易日(yyyymmdd)
  17071. type: string
  17072. buyorsell:
  17073. description: 买卖(挂牌类型) - 0:买 1:卖
  17074. type: integer
  17075. confirmremark:
  17076. description: 确认备注
  17077. type: string
  17078. confirmtime:
  17079. description: 确认时间
  17080. type: string
  17081. confirmuserid:
  17082. description: 确认人
  17083. type: integer
  17084. deliverygoodscode:
  17085. description: 品种代码
  17086. type: string
  17087. deliverygoodsid:
  17088. description: 品种ID
  17089. type: integer
  17090. deliverygoodsname:
  17091. description: 品种名称
  17092. type: string
  17093. deliverymonth:
  17094. description: 交收月
  17095. type: string
  17096. enddate:
  17097. description: 结束交易日(yyyymmdd)
  17098. type: string
  17099. enumdicname:
  17100. description: 单位名称
  17101. type: string
  17102. fixedprice:
  17103. description: 期初均价
  17104. type: number
  17105. handlestatus:
  17106. description: 处理状态
  17107. type: integer
  17108. marginvalue:
  17109. description: 期初均价
  17110. type: number
  17111. marketid:
  17112. description: 市场ID
  17113. type: integer
  17114. matchaccountid:
  17115. description: 挂牌方资金账号
  17116. type: integer
  17117. matchuserid:
  17118. description: 挂牌方用户id
  17119. type: integer
  17120. matchusername:
  17121. description: 挂牌方用户名称(已脱敏)
  17122. type: string
  17123. minivalue:
  17124. description: 现货商品最小变动值
  17125. type: integer
  17126. optioncompare:
  17127. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17128. type: string
  17129. orderqty:
  17130. description: 挂牌数量
  17131. type: integer
  17132. refprice:
  17133. description: 参考价格
  17134. type: string
  17135. retcode:
  17136. description: 委托返回代码
  17137. type: integer
  17138. templatename:
  17139. description: 履约方式(履约模板名称)
  17140. type: string
  17141. tradedate:
  17142. description: 交易日(yyyyMMdd)
  17143. type: string
  17144. userid:
  17145. description: 摘牌人用户ID(议价人ID)
  17146. type: integer
  17147. username:
  17148. description: 议价人名字(已脱敏)
  17149. type: string
  17150. validtime:
  17151. description: 有效期限
  17152. type: string
  17153. warehouseid:
  17154. description: 仓库ID
  17155. type: integer
  17156. warehousename:
  17157. description: 仓库名称
  17158. type: string
  17159. wrbargainid:
  17160. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17161. type: string
  17162. wrfactortypeid:
  17163. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17164. type: string
  17165. wrfactortypename:
  17166. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17167. type: string
  17168. wrstandardcode:
  17169. description: 现货商品代码
  17170. type: string
  17171. wrstandardid:
  17172. description: 现货商品ID
  17173. type: integer
  17174. wrstandardname:
  17175. description: 商品名称
  17176. type: string
  17177. wrtradeorderid:
  17178. description: 关联委托单ID
  17179. type: string
  17180. wrtypename:
  17181. description: 商品
  17182. type: string
  17183. type: object
  17184. models.Warehouseinfo:
  17185. properties:
  17186. address:
  17187. description: 详细地址
  17188. type: string
  17189. areauserid:
  17190. description: 所属机构
  17191. type: integer
  17192. autoid:
  17193. description: 自增ID
  17194. type: integer
  17195. cityid:
  17196. description: 市
  17197. type: integer
  17198. contactname:
  17199. description: 联系人
  17200. type: string
  17201. contactnum:
  17202. description: 联系电话
  17203. type: string
  17204. countryid:
  17205. description: 国家
  17206. type: integer
  17207. createtime:
  17208. description: 创建时间
  17209. type: string
  17210. districtid:
  17211. description: 区
  17212. type: integer
  17213. hasvideo:
  17214. description: 是否有视频 - 0:无 1:有
  17215. type: integer
  17216. provinceid:
  17217. description: 省
  17218. type: integer
  17219. remark:
  17220. description: 审核备注
  17221. type: string
  17222. videourl:
  17223. description: 视频地址
  17224. type: string
  17225. warehousecode:
  17226. description: 仓库代码
  17227. type: string
  17228. warehousename:
  17229. description: 仓库名称
  17230. type: string
  17231. warehousestatus:
  17232. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17233. type: integer
  17234. warehousetype:
  17235. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17236. type: integer
  17237. required:
  17238. - autoid
  17239. - warehousecode
  17240. type: object
  17241. models.WrAverageTradePrice:
  17242. properties:
  17243. averageprice:
  17244. description: 期初均价
  17245. type: number
  17246. tradedate:
  17247. description: 交易日yyyymm
  17248. type: string
  17249. type: object
  17250. models.WrBrandAndYears:
  17251. properties:
  17252. brandlst:
  17253. description: 品牌列表
  17254. items:
  17255. $ref: '#/definitions/models.DgFactoryItem'
  17256. type: array
  17257. yearslst:
  17258. description: 年份列表
  17259. items:
  17260. $ref: '#/definitions/models.DgFactoryItem'
  17261. type: array
  17262. type: object
  17263. models.WrBsGoodsInfo:
  17264. properties:
  17265. buyorsell:
  17266. description: 买卖方向 0-买 1-卖
  17267. type: integer
  17268. goodsid:
  17269. description: 交易合约ID
  17270. type: integer
  17271. lstitem:
  17272. description: 商品信息项
  17273. items:
  17274. $ref: '#/definitions/models.WrTypeItem'
  17275. type: array
  17276. lststep:
  17277. description: 履约规则
  17278. items:
  17279. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17280. type: array
  17281. type: object
  17282. models.WrBuybackDetail:
  17283. properties:
  17284. buybackamount:
  17285. description: 回购金额
  17286. type: number
  17287. buybackqty:
  17288. description: 回购数量
  17289. type: number
  17290. buybackreleasemargin:
  17291. description: 回购释放保证金
  17292. type: number
  17293. buybacktime:
  17294. description: 回购时间
  17295. type: string
  17296. errordesc:
  17297. description: 错误描述
  17298. type: string
  17299. handlestatus:
  17300. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17301. type: integer
  17302. relatedwrid:
  17303. description: 关联仓单ID
  17304. type: integer
  17305. scfcontractid:
  17306. description: SCF合同ID
  17307. type: string
  17308. scfwrbuybackid:
  17309. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17310. type: integer
  17311. tradedate:
  17312. description: 交易日(yyyyMMdd)
  17313. type: string
  17314. type: object
  17315. models.WrClientAdSpaceConfig:
  17316. properties:
  17317. adspaceid:
  17318. description: 广告位ID
  17319. type: integer
  17320. adspacename:
  17321. description: 广告位名称
  17322. type: string
  17323. adspacetype:
  17324. description: 广告位类型 - 1:固定广告位
  17325. type: integer
  17326. areauserid:
  17327. description: 所属机构ID
  17328. type: integer
  17329. createdate:
  17330. description: 创建时间
  17331. type: string
  17332. imagepath:
  17333. description: 图片
  17334. type: string
  17335. modifierid:
  17336. description: 操作人
  17337. type: integer
  17338. recsize:
  17339. description: 推荐尺寸
  17340. type: string
  17341. title:
  17342. description: 标题
  17343. type: string
  17344. updatedate:
  17345. description: 更新时间
  17346. type: string
  17347. urlcontent:
  17348. description: 链接(地址\商品ID\功能菜单Key\appid)
  17349. type: string
  17350. urltype:
  17351. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17352. type: integer
  17353. type: object
  17354. models.WrDeliveryAvalidHoldLB:
  17355. properties:
  17356. accountid:
  17357. description: 资金账号
  17358. type: integer
  17359. avalidqty:
  17360. description: 数量(可点选数量)
  17361. type: number
  17362. deliverygoodsid:
  17363. description: 品种id
  17364. type: integer
  17365. enumdicname:
  17366. description: 单位名称
  17367. type: string
  17368. goodsid:
  17369. description: x合约商品id
  17370. type: integer
  17371. ladingbillid:
  17372. description: 提单id
  17373. type: string
  17374. pgoodscode:
  17375. description: p商品代码(点价合约)
  17376. type: string
  17377. pgoodsid:
  17378. description: p商品id(点价合约)
  17379. type: integer
  17380. pgoodsname:
  17381. description: p商品名称(点价合约)
  17382. type: string
  17383. pricemove:
  17384. description: 升贴水
  17385. type: number
  17386. subnum:
  17387. description: 提单子id
  17388. type: integer
  17389. userid:
  17390. description: 用户id
  17391. type: integer
  17392. username:
  17393. description: 仓单持有人
  17394. type: string
  17395. warehousecode:
  17396. description: 仓库代码
  17397. type: string
  17398. warehouseid:
  17399. description: 仓库id
  17400. type: integer
  17401. warehousename:
  17402. description: 仓库名称
  17403. type: string
  17404. wrfactortypeid:
  17405. description: 仓单要素id
  17406. type: string
  17407. wrstandardcode:
  17408. description: 品代码
  17409. type: string
  17410. wrstandardid:
  17411. description: 品类d
  17412. type: integer
  17413. wrstandardname:
  17414. description: 品类名称
  17415. type: string
  17416. wrtypename:
  17417. description: 商品
  17418. type: string
  17419. xgoodscode:
  17420. description: x合约代码
  17421. type: string
  17422. xgoodsname:
  17423. description: x合约名称
  17424. type: string
  17425. type: object
  17426. models.WrDeliveryDetail:
  17427. properties:
  17428. accountid:
  17429. description: 账号ID
  17430. type: integer
  17431. averageprice:
  17432. description: 期初均价
  17433. type: number
  17434. begindate:
  17435. description: 开始交易日(yyyymmdd)
  17436. type: string
  17437. buyorsell:
  17438. description: 方向 - 0:买 1:卖
  17439. type: integer
  17440. deliveryamount:
  17441. description: 货款金额(X总货款+P总货款)
  17442. type: number
  17443. deliveryid:
  17444. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17445. type: string
  17446. deliveryorderid:
  17447. description: 申报单号
  17448. type: string
  17449. deliverypricemove:
  17450. description: 升贴水(升贴水总额)
  17451. type: number
  17452. deliveryqty:
  17453. description: 交收数量(点选数量)
  17454. type: number
  17455. deliverystatus:
  17456. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17457. type: integer
  17458. deliverytime:
  17459. description: 交割时间
  17460. type: string
  17461. deliverytotalamount:
  17462. description: 交收金额
  17463. type: number
  17464. enddate:
  17465. description: 结束交易日(yyyymmdd)
  17466. type: string
  17467. enumdicname:
  17468. description: 单位名称
  17469. type: string
  17470. matchaccountid:
  17471. description: 对手账号ID
  17472. type: integer
  17473. matchusername:
  17474. description: 对手方名称(仓单持有人)
  17475. type: string
  17476. p1goodsremainamount:
  17477. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17478. type: number
  17479. pdeliverycloseqty:
  17480. description: p合约平仓数量
  17481. type: number
  17482. pdeliveryprice:
  17483. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17484. type: number
  17485. pgoodscode:
  17486. description: 商品代码
  17487. type: string
  17488. pgoodsid:
  17489. description: p点选合约id
  17490. type: integer
  17491. pgoodsname:
  17492. description: 商品名称
  17493. type: string
  17494. ppricemode:
  17495. description: 点价价格方式 - 1:商品价 2:固定值
  17496. type: integer
  17497. tradedate:
  17498. description: 交易日(yyyymmdd)
  17499. type: string
  17500. userid:
  17501. description: 用户id
  17502. type: integer
  17503. username:
  17504. description: 用户名称
  17505. type: string
  17506. warehousename:
  17507. description: 仓库名称
  17508. type: string
  17509. wrfactortypeid:
  17510. description: 仓单要素类型ID
  17511. type: string
  17512. wrtypename:
  17513. description: 商品
  17514. type: string
  17515. xdeliverycloseqty:
  17516. description: 合约数量
  17517. type: number
  17518. xgoodsamount:
  17519. description: 期初均价
  17520. type: number
  17521. xgoodscode:
  17522. description: 商品代码
  17523. type: string
  17524. xgoodsid:
  17525. description: x交易合约ID
  17526. type: integer
  17527. xgoodsname:
  17528. description: 商品名称
  17529. type: string
  17530. type: object
  17531. models.WrDeliveryGoodsSection:
  17532. properties:
  17533. dglst:
  17534. description: 板块商品列表
  17535. items:
  17536. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17537. type: array
  17538. imagepath:
  17539. description: 图片地址
  17540. type: string
  17541. orderindex:
  17542. description: 排序
  17543. type: integer
  17544. sectionid:
  17545. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17546. = 1的版块1 - 云融指数
  17547. type: integer
  17548. sectionname:
  17549. description: 版块名称
  17550. type: string
  17551. sectiontype:
  17552. description: 版块类型 - 1:指数版块 2:普通版块
  17553. type: integer
  17554. type: object
  17555. models.WrDeliveryGoodsSectionConfig:
  17556. properties:
  17557. deliverygoodscode:
  17558. description: 现货商品代码
  17559. type: string
  17560. deliverygoodsid:
  17561. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17562. type: integer
  17563. deliverygoodsname:
  17564. description: 现货商品名称
  17565. type: string
  17566. orderindex:
  17567. description: 排序
  17568. type: integer
  17569. type: object
  17570. models.WrDraftUserInfo:
  17571. properties:
  17572. address:
  17573. description: 地址
  17574. type: string
  17575. attachment1:
  17576. description: 附件1
  17577. type: string
  17578. attachment2:
  17579. description: 附件2
  17580. type: string
  17581. attachment3:
  17582. description: 附件3
  17583. type: string
  17584. attachment4:
  17585. description: 附件4
  17586. type: string
  17587. attachment5:
  17588. description: 附件5
  17589. type: string
  17590. bankaccount:
  17591. description: 银行帐号 (加密存储)
  17592. type: string
  17593. bankaccountname:
  17594. description: 收款人名称
  17595. type: string
  17596. bankcardfrontphotourl:
  17597. description: 银行卡正面照地址
  17598. type: string
  17599. bankid:
  17600. description: 银行编码
  17601. type: string
  17602. bankname:
  17603. description: 银行名称
  17604. type: string
  17605. birthday:
  17606. description: 生日(个人:年月日)
  17607. type: string
  17608. biznature:
  17609. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17610. type: integer
  17611. bizscope:
  17612. description: 企业经营范围(企业)
  17613. type: string
  17614. biztype:
  17615. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17616. type: integer
  17617. cardbackphotourl:
  17618. description: 证件背面图片地址
  17619. type: string
  17620. cardfrontphotourl:
  17621. description: 证件正面图片地址
  17622. type: string
  17623. cardnum:
  17624. description: 证件号码(加密存储)
  17625. type: string
  17626. cardtypeid:
  17627. description: 证件类型ID
  17628. type: integer
  17629. cityid:
  17630. description: 市
  17631. type: integer
  17632. company:
  17633. description: 公司(个人)
  17634. type: string
  17635. contactcardbackphotourl:
  17636. description: 联系人证件背面图片地址
  17637. type: string
  17638. contactcardfrontphotourl:
  17639. description: 联系人证件正面图片地址
  17640. type: string
  17641. contactname:
  17642. description: 联系人
  17643. type: string
  17644. countryid:
  17645. description: 国家
  17646. type: integer
  17647. createtime:
  17648. description: 创建时间
  17649. type: string
  17650. creatorid:
  17651. description: 创建人
  17652. type: integer
  17653. creditquota:
  17654. description: 授信额度(金瑞)
  17655. type: number
  17656. customername:
  17657. description: 客户名称(企业名称)
  17658. type: string
  17659. districtid:
  17660. description: 地区
  17661. type: integer
  17662. email:
  17663. description: 邮件(加密存储)
  17664. type: string
  17665. fax:
  17666. description: 传真(加密存储)
  17667. type: string
  17668. halfbodyphotourl:
  17669. description: 半身照地址
  17670. type: string
  17671. hasencrypt:
  17672. description: 数据是否已加密 - 0:未加密 1:已加密
  17673. type: integer
  17674. headurl:
  17675. description: 头像地址
  17676. type: string
  17677. legalcardbackphotourl:
  17678. description: 法人身份证背面照地址
  17679. type: string
  17680. legalcardfrontphotourl:
  17681. description: 法人身份证正面照地址
  17682. type: string
  17683. legalpersonname:
  17684. description: 法人姓名(企业)
  17685. type: string
  17686. mobile:
  17687. description: 手机号码(加密存储)
  17688. type: string
  17689. mobile2:
  17690. description: 手机号码[明文-尚志]
  17691. type: string
  17692. modifierid:
  17693. description: 修改人
  17694. type: integer
  17695. modifiertime:
  17696. description: 修改时间
  17697. type: string
  17698. needinvoice:
  17699. description: 是否需要发票 - 0:不需要 1:需要
  17700. type: integer
  17701. nickname:
  17702. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17703. type: string
  17704. openmode:
  17705. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17706. 6:苹果手机端注册 7:PC交易端注册"
  17707. type: integer
  17708. otherurl:
  17709. description: 其它图片地址[使用分号分隔]
  17710. type: string
  17711. postalcode:
  17712. description: 邮政编码
  17713. type: string
  17714. provinceid:
  17715. description: 省
  17716. type: integer
  17717. proxystatementurl:
  17718. description: 授权委托书
  17719. type: string
  17720. qq:
  17721. description: QQ(加密存储
  17722. type: string
  17723. remark:
  17724. description: 备注
  17725. type: string
  17726. sex:
  17727. description: '用户性别 0: 女 1: 男'
  17728. type: integer
  17729. signpdfurl:
  17730. description: 签约pdf文件
  17731. type: string
  17732. taxpayernum:
  17733. description: 纳税人识别号
  17734. type: string
  17735. telphone:
  17736. description: 联系电话(加密存储)
  17737. type: string
  17738. userid:
  17739. description: 用户ID
  17740. type: integer
  17741. userinfotype:
  17742. description: 用户信息类型 - 1:个人 2:企业
  17743. type: integer
  17744. userstatus:
  17745. description: 用户状态 - 1:正常 2:注销
  17746. type: integer
  17747. usertype:
  17748. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17749. type: integer
  17750. wechat:
  17751. description: 微信(加密存储)
  17752. type: string
  17753. wskhinfo:
  17754. description: 开户申请信息(JSON)
  17755. type: string
  17756. type: object
  17757. models.WrFAProductDetail:
  17758. properties:
  17759. accountid:
  17760. description: 资金账号
  17761. type: integer
  17762. areauserid:
  17763. description: 金融机构ID
  17764. type: integer
  17765. financingdays:
  17766. description: 天数(天)
  17767. type: integer
  17768. interestminlen:
  17769. description: 最小起息天数
  17770. type: integer
  17771. interestrate:
  17772. description: 利率
  17773. type: number
  17774. interestratemode:
  17775. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17776. type: integer
  17777. interestsettlemode:
  17778. description: 结息方式 - 1:按日结息 3:按月结息
  17779. type: integer
  17780. interestsettlevalue:
  17781. description: 结息方式值
  17782. type: integer
  17783. isautoloan:
  17784. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17785. type: integer
  17786. loantag:
  17787. description: '放款标识: "放款快" 或者为空'
  17788. type: string
  17789. marginratio:
  17790. description: 保证金比率质押率 - [仓单质押]
  17791. type: number
  17792. productdetailid:
  17793. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17794. type: integer
  17795. productid:
  17796. description: 金融产品ID
  17797. type: integer
  17798. productname:
  17799. description: 产品名称
  17800. type: string
  17801. updatetime:
  17802. description: 更新时间
  17803. type: string
  17804. username:
  17805. description: 融出方
  17806. type: string
  17807. type: object
  17808. models.WrFactorTypeInfo:
  17809. properties:
  17810. deliverygoodscode:
  17811. description: 品种代码
  17812. type: string
  17813. deliverygoodsname:
  17814. description: 品种名称
  17815. type: string
  17816. dgfactoryitemid:
  17817. description: 选择项id
  17818. type: integer
  17819. dgfactoryitemtypeid:
  17820. description: 要素选择项ID (1-仓库 2-品牌)
  17821. type: integer
  17822. dgfactoryitemvalue:
  17823. description: 要素项值
  17824. type: string
  17825. itemtypename:
  17826. description: 要素项名称
  17827. type: string
  17828. optioncompare:
  17829. description: 选择比较串
  17830. type: string
  17831. warehouseid:
  17832. description: 仓库id
  17833. type: integer
  17834. wrfactortypeid:
  17835. description: 仓单要素ID
  17836. type: string
  17837. wrfactortypename:
  17838. description: 要素名称
  17839. type: string
  17840. wrfactortypename2:
  17841. description: 要素名称(不含仓库)
  17842. type: string
  17843. wrstandardcode:
  17844. description: 品类代码
  17845. type: string
  17846. wrstandardid:
  17847. description: 品类id
  17848. type: integer
  17849. wrstandardname:
  17850. description: 品类名称
  17851. type: string
  17852. type: object
  17853. models.WrFilterItem:
  17854. properties:
  17855. itemcode:
  17856. description: 代码
  17857. type: string
  17858. itemid:
  17859. description: 项id
  17860. type: integer
  17861. itemname:
  17862. description: 名称
  17863. type: string
  17864. itemtype:
  17865. description: 类型 1-品种 2-品类(商品) 3-仓库
  17866. type: integer
  17867. type: object
  17868. models.WrFinanceBuyApply:
  17869. properties:
  17870. applydate:
  17871. description: 申请时间
  17872. type: string
  17873. applystatus:
  17874. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17875. type: integer
  17876. applyuserid:
  17877. description: 申请人
  17878. type: integer
  17879. auditdate:
  17880. description: 审核时间
  17881. type: string
  17882. auditremark:
  17883. description: 审核备注
  17884. type: string
  17885. audituserid:
  17886. description: 审核人
  17887. type: integer
  17888. buyaccountid:
  17889. description: 买方资金账号
  17890. type: integer
  17891. buyorsell:
  17892. description: 买卖 - 0:买 1:卖
  17893. type: integer
  17894. buyuserid:
  17895. description: 买方用户ID
  17896. type: integer
  17897. buyusername:
  17898. description: 买方名称
  17899. type: string
  17900. buywrtradeorderid:
  17901. description: 融资方买委托单ID
  17902. type: string
  17903. deliverygoodscode:
  17904. description: 品种代码
  17905. type: string
  17906. deliverygoodsid:
  17907. description: 品种ID
  17908. type: integer
  17909. deliverygoodsname:
  17910. description: 品种名称
  17911. type: string
  17912. deliverymonth:
  17913. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17914. type: string
  17915. enumdicname:
  17916. description: 单位名称
  17917. type: string
  17918. financeaccountid:
  17919. description: 融资方资金帐户ID
  17920. type: integer
  17921. financeapplyid:
  17922. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17923. type: string
  17924. financeareauserid:
  17925. description: 融资方用户ID
  17926. type: string
  17927. financename:
  17928. description: 融出方名称
  17929. type: string
  17930. financetype:
  17931. description: 融资类型 1-融资回购
  17932. type: integer
  17933. financingdays:
  17934. description: 天数(天)
  17935. type: integer
  17936. freezebuymargin:
  17937. description: 冻结融资保证金(买方)
  17938. type: number
  17939. handleremark:
  17940. description: 处理备注
  17941. type: string
  17942. handlestatus:
  17943. description: 处理状态
  17944. type: integer
  17945. interestminlen:
  17946. description: 最小起息天数
  17947. type: integer
  17948. interestrate:
  17949. description: 利率
  17950. type: number
  17951. interestratemode:
  17952. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17953. type: integer
  17954. interestsettlemode:
  17955. description: 结息方式 - 1:按日结息 3:按月结息
  17956. type: integer
  17957. interestsettlevalue:
  17958. description: 结息方式值
  17959. type: integer
  17960. isautoloan:
  17961. description: 是否自动放款 - 0:手动 1:自动
  17962. type: integer
  17963. marginratio:
  17964. description: 保证金比率质押率 - [仓单质押]
  17965. type: number
  17966. marketid:
  17967. description: 市场ID
  17968. type: integer
  17969. minivalue:
  17970. description: 现货商品最小变动值
  17971. type: integer
  17972. optioncompare:
  17973. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17974. type: string
  17975. orderqty:
  17976. description: 委托数量(商品数量)
  17977. type: number
  17978. productdetailid:
  17979. description: 产品组合ID
  17980. type: integer
  17981. productid:
  17982. description: 金融产品ID
  17983. type: integer
  17984. productname:
  17985. description: 产品名称
  17986. type: string
  17987. remark:
  17988. description: 备注
  17989. type: string
  17990. scfcontractid:
  17991. description: 仓单回购合同ID
  17992. type: string
  17993. sellaccountid:
  17994. description: 卖方资金账号
  17995. type: integer
  17996. selluserid:
  17997. description: 卖方用户ID
  17998. type: integer
  17999. sellwrtradeorderid:
  18000. description: 卖方委托单ID
  18001. type: string
  18002. tradeamount:
  18003. description: 成交金额(借款金额)
  18004. type: number
  18005. tradedate:
  18006. description: 交易日(yyyyMMdd)
  18007. type: string
  18008. tradeprice:
  18009. description: 成交价格
  18010. type: number
  18011. warehouseid:
  18012. description: 仓库ID
  18013. type: integer
  18014. warehousename:
  18015. description: 仓库名称
  18016. type: string
  18017. wrfactortypeid:
  18018. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18019. type: string
  18020. wrfactortypename:
  18021. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18022. type: string
  18023. wrpricetype:
  18024. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18025. type: integer
  18026. wrstandardcode:
  18027. description: 现货商品代码
  18028. type: string
  18029. wrstandardid:
  18030. description: 现货商品ID
  18031. type: integer
  18032. wrstandardname:
  18033. description: 商品名称
  18034. type: string
  18035. wrtypename:
  18036. description: 商品
  18037. type: string
  18038. type: object
  18039. models.WrFriendApply:
  18040. properties:
  18041. applicantid:
  18042. description: 申请人
  18043. type: integer
  18044. applyname:
  18045. description: 申请人名称
  18046. type: string
  18047. applysrc:
  18048. description: 申请来源 - 1:管理端 2:终端
  18049. type: integer
  18050. applystatus:
  18051. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18052. type: integer
  18053. applytime:
  18054. description: 申请时间
  18055. type: string
  18056. auditname:
  18057. description: 审核人名称
  18058. type: string
  18059. auditorid:
  18060. description: 审核人
  18061. type: integer
  18062. auditremark:
  18063. description: 审核备注
  18064. type: string
  18065. auditsrc:
  18066. description: 审核来源 - 1:管理端 2:终端
  18067. type: integer
  18068. audittime:
  18069. description: 审核时间
  18070. type: string
  18071. friendapplyid:
  18072. description: 申请ID(SEQ_FRIENDAPPLY)
  18073. type: string
  18074. friendname:
  18075. description: 好友名字(已脱敏)
  18076. type: string
  18077. frienduserid:
  18078. description: 好友用户ID
  18079. type: string
  18080. remark:
  18081. description: 备注
  18082. type: string
  18083. userid:
  18084. description: 申请人用户ID
  18085. type: integer
  18086. type: object
  18087. models.WrFtDeliveryGoods:
  18088. properties:
  18089. deliverygoodscode:
  18090. description: 品种代码
  18091. type: string
  18092. deliverygoodsid:
  18093. description: 品种ID
  18094. type: integer
  18095. deliverygoodsname:
  18096. description: 品种名称
  18097. type: string
  18098. wdlst:
  18099. description: 商品列表
  18100. items:
  18101. $ref: '#/definitions/models.WrFtWrstandard'
  18102. type: array
  18103. type: object
  18104. models.WrFtWrstandard:
  18105. properties:
  18106. enumdicname:
  18107. description: 单位名称
  18108. type: string
  18109. minivalue:
  18110. description: 最小变动值
  18111. type: integer
  18112. wrstandardcode:
  18113. description: 现货商品代码
  18114. type: string
  18115. wrstandardid:
  18116. description: 现货商品ID
  18117. type: integer
  18118. wrstandardname:
  18119. description: 商品名称
  18120. type: string
  18121. type: object
  18122. models.WrGoodsInfo:
  18123. properties:
  18124. haswr:
  18125. description: 0:仓单预售 1:仓单贸易
  18126. type: integer
  18127. lstitem:
  18128. description: 商品信息项
  18129. items:
  18130. $ref: '#/definitions/models.WrTypeItem'
  18131. type: array
  18132. lststep:
  18133. description: 履约规则
  18134. items:
  18135. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18136. type: array
  18137. marketid:
  18138. description: 市场id
  18139. type: integer
  18140. type: object
  18141. models.WrGoodsPerformanceStep:
  18142. properties:
  18143. autoid:
  18144. description: AutoID
  18145. type: integer
  18146. isauto:
  18147. description: 是否自动 - 0:不自动 1:自动
  18148. type: integer
  18149. remark:
  18150. description: 备注
  18151. type: string
  18152. stepdate:
  18153. description: 天数信息(T+N)
  18154. type: string
  18155. stepdays:
  18156. description: 距离上一步天数
  18157. type: integer
  18158. stepindex:
  18159. description: 步骤序号
  18160. type: integer
  18161. stepinfo:
  18162. description: 步骤信息(步骤名称+步骤值)
  18163. type: string
  18164. steptypeid:
  18165. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18166. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18167. type: integer
  18168. steptypename:
  18169. description: 步骤名称
  18170. type: string
  18171. stepvalue:
  18172. description: 期初均价
  18173. type: number
  18174. templateid:
  18175. description: 履约计划模板ID
  18176. type: integer
  18177. type: object
  18178. models.WrHoldLB:
  18179. properties:
  18180. accountid:
  18181. description: 持有人帐户ID
  18182. type: integer
  18183. bannerpicurl:
  18184. description: Banner图
  18185. type: string
  18186. createtime:
  18187. description: 创建时间(过户时间)
  18188. type: string
  18189. deliverygoodscode:
  18190. description: 品种代码
  18191. type: string
  18192. deliverygoodsid:
  18193. description: 品种ID
  18194. type: integer
  18195. deliverygoodsname:
  18196. description: 品种名称
  18197. type: string
  18198. enableqty:
  18199. description: 可用数量
  18200. type: number
  18201. enumdicname:
  18202. description: 单位名称
  18203. type: string
  18204. freezerqty:
  18205. description: 冻结数量
  18206. type: number
  18207. ladingbillid:
  18208. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18209. type: string
  18210. minivalue:
  18211. description: 现货商品最小变动值
  18212. type: integer
  18213. optioncompare:
  18214. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18215. type: string
  18216. parentsubnum:
  18217. description: 拆分父子单号
  18218. type: integer
  18219. pledgeqty:
  18220. description: 质押数量
  18221. type: number
  18222. qty:
  18223. description: 数量
  18224. type: number
  18225. subnum:
  18226. description: 提单子单号
  18227. type: integer
  18228. thumurls:
  18229. description: 缩略图
  18230. type: string
  18231. tradedate:
  18232. description: 交易日(yyyyMMdd)
  18233. type: string
  18234. userid:
  18235. description: 持有人ID
  18236. type: integer
  18237. warehouseid:
  18238. description: 仓库ID
  18239. type: integer
  18240. warehousename:
  18241. description: 仓库名称
  18242. type: string
  18243. wrfactortypeid:
  18244. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18245. type: string
  18246. wrfactortypename:
  18247. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18248. type: string
  18249. wrholdeno:
  18250. description: 仓单编号
  18251. type: string
  18252. wrid:
  18253. description: 仓单变更ID
  18254. type: string
  18255. wrstandardcode:
  18256. description: 现货商品代码
  18257. type: string
  18258. wrstandardid:
  18259. description: 现货商品ID
  18260. type: integer
  18261. wrstandardname:
  18262. description: 商品名称
  18263. type: string
  18264. wrtypename:
  18265. description: 商品
  18266. type: string
  18267. type: object
  18268. models.WrMarketTradeConfig:
  18269. properties:
  18270. basisdownratio:
  18271. description: 浮动价基差下限比例(仓单贸易)
  18272. type: number
  18273. basisupratio:
  18274. description: 浮动价基差上限比例(仓单贸易)
  18275. type: number
  18276. buychargealgorithm:
  18277. description: 买方手续费收取方式 1:比率 2:固定
  18278. type: integer
  18279. buychargealgorithm2:
  18280. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18281. type: integer
  18282. buychargealgorithmvalue:
  18283. description: 买方手续费设置值(交易所部分)
  18284. type: number
  18285. buychargealgorithmvalue2:
  18286. description: 买方手续费设置值(会员部分)
  18287. type: number
  18288. buychargealgorithmvalue3:
  18289. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18290. type: number
  18291. buychargealgorithmvalue4:
  18292. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18293. type: number
  18294. buyfirstmarginalgorithm:
  18295. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18296. type: integer
  18297. buyfirstmarginvalue:
  18298. description: 买方出价保证金设置值 - [竞拍]
  18299. type: number
  18300. buymarginalgorithm:
  18301. description: 买方保证金方式 - 1:比率 2:固定
  18302. type: integer
  18303. buymarginvalue:
  18304. description: 买方保证金设置值
  18305. type: number
  18306. buyreleaseratio:
  18307. description: 买方释放比率[2:分步履约]
  18308. type: number
  18309. executemode:
  18310. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18311. type: integer
  18312. executeside:
  18313. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18314. type: integer
  18315. failedchargealgorithm:
  18316. description: 流拍手续费收取方式 1:比率 2:固定
  18317. type: integer
  18318. failedchargevalue:
  18319. description: 流拍手续费设置值
  18320. type: number
  18321. failedchargevalue2:
  18322. description: 流拍卖方手续费设置值
  18323. type: number
  18324. holddays:
  18325. description: 合同期限[2:分步履约]
  18326. type: integer
  18327. listingmode:
  18328. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18329. type: integer
  18330. marketid:
  18331. description: 市场ID-仓单贸易、竞拍、预售
  18332. type: integer
  18333. minqty:
  18334. description: 最小执行量[2:分步履约]
  18335. type: number
  18336. modifierid:
  18337. description: 修改人
  18338. type: integer
  18339. nowrquotaflag:
  18340. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18341. type: integer
  18342. performancetempid:
  18343. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18344. 立即执行(-1)
  18345. type: integer
  18346. performancetempid2:
  18347. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18348. 立即执行
  18349. type: integer
  18350. performancetempid2s:
  18351. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18352. - 履约方式: 立即执行
  18353. type: string
  18354. performancetempids:
  18355. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18356. - 履约方式: 立即执行(-1)
  18357. type: string
  18358. performanceway:
  18359. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18360. type: integer
  18361. sellchargealgorithm:
  18362. description: 卖方手续费收取方式 1:比率 2:固定
  18363. type: integer
  18364. sellchargealgorithm2:
  18365. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18366. type: integer
  18367. sellchargealgorithmvalue:
  18368. description: 卖方手续费设置值(交易所部分)
  18369. type: number
  18370. sellchargealgorithmvalue2:
  18371. description: 卖方手续费设置值(会员部分)
  18372. type: number
  18373. sellchargealgorithmvalue3:
  18374. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18375. type: number
  18376. sellchargealgorithmvalue4:
  18377. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18378. type: number
  18379. sellmarginalgorithm:
  18380. description: 卖方保证金方式 - 1:比率 2:固定
  18381. type: integer
  18382. sellmarginvalue:
  18383. description: 卖方保证金设置值
  18384. type: number
  18385. sellmarginvalue2:
  18386. description: 卖方保证金设置值(无仓单)
  18387. type: number
  18388. sellreleaseratio:
  18389. description: 卖方释放比率[2:分步履约]
  18390. type: number
  18391. updatetime:
  18392. description: 更新时间
  18393. type: string
  18394. type: object
  18395. models.WrOrderDetail:
  18396. properties:
  18397. accountid:
  18398. description: 交易账号(资金账号)
  18399. type: integer
  18400. allfriendsflag:
  18401. description: 是否全好友可见 - 0:否 1:是
  18402. type: integer
  18403. amount:
  18404. description: 期初均价
  18405. type: number
  18406. bannerpicurl:
  18407. description: Banner图
  18408. type: string
  18409. begindate:
  18410. description: 开始交易日(yyyymmdd)
  18411. type: string
  18412. buyorsell:
  18413. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18414. type: integer
  18415. canbargain:
  18416. description: 是否可议价 - 0:不可 1:可
  18417. type: integer
  18418. cancelqty:
  18419. description: 撤销数量
  18420. type: number
  18421. canpart:
  18422. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18423. type: integer
  18424. delistminqty:
  18425. description: 起摘数量
  18426. type: integer
  18427. deliverygoodscode:
  18428. description: 品种代码
  18429. type: string
  18430. deliverygoodsid:
  18431. description: 品种ID
  18432. type: integer
  18433. deliverygoodsname:
  18434. description: 品种名称
  18435. type: string
  18436. deliverymonth:
  18437. description: 交收月
  18438. type: string
  18439. enddate:
  18440. description: 结束交易日(yyyymmdd)
  18441. type: string
  18442. enumdicname:
  18443. description: 单位名称
  18444. type: string
  18445. fixedprice:
  18446. description: 固定价格 - [挂牌]
  18447. type: number
  18448. freezecharge:
  18449. description: 期初均价
  18450. type: number
  18451. freezemargin:
  18452. description: 期初均价
  18453. type: number
  18454. futupricemove:
  18455. description: 期货升贴水
  18456. type: number
  18457. futushow:
  18458. description: 期货合约/升贴水
  18459. type: string
  18460. goodscode:
  18461. description: 期货合约
  18462. type: string
  18463. goodsid:
  18464. description: 期货商品id
  18465. type: integer
  18466. goodsname:
  18467. description: 商品名称
  18468. type: string
  18469. haswr:
  18470. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18471. type: integer
  18472. isspecified:
  18473. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18474. type: integer
  18475. ladingbillid:
  18476. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18477. type: string
  18478. marginvalue:
  18479. description: 期初均价
  18480. type: number
  18481. marketid:
  18482. description: 市场ID
  18483. type: integer
  18484. matchusername:
  18485. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18486. type: string
  18487. minivalue:
  18488. description: 现货商品最小变动值
  18489. type: integer
  18490. optioncompare:
  18491. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18492. type: string
  18493. orderqty:
  18494. description: 委托数量
  18495. type: number
  18496. ordertime:
  18497. description: 委托时间(挂牌时间)
  18498. type: string
  18499. performancetemplateid:
  18500. description: 履约模板id
  18501. type: integer
  18502. pricemove:
  18503. description: 升贴水(浮动价时填写) - [挂牌]
  18504. type: number
  18505. taname:
  18506. description: 交易用户名称(资金账号名称)
  18507. type: string
  18508. thumurls:
  18509. description: 缩略图
  18510. type: string
  18511. tradedate:
  18512. description: 交易日(yyyyMMdd)
  18513. type: string
  18514. tradeprice:
  18515. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18516. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18517. type: number
  18518. tradeqty:
  18519. description: 成交数量
  18520. type: number
  18521. userid:
  18522. description: 用户ID
  18523. type: integer
  18524. validtime:
  18525. description: 挂牌有效期
  18526. type: string
  18527. validtype:
  18528. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18529. type: integer
  18530. warehouseid:
  18531. description: 仓库ID
  18532. type: integer
  18533. warehousename:
  18534. description: 仓库名称
  18535. type: string
  18536. wrfactortypeid:
  18537. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18538. type: string
  18539. wrfactortypename:
  18540. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18541. type: string
  18542. wrpricetype:
  18543. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18544. type: integer
  18545. wrstandardcode:
  18546. description: 现货商品代码
  18547. type: string
  18548. wrstandardid:
  18549. description: 现货商品ID
  18550. type: integer
  18551. wrstandardname:
  18552. description: 商品名称
  18553. type: string
  18554. wrtradeorderid:
  18555. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18556. type: string
  18557. wrtradeorderstatus:
  18558. 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:撤单解冻贷款失败
  18559. type: integer
  18560. wrtradetype:
  18561. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18562. type: integer
  18563. wrtypename:
  18564. description: 商品
  18565. type: string
  18566. type: object
  18567. models.WrOrderQuote:
  18568. properties:
  18569. bannerpicurl:
  18570. description: Banner图
  18571. type: string
  18572. buyprice:
  18573. description: 买价
  18574. type: number
  18575. buypricemove:
  18576. description: 买升贴水(基差)
  18577. type: number
  18578. buyqty:
  18579. description: 买量
  18580. type: number
  18581. deliverygoodscode:
  18582. description: 品种代码
  18583. type: string
  18584. deliverygoodsid:
  18585. description: 品种id
  18586. type: integer
  18587. deliverygoodsname:
  18588. description: 品种名称
  18589. type: string
  18590. deliverymonth:
  18591. description: 交收月
  18592. type: string
  18593. enumdicname:
  18594. description: 单位名称
  18595. type: string
  18596. goodscode:
  18597. description: 商品合约(浮动价列表才有)
  18598. type: string
  18599. goodsid:
  18600. description: 商品id(浮动价列表才有)
  18601. type: integer
  18602. minivalue:
  18603. description: 现货商品最小变动值
  18604. type: integer
  18605. pictureurls:
  18606. description: 详情图片(逗号分隔)
  18607. type: string
  18608. sellprice:
  18609. description: 卖价
  18610. type: number
  18611. sellpricemove:
  18612. description: 卖升贴水(基差)
  18613. type: number
  18614. sellqty:
  18615. description: 卖量
  18616. type: number
  18617. thumurls:
  18618. description: 缩略图片(1:1)(逗号分隔)
  18619. type: string
  18620. warehousecode:
  18621. description: 仓库代码
  18622. type: string
  18623. warehouseid:
  18624. description: 仓库id
  18625. type: integer
  18626. warehousename:
  18627. description: 仓库名称
  18628. type: string
  18629. wrfactortypeid:
  18630. description: 仓单要素id
  18631. type: string
  18632. wrfactortypename:
  18633. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18634. type: string
  18635. wrgoodsname:
  18636. description: 商品(商品名称+仓库要素名称 拼接)
  18637. type: string
  18638. wrstandardcode:
  18639. description: 商品代码
  18640. type: string
  18641. wrstandardid:
  18642. description: 商品id
  18643. type: integer
  18644. wrstandardname:
  18645. description: 商品名称
  18646. type: string
  18647. type: object
  18648. models.WrOrderQuoteDetail:
  18649. properties:
  18650. buyorsell:
  18651. description: 买卖 - 0:买 1:卖
  18652. type: integer
  18653. delistminqty:
  18654. description: 期初均价
  18655. type: number
  18656. deliverymonth:
  18657. description: 交收月
  18658. type: string
  18659. enumdicname:
  18660. description: 单位名称
  18661. type: string
  18662. fixedprice:
  18663. description: 买(卖)价
  18664. type: number
  18665. marketid:
  18666. description: 市场id
  18667. type: integer
  18668. minivalue:
  18669. description: 现货商品最小变动值
  18670. type: integer
  18671. orderqty:
  18672. description: 买(卖)量(=委托量-成交量)
  18673. type: number
  18674. ordertime:
  18675. description: 委托时间
  18676. type: string
  18677. pricemove:
  18678. description: 买(卖)升贴水- 基差
  18679. type: number
  18680. userid:
  18681. description: 购买方(销售方)用户ID
  18682. type: integer
  18683. username:
  18684. description: 购买方(销售方)
  18685. type: string
  18686. wrtradeorderid:
  18687. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18688. type: string
  18689. type: object
  18690. models.WrOutInApply:
  18691. properties:
  18692. applyid:
  18693. description: 申请单id
  18694. type: string
  18695. applystatus:
  18696. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18697. 8:已撤销
  18698. type: integer
  18699. applytime:
  18700. description: 申请时间
  18701. type: string
  18702. applytype:
  18703. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18704. type: integer
  18705. bannerpicurl:
  18706. description: Banner图
  18707. type: string
  18708. begindate:
  18709. description: 开始交易日(yyyymmdd)
  18710. type: string
  18711. deliverygoodscode:
  18712. description: 品种代码
  18713. type: string
  18714. deliverygoodsid:
  18715. description: 品种ID
  18716. type: integer
  18717. deliverygoodsname:
  18718. description: 品种名称
  18719. type: string
  18720. enddate:
  18721. description: 结束交易日(yyyymmdd)
  18722. type: string
  18723. enumdicname:
  18724. description: 单位名称
  18725. type: string
  18726. expresscompany:
  18727. description: 物流公司
  18728. type: string
  18729. expressnum:
  18730. description: 物流单号
  18731. type: string
  18732. minivalue:
  18733. description: 现货商品最小变动值
  18734. type: integer
  18735. optioncompare:
  18736. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18737. type: string
  18738. qty:
  18739. description: 数量
  18740. type: integer
  18741. userid:
  18742. description: 用户id
  18743. type: integer
  18744. warehouseid:
  18745. description: 仓库ID
  18746. type: integer
  18747. warehousename:
  18748. description: 仓库名称
  18749. type: string
  18750. wrfactortypeid:
  18751. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18752. type: string
  18753. wrfactortypename:
  18754. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18755. type: string
  18756. wrstandardcode:
  18757. description: 现货商品代码
  18758. type: string
  18759. wrstandardid:
  18760. description: 现货商品ID
  18761. type: integer
  18762. wrstandardname:
  18763. description: 商品名称
  18764. type: string
  18765. wrtypename:
  18766. description: 商品
  18767. type: string
  18768. type: object
  18769. models.WrPerformancePlan:
  18770. properties:
  18771. activatemonth:
  18772. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18773. type: string
  18774. amount:
  18775. description: 履约金额(总金额)
  18776. type: number
  18777. begindate:
  18778. description: 开始交易日(yyyymmdd)
  18779. type: string
  18780. buyaccountid:
  18781. description: 买方账号
  18782. type: integer
  18783. buyerfreezeamount:
  18784. description: 履约冻结(买履约)
  18785. type: number
  18786. buyerfreezeamountremain:
  18787. description: 履约冻结剩余(买履约)
  18788. type: number
  18789. buyorsell:
  18790. description: 买卖方向 0-买 1-卖
  18791. type: integer
  18792. buypaidamount:
  18793. description: 买方已冻/已扣金额 (已付金额)
  18794. type: number
  18795. buyusername:
  18796. description: 买方名字
  18797. type: string
  18798. contractid:
  18799. description: 合同ID
  18800. type: integer
  18801. createtime:
  18802. description: 创建时间
  18803. type: string
  18804. creatorid:
  18805. description: 创建人
  18806. type: integer
  18807. curstepdeadline:
  18808. description: 当前步骤到期时间
  18809. type: string
  18810. curstepid:
  18811. description: 当前步骤ID
  18812. type: string
  18813. curstepname:
  18814. description: 当前步骤名称
  18815. type: string
  18816. deliverygoodscode:
  18817. description: 品种代码
  18818. type: string
  18819. deliverygoodsid:
  18820. description: 品种ID
  18821. type: integer
  18822. deliverygoodsname:
  18823. description: 品种名称
  18824. type: string
  18825. enddate:
  18826. description: 结束交易日(yyyymmdd)
  18827. type: string
  18828. enumdicname:
  18829. description: 单位名称
  18830. type: string
  18831. expressfee:
  18832. description: 运费
  18833. type: number
  18834. expressfeeconfirmed:
  18835. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18836. type: integer
  18837. hasovershort:
  18838. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18839. type: integer
  18840. haswr:
  18841. description: 类型 0-仓单预售 1-仓单贸易
  18842. type: integer
  18843. marketid:
  18844. description: 市场ID
  18845. type: integer
  18846. middleaccountid:
  18847. description: 中间商资金账号ID
  18848. type: integer
  18849. middleuserid:
  18850. description: 中间商用户ID
  18851. type: integer
  18852. minivalue:
  18853. description: 现货商品最小变动值
  18854. type: integer
  18855. optioncompare:
  18856. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18857. type: string
  18858. overshortamount:
  18859. description: 溢短金额
  18860. type: number
  18861. overshortqty:
  18862. description: 溢短数量
  18863. type: number
  18864. paymenttype:
  18865. description: 付款方式 - 1:冻结 2:扣款
  18866. type: integer
  18867. performanceplanid:
  18868. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18869. type: string
  18870. performancestatus:
  18871. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18872. 9:超时待处理 10:超时关闭
  18873. type: integer
  18874. performancetype:
  18875. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18876. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18877. type: integer
  18878. qty:
  18879. description: 履约数量
  18880. type: number
  18881. relatedorderid:
  18882. description: 关联单号(履约类型的关联单号)
  18883. type: string
  18884. remark:
  18885. description: 备注
  18886. type: string
  18887. sellaccountid:
  18888. description: 卖方账号
  18889. type: integer
  18890. sellerfreezeamount:
  18891. description: 履约冻结(卖履约)
  18892. type: number
  18893. sellerfreezeamountremain:
  18894. description: 履约冻结剩余(卖履约)
  18895. type: number
  18896. sellreceivedamount:
  18897. description: 卖方已收金额
  18898. type: number
  18899. sellusername:
  18900. description: 卖方名字
  18901. type: string
  18902. shipremark:
  18903. description: 发货备注[物流单号]
  18904. type: string
  18905. starttime:
  18906. description: 开始时间
  18907. type: string
  18908. steptypeid:
  18909. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18910. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18911. type: integer
  18912. typename:
  18913. description: 履约类型 名称
  18914. type: string
  18915. unpaidamount:
  18916. description: 期初均价
  18917. type: number
  18918. userid:
  18919. description: 用户id
  18920. type: integer
  18921. warehouseid:
  18922. description: 仓库ID
  18923. type: integer
  18924. warehousename:
  18925. description: 仓库名称
  18926. type: string
  18927. wrfactortypeid:
  18928. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18929. type: string
  18930. wrfactortypename:
  18931. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18932. type: string
  18933. wrstandardcode:
  18934. description: 现货商品代码
  18935. type: string
  18936. wrstandardid:
  18937. description: 现货商品ID
  18938. type: integer
  18939. wrstandardname:
  18940. description: 商品名称
  18941. type: string
  18942. wrtransferuserid:
  18943. description: 仓单受让用户
  18944. type: integer
  18945. wrtypename:
  18946. description: 商品
  18947. type: string
  18948. required:
  18949. - userid
  18950. type: object
  18951. models.WrPerformancePlanStep:
  18952. properties:
  18953. delaydays:
  18954. description: 延期申请天数
  18955. type: integer
  18956. deliverygoodscode:
  18957. description: 品种代码
  18958. type: string
  18959. deliverygoodsid:
  18960. description: 品种ID
  18961. type: integer
  18962. deliverygoodsname:
  18963. description: 品种名称
  18964. type: string
  18965. endtime:
  18966. description: 结束日期
  18967. type: string
  18968. enumdicname:
  18969. description: 单位名称
  18970. type: string
  18971. executeside:
  18972. description: 步骤执行方 - 1:买方 2:卖方
  18973. type: integer
  18974. handlestatus:
  18975. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18976. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18977. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18978. type: integer
  18979. isauto:
  18980. description: 是否自动 - 0:不自动 1:自动
  18981. type: integer
  18982. islastreceivestep:
  18983. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18984. type: integer
  18985. minivalue:
  18986. description: 现货商品最小变动值
  18987. type: integer
  18988. optioncompare:
  18989. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18990. type: string
  18991. overdays:
  18992. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18993. type: integer
  18994. performancestepid:
  18995. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18996. type: string
  18997. planid:
  18998. description: 所属履约计划ID
  18999. type: string
  19000. realamount:
  19001. description: 实际完成金额
  19002. type: number
  19003. relatedorderid:
  19004. description: 关联单号
  19005. type: string
  19006. remaindays:
  19007. description: 剩余天数
  19008. type: integer
  19009. remark:
  19010. description: 错误备注
  19011. type: string
  19012. starttime:
  19013. description: 开始日期
  19014. type: string
  19015. stepamount:
  19016. description: 步骤金额
  19017. type: number
  19018. stepdays:
  19019. description: 距离上一步天数(分钟)
  19020. type: integer
  19021. stepindex:
  19022. description: 步骤序号
  19023. type: integer
  19024. steplanchtype:
  19025. description: 步骤启动类型 - 1:系统自动 2:手动
  19026. type: integer
  19027. stepremark:
  19028. description: 步骤备注
  19029. type: string
  19030. stepstatus:
  19031. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19032. type: integer
  19033. steptypeid:
  19034. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19035. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19036. type: integer
  19037. steptypename:
  19038. description: 步骤名称
  19039. type: string
  19040. stepvalue:
  19041. description: 步骤值
  19042. type: number
  19043. warehouseid:
  19044. description: 仓库ID
  19045. type: integer
  19046. warehousename:
  19047. description: 仓库名称
  19048. type: string
  19049. wrfactortypeid:
  19050. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19051. type: string
  19052. wrfactortypename:
  19053. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19054. type: string
  19055. wrstandardcode:
  19056. description: 现货商品代码
  19057. type: string
  19058. wrstandardid:
  19059. description: 现货商品ID
  19060. type: integer
  19061. wrstandardname:
  19062. description: 商品名称
  19063. type: string
  19064. wrtypename:
  19065. description: 商品
  19066. type: string
  19067. type: object
  19068. models.WrPerformanceStepType:
  19069. properties:
  19070. canauto:
  19071. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19072. type: integer
  19073. steptypeid:
  19074. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19075. type: integer
  19076. steptypename:
  19077. description: 步骤类型名称
  19078. type: string
  19079. type: object
  19080. models.WrPerformanceTemplateEx:
  19081. properties:
  19082. autoid:
  19083. description: AutoID 模板id
  19084. type: integer
  19085. createtime:
  19086. description: 创建时间
  19087. type: string
  19088. creatorid:
  19089. description: 创建人
  19090. type: integer
  19091. lstStep:
  19092. description: 步骤信息列表
  19093. items:
  19094. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19095. type: array
  19096. paymenttype:
  19097. description: 支付方式 - 1:冻结 2:扣款
  19098. type: integer
  19099. takemode:
  19100. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19101. type: integer
  19102. templatename:
  19103. description: 模板名称
  19104. type: string
  19105. templatetype:
  19106. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19107. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19108. type: integer
  19109. userid:
  19110. description: 所属用户
  19111. type: integer
  19112. type: object
  19113. models.WrPosition:
  19114. properties:
  19115. accountid:
  19116. description: 帐户ID
  19117. type: integer
  19118. buyexcuteqty:
  19119. description: 采购履约中数量
  19120. type: number
  19121. creditcurqty:
  19122. description: 授信当前数量(预售仓单:预售当前量)
  19123. type: number
  19124. creditenableqty:
  19125. description: '授信可用数量(预售仓单: 可用数量)'
  19126. type: number
  19127. creditfreezeqty:
  19128. description: '授信冻结数量(预售仓单: 当前数量)'
  19129. type: number
  19130. credittotalqty:
  19131. description: 授信总数量(预售仓单:预售总量)
  19132. type: number
  19133. credittradeqty:
  19134. description: 授信成交数量(预售仓单:成交总量)
  19135. type: number
  19136. deliverygoodscode:
  19137. description: 品种代码
  19138. type: string
  19139. deliverygoodsid:
  19140. description: 品种ID
  19141. type: integer
  19142. deliverygoodsname:
  19143. description: 品种名称
  19144. type: string
  19145. enalbeqty:
  19146. description: 可用数量
  19147. type: number
  19148. enumdicname:
  19149. description: 单位名称
  19150. type: string
  19151. freezeqty:
  19152. description: 总冻结数量
  19153. type: number
  19154. haswr:
  19155. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19156. type: integer
  19157. minivalue:
  19158. description: 现货商品最小变动值
  19159. type: integer
  19160. modifytime:
  19161. description: 修改时间(过户时间)
  19162. type: string
  19163. optioncompare:
  19164. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19165. type: string
  19166. pledgeqty:
  19167. description: 质押数量
  19168. type: number
  19169. querytype:
  19170. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19171. type: integer
  19172. sellexcuteqty:
  19173. description: 销售履约中数量
  19174. type: number
  19175. totalqty:
  19176. description: 总数量(库存数量)
  19177. type: number
  19178. warehouseid:
  19179. description: 仓库ID
  19180. type: integer
  19181. warehousename:
  19182. description: 仓库名称
  19183. type: string
  19184. wrfactortypeid:
  19185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19186. type: string
  19187. wrfactortypename:
  19188. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19189. type: string
  19190. wrpositionid:
  19191. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19192. type: string
  19193. wrpositionno:
  19194. description: 仓单编号
  19195. type: string
  19196. wrstandardcode:
  19197. description: 现货商品代码
  19198. type: string
  19199. wrstandardid:
  19200. description: 现货商品ID
  19201. type: integer
  19202. wrstandardname:
  19203. description: 商品名称
  19204. type: string
  19205. wrtypename:
  19206. description: 商品
  19207. type: string
  19208. wruserid:
  19209. description: 持有人ID
  19210. type: integer
  19211. type: object
  19212. models.WrPreSaleInfo:
  19213. properties:
  19214. bannerpicurl:
  19215. description: Banner图
  19216. type: string
  19217. baseqty:
  19218. description: 中签基数
  19219. type: number
  19220. createtime:
  19221. description: 创建时间
  19222. type: string
  19223. deliverygoodsid:
  19224. description: 现货品种ID
  19225. type: integer
  19226. enddate:
  19227. description: 预售结束日期
  19228. type: string
  19229. enumdicname:
  19230. description: 单位名称
  19231. type: string
  19232. lotteryflag:
  19233. description: 摇号标识 - 0:未摇号 1:已摇号
  19234. type: integer
  19235. lotteryqty:
  19236. description: 摇号总量
  19237. type: number
  19238. luckyqty:
  19239. description: 已中签量
  19240. type: number
  19241. marketid:
  19242. description: 市场ID
  19243. type: integer
  19244. maxbuyqty:
  19245. description: 单人最大申购量
  19246. type: number
  19247. maxluckyqty:
  19248. description: 单人最大中签量
  19249. type: number
  19250. pictureurls:
  19251. description: 详情图片(逗号分隔)
  19252. type: string
  19253. placeqty:
  19254. description: 已配售量
  19255. type: number
  19256. presaleapplyid:
  19257. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19258. example: "0"
  19259. type: string
  19260. presaleqty:
  19261. description: 预售总量
  19262. type: number
  19263. presalestatus:
  19264. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19265. type: integer
  19266. sellaccountid:
  19267. description: 发行方资金账户ID
  19268. type: integer
  19269. selluserid:
  19270. description: 发行方用户ID
  19271. type: integer
  19272. sellwrtradeorderid:
  19273. description: 发行方卖委托单ID
  19274. type: string
  19275. startdate:
  19276. description: 预售开始日期
  19277. type: string
  19278. takestartdate:
  19279. description: 提货开始日期
  19280. type: string
  19281. thumurls:
  19282. description: 缩略图片(1:1)(逗号分隔)
  19283. type: string
  19284. tradedate:
  19285. description: 交易日
  19286. type: string
  19287. unitid:
  19288. description: 单位ID
  19289. type: integer
  19290. unitprice:
  19291. description: 商品单价
  19292. type: number
  19293. username:
  19294. description: 发行方用户名称
  19295. type: string
  19296. warehousecode:
  19297. description: 仓库代码(仓库简称)
  19298. type: string
  19299. warehouseid:
  19300. description: 仓库ID
  19301. type: integer
  19302. warehousename:
  19303. description: 仓库名称
  19304. type: string
  19305. wrfactortypeid:
  19306. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19307. example: "0"
  19308. type: string
  19309. wrstandardid:
  19310. description: 现货商品ID
  19311. type: integer
  19312. wrstandardname:
  19313. description: 现货商品名称
  19314. type: string
  19315. type: object
  19316. models.WrQuoteOrderMyq:
  19317. properties:
  19318. buyorsell:
  19319. description: 买卖 - 0:买 1:卖
  19320. type: integer
  19321. canbargain:
  19322. description: 是否可议价 - 0:不可 1:可
  19323. type: integer
  19324. canpart:
  19325. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19326. type: integer
  19327. delistminqty:
  19328. description: 期初均价
  19329. type: number
  19330. deliverygoodscode:
  19331. description: 品种代码
  19332. type: string
  19333. deliverygoodsid:
  19334. description: 品种ID
  19335. type: integer
  19336. deliverygoodsname:
  19337. description: 品种名称
  19338. type: string
  19339. deliverymonth:
  19340. description: 交收月
  19341. type: string
  19342. enumdicname:
  19343. description: 单位名称
  19344. type: string
  19345. fixedprice:
  19346. description: 买(卖)价
  19347. type: number
  19348. goodscode:
  19349. description: 商品合约代码
  19350. type: string
  19351. marginflag:
  19352. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19353. type: integer
  19354. marginvalue:
  19355. description: 保证金设置值
  19356. type: number
  19357. minivalue:
  19358. description: 现货商品最小变动值
  19359. type: integer
  19360. orderqty:
  19361. description: 买(卖)量(=委托量-成交量)
  19362. type: number
  19363. ordertime:
  19364. description: 委托时间
  19365. type: string
  19366. performancetemplateid:
  19367. description: 履约模板id
  19368. type: integer
  19369. pricemove:
  19370. description: 买(卖)升贴水- 基差
  19371. type: number
  19372. templatename:
  19373. description: 履约模板名称
  19374. type: string
  19375. userid:
  19376. description: 购买方(销售方)用户ID
  19377. type: integer
  19378. username:
  19379. description: 购买方(销售方)
  19380. type: string
  19381. validtime:
  19382. description: 有效期限
  19383. type: string
  19384. validtype:
  19385. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19386. type: integer
  19387. warehousename:
  19388. description: 仓库名称
  19389. type: string
  19390. wrfactortypeid:
  19391. description: 仓单要素id
  19392. type: string
  19393. wrstandardcode:
  19394. description: 现货商品代码
  19395. type: string
  19396. wrstandardid:
  19397. description: 现货商品ID
  19398. type: integer
  19399. wrstandardname:
  19400. description: 商品名称
  19401. type: string
  19402. wrtradeorderid:
  19403. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19404. type: string
  19405. wrtypename:
  19406. description: 商品
  19407. type: string
  19408. type: object
  19409. models.WrReckonSpotGoodsTradeSum:
  19410. properties:
  19411. begindate:
  19412. description: 开始日期(结果含开始日期) yyyymmdd
  19413. type: string
  19414. enddate:
  19415. description: 结束日期(结果含结束日期) yyyymmdd
  19416. type: string
  19417. istoday:
  19418. description: 是否当日
  19419. type: boolean
  19420. marketid:
  19421. description: 市场ID
  19422. type: integer
  19423. price:
  19424. description: 价格 = 日成交金额 / 日成交数量
  19425. type: string
  19426. reckondate:
  19427. description: 日期 格式 yyyymmdd
  19428. type: string
  19429. tradeamount:
  19430. description: 期初均价
  19431. type: number
  19432. tradeqty:
  19433. description: 期初均价
  19434. type: number
  19435. wrstandardid:
  19436. description: 现货商品ID
  19437. type: integer
  19438. type: object
  19439. models.WrScfContract:
  19440. properties:
  19441. borroweruserid:
  19442. description: 借款用户ID
  19443. type: integer
  19444. buybackwrpositionqty:
  19445. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19446. type: number
  19447. closeinterest:
  19448. description: 已结利息 -> 已结费用
  19449. type: number
  19450. currisklevel:
  19451. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19452. type: integer
  19453. deadline:
  19454. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19455. type: string
  19456. deliverygoodscode:
  19457. description: 品种代码
  19458. type: string
  19459. deliverygoodsid:
  19460. description: 品种ID
  19461. type: integer
  19462. deliverygoodsname:
  19463. description: 品种名称
  19464. type: string
  19465. enumdicname:
  19466. description: 单位名称
  19467. type: string
  19468. financingdays:
  19469. description: 天数(天)
  19470. type: integer
  19471. initmargin:
  19472. description: 保证金 - [仓单回购]
  19473. type: number
  19474. interestamount:
  19475. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19476. type: number
  19477. interestdebt:
  19478. description: 利息欠款(记录负数) -> 费用欠款
  19479. type: number
  19480. interestminlen:
  19481. description: 最小起息天数
  19482. type: integer
  19483. interestrate:
  19484. description: 利率
  19485. type: number
  19486. interestratemode:
  19487. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19488. type: integer
  19489. interestsettlemode:
  19490. description: 结息方式 - 1:按日结息 3:按月结息
  19491. type: integer
  19492. interestsettlevalue:
  19493. description: 结息方式值
  19494. type: integer
  19495. isautoloan:
  19496. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19497. type: integer
  19498. lastcloseinterestday:
  19499. description: 最近结息日(yyyyMMdd)
  19500. type: string
  19501. lenderamount:
  19502. description: 贷款金额 -> 借款金额
  19503. type: number
  19504. lenderuserid:
  19505. description: 贷款方用户ID -> 融出方用户ID
  19506. type: integer
  19507. lenderusername:
  19508. description: 融出方
  19509. type: string
  19510. marginratio:
  19511. description: 保证金比率质押率 - [仓单质押]
  19512. type: number
  19513. marketid:
  19514. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19515. type: integer
  19516. minivalue:
  19517. description: 现货商品最小变动值
  19518. type: integer
  19519. optioncompare:
  19520. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19521. type: string
  19522. pricemove:
  19523. description: 估值升贴水值
  19524. type: number
  19525. productdetailid:
  19526. description: 产品组合ID
  19527. type: integer
  19528. productid:
  19529. description: 金融产品ID
  19530. type: integer
  19531. productname:
  19532. description: 产品名称
  19533. type: string
  19534. remainamount:
  19535. description: 合同剩余金额 -> 剩余金额
  19536. type: number
  19537. remainwrpositionqty:
  19538. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19539. type: number
  19540. remark:
  19541. description: 备注
  19542. type: string
  19543. scfcontractid:
  19544. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19545. type: string
  19546. scfcontractstatus:
  19547. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19548. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19549. type: integer
  19550. scfcontracttype:
  19551. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19552. type: integer
  19553. startinterestday:
  19554. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19555. type: string
  19556. totalinterest:
  19557. description: 已计利息 -> 已计费用
  19558. type: number
  19559. unpaidinterest:
  19560. description: 期初均价
  19561. type: number
  19562. updatetime:
  19563. description: 更新时间
  19564. type: string
  19565. warehouseid:
  19566. description: 仓库ID
  19567. type: integer
  19568. warehousename:
  19569. description: 仓库名称
  19570. type: string
  19571. wrfactortypeid:
  19572. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19573. type: string
  19574. wrfactortypename:
  19575. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19576. type: string
  19577. wrqty:
  19578. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19579. type: number
  19580. wrstandardcode:
  19581. description: 现货商品代码
  19582. type: string
  19583. wrstandardid:
  19584. description: 现货商品ID
  19585. type: integer
  19586. wrstandardname:
  19587. description: 商品名称
  19588. type: string
  19589. wrtypename:
  19590. description: 商品
  19591. type: string
  19592. type: object
  19593. models.WrScfContractInterest:
  19594. properties:
  19595. closeinterest:
  19596. description: 已结利息
  19597. type: number
  19598. closeintereststatus:
  19599. description: 结息状态 - 1:未结 2:已结
  19600. type: integer
  19601. closetime:
  19602. description: 结息时间
  19603. type: string
  19604. closetradedate:
  19605. description: 结息交易日
  19606. type: string
  19607. creatorid:
  19608. description: 操作人ID
  19609. type: integer
  19610. dayrate:
  19611. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19612. type: number
  19613. interest:
  19614. description: 利息
  19615. type: number
  19616. interestamount:
  19617. description: 计息金额
  19618. type: number
  19619. interestday:
  19620. description: 计息日(yyyyMMdd)
  19621. type: string
  19622. scfcontractid:
  19623. description: SCF合同ID
  19624. type: string
  19625. scfcontractinterestid:
  19626. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19627. type: integer
  19628. updatetime:
  19629. description: 更新时间
  19630. type: string
  19631. type: object
  19632. models.WrSearchUser:
  19633. properties:
  19634. userid:
  19635. description: 用户ID
  19636. type: integer
  19637. username:
  19638. description: 用户名称(已脱敏)
  19639. type: string
  19640. username2:
  19641. description: 用户名称(未脱敏)
  19642. type: string
  19643. usertype:
  19644. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19645. type: integer
  19646. required:
  19647. - username
  19648. type: object
  19649. models.WrSiteColumnDetail:
  19650. properties:
  19651. brief:
  19652. description: 简介
  19653. type: string
  19654. context:
  19655. description: 内容
  19656. type: string
  19657. coverimage:
  19658. description: 封面图片
  19659. type: string
  19660. creaedate:
  19661. description: 创建时间
  19662. type: string
  19663. id:
  19664. description: ID(SEQ_SITE_COLUMNDETAIL)
  19665. type: integer
  19666. istop:
  19667. description: 是否置顶 - 0:不置 1:置顶
  19668. type: integer
  19669. publishdate:
  19670. description: 发布日期
  19671. type: string
  19672. title:
  19673. description: 标题
  19674. type: string
  19675. updatedate:
  19676. description: 修改时间
  19677. type: string
  19678. type: object
  19679. models.WrSpecialMatchOrder:
  19680. properties:
  19681. amount:
  19682. description: 金额 = 数量 * 价格
  19683. type: number
  19684. buyorsell:
  19685. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19686. type: integer
  19687. cancelqty:
  19688. description: 撤销数量
  19689. type: number
  19690. deliverygoodscode:
  19691. description: 品种代码
  19692. type: string
  19693. deliverygoodsid:
  19694. description: 品种ID
  19695. type: integer
  19696. deliverygoodsname:
  19697. description: 品种名称
  19698. type: string
  19699. enumdicname:
  19700. description: 单位名称
  19701. type: string
  19702. fixedprice:
  19703. description: 固定价格(价格)
  19704. type: number
  19705. haswr:
  19706. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19707. type: integer
  19708. isspecified:
  19709. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19710. type: integer
  19711. marketid:
  19712. description: 市场ID
  19713. type: integer
  19714. matchuserid:
  19715. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19716. type: integer
  19717. matchusername:
  19718. description: 指定方
  19719. type: string
  19720. minivalue:
  19721. description: 现货商品最小变动值
  19722. type: integer
  19723. optioncompare:
  19724. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19725. type: string
  19726. orderqty:
  19727. description: 委托数量
  19728. type: number
  19729. ordertime:
  19730. description: 委托时间
  19731. type: string
  19732. pricemove:
  19733. description: 升贴水(浮动价时填写) - [挂牌]
  19734. type: number
  19735. tradedate:
  19736. description: 交易日(yyyyMMdd)
  19737. type: string
  19738. tradeprice:
  19739. description: 成交价格
  19740. type: number
  19741. tradeqty:
  19742. description: 成交数量
  19743. type: number
  19744. userid:
  19745. description: 用户ID
  19746. type: integer
  19747. username:
  19748. description: 发起方
  19749. type: string
  19750. warehouseid:
  19751. description: 仓库ID
  19752. type: integer
  19753. warehousename:
  19754. description: 仓库名称
  19755. type: string
  19756. wrfactortypeid:
  19757. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19758. type: string
  19759. wrfactortypename:
  19760. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19761. type: string
  19762. wrpricetype:
  19763. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19764. type: integer
  19765. wrstandardcode:
  19766. description: 现货商品代码
  19767. type: string
  19768. wrstandardid:
  19769. description: 现货商品ID
  19770. type: integer
  19771. wrstandardname:
  19772. description: 商品名称
  19773. type: string
  19774. wrtradeorderid:
  19775. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19776. type: string
  19777. wrtradeorderstatus:
  19778. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19779. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19780. type: integer
  19781. wrtradetype:
  19782. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19783. type: integer
  19784. wrtypename:
  19785. description: 商品
  19786. type: string
  19787. type: object
  19788. models.WrSpotGroupTradeSum:
  19789. properties:
  19790. deliverygoodscode:
  19791. description: 现货品种代码
  19792. type: string
  19793. deliverygoodsid:
  19794. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19795. type: integer
  19796. deliverygoodsname:
  19797. description: 现货品种名称
  19798. type: string
  19799. lastavgprice:
  19800. description: 上上个交易日价格(前2天价格)
  19801. type: string
  19802. lastreckondate:
  19803. description: 上上个交易日(前2天交易日)
  19804. type: string
  19805. reckondate:
  19806. description: 上个交易日(前1天交易日)
  19807. type: string
  19808. todayavgprice:
  19809. description: 上个交易日价格(前1天价格)
  19810. type: string
  19811. updown:
  19812. description: 涨跌
  19813. type: string
  19814. updownratio:
  19815. description: 涨幅(已格式化, 直接显示即可)
  19816. type: string
  19817. type: object
  19818. models.WrSpotGroupTradeSumDetail:
  19819. properties:
  19820. deliverygoodsid:
  19821. description: 现货商品id
  19822. type: integer
  19823. price:
  19824. description: 价格
  19825. type: number
  19826. reckondate:
  19827. description: 日期(yyymmdd, 如:20211031)
  19828. type: string
  19829. type: object
  19830. models.WrSpotGroupTradeSumEx:
  19831. properties:
  19832. lst:
  19833. description: 指数列表
  19834. items:
  19835. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19836. type: array
  19837. prereckondate:
  19838. description: 上上个交易日(yyymmdd)
  19839. type: string
  19840. reckondate:
  19841. description: 上个交易日(yyyymmdd)
  19842. type: string
  19843. type: object
  19844. models.WrStandardFactoryItem:
  19845. properties:
  19846. dgfactoryitemid:
  19847. description: 选择项id
  19848. type: integer
  19849. dgfactoryitemvalue:
  19850. description: 要素项值
  19851. type: string
  19852. warehouseid:
  19853. description: 仓库id
  19854. type: integer
  19855. type: object
  19856. models.WrStandardFactoryItemEx:
  19857. properties:
  19858. dgfactoryitemtypeid:
  19859. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19860. type: integer
  19861. itemlst:
  19862. description: 要素项列表
  19863. items:
  19864. $ref: '#/definitions/models.WrStandardFactoryItem'
  19865. type: array
  19866. itemtypename:
  19867. description: 要素项类型名称
  19868. type: string
  19869. wrstandardid:
  19870. description: 品类
  19871. type: integer
  19872. type: object
  19873. models.WrTradeDetail:
  19874. properties:
  19875. accountid:
  19876. description: 资金账号
  19877. type: integer
  19878. bannerpicurl:
  19879. description: Banner图
  19880. type: string
  19881. begindate:
  19882. description: 开始交易日(yyyymmdd)
  19883. type: string
  19884. buyorsell:
  19885. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19886. type: integer
  19887. chargevalue:
  19888. description: 手续费
  19889. type: number
  19890. deliverygoodscode:
  19891. description: 品种代码
  19892. type: string
  19893. deliverygoodsid:
  19894. description: 品种ID
  19895. type: integer
  19896. deliverygoodsname:
  19897. description: 品种名称
  19898. type: string
  19899. deliverymonth:
  19900. description: 交收月
  19901. type: string
  19902. enddate:
  19903. description: 结束交易日(yyyymmdd)
  19904. type: string
  19905. enumdicname:
  19906. description: 单位名称
  19907. type: string
  19908. haswr:
  19909. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19910. type: integer
  19911. marketid:
  19912. description: 市场ID
  19913. type: integer
  19914. matchaccountid:
  19915. description: 对手账号
  19916. type: integer
  19917. matchusername:
  19918. description: 对手方
  19919. type: string
  19920. minivalue:
  19921. description: 现货商品最小变动值
  19922. type: integer
  19923. optioncompare:
  19924. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19925. type: string
  19926. thumurls:
  19927. description: 缩略图
  19928. type: string
  19929. tradedate:
  19930. description: 交易日(yyyyMMdd)
  19931. type: string
  19932. tradeprice:
  19933. description: 成交价格
  19934. type: number
  19935. tradeqty:
  19936. description: 成交数量
  19937. type: number
  19938. tradetime:
  19939. description: 成交时间
  19940. type: string
  19941. userid:
  19942. description: 用户ID
  19943. type: integer
  19944. warehouseid:
  19945. description: 仓库ID
  19946. type: integer
  19947. warehousename:
  19948. description: 仓库名称
  19949. type: string
  19950. wrfactortypeid:
  19951. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19952. type: string
  19953. wrfactortypename:
  19954. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19955. type: string
  19956. wrstandardcode:
  19957. description: 现货商品代码
  19958. type: string
  19959. wrstandardid:
  19960. description: 现货商品ID
  19961. type: integer
  19962. wrstandardname:
  19963. description: 商品名称
  19964. type: string
  19965. wrtradedetailid:
  19966. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19967. type: string
  19968. wrtradetype:
  19969. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19970. type: integer
  19971. wrtypename:
  19972. description: 商品
  19973. type: string
  19974. type: object
  19975. models.WrTradeOrderDetail:
  19976. properties:
  19977. buyorsell:
  19978. description: 买卖方向 0-买 1-卖
  19979. type: integer
  19980. goodsid:
  19981. description: 商品id
  19982. type: integer
  19983. orderid:
  19984. description: 委托单号
  19985. type: string
  19986. orderprice:
  19987. description: 期初均价
  19988. type: number
  19989. orderqty:
  19990. description: 委托数量
  19991. type: integer
  19992. userid:
  19993. description: 用户id
  19994. type: integer
  19995. username:
  19996. description: 用户名称(已脱敏)
  19997. type: string
  19998. type: object
  19999. models.WrTypeItem:
  20000. properties:
  20001. name:
  20002. description: 名称
  20003. type: string
  20004. value:
  20005. description: 值
  20006. type: string
  20007. type: object
  20008. models.WrUserFriend:
  20009. properties:
  20010. friendname:
  20011. description: 朋友名称(已脱敏)
  20012. type: string
  20013. frienduserid:
  20014. description: 朋友id
  20015. type: integer
  20016. isfriend:
  20017. description: 是否好友 0-不是 1-是
  20018. type: integer
  20019. userid:
  20020. description: 用户id
  20021. type: integer
  20022. type: object
  20023. models.WrUserReceiptInfo:
  20024. properties:
  20025. address:
  20026. description: 地址[发票类型:企业]
  20027. type: string
  20028. autoid:
  20029. description: AutoID
  20030. type: integer
  20031. contactinfo:
  20032. description: 联系方式
  20033. type: string
  20034. idnum:
  20035. description: 身份证号码[发票类型:个人]
  20036. type: string
  20037. isdefault:
  20038. description: 是否默认地址 - 0:否 1:是
  20039. type: integer
  20040. receiptaccount:
  20041. description: 发票帐号[发票类型:企业]
  20042. type: string
  20043. receiptbank:
  20044. description: 发票开户行[发票类型:企业]
  20045. type: string
  20046. receipttype:
  20047. description: 发票类型 - 1:个人 2:企业
  20048. type: integer
  20049. taxpayerid:
  20050. description: 纳税人识别号
  20051. type: string
  20052. userid:
  20053. description: 用户ID
  20054. type: integer
  20055. username:
  20056. description: 户名(个人姓名或企业名称)
  20057. type: string
  20058. type: object
  20059. models.Wrtradetradequote:
  20060. properties:
  20061. begindate:
  20062. description: 开始日期(结果含开始日期) yyyymmdd
  20063. type: string
  20064. buyaccountid:
  20065. description: 买方账号ID
  20066. type: integer
  20067. buyuserid:
  20068. description: 买方用户ID
  20069. type: integer
  20070. deliverygoodsid:
  20071. description: 现货品种ID
  20072. type: integer
  20073. enddate:
  20074. description: 结束日期(结果含结束日期) yyyymmdd
  20075. type: string
  20076. marketid:
  20077. description: 市场ID
  20078. type: integer
  20079. sellaccountid:
  20080. description: 卖方账号ID
  20081. type: integer
  20082. selluserid:
  20083. description: 卖方用户ID
  20084. type: integer
  20085. tradeamount:
  20086. description: 成交金额
  20087. type: number
  20088. tradedate:
  20089. description: 交易日(yyyyMMdd)
  20090. type: string
  20091. tradeprice:
  20092. description: 成交价格
  20093. type: number
  20094. tradeqty:
  20095. description: 成交数量
  20096. type: integer
  20097. tradetime:
  20098. description: 成交时间
  20099. type: string
  20100. wrfactortypeid:
  20101. description: 仓单要素类型ID
  20102. type: integer
  20103. wrstandardid:
  20104. description: 现货商品ID
  20105. type: integer
  20106. wrtradedetailid:
  20107. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20108. type: string
  20109. type: object
  20110. models.XHBRAND:
  20111. properties:
  20112. brandid:
  20113. description: 品牌id
  20114. type: integer
  20115. brandname:
  20116. description: 品牌名称
  20117. type: string
  20118. isvalid:
  20119. description: 是否有效 0-无效 1-有效
  20120. type: integer
  20121. type: object
  20122. models.XHDeliveryGoods:
  20123. properties:
  20124. areauserid:
  20125. description: 所属机构
  20126. type: integer
  20127. bdlst:
  20128. description: 品牌列表
  20129. items:
  20130. $ref: '#/definitions/models.XHBRAND'
  20131. type: array
  20132. deliverygoodscode:
  20133. description: 现货品种代码
  20134. type: string
  20135. deliverygoodsid:
  20136. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20137. type: integer
  20138. deliverygoodsname:
  20139. description: 现货品种名称
  20140. type: string
  20141. dgstatus:
  20142. description: 品种状态 - 作废 - 0:未激活 1:正常
  20143. type: integer
  20144. filterSubEmpty:
  20145. description: 过滤下级为空的
  20146. type: integer
  20147. isvalid:
  20148. description: 是否有效 - 0:无效 1:有效
  20149. type: integer
  20150. remark:
  20151. description: 备注
  20152. type: string
  20153. unitid:
  20154. description: 单位id(目前看,数据库中是空值)
  20155. type: integer
  20156. wdlst:
  20157. description: 品类(现货商品)列表
  20158. items:
  20159. $ref: '#/definitions/models.XHWrstandard'
  20160. type: array
  20161. type: object
  20162. models.XHMiddleGoods:
  20163. properties:
  20164. GPLST:
  20165. description: 期货品种列表
  20166. items:
  20167. $ref: '#/definitions/models.TBGoodsGroup'
  20168. type: array
  20169. convertratio:
  20170. description: 拆算系数
  20171. type: number
  20172. costratio:
  20173. description: 成本权重
  20174. type: number
  20175. deliverygoodsid:
  20176. description: 现货商品id
  20177. type: integer
  20178. enumdicname:
  20179. description: 单位名称
  20180. type: string
  20181. middlegoodscode:
  20182. description: 套保品种代码
  20183. type: string
  20184. middlegoodsid:
  20185. description: 套保品种id
  20186. type: integer
  20187. middlegoodsname:
  20188. description: 套保品种名称
  20189. type: string
  20190. unitid:
  20191. description: 单位id
  20192. type: integer
  20193. type: object
  20194. models.XHWrstandard:
  20195. properties:
  20196. bannerpicurl:
  20197. description: banner图
  20198. type: string
  20199. deliverygoodsid:
  20200. description: 品种ID
  20201. type: integer
  20202. enumdicname:
  20203. description: 单位名称
  20204. type: string
  20205. mglst:
  20206. description: 套保品列表
  20207. items:
  20208. $ref: '#/definitions/models.XHMiddleGoods'
  20209. type: array
  20210. pictureurls:
  20211. description: 详情图片(逗号分隔)
  20212. type: string
  20213. thumurls:
  20214. description: 缩略图片(1:1)(逗号分隔)
  20215. type: string
  20216. unitid:
  20217. description: 单位id
  20218. type: integer
  20219. vatrate:
  20220. description: 增值税率
  20221. type: number
  20222. wrstandardcode:
  20223. description: 现货商品代码
  20224. type: string
  20225. wrstandardid:
  20226. description: 现货商品ID(SEQ_WRSTANDARD)
  20227. type: integer
  20228. wrstandardname:
  20229. description: 现货商品名称
  20230. type: string
  20231. type: object
  20232. models.XhcpSellBackApplyEx:
  20233. properties:
  20234. applyremark:
  20235. description: 申请备注
  20236. type: string
  20237. expirytype:
  20238. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20239. type: integer
  20240. goodsspec:
  20241. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20242. type: integer
  20243. holeflag:
  20244. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20245. type: integer
  20246. isunopened:
  20247. description: 是否原封 - 1:否 2:是
  20248. type: integer
  20249. mpflag:
  20250. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20251. type: integer
  20252. openflag:
  20253. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20254. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20255. type: integer
  20256. phonenum:
  20257. description: 联系电话
  20258. type: string
  20259. userid:
  20260. description: 所属用户ID
  20261. type: integer
  20262. zpflag:
  20263. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20264. type: integer
  20265. required:
  20266. - userid
  20267. type: object
  20268. models.Xhcpsellbackapply:
  20269. properties:
  20270. applyid:
  20271. description: 申请人
  20272. type: integer
  20273. applyremark:
  20274. description: 申请备注
  20275. type: string
  20276. applysrc:
  20277. description: 申请来源 - 1:管理端 2:终端
  20278. type: integer
  20279. applystatus:
  20280. description: 申请状态 - 1:待确认 2:已处理
  20281. type: integer
  20282. applytime:
  20283. description: 申请时间
  20284. type: string
  20285. auditremark:
  20286. description: 审核备注
  20287. type: string
  20288. auditsrc:
  20289. description: 审核来源 - 1:管理端 2:终端
  20290. type: integer
  20291. expirytype:
  20292. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20293. type: integer
  20294. goodsspec:
  20295. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20296. type: integer
  20297. holeflag:
  20298. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20299. type: integer
  20300. isunopened:
  20301. description: 是否原封 - 1:否 2:是
  20302. type: integer
  20303. mpflag:
  20304. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20305. type: integer
  20306. openflag:
  20307. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20308. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20309. type: integer
  20310. phonenum:
  20311. description: 联系电话
  20312. type: string
  20313. sellbackapplyid:
  20314. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20315. type: string
  20316. userid:
  20317. description: 所属用户ID
  20318. type: integer
  20319. zpflag:
  20320. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20321. type: integer
  20322. required:
  20323. - userid
  20324. type: object
  20325. order.QueryHisTradeDetailRsp:
  20326. properties:
  20327. accountid:
  20328. description: 账户ID[报价币种]
  20329. type: integer
  20330. advanceratio:
  20331. description: 首付比率
  20332. type: number
  20333. buildtype:
  20334. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20335. type: integer
  20336. buyorsell:
  20337. description: 方向 - 0:买 1:卖
  20338. type: integer
  20339. charge:
  20340. description: 手续费
  20341. type: number
  20342. closecharge:
  20343. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20344. type: number
  20345. closeexchagechargevalue:
  20346. description: 平仓交易所手续费设置值
  20347. type: number
  20348. closefeealgorithm:
  20349. description: 平仓手续费收取方式 1:比率 2:固定
  20350. type: integer
  20351. closememberchargevalue:
  20352. description: 平仓会员手续费设置值
  20353. type: number
  20354. closepl:
  20355. description: 平仓盈亏
  20356. type: number
  20357. closepl2:
  20358. description: 平仓盈亏[逐笔]
  20359. type: number
  20360. closeqty:
  20361. description: 平仓数量(先建后平操作 需要记录)
  20362. type: number
  20363. creditamount:
  20364. description: 授信金额
  20365. type: number
  20366. decimalplace:
  20367. description: 商品报价小数位
  20368. type: integer
  20369. enumdicname:
  20370. description: 单位名称
  20371. type: string
  20372. gcaccountid:
  20373. description: 账户ID[合约币种]
  20374. type: integer
  20375. goodscode:
  20376. description: 商品代码
  20377. type: string
  20378. goodsid:
  20379. description: 商品ID
  20380. type: integer
  20381. goodsname:
  20382. description: 商品名称
  20383. type: string
  20384. goodunitid:
  20385. description: 商品单位id
  20386. type: integer
  20387. histradedate:
  20388. description: 历史交易日
  20389. type: string
  20390. intclosepl:
  20391. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20392. type: integer
  20393. isconfirmexercise:
  20394. description: 是否确认行权- 0:否 1:是
  20395. type: integer
  20396. ismain:
  20397. description: 是否主单 - 0:不是 1:是
  20398. type: integer
  20399. ispreexercise:
  20400. description: 是否预申报- 0:否 1:是
  20401. type: integer
  20402. isreckoned:
  20403. description: 是否结算 - 0:未结算 1:已结算
  20404. type: integer
  20405. isvaliddata:
  20406. description: 是否有效 - 0:无效 1:有效
  20407. type: integer
  20408. listingselecttype:
  20409. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20410. type: integer
  20411. marketid:
  20412. description: 市场ID
  20413. type: integer
  20414. marketname:
  20415. description: 市场名称
  20416. type: string
  20417. matchaccountid:
  20418. description: 对手账号id
  20419. type: integer
  20420. memberuserid:
  20421. description: 会员id 个人投资者 需要填写
  20422. type: integer
  20423. opencharge:
  20424. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20425. type: number
  20426. openexchagechargevalue:
  20427. description: 建仓交易所手续费设置值
  20428. type: number
  20429. openfeealgorithm:
  20430. description: 建仓手续费收取方式 1:比率 2:固定
  20431. type: integer
  20432. openmemberchargevalue:
  20433. description: 建仓会员手续费设置值
  20434. type: number
  20435. openqty:
  20436. description: 开仓数量(先建后平操作 需要记录)
  20437. type: number
  20438. optiontype:
  20439. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20440. type: integer
  20441. orderid:
  20442. description: 委托单号
  20443. type: string
  20444. payamount:
  20445. description: 支付金额(付款金额)
  20446. type: number
  20447. performanceplanid:
  20448. description: 履约计划ID[期权]
  20449. type: integer
  20450. performancestatus:
  20451. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20452. type: integer
  20453. preexerciseprice:
  20454. description: 预申报价格
  20455. type: number
  20456. premium:
  20457. description: 权利金 - [持仓单的权利金]
  20458. type: number
  20459. qtydecimalplace:
  20460. description: 商品报价小数位
  20461. type: integer
  20462. recvamount:
  20463. description: 到账金额 = 成交金额 - 手续费
  20464. type: number
  20465. relatedouttradeid:
  20466. description: 关联外部成交单ID
  20467. type: integer
  20468. status:
  20469. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20470. type: integer
  20471. totalamount:
  20472. description: 订单总额 = 成交金额 + 手续费
  20473. type: number
  20474. tradeamount:
  20475. description: 成交金额[账户币种,用于所有权]
  20476. type: number
  20477. tradedate:
  20478. description: 交易日(yyyyMMdd)
  20479. type: string
  20480. tradeid:
  20481. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20482. type: string
  20483. trademode:
  20484. description: 交易模式
  20485. type: integer
  20486. tradeprice:
  20487. description: 成交价格
  20488. type: number
  20489. tradeproperty:
  20490. description: 交易属性
  20491. type: integer
  20492. tradeqty:
  20493. description: 成交数量
  20494. type: number
  20495. tradetime:
  20496. description: 成交时间
  20497. type: string
  20498. tradetype:
  20499. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20500. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20501. type: integer
  20502. required:
  20503. - accountid
  20504. - buyorsell
  20505. - goodsid
  20506. - histradedate
  20507. - marketid
  20508. - memberuserid
  20509. - orderid
  20510. - tradeamount
  20511. - tradedate
  20512. - tradeid
  20513. - tradeprice
  20514. - tradeqty
  20515. - tradetime
  20516. type: object
  20517. order.QueryHisTradeOrderDetailRsp:
  20518. properties:
  20519. accountid:
  20520. description: 账户ID[报价币种]
  20521. type: integer
  20522. buildtype:
  20523. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20524. type: integer
  20525. buyorsell:
  20526. description: 买卖 - 0:买 1:卖
  20527. type: integer
  20528. cancelorderid:
  20529. description: 撤单单号(撤单时填写)
  20530. type: string
  20531. cancelqty:
  20532. description: 撤单数量
  20533. type: number
  20534. clientordertime:
  20535. description: 客户端委托时间
  20536. type: string
  20537. clientticket:
  20538. description: 客户端流水号
  20539. type: string
  20540. clienttype:
  20541. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20542. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20543. type: integer
  20544. closeexchagechargevalue:
  20545. description: 平仓交易所手续费设置值
  20546. type: number
  20547. closefeealgorithm:
  20548. description: 平仓手续费收取方式 1:比率 2:固定
  20549. type: integer
  20550. closefreezecharge:
  20551. description: 平仓冻结手续费(先建后平操作,需要记录)
  20552. type: number
  20553. closememberchargevalue:
  20554. description: 平仓会员手续费设置值
  20555. type: number
  20556. closeqty:
  20557. description: 平仓数量(先建后平操作 需要记录)
  20558. type: number
  20559. closetradeqty:
  20560. description: 平仓成交数量(先建后平操作,需要记录)
  20561. type: number
  20562. closeunfreezecharge:
  20563. description: 平仓解冻手续费(先建后平操作,需要记录)
  20564. type: number
  20565. decimalplace:
  20566. description: 商品报价小数位
  20567. type: integer
  20568. delistingtype:
  20569. description: 摘牌类型 - 1:价格最优 2:点选成交
  20570. type: integer
  20571. enumdicname:
  20572. description: 单位名称
  20573. type: string
  20574. freezecharge:
  20575. description: 冻结手续费
  20576. type: number
  20577. freezemargin:
  20578. description: 冻结保证金(冻结交易金额)
  20579. type: number
  20580. gcaccountid:
  20581. description: 账户ID[合约币种]
  20582. type: integer
  20583. goodscode:
  20584. description: 商品代码
  20585. type: string
  20586. goodsid:
  20587. description: 商品ID
  20588. type: integer
  20589. goodsname:
  20590. description: 商品名称
  20591. type: string
  20592. goodunitid:
  20593. description: 商品单位id
  20594. type: integer
  20595. histradedate:
  20596. description: 历史交易日
  20597. type: string
  20598. isconfirmexercise:
  20599. description: 是否确认行权- 0:否 1:是
  20600. type: integer
  20601. ispreexercise:
  20602. description: 是否预申报- 0:否 1:是
  20603. type: integer
  20604. isvaliddata:
  20605. description: 是否有效 - 0:无效 1:有效
  20606. type: integer
  20607. listingselecttype:
  20608. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20609. type: integer
  20610. marginalgorithm:
  20611. description: 保证金收取方式 1:比率 2:固定
  20612. type: integer
  20613. marginvalue:
  20614. description: 即市保证金设置值
  20615. type: number
  20616. marketid:
  20617. description: 市场ID
  20618. type: integer
  20619. marketmaxsub:
  20620. description: 市价最大偏移范围
  20621. type: number
  20622. marketname:
  20623. description: 市场名称
  20624. type: string
  20625. memberuserid:
  20626. description: 所属会员UserID
  20627. type: integer
  20628. openexchagechargevalue:
  20629. description: 建仓交易所手续费设置值
  20630. type: number
  20631. openfeealgorithm:
  20632. description: 建仓手续费收取方式 1:比率 2:固定
  20633. type: integer
  20634. openfreezecharge:
  20635. description: 开仓冻结手续费(先建后平操作,需要记录)
  20636. type: number
  20637. openmemberchargevalue:
  20638. description: 建仓会员手续费设置值
  20639. type: number
  20640. openqty:
  20641. description: 开仓数量(先建后平操作,需要记录)
  20642. type: number
  20643. opentradeqty:
  20644. description: 开仓成交数量(先建后平操作,需要记录)
  20645. type: number
  20646. openunfreezecharge:
  20647. description: 开仓解冻手续费(先建后平操作,需要记录)
  20648. type: number
  20649. operatetype:
  20650. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20651. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20652. 15:管理端协议转让
  20653. type: integer
  20654. operatorid:
  20655. description: 登录账号(LoginID)
  20656. type: integer
  20657. optiontype:
  20658. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20659. type: integer
  20660. orderid:
  20661. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20662. type: string
  20663. orderprice:
  20664. description: 委托价格
  20665. type: number
  20666. orderqty:
  20667. description: 委托数量
  20668. type: number
  20669. ordersrc:
  20670. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20671. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20672. type: integer
  20673. orderstatus:
  20674. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20675. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20676. 16:成交失败违约(荷兰式竞拍专用)
  20677. type: integer
  20678. ordertime:
  20679. description: 委托时间
  20680. type: string
  20681. preexerciseprice:
  20682. description: 预申报价格
  20683. type: number
  20684. premium:
  20685. description: 权利金
  20686. type: number
  20687. preorderid:
  20688. description: 关联预埋单号(止盈止损单时填写)
  20689. type: string
  20690. pricemode:
  20691. description: '取价方式 - 1:市价 2: 限价'
  20692. type: integer
  20693. qtydecimalplace:
  20694. description: 成交量小数位
  20695. type: integer
  20696. quoteid:
  20697. description: 报价单ID
  20698. type: integer
  20699. relatedid:
  20700. description: 关联单号(交割单)
  20701. type: string
  20702. retcode:
  20703. description: 错误代码
  20704. type: integer
  20705. sessionid:
  20706. description: 会话ID
  20707. type: integer
  20708. tradedate:
  20709. description: 交易日(yyyyMMdd)
  20710. type: string
  20711. trademode:
  20712. description: 交易模式
  20713. type: integer
  20714. tradeproperty:
  20715. description: 交易属性
  20716. type: integer
  20717. tradeqty:
  20718. description: 成交数量
  20719. type: number
  20720. unfreezecharge:
  20721. description: 解冻手续费
  20722. type: number
  20723. unfreezemargin:
  20724. description: 解冻保证金
  20725. type: number
  20726. updatetime:
  20727. description: 更新时间
  20728. type: string
  20729. uuid:
  20730. description: 发起端唯一id
  20731. type: string
  20732. validtime:
  20733. description: 有效期限
  20734. type: string
  20735. validtype:
  20736. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20737. type: integer
  20738. volumetype:
  20739. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20740. type: integer
  20741. required:
  20742. - accountid
  20743. - buildtype
  20744. - buyorsell
  20745. - goodsid
  20746. - histradedate
  20747. - marketid
  20748. - memberuserid
  20749. - operatetype
  20750. - orderid
  20751. - orderqty
  20752. - ordertime
  20753. - pricemode
  20754. - tradedate
  20755. - validtype
  20756. type: object
  20757. order.QueryTradeDetailRsp:
  20758. properties:
  20759. accountid:
  20760. description: 账户ID[报价币种]
  20761. type: integer
  20762. advanceratio:
  20763. description: 首付比率
  20764. type: number
  20765. buildtype:
  20766. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20767. type: integer
  20768. buyorsell:
  20769. description: 方向 - 0:买 1:卖
  20770. type: integer
  20771. charge:
  20772. description: 手续费
  20773. type: number
  20774. closecharge:
  20775. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20776. type: number
  20777. closeexchagechargevalue:
  20778. description: 平仓交易所手续费设置值
  20779. type: number
  20780. closefeealgorithm:
  20781. description: 平仓手续费收取方式 1:比率 2:固定
  20782. type: integer
  20783. closememberchargevalue:
  20784. description: 平仓会员手续费设置值
  20785. type: number
  20786. closepl:
  20787. description: 平仓盈亏
  20788. type: number
  20789. closepl2:
  20790. description: 平仓盈亏[逐笔]
  20791. type: number
  20792. closeqty:
  20793. description: 平仓数量(先建后平操作 需要记录)
  20794. type: number
  20795. creditamount:
  20796. description: 授信金额
  20797. type: number
  20798. decimalplace:
  20799. description: 商品报价小数位
  20800. type: integer
  20801. enumdicname:
  20802. description: 单位名称
  20803. type: string
  20804. gcaccountid:
  20805. description: 账户ID[合约币种]
  20806. type: integer
  20807. goodscode:
  20808. description: 商品代码
  20809. type: string
  20810. goodsid:
  20811. description: 商品ID
  20812. type: integer
  20813. goodsname:
  20814. description: 商品名称
  20815. type: string
  20816. goodunitid:
  20817. description: 商品单位id
  20818. type: integer
  20819. intclosepl:
  20820. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20821. type: integer
  20822. isconfirmexercise:
  20823. description: 是否确认行权- 0:否 1:是
  20824. type: integer
  20825. ismain:
  20826. description: 是否主单 - 0:不是 1:是
  20827. type: integer
  20828. ispreexercise:
  20829. description: 是否预申报- 0:否 1:是
  20830. type: integer
  20831. isreckoned:
  20832. description: 是否结算 - 0:未结算 1:已结算
  20833. type: integer
  20834. listingselecttype:
  20835. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20836. type: integer
  20837. marketid:
  20838. description: 市场ID
  20839. type: integer
  20840. marketname:
  20841. description: 市场名称
  20842. type: string
  20843. matchaccountid:
  20844. description: 对手账号id
  20845. type: integer
  20846. memberuserid:
  20847. description: 会员id 个人投资者 需要填写
  20848. type: integer
  20849. opencharge:
  20850. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20851. type: number
  20852. openexchagechargevalue:
  20853. description: 建仓交易所手续费设置值
  20854. type: number
  20855. openfeealgorithm:
  20856. description: 建仓手续费收取方式 1:比率 2:固定
  20857. type: integer
  20858. openmemberchargevalue:
  20859. description: 建仓会员手续费设置值
  20860. type: number
  20861. openqty:
  20862. description: 开仓数量(先建后平操作 需要记录)
  20863. type: number
  20864. optiontype:
  20865. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20866. type: integer
  20867. orderid:
  20868. description: 委托单号
  20869. type: string
  20870. payamount:
  20871. description: 支付金额(付款金额)
  20872. type: number
  20873. performanceplanid:
  20874. description: 履约计划ID[期权]
  20875. type: integer
  20876. performancestatus:
  20877. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20878. type: integer
  20879. preexerciseprice:
  20880. description: 预申报价格
  20881. type: number
  20882. premium:
  20883. description: 权利金 - [持仓单的权利金]
  20884. type: number
  20885. qtydecimalplace:
  20886. description: 商品报价小数位
  20887. type: integer
  20888. recvamount:
  20889. description: 到账金额 = 成交金额 - 手续费
  20890. type: number
  20891. relatedouttradeid:
  20892. description: 关联外部成交单ID
  20893. type: integer
  20894. status:
  20895. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20896. type: integer
  20897. totalamount:
  20898. description: 订单总额 = 成交金额 + 手续费
  20899. type: number
  20900. tradeamount:
  20901. description: 成交金额[账户币种,用于所有权]
  20902. type: number
  20903. tradedate:
  20904. description: 交易日(yyyyMMdd)
  20905. type: string
  20906. tradeid:
  20907. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20908. type: string
  20909. trademode:
  20910. description: 交易模式
  20911. type: integer
  20912. tradeprice:
  20913. description: 成交价格
  20914. type: number
  20915. tradeproperty:
  20916. description: 交易属性
  20917. type: integer
  20918. tradeqty:
  20919. description: 成交数量
  20920. type: number
  20921. tradetime:
  20922. description: 成交时间
  20923. type: string
  20924. tradetype:
  20925. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20926. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20927. type: integer
  20928. required:
  20929. - accountid
  20930. - buyorsell
  20931. - goodsid
  20932. - marketid
  20933. - memberuserid
  20934. - orderid
  20935. - tradeamount
  20936. - tradedate
  20937. - tradeid
  20938. - tradeprice
  20939. - tradeqty
  20940. - tradetime
  20941. type: object
  20942. order.QueryTradeOrderDetailRsp:
  20943. properties:
  20944. accountid:
  20945. description: 账户ID[报价币种]
  20946. type: integer
  20947. buildtype:
  20948. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20949. type: integer
  20950. buyorsell:
  20951. description: 买卖 - 0:买 1:卖
  20952. type: integer
  20953. cancelorderid:
  20954. description: 撤单单号(撤单时填写)
  20955. type: string
  20956. cancelqty:
  20957. description: 撤单数量
  20958. type: number
  20959. clienttype:
  20960. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20961. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20962. type: integer
  20963. closefreezecharge:
  20964. description: 平仓冻结手续费(先建后平操作,需要记录)
  20965. type: number
  20966. closeqty:
  20967. description: 平仓数量(先建后平操作 需要记录)
  20968. type: number
  20969. closetradeqty:
  20970. description: 平仓成交数量(先建后平操作,需要记录)
  20971. type: number
  20972. closeunfreezecharge:
  20973. description: 平仓解冻手续费(先建后平操作,需要记录)
  20974. type: number
  20975. decimalplace:
  20976. description: 商品报价小数位
  20977. type: integer
  20978. delistingtype:
  20979. description: 摘牌类型 - 1:价格最优 2:点选成交
  20980. type: integer
  20981. enableqty:
  20982. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20983. type: number
  20984. enumdicname:
  20985. description: 单位名称
  20986. type: string
  20987. freezecharge:
  20988. description: 冻结手续费
  20989. type: number
  20990. freezemargin:
  20991. description: 冻结保证金(冻结交易金额)
  20992. type: number
  20993. goodscode:
  20994. description: 商品代码
  20995. type: string
  20996. goodsid:
  20997. description: 商品ID
  20998. type: integer
  20999. goodsname:
  21000. description: 商品名称
  21001. type: string
  21002. goodunitid:
  21003. description: 商品单位id
  21004. type: integer
  21005. listingselecttype:
  21006. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21007. type: integer
  21008. marketid:
  21009. description: 市场ID
  21010. type: integer
  21011. marketname:
  21012. description: 市场名称
  21013. type: string
  21014. openfreezecharge:
  21015. description: 开仓冻结手续费(先建后平操作,需要记录)
  21016. type: number
  21017. openqty:
  21018. description: 开仓数量(先建后平操作,需要记录)
  21019. type: number
  21020. opentradeqty:
  21021. description: 开仓成交数量(先建后平操作,需要记录)
  21022. type: number
  21023. openunfreezecharge:
  21024. description: 开仓解冻手续费(先建后平操作,需要记录)
  21025. type: number
  21026. operatetype:
  21027. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21028. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21029. 15:管理端协议转让
  21030. type: integer
  21031. operatorid:
  21032. description: 登录账号(LoginID)
  21033. type: integer
  21034. orderid:
  21035. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21036. type: string
  21037. orderprice:
  21038. description: 委托价格
  21039. type: number
  21040. orderqty:
  21041. description: 委托数量
  21042. type: number
  21043. ordersrc:
  21044. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21045. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21046. type: integer
  21047. orderstatus:
  21048. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21049. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21050. 16:成交失败违约(荷兰式竞拍专用)
  21051. type: integer
  21052. ordertime:
  21053. description: 委托时间
  21054. type: string
  21055. preorderid:
  21056. description: 关联预埋单号(止盈止损单时填写)
  21057. type: string
  21058. pricemode:
  21059. description: '取价方式 - 1:市价 2: 限价'
  21060. type: integer
  21061. qtydecimalplace:
  21062. description: 商品报价小数位
  21063. type: integer
  21064. relatedid:
  21065. description: 关联单号(交割单)
  21066. type: string
  21067. tradedate:
  21068. description: 交易日(yyyyMMdd)
  21069. type: string
  21070. trademode:
  21071. description: 交易模式
  21072. type: integer
  21073. tradeqty:
  21074. description: 成交数量
  21075. type: number
  21076. unfreezecharge:
  21077. description: 解冻手续费
  21078. type: number
  21079. unfreezemargin:
  21080. description: 解冻保证金
  21081. type: number
  21082. validtime:
  21083. description: 有效期限
  21084. type: string
  21085. validtype:
  21086. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21087. type: integer
  21088. volumetype:
  21089. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21090. type: integer
  21091. required:
  21092. - accountid
  21093. - buildtype
  21094. - buyorsell
  21095. - goodsid
  21096. - marketid
  21097. - operatetype
  21098. - orderqty
  21099. - ordertime
  21100. - pricemode
  21101. - tradedate
  21102. - validtype
  21103. type: object
  21104. order.QueryTradePositionRsp:
  21105. properties:
  21106. accountid:
  21107. description: 资金账户
  21108. type: integer
  21109. agreeunit:
  21110. description: 合约单位
  21111. type: number
  21112. averageprice:
  21113. description: 持仓均价
  21114. type: number
  21115. buyorsell:
  21116. description: 方向 - 0:买 1:卖
  21117. type: integer
  21118. closetotalqty:
  21119. description: 平仓总数量
  21120. type: number
  21121. curholderamount:
  21122. description: 当前持仓总金额[商品币种]
  21123. type: number
  21124. curpositionqty:
  21125. description: 当前持仓总数量
  21126. type: number
  21127. currencyid:
  21128. description: 报价货币ID
  21129. type: integer
  21130. curtdposition:
  21131. description: 期末今日头寸
  21132. type: number
  21133. decimalplace:
  21134. description: 报价小数位
  21135. type: integer
  21136. enableqty:
  21137. description: 可用量
  21138. type: number
  21139. fretdposition:
  21140. description: 冻结今日头寸
  21141. type: number
  21142. frozenqty:
  21143. description: 持仓冻结数量
  21144. type: number
  21145. goodscode:
  21146. description: 商品代码
  21147. type: string
  21148. goodsid:
  21149. description: 商品Id
  21150. type: integer
  21151. goodsname:
  21152. description: 商品名称
  21153. type: string
  21154. goodunit:
  21155. description: 报价单位
  21156. type: string
  21157. goodunitid:
  21158. description: 报价单位ID
  21159. type: integer
  21160. holderamount:
  21161. description: 期初持仓总金额[商品币种]
  21162. type: number
  21163. lastprice:
  21164. description: 最新价
  21165. type: number
  21166. marketamount:
  21167. description: 市值
  21168. type: number
  21169. marketid:
  21170. description: 所属市场ID
  21171. type: integer
  21172. openreqqty:
  21173. description: 开仓申请数量(用于比较最大持仓数量)
  21174. type: number
  21175. opentotalqty:
  21176. description: 开仓总数量
  21177. type: number
  21178. otherfrozenqty:
  21179. description: 持仓其他冻结数量(交割冻结)
  21180. type: number
  21181. positionpl:
  21182. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21183. * 合约单位
  21184. type: number
  21185. positionplrate:
  21186. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21187. type: number
  21188. positionqty:
  21189. description: 期初持仓数量
  21190. type: number
  21191. qtydecimalplace:
  21192. description: 成交量小数位
  21193. type: integer
  21194. refgoodscode:
  21195. description: 参考商品代码
  21196. type: string
  21197. refgoodsid:
  21198. description: 参考商品ID
  21199. type: integer
  21200. tnqty:
  21201. description: T+N冻结总量
  21202. type: number
  21203. tnusedqty:
  21204. description: T+N使用量(可以使用T+N的冻结数量)
  21205. type: number
  21206. trademode:
  21207. description: 交易模式
  21208. type: integer
  21209. tradeproperty:
  21210. description: 交易属性
  21211. type: integer
  21212. usedmargin:
  21213. description: 占用保证金[商品币种]
  21214. type: number
  21215. required:
  21216. - goodsid
  21217. type: object
  21218. pb.GoodsMarginCfgStruct:
  21219. properties:
  21220. CustomerTypeID:
  21221. description: 投资者客户类型
  21222. type: integer
  21223. GoodsID:
  21224. description: 商品ID
  21225. type: integer
  21226. IsDefault:
  21227. description: 是否默认标志位
  21228. type: integer
  21229. LockMarginValue:
  21230. description: 锁仓保证金
  21231. type: number
  21232. MarginAlgorithm:
  21233. description: 保证金计算方式
  21234. type: integer
  21235. MarketMarginValue:
  21236. description: 即市保证金值
  21237. type: number
  21238. RealMarginAlgorithm:
  21239. description: 实付保证金计算方式
  21240. type: integer
  21241. RealMarginValue:
  21242. description: 实付比例
  21243. type: number
  21244. ReckonMarginValue:
  21245. description: 结算保证金值
  21246. type: number
  21247. type: object
  21248. quote.HistoryData:
  21249. properties:
  21250. c:
  21251. description: 收盘价
  21252. type: number
  21253. f:
  21254. description: 是否补充数据
  21255. type: boolean
  21256. h:
  21257. description: 最高价
  21258. type: number
  21259. hv:
  21260. description: 持仓量
  21261. type: integer
  21262. l:
  21263. description: 最低价
  21264. type: number
  21265. o:
  21266. description: 开盘价
  21267. type: number
  21268. s:
  21269. description: 结算价,日线周期(包括)以上才有
  21270. type: number
  21271. ts:
  21272. description: 时间
  21273. type: string
  21274. tt:
  21275. description: 总金额
  21276. type: number
  21277. tv:
  21278. description: 总量(成交量)
  21279. type: integer
  21280. type: object
  21281. quote.HistoryTikData:
  21282. properties:
  21283. AV:
  21284. description: 卖量
  21285. type: integer
  21286. Ask:
  21287. description: 卖价
  21288. type: number
  21289. BV:
  21290. description: 买量
  21291. type: integer
  21292. Bid:
  21293. description: 买价
  21294. type: number
  21295. HI:
  21296. description: 单笔持仓
  21297. type: integer
  21298. HV:
  21299. description: 持仓量
  21300. type: integer
  21301. PE:
  21302. description: 现价
  21303. type: number
  21304. TDR:
  21305. description: 交易方向,0:买 1:卖
  21306. type: integer
  21307. TK:
  21308. description: 交易类型
  21309. type: integer
  21310. TS:
  21311. description: 行情时间文本
  21312. type: string
  21313. TT:
  21314. description: 现金额
  21315. type: number
  21316. Vol:
  21317. description: 现量
  21318. type: integer
  21319. type: object
  21320. quote.QueryQuoteDayRsp:
  21321. properties:
  21322. ask:
  21323. description: 卖1
  21324. type: number
  21325. ask2:
  21326. description: 卖2
  21327. type: number
  21328. ask3:
  21329. description: 卖3
  21330. type: number
  21331. ask4:
  21332. description: 卖4
  21333. type: number
  21334. ask5:
  21335. description: 卖5
  21336. type: number
  21337. ask6:
  21338. description: 卖6
  21339. type: number
  21340. ask7:
  21341. description: 卖7
  21342. type: number
  21343. ask8:
  21344. description: 卖8
  21345. type: number
  21346. ask9:
  21347. description: 卖9
  21348. type: number
  21349. ask10:
  21350. description: 卖10
  21351. type: number
  21352. askorderid:
  21353. description: 卖单号1
  21354. type: integer
  21355. askorderid2:
  21356. description: 卖单号2
  21357. type: integer
  21358. askorderid3:
  21359. description: 卖单号3
  21360. type: integer
  21361. askorderid4:
  21362. description: 卖单号4
  21363. type: integer
  21364. askorderid5:
  21365. description: 卖单号5
  21366. type: integer
  21367. askordervolume:
  21368. description: 卖单量1
  21369. type: integer
  21370. askordervolume2:
  21371. description: 卖单量2
  21372. type: integer
  21373. askordervolume3:
  21374. description: 卖单量3
  21375. type: integer
  21376. askordervolume4:
  21377. description: 卖单量4
  21378. type: integer
  21379. askordervolume5:
  21380. description: 卖单量5
  21381. type: integer
  21382. askordervolume6:
  21383. description: 卖单量6
  21384. type: integer
  21385. askordervolume7:
  21386. description: 卖单量7
  21387. type: integer
  21388. askordervolume8:
  21389. description: 卖单量8
  21390. type: integer
  21391. askordervolume9:
  21392. description: 卖单量9
  21393. type: integer
  21394. askordervolume10:
  21395. description: 卖单量10
  21396. type: integer
  21397. askqueueinfo:
  21398. description: 大利市卖港股用
  21399. type: string
  21400. askvolume:
  21401. description: 卖量1
  21402. type: integer
  21403. askvolume2:
  21404. description: 卖量2
  21405. type: integer
  21406. askvolume3:
  21407. description: 卖量3
  21408. type: integer
  21409. askvolume4:
  21410. description: 卖量4
  21411. type: integer
  21412. askvolume5:
  21413. description: 卖量5
  21414. type: integer
  21415. askvolume6:
  21416. description: 卖量6
  21417. type: integer
  21418. askvolume7:
  21419. description: 卖量7
  21420. type: integer
  21421. askvolume8:
  21422. description: 卖量8
  21423. type: integer
  21424. askvolume9:
  21425. description: 卖量9
  21426. type: integer
  21427. askvolume10:
  21428. description: 卖量10
  21429. type: integer
  21430. averageprice:
  21431. description: 均价
  21432. type: number
  21433. bid:
  21434. description: 买1
  21435. type: number
  21436. bid2:
  21437. description: 买2
  21438. type: number
  21439. bid3:
  21440. description: 买3
  21441. type: number
  21442. bid4:
  21443. description: 买4
  21444. type: number
  21445. bid5:
  21446. description: 买5
  21447. type: number
  21448. bid6:
  21449. description: 买6
  21450. type: number
  21451. bid7:
  21452. description: 买7
  21453. type: number
  21454. bid8:
  21455. description: 买8
  21456. type: number
  21457. bid9:
  21458. description: 买9
  21459. type: number
  21460. bid10:
  21461. description: 买10
  21462. type: number
  21463. bidorderid:
  21464. description: 买单号1
  21465. type: integer
  21466. bidorderid2:
  21467. description: 买单号2
  21468. type: integer
  21469. bidorderid3:
  21470. description: 买单号3
  21471. type: integer
  21472. bidorderid4:
  21473. description: 买单号4
  21474. type: integer
  21475. bidorderid5:
  21476. description: 买单号5
  21477. type: integer
  21478. bidordervolume:
  21479. description: 买单量1
  21480. type: integer
  21481. bidordervolume2:
  21482. description: 买单量2
  21483. type: integer
  21484. bidordervolume3:
  21485. description: 买单量3
  21486. type: integer
  21487. bidordervolume4:
  21488. description: 买单量4
  21489. type: integer
  21490. bidordervolume5:
  21491. description: 买单量5
  21492. type: integer
  21493. bidordervolume6:
  21494. description: 买单量6
  21495. type: integer
  21496. bidordervolume7:
  21497. description: 买单量7
  21498. type: integer
  21499. bidordervolume8:
  21500. description: 买单量8
  21501. type: integer
  21502. bidordervolume9:
  21503. description: 买单量9
  21504. type: integer
  21505. bidordervolume10:
  21506. description: 买单量10
  21507. type: integer
  21508. bidqueueinfo:
  21509. description: 大利市买港股用
  21510. type: string
  21511. bidvolume:
  21512. description: 买量1
  21513. type: integer
  21514. bidvolume2:
  21515. description: 买量2
  21516. type: integer
  21517. bidvolume3:
  21518. description: 买量3
  21519. type: integer
  21520. bidvolume4:
  21521. description: 买量4
  21522. type: integer
  21523. bidvolume5:
  21524. description: 买量5
  21525. type: integer
  21526. bidvolume6:
  21527. description: 买量6
  21528. type: integer
  21529. bidvolume7:
  21530. description: 买量7
  21531. type: integer
  21532. bidvolume8:
  21533. description: 买量8
  21534. type: integer
  21535. bidvolume9:
  21536. description: 买量9
  21537. type: integer
  21538. bidvolume10:
  21539. description: 买量10
  21540. type: integer
  21541. calloptionpremiums:
  21542. description: 认购期权1
  21543. type: integer
  21544. calloptionpremiums2:
  21545. description: 认购期权2
  21546. type: integer
  21547. calloptionpremiums3:
  21548. description: 认购期权3
  21549. type: integer
  21550. calloptionpremiums4:
  21551. description: 认购期权4
  21552. type: integer
  21553. calloptionpremiums5:
  21554. description: 认购期权5
  21555. type: integer
  21556. cleartime:
  21557. description: 清盘时间
  21558. type: integer
  21559. exchangecode:
  21560. description: 交易所代码
  21561. type: integer
  21562. exchangedate:
  21563. description: 交易日
  21564. type: integer
  21565. goodscode:
  21566. description: 商品代码
  21567. type: string
  21568. grepmarketprice:
  21569. description: 暗盘价 港股专用
  21570. type: number
  21571. highest:
  21572. description: 最高价
  21573. type: number
  21574. holdincrement:
  21575. description: 单笔持仓
  21576. type: integer
  21577. holdvolume:
  21578. description: 持仓
  21579. type: integer
  21580. iep:
  21581. description: 平衡价 港股专用
  21582. type: number
  21583. iev:
  21584. description: 平衡量 港股专用
  21585. type: number
  21586. inventory:
  21587. description: 库存
  21588. type: integer
  21589. iscleared:
  21590. description: 是否清盘标志
  21591. type: integer
  21592. issettled:
  21593. description: 是否结算标志
  21594. type: integer
  21595. last:
  21596. description: 最新价
  21597. type: number
  21598. lastlot:
  21599. description: 最新成交手数
  21600. type: integer
  21601. lasttime:
  21602. description: 行情时间(只有现价变化行情时间才变化)
  21603. type: string
  21604. lastturnover:
  21605. description: 最新成交金额
  21606. type: number
  21607. lastvolume:
  21608. description: 最新成交量
  21609. type: integer
  21610. limitdown:
  21611. description: 跌停价
  21612. type: number
  21613. limitup:
  21614. description: 涨停价
  21615. type: number
  21616. lowest:
  21617. description: 最低价
  21618. type: number
  21619. nontotalholdervolume:
  21620. description: 非交易持仓量
  21621. type: integer
  21622. nontotallot:
  21623. description: 非交易总手数
  21624. type: integer
  21625. nontotalturnover:
  21626. description: 非交易总金额
  21627. type: integer
  21628. nontotalvolume:
  21629. description: 非交易总量
  21630. type: integer
  21631. opened:
  21632. description: 开盘价
  21633. type: number
  21634. opentime:
  21635. description: 开盘时间
  21636. type: string
  21637. orderid:
  21638. description: 序号
  21639. type: integer
  21640. preclose:
  21641. description: 昨收
  21642. type: number
  21643. preholdvolume:
  21644. description: 昨持仓
  21645. type: integer
  21646. presettle:
  21647. description: 昨结价
  21648. type: number
  21649. publictradetype:
  21650. description: 公共交易标志类型 港股专用
  21651. type: string
  21652. putoptionpremiums:
  21653. description: 认沽期权1
  21654. type: integer
  21655. putoptionpremiums2:
  21656. description: 认沽期权2
  21657. type: integer
  21658. putoptionpremiums3:
  21659. description: 认沽期权3
  21660. type: integer
  21661. putoptionpremiums4:
  21662. description: 认沽期权4
  21663. type: integer
  21664. putoptionpremiums5:
  21665. description: 认沽期权5
  21666. type: integer
  21667. settle:
  21668. description: 结算价
  21669. type: number
  21670. strikeprice:
  21671. description: 发行价
  21672. type: number
  21673. totalaskvolume:
  21674. description: 内盘
  21675. type: integer
  21676. totalbidvolume:
  21677. description: 外盘
  21678. type: integer
  21679. totallot:
  21680. description: 总手数
  21681. type: integer
  21682. totalturnover:
  21683. description: 总金额
  21684. type: number
  21685. totalvolume:
  21686. description: 总量
  21687. type: integer
  21688. utclasttime:
  21689. description: utc的行情时间
  21690. type: string
  21691. type: object
  21692. quote.QueryTSDataRsp:
  21693. properties:
  21694. Count:
  21695. description: 交易日应有数据个数
  21696. type: integer
  21697. decimalPlace:
  21698. description: 小数位
  21699. type: integer
  21700. endTime:
  21701. description: 结束时间
  21702. type: string
  21703. goodsCode:
  21704. description: 商品代码
  21705. type: string
  21706. historyDatas:
  21707. description: 历史数据
  21708. items:
  21709. $ref: '#/definitions/quote.HistoryData'
  21710. type: array
  21711. outGoodsCode:
  21712. description: 外部商品代码
  21713. type: string
  21714. preSettle:
  21715. description: 昨结价
  21716. type: number
  21717. runSteps:
  21718. description: 交易日开休市计划
  21719. items:
  21720. $ref: '#/definitions/quote.TSDataRunStep'
  21721. type: array
  21722. startTime:
  21723. description: 开始时间
  21724. type: string
  21725. tradeDate:
  21726. description: 交易日
  21727. type: string
  21728. type: object
  21729. quote.TSDataRunStep:
  21730. properties:
  21731. end:
  21732. description: 真实结束时间
  21733. type: string
  21734. endflag:
  21735. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21736. type: integer
  21737. endtime:
  21738. description: 结束时间(HH:mm)
  21739. type: string
  21740. endweekday:
  21741. description: 结束周几
  21742. type: integer
  21743. groupid:
  21744. description: 分组ID
  21745. type: integer
  21746. runstep:
  21747. description: 运行阶段 - 2:连续交易
  21748. type: integer
  21749. sectionid:
  21750. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21751. 结束时间=结算时间 结束周几=结算周几
  21752. type: integer
  21753. start:
  21754. description: 真实开始时间
  21755. type: string
  21756. startflag:
  21757. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21758. type: integer
  21759. starttime:
  21760. description: 起始时间(HH:mm)
  21761. type: string
  21762. startweekday:
  21763. description: 起始周几
  21764. type: integer
  21765. tradeweekday:
  21766. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21767. type: integer
  21768. type: object
  21769. szdz.QueryConvertLogRsp:
  21770. properties:
  21771. accountid:
  21772. description: 资金账户ID
  21773. type: integer
  21774. clientticket:
  21775. description: 客户端流水号
  21776. type: string
  21777. converttype:
  21778. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21779. type: integer
  21780. createtime:
  21781. description: 记账时间
  21782. type: string
  21783. daymaxvalue:
  21784. description: 配置当日最大转入限制
  21785. type: number
  21786. daymaxvalue2:
  21787. description: 配置当日最大转入限制(转入)
  21788. type: number
  21789. goodscode:
  21790. description: 商品代码
  21791. type: string
  21792. goodsname:
  21793. description: 商品名称
  21794. type: string
  21795. handlestatus:
  21796. description: 处理状态
  21797. type: integer
  21798. innergoodsid:
  21799. description: 内部商品ID
  21800. type: integer
  21801. inratio:
  21802. description: 配置转入比值
  21803. type: integer
  21804. invalue:
  21805. description: 目标值
  21806. type: number
  21807. logid:
  21808. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21809. type: integer
  21810. mobile:
  21811. description: 手机号码(加密存储)
  21812. type: string
  21813. outergoodscode:
  21814. description: 外部商品代码[JD\PD]
  21815. type: string
  21816. outratio:
  21817. description: 配置转出比值
  21818. type: integer
  21819. outvalue:
  21820. description: 源值
  21821. type: number
  21822. pddecimalplace:
  21823. description: PD小数位
  21824. type: integer
  21825. qty:
  21826. description: 数量
  21827. type: string
  21828. remark:
  21829. description: 备注
  21830. type: string
  21831. sessionid:
  21832. description: 会话ID
  21833. type: integer
  21834. timemaxvalue:
  21835. description: 配置单次最大转入限制
  21836. type: number
  21837. timemaxvalue2:
  21838. description: 配置单次最大转入限制(转入)
  21839. type: number
  21840. timeminvalue:
  21841. description: 配置单次最小数量限制
  21842. type: number
  21843. timeminvalue2:
  21844. description: 配置单次最小数量限制(转入)
  21845. type: number
  21846. tradedate:
  21847. description: 交易日(yyyyMMdd)
  21848. type: string
  21849. userid:
  21850. description: 用户ID
  21851. type: integer
  21852. required:
  21853. - logid
  21854. type: object
  21855. szdz.QueryGoodsPickupRsp:
  21856. properties:
  21857. accountid:
  21858. description: 账户ID
  21859. type: integer
  21860. address:
  21861. description: 提货人详细地址
  21862. type: string
  21863. auditer:
  21864. description: 审核人
  21865. type: integer
  21866. audittime:
  21867. description: 审核时间
  21868. type: string
  21869. cardnum:
  21870. description: 提货人证件号码
  21871. type: string
  21872. cardtypeid:
  21873. description: 提货人证件类型
  21874. type: integer
  21875. checkremark:
  21876. description: 审核备注
  21877. type: string
  21878. goodscode:
  21879. description: 商品代码
  21880. type: string
  21881. goodsid:
  21882. description: 商品ID
  21883. type: integer
  21884. goodsname:
  21885. description: 商品名称
  21886. type: string
  21887. handlestatus:
  21888. description: 处理状态
  21889. type: integer
  21890. marketid:
  21891. description: 市场ID
  21892. type: integer
  21893. phonenum:
  21894. description: 提货人联系方式
  21895. type: string
  21896. qty:
  21897. description: 提货数量
  21898. type: number
  21899. recivername:
  21900. description: 提货人姓名
  21901. type: string
  21902. reqtime:
  21903. description: 更新时间
  21904. type: string
  21905. takemode:
  21906. description: 提货方式 - 2:自提 3:配送
  21907. type: integer
  21908. takeorderid:
  21909. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21910. type: string
  21911. takeorderstatus:
  21912. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21913. type: integer
  21914. takeremark:
  21915. description: 提货备注
  21916. type: string
  21917. tradedate:
  21918. description: 交易日(yyyyMMdd)
  21919. type: string
  21920. userid:
  21921. description: 用户ID
  21922. type: integer
  21923. required:
  21924. - takeorderid
  21925. type: object
  21926. szdz.QueryRecieptOrderRsp:
  21927. properties:
  21928. accountName:
  21929. description: 所属账号名称(已脱敏)
  21930. type: string
  21931. accountid:
  21932. description: 资金账号
  21933. type: integer
  21934. buyorsell:
  21935. description: 方向 - 0:买 1:卖
  21936. type: integer
  21937. enableqty:
  21938. description: 可摘数量
  21939. type: integer
  21940. goodscode:
  21941. description: 商品代码
  21942. type: string
  21943. goodsid:
  21944. description: 商品ID
  21945. type: integer
  21946. goodsname:
  21947. description: 商品名称
  21948. type: string
  21949. orderid:
  21950. description: 委托单号
  21951. type: string
  21952. orderprice:
  21953. description: 委托价格
  21954. type: number
  21955. ordertime:
  21956. description: 委托时间
  21957. type: string
  21958. tradedate:
  21959. description: 交易日(yyyyMMdd)
  21960. type: string
  21961. required:
  21962. - ordertime
  21963. type: object
  21964. szdz.QuerySZDZTradePositionRsp:
  21965. properties:
  21966. accountid:
  21967. description: 账号Id
  21968. type: integer
  21969. agreeunit:
  21970. description: 合约单位
  21971. type: number
  21972. averageprice:
  21973. description: 持仓均价
  21974. type: number
  21975. buyorsell:
  21976. description: 方向 - 0:买 1:卖
  21977. type: integer
  21978. closetotalqty:
  21979. description: 平仓总数量
  21980. type: integer
  21981. curholderamount:
  21982. description: 当前持仓总金额
  21983. type: number
  21984. curpositionqty:
  21985. description: 当前持仓总数量
  21986. type: integer
  21987. currencyid:
  21988. description: 报价货币ID
  21989. type: integer
  21990. curtdposition:
  21991. description: 期末今日头寸
  21992. type: integer
  21993. decimalplace:
  21994. description: 报价小数位
  21995. type: integer
  21996. enableqty:
  21997. description: 可用量
  21998. type: integer
  21999. fretdposition:
  22000. description: 冻结今日头寸
  22001. type: integer
  22002. frozenqty:
  22003. description: 持仓冻结数量
  22004. type: integer
  22005. goodscode:
  22006. description: 商品代码(内部)
  22007. type: string
  22008. goodsid:
  22009. description: 商品Id
  22010. type: integer
  22011. goodsname:
  22012. description: 商品名称
  22013. type: string
  22014. goodunit:
  22015. description: 报价单位
  22016. type: string
  22017. goodunitid:
  22018. description: 报价单位ID
  22019. type: integer
  22020. holderamount:
  22021. description: 期初持仓总金额
  22022. type: number
  22023. marketid:
  22024. description: 市场ID
  22025. type: integer
  22026. openreqqty:
  22027. description: 开仓申请数量
  22028. type: integer
  22029. opentotalqty:
  22030. description: 开仓总数量
  22031. type: integer
  22032. otherfrozenqty:
  22033. description: 持仓其他冻结数量(交割冻结)
  22034. type: integer
  22035. positionqty:
  22036. description: 期初持仓数量
  22037. type: integer
  22038. szdz3freezqty:
  22039. description: 尚志大宗转换冻结总数量
  22040. type: integer
  22041. tnqty:
  22042. description: T+N冻结总量
  22043. type: integer
  22044. tnusedqty:
  22045. description: T+N使用量
  22046. type: integer
  22047. trademode:
  22048. description: 交易模式
  22049. type: integer
  22050. usedmargin:
  22051. description: 占用保证金
  22052. type: number
  22053. type: object
  22054. taaccount.QueryAmountLogRsp:
  22055. properties:
  22056. OPERATETYPENAME:
  22057. description: 资金操作类型名称
  22058. type: string
  22059. accountid:
  22060. description: 资金账户ID
  22061. type: integer
  22062. agoodscode:
  22063. description: 竞拍商品代码
  22064. type: string
  22065. agoodsname:
  22066. description: 竞拍商品名称
  22067. type: string
  22068. amount:
  22069. description: 资金金额
  22070. type: number
  22071. amountadjusttype:
  22072. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22073. type: integer
  22074. autoid:
  22075. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22076. type: integer
  22077. balance:
  22078. description: 期初余额
  22079. type: number
  22080. businesscode:
  22081. description: 业务编号
  22082. type: integer
  22083. createtime:
  22084. description: 发生时间
  22085. type: string
  22086. currencyid:
  22087. description: 币种ID
  22088. type: integer
  22089. currentbalance:
  22090. description: 期末余额(变动后金额)
  22091. type: number
  22092. dgoodscode:
  22093. description: 交割商品代码
  22094. type: string
  22095. dgoodsname:
  22096. description: 交割商品名称
  22097. type: string
  22098. goodscode:
  22099. description: 商品代码
  22100. type: string
  22101. goodsid:
  22102. description: 商品ID
  22103. type: integer
  22104. goodsname:
  22105. description: 商品名称
  22106. type: string
  22107. marketid:
  22108. description: 市场ID
  22109. type: integer
  22110. marketname:
  22111. description: 市场名称
  22112. type: string
  22113. moneyticket:
  22114. description: 资金流水号:银行端流水号
  22115. type: integer
  22116. operatetype:
  22117. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22118. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22119. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22120. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22121. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22122. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22123. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22124. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22125. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22126. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22127. type: integer
  22128. relationorderid:
  22129. description: 关联单号
  22130. type: string
  22131. remark:
  22132. description: 备注
  22133. type: string
  22134. trademode:
  22135. description: 交易模式
  22136. type: integer
  22137. required:
  22138. - accountid
  22139. - amount
  22140. - amountadjusttype
  22141. - autoid
  22142. - balance
  22143. - createtime
  22144. - currentbalance
  22145. - operatetype
  22146. type: object
  22147. taaccount.QueryHisAmountLogRsp:
  22148. properties:
  22149. OPERATETYPENAME:
  22150. description: 资金操作类型名称
  22151. type: string
  22152. accountid:
  22153. description: 资金账户ID
  22154. type: integer
  22155. agoodscode:
  22156. description: 竞拍商品代码
  22157. type: string
  22158. agoodsname:
  22159. description: 竞拍商品名称
  22160. type: string
  22161. amount:
  22162. description: 资金金额
  22163. type: number
  22164. amountadjusttype:
  22165. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22166. type: integer
  22167. autoid:
  22168. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22169. type: integer
  22170. balance:
  22171. description: 期初余额
  22172. type: number
  22173. businesscode:
  22174. description: 业务编号
  22175. type: integer
  22176. createtime:
  22177. description: 发生时间
  22178. type: string
  22179. currencyid:
  22180. description: 币种ID
  22181. type: integer
  22182. currentbalance:
  22183. description: 期末余额(变动后金额)
  22184. type: number
  22185. dgoodscode:
  22186. description: 交割商品代码
  22187. type: string
  22188. dgoodsname:
  22189. description: 交割商品名称
  22190. type: string
  22191. goodscode:
  22192. description: 商品代码
  22193. type: string
  22194. goodsid:
  22195. description: 商品ID
  22196. type: integer
  22197. goodsname:
  22198. description: 商品名称
  22199. type: string
  22200. histradedate:
  22201. description: 历史交易日
  22202. type: string
  22203. isvaliddata:
  22204. description: 是否有效 - 0:无效 1:有效
  22205. type: integer
  22206. marketid:
  22207. description: 市场ID
  22208. type: integer
  22209. marketname:
  22210. description: 市场名称
  22211. type: string
  22212. moneyticket:
  22213. description: 资金流水号:银行端流水号
  22214. type: integer
  22215. operatetype:
  22216. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22217. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22218. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22219. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22220. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22221. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22222. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22223. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22224. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22225. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22226. type: integer
  22227. relationorderid:
  22228. description: 关联单号
  22229. type: string
  22230. remark:
  22231. description: 备注
  22232. type: string
  22233. trademode:
  22234. description: 交易模式
  22235. type: integer
  22236. required:
  22237. - accountid
  22238. - amount
  22239. - amountadjusttype
  22240. - autoid
  22241. - balance
  22242. - createtime
  22243. - currentbalance
  22244. - histradedate
  22245. - operatetype
  22246. type: object
  22247. trade.QueryRecieptOrderRsp:
  22248. properties:
  22249. accountName:
  22250. description: 所属账号名称(已脱敏)
  22251. type: string
  22252. accountid:
  22253. description: 资金账号
  22254. type: integer
  22255. buyorsell:
  22256. description: 方向 - 0:买 1:卖
  22257. type: integer
  22258. enableqty:
  22259. description: 可摘数量
  22260. type: integer
  22261. goodscode:
  22262. description: 商品代码
  22263. type: string
  22264. goodsid:
  22265. description: 商品ID
  22266. type: integer
  22267. goodsname:
  22268. description: 商品名称
  22269. type: string
  22270. orderid:
  22271. description: 委托单号
  22272. type: string
  22273. orderprice:
  22274. description: 委托价格
  22275. type: number
  22276. ordertime:
  22277. description: 委托时间
  22278. type: string
  22279. tradedate:
  22280. description: 交易日(yyyyMMdd)
  22281. type: string
  22282. required:
  22283. - ordertime
  22284. type: object
  22285. user.LoginQueryRsp:
  22286. properties:
  22287. areaRoles:
  22288. description: 所属角色信息
  22289. items:
  22290. $ref: '#/definitions/models.Arearole'
  22291. type: array
  22292. externalExchanges:
  22293. description: 外部交易所
  22294. items:
  22295. $ref: '#/definitions/models.Externalexchange'
  22296. type: array
  22297. goodsgroups:
  22298. description: 商品组
  22299. items:
  22300. $ref: '#/definitions/models.Goodsgroup'
  22301. type: array
  22302. loginAccount:
  22303. $ref: '#/definitions/models.Loginaccount'
  22304. description: 登录账号
  22305. markets:
  22306. description: 市场
  22307. items:
  22308. $ref: '#/definitions/models.Market'
  22309. type: array
  22310. systemParams:
  22311. description: 系统参数
  22312. items:
  22313. $ref: '#/definitions/models.Systemparam'
  22314. type: array
  22315. userAccount:
  22316. $ref: '#/definitions/models.Useraccount'
  22317. description: 用户账号
  22318. userInfo:
  22319. $ref: '#/definitions/models.Userinfo'
  22320. description: 用户信息
  22321. username:
  22322. description: 用户姓名
  22323. type: string
  22324. type: object
  22325. info:
  22326. contact: {}
  22327. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22328. termsOfService: http://www.muchinfo.cn
  22329. title: MTP2.0 查询服务 API
  22330. version: "1.0"
  22331. paths:
  22332. /CPTrade/QueryCPTradeMyBidInfos:
  22333. get:
  22334. parameters:
  22335. - description: 资金账户
  22336. in: query
  22337. name: accountid
  22338. required: true
  22339. type: integer
  22340. - description: 预售市场ID
  22341. in: query
  22342. name: marketid
  22343. type: integer
  22344. - description: 预售商品ID
  22345. in: query
  22346. name: goodsid
  22347. type: integer
  22348. produces:
  22349. - application/json
  22350. responses:
  22351. "200":
  22352. description: OK
  22353. schema:
  22354. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22355. "500":
  22356. description: Internal Server Error
  22357. schema:
  22358. $ref: '#/definitions/app.Response'
  22359. security:
  22360. - ApiKeyAuth: []
  22361. summary: 查询产能预售我的出价信息
  22362. tags:
  22363. - 产能预售
  22364. /CPTrade/QueryCPTradeOrderDetail:
  22365. get:
  22366. parameters:
  22367. - description: 预售商品ID
  22368. in: query
  22369. name: goodsid
  22370. type: integer
  22371. - description: 预售市场ID
  22372. in: query
  22373. name: marketid
  22374. type: integer
  22375. - description: 预售商品ID列表 - 格式:1,2,3
  22376. in: query
  22377. name: goodsids
  22378. type: string
  22379. produces:
  22380. - application/json
  22381. responses:
  22382. "200":
  22383. description: OK
  22384. schema:
  22385. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22386. "500":
  22387. description: Internal Server Error
  22388. schema:
  22389. $ref: '#/definitions/app.Response'
  22390. security:
  22391. - ApiKeyAuth: []
  22392. summary: 查询产能预售委托单信息
  22393. tags:
  22394. - 产能预售
  22395. /CPTrade/QueryMyCPTradeGoods:
  22396. get:
  22397. parameters:
  22398. - description: 资金账户
  22399. in: query
  22400. name: accountid
  22401. required: true
  22402. type: integer
  22403. produces:
  22404. - application/json
  22405. responses:
  22406. "200":
  22407. description: OK
  22408. schema:
  22409. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22410. "500":
  22411. description: Internal Server Error
  22412. schema:
  22413. $ref: '#/definitions/app.Response'
  22414. security:
  22415. - ApiKeyAuth: []
  22416. summary: 查询我的预售信息
  22417. tags:
  22418. - 产能预售
  22419. /CPTrade/QueryPositionCancel:
  22420. get:
  22421. parameters:
  22422. - description: 账户ID
  22423. in: query
  22424. name: userid
  22425. required: true
  22426. type: integer
  22427. - description: 注销ID
  22428. in: query
  22429. name: cancelid
  22430. type: integer
  22431. - description: 资金账户ID
  22432. in: query
  22433. name: accountid
  22434. type: integer
  22435. produces:
  22436. - application/json
  22437. responses:
  22438. "200":
  22439. description: OK
  22440. schema:
  22441. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22442. "500":
  22443. description: Internal Server Error
  22444. schema:
  22445. $ref: '#/definitions/app.Response'
  22446. security:
  22447. - ApiKeyAuth: []
  22448. summary: 查询远期订单注销申请信息
  22449. tags:
  22450. - 产能预售
  22451. /CPTrade/QueryPreasleApply:
  22452. get:
  22453. parameters:
  22454. - description: 账户ID
  22455. in: query
  22456. name: userid
  22457. required: true
  22458. type: integer
  22459. - description: 申请ID
  22460. in: query
  22461. name: applyid
  22462. type: integer
  22463. - description: 资金账户ID
  22464. in: query
  22465. name: accountid
  22466. type: integer
  22467. produces:
  22468. - application/json
  22469. responses:
  22470. "200":
  22471. description: OK
  22472. schema:
  22473. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22474. "500":
  22475. description: Internal Server Error
  22476. schema:
  22477. $ref: '#/definitions/app.Response'
  22478. security:
  22479. - ApiKeyAuth: []
  22480. summary: 查询产能预售申请信息
  22481. tags:
  22482. - 产能预售
  22483. /CPTrade/QueryPresaleGoodsEx:
  22484. get:
  22485. parameters:
  22486. - description: 预售商品ID
  22487. in: query
  22488. name: goodsid
  22489. type: integer
  22490. - description: 预售市场ID
  22491. in: query
  22492. name: marketid
  22493. type: integer
  22494. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22495. in: query
  22496. name: presalemode
  22497. type: integer
  22498. - description: 预售商品ID列表 - 格式:1,2,3
  22499. in: query
  22500. name: goodsids
  22501. type: string
  22502. - description: 预售商品代码
  22503. in: query
  22504. name: goodscode
  22505. type: string
  22506. produces:
  22507. - application/json
  22508. responses:
  22509. "200":
  22510. description: OK
  22511. schema:
  22512. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22513. "500":
  22514. description: Internal Server Error
  22515. schema:
  22516. $ref: '#/definitions/app.Response'
  22517. security:
  22518. - ApiKeyAuth: []
  22519. summary: 查询产能预售商品扩展信息
  22520. tags:
  22521. - 产能预售
  22522. /CPTrade/QueryUserGoodsData:
  22523. get:
  22524. parameters:
  22525. - description: 资金账户ID
  22526. in: query
  22527. name: accountid
  22528. required: true
  22529. type: integer
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22537. "500":
  22538. description: Internal Server Error
  22539. schema:
  22540. $ref: '#/definitions/app.Response'
  22541. security:
  22542. - ApiKeyAuth: []
  22543. summary: 查询远期订单信息
  22544. tags:
  22545. - 产能预售
  22546. /Common/DeleteNewFuncmenu:
  22547. delete:
  22548. consumes:
  22549. - application/json
  22550. parameters:
  22551. - description: 菜单表数据,只需要resourcecode字段即可
  22552. in: body
  22553. name: data
  22554. required: true
  22555. schema:
  22556. $ref: '#/definitions/models.NewFuncmenulist'
  22557. produces:
  22558. - application/json
  22559. responses:
  22560. "200":
  22561. description: OK
  22562. schema:
  22563. $ref: '#/definitions/app.Response'
  22564. "500":
  22565. description: Internal Server Error
  22566. schema:
  22567. $ref: '#/definitions/app.Response'
  22568. security:
  22569. - ApiKeyAuth: []
  22570. summary: 删除菜单表数据
  22571. tags:
  22572. - 通用服务
  22573. /Common/FindNewFuncmenu:
  22574. get:
  22575. parameters:
  22576. - description: 资源代码
  22577. in: query
  22578. name: resourcecode
  22579. type: string
  22580. - description: 上级资源代码
  22581. in: query
  22582. name: parentcode
  22583. type: string
  22584. - description: 资源名(Title), 模糊查询
  22585. in: query
  22586. name: resourcename
  22587. type: string
  22588. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22589. in: query
  22590. name: menutype
  22591. type: string
  22592. produces:
  22593. - application/json
  22594. responses:
  22595. "200":
  22596. description: OK
  22597. schema:
  22598. items:
  22599. $ref: '#/definitions/models.NewFuncmenulist'
  22600. type: array
  22601. "500":
  22602. description: Internal Server Error
  22603. schema:
  22604. $ref: '#/definitions/app.Response'
  22605. security:
  22606. - ApiKeyAuth: []
  22607. summary: 获取菜单表数据
  22608. tags:
  22609. - 通用服务
  22610. /Common/GetAllEnums:
  22611. get:
  22612. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22613. parameters:
  22614. - description: 起始自增ID
  22615. in: query
  22616. name: autoid
  22617. type: integer
  22618. produces:
  22619. - application/json
  22620. responses:
  22621. "200":
  22622. description: OK
  22623. schema:
  22624. $ref: '#/definitions/models.Enumdicitem'
  22625. "500":
  22626. description: Internal Server Error
  22627. schema:
  22628. $ref: '#/definitions/app.Response'
  22629. summary: 获取所有枚举信息
  22630. tags:
  22631. - 通用服务
  22632. /Common/GetClientMenus:
  22633. get:
  22634. parameters:
  22635. - description: 登录账号
  22636. in: query
  22637. name: loginID
  22638. required: true
  22639. type: integer
  22640. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22641. in: query
  22642. name: clientType
  22643. type: integer
  22644. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22645. in: query
  22646. name: name
  22647. type: string
  22648. produces:
  22649. - application/json
  22650. responses:
  22651. "200":
  22652. description: OK
  22653. schema:
  22654. items:
  22655. $ref: '#/definitions/common.ClientMenu'
  22656. type: array
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 获取交易端菜单
  22664. tags:
  22665. - 通用服务
  22666. /Common/GetClientNewFuncmenu:
  22667. get:
  22668. parameters:
  22669. - description: 登录账号
  22670. in: query
  22671. name: loginid
  22672. required: true
  22673. type: integer
  22674. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22675. in: query
  22676. name: menutype
  22677. required: true
  22678. type: integer
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. items:
  22686. $ref: '#/definitions/models.NewFuncmenulist'
  22687. type: array
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 获取终端菜单
  22695. tags:
  22696. - 通用服务
  22697. /Common/GetDivisions:
  22698. get:
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. $ref: '#/definitions/models.Division'
  22706. "500":
  22707. description: Internal Server Error
  22708. schema:
  22709. $ref: '#/definitions/app.Response'
  22710. summary: 查询区域信息
  22711. tags:
  22712. - 通用服务
  22713. /Common/GetPCWebMenus:
  22714. get:
  22715. parameters:
  22716. - description: 登录账号
  22717. in: query
  22718. name: loginID
  22719. required: true
  22720. type: integer
  22721. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22722. in: query
  22723. name: name
  22724. type: string
  22725. produces:
  22726. - application/json
  22727. responses:
  22728. "200":
  22729. description: OK
  22730. schema:
  22731. items:
  22732. $ref: '#/definitions/common.PCWebMenu'
  22733. type: array
  22734. "500":
  22735. description: Internal Server Error
  22736. schema:
  22737. $ref: '#/definitions/app.Response'
  22738. security:
  22739. - ApiKeyAuth: []
  22740. summary: 获取PCWeb交易端菜单
  22741. tags:
  22742. - 通用服务
  22743. /Common/GetServerTime:
  22744. get:
  22745. produces:
  22746. - application/json
  22747. responses:
  22748. "200":
  22749. description: OK
  22750. schema:
  22751. $ref: '#/definitions/app.Response'
  22752. "500":
  22753. description: Internal Server Error
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. summary: 获取服务器时间
  22757. tags:
  22758. - 通用服务
  22759. /Common/InsertNewFuncmenu:
  22760. post:
  22761. consumes:
  22762. - application/json
  22763. parameters:
  22764. - description: 菜单表数据
  22765. in: body
  22766. name: data
  22767. required: true
  22768. schema:
  22769. $ref: '#/definitions/models.NewFuncmenulist'
  22770. produces:
  22771. - application/json
  22772. responses:
  22773. "200":
  22774. description: OK
  22775. schema:
  22776. $ref: '#/definitions/app.Response'
  22777. "500":
  22778. description: Internal Server Error
  22779. schema:
  22780. $ref: '#/definitions/app.Response'
  22781. security:
  22782. - ApiKeyAuth: []
  22783. summary: 插入菜单表数据
  22784. tags:
  22785. - 通用服务
  22786. /Common/NoticeReaded:
  22787. post:
  22788. parameters:
  22789. - description: 登录账号
  22790. in: query
  22791. name: loginID
  22792. required: true
  22793. type: integer
  22794. - description: 通知公告ID
  22795. in: query
  22796. name: noticeID
  22797. required: true
  22798. type: integer
  22799. produces:
  22800. - application/json
  22801. responses:
  22802. "200":
  22803. description: OK
  22804. schema:
  22805. $ref: '#/definitions/app.Response'
  22806. "500":
  22807. description: Internal Server Error
  22808. schema:
  22809. $ref: '#/definitions/app.Response'
  22810. security:
  22811. - ApiKeyAuth: []
  22812. summary: 通知公告设置已读请求
  22813. tags:
  22814. - 通用服务
  22815. /Common/QueryErrorInfos:
  22816. get:
  22817. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22818. parameters:
  22819. - description: 起始行号前索引
  22820. in: query
  22821. name: rowNumber
  22822. type: string
  22823. produces:
  22824. - application/json
  22825. responses:
  22826. "200":
  22827. description: OK
  22828. schema:
  22829. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22830. "500":
  22831. description: Internal Server Error
  22832. schema:
  22833. $ref: '#/definitions/app.Response'
  22834. summary: 获取数据库错误信息
  22835. tags:
  22836. - 通用服务
  22837. /Common/QueryImageConfigs:
  22838. get:
  22839. parameters:
  22840. - description: 用户id
  22841. in: query
  22842. name: userId
  22843. type: integer
  22844. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22845. in: query
  22846. name: imageType
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22855. "500":
  22856. description: Internal Server Error
  22857. schema:
  22858. $ref: '#/definitions/app.Response'
  22859. summary: 查询轮播图配置信息
  22860. tags:
  22861. - 通用服务
  22862. /Common/QueryNotice:
  22863. get:
  22864. parameters:
  22865. - description: 页码
  22866. in: query
  22867. name: page
  22868. type: integer
  22869. - description: 每页条数
  22870. in: query
  22871. name: pagesize
  22872. type: integer
  22873. - description: 登录账号
  22874. in: query
  22875. name: loginID
  22876. required: true
  22877. type: integer
  22878. - description: 消息类型 - 1:公告通知 2:系统消息
  22879. in: query
  22880. name: msgType
  22881. type: integer
  22882. - description: 是否只获取未读信息
  22883. in: query
  22884. name: onlyUnRead
  22885. type: boolean
  22886. - description: 自增ID,传入后会返回这个ID后面的记录
  22887. in: query
  22888. name: lastID
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/common.QueryNoticeRsp'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 通知公告系统消息查询
  22904. tags:
  22905. - 通用服务
  22906. /Common/QueryProvincesAndCities:
  22907. get:
  22908. parameters:
  22909. - description: 省ID
  22910. in: query
  22911. name: provinceID
  22912. type: integer
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22920. "500":
  22921. description: Internal Server Error
  22922. schema:
  22923. $ref: '#/definitions/app.Response'
  22924. summary: 查询省市信息(不包括区)
  22925. tags:
  22926. - 通用服务
  22927. /Common/QueryRates:
  22928. get:
  22929. parameters:
  22930. - description: 页码
  22931. in: query
  22932. name: page
  22933. type: integer
  22934. - description: 每页条数
  22935. in: query
  22936. name: pagesize
  22937. type: integer
  22938. - description: 源币种ID
  22939. in: query
  22940. name: oricurrencyid
  22941. type: integer
  22942. - description: 目标币种ID
  22943. in: query
  22944. name: descurrencyid
  22945. type: integer
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. items:
  22953. $ref: '#/definitions/models.Exchangerateconfig'
  22954. type: array
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. - LoginID: []
  22962. - Group: []
  22963. summary: 查询汇率信息
  22964. tags:
  22965. - 通用服务
  22966. /Common/QueryTableDefine:
  22967. get:
  22968. parameters:
  22969. - description: 表key
  22970. in: query
  22971. name: tableKey
  22972. type: string
  22973. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22974. in: query
  22975. name: tableType
  22976. type: integer
  22977. produces:
  22978. - application/json
  22979. responses:
  22980. "200":
  22981. description: OK
  22982. schema:
  22983. $ref: '#/definitions/common.QueryTableDefineRsp'
  22984. "500":
  22985. description: Internal Server Error
  22986. schema:
  22987. $ref: '#/definitions/app.Response'
  22988. summary: 查询交易端列表头信息
  22989. tags:
  22990. - 通用服务
  22991. /Common/QueryTraderMenu:
  22992. get:
  22993. parameters:
  22994. - description: 登录账号
  22995. in: query
  22996. name: loginid
  22997. required: true
  22998. type: integer
  22999. produces:
  23000. - application/json
  23001. responses:
  23002. "200":
  23003. description: OK
  23004. schema:
  23005. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23006. "500":
  23007. description: Internal Server Error
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. summary: 查询交易端菜单
  23011. tags:
  23012. - 通用服务
  23013. /Common/UpdateNewFuncmenu:
  23014. put:
  23015. consumes:
  23016. - application/json
  23017. parameters:
  23018. - description: 菜单表数据
  23019. in: body
  23020. name: data
  23021. required: true
  23022. schema:
  23023. $ref: '#/definitions/models.NewFuncmenulist'
  23024. produces:
  23025. - application/json
  23026. responses:
  23027. "200":
  23028. description: OK
  23029. schema:
  23030. $ref: '#/definitions/app.Response'
  23031. "500":
  23032. description: Internal Server Error
  23033. schema:
  23034. $ref: '#/definitions/app.Response'
  23035. security:
  23036. - ApiKeyAuth: []
  23037. summary: 更新菜单表数据
  23038. tags:
  23039. - 通用服务
  23040. /Delivery/QueryDeliveryRelation:
  23041. get:
  23042. parameters:
  23043. - description: 商品ID
  23044. in: query
  23045. name: goodsid
  23046. type: integer
  23047. - description: 品种ID
  23048. in: query
  23049. name: deliverygoodsid
  23050. type: integer
  23051. - description: 市场ID
  23052. in: query
  23053. name: marketid
  23054. type: integer
  23055. produces:
  23056. - application/json
  23057. responses:
  23058. "200":
  23059. description: OK
  23060. schema:
  23061. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23062. "500":
  23063. description: Internal Server Error
  23064. schema:
  23065. $ref: '#/definitions/app.Response'
  23066. security:
  23067. - ApiKeyAuth: []
  23068. summary: 查询商品交割关系表
  23069. tags:
  23070. - 交割服务
  23071. /Ermcp/GetErmcpGoods:
  23072. get:
  23073. parameters:
  23074. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23075. in: query
  23076. name: userid
  23077. type: integer
  23078. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23079. in: query
  23080. name: lastUpdateTime
  23081. type: string
  23082. produces:
  23083. - application/json
  23084. responses:
  23085. "200":
  23086. description: OK
  23087. schema:
  23088. $ref: '#/definitions/models.ErmcpGoods'
  23089. "500":
  23090. description: Internal Server Error
  23091. schema:
  23092. $ref: '#/definitions/app.Response'
  23093. security:
  23094. - ApiKeyAuth: []
  23095. summary: 查询企业风管期货商品信息
  23096. tags:
  23097. - 企业风险管理(app)
  23098. /Ermcp/GetErmcpGoodsSortByPosition:
  23099. get:
  23100. parameters:
  23101. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23102. in: query
  23103. name: sortIndex
  23104. type: string
  23105. produces:
  23106. - application/json
  23107. responses:
  23108. "200":
  23109. description: OK
  23110. schema:
  23111. $ref: '#/definitions/models.Goodssortbypreposition'
  23112. "500":
  23113. description: Internal Server Error
  23114. schema:
  23115. $ref: '#/definitions/app.Response'
  23116. security:
  23117. - ApiKeyAuth: []
  23118. summary: 查询企业风管期货主力、次主力商品信息
  23119. tags:
  23120. - 企业风险管理(app)
  23121. /Ermcp/GetErmcpOutAccountStatus:
  23122. get:
  23123. parameters:
  23124. - description: 登录账号
  23125. in: query
  23126. name: loginID
  23127. required: true
  23128. type: integer
  23129. produces:
  23130. - application/json
  23131. responses:
  23132. "200":
  23133. description: OK
  23134. schema:
  23135. $ref: '#/definitions/models.Hedgemarketopenlog'
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 获取目标登录账号当前对冲账号在线状态
  23143. tags:
  23144. - 企业风险管理(app)
  23145. /Ermcp/GetErmcpRoleFuncMenuLists:
  23146. get:
  23147. parameters:
  23148. - description: 登录账号
  23149. in: query
  23150. name: loginID
  23151. required: true
  23152. type: integer
  23153. produces:
  23154. - application/json
  23155. responses:
  23156. "200":
  23157. description: OK
  23158. schema:
  23159. $ref: '#/definitions/models.Funcmenulist'
  23160. "500":
  23161. description: Internal Server Error
  23162. schema:
  23163. $ref: '#/definitions/app.Response'
  23164. security:
  23165. - ApiKeyAuth: []
  23166. summary: 获取企业风管终端权限
  23167. tags:
  23168. - 企业风险管理(app)
  23169. /Ermcp/QueryAccMgrBizGroupSet:
  23170. get:
  23171. parameters:
  23172. - description: 用户ID
  23173. in: query
  23174. name: userid
  23175. required: true
  23176. type: integer
  23177. - description: 现货商品id
  23178. in: query
  23179. name: deliverygoodsid
  23180. type: integer
  23181. produces:
  23182. - application/json
  23183. responses:
  23184. "200":
  23185. description: OK
  23186. schema:
  23187. items:
  23188. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23189. type: array
  23190. "500":
  23191. description: Internal Server Error
  23192. schema:
  23193. $ref: '#/definitions/app.Response'
  23194. security:
  23195. - ApiKeyAuth: []
  23196. summary: 查询业务类型分组(账户管理/账户设置)
  23197. tags:
  23198. - 企业风险管理(app)
  23199. /Ermcp/QueryAccMgrLoginUser:
  23200. get:
  23201. parameters:
  23202. - description: 用户ID
  23203. in: query
  23204. name: userid
  23205. required: true
  23206. type: integer
  23207. - description: 用户类型 2-机构 7-企业成员
  23208. in: query
  23209. name: usertype
  23210. type: integer
  23211. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23212. in: query
  23213. name: querytype
  23214. required: true
  23215. type: integer
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. items:
  23223. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23224. type: array
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. security:
  23230. - ApiKeyAuth: []
  23231. summary: 查询账户管理登录账号(账户管理/登录账号)
  23232. tags:
  23233. - 企业风险管理(app)
  23234. /Ermcp/QueryAccMgrMainAccountInfo:
  23235. get:
  23236. parameters:
  23237. - description: 用户ID
  23238. in: query
  23239. name: userid
  23240. type: integer
  23241. - description: 主账号id
  23242. in: query
  23243. name: accountid
  23244. type: integer
  23245. produces:
  23246. - application/json
  23247. responses:
  23248. "200":
  23249. description: OK
  23250. schema:
  23251. items:
  23252. $ref: '#/definitions/models.MainAccountInfo'
  23253. type: array
  23254. "500":
  23255. description: Internal Server Error
  23256. schema:
  23257. $ref: '#/definitions/app.Response'
  23258. security:
  23259. - ApiKeyAuth: []
  23260. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23261. tags:
  23262. - 企业风险管理(app)
  23263. /Ermcp/QueryAccMgrRole:
  23264. get:
  23265. parameters:
  23266. - description: 用户ID
  23267. in: query
  23268. name: userid
  23269. required: true
  23270. type: integer
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. items:
  23278. $ref: '#/definitions/models.ErmcpRole'
  23279. type: array
  23280. "500":
  23281. description: Internal Server Error
  23282. schema:
  23283. $ref: '#/definitions/app.Response'
  23284. security:
  23285. - ApiKeyAuth: []
  23286. summary: 查询账户管理角色设置(账户管理/角色设置)
  23287. tags:
  23288. - 企业风险管理(app)
  23289. /Ermcp/QueryAccMgrRoleMenu:
  23290. get:
  23291. parameters:
  23292. - description: 用户ID
  23293. in: query
  23294. name: userid
  23295. required: true
  23296. type: integer
  23297. - description: 角色id(可多个,逗号隔开)
  23298. in: query
  23299. name: roleid
  23300. type: string
  23301. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23302. in: query
  23303. name: menutype
  23304. type: integer
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. items:
  23312. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23313. type: array
  23314. "500":
  23315. description: Internal Server Error
  23316. schema:
  23317. $ref: '#/definitions/app.Response'
  23318. security:
  23319. - ApiKeyAuth: []
  23320. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23321. tags:
  23322. - 企业风险管理(app)
  23323. /Ermcp/QueryAccMgrTaAccountInfo:
  23324. get:
  23325. parameters:
  23326. - description: 用户ID
  23327. in: query
  23328. name: userid
  23329. required: true
  23330. type: integer
  23331. - description: 账号id
  23332. in: query
  23333. name: accountid
  23334. type: integer
  23335. produces:
  23336. - application/json
  23337. responses:
  23338. "200":
  23339. description: OK
  23340. schema:
  23341. items:
  23342. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23343. type: array
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23351. tags:
  23352. - 企业风险管理(app)
  23353. /Ermcp/QueryAccMgrTaaccount:
  23354. get:
  23355. parameters:
  23356. - description: 用户ID
  23357. in: query
  23358. name: userid
  23359. required: true
  23360. type: integer
  23361. produces:
  23362. - application/json
  23363. responses:
  23364. "200":
  23365. description: OK
  23366. schema:
  23367. items:
  23368. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23369. type: array
  23370. "500":
  23371. description: Internal Server Error
  23372. schema:
  23373. $ref: '#/definitions/app.Response'
  23374. security:
  23375. - ApiKeyAuth: []
  23376. summary: 查询账户管理期货账号(账户管理/期货账号)
  23377. tags:
  23378. - 企业风险管理(app)
  23379. /Ermcp/QueryAvaildGoodsGroup:
  23380. get:
  23381. parameters:
  23382. - description: 所属机构ID
  23383. in: query
  23384. name: userid
  23385. required: true
  23386. type: integer
  23387. produces:
  23388. - application/json
  23389. responses:
  23390. "200":
  23391. description: OK
  23392. schema:
  23393. items:
  23394. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23395. type: array
  23396. "500":
  23397. description: Internal Server Error
  23398. schema:
  23399. $ref: '#/definitions/app.Response'
  23400. security:
  23401. - ApiKeyAuth: []
  23402. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23403. tags:
  23404. - 企业风险管理(app)
  23405. /Ermcp/QueryBusinessDj:
  23406. get:
  23407. parameters:
  23408. - description: 用户ID
  23409. in: query
  23410. name: UserId
  23411. required: true
  23412. type: integer
  23413. - description: 用户类型 2-机构 7-企业成员
  23414. in: query
  23415. name: usertype
  23416. type: integer
  23417. - description: 现货合同ID, 不填则查所有
  23418. in: query
  23419. name: relatedid
  23420. type: string
  23421. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23422. in: query
  23423. name: applystatus
  23424. type: string
  23425. produces:
  23426. - application/json
  23427. responses:
  23428. "200":
  23429. description: OK
  23430. schema:
  23431. items:
  23432. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23433. type: array
  23434. "500":
  23435. description: Internal Server Error
  23436. schema:
  23437. $ref: '#/definitions/app.Response'
  23438. security:
  23439. - ApiKeyAuth: []
  23440. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23441. tags:
  23442. - 企业风险管理(app)
  23443. /Ermcp/QueryBusinessFp:
  23444. get:
  23445. parameters:
  23446. - description: 用户ID
  23447. in: query
  23448. name: UserId
  23449. required: true
  23450. type: integer
  23451. - description: 用户类型 2-机构 7-企业成员
  23452. in: query
  23453. name: usertype
  23454. type: integer
  23455. - description: 现货合同ID, 不填则查所有
  23456. in: query
  23457. name: relatedid
  23458. type: string
  23459. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23460. in: query
  23461. name: applystatus
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. items:
  23470. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23471. type: array
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23479. tags:
  23480. - 企业风险管理(app)
  23481. /Ermcp/QueryBusinessJs:
  23482. get:
  23483. parameters:
  23484. - description: 用户ID
  23485. in: query
  23486. name: UserId
  23487. required: true
  23488. type: integer
  23489. - description: 用户类型 2-机构 7-企业成员
  23490. in: query
  23491. name: usertype
  23492. type: integer
  23493. - description: 现货合同ID, 不填则查所有
  23494. in: query
  23495. name: relatedid
  23496. type: string
  23497. - description: 操作申请id
  23498. in: query
  23499. name: operateapplyid
  23500. type: string
  23501. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23502. in: query
  23503. name: applystatus
  23504. type: string
  23505. produces:
  23506. - application/json
  23507. responses:
  23508. "200":
  23509. description: OK
  23510. schema:
  23511. items:
  23512. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23513. type: array
  23514. "500":
  23515. description: Internal Server Error
  23516. schema:
  23517. $ref: '#/definitions/app.Response'
  23518. security:
  23519. - ApiKeyAuth: []
  23520. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23521. tags:
  23522. - 企业风险管理(app)
  23523. /Ermcp/QueryBusinessJsEx:
  23524. get:
  23525. parameters:
  23526. - description: 用户ID
  23527. in: query
  23528. name: UserId
  23529. required: true
  23530. type: integer
  23531. - description: 用户类型 2-机构 7-企业成员
  23532. in: query
  23533. name: usertype
  23534. type: integer
  23535. - description: 现货合同ID, 不填则查所有
  23536. in: query
  23537. name: relatedid
  23538. type: string
  23539. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23540. in: query
  23541. name: applystatus
  23542. type: string
  23543. produces:
  23544. - application/json
  23545. responses:
  23546. "200":
  23547. description: OK
  23548. schema:
  23549. items:
  23550. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23551. type: array
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23559. tags:
  23560. - 企业风险管理(app)
  23561. /Ermcp/QueryBusinessKx:
  23562. get:
  23563. parameters:
  23564. - description: 用户ID
  23565. in: query
  23566. name: UserId
  23567. required: true
  23568. type: integer
  23569. - description: 用户类型 2-机构 7-企业成员
  23570. in: query
  23571. name: usertype
  23572. type: integer
  23573. - description: 现货合同ID, 不填则查所有
  23574. in: query
  23575. name: relatedid
  23576. type: string
  23577. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23578. in: query
  23579. name: applystatus
  23580. type: string
  23581. produces:
  23582. - application/json
  23583. responses:
  23584. "200":
  23585. description: OK
  23586. schema:
  23587. items:
  23588. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23589. type: array
  23590. "500":
  23591. description: Internal Server Error
  23592. schema:
  23593. $ref: '#/definitions/app.Response'
  23594. security:
  23595. - ApiKeyAuth: []
  23596. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23597. tags:
  23598. - 企业风险管理(app)
  23599. /Ermcp/QueryChangeLog:
  23600. get:
  23601. parameters:
  23602. - description: 合同ID
  23603. in: query
  23604. name: RelatedId
  23605. required: true
  23606. type: string
  23607. produces:
  23608. - application/json
  23609. responses:
  23610. "200":
  23611. description: OK
  23612. schema:
  23613. items:
  23614. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23615. type: array
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 查询变更记录
  23623. tags:
  23624. - 企业风险管理(app)
  23625. /Ermcp/QueryErmcpHisOrderDetails:
  23626. get:
  23627. parameters:
  23628. - description: 资金账户ID
  23629. in: query
  23630. name: accountID
  23631. required: true
  23632. type: integer
  23633. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23634. in: query
  23635. name: startDate
  23636. type: string
  23637. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23638. in: query
  23639. name: endDate
  23640. type: string
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23648. "500":
  23649. description: Internal Server Error
  23650. schema:
  23651. $ref: '#/definitions/app.Response'
  23652. security:
  23653. - ApiKeyAuth: []
  23654. summary: 获取企业风管期货历史委托单信息
  23655. tags:
  23656. - 企业风险管理(app)
  23657. /Ermcp/QueryErmcpHisTradeDetails:
  23658. get:
  23659. parameters:
  23660. - description: 资金账户ID
  23661. in: query
  23662. name: accountID
  23663. required: true
  23664. type: integer
  23665. - description: 商品ID
  23666. in: query
  23667. name: goodsID
  23668. type: integer
  23669. - description: 买卖方向,0:买 1:卖
  23670. in: query
  23671. name: buyOrSell
  23672. type: integer
  23673. - description: 关联委托单号
  23674. in: query
  23675. name: orderID
  23676. type: integer
  23677. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23678. in: query
  23679. name: startDate
  23680. type: string
  23681. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23682. in: query
  23683. name: endDate
  23684. type: string
  23685. produces:
  23686. - application/json
  23687. responses:
  23688. "200":
  23689. description: OK
  23690. schema:
  23691. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23692. "500":
  23693. description: Internal Server Error
  23694. schema:
  23695. $ref: '#/definitions/app.Response'
  23696. security:
  23697. - ApiKeyAuth: []
  23698. summary: 获取企业风管期货历史成交单信息
  23699. tags:
  23700. - 企业风险管理(app)
  23701. /Ermcp/QueryErmcpInnerHolderDetails:
  23702. get:
  23703. parameters:
  23704. - description: 资金账户ID
  23705. in: query
  23706. name: accountID
  23707. required: true
  23708. type: integer
  23709. - description: 商品ID
  23710. in: query
  23711. name: goodsID
  23712. type: integer
  23713. - description: 买卖方向,0:买 1:卖
  23714. in: query
  23715. name: buyOrSell
  23716. type: integer
  23717. produces:
  23718. - application/json
  23719. responses:
  23720. "200":
  23721. description: OK
  23722. schema:
  23723. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23724. "500":
  23725. description: Internal Server Error
  23726. schema:
  23727. $ref: '#/definitions/app.Response'
  23728. security:
  23729. - ApiKeyAuth: []
  23730. summary: 获取企业风管期货内部持仓单信息
  23731. tags:
  23732. - 企业风险管理(app)
  23733. /Ermcp/QueryErmcpOrderDetails:
  23734. get:
  23735. parameters:
  23736. - description: 资金账户ID
  23737. in: query
  23738. name: accountID
  23739. required: true
  23740. type: integer
  23741. produces:
  23742. - application/json
  23743. responses:
  23744. "200":
  23745. description: OK
  23746. schema:
  23747. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23748. "500":
  23749. description: Internal Server Error
  23750. schema:
  23751. $ref: '#/definitions/app.Response'
  23752. security:
  23753. - ApiKeyAuth: []
  23754. summary: 获取企业风管期货委托单信息
  23755. tags:
  23756. - 企业风险管理(app)
  23757. /Ermcp/QueryErmcpTradeDetails:
  23758. get:
  23759. parameters:
  23760. - description: 资金账户ID
  23761. in: query
  23762. name: accountID
  23763. required: true
  23764. type: integer
  23765. - description: 商品ID
  23766. in: query
  23767. name: goodsID
  23768. type: integer
  23769. - description: 买卖方向,0:买 1:卖
  23770. in: query
  23771. name: buyOrSell
  23772. type: integer
  23773. - description: 关联委托单号
  23774. in: query
  23775. name: orderID
  23776. type: integer
  23777. produces:
  23778. - application/json
  23779. responses:
  23780. "200":
  23781. description: OK
  23782. schema:
  23783. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23784. "500":
  23785. description: Internal Server Error
  23786. schema:
  23787. $ref: '#/definitions/app.Response'
  23788. security:
  23789. - ApiKeyAuth: []
  23790. summary: 获取企业风管期货成交单信息
  23791. tags:
  23792. - 企业风险管理(app)
  23793. /Ermcp/QueryErmcpTradePosition:
  23794. get:
  23795. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23796. parameters:
  23797. - description: 资金账户ID
  23798. in: query
  23799. name: accountID
  23800. required: true
  23801. type: integer
  23802. - description: 所属市场ID
  23803. in: query
  23804. name: marketID
  23805. type: integer
  23806. produces:
  23807. - application/json
  23808. responses:
  23809. "200":
  23810. description: OK
  23811. schema:
  23812. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23813. "500":
  23814. description: Internal Server Error
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. security:
  23818. - ApiKeyAuth: []
  23819. summary: 获取企业风管期货持仓头寸信息
  23820. tags:
  23821. - 企业风险管理(app)
  23822. /Ermcp/QueryExposureDetail:
  23823. get:
  23824. parameters:
  23825. - description: 所属机构ID
  23826. in: query
  23827. name: areaUserId
  23828. required: true
  23829. type: integer
  23830. - description: 套保商品
  23831. in: query
  23832. name: middleGoodsId
  23833. required: true
  23834. type: integer
  23835. produces:
  23836. - application/json
  23837. responses:
  23838. "200":
  23839. description: OK
  23840. schema:
  23841. items:
  23842. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23843. type: array
  23844. "500":
  23845. description: Internal Server Error
  23846. schema:
  23847. $ref: '#/definitions/app.Response'
  23848. security:
  23849. - ApiKeyAuth: []
  23850. summary: 查询敞口现货明细
  23851. tags:
  23852. - 企业风险管理(app)
  23853. /Ermcp/QueryExposureGoods:
  23854. get:
  23855. parameters:
  23856. - description: 套保商品id
  23857. in: query
  23858. name: middlegoodsid
  23859. required: true
  23860. type: integer
  23861. produces:
  23862. - application/json
  23863. responses:
  23864. "200":
  23865. description: OK
  23866. schema:
  23867. items:
  23868. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23869. type: array
  23870. "500":
  23871. description: Internal Server Error
  23872. schema:
  23873. $ref: '#/definitions/app.Response'
  23874. security:
  23875. - ApiKeyAuth: []
  23876. summary: 查询敞口主力合约
  23877. tags:
  23878. - 企业风险管理(app)
  23879. /Ermcp/QueryExposureHedgePosition:
  23880. get:
  23881. parameters:
  23882. - description: 用户id
  23883. in: query
  23884. name: userid
  23885. required: true
  23886. type: integer
  23887. produces:
  23888. - application/json
  23889. responses:
  23890. "200":
  23891. description: OK
  23892. schema:
  23893. items:
  23894. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23895. type: array
  23896. "500":
  23897. description: Internal Server Error
  23898. schema:
  23899. $ref: '#/definitions/app.Response'
  23900. security:
  23901. - ApiKeyAuth: []
  23902. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23903. tags:
  23904. - 企业风险管理(app)
  23905. /Ermcp/QueryExposureHedgePositionDetail:
  23906. get:
  23907. parameters:
  23908. - description: 所属机构ID
  23909. in: query
  23910. name: userid
  23911. required: true
  23912. type: integer
  23913. - description: 商品id
  23914. in: query
  23915. name: goodsId
  23916. required: true
  23917. type: integer
  23918. produces:
  23919. - application/json
  23920. responses:
  23921. "200":
  23922. description: OK
  23923. schema:
  23924. items:
  23925. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23926. type: array
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23934. tags:
  23935. - 企业风险管理(app)
  23936. /Ermcp/QueryExposureSpot:
  23937. get:
  23938. parameters:
  23939. - description: 所属机构ID
  23940. in: query
  23941. name: areaUserId
  23942. required: true
  23943. type: integer
  23944. produces:
  23945. - application/json
  23946. responses:
  23947. "200":
  23948. description: OK
  23949. schema:
  23950. items:
  23951. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23952. type: array
  23953. "500":
  23954. description: Internal Server Error
  23955. schema:
  23956. $ref: '#/definitions/app.Response'
  23957. security:
  23958. - ApiKeyAuth: []
  23959. summary: 查询敞口现货头寸(敞口/现货头寸)
  23960. tags:
  23961. - 企业风险管理(app)
  23962. /Ermcp/QueryExposureSpotDetail:
  23963. get:
  23964. parameters:
  23965. - description: 所属机构ID
  23966. in: query
  23967. name: areaUserId
  23968. required: true
  23969. type: integer
  23970. - description: 现货品种ID
  23971. in: query
  23972. name: wrstandardId
  23973. required: true
  23974. type: integer
  23975. produces:
  23976. - application/json
  23977. responses:
  23978. "200":
  23979. description: OK
  23980. schema:
  23981. items:
  23982. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23983. type: array
  23984. "500":
  23985. description: Internal Server Error
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. security:
  23989. - ApiKeyAuth: []
  23990. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23991. tags:
  23992. - 企业风险管理(app)
  23993. /Ermcp/QueryFuturesCompany:
  23994. get:
  23995. produces:
  23996. - application/json
  23997. responses:
  23998. "200":
  23999. description: OK
  24000. schema:
  24001. items:
  24002. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24003. type: array
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. security:
  24009. - ApiKeyAuth: []
  24010. summary: 查询期货公司
  24011. tags:
  24012. - 企业风险管理(app)
  24013. /Ermcp/QueryGGConvertConfig:
  24014. get:
  24015. parameters:
  24016. - description: 品种id(不填则查所有)
  24017. in: query
  24018. name: goodsgroupid
  24019. type: integer
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. items:
  24027. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24028. type: array
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24036. tags:
  24037. - 企业风险管理(app)
  24038. /Ermcp/QueryGoodsBrand:
  24039. get:
  24040. parameters:
  24041. - description: 用户ID
  24042. in: query
  24043. name: userid
  24044. required: true
  24045. type: integer
  24046. - description: 现货商品ID
  24047. in: query
  24048. name: wrstandardid
  24049. type: integer
  24050. produces:
  24051. - application/json
  24052. responses:
  24053. "200":
  24054. description: OK
  24055. schema:
  24056. items:
  24057. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24058. type: array
  24059. "500":
  24060. description: Internal Server Error
  24061. schema:
  24062. $ref: '#/definitions/app.Response'
  24063. security:
  24064. - ApiKeyAuth: []
  24065. summary: 查询商品品牌
  24066. tags:
  24067. - 企业风险管理(app)
  24068. /Ermcp/QueryGoodsModel:
  24069. get:
  24070. parameters:
  24071. - description: 用户ID
  24072. in: query
  24073. name: userid
  24074. required: true
  24075. type: integer
  24076. produces:
  24077. - application/json
  24078. responses:
  24079. "200":
  24080. description: OK
  24081. schema:
  24082. items:
  24083. $ref: '#/definitions/models.ErmcpGoodsModel'
  24084. type: array
  24085. "500":
  24086. description: Internal Server Error
  24087. schema:
  24088. $ref: '#/definitions/app.Response'
  24089. security:
  24090. - ApiKeyAuth: []
  24091. summary: 查询商品型号
  24092. tags:
  24093. - 企业风险管理(app)
  24094. /Ermcp/QueryHisExposure:
  24095. get:
  24096. parameters:
  24097. - description: 用户id
  24098. in: query
  24099. name: userid
  24100. required: true
  24101. type: integer
  24102. - description: 每个品种记录数
  24103. in: query
  24104. name: lastNum
  24105. required: true
  24106. type: integer
  24107. produces:
  24108. - application/json
  24109. responses:
  24110. "200":
  24111. description: OK
  24112. schema:
  24113. items:
  24114. $ref: '#/definitions/ermcp.HisExposureRsp'
  24115. type: array
  24116. "500":
  24117. description: Internal Server Error
  24118. schema:
  24119. $ref: '#/definitions/app.Response'
  24120. security:
  24121. - ApiKeyAuth: []
  24122. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24123. tags:
  24124. - 企业风险管理(app)
  24125. /Ermcp/QueryMiddleGoods:
  24126. get:
  24127. parameters:
  24128. - description: 所属机构ID
  24129. in: query
  24130. name: userid
  24131. required: true
  24132. type: integer
  24133. - description: 状态 0-停用 1-正常
  24134. in: query
  24135. name: status
  24136. required: true
  24137. type: integer
  24138. produces:
  24139. - application/json
  24140. responses:
  24141. "200":
  24142. description: OK
  24143. schema:
  24144. items:
  24145. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24146. type: array
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 查询套保品种(菜单:套保品种)
  24154. tags:
  24155. - 企业风险管理(app)
  24156. /Ermcp/QueryMiddleGoodsChangeLog:
  24157. get:
  24158. parameters:
  24159. - description: 所属机构ID
  24160. in: query
  24161. name: userid
  24162. required: true
  24163. type: integer
  24164. - description: 套保品种id
  24165. in: query
  24166. name: middlegoodsid
  24167. required: true
  24168. type: integer
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. items:
  24176. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24177. type: array
  24178. "500":
  24179. description: Internal Server Error
  24180. schema:
  24181. $ref: '#/definitions/app.Response'
  24182. security:
  24183. - ApiKeyAuth: []
  24184. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24185. tags:
  24186. - 企业风险管理(app)
  24187. /Ermcp/QueryMiddleGoodsDetail:
  24188. get:
  24189. parameters:
  24190. - description: 所属机构ID
  24191. in: query
  24192. name: userid
  24193. required: true
  24194. type: integer
  24195. - description: 套保品种id
  24196. in: query
  24197. name: middlegoodsid
  24198. type: integer
  24199. produces:
  24200. - application/json
  24201. responses:
  24202. "200":
  24203. description: OK
  24204. schema:
  24205. items:
  24206. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24207. type: array
  24208. "500":
  24209. description: Internal Server Error
  24210. schema:
  24211. $ref: '#/definitions/app.Response'
  24212. security:
  24213. - ApiKeyAuth: []
  24214. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24215. tags:
  24216. - 企业风险管理(app)
  24217. /Ermcp/QueryPendingAuditInfo:
  24218. get:
  24219. parameters:
  24220. - description: 用户ID
  24221. in: query
  24222. name: UserId
  24223. required: true
  24224. type: integer
  24225. produces:
  24226. - application/json
  24227. responses:
  24228. "200":
  24229. description: OK
  24230. schema:
  24231. items:
  24232. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24233. type: array
  24234. "500":
  24235. description: Internal Server Error
  24236. schema:
  24237. $ref: '#/definitions/app.Response'
  24238. security:
  24239. - ApiKeyAuth: []
  24240. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24241. tags:
  24242. - 企业风险管理(app)
  24243. /Ermcp/QueryRealtimeExposure:
  24244. get:
  24245. parameters:
  24246. - description: 所属机构ID
  24247. in: query
  24248. name: userid
  24249. required: true
  24250. type: integer
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. items:
  24258. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24259. type: array
  24260. "500":
  24261. description: Internal Server Error
  24262. schema:
  24263. $ref: '#/definitions/app.Response'
  24264. security:
  24265. - ApiKeyAuth: []
  24266. summary: 查询实时敞口
  24267. tags:
  24268. - 企业风险管理(app)
  24269. /Ermcp/QueryRealtimeExposurePosition:
  24270. get:
  24271. parameters:
  24272. - description: 用户id
  24273. in: query
  24274. name: userid
  24275. required: true
  24276. type: integer
  24277. - description: 套保商品ID
  24278. in: query
  24279. name: middleGoodsId
  24280. required: true
  24281. type: integer
  24282. produces:
  24283. - application/json
  24284. responses:
  24285. "200":
  24286. description: OK
  24287. schema:
  24288. items:
  24289. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24290. type: array
  24291. "500":
  24292. description: Internal Server Error
  24293. schema:
  24294. $ref: '#/definitions/app.Response'
  24295. security:
  24296. - ApiKeyAuth: []
  24297. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24298. tags:
  24299. - 企业风险管理(app)
  24300. /Ermcp/QueryRoleMenu:
  24301. get:
  24302. parameters:
  24303. - description: 登录ID
  24304. in: query
  24305. name: loginid
  24306. required: true
  24307. type: integer
  24308. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24309. in: query
  24310. name: menutype
  24311. type: integer
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. items:
  24319. $ref: '#/definitions/models.RoleMenu'
  24320. type: array
  24321. "500":
  24322. description: Internal Server Error
  24323. schema:
  24324. $ref: '#/definitions/app.Response'
  24325. security:
  24326. - ApiKeyAuth: []
  24327. summary: 查询角色菜单和权限
  24328. tags:
  24329. - 企业风险管理(app)
  24330. /Ermcp/QueryTradeConfigTMP:
  24331. get:
  24332. parameters:
  24333. - description: 所属机构id
  24334. in: query
  24335. name: areauserid
  24336. type: integer
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. items:
  24344. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24345. type: array
  24346. "500":
  24347. description: Internal Server Error
  24348. schema:
  24349. $ref: '#/definitions/app.Response'
  24350. security:
  24351. - ApiKeyAuth: []
  24352. summary: 查询交易模板配置
  24353. tags:
  24354. - 企业风险管理(app)
  24355. /Ermcp/QueryUserInfo:
  24356. get:
  24357. parameters:
  24358. - description: 所属机构用户ID
  24359. in: query
  24360. name: MemberUserID
  24361. required: true
  24362. type: integer
  24363. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24364. in: query
  24365. name: queryType
  24366. required: true
  24367. type: integer
  24368. produces:
  24369. - application/json
  24370. responses:
  24371. "200":
  24372. description: OK
  24373. schema:
  24374. items:
  24375. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24376. type: array
  24377. "500":
  24378. description: Internal Server Error
  24379. schema:
  24380. $ref: '#/definitions/app.Response'
  24381. security:
  24382. - ApiKeyAuth: []
  24383. summary: 查询客户资料
  24384. tags:
  24385. - 企业风险管理(app)
  24386. /Ermcp/QueryWarehouseInfo:
  24387. get:
  24388. parameters:
  24389. - description: 用户ID
  24390. in: query
  24391. name: userid
  24392. required: true
  24393. type: integer
  24394. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24395. in: query
  24396. name: status
  24397. type: string
  24398. produces:
  24399. - application/json
  24400. responses:
  24401. "200":
  24402. description: OK
  24403. schema:
  24404. items:
  24405. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24406. type: array
  24407. "500":
  24408. description: Internal Server Error
  24409. schema:
  24410. $ref: '#/definitions/app.Response'
  24411. security:
  24412. - ApiKeyAuth: []
  24413. summary: 查询仓库信息
  24414. tags:
  24415. - 企业风险管理(app)
  24416. /Ermcp3/QryAreaExpourseContractDetail:
  24417. get:
  24418. parameters:
  24419. - description: 用户ID
  24420. in: query
  24421. name: userid
  24422. required: true
  24423. type: integer
  24424. - description: 套保商品id
  24425. in: query
  24426. name: middlegoodsid
  24427. required: true
  24428. type: integer
  24429. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24430. in: query
  24431. name: cycletype
  24432. required: true
  24433. type: integer
  24434. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24435. 全(0)【原值】
  24436. in: query
  24437. name: cycletime
  24438. required: true
  24439. type: string
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. items:
  24447. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24448. type: array
  24449. "500":
  24450. description: Internal Server Error
  24451. schema:
  24452. $ref: '#/definitions/app.Response'
  24453. security:
  24454. - ApiKeyAuth: []
  24455. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24456. tags:
  24457. - 企业风险管理v3(app)
  24458. /Ermcp3/QryAreaExpourseFutuDetail:
  24459. get:
  24460. parameters:
  24461. - description: 用户ID
  24462. in: query
  24463. name: userid
  24464. required: true
  24465. type: integer
  24466. - description: 套保商品id
  24467. in: query
  24468. name: middlegoodsid
  24469. required: true
  24470. type: integer
  24471. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24472. in: query
  24473. name: cycletype
  24474. required: true
  24475. type: integer
  24476. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24477. 全(0)【原值】
  24478. in: query
  24479. name: cycletime
  24480. required: true
  24481. type: string
  24482. produces:
  24483. - application/json
  24484. responses:
  24485. "200":
  24486. description: OK
  24487. schema:
  24488. items:
  24489. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24490. type: array
  24491. "500":
  24492. description: Internal Server Error
  24493. schema:
  24494. $ref: '#/definitions/app.Response'
  24495. security:
  24496. - ApiKeyAuth: []
  24497. summary: 查询敞口期货明细(敞口报表/期货明细)
  24498. tags:
  24499. - 企业风险管理v3(app)
  24500. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24501. get:
  24502. parameters:
  24503. - description: 用户ID
  24504. in: query
  24505. name: userid
  24506. required: true
  24507. type: integer
  24508. - description: 套保商品id
  24509. in: query
  24510. name: middlegoodsid
  24511. required: true
  24512. type: integer
  24513. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24514. in: query
  24515. name: cycletype
  24516. required: true
  24517. type: integer
  24518. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24519. 全(0)【原值】
  24520. in: query
  24521. name: cycletime
  24522. required: true
  24523. type: string
  24524. produces:
  24525. - application/json
  24526. responses:
  24527. "200":
  24528. description: OK
  24529. schema:
  24530. items:
  24531. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24532. type: array
  24533. "500":
  24534. description: Internal Server Error
  24535. schema:
  24536. $ref: '#/definitions/app.Response'
  24537. security:
  24538. - ApiKeyAuth: []
  24539. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24540. tags:
  24541. - 企业风险管理v3(app)
  24542. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24543. get:
  24544. parameters:
  24545. - description: 用户ID
  24546. in: query
  24547. name: userid
  24548. required: true
  24549. type: integer
  24550. - description: 套保商品id
  24551. in: query
  24552. name: middlegoodsid
  24553. required: true
  24554. type: integer
  24555. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24556. in: query
  24557. name: cycletype
  24558. required: true
  24559. type: integer
  24560. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24561. 全(0)【原值】
  24562. in: query
  24563. name: cycletime
  24564. required: true
  24565. type: string
  24566. produces:
  24567. - application/json
  24568. responses:
  24569. "200":
  24570. description: OK
  24571. schema:
  24572. items:
  24573. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24574. type: array
  24575. "500":
  24576. description: Internal Server Error
  24577. schema:
  24578. $ref: '#/definitions/app.Response'
  24579. security:
  24580. - ApiKeyAuth: []
  24581. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24582. tags:
  24583. - 企业风险管理v3(app)
  24584. /Ermcp3/QryAreaExpourseReport:
  24585. get:
  24586. parameters:
  24587. - description: 用户ID
  24588. in: query
  24589. name: userid
  24590. required: true
  24591. type: integer
  24592. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24593. in: query
  24594. name: querytype
  24595. required: true
  24596. type: integer
  24597. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24598. in: query
  24599. name: cycletype
  24600. required: true
  24601. type: integer
  24602. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24603. 全(0)【原值】
  24604. in: query
  24605. name: cycletime
  24606. required: true
  24607. type: string
  24608. produces:
  24609. - application/json
  24610. responses:
  24611. "200":
  24612. description: OK
  24613. schema:
  24614. items:
  24615. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24616. type: array
  24617. "500":
  24618. description: Internal Server Error
  24619. schema:
  24620. $ref: '#/definitions/app.Response'
  24621. security:
  24622. - ApiKeyAuth: []
  24623. summary: 查询敞口报表
  24624. tags:
  24625. - 企业风险管理v3(app)
  24626. /Ermcp3/QryAreaSpotplReport:
  24627. get:
  24628. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24629. parameters:
  24630. - description: 用户ID
  24631. in: query
  24632. name: userid
  24633. required: true
  24634. type: integer
  24635. - description: 查询类型 1-报表 2-报表明细
  24636. in: query
  24637. name: querytype
  24638. required: true
  24639. type: integer
  24640. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24641. in: query
  24642. name: cycletype
  24643. required: true
  24644. type: integer
  24645. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24646. 全(0)【原值】
  24647. in: query
  24648. name: cycletime
  24649. required: true
  24650. type: string
  24651. - description: 现货品种id(明细必填)
  24652. in: query
  24653. name: deliverygoodsid
  24654. type: integer
  24655. - description: 币种id(明细必填)
  24656. in: query
  24657. name: currencyid
  24658. type: integer
  24659. - description: 日/周/月报表汇总维度 1:品种+品类
  24660. in: query
  24661. name: sumflag
  24662. type: integer
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. items:
  24670. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24671. type: array
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. summary: 查询现货报表
  24679. tags:
  24680. - 企业风险管理v3(app)
  24681. /Ermcp3/QryAreaStockReport:
  24682. get:
  24683. parameters:
  24684. - description: 用户ID
  24685. in: query
  24686. name: userid
  24687. required: true
  24688. type: integer
  24689. - description: 查询类型 1-报表 2-报表明细
  24690. in: query
  24691. name: querytype
  24692. required: true
  24693. type: integer
  24694. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24695. in: query
  24696. name: cycletype
  24697. required: true
  24698. type: integer
  24699. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24700. 全(0)【原值】
  24701. in: query
  24702. name: cycletime
  24703. required: true
  24704. type: string
  24705. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24706. in: query
  24707. name: sumfields
  24708. type: string
  24709. - description: 品种ID
  24710. in: query
  24711. name: deliverygoodsid
  24712. type: integer
  24713. - description: 品类ID
  24714. in: query
  24715. name: wrstandardid
  24716. type: integer
  24717. - description: 品牌ID
  24718. in: query
  24719. name: spotgoodsbrandid
  24720. type: integer
  24721. - description: 仓库ID
  24722. in: query
  24723. name: warehouseinfoid
  24724. type: integer
  24725. produces:
  24726. - application/json
  24727. responses:
  24728. "200":
  24729. description: OK
  24730. schema:
  24731. items:
  24732. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24733. type: array
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 查询库存报表
  24741. tags:
  24742. - 企业风险管理v3(app)
  24743. /Ermcp3/QryAreaSumPL:
  24744. get:
  24745. parameters:
  24746. - description: 用户ID
  24747. in: query
  24748. name: userid
  24749. required: true
  24750. type: integer
  24751. - description: 查询类型 1-报表 2-报表明细
  24752. in: query
  24753. name: querytype
  24754. required: true
  24755. type: integer
  24756. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24757. in: query
  24758. name: cycletype
  24759. required: true
  24760. type: integer
  24761. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24762. 全(0)【原值】
  24763. in: query
  24764. name: cycletime
  24765. required: true
  24766. type: string
  24767. - description: 币种id(明细必填)
  24768. in: query
  24769. name: currencyid
  24770. type: integer
  24771. - description: 套保品种ID, 查询类型为2时起效
  24772. in: query
  24773. name: middlegoodsid
  24774. type: integer
  24775. produces:
  24776. - application/json
  24777. responses:
  24778. "200":
  24779. description: OK
  24780. schema:
  24781. items:
  24782. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24783. type: array
  24784. "500":
  24785. description: Internal Server Error
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. security:
  24789. - ApiKeyAuth: []
  24790. summary: 查询汇总损益表
  24791. tags:
  24792. - 企业风险管理v3(app)
  24793. /Ermcp3/QryFinanceReport:
  24794. get:
  24795. parameters:
  24796. - description: 用户ID
  24797. in: query
  24798. name: userid
  24799. required: true
  24800. type: integer
  24801. - description: 查询类型 1-报表 2-报表明细
  24802. in: query
  24803. name: querytype
  24804. required: true
  24805. type: integer
  24806. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24807. in: query
  24808. name: cycletype
  24809. required: true
  24810. type: integer
  24811. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24812. 全(0)【原值】
  24813. in: query
  24814. name: cycletime
  24815. required: true
  24816. type: string
  24817. - description: 币种id(报表明细必填)
  24818. in: query
  24819. name: currencyid
  24820. type: integer
  24821. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24822. in: query
  24823. name: sumfields
  24824. type: string
  24825. produces:
  24826. - application/json
  24827. responses:
  24828. "200":
  24829. description: OK
  24830. schema:
  24831. items:
  24832. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24833. type: array
  24834. "500":
  24835. description: Internal Server Error
  24836. schema:
  24837. $ref: '#/definitions/app.Response'
  24838. security:
  24839. - ApiKeyAuth: []
  24840. summary: 查询财务报表
  24841. tags:
  24842. - 企业风险管理v3(app)
  24843. /Ermcp3/QrySCMiddleGoodsReport:
  24844. get:
  24845. parameters:
  24846. - description: 用户ID
  24847. in: query
  24848. name: userid
  24849. required: true
  24850. type: integer
  24851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24852. in: query
  24853. name: cycletype
  24854. required: true
  24855. type: integer
  24856. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24857. 全(0)【原值】
  24858. in: query
  24859. name: cycletime
  24860. required: true
  24861. type: string
  24862. - description: 合同id
  24863. in: query
  24864. name: spotcontractid
  24865. type: integer
  24866. - description: 套保品种id
  24867. in: query
  24868. name: middlegoodsid
  24869. type: integer
  24870. - description: 现货品种id
  24871. in: query
  24872. name: deliverygoodsid
  24873. type: integer
  24874. - description: 现货商品id
  24875. in: query
  24876. name: wrstandardid
  24877. type: integer
  24878. - description: 合同编号(模糊匹配)
  24879. in: query
  24880. name: contractno
  24881. type: string
  24882. produces:
  24883. - application/json
  24884. responses:
  24885. "200":
  24886. description: OK
  24887. schema:
  24888. items:
  24889. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24890. type: array
  24891. "500":
  24892. description: Internal Server Error
  24893. schema:
  24894. $ref: '#/definitions/app.Response'
  24895. security:
  24896. - ApiKeyAuth: []
  24897. summary: 查询定价报表
  24898. tags:
  24899. - 企业风险管理v3(app)
  24900. /Ermcp3/QryTaFutureDataReport:
  24901. get:
  24902. parameters:
  24903. - description: 用户ID
  24904. in: query
  24905. name: userid
  24906. required: true
  24907. type: integer
  24908. - description: 查询类型 1-报表 2-报表明细
  24909. in: query
  24910. name: querytype
  24911. required: true
  24912. type: integer
  24913. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24914. in: query
  24915. name: cycletype
  24916. required: true
  24917. type: integer
  24918. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24919. 全(0)【原值】
  24920. in: query
  24921. name: cycletime
  24922. required: true
  24923. type: string
  24924. - description: 币种id(查明细必填)
  24925. in: query
  24926. name: currencyid
  24927. type: integer
  24928. - description: 品种id(查明细必填)
  24929. in: query
  24930. name: goodsgroupid
  24931. type: integer
  24932. - description: 商品id(查明细必填)
  24933. in: query
  24934. name: goodsid
  24935. type: integer
  24936. - description: 买卖方向(查明细必填)
  24937. in: query
  24938. name: buyorsell
  24939. type: integer
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. items:
  24947. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24948. type: array
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 查询期货报表
  24956. tags:
  24957. - 企业风险管理v3(app)
  24958. /Ermcp3/QueryAreaStock:
  24959. get:
  24960. parameters:
  24961. - description: 用户ID
  24962. in: query
  24963. name: userid
  24964. required: true
  24965. type: integer
  24966. produces:
  24967. - application/json
  24968. responses:
  24969. "200":
  24970. description: OK
  24971. schema:
  24972. items:
  24973. $ref: '#/definitions/models.Ermcp3AreaStock'
  24974. type: array
  24975. "500":
  24976. description: Internal Server Error
  24977. schema:
  24978. $ref: '#/definitions/app.Response'
  24979. security:
  24980. - ApiKeyAuth: []
  24981. summary: 查询机构库存(库存管理/当前库存)
  24982. tags:
  24983. - 企业风险管理v3(app)
  24984. /Ermcp3/QueryAreaStockApply:
  24985. get:
  24986. parameters:
  24987. - description: 用户ID
  24988. in: query
  24989. name: userid
  24990. required: true
  24991. type: integer
  24992. - description: 用户类型 2-机构 7-企业成员
  24993. in: query
  24994. name: usertype
  24995. type: integer
  24996. - description: 现货商品ID
  24997. in: query
  24998. name: deliverygoodsid
  24999. type: integer
  25000. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25001. in: query
  25002. name: inouttype
  25003. type: string
  25004. - description: 合同ID
  25005. in: query
  25006. name: spotcontractid
  25007. type: integer
  25008. - description: 品类ID
  25009. in: query
  25010. name: wrstandardid
  25011. type: integer
  25012. - description: 品牌ID
  25013. in: query
  25014. name: spotgoodsbrandid
  25015. type: integer
  25016. - description: 仓库ID
  25017. in: query
  25018. name: warehouseinfoid
  25019. type: integer
  25020. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25021. in: query
  25022. name: applystatus
  25023. type: string
  25024. produces:
  25025. - application/json
  25026. responses:
  25027. "200":
  25028. description: OK
  25029. schema:
  25030. items:
  25031. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25032. type: array
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. summary: 查询库存申请(出入库记录|库存审核)
  25040. tags:
  25041. - 企业风险管理v3(app)
  25042. /Ermcp3/QueryAreaStockApplySum:
  25043. get:
  25044. parameters:
  25045. - description: 合同ID
  25046. in: query
  25047. name: spotcontractid
  25048. required: true
  25049. type: integer
  25050. produces:
  25051. - application/json
  25052. responses:
  25053. "200":
  25054. description: OK
  25055. schema:
  25056. items:
  25057. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25058. type: array
  25059. "500":
  25060. description: Internal Server Error
  25061. schema:
  25062. $ref: '#/definitions/app.Response'
  25063. security:
  25064. - ApiKeyAuth: []
  25065. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25066. tags:
  25067. - 企业风险管理v3(app)
  25068. /Ermcp3/QueryDGFactoryItem:
  25069. get:
  25070. parameters:
  25071. - description: 用户id
  25072. in: query
  25073. name: userid
  25074. type: integer
  25075. - description: 用户类型 2-机构 7-企业成员
  25076. in: query
  25077. name: usertype
  25078. type: integer
  25079. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25080. in: query
  25081. name: dgfactoryitemid
  25082. type: integer
  25083. - description: 现货品种ID
  25084. in: query
  25085. name: deliverygoodsid
  25086. type: integer
  25087. - description: 要素项类型
  25088. in: query
  25089. name: dgfactoryitemtypeid
  25090. type: integer
  25091. - description: 顺序
  25092. in: query
  25093. name: orderindex
  25094. type: integer
  25095. produces:
  25096. - application/json
  25097. responses:
  25098. "200":
  25099. description: OK
  25100. schema:
  25101. items:
  25102. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25103. type: array
  25104. "500":
  25105. description: Internal Server Error
  25106. schema:
  25107. $ref: '#/definitions/app.Response'
  25108. security:
  25109. - ApiKeyAuth: []
  25110. summary: 查询品种要素定义项
  25111. tags:
  25112. - 企业风险管理v3(app)
  25113. /Ermcp3/QueryDeliveryGoods:
  25114. get:
  25115. parameters:
  25116. - description: 用户id
  25117. in: query
  25118. name: userid
  25119. required: true
  25120. type: integer
  25121. - description: 用户类型 2-机构 7-企业成员
  25122. in: query
  25123. name: usertype
  25124. type: integer
  25125. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25126. in: query
  25127. name: excludecfg
  25128. type: integer
  25129. produces:
  25130. - application/json
  25131. responses:
  25132. "200":
  25133. description: OK
  25134. schema:
  25135. items:
  25136. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25137. type: array
  25138. "500":
  25139. description: Internal Server Error
  25140. schema:
  25141. $ref: '#/definitions/app.Response'
  25142. security:
  25143. - ApiKeyAuth: []
  25144. summary: 查询现货商品
  25145. tags:
  25146. - 企业风险管理v3(app)
  25147. /Ermcp3/QueryDeliveryGoodsDetail:
  25148. get:
  25149. parameters:
  25150. - description: 用户id
  25151. in: query
  25152. name: userid
  25153. required: true
  25154. type: integer
  25155. - description: 用户类型 2-机构 7-企业成员
  25156. in: query
  25157. name: usertype
  25158. type: integer
  25159. - description: 现货商品id
  25160. in: query
  25161. name: deliverygoodsid
  25162. type: integer
  25163. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25164. in: query
  25165. name: filtersubempty
  25166. type: integer
  25167. produces:
  25168. - application/json
  25169. responses:
  25170. "200":
  25171. description: OK
  25172. schema:
  25173. items:
  25174. $ref: '#/definitions/models.XHDeliveryGoods'
  25175. type: array
  25176. "500":
  25177. description: Internal Server Error
  25178. schema:
  25179. $ref: '#/definitions/app.Response'
  25180. security:
  25181. - ApiKeyAuth: []
  25182. summary: 查询现货商品详情
  25183. tags:
  25184. - 企业风险管理v3(app)
  25185. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25186. get:
  25187. parameters:
  25188. - description: 合同id
  25189. in: query
  25190. name: spotcontractid
  25191. required: true
  25192. type: string
  25193. produces:
  25194. - application/json
  25195. responses:
  25196. "200":
  25197. description: OK
  25198. schema:
  25199. items:
  25200. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25201. type: array
  25202. "500":
  25203. description: Internal Server Error
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. security:
  25207. - ApiKeyAuth: []
  25208. summary: 查询现货合同期现配置信息
  25209. tags:
  25210. - 企业风险管理v3(app)
  25211. /Ermcp3/QueryExposureDetail:
  25212. get:
  25213. parameters:
  25214. - description: 用户id
  25215. in: query
  25216. name: userid
  25217. required: true
  25218. type: integer
  25219. - description: 用户类型 2-机构 7-企业成员
  25220. in: query
  25221. name: usertype
  25222. type: integer
  25223. - description: 套保商品
  25224. in: query
  25225. name: middlegoodsid
  25226. required: true
  25227. type: integer
  25228. produces:
  25229. - application/json
  25230. responses:
  25231. "200":
  25232. description: OK
  25233. schema:
  25234. items:
  25235. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25236. type: array
  25237. "500":
  25238. description: Internal Server Error
  25239. schema:
  25240. $ref: '#/definitions/app.Response'
  25241. security:
  25242. - ApiKeyAuth: []
  25243. summary: 查询敞口现货明细
  25244. tags:
  25245. - 企业风险管理v3(app)
  25246. /Ermcp3/QueryExposureSpot:
  25247. get:
  25248. parameters:
  25249. - description: 用户id
  25250. in: query
  25251. name: userid
  25252. required: true
  25253. type: integer
  25254. - description: 用户类型 2-机构 7-企业成员
  25255. in: query
  25256. name: usertype
  25257. type: integer
  25258. produces:
  25259. - application/json
  25260. responses:
  25261. "200":
  25262. description: OK
  25263. schema:
  25264. items:
  25265. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25266. type: array
  25267. "500":
  25268. description: Internal Server Error
  25269. schema:
  25270. $ref: '#/definitions/app.Response'
  25271. security:
  25272. - ApiKeyAuth: []
  25273. summary: 查询敞口现货头寸(敞口/现货头寸)
  25274. tags:
  25275. - 企业风险管理v3(app)
  25276. /Ermcp3/QueryExposureSpotDetail:
  25277. get:
  25278. parameters:
  25279. - description: 用户id
  25280. in: query
  25281. name: userid
  25282. required: true
  25283. type: integer
  25284. - description: 用户类型 2-机构 7-企业成员
  25285. in: query
  25286. name: usertype
  25287. type: integer
  25288. - description: 现货商品ID
  25289. in: query
  25290. name: wrstandardid
  25291. required: true
  25292. type: integer
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. items:
  25300. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25301. type: array
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25309. tags:
  25310. - 企业风险管理v3(app)
  25311. /Ermcp3/QueryGoodsGroup:
  25312. get:
  25313. parameters:
  25314. - description: 用户id
  25315. in: query
  25316. name: userid
  25317. required: true
  25318. type: integer
  25319. - description: 用户类型 2-机构 7-企业成员
  25320. in: query
  25321. name: usertype
  25322. type: integer
  25323. - description: 排除套保品中已关联的商品组 1-排除
  25324. in: query
  25325. name: excludecfg
  25326. type: integer
  25327. produces:
  25328. - application/json
  25329. responses:
  25330. "200":
  25331. description: OK
  25332. schema:
  25333. items:
  25334. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25335. type: array
  25336. "500":
  25337. description: Internal Server Error
  25338. schema:
  25339. $ref: '#/definitions/app.Response'
  25340. security:
  25341. - ApiKeyAuth: []
  25342. summary: 查询期货商品组
  25343. tags:
  25344. - 企业风险管理v3(app)
  25345. /Ermcp3/QueryGoodsWrstandard:
  25346. get:
  25347. parameters:
  25348. - description: 用户id
  25349. in: query
  25350. name: userid
  25351. required: true
  25352. type: integer
  25353. - description: 用户类型 2-机构 7-企业成员
  25354. in: query
  25355. name: usertype
  25356. type: integer
  25357. - description: 现货商品id
  25358. in: query
  25359. name: deliverygoodsid
  25360. type: integer
  25361. produces:
  25362. - application/json
  25363. responses:
  25364. "200":
  25365. description: OK
  25366. schema:
  25367. items:
  25368. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25369. type: array
  25370. "500":
  25371. description: Internal Server Error
  25372. schema:
  25373. $ref: '#/definitions/app.Response'
  25374. security:
  25375. - ApiKeyAuth: []
  25376. summary: 查询商品品类
  25377. tags:
  25378. - 企业风险管理v3(app)
  25379. /Ermcp3/QueryGoodsbrand:
  25380. get:
  25381. parameters:
  25382. - description: 用户id
  25383. in: query
  25384. name: userid
  25385. required: true
  25386. type: integer
  25387. - description: 用户类型 2-机构 7-企业成员
  25388. in: query
  25389. name: usertype
  25390. type: integer
  25391. produces:
  25392. - application/json
  25393. responses:
  25394. "200":
  25395. description: OK
  25396. schema:
  25397. items:
  25398. $ref: '#/definitions/models.Ermcp3Brand'
  25399. type: array
  25400. "500":
  25401. description: Internal Server Error
  25402. schema:
  25403. $ref: '#/definitions/app.Response'
  25404. security:
  25405. - ApiKeyAuth: []
  25406. summary: 查询商品品牌
  25407. tags:
  25408. - 企业风险管理v3(app)
  25409. /Ermcp3/QueryHPMiddleGoods:
  25410. get:
  25411. parameters:
  25412. - description: 用户ID(填登录用户的userid)
  25413. in: query
  25414. name: userid
  25415. required: true
  25416. type: integer
  25417. - description: 买卖方向 0-买 1-卖
  25418. in: query
  25419. name: buyorsell
  25420. required: true
  25421. type: integer
  25422. - description: 商品组id
  25423. in: query
  25424. name: goodsgroupid
  25425. required: true
  25426. type: integer
  25427. - description: 套保计划编号(模糊匹配)
  25428. in: query
  25429. name: hedgeplanno
  25430. type: string
  25431. - description: 现货商品名称(模糊匹配)
  25432. in: query
  25433. name: wrstandardname
  25434. type: string
  25435. produces:
  25436. - application/json
  25437. responses:
  25438. "200":
  25439. description: OK
  25440. schema:
  25441. items:
  25442. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25443. type: array
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 查询可关联套保计划
  25451. tags:
  25452. - 企业风险管理v3(app)
  25453. /Ermcp3/QueryHedgePlan:
  25454. get:
  25455. parameters:
  25456. - description: 用户ID
  25457. in: query
  25458. name: userid
  25459. required: true
  25460. type: integer
  25461. - description: 用户类型 2-机构 7-企业成员
  25462. in: query
  25463. name: usertype
  25464. type: integer
  25465. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25466. in: query
  25467. name: hedgeplanstatus
  25468. required: true
  25469. type: string
  25470. produces:
  25471. - application/json
  25472. responses:
  25473. "200":
  25474. description: OK
  25475. schema:
  25476. items:
  25477. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25478. type: array
  25479. "500":
  25480. description: Internal Server Error
  25481. schema:
  25482. $ref: '#/definitions/app.Response'
  25483. security:
  25484. - ApiKeyAuth: []
  25485. summary: 查询套保计划
  25486. tags:
  25487. - 企业风险管理v3(app)
  25488. /Ermcp3/QueryInnerTradeLink:
  25489. get:
  25490. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25491. parameters:
  25492. - description: 外部成交单号
  25493. in: query
  25494. name: outtradeid
  25495. required: true
  25496. type: integer
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. items:
  25504. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25505. type: array
  25506. "500":
  25507. description: Internal Server Error
  25508. schema:
  25509. $ref: '#/definitions/app.Response'
  25510. security:
  25511. - ApiKeyAuth: []
  25512. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25513. tags:
  25514. - 企业风险管理v3(app)
  25515. /Ermcp3/QueryMiddleGoodsDetail:
  25516. get:
  25517. parameters:
  25518. - description: 用户id
  25519. in: query
  25520. name: userid
  25521. required: true
  25522. type: integer
  25523. - description: 用户类型 2-机构 7-企业成员
  25524. in: query
  25525. name: usertype
  25526. type: integer
  25527. - description: 套保品种id
  25528. in: query
  25529. name: middlegoodsid
  25530. type: integer
  25531. produces:
  25532. - application/json
  25533. responses:
  25534. "200":
  25535. description: OK
  25536. schema:
  25537. items:
  25538. $ref: '#/definitions/models.TBMiddleGoods'
  25539. type: array
  25540. "500":
  25541. description: Internal Server Error
  25542. schema:
  25543. $ref: '#/definitions/app.Response'
  25544. security:
  25545. - ApiKeyAuth: []
  25546. summary: 查询套保品种详情(套保品种/商品详情)
  25547. tags:
  25548. - 企业风险管理v3(app)
  25549. /Ermcp3/QueryOutTradeLink:
  25550. get:
  25551. description: 页面 app 现货->期现关联->外部成交单关联
  25552. parameters:
  25553. - description: 用户ID(填登录用户的userid)
  25554. in: query
  25555. name: userid
  25556. required: true
  25557. type: integer
  25558. - description: 外部订单号(模糊匹配)
  25559. in: query
  25560. name: outtradeid
  25561. type: string
  25562. - description: 合约名称/代码(模糊匹配)
  25563. in: query
  25564. name: goodsname
  25565. type: string
  25566. - description: 关联状态 0-未关联 1-已关联
  25567. in: query
  25568. name: hasinnerorder
  25569. type: integer
  25570. produces:
  25571. - application/json
  25572. responses:
  25573. "200":
  25574. description: OK
  25575. schema:
  25576. items:
  25577. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25578. type: array
  25579. "500":
  25580. description: Internal Server Error
  25581. schema:
  25582. $ref: '#/definitions/app.Response'
  25583. security:
  25584. - ApiKeyAuth: []
  25585. summary: 查询外部成交单关联
  25586. tags:
  25587. - 企业风险管理v3(app)
  25588. /Ermcp3/QueryPaAreaAuditCfg:
  25589. get:
  25590. parameters:
  25591. - description: 用户id
  25592. in: query
  25593. name: userid
  25594. required: true
  25595. type: integer
  25596. produces:
  25597. - application/json
  25598. responses:
  25599. "200":
  25600. description: OK
  25601. schema:
  25602. items:
  25603. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25604. type: array
  25605. "500":
  25606. description: Internal Server Error
  25607. schema:
  25608. $ref: '#/definitions/app.Response'
  25609. security:
  25610. - ApiKeyAuth: []
  25611. summary: 查询审核设置
  25612. tags:
  25613. - 企业风险管理v3(app)
  25614. /Ermcp3/QueryPaAreaSubject:
  25615. get:
  25616. parameters:
  25617. - description: 用户id
  25618. in: query
  25619. name: userid
  25620. required: true
  25621. type: integer
  25622. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25623. in: query
  25624. name: subjectid
  25625. type: integer
  25626. - description: 主体类型 - 1:交易主体 2:业务部门
  25627. in: query
  25628. name: subjecttype
  25629. type: integer
  25630. - description: '主体状态 - 1:正常 2: 停用'
  25631. in: query
  25632. name: subjectstatus
  25633. type: integer
  25634. produces:
  25635. - application/json
  25636. responses:
  25637. "200":
  25638. description: OK
  25639. schema:
  25640. items:
  25641. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25642. type: array
  25643. "500":
  25644. description: Internal Server Error
  25645. schema:
  25646. $ref: '#/definitions/app.Response'
  25647. security:
  25648. - ApiKeyAuth: []
  25649. summary: 查询交易主体
  25650. tags:
  25651. - 企业风险管理v3(app)
  25652. /Ermcp3/QueryPaTradeLink:
  25653. get:
  25654. description: 页面 app 现货->期现关联->期现单据关联
  25655. parameters:
  25656. - description: 用户ID
  25657. in: query
  25658. name: userid
  25659. required: true
  25660. type: integer
  25661. produces:
  25662. - application/json
  25663. responses:
  25664. "200":
  25665. description: OK
  25666. schema:
  25667. items:
  25668. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25669. type: array
  25670. "500":
  25671. description: Internal Server Error
  25672. schema:
  25673. $ref: '#/definitions/app.Response'
  25674. security:
  25675. - ApiKeyAuth: []
  25676. summary: 查询期现单据关联
  25677. tags:
  25678. - 企业风险管理v3(app)
  25679. /Ermcp3/QueryPaTradeLinkDetail:
  25680. get:
  25681. description: 页面 app 现货->期现关联->关联记录
  25682. parameters:
  25683. - description: 用户ID(填登录用户的userid)
  25684. in: query
  25685. name: userid
  25686. required: true
  25687. type: integer
  25688. - description: 关联状态 1:成功 2:失败 3:解绑
  25689. in: query
  25690. name: linkstatus
  25691. type: integer
  25692. - description: 期货订单号(模糊匹配)
  25693. in: query
  25694. name: tradeid
  25695. type: string
  25696. - description: 现货编号(模糊匹配)
  25697. in: query
  25698. name: contractno
  25699. type: string
  25700. - description: 期货账户(模糊匹配)
  25701. in: query
  25702. name: taname
  25703. type: string
  25704. produces:
  25705. - application/json
  25706. responses:
  25707. "200":
  25708. description: OK
  25709. schema:
  25710. items:
  25711. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25712. type: array
  25713. "500":
  25714. description: Internal Server Error
  25715. schema:
  25716. $ref: '#/definitions/app.Response'
  25717. security:
  25718. - ApiKeyAuth: []
  25719. summary: 查询期现关联记录
  25720. tags:
  25721. - 企业风险管理v3(app)
  25722. /Ermcp3/QueryParamChangeApp:
  25723. get:
  25724. description: |-
  25725. 原型页面:
  25726. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25727. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25728. parameters:
  25729. - description: 用户ID
  25730. in: query
  25731. name: userid
  25732. required: true
  25733. type: integer
  25734. - description: 现货品种id
  25735. in: query
  25736. name: deliverygoodsid
  25737. type: integer
  25738. - description: 现货商品id
  25739. in: query
  25740. name: wrstandardid
  25741. type: integer
  25742. - description: 套保商品id
  25743. in: query
  25744. name: middlegoodsid
  25745. type: integer
  25746. - description: 操作类型 1:新增 2:修改
  25747. in: query
  25748. name: operatetype
  25749. type: integer
  25750. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25751. in: query
  25752. name: paramchangetype
  25753. type: integer
  25754. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25755. in: query
  25756. name: ftstatus
  25757. type: string
  25758. produces:
  25759. - application/json
  25760. responses:
  25761. "200":
  25762. description: OK
  25763. schema:
  25764. items:
  25765. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25766. type: array
  25767. "500":
  25768. description: Internal Server Error
  25769. schema:
  25770. $ref: '#/definitions/app.Response'
  25771. security:
  25772. - ApiKeyAuth: []
  25773. summary: 查询现货商品参数变更申请(流水)
  25774. tags:
  25775. - 企业风险管理v3(app)
  25776. /Ermcp3/QueryRootUserAccount:
  25777. get:
  25778. parameters:
  25779. - description: 用户ID
  25780. in: query
  25781. name: userid
  25782. required: true
  25783. type: integer
  25784. produces:
  25785. - application/json
  25786. responses:
  25787. "200":
  25788. description: OK
  25789. schema:
  25790. items:
  25791. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25792. type: array
  25793. "500":
  25794. description: Internal Server Error
  25795. schema:
  25796. $ref: '#/definitions/app.Response'
  25797. security:
  25798. - ApiKeyAuth: []
  25799. summary: 查询顶级用户信息
  25800. tags:
  25801. - 企业风险管理v3(app)
  25802. /Ermcp3/QuerySCMiddleGoods:
  25803. get:
  25804. description: |-
  25805. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25806. 现货编号 即 合同编号
  25807. parameters:
  25808. - description: 用户ID(填登录用户的userid)
  25809. in: query
  25810. name: userid
  25811. required: true
  25812. type: integer
  25813. - description: 买卖方向 0-买 1-卖
  25814. in: query
  25815. name: buyorsell
  25816. required: true
  25817. type: integer
  25818. - description: 商品组id
  25819. in: query
  25820. name: goodsgroupid
  25821. required: true
  25822. type: integer
  25823. - description: 业务类型 1:套保 2:套利
  25824. in: query
  25825. name: biztype
  25826. type: integer
  25827. - description: 现货编号(模糊匹配)
  25828. in: query
  25829. name: contractno
  25830. type: string
  25831. - description: 对手方(模糊匹配)
  25832. in: query
  25833. name: customername
  25834. type: string
  25835. - description: 现货商品名称(模糊匹配)
  25836. in: query
  25837. name: wrstandardname
  25838. type: string
  25839. produces:
  25840. - application/json
  25841. responses:
  25842. "200":
  25843. description: OK
  25844. schema:
  25845. items:
  25846. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25847. type: array
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 查询现货订单
  25855. tags:
  25856. - 企业风险管理v3(app)
  25857. /Ermcp3/QuerySpotContract:
  25858. get:
  25859. parameters:
  25860. - description: 用户id(当指定contractid, userid可不填)
  25861. in: query
  25862. name: userid
  25863. required: true
  25864. type: integer
  25865. - description: 用户类型 2-机构 7-企业成员
  25866. in: query
  25867. name: usertype
  25868. type: integer
  25869. - description: 合同类型 1-采购, -1-销售
  25870. in: query
  25871. name: contracttype
  25872. type: integer
  25873. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25874. in: query
  25875. name: querytype
  25876. type: string
  25877. - description: 合同ID(SpotContractId)
  25878. in: query
  25879. name: contractid
  25880. type: string
  25881. - description: 合同编号(模糊匹配)
  25882. in: query
  25883. name: contractno
  25884. type: string
  25885. - description: 商品名称(模糊匹配)
  25886. in: query
  25887. name: wrstandardname
  25888. type: string
  25889. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25890. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25891. in: query
  25892. name: status
  25893. type: string
  25894. - description: 是否只查今日的合同 1-查今日合同
  25895. in: query
  25896. name: istoday
  25897. type: integer
  25898. produces:
  25899. - application/json
  25900. responses:
  25901. "200":
  25902. description: OK
  25903. schema:
  25904. items:
  25905. $ref: '#/definitions/models.Ermcp3Contract'
  25906. type: array
  25907. "500":
  25908. description: Internal Server Error
  25909. schema:
  25910. $ref: '#/definitions/app.Response'
  25911. security:
  25912. - ApiKeyAuth: []
  25913. summary: 查询现货合同
  25914. tags:
  25915. - 企业风险管理v3(app)
  25916. /Ermcp3/QuerySpotContractBS:
  25917. get:
  25918. parameters:
  25919. - description: 用户id
  25920. in: query
  25921. name: userid
  25922. required: true
  25923. type: integer
  25924. - description: 用户类型 2-机构 7-企业成员
  25925. in: query
  25926. name: usertype
  25927. type: integer
  25928. - description: 合同类型 1-采购, -1-销售
  25929. in: query
  25930. name: contracttype
  25931. required: true
  25932. type: integer
  25933. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25934. in: query
  25935. name: querytype
  25936. type: integer
  25937. - description: 合同ID(SpotContractId)
  25938. in: query
  25939. name: contractid
  25940. type: string
  25941. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25942. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25943. in: query
  25944. name: status
  25945. type: string
  25946. - description: 是否只查今日的合同 1-查今日合同
  25947. in: query
  25948. name: istoday
  25949. type: integer
  25950. produces:
  25951. - application/json
  25952. responses:
  25953. "200":
  25954. description: OK
  25955. schema:
  25956. items:
  25957. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25958. type: array
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 查询合同(采购/销售)
  25966. tags:
  25967. - 企业风险管理v3(app)
  25968. /Ermcp3/QuerySpotGoodsPrice:
  25969. get:
  25970. parameters:
  25971. - description: 用户ID
  25972. in: query
  25973. name: userid
  25974. required: true
  25975. type: integer
  25976. produces:
  25977. - application/json
  25978. responses:
  25979. "200":
  25980. description: OK
  25981. schema:
  25982. items:
  25983. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25984. type: array
  25985. "500":
  25986. description: Internal Server Error
  25987. schema:
  25988. $ref: '#/definitions/app.Response'
  25989. security:
  25990. - ApiKeyAuth: []
  25991. summary: 查询现货市价(现货市价)
  25992. tags:
  25993. - 企业风险管理v3(app)
  25994. /Ermcp3/QuerySpotGoodsPriceLog:
  25995. get:
  25996. parameters:
  25997. - description: 用户ID
  25998. in: query
  25999. name: userid
  26000. required: true
  26001. type: integer
  26002. - description: 现货商品ID
  26003. in: query
  26004. name: deliverygoodsid
  26005. required: true
  26006. type: integer
  26007. - description: 品牌ID
  26008. in: query
  26009. name: brandid
  26010. type: integer
  26011. - description: 品类ID
  26012. in: query
  26013. name: wrstandardid
  26014. type: integer
  26015. produces:
  26016. - application/json
  26017. responses:
  26018. "200":
  26019. description: OK
  26020. schema:
  26021. items:
  26022. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26023. type: array
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. security:
  26029. - ApiKeyAuth: []
  26030. summary: 查询现货市价详情(现货市价/详情)
  26031. tags:
  26032. - 企业风险管理v3(app)
  26033. /Ermcp3/QuerySubTaaccount:
  26034. get:
  26035. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26036. parameters:
  26037. - description: 母账号id
  26038. in: query
  26039. name: parentaccountid
  26040. type: integer
  26041. - description: 母账号代码
  26042. in: query
  26043. name: parentaccountcode
  26044. type: string
  26045. produces:
  26046. - application/json
  26047. responses:
  26048. "200":
  26049. description: OK
  26050. schema:
  26051. items:
  26052. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26053. type: array
  26054. "500":
  26055. description: Internal Server Error
  26056. schema:
  26057. $ref: '#/definitions/app.Response'
  26058. security:
  26059. - ApiKeyAuth: []
  26060. summary: 查询期货子账户
  26061. tags:
  26062. - 企业风险管理v3(app)
  26063. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26064. get:
  26065. parameters:
  26066. - description: 套期项目ID
  26067. in: query
  26068. name: hedgeditemid
  26069. required: true
  26070. type: integer
  26071. produces:
  26072. - application/json
  26073. responses:
  26074. "200":
  26075. description: OK
  26076. schema:
  26077. items:
  26078. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26079. type: array
  26080. "500":
  26081. description: Internal Server Error
  26082. schema:
  26083. $ref: '#/definitions/app.Response'
  26084. security:
  26085. - ApiKeyAuth: []
  26086. summary: 现货成交明细查询
  26087. tags:
  26088. - 企业风险管理v8
  26089. /Ermcp8/QueryERMCP2HedgedItemspot:
  26090. get:
  26091. parameters:
  26092. - description: 套期项目ID
  26093. in: query
  26094. name: hedgeditemid
  26095. required: true
  26096. type: integer
  26097. produces:
  26098. - application/json
  26099. responses:
  26100. "200":
  26101. description: OK
  26102. schema:
  26103. items:
  26104. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26105. type: array
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 套期计划明细查询
  26113. tags:
  26114. - 企业风险管理v8
  26115. /Ermcp8/QueryERMCPJRLinkPos:
  26116. get:
  26117. parameters:
  26118. - description: 套期项目ID
  26119. in: query
  26120. name: hedgeditemid
  26121. required: true
  26122. type: integer
  26123. produces:
  26124. - application/json
  26125. responses:
  26126. "200":
  26127. description: OK
  26128. schema:
  26129. items:
  26130. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26131. type: array
  26132. "500":
  26133. description: Internal Server Error
  26134. schema:
  26135. $ref: '#/definitions/app.Response'
  26136. security:
  26137. - ApiKeyAuth: []
  26138. summary: 期货持仓明细查询
  26139. tags:
  26140. - 企业风险管理v8
  26141. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26142. get:
  26143. parameters:
  26144. - description: 套期项目ID
  26145. in: query
  26146. name: hedgeditemid
  26147. required: true
  26148. type: integer
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. items:
  26156. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26157. type: array
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 期货成交单明细查询
  26165. tags:
  26166. - 企业风险管理v8
  26167. /Ermcp8/QueryErmcp2AreaExposure:
  26168. get:
  26169. parameters:
  26170. - description: 用户ID
  26171. in: query
  26172. name: userid
  26173. required: true
  26174. type: string
  26175. produces:
  26176. - application/json
  26177. responses:
  26178. "200":
  26179. description: OK
  26180. schema:
  26181. items:
  26182. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26183. type: array
  26184. "500":
  26185. description: Internal Server Error
  26186. schema:
  26187. $ref: '#/definitions/app.Response'
  26188. security:
  26189. - ApiKeyAuth: []
  26190. summary: 企业敞口查询
  26191. tags:
  26192. - 企业风险管理v8
  26193. /Ermcp8/QueryErmcp2HedgedItem:
  26194. get:
  26195. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26196. parameters:
  26197. - description: 用户ID
  26198. in: query
  26199. name: userid
  26200. required: true
  26201. type: string
  26202. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26203. in: query
  26204. name: hedgedtype
  26205. type: integer
  26206. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26207. in: query
  26208. name: hedgeditemstatus
  26209. type: integer
  26210. produces:
  26211. - application/json
  26212. responses:
  26213. "200":
  26214. description: OK
  26215. schema:
  26216. items:
  26217. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26218. type: array
  26219. "500":
  26220. description: Internal Server Error
  26221. schema:
  26222. $ref: '#/definitions/app.Response'
  26223. security:
  26224. - ApiKeyAuth: []
  26225. summary: 查询被套期项目信息
  26226. tags:
  26227. - 企业风险管理v8
  26228. /Ermcp8/QueryErmcp2HedgedItemLink:
  26229. get:
  26230. parameters:
  26231. - description: 现货合同ID
  26232. in: query
  26233. name: spotcontractid
  26234. required: true
  26235. type: integer
  26236. produces:
  26237. - application/json
  26238. responses:
  26239. "200":
  26240. description: OK
  26241. schema:
  26242. items:
  26243. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26244. type: array
  26245. "500":
  26246. description: Internal Server Error
  26247. schema:
  26248. $ref: '#/definitions/app.Response'
  26249. security:
  26250. - ApiKeyAuth: []
  26251. summary: 现货合同关联被套期项目查询
  26252. tags:
  26253. - 企业风险管理v8
  26254. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26255. get:
  26256. parameters:
  26257. - description: 用户ID
  26258. in: query
  26259. name: userid
  26260. required: true
  26261. type: integer
  26262. - description: 套保品种ID
  26263. in: query
  26264. name: middlegoodsid
  26265. required: true
  26266. type: integer
  26267. produces:
  26268. - application/json
  26269. responses:
  26270. "200":
  26271. description: OK
  26272. schema:
  26273. items:
  26274. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26275. type: array
  26276. "500":
  26277. description: Internal Server Error
  26278. schema:
  26279. $ref: '#/definitions/app.Response'
  26280. security:
  26281. - ApiKeyAuth: []
  26282. summary: 敞口明细 - 计划变动明细
  26283. tags:
  26284. - 企业风险管理v8
  26285. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26286. get:
  26287. parameters:
  26288. - description: 用户ID
  26289. in: query
  26290. name: userid
  26291. required: true
  26292. type: integer
  26293. - description: 套保品种ID
  26294. in: query
  26295. name: middlegoodsid
  26296. required: true
  26297. type: integer
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. items:
  26305. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26306. type: array
  26307. "500":
  26308. description: Internal Server Error
  26309. schema:
  26310. $ref: '#/definitions/app.Response'
  26311. security:
  26312. - ApiKeyAuth: []
  26313. summary: 敞口明细 - 现货变动明细查询
  26314. tags:
  26315. - 企业风险管理v8
  26316. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26317. get:
  26318. parameters:
  26319. - description: 用户ID
  26320. in: query
  26321. name: userid
  26322. required: true
  26323. type: integer
  26324. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26325. in: query
  26326. name: spottype
  26327. required: true
  26328. type: integer
  26329. - description: 现货商品ID
  26330. in: query
  26331. name: wrstandardid
  26332. type: integer
  26333. produces:
  26334. - application/json
  26335. responses:
  26336. "200":
  26337. description: OK
  26338. schema:
  26339. items:
  26340. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26341. type: array
  26342. "500":
  26343. description: Internal Server Error
  26344. schema:
  26345. $ref: '#/definitions/app.Response'
  26346. security:
  26347. - ApiKeyAuth: []
  26348. summary: 可关联项目查询
  26349. tags:
  26350. - 企业风险管理v8
  26351. /Ermcp8/QueryErmcp8HedgeditemReport:
  26352. get:
  26353. parameters:
  26354. - description: 用户ID
  26355. in: query
  26356. name: userid
  26357. required: true
  26358. type: integer
  26359. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26360. in: query
  26361. name: cycletype
  26362. type: integer
  26363. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26364. 全(0)【原值】
  26365. in: query
  26366. name: cycletime
  26367. required: true
  26368. type: string
  26369. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26370. in: query
  26371. name: hedgedtype
  26372. type: integer
  26373. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26374. in: query
  26375. name: hedgeditemstatus
  26376. type: integer
  26377. - description: 项目编号,模糊查询
  26378. in: query
  26379. name: hedgeditemnum
  26380. type: string
  26381. - description: 现货商品ID
  26382. in: query
  26383. name: wrstandardid
  26384. type: integer
  26385. produces:
  26386. - application/json
  26387. responses:
  26388. "200":
  26389. description: OK
  26390. schema:
  26391. items:
  26392. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26393. type: array
  26394. "500":
  26395. description: Internal Server Error
  26396. schema:
  26397. $ref: '#/definitions/app.Response'
  26398. security:
  26399. - ApiKeyAuth: []
  26400. summary: 套期项目报表查询
  26401. tags:
  26402. - 企业风险管理v8
  26403. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26404. get:
  26405. parameters:
  26406. - description: 用户ID
  26407. in: query
  26408. name: userid
  26409. required: true
  26410. type: string
  26411. produces:
  26412. - application/json
  26413. responses:
  26414. "200":
  26415. description: OK
  26416. schema:
  26417. items:
  26418. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26419. type: array
  26420. "500":
  26421. description: Internal Server Error
  26422. schema:
  26423. $ref: '#/definitions/app.Response'
  26424. security:
  26425. - ApiKeyAuth: []
  26426. summary: 查询执行中项目查询信息
  26427. tags:
  26428. - 企业风险管理v8
  26429. /Ermcp8/QueryInternalEnableTradeDetail:
  26430. get:
  26431. parameters:
  26432. - description: 企业ID
  26433. in: query
  26434. name: areauserid
  26435. required: true
  26436. type: integer
  26437. - description: 期货合约ID
  26438. in: query
  26439. name: goodsid
  26440. required: true
  26441. type: integer
  26442. - description: 交易用户ID
  26443. in: query
  26444. name: tradeuserid
  26445. required: true
  26446. type: integer
  26447. produces:
  26448. - application/json
  26449. responses:
  26450. "200":
  26451. description: OK
  26452. schema:
  26453. items:
  26454. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26455. type: array
  26456. "500":
  26457. description: Internal Server Error
  26458. schema:
  26459. $ref: '#/definitions/app.Response'
  26460. security:
  26461. - ApiKeyAuth: []
  26462. summary: 内部成交单可关联项目查询
  26463. tags:
  26464. - 企业风险管理v8
  26465. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26466. get:
  26467. parameters:
  26468. - description: 用户编号
  26469. in: query
  26470. name: userid
  26471. required: true
  26472. type: integer
  26473. - description: 起始日期(格式yyyymmdd)
  26474. in: query
  26475. name: begindate
  26476. type: string
  26477. - description: 终止日期(格式yyyymmdd)
  26478. in: query
  26479. name: enddate
  26480. type: string
  26481. - description: 合约代码
  26482. in: query
  26483. name: goodscode
  26484. type: string
  26485. - description: 合约名称
  26486. in: query
  26487. name: goodsname
  26488. type: string
  26489. - description: 成交单号
  26490. in: query
  26491. name: tradeid
  26492. type: integer
  26493. - description: 方向 - 0:买 1:卖
  26494. in: query
  26495. name: buyorsell
  26496. type: integer
  26497. - description: 套期主体
  26498. in: query
  26499. name: accountname
  26500. type: string
  26501. produces:
  26502. - application/json
  26503. responses:
  26504. "200":
  26505. description: OK
  26506. schema:
  26507. items:
  26508. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26509. type: array
  26510. "500":
  26511. description: Internal Server Error
  26512. schema:
  26513. $ref: '#/definitions/app.Response'
  26514. security:
  26515. - ApiKeyAuth: []
  26516. summary: 内部未关联成交单查询
  26517. tags:
  26518. - 企业风险管理v8
  26519. /Ermcp8/QueryMarketCalendar:
  26520. get:
  26521. parameters:
  26522. - description: 市场ID
  26523. in: query
  26524. name: marketid
  26525. type: integer
  26526. produces:
  26527. - application/json
  26528. responses:
  26529. "200":
  26530. description: OK
  26531. schema:
  26532. items:
  26533. $ref: '#/definitions/models.Marketcalendar'
  26534. type: array
  26535. "500":
  26536. description: Internal Server Error
  26537. schema:
  26538. $ref: '#/definitions/app.Response'
  26539. security:
  26540. - ApiKeyAuth: []
  26541. summary: 市场节假日查询
  26542. tags:
  26543. - 企业风险管理v8
  26544. /Ermcp8/QueryPatradeLinkDetail:
  26545. get:
  26546. parameters:
  26547. - description: 用户ID
  26548. in: query
  26549. name: userid
  26550. required: true
  26551. type: integer
  26552. - description: 套保品种ID
  26553. in: query
  26554. name: middlegoodsid
  26555. required: true
  26556. type: integer
  26557. produces:
  26558. - application/json
  26559. responses:
  26560. "200":
  26561. description: OK
  26562. schema:
  26563. items:
  26564. $ref: '#/definitions/models.Patradelinkdetail'
  26565. type: array
  26566. "500":
  26567. description: Internal Server Error
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. security:
  26571. - ApiKeyAuth: []
  26572. summary: 敞口明细 - 期货变动明细
  26573. tags:
  26574. - 企业风险管理v8
  26575. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26576. get:
  26577. parameters:
  26578. - description: 企业ID
  26579. in: query
  26580. name: areauserid
  26581. required: true
  26582. type: integer
  26583. - description: 计划类型 - 1:采购 -1:销售
  26584. in: query
  26585. name: contracttype
  26586. type: integer
  26587. - description: 计划编号,模糊查询
  26588. in: query
  26589. name: hedgeplanno
  26590. type: string
  26591. - description: 现货商品,模糊查询
  26592. in: query
  26593. name: wrstandardname
  26594. type: string
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. items:
  26602. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26603. type: array
  26604. "500":
  26605. description: Internal Server Error
  26606. schema:
  26607. $ref: '#/definitions/app.Response'
  26608. security:
  26609. - ApiKeyAuth: []
  26610. summary: 未关联购销计划
  26611. tags:
  26612. - 企业风险管理v8
  26613. /Ermcp8/QueryUnLinkSpotContract:
  26614. get:
  26615. parameters:
  26616. - description: 用户ID
  26617. in: query
  26618. name: userid
  26619. required: true
  26620. type: integer
  26621. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26622. in: query
  26623. name: pricetype
  26624. type: integer
  26625. - description: 合同编号, 模拟查询
  26626. in: query
  26627. name: contractno
  26628. type: string
  26629. - description: 对手方, 模拟查询
  26630. in: query
  26631. name: customername
  26632. type: string
  26633. - description: 项合同类型 - 1:采购 -1:销售
  26634. in: query
  26635. name: contracttype
  26636. type: integer
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. items:
  26644. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26645. type: array
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 未关联合同查询
  26653. tags:
  26654. - 企业风险管理v8
  26655. /Erms2/QueryArbitrageStrategy:
  26656. get:
  26657. parameters:
  26658. - description: 账户ID
  26659. in: query
  26660. name: userid
  26661. required: true
  26662. type: integer
  26663. - description: 商品组ID(品种ID)
  26664. in: query
  26665. name: goodsgroupid
  26666. type: string
  26667. produces:
  26668. - application/json
  26669. responses:
  26670. "200":
  26671. description: OK
  26672. schema:
  26673. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26674. "500":
  26675. description: Internal Server Error
  26676. schema:
  26677. $ref: '#/definitions/app.Response'
  26678. security:
  26679. - ApiKeyAuth: []
  26680. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26681. tags:
  26682. - 风险管理
  26683. /Erms2/QueryInnerTradeDetail:
  26684. get:
  26685. parameters:
  26686. - description: 资金账户
  26687. in: query
  26688. name: accountid
  26689. required: true
  26690. type: integer
  26691. produces:
  26692. - application/json
  26693. responses:
  26694. "200":
  26695. description: OK
  26696. schema:
  26697. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26698. "500":
  26699. description: Internal Server Error
  26700. schema:
  26701. $ref: '#/definitions/app.Response'
  26702. security:
  26703. - ApiKeyAuth: []
  26704. summary: 查询内部成交单信息
  26705. tags:
  26706. - 风险管理
  26707. /Erms2/QuerySpotContract:
  26708. get:
  26709. parameters:
  26710. - description: 策略申请ID
  26711. in: query
  26712. name: asapplyid
  26713. required: true
  26714. type: integer
  26715. - description: 现货合同ID
  26716. in: query
  26717. name: spotcontractid
  26718. type: integer
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26726. "500":
  26727. description: Internal Server Error
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. security:
  26731. - ApiKeyAuth: []
  26732. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26733. tags:
  26734. - 风险管理
  26735. /Erms3/AddErms2ASApply:
  26736. post:
  26737. parameters:
  26738. - description: 申请参数
  26739. in: body
  26740. name: jsonBody
  26741. required: true
  26742. schema:
  26743. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26744. produces:
  26745. - application/json
  26746. responses:
  26747. "200":
  26748. description: OK
  26749. schema:
  26750. $ref: '#/definitions/app.Response'
  26751. "500":
  26752. description: Internal Server Error
  26753. schema:
  26754. $ref: '#/definitions/app.Response'
  26755. security:
  26756. - ApiKeyAuth: []
  26757. summary: 新增期现套利业务申请
  26758. tags:
  26759. - 风险管理v3
  26760. /Erms3/AddErms2SpotTradeApply:
  26761. post:
  26762. parameters:
  26763. - description: 申请参数
  26764. in: body
  26765. name: jsonBody
  26766. required: true
  26767. schema:
  26768. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26769. produces:
  26770. - application/json
  26771. responses:
  26772. "200":
  26773. description: OK
  26774. schema:
  26775. $ref: '#/definitions/app.Response'
  26776. "500":
  26777. description: Internal Server Error
  26778. schema:
  26779. $ref: '#/definitions/app.Response'
  26780. security:
  26781. - ApiKeyAuth: []
  26782. summary: 新增现货贸易业务申请
  26783. tags:
  26784. - 风险管理v3
  26785. /Erms3/AddSpotContractApply:
  26786. post:
  26787. parameters:
  26788. - description: 申请参数
  26789. in: body
  26790. name: jsonBody
  26791. required: true
  26792. schema:
  26793. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26794. produces:
  26795. - application/json
  26796. responses:
  26797. "200":
  26798. description: OK
  26799. schema:
  26800. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26801. "500":
  26802. description: Internal Server Error
  26803. schema:
  26804. $ref: '#/definitions/app.Response'
  26805. security:
  26806. - ApiKeyAuth: []
  26807. summary: 新增现货合同申请
  26808. tags:
  26809. - 风险管理v3
  26810. /Erms3/AddUserInfoApply:
  26811. post:
  26812. parameters:
  26813. - description: 用户信息
  26814. in: body
  26815. name: jsonBody
  26816. required: true
  26817. schema:
  26818. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. $ref: '#/definitions/app.Response'
  26826. "500":
  26827. description: Internal Server Error
  26828. schema:
  26829. $ref: '#/definitions/app.Response'
  26830. security:
  26831. - ApiKeyAuth: []
  26832. summary: 新增客户申请
  26833. tags:
  26834. - 风险管理v3
  26835. /Erms3/DeleteUserInfoApply:
  26836. get:
  26837. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26838. parameters:
  26839. - description: 用户ID
  26840. in: query
  26841. name: userID
  26842. required: true
  26843. type: integer
  26844. produces:
  26845. - application/json
  26846. responses:
  26847. "200":
  26848. description: OK
  26849. schema:
  26850. $ref: '#/definitions/app.Response'
  26851. "500":
  26852. description: Internal Server Error
  26853. schema:
  26854. $ref: '#/definitions/app.Response'
  26855. security:
  26856. - ApiKeyAuth: []
  26857. summary: 删除客户申请
  26858. tags:
  26859. - 风险管理v3
  26860. /Erms3/ModifyUserInfoApply:
  26861. post:
  26862. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26863. int, "userstate": 2 }'
  26864. parameters:
  26865. - description: 用户信息
  26866. in: body
  26867. name: jsonBody
  26868. required: true
  26869. schema:
  26870. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26871. produces:
  26872. - application/json
  26873. responses:
  26874. "200":
  26875. description: OK
  26876. schema:
  26877. $ref: '#/definitions/app.Response'
  26878. "500":
  26879. description: Internal Server Error
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. security:
  26883. - ApiKeyAuth: []
  26884. summary: 修改客户申请
  26885. tags:
  26886. - 风险管理v3
  26887. /Erms3/QueryBusinessInfo:
  26888. get:
  26889. parameters:
  26890. - description: 资金账号ID列表,用逗号分隔
  26891. in: query
  26892. name: accountids
  26893. required: true
  26894. type: string
  26895. - description: 状态,0为未结束 1为已结束
  26896. in: query
  26897. name: status
  26898. required: true
  26899. type: integer
  26900. produces:
  26901. - application/json
  26902. responses:
  26903. "200":
  26904. description: OK
  26905. schema:
  26906. items:
  26907. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26908. type: array
  26909. "500":
  26910. description: Internal Server Error
  26911. schema:
  26912. $ref: '#/definitions/app.Response'
  26913. security:
  26914. - ApiKeyAuth: []
  26915. summary: 查询业务表单数据
  26916. tags:
  26917. - 风险管理v3
  26918. /Erms3/QueryPendingAuditContract:
  26919. get:
  26920. parameters:
  26921. - description: 资金账号ID列表,逗号隔开
  26922. in: query
  26923. name: accountids
  26924. required: true
  26925. type: string
  26926. - description: 合同类型 1-采购 -1-销售
  26927. in: query
  26928. name: contracttype
  26929. required: true
  26930. type: integer
  26931. - description: 合同模式 1-普通 2-回购
  26932. in: query
  26933. name: contractmode
  26934. required: true
  26935. type: integer
  26936. produces:
  26937. - application/json
  26938. responses:
  26939. "200":
  26940. description: OK
  26941. schema:
  26942. items:
  26943. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26944. type: array
  26945. "500":
  26946. description: Internal Server Error
  26947. schema:
  26948. $ref: '#/definitions/app.Response'
  26949. security:
  26950. - ApiKeyAuth: []
  26951. summary: 查询待审核合同
  26952. tags:
  26953. - 风险管理v3
  26954. /Erms3/QueryPendingBusiness:
  26955. get:
  26956. parameters:
  26957. - description: 资金账号ID列表,逗号隔开
  26958. in: query
  26959. name: accountids
  26960. required: true
  26961. type: string
  26962. produces:
  26963. - application/json
  26964. responses:
  26965. "200":
  26966. description: OK
  26967. schema:
  26968. items:
  26969. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26970. type: array
  26971. "500":
  26972. description: Internal Server Error
  26973. schema:
  26974. $ref: '#/definitions/app.Response'
  26975. security:
  26976. - ApiKeyAuth: []
  26977. summary: 查询待审核基差贸易业务
  26978. tags:
  26979. - 风险管理v3
  26980. /Erms3/QuerySpotContractAppleForm:
  26981. get:
  26982. parameters:
  26983. - description: 登录账号
  26984. in: query
  26985. name: loginID
  26986. required: true
  26987. type: integer
  26988. produces:
  26989. - application/json
  26990. responses:
  26991. "200":
  26992. description: OK
  26993. schema:
  26994. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26995. "500":
  26996. description: Internal Server Error
  26997. schema:
  26998. $ref: '#/definitions/app.Response'
  26999. security:
  27000. - ApiKeyAuth: []
  27001. summary: 查询合同申请表单数据
  27002. tags:
  27003. - 风险管理v3
  27004. /Erms3/QuerySpotContractDetail:
  27005. get:
  27006. parameters:
  27007. - description: 资金账号ID列表,用逗号分隔
  27008. in: query
  27009. name: accountids
  27010. required: true
  27011. type: string
  27012. - description: 合同类型,1为采购合同 -1为销售合同
  27013. in: query
  27014. name: contracttype
  27015. required: true
  27016. type: integer
  27017. - description: 合同模式,1为普通合同 2为回购销售合同
  27018. in: query
  27019. name: contractmode
  27020. required: true
  27021. type: integer
  27022. - description: 状态,0为履约中 1为已完成
  27023. in: query
  27024. name: status
  27025. required: true
  27026. type: integer
  27027. produces:
  27028. - application/json
  27029. responses:
  27030. "200":
  27031. description: OK
  27032. schema:
  27033. items:
  27034. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27035. type: array
  27036. "500":
  27037. description: Internal Server Error
  27038. schema:
  27039. $ref: '#/definitions/app.Response'
  27040. security:
  27041. - ApiKeyAuth: []
  27042. summary: 查询合同详细信息
  27043. tags:
  27044. - 风险管理v3
  27045. /Erms3/QueryUserInfoApplies:
  27046. get:
  27047. parameters:
  27048. - description: 页码
  27049. in: query
  27050. name: page
  27051. type: integer
  27052. - description: 每页条数
  27053. in: query
  27054. name: pagesize
  27055. type: integer
  27056. - description: 客户名称,支持模糊查询
  27057. in: query
  27058. name: userName
  27059. type: string
  27060. produces:
  27061. - application/json
  27062. responses:
  27063. "200":
  27064. description: OK
  27065. schema:
  27066. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27067. "500":
  27068. description: Internal Server Error
  27069. schema:
  27070. $ref: '#/definitions/app.Response'
  27071. security:
  27072. - ApiKeyAuth: []
  27073. summary: 客户申请信息查询
  27074. tags:
  27075. - 风险管理v3
  27076. /Erms3/QueryUserInfos:
  27077. get:
  27078. parameters:
  27079. - description: 页码
  27080. in: query
  27081. name: page
  27082. type: integer
  27083. - description: 每页条数
  27084. in: query
  27085. name: pagesize
  27086. type: integer
  27087. - description: 客户名称,支持模糊查询
  27088. in: query
  27089. name: userName
  27090. type: string
  27091. produces:
  27092. - application/json
  27093. responses:
  27094. "200":
  27095. description: OK
  27096. schema:
  27097. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27098. "500":
  27099. description: Internal Server Error
  27100. schema:
  27101. $ref: '#/definitions/app.Response'
  27102. security:
  27103. - ApiKeyAuth: []
  27104. summary: 客户信息查询
  27105. tags:
  27106. - 风险管理v3
  27107. /Guangzuan/GetGoods:
  27108. get:
  27109. parameters:
  27110. - description: 商品编号
  27111. in: query
  27112. name: goodsno
  27113. required: true
  27114. type: string
  27115. produces:
  27116. - application/json
  27117. responses:
  27118. "200":
  27119. description: OK
  27120. schema:
  27121. $ref: '#/definitions/models.GZGoods'
  27122. "500":
  27123. description: Internal Server Error
  27124. schema:
  27125. $ref: '#/definitions/app.Response'
  27126. security:
  27127. - ApiKeyAuth: []
  27128. - LoginID: []
  27129. - Group: []
  27130. summary: 获取钻石详情
  27131. tags:
  27132. - 广钻
  27133. /Guangzuan/QueryBuyOrder:
  27134. get:
  27135. parameters:
  27136. - description: 页码
  27137. in: query
  27138. name: page
  27139. type: integer
  27140. - description: 每页条数
  27141. in: query
  27142. name: pagesize
  27143. type: integer
  27144. - description: 商品(查询字段-模糊查询)
  27145. in: query
  27146. name: zsallproperties
  27147. type: string
  27148. - description: 钻石分类, 格式:1,2,3
  27149. in: query
  27150. name: zscategorys
  27151. type: string
  27152. - description: 委托单号
  27153. in: query
  27154. name: wrtradeorderid
  27155. type: integer
  27156. - description: 买方(查询字段-模糊查询)
  27157. in: query
  27158. name: buyusername
  27159. type: string
  27160. produces:
  27161. - application/json
  27162. responses:
  27163. "200":
  27164. description: OK
  27165. schema:
  27166. items:
  27167. $ref: '#/definitions/models.BuyOrder'
  27168. type: array
  27169. "500":
  27170. description: Internal Server Error
  27171. schema:
  27172. $ref: '#/definitions/app.Response'
  27173. security:
  27174. - ApiKeyAuth: []
  27175. - LoginID: []
  27176. - Group: []
  27177. summary: 查询求购大厅委托单
  27178. tags:
  27179. - 广钻
  27180. /Guangzuan/QueryDiamond:
  27181. post:
  27182. parameters:
  27183. - description: 钻石搜索入参
  27184. in: body
  27185. name: data
  27186. required: true
  27187. schema:
  27188. $ref: '#/definitions/models.SellOrderQueryReq'
  27189. produces:
  27190. - application/json
  27191. responses:
  27192. "200":
  27193. description: OK
  27194. schema:
  27195. items:
  27196. $ref: '#/definitions/models.SellOrder'
  27197. type: array
  27198. "500":
  27199. description: Internal Server Error
  27200. schema:
  27201. $ref: '#/definitions/app.Response'
  27202. security:
  27203. - ApiKeyAuth: []
  27204. - LoginID: []
  27205. - Group: []
  27206. summary: 钻石搜索
  27207. tags:
  27208. - 广钻
  27209. /Guangzuan/QueryMyBargainApply:
  27210. get:
  27211. parameters:
  27212. - description: 用户ID
  27213. in: query
  27214. name: userid
  27215. required: true
  27216. type: integer
  27217. - description: 页码
  27218. in: query
  27219. name: page
  27220. type: integer
  27221. - description: 每页条数
  27222. in: query
  27223. name: pagesize
  27224. type: integer
  27225. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27226. in: query
  27227. name: applystatus
  27228. type: integer
  27229. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27230. in: query
  27231. name: type
  27232. type: integer
  27233. - description: 关联委托单ID
  27234. in: query
  27235. name: wrtradeorderid
  27236. type: string
  27237. produces:
  27238. - application/json
  27239. responses:
  27240. "200":
  27241. description: OK
  27242. schema:
  27243. items:
  27244. $ref: '#/definitions/models.MyBargainApply'
  27245. type: array
  27246. "500":
  27247. description: Internal Server Error
  27248. schema:
  27249. $ref: '#/definitions/app.Response'
  27250. security:
  27251. - ApiKeyAuth: []
  27252. - LoginID: []
  27253. - Group: []
  27254. summary: 查询询价-求购
  27255. tags:
  27256. - 广钻
  27257. /Guangzuan/QueryMyBuyOrder:
  27258. get:
  27259. parameters:
  27260. - description: 用户ID
  27261. in: query
  27262. name: userid
  27263. required: true
  27264. type: integer
  27265. - description: 页码
  27266. in: query
  27267. name: page
  27268. type: integer
  27269. - description: 每页条数
  27270. in: query
  27271. name: pagesize
  27272. type: integer
  27273. - description: 商品(查询字段-模糊查询)
  27274. in: query
  27275. name: zsallproperties
  27276. type: string
  27277. - description: 钻石分类, 格式:1,2,3
  27278. in: query
  27279. name: zscategorys
  27280. type: string
  27281. - description: 委托单号
  27282. in: query
  27283. name: wrtradeorderid
  27284. type: integer
  27285. - description: 是否历史查询
  27286. in: query
  27287. name: ishis
  27288. type: boolean
  27289. - description: 开始交易日(yyyymmdd)
  27290. in: query
  27291. name: begindate
  27292. type: string
  27293. - description: 结束交易日(yyyymmdd)
  27294. in: query
  27295. name: enddate
  27296. type: string
  27297. produces:
  27298. - application/json
  27299. responses:
  27300. "200":
  27301. description: OK
  27302. schema:
  27303. items:
  27304. $ref: '#/definitions/models.MyBuyOrder'
  27305. type: array
  27306. "500":
  27307. description: Internal Server Error
  27308. schema:
  27309. $ref: '#/definitions/app.Response'
  27310. security:
  27311. - ApiKeyAuth: []
  27312. - LoginID: []
  27313. - Group: []
  27314. summary: 查询我的求购
  27315. tags:
  27316. - 广钻
  27317. /Guangzuan/QueryMyDeListing:
  27318. get:
  27319. parameters:
  27320. - description: 用户ID
  27321. in: query
  27322. name: userid
  27323. required: true
  27324. type: integer
  27325. - description: 页码
  27326. in: query
  27327. name: page
  27328. type: integer
  27329. - description: 每页条数
  27330. in: query
  27331. name: pagesize
  27332. type: integer
  27333. - description: 商品(查询字段-模糊查询)
  27334. in: query
  27335. name: zsallproperties
  27336. type: string
  27337. - description: 钻石分类, 格式:1,2,3
  27338. in: query
  27339. name: zscategorys
  27340. type: string
  27341. - description: 成交单号
  27342. in: query
  27343. name: wrtradedetailid
  27344. type: integer
  27345. - description: 方向,0-购买 1-出售
  27346. in: query
  27347. name: buyorsell
  27348. type: integer
  27349. - description: 对手方(模糊匹配)
  27350. in: query
  27351. name: matchusername
  27352. type: string
  27353. - description: 开始交易日(yyyymmdd)
  27354. in: query
  27355. name: begindate
  27356. type: string
  27357. - description: 结束交易日(yyyymmdd)
  27358. in: query
  27359. name: enddate
  27360. type: string
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. items:
  27368. $ref: '#/definitions/models.MyDeListing'
  27369. type: array
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. - LoginID: []
  27377. - Group: []
  27378. summary: 查询我的摘牌
  27379. tags:
  27380. - 广钻
  27381. /Guangzuan/QueryMyDelistingApply:
  27382. get:
  27383. parameters:
  27384. - description: 用户ID
  27385. in: query
  27386. name: userid
  27387. required: true
  27388. type: integer
  27389. - description: 页码
  27390. in: query
  27391. name: page
  27392. type: integer
  27393. - description: 每页条数
  27394. in: query
  27395. name: pagesize
  27396. type: integer
  27397. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27398. in: query
  27399. name: applystatus
  27400. type: integer
  27401. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27402. in: query
  27403. name: type
  27404. type: integer
  27405. - description: 买委托单ID
  27406. in: query
  27407. name: buywrtradeorderid
  27408. type: string
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. items:
  27416. $ref: '#/definitions/models.MyDelistingApply'
  27417. type: array
  27418. "500":
  27419. description: Internal Server Error
  27420. schema:
  27421. $ref: '#/definitions/app.Response'
  27422. security:
  27423. - ApiKeyAuth: []
  27424. - LoginID: []
  27425. - Group: []
  27426. summary: 查询询价-出售
  27427. tags:
  27428. - 广钻
  27429. /Guangzuan/QueryMyFavorite:
  27430. get:
  27431. parameters:
  27432. - description: 用户ID
  27433. in: query
  27434. name: userid
  27435. required: true
  27436. type: integer
  27437. - description: 页码
  27438. in: query
  27439. name: page
  27440. type: integer
  27441. - description: 每页条数
  27442. in: query
  27443. name: pagesize
  27444. type: integer
  27445. - description: 钻石分类, 格式:1,2,3
  27446. in: query
  27447. name: zscategorys
  27448. type: string
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.MyFavorite'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. - LoginID: []
  27465. - Group: []
  27466. summary: 查询我的收藏
  27467. tags:
  27468. - 广钻
  27469. /Guangzuan/QueryMyPerformanc:
  27470. get:
  27471. parameters:
  27472. - description: 用户ID
  27473. in: query
  27474. name: userid
  27475. required: true
  27476. type: integer
  27477. - description: 页码
  27478. in: query
  27479. name: page
  27480. type: integer
  27481. - description: 每页条数
  27482. in: query
  27483. name: pagesize
  27484. type: integer
  27485. - description: 商品(查询字段-模糊查询)
  27486. in: query
  27487. name: zsallproperties
  27488. type: string
  27489. - description: 方向,0-买 1-卖
  27490. in: query
  27491. name: buyorsell
  27492. type: integer
  27493. - description: 是否历史查询
  27494. in: query
  27495. name: ishis
  27496. type: boolean
  27497. - description: 开始交易日(yyyymmdd)
  27498. in: query
  27499. name: begindate
  27500. type: string
  27501. - description: 结束交易日(yyyymmdd)
  27502. in: query
  27503. name: enddate
  27504. type: string
  27505. produces:
  27506. - application/json
  27507. responses:
  27508. "200":
  27509. description: OK
  27510. schema:
  27511. items:
  27512. $ref: '#/definitions/models.MyPerformanc'
  27513. type: array
  27514. "500":
  27515. description: Internal Server Error
  27516. schema:
  27517. $ref: '#/definitions/app.Response'
  27518. security:
  27519. - ApiKeyAuth: []
  27520. - LoginID: []
  27521. - Group: []
  27522. summary: 查询我的履约
  27523. tags:
  27524. - 广钻
  27525. /Guangzuan/QueryMySellOrder:
  27526. get:
  27527. parameters:
  27528. - description: 用户ID
  27529. in: query
  27530. name: userid
  27531. required: true
  27532. type: integer
  27533. - description: 页码
  27534. in: query
  27535. name: page
  27536. type: integer
  27537. - description: 每页条数
  27538. in: query
  27539. name: pagesize
  27540. type: integer
  27541. - description: 商品(查询字段-模糊查询)
  27542. in: query
  27543. name: zsallproperties
  27544. type: string
  27545. - description: 钻石分类, 格式:1,2,3
  27546. in: query
  27547. name: zscategorys
  27548. type: string
  27549. - description: 委托单号
  27550. in: query
  27551. name: wrtradeorderid
  27552. type: integer
  27553. - description: 是否历史查询
  27554. in: query
  27555. name: ishis
  27556. type: boolean
  27557. - description: 开始交易日(yyyymmdd)
  27558. in: query
  27559. name: begindate
  27560. type: string
  27561. - description: 结束交易日(yyyymmdd)
  27562. in: query
  27563. name: enddate
  27564. type: string
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. items:
  27572. $ref: '#/definitions/models.MySellOrder'
  27573. type: array
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. - LoginID: []
  27581. - Group: []
  27582. summary: 查询我的出售
  27583. tags:
  27584. - 广钻
  27585. /Guangzuan/QueryMyWRPosition:
  27586. get:
  27587. parameters:
  27588. - description: 页码
  27589. in: query
  27590. name: page
  27591. type: integer
  27592. - description: 每页条数
  27593. in: query
  27594. name: pagesize
  27595. type: integer
  27596. - description: 登录用户ID
  27597. in: query
  27598. name: wruserid
  27599. required: true
  27600. type: integer
  27601. - description: 商品(查询字段-模糊查询)
  27602. in: query
  27603. name: zsallproperties
  27604. type: string
  27605. - description: 钻石分类, 格式:1,2,3
  27606. in: query
  27607. name: zscategorys
  27608. type: string
  27609. - description: 仓库ID
  27610. in: query
  27611. name: warehouseid
  27612. type: integer
  27613. - description: 是否上架,0-全部 1-是 2-否
  27614. in: query
  27615. name: marketflag
  27616. type: integer
  27617. produces:
  27618. - application/json
  27619. responses:
  27620. "200":
  27621. description: OK
  27622. schema:
  27623. items:
  27624. $ref: '#/definitions/models.MyWRPosition'
  27625. type: array
  27626. "500":
  27627. description: Internal Server Error
  27628. schema:
  27629. $ref: '#/definitions/app.Response'
  27630. security:
  27631. - ApiKeyAuth: []
  27632. - LoginID: []
  27633. - Group: []
  27634. summary: 查询我的库存
  27635. tags:
  27636. - 广钻
  27637. /Guangzuan/QuerySellOrder:
  27638. get:
  27639. parameters:
  27640. - description: 页码
  27641. in: query
  27642. name: page
  27643. type: integer
  27644. - description: 每页条数
  27645. in: query
  27646. name: pagesize
  27647. type: integer
  27648. - description: 商品(查询字段-模糊查询)
  27649. in: query
  27650. name: zsallproperties
  27651. type: string
  27652. - description: 钻石分类, 格式:1,2,3
  27653. in: query
  27654. name: zscategorys
  27655. type: string
  27656. - description: 委托单号
  27657. in: query
  27658. name: wrtradeorderid
  27659. type: integer
  27660. - description: 卖方(查询字段-模糊查询)
  27661. in: query
  27662. name: buyusername
  27663. type: string
  27664. produces:
  27665. - application/json
  27666. responses:
  27667. "200":
  27668. description: OK
  27669. schema:
  27670. items:
  27671. $ref: '#/definitions/models.SellOrder'
  27672. type: array
  27673. "500":
  27674. description: Internal Server Error
  27675. schema:
  27676. $ref: '#/definitions/app.Response'
  27677. security:
  27678. - ApiKeyAuth: []
  27679. - LoginID: []
  27680. - Group: []
  27681. summary: 查询出售大厅委托单
  27682. tags:
  27683. - 广钻
  27684. /Guangzuan/QueryWarehouseInfo:
  27685. get:
  27686. parameters:
  27687. - description: 页码
  27688. in: query
  27689. name: page
  27690. type: integer
  27691. - description: 每页条数
  27692. in: query
  27693. name: pagesize
  27694. type: integer
  27695. - description: 用户ID
  27696. in: query
  27697. name: userid
  27698. required: true
  27699. type: integer
  27700. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27701. in: query
  27702. name: status
  27703. type: string
  27704. - description: 是返回交易所仓库
  27705. in: query
  27706. name: isincludeexchange
  27707. type: boolean
  27708. produces:
  27709. - application/json
  27710. responses:
  27711. "200":
  27712. description: OK
  27713. schema:
  27714. items:
  27715. $ref: '#/definitions/models.GZWarehouseinfo'
  27716. type: array
  27717. "500":
  27718. description: Internal Server Error
  27719. schema:
  27720. $ref: '#/definitions/app.Response'
  27721. security:
  27722. - ApiKeyAuth: []
  27723. - LoginID: []
  27724. - Group: []
  27725. summary: 查询仓库信息
  27726. tags:
  27727. - 广钻
  27728. /Market/GetAllExExchanges:
  27729. get:
  27730. produces:
  27731. - application/json
  27732. responses:
  27733. "200":
  27734. description: OK
  27735. schema:
  27736. $ref: '#/definitions/models.Goods'
  27737. "500":
  27738. description: Internal Server Error
  27739. schema:
  27740. $ref: '#/definitions/app.Response'
  27741. security:
  27742. - ApiKeyAuth: []
  27743. summary: 获取所有外部交易所信息
  27744. tags:
  27745. - 通用市场
  27746. /Market/QueryGoodsesByLoginID:
  27747. get:
  27748. parameters:
  27749. - description: 登录账号
  27750. in: query
  27751. name: loginID
  27752. required: true
  27753. type: integer
  27754. - description: 市场ID列表,格式:1,2,3
  27755. in: query
  27756. name: marketIDs
  27757. type: string
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. $ref: '#/definitions/models.Goods'
  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/QueryMarketRun:
  27775. get:
  27776. parameters:
  27777. - description: 市场ID,不传返回所有
  27778. in: query
  27779. name: marketID
  27780. type: integer
  27781. produces:
  27782. - application/json
  27783. responses:
  27784. "200":
  27785. description: OK
  27786. schema:
  27787. $ref: '#/definitions/models.Marketrun'
  27788. "500":
  27789. description: Internal Server Error
  27790. schema:
  27791. $ref: '#/definitions/app.Response'
  27792. security:
  27793. - ApiKeyAuth: []
  27794. summary: 查询市场运行信息
  27795. tags:
  27796. - 通用市场
  27797. /Market/QueryMarketsByLoginID:
  27798. get:
  27799. parameters:
  27800. - description: 登录账号
  27801. in: query
  27802. name: loginID
  27803. required: true
  27804. type: integer
  27805. produces:
  27806. - application/json
  27807. responses:
  27808. "200":
  27809. description: OK
  27810. schema:
  27811. $ref: '#/definitions/models.Market'
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 获取登录账号有权限的市场信息
  27819. tags:
  27820. - 通用市场
  27821. /Order/QueryHisTradeDetail:
  27822. get:
  27823. parameters:
  27824. - description: 资金账户 - 格式:1,2,3
  27825. in: query
  27826. name: accountID
  27827. required: true
  27828. type: string
  27829. - description: 成交单号
  27830. in: query
  27831. name: tradeID
  27832. type: integer
  27833. - description: 委托单号
  27834. in: query
  27835. name: orderID
  27836. type: integer
  27837. - description: 商品ID
  27838. in: query
  27839. name: goodsID
  27840. type: integer
  27841. - description: 交易模式 - 格式:1,2,3
  27842. in: query
  27843. name: tradeMode
  27844. type: string
  27845. - description: 委托单据类型
  27846. in: query
  27847. name: buildType
  27848. type: integer
  27849. - description: 成交类别 - 格式:1,2,3
  27850. in: query
  27851. name: tradeType
  27852. type: string
  27853. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27854. in: query
  27855. name: startDate
  27856. type: string
  27857. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27858. in: query
  27859. name: endDate
  27860. type: string
  27861. produces:
  27862. - application/json
  27863. responses:
  27864. "200":
  27865. description: OK
  27866. schema:
  27867. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27868. "500":
  27869. description: Internal Server Error
  27870. schema:
  27871. $ref: '#/definitions/app.Response'
  27872. security:
  27873. - ApiKeyAuth: []
  27874. summary: 历史成交单查询(合约市场)
  27875. tags:
  27876. - 通用单据
  27877. /Order/QueryHisTradeOrderDetail:
  27878. get:
  27879. parameters:
  27880. - description: 资金账户 - 格式:1,2,3
  27881. in: query
  27882. name: accountID
  27883. required: true
  27884. type: string
  27885. - description: 交易模式 - 格式:1,2,3
  27886. in: query
  27887. name: tradeMode
  27888. type: string
  27889. - description: 委托状态 - 格式:1,2,3
  27890. in: query
  27891. name: orderStatus
  27892. type: string
  27893. - description: 委托单号
  27894. in: query
  27895. name: orderID
  27896. type: integer
  27897. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27898. in: query
  27899. name: startDate
  27900. type: string
  27901. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27902. in: query
  27903. name: endDate
  27904. type: string
  27905. produces:
  27906. - application/json
  27907. responses:
  27908. "200":
  27909. description: OK
  27910. schema:
  27911. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27912. "500":
  27913. description: Internal Server Error
  27914. schema:
  27915. $ref: '#/definitions/app.Response'
  27916. security:
  27917. - ApiKeyAuth: []
  27918. summary: 历史委托单查询请求(合约市场)
  27919. tags:
  27920. - 通用单据
  27921. /Order/QueryTradeDetail:
  27922. get:
  27923. parameters:
  27924. - description: 资金账户 - 格式:1,2,3
  27925. in: query
  27926. name: accountID
  27927. required: true
  27928. type: string
  27929. - description: 成交单号
  27930. in: query
  27931. name: tradeID
  27932. type: integer
  27933. - description: 委托单号
  27934. in: query
  27935. name: orderID
  27936. type: integer
  27937. - description: 交易模式 - 格式:1,2,3
  27938. in: query
  27939. name: tradeMode
  27940. type: string
  27941. - description: 委托单据类型
  27942. in: query
  27943. name: buildType
  27944. type: integer
  27945. - description: 成交类别 - 格式:1,2,3
  27946. in: query
  27947. name: tradeType
  27948. type: string
  27949. - description: 商品ID
  27950. in: query
  27951. name: goodsID
  27952. type: integer
  27953. produces:
  27954. - application/json
  27955. responses:
  27956. "200":
  27957. description: OK
  27958. schema:
  27959. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27960. "500":
  27961. description: Internal Server Error
  27962. schema:
  27963. $ref: '#/definitions/app.Response'
  27964. security:
  27965. - ApiKeyAuth: []
  27966. summary: 成交单查询(合约市场)
  27967. tags:
  27968. - 通用单据
  27969. /Order/QueryTradeHolderDetail:
  27970. get:
  27971. parameters:
  27972. - description: 用户id
  27973. in: query
  27974. name: userid
  27975. type: integer
  27976. - description: 资金账号, 格式 1,2,3
  27977. in: query
  27978. name: accids
  27979. type: string
  27980. - description: 交易模式, 格式 1,2,3
  27981. in: query
  27982. name: trademodes
  27983. type: string
  27984. - description: 市场id, 格式 1,2,3
  27985. in: query
  27986. name: marketids
  27987. type: string
  27988. - description: 商品id
  27989. in: query
  27990. name: goodsid
  27991. type: integer
  27992. - description: 买卖方向 0-买 1-卖
  27993. in: query
  27994. name: buyorsell
  27995. type: integer
  27996. produces:
  27997. - application/json
  27998. responses:
  27999. "200":
  28000. description: OK
  28001. schema:
  28002. items:
  28003. $ref: '#/definitions/models.TradeHolderDetail'
  28004. type: array
  28005. "500":
  28006. description: Internal Server Error
  28007. schema:
  28008. $ref: '#/definitions/app.Response'
  28009. security:
  28010. - ApiKeyAuth: []
  28011. summary: 查询持仓明细
  28012. tags:
  28013. - 通用单据
  28014. /Order/QueryTradeOrderDetail:
  28015. get:
  28016. parameters:
  28017. - description: 资金账户 - 格式:1,2,3
  28018. in: query
  28019. name: accountID
  28020. required: true
  28021. type: string
  28022. - description: 交易模式 - 格式:1,2,3
  28023. in: query
  28024. name: tradeMode
  28025. type: string
  28026. - description: 委托状态 - 格式:1,2,3
  28027. in: query
  28028. name: orderStatus
  28029. type: string
  28030. - description: 委托单号
  28031. in: query
  28032. name: orderID
  28033. type: integer
  28034. produces:
  28035. - application/json
  28036. responses:
  28037. "200":
  28038. description: OK
  28039. schema:
  28040. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28041. "500":
  28042. description: Internal Server Error
  28043. schema:
  28044. $ref: '#/definitions/app.Response'
  28045. security:
  28046. - ApiKeyAuth: []
  28047. summary: 委托单查询请求(合约市场)
  28048. tags:
  28049. - 通用单据
  28050. /Order/QueryTradePosition:
  28051. get:
  28052. parameters:
  28053. - description: 资金账户 - 格式:1,2,3
  28054. in: query
  28055. name: accountID
  28056. required: true
  28057. type: string
  28058. - description: 交易模式 - 格式:1,2,3
  28059. in: query
  28060. name: tradeMode
  28061. type: string
  28062. produces:
  28063. - application/json
  28064. responses:
  28065. "200":
  28066. description: OK
  28067. schema:
  28068. $ref: '#/definitions/order.QueryTradePositionRsp'
  28069. "500":
  28070. description: Internal Server Error
  28071. schema:
  28072. $ref: '#/definitions/app.Response'
  28073. security:
  28074. - ApiKeyAuth: []
  28075. summary: 持仓汇总查询(合约市场)
  28076. tags:
  28077. - 通用单据
  28078. /Qhj/QueryAccountInOutApply:
  28079. get:
  28080. parameters:
  28081. - description: 用户ID
  28082. in: query
  28083. name: userid
  28084. required: true
  28085. type: integer
  28086. - description: 申请起始日期(格式yyyymmdd)
  28087. in: query
  28088. name: begindate
  28089. type: string
  28090. - description: 申请截止日期(格式yyyymmdd)
  28091. in: query
  28092. name: enddate
  28093. type: string
  28094. - description: 模糊搜索名称
  28095. in: query
  28096. name: likename
  28097. type: string
  28098. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28099. in: query
  28100. name: applystatus
  28101. type: integer
  28102. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28103. in: query
  28104. name: querytype
  28105. type: integer
  28106. produces:
  28107. - application/json
  28108. responses:
  28109. "200":
  28110. description: OK
  28111. schema:
  28112. items:
  28113. $ref: '#/definitions/models.QhjAccountOutInApply'
  28114. type: array
  28115. "500":
  28116. description: Internal Server Error
  28117. schema:
  28118. $ref: '#/definitions/app.Response'
  28119. security:
  28120. - ApiKeyAuth: []
  28121. summary: 查询充值提现
  28122. tags:
  28123. - 大连千海金
  28124. /Qhj/QueryAreaFinanceConfig:
  28125. get:
  28126. parameters:
  28127. - description: 机构用户ID 其他做市关系,都设置为 1
  28128. in: query
  28129. name: userid
  28130. type: integer
  28131. produces:
  28132. - application/json
  28133. responses:
  28134. "200":
  28135. description: OK
  28136. schema:
  28137. items:
  28138. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28139. type: array
  28140. "500":
  28141. description: Internal Server Error
  28142. schema:
  28143. $ref: '#/definitions/app.Response'
  28144. security:
  28145. - ApiKeyAuth: []
  28146. summary: 查询企业配置表
  28147. tags:
  28148. - 大连千海金
  28149. /Qhj/QueryBankAccountSign:
  28150. get:
  28151. parameters:
  28152. - description: 用户ID
  28153. in: query
  28154. name: userid
  28155. required: true
  28156. type: integer
  28157. produces:
  28158. - application/json
  28159. responses:
  28160. "200":
  28161. description: OK
  28162. schema:
  28163. items:
  28164. $ref: '#/definitions/models.QhjBankAccountSign'
  28165. type: array
  28166. "500":
  28167. description: Internal Server Error
  28168. schema:
  28169. $ref: '#/definitions/app.Response'
  28170. security:
  28171. - ApiKeyAuth: []
  28172. summary: 查询签约银行信息(提现账户管理)
  28173. tags:
  28174. - 大连千海金
  28175. /Qhj/QueryBankInfo:
  28176. get:
  28177. produces:
  28178. - application/json
  28179. responses:
  28180. "200":
  28181. description: OK
  28182. schema:
  28183. items:
  28184. $ref: '#/definitions/models.QhjBankInfo'
  28185. type: array
  28186. "500":
  28187. description: Internal Server Error
  28188. schema:
  28189. $ref: '#/definitions/app.Response'
  28190. security:
  28191. - ApiKeyAuth: []
  28192. summary: 查询开户行
  28193. tags:
  28194. - 大连千海金
  28195. /Qhj/QueryBrokerApply:
  28196. get:
  28197. parameters:
  28198. - description: 所属机构ID
  28199. in: query
  28200. name: userid
  28201. type: integer
  28202. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28203. in: query
  28204. name: filterstatus
  28205. type: string
  28206. produces:
  28207. - application/json
  28208. responses:
  28209. "200":
  28210. description: OK
  28211. schema:
  28212. items:
  28213. $ref: '#/definitions/models.QhjBrokerApply'
  28214. type: array
  28215. "500":
  28216. description: Internal Server Error
  28217. schema:
  28218. $ref: '#/definitions/app.Response'
  28219. security:
  28220. - ApiKeyAuth: []
  28221. summary: 查询经纪人申请
  28222. tags:
  28223. - 大连千海金
  28224. /Qhj/QueryBrokerApplyEx:
  28225. get:
  28226. parameters:
  28227. - description: 所属机构ID
  28228. in: query
  28229. name: userid
  28230. type: integer
  28231. produces:
  28232. - application/json
  28233. responses:
  28234. "200":
  28235. description: OK
  28236. schema:
  28237. items:
  28238. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28239. type: array
  28240. "500":
  28241. description: Internal Server Error
  28242. schema:
  28243. $ref: '#/definitions/app.Response'
  28244. security:
  28245. - ApiKeyAuth: []
  28246. summary: 查询经纪人信息和申请记录
  28247. tags:
  28248. - 大连千海金
  28249. /Qhj/QueryBrokerRewardLog:
  28250. get:
  28251. parameters:
  28252. - description: 用户ID
  28253. in: query
  28254. name: userid
  28255. required: true
  28256. type: integer
  28257. - description: 开始交易日(yyyymmdd)
  28258. in: query
  28259. name: begindate
  28260. type: string
  28261. - description: 结束交易日(yyyymmdd)
  28262. in: query
  28263. name: enddate
  28264. type: string
  28265. produces:
  28266. - application/json
  28267. responses:
  28268. "200":
  28269. description: OK
  28270. schema:
  28271. items:
  28272. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28273. type: array
  28274. "500":
  28275. description: Internal Server Error
  28276. schema:
  28277. $ref: '#/definitions/app.Response'
  28278. security:
  28279. - ApiKeyAuth: []
  28280. summary: 查询奖励流水(我的奖励)
  28281. tags:
  28282. - 大连千海金
  28283. /Qhj/QueryContract:
  28284. get:
  28285. parameters:
  28286. - description: 用户ID
  28287. in: query
  28288. name: userid
  28289. type: integer
  28290. - description: scf合同id
  28291. in: query
  28292. name: scfcontractid
  28293. type: integer
  28294. produces:
  28295. - application/json
  28296. responses:
  28297. "200":
  28298. description: OK
  28299. schema:
  28300. items:
  28301. $ref: '#/definitions/models.QhjContract'
  28302. type: array
  28303. "500":
  28304. description: Internal Server Error
  28305. schema:
  28306. $ref: '#/definitions/app.Response'
  28307. security:
  28308. - ApiKeyAuth: []
  28309. summary: 查询融资明细(合同)
  28310. tags:
  28311. - 大连千海金
  28312. /Qhj/QueryContractLog:
  28313. get:
  28314. parameters:
  28315. - description: scf合同id
  28316. in: query
  28317. name: scfcontractid
  28318. required: true
  28319. type: integer
  28320. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28321. in: query
  28322. name: amounttype
  28323. type: string
  28324. produces:
  28325. - application/json
  28326. responses:
  28327. "200":
  28328. description: OK
  28329. schema:
  28330. items:
  28331. $ref: '#/definitions/models.QhjContractLog'
  28332. type: array
  28333. "500":
  28334. description: Internal Server Error
  28335. schema:
  28336. $ref: '#/definitions/app.Response'
  28337. security:
  28338. - ApiKeyAuth: []
  28339. summary: 查询融资明细流水(融资明细详情页中的流水)
  28340. tags:
  28341. - 大连千海金
  28342. /Qhj/QueryCusBankSignBank:
  28343. get:
  28344. produces:
  28345. - application/json
  28346. responses:
  28347. "200":
  28348. description: OK
  28349. schema:
  28350. items:
  28351. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28352. type: array
  28353. "500":
  28354. description: Internal Server Error
  28355. schema:
  28356. $ref: '#/definitions/app.Response'
  28357. security:
  28358. - ApiKeyAuth: []
  28359. summary: 查询托管银行
  28360. tags:
  28361. - 大连千海金
  28362. /Qhj/QueryCustomerInfo:
  28363. get:
  28364. parameters:
  28365. - description: 用户ID
  28366. in: query
  28367. name: userid
  28368. required: true
  28369. type: integer
  28370. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28371. in: query
  28372. name: querytype
  28373. required: true
  28374. type: integer
  28375. - description: 客户类型 1-个人 2-企业
  28376. in: query
  28377. name: userinfotype
  28378. type: integer
  28379. - description: 客户名称(模糊匹配)
  28380. in: query
  28381. name: customername
  28382. type: string
  28383. - description: 昵称(模糊匹配)
  28384. in: query
  28385. name: nickname
  28386. type: string
  28387. - description: 是否包含子级 1-包含
  28388. in: query
  28389. name: includesub
  28390. type: integer
  28391. produces:
  28392. - application/json
  28393. responses:
  28394. "200":
  28395. description: OK
  28396. schema:
  28397. items:
  28398. $ref: '#/definitions/models.QhjCustomer'
  28399. type: array
  28400. "500":
  28401. description: Internal Server Error
  28402. schema:
  28403. $ref: '#/definitions/app.Response'
  28404. security:
  28405. - ApiKeyAuth: []
  28406. summary: 查询客户资料
  28407. tags:
  28408. - 大连千海金
  28409. /Qhj/QueryGoodsEx:
  28410. get:
  28411. parameters:
  28412. - description: 商品id
  28413. in: query
  28414. name: goodsid
  28415. type: integer
  28416. produces:
  28417. - application/json
  28418. responses:
  28419. "200":
  28420. description: OK
  28421. schema:
  28422. items:
  28423. $ref: '#/definitions/models.Qhjgoodsex'
  28424. type: array
  28425. "500":
  28426. description: Internal Server Error
  28427. schema:
  28428. $ref: '#/definitions/app.Response'
  28429. security:
  28430. - ApiKeyAuth: []
  28431. summary: 交易商品扩展表
  28432. tags:
  28433. - 大连千海金
  28434. /Qhj/QueryMyTeam:
  28435. get:
  28436. parameters:
  28437. - description: 用户ID
  28438. in: query
  28439. name: userid
  28440. required: true
  28441. type: integer
  28442. produces:
  28443. - application/json
  28444. responses:
  28445. "200":
  28446. description: OK
  28447. schema:
  28448. items:
  28449. $ref: '#/definitions/models.QhjMyTeamEx'
  28450. type: array
  28451. "500":
  28452. description: Internal Server Error
  28453. schema:
  28454. $ref: '#/definitions/app.Response'
  28455. security:
  28456. - ApiKeyAuth: []
  28457. summary: 查询我的团队
  28458. tags:
  28459. - 大连千海金
  28460. /Qhj/QueryMyTeamOrder:
  28461. get:
  28462. parameters:
  28463. - description: 页码
  28464. in: query
  28465. name: page
  28466. type: integer
  28467. - description: 每页条数
  28468. in: query
  28469. name: pagesize
  28470. type: integer
  28471. - description: 用户ID
  28472. in: query
  28473. name: userid
  28474. required: true
  28475. type: integer
  28476. - description: 交易模式
  28477. in: query
  28478. name: trademode
  28479. type: integer
  28480. - description: 名称(模糊搜索账户)
  28481. in: query
  28482. name: filtername
  28483. type: string
  28484. produces:
  28485. - application/json
  28486. responses:
  28487. "200":
  28488. description: OK
  28489. schema:
  28490. items:
  28491. $ref: '#/definitions/models.QhjTeamOrder'
  28492. type: array
  28493. "500":
  28494. description: Internal Server Error
  28495. schema:
  28496. $ref: '#/definitions/app.Response'
  28497. security:
  28498. - ApiKeyAuth: []
  28499. summary: 查询团队订单(我的团队/团队订单)
  28500. tags:
  28501. - 大连千海金
  28502. /Qhj/QueryParentAreaList:
  28503. get:
  28504. parameters:
  28505. - description: 用户ID
  28506. in: query
  28507. name: userid
  28508. required: true
  28509. type: integer
  28510. produces:
  28511. - application/json
  28512. responses:
  28513. "200":
  28514. description: OK
  28515. schema:
  28516. items:
  28517. $ref: '#/definitions/models.QhjParentAreaList'
  28518. type: array
  28519. "500":
  28520. description: Internal Server Error
  28521. schema:
  28522. $ref: '#/definitions/app.Response'
  28523. security:
  28524. - ApiKeyAuth: []
  28525. summary: 查询所属机构列表
  28526. tags:
  28527. - 大连千海金
  28528. /Qhj/QueryPayOrder:
  28529. get:
  28530. parameters:
  28531. - description: 资金账号id
  28532. in: query
  28533. name: accountid
  28534. required: true
  28535. type: integer
  28536. - description: 成交单号
  28537. in: query
  28538. name: tradeid
  28539. type: integer
  28540. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28541. in: query
  28542. name: payflag
  28543. type: string
  28544. produces:
  28545. - application/json
  28546. responses:
  28547. "200":
  28548. description: OK
  28549. schema:
  28550. items:
  28551. $ref: '#/definitions/models.QhjPayOrder'
  28552. type: array
  28553. "500":
  28554. description: Internal Server Error
  28555. schema:
  28556. $ref: '#/definitions/app.Response'
  28557. security:
  28558. - ApiKeyAuth: []
  28559. summary: 查询待付款单据
  28560. tags:
  28561. - 大连千海金
  28562. /Qhj/QueryPickArea:
  28563. get:
  28564. parameters:
  28565. - description: 用户ID
  28566. in: query
  28567. name: userid
  28568. type: integer
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. items:
  28576. $ref: '#/definitions/models.QhjPickArea'
  28577. type: array
  28578. "500":
  28579. description: Internal Server Error
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. security:
  28583. - ApiKeyAuth: []
  28584. summary: 查询提货门店
  28585. tags:
  28586. - 大连千海金
  28587. /Qhj/QueryPickGoods:
  28588. get:
  28589. parameters:
  28590. - description: 交易商品id
  28591. in: query
  28592. name: goodsid
  28593. required: true
  28594. type: integer
  28595. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28596. in: query
  28597. name: status
  28598. type: string
  28599. produces:
  28600. - application/json
  28601. responses:
  28602. "200":
  28603. description: OK
  28604. schema:
  28605. items:
  28606. $ref: '#/definitions/models.QhjPickGoods'
  28607. type: array
  28608. "500":
  28609. description: Internal Server Error
  28610. schema:
  28611. $ref: '#/definitions/app.Response'
  28612. security:
  28613. - ApiKeyAuth: []
  28614. summary: 查询提货商品
  28615. tags:
  28616. - 大连千海金
  28617. /Qhj/QueryRSTriggerLog:
  28618. get:
  28619. parameters:
  28620. - description: 用户ID
  28621. in: query
  28622. name: userid
  28623. type: integer
  28624. - description: 定投策略id
  28625. in: query
  28626. name: regularlystrategyid
  28627. type: integer
  28628. - description: 商品id
  28629. in: query
  28630. name: goodsid
  28631. type: integer
  28632. - description: 开始交易日(yyyymmdd)
  28633. in: query
  28634. name: begindate
  28635. type: string
  28636. - description: 结束交易日(yyyymmdd)
  28637. in: query
  28638. name: enddate
  28639. type: string
  28640. - description: 名称(模糊搜索账户)
  28641. in: query
  28642. name: filtername
  28643. type: string
  28644. produces:
  28645. - application/json
  28646. responses:
  28647. "200":
  28648. description: OK
  28649. schema:
  28650. items:
  28651. $ref: '#/definitions/models.QhjRSTriggerLog'
  28652. type: array
  28653. "500":
  28654. description: Internal Server Error
  28655. schema:
  28656. $ref: '#/definitions/app.Response'
  28657. security:
  28658. - ApiKeyAuth: []
  28659. summary: 查询定投记录(定投管理/详情/定投记录)
  28660. tags:
  28661. - 大连千海金
  28662. /Qhj/QueryRStrategy:
  28663. get:
  28664. parameters:
  28665. - description: 用户ID
  28666. in: query
  28667. name: userid
  28668. type: integer
  28669. - description: 商品id
  28670. in: query
  28671. name: goodsid
  28672. type: integer
  28673. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28674. in: query
  28675. name: status
  28676. type: string
  28677. - description: 名称(模糊搜索账户)
  28678. in: query
  28679. name: filtername
  28680. type: string
  28681. produces:
  28682. - application/json
  28683. responses:
  28684. "200":
  28685. description: OK
  28686. schema:
  28687. items:
  28688. $ref: '#/definitions/models.QhjRStrategy'
  28689. type: array
  28690. "500":
  28691. description: Internal Server Error
  28692. schema:
  28693. $ref: '#/definitions/app.Response'
  28694. security:
  28695. - ApiKeyAuth: []
  28696. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28697. tags:
  28698. - 大连千海金
  28699. /Qhj/QueryReckonPriceLog:
  28700. get:
  28701. parameters:
  28702. - description: 商品ID
  28703. in: query
  28704. name: goodsid
  28705. type: integer
  28706. - description: 交易日 格式(yyyymmdd)
  28707. in: query
  28708. name: tradedate
  28709. type: string
  28710. produces:
  28711. - application/json
  28712. responses:
  28713. "200":
  28714. description: OK
  28715. schema:
  28716. items:
  28717. $ref: '#/definitions/models.QhjReckonPriceLog'
  28718. type: array
  28719. "500":
  28720. description: Internal Server Error
  28721. schema:
  28722. $ref: '#/definitions/app.Response'
  28723. security:
  28724. - ApiKeyAuth: []
  28725. summary: 查询定投价(结算价)
  28726. tags:
  28727. - 大连千海金
  28728. /Qhj/QueryScoreLog:
  28729. get:
  28730. parameters:
  28731. - description: 用户ID
  28732. in: query
  28733. name: userid
  28734. required: true
  28735. type: integer
  28736. - description: 开始交易日(yyyymmdd)
  28737. in: query
  28738. name: begindate
  28739. type: string
  28740. - description: 结束交易日(yyyymmdd)
  28741. in: query
  28742. name: enddate
  28743. type: string
  28744. - description: 最近多少条
  28745. in: query
  28746. name: lastnum
  28747. type: integer
  28748. produces:
  28749. - application/json
  28750. responses:
  28751. "200":
  28752. description: OK
  28753. schema:
  28754. items:
  28755. $ref: '#/definitions/models.QhjScoreLog'
  28756. type: array
  28757. "500":
  28758. description: Internal Server Error
  28759. schema:
  28760. $ref: '#/definitions/app.Response'
  28761. security:
  28762. - ApiKeyAuth: []
  28763. summary: 查询积分流水(我的积分)
  28764. tags:
  28765. - 大连千海金
  28766. /Qhj/QuerySiteColumnDetail:
  28767. get:
  28768. parameters:
  28769. - description: 用户ID
  28770. in: query
  28771. name: userid
  28772. required: true
  28773. type: integer
  28774. produces:
  28775. - application/json
  28776. responses:
  28777. "200":
  28778. description: OK
  28779. schema:
  28780. items:
  28781. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28782. type: array
  28783. "500":
  28784. description: Internal Server Error
  28785. schema:
  28786. $ref: '#/definitions/app.Response'
  28787. security:
  28788. - ApiKeyAuth: []
  28789. summary: 查询资讯
  28790. tags:
  28791. - 大连千海金
  28792. /Qhj/QueryTradeGoodsPickup:
  28793. get:
  28794. parameters:
  28795. - description: 用户ID
  28796. in: query
  28797. name: userid
  28798. required: true
  28799. type: integer
  28800. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28801. 7:已拒绝 8:已撤销
  28802. in: query
  28803. name: takeorderstatus
  28804. type: integer
  28805. produces:
  28806. - application/json
  28807. responses:
  28808. "200":
  28809. description: OK
  28810. schema:
  28811. items:
  28812. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28813. type: array
  28814. "500":
  28815. description: Internal Server Error
  28816. schema:
  28817. $ref: '#/definitions/app.Response'
  28818. security:
  28819. - ApiKeyAuth: []
  28820. summary: 查询提货
  28821. tags:
  28822. - 大连千海金
  28823. /Qhj/QueryUserCollectConfig:
  28824. get:
  28825. parameters:
  28826. - description: 用户ID
  28827. in: query
  28828. name: userid
  28829. required: true
  28830. type: integer
  28831. produces:
  28832. - application/json
  28833. responses:
  28834. "200":
  28835. description: OK
  28836. schema:
  28837. items:
  28838. $ref: '#/definitions/models.UserCollectConfig'
  28839. type: array
  28840. "500":
  28841. description: Internal Server Error
  28842. schema:
  28843. $ref: '#/definitions/app.Response'
  28844. security:
  28845. - ApiKeyAuth: []
  28846. summary: 查询提现账户设置
  28847. tags:
  28848. - 大连千海金
  28849. /Qhj/QueryUserReceiveInfo:
  28850. get:
  28851. parameters:
  28852. - description: 用户ID
  28853. in: query
  28854. name: userid
  28855. required: true
  28856. type: integer
  28857. produces:
  28858. - application/json
  28859. responses:
  28860. "200":
  28861. description: OK
  28862. schema:
  28863. items:
  28864. $ref: '#/definitions/models.UserReceiveInfo'
  28865. type: array
  28866. "500":
  28867. description: Internal Server Error
  28868. schema:
  28869. $ref: '#/definitions/app.Response'
  28870. security:
  28871. - ApiKeyAuth: []
  28872. summary: 查询收货地址信息
  28873. tags:
  28874. - 大连千海金
  28875. /QhjMgr/QueryAccountInOutApply:
  28876. get:
  28877. parameters:
  28878. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28879. in: query
  28880. name: querytype
  28881. required: true
  28882. type: integer
  28883. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28884. in: query
  28885. name: applystatus
  28886. type: integer
  28887. - description: 申请起始日期(格式yyyymmdd)
  28888. in: query
  28889. name: begindate
  28890. type: string
  28891. - description: 申请截止日期(格式yyyymmdd)
  28892. in: query
  28893. name: enddate
  28894. type: string
  28895. - description: 模糊搜索名称
  28896. in: query
  28897. name: likename
  28898. type: string
  28899. produces:
  28900. - application/json
  28901. responses:
  28902. "200":
  28903. description: OK
  28904. schema:
  28905. items:
  28906. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28907. type: array
  28908. "500":
  28909. description: Internal Server Error
  28910. schema:
  28911. $ref: '#/definitions/app.Response'
  28912. security:
  28913. - ApiKeyAuth: []
  28914. summary: 查询充值提现
  28915. tags:
  28916. - 大连千海金(PCWeb)
  28917. /QhjMgr/QueryBrokerApply:
  28918. get:
  28919. parameters:
  28920. - description: 所属机构ID
  28921. in: query
  28922. name: userid
  28923. type: integer
  28924. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28925. in: query
  28926. name: filterstatus
  28927. type: string
  28928. - description: 名称(模糊匹配)
  28929. in: query
  28930. name: filtername
  28931. type: string
  28932. - description: 是否包含子级 1-包含
  28933. in: query
  28934. name: includesub
  28935. type: integer
  28936. produces:
  28937. - application/json
  28938. responses:
  28939. "200":
  28940. description: OK
  28941. schema:
  28942. items:
  28943. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28944. type: array
  28945. "500":
  28946. description: Internal Server Error
  28947. schema:
  28948. $ref: '#/definitions/app.Response'
  28949. security:
  28950. - ApiKeyAuth: []
  28951. summary: 查询经纪人申请
  28952. tags:
  28953. - 大连千海金(PCWeb)
  28954. /QhjMgr/QueryBrokerRewardReport:
  28955. get:
  28956. parameters:
  28957. - description: 所属机构ID
  28958. in: query
  28959. name: userid
  28960. required: true
  28961. type: integer
  28962. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28963. in: query
  28964. name: cycletype
  28965. required: true
  28966. type: integer
  28967. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28968. in: query
  28969. name: cycletime
  28970. required: true
  28971. type: string
  28972. - description: 名称(模糊匹配)
  28973. in: query
  28974. name: filtername
  28975. type: string
  28976. - description: 是否包含子级 1-包含
  28977. in: query
  28978. name: includesub
  28979. type: integer
  28980. produces:
  28981. - application/json
  28982. responses:
  28983. "200":
  28984. description: OK
  28985. schema:
  28986. items:
  28987. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28988. type: array
  28989. "500":
  28990. description: Internal Server Error
  28991. schema:
  28992. $ref: '#/definitions/app.Response'
  28993. security:
  28994. - ApiKeyAuth: []
  28995. summary: 查询经纪人奖励报表(废弃)
  28996. tags:
  28997. - 大连千海金(PCWeb)
  28998. /QhjMgr/QueryContract:
  28999. get:
  29000. parameters:
  29001. - description: 用户ID
  29002. in: query
  29003. name: userid
  29004. type: integer
  29005. - description: 商品id
  29006. in: query
  29007. name: goodsid
  29008. type: integer
  29009. - description: 名称(模糊搜索账户)
  29010. in: query
  29011. name: filtername
  29012. type: string
  29013. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29014. in: query
  29015. name: risklevel
  29016. type: string
  29017. - description: 开始交易日(yyyymmdd)
  29018. in: query
  29019. name: begindate
  29020. type: string
  29021. - description: 结束交易日(yyyymmdd)
  29022. in: query
  29023. name: enddate
  29024. type: string
  29025. produces:
  29026. - application/json
  29027. responses:
  29028. "200":
  29029. description: OK
  29030. schema:
  29031. items:
  29032. $ref: '#/definitions/models.QhjMgrContract'
  29033. type: array
  29034. "500":
  29035. description: Internal Server Error
  29036. schema:
  29037. $ref: '#/definitions/app.Response'
  29038. security:
  29039. - ApiKeyAuth: []
  29040. summary: 查询融资信息(合同)
  29041. tags:
  29042. - 大连千海金(PCWeb)
  29043. /QhjMgr/QueryCustomerInfo:
  29044. get:
  29045. parameters:
  29046. - description: 用户ID
  29047. in: query
  29048. name: userid
  29049. required: true
  29050. type: integer
  29051. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29052. in: query
  29053. name: querytype
  29054. required: true
  29055. type: integer
  29056. - description: 客户类型 1-个人 2-企业
  29057. in: query
  29058. name: userinfotype
  29059. type: integer
  29060. - description: 客户名称(模糊匹配)
  29061. in: query
  29062. name: customername
  29063. type: string
  29064. - description: 昵称(模糊匹配)
  29065. in: query
  29066. name: nickname
  29067. type: string
  29068. - description: 所属客户经理(模糊匹配)
  29069. in: query
  29070. name: brokername
  29071. type: string
  29072. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29073. 如0503 -5月3日)
  29074. in: query
  29075. name: birthday
  29076. type: string
  29077. - description: 是否包含子级 1-包含
  29078. in: query
  29079. name: includesub
  29080. type: integer
  29081. produces:
  29082. - application/json
  29083. responses:
  29084. "200":
  29085. description: OK
  29086. schema:
  29087. items:
  29088. $ref: '#/definitions/models.QhjMgrCustomer'
  29089. type: array
  29090. "500":
  29091. description: Internal Server Error
  29092. schema:
  29093. $ref: '#/definitions/app.Response'
  29094. security:
  29095. - ApiKeyAuth: []
  29096. summary: 查询客户资料
  29097. tags:
  29098. - 大连千海金(PCWeb)
  29099. /QhjMgr/QueryPickGoods:
  29100. get:
  29101. parameters:
  29102. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29103. in: query
  29104. name: status
  29105. type: string
  29106. produces:
  29107. - application/json
  29108. responses:
  29109. "200":
  29110. description: OK
  29111. schema:
  29112. items:
  29113. $ref: '#/definitions/models.QhjMgrPickGoods'
  29114. type: array
  29115. "500":
  29116. description: Internal Server Error
  29117. schema:
  29118. $ref: '#/definitions/app.Response'
  29119. security:
  29120. - ApiKeyAuth: []
  29121. summary: 查询提货商品
  29122. tags:
  29123. - 大连千海金(PCWeb)
  29124. /QhjMgr/QuerySubArea:
  29125. get:
  29126. parameters:
  29127. - description: 用户ID
  29128. in: query
  29129. name: userid
  29130. required: true
  29131. type: integer
  29132. produces:
  29133. - application/json
  29134. responses:
  29135. "200":
  29136. description: OK
  29137. schema:
  29138. items:
  29139. $ref: '#/definitions/models.QhjMgrSubArea'
  29140. type: array
  29141. "500":
  29142. description: Internal Server Error
  29143. schema:
  29144. $ref: '#/definitions/app.Response'
  29145. security:
  29146. - ApiKeyAuth: []
  29147. summary: 查询子机构列表
  29148. tags:
  29149. - 大连千海金(PCWeb)
  29150. /QhjMgr/QueryTradeDetail:
  29151. get:
  29152. parameters:
  29153. - description: 用户ID
  29154. in: query
  29155. name: userid
  29156. required: true
  29157. type: integer
  29158. - description: 用户类型 1-个人 2-企业
  29159. in: query
  29160. name: userinfotype
  29161. type: integer
  29162. - description: 交易模式
  29163. in: query
  29164. name: trademode
  29165. type: integer
  29166. - description: 商品id
  29167. in: query
  29168. name: goodsid
  29169. type: integer
  29170. - description: 名称(模糊搜索账户)
  29171. in: query
  29172. name: filtername
  29173. type: string
  29174. - description: 开始交易日(yyyymmdd)
  29175. in: query
  29176. name: begindate
  29177. type: string
  29178. - description: 结束交易日(yyyymmdd)
  29179. in: query
  29180. name: enddate
  29181. type: string
  29182. - description: 是否包含子级 1-包含
  29183. in: query
  29184. name: includesub
  29185. type: integer
  29186. produces:
  29187. - application/json
  29188. responses:
  29189. "200":
  29190. description: OK
  29191. schema:
  29192. items:
  29193. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29194. type: array
  29195. "500":
  29196. description: Internal Server Error
  29197. schema:
  29198. $ref: '#/definitions/app.Response'
  29199. security:
  29200. - ApiKeyAuth: []
  29201. summary: 查询成交明细
  29202. tags:
  29203. - 大连千海金(PCWeb)
  29204. /QhjMgr/QueryTradeOrderDetail:
  29205. get:
  29206. parameters:
  29207. - description: 用户ID
  29208. in: query
  29209. name: userid
  29210. required: true
  29211. type: integer
  29212. - description: 用户类型 1-个人 2-企业
  29213. in: query
  29214. name: userinfotype
  29215. type: integer
  29216. - description: 交易模式
  29217. in: query
  29218. name: trademode
  29219. type: integer
  29220. - description: 商品id
  29221. in: query
  29222. name: goodsid
  29223. type: integer
  29224. - description: 名称(模糊搜索账户)
  29225. in: query
  29226. name: filtername
  29227. type: string
  29228. - description: 开始交易日(yyyymmdd)
  29229. in: query
  29230. name: begindate
  29231. type: string
  29232. - description: 结束交易日(yyyymmdd)
  29233. in: query
  29234. name: enddate
  29235. type: string
  29236. - description: 是否包含子级 1-包含
  29237. in: query
  29238. name: includesub
  29239. type: integer
  29240. produces:
  29241. - application/json
  29242. responses:
  29243. "200":
  29244. description: OK
  29245. schema:
  29246. items:
  29247. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29248. type: array
  29249. "500":
  29250. description: Internal Server Error
  29251. schema:
  29252. $ref: '#/definitions/app.Response'
  29253. security:
  29254. - ApiKeyAuth: []
  29255. summary: 查询委托明细
  29256. tags:
  29257. - 大连千海金(PCWeb)
  29258. /QhjMgr/QueryTradePayOrder:
  29259. get:
  29260. parameters:
  29261. - description: 用户ID
  29262. in: query
  29263. name: userid
  29264. required: true
  29265. type: integer
  29266. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29267. in: query
  29268. name: payflag
  29269. type: string
  29270. - description: 用户类型 1-个人 2-企业
  29271. in: query
  29272. name: userinfotype
  29273. type: integer
  29274. - description: 交易模式
  29275. in: query
  29276. name: trademode
  29277. type: integer
  29278. - description: 商品id
  29279. in: query
  29280. name: goodsid
  29281. type: integer
  29282. - description: 名称(模糊搜索账户)
  29283. in: query
  29284. name: filtername
  29285. type: string
  29286. - description: 开始交易日(yyyymmdd)
  29287. in: query
  29288. name: begindate
  29289. type: string
  29290. - description: 结束交易日(yyyymmdd)
  29291. in: query
  29292. name: enddate
  29293. type: string
  29294. - description: 是否包含子级 1-包含
  29295. in: query
  29296. name: includesub
  29297. type: integer
  29298. produces:
  29299. - application/json
  29300. responses:
  29301. "200":
  29302. description: OK
  29303. schema:
  29304. items:
  29305. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29306. type: array
  29307. "500":
  29308. description: Internal Server Error
  29309. schema:
  29310. $ref: '#/definitions/app.Response'
  29311. security:
  29312. - ApiKeyAuth: []
  29313. summary: 查询待付款单
  29314. tags:
  29315. - 大连千海金(PCWeb)
  29316. /QhjMgr/QueryTradePosition:
  29317. get:
  29318. parameters:
  29319. - description: 用户ID
  29320. in: query
  29321. name: userid
  29322. required: true
  29323. type: integer
  29324. - description: 用户类型 1-个人 2-企业
  29325. in: query
  29326. name: userinfotype
  29327. type: integer
  29328. - description: 交易模式
  29329. in: query
  29330. name: trademode
  29331. type: integer
  29332. - description: 商品id
  29333. in: query
  29334. name: goodsid
  29335. type: integer
  29336. - description: 名称(模糊搜索账户)
  29337. in: query
  29338. name: filtername
  29339. type: string
  29340. - description: 是否包含子级 1-包含
  29341. in: query
  29342. name: includesub
  29343. type: integer
  29344. produces:
  29345. - application/json
  29346. responses:
  29347. "200":
  29348. description: OK
  29349. schema:
  29350. items:
  29351. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29352. type: array
  29353. "500":
  29354. description: Internal Server Error
  29355. schema:
  29356. $ref: '#/definitions/app.Response'
  29357. security:
  29358. - ApiKeyAuth: []
  29359. summary: 查询持仓汇总
  29360. tags:
  29361. - 大连千海金(PCWeb)
  29362. /QhjSys/QueryAgreementChangeLog:
  29363. get:
  29364. parameters:
  29365. - description: 协议ID
  29366. in: query
  29367. name: agreementid
  29368. type: integer
  29369. - description: 协议版本号
  29370. in: query
  29371. name: agreementversion
  29372. type: integer
  29373. - description: 协议类型 - 1:注册 2:登录 3:交易
  29374. in: query
  29375. name: agreementtype
  29376. type: integer
  29377. - description: 协议编号(模糊匹配)
  29378. in: query
  29379. name: agreementno
  29380. type: string
  29381. - description: 协议名称(模糊匹配)
  29382. in: query
  29383. name: agreementname
  29384. type: string
  29385. produces:
  29386. - application/json
  29387. responses:
  29388. "200":
  29389. description: OK
  29390. schema:
  29391. items:
  29392. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29393. type: array
  29394. "500":
  29395. description: Internal Server Error
  29396. schema:
  29397. $ref: '#/definitions/app.Response'
  29398. security:
  29399. - ApiKeyAuth: []
  29400. summary: 查询协议配置变更流水
  29401. tags:
  29402. - 大连千海金(协议和签约信息)
  29403. /QhjSys/QueryAgreementConfig:
  29404. get:
  29405. parameters:
  29406. - description: 协议ID
  29407. in: query
  29408. name: agreementid
  29409. type: integer
  29410. - description: 协议版本号
  29411. in: query
  29412. name: agreementversion
  29413. type: integer
  29414. - description: 协议类型 - 1:注册 2:登录 3:交易
  29415. in: query
  29416. name: agreementtype
  29417. type: integer
  29418. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29419. in: query
  29420. name: isvalid
  29421. type: integer
  29422. - description: 协议编号(模糊匹配)
  29423. in: query
  29424. name: agreementno
  29425. type: string
  29426. - description: 协议名称(模糊匹配)
  29427. in: query
  29428. name: agreementname
  29429. type: string
  29430. produces:
  29431. - application/json
  29432. responses:
  29433. "200":
  29434. description: OK
  29435. schema:
  29436. items:
  29437. $ref: '#/definitions/models.QhjAgreementConfig'
  29438. type: array
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 查询协议配置
  29446. tags:
  29447. - 大连千海金(协议和签约信息)
  29448. /QhjSys/QueryCustomerSignStatus:
  29449. get:
  29450. parameters:
  29451. - description: 客户ID
  29452. in: query
  29453. name: userid
  29454. type: integer
  29455. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29456. in: query
  29457. name: nodetype
  29458. type: integer
  29459. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29460. in: query
  29461. name: goodsid
  29462. type: integer
  29463. - description: 创建交易日(yyyyMMdd)
  29464. in: query
  29465. name: tradedate
  29466. type: string
  29467. - description: 用户名称(模糊匹配)
  29468. in: query
  29469. name: username
  29470. type: string
  29471. produces:
  29472. - application/json
  29473. responses:
  29474. "200":
  29475. description: OK
  29476. schema:
  29477. items:
  29478. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29479. type: array
  29480. "500":
  29481. description: Internal Server Error
  29482. schema:
  29483. $ref: '#/definitions/app.Response'
  29484. security:
  29485. - ApiKeyAuth: []
  29486. summary: 查询客户协议签约状态
  29487. tags:
  29488. - 大连千海金(协议和签约信息)
  29489. /QhjSys/QueryNodeAgreementConfig:
  29490. get:
  29491. parameters:
  29492. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29493. in: query
  29494. name: configid
  29495. type: integer
  29496. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29497. in: query
  29498. name: nodetype
  29499. type: integer
  29500. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29501. in: query
  29502. name: goodsid
  29503. type: integer
  29504. - description: 协议ID
  29505. in: query
  29506. name: agreementid
  29507. type: integer
  29508. - description: 协议类型 - 1:注册 2:登录 3:交易
  29509. in: query
  29510. name: agreementtype
  29511. type: integer
  29512. - description: 协议版本号
  29513. in: query
  29514. name: agreementversion
  29515. type: integer
  29516. - description: 协议编号(模糊匹配)
  29517. in: query
  29518. name: agreementno
  29519. type: string
  29520. - description: 协议名称(模糊匹配)
  29521. in: query
  29522. name: agreementname
  29523. type: string
  29524. produces:
  29525. - application/json
  29526. responses:
  29527. "200":
  29528. description: OK
  29529. schema:
  29530. items:
  29531. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29532. type: array
  29533. "500":
  29534. description: Internal Server Error
  29535. schema:
  29536. $ref: '#/definitions/app.Response'
  29537. security:
  29538. - ApiKeyAuth: []
  29539. summary: 查询协议节点配置
  29540. tags:
  29541. - 大连千海金(协议和签约信息)
  29542. /QhjSys/QueryQhjCustomerSignLog:
  29543. get:
  29544. parameters:
  29545. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29546. in: query
  29547. name: logid
  29548. type: integer
  29549. - description: 客户ID
  29550. in: query
  29551. name: userid
  29552. type: integer
  29553. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29554. in: query
  29555. name: nodetype
  29556. type: integer
  29557. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29558. in: query
  29559. name: goodsid
  29560. type: integer
  29561. - description: 协议ID
  29562. in: query
  29563. name: agreementid
  29564. type: integer
  29565. - description: 用户名称(模糊匹配)
  29566. in: query
  29567. name: username
  29568. type: string
  29569. - description: 协议编号(模糊匹配)
  29570. in: query
  29571. name: agreementno
  29572. type: string
  29573. - description: 协议名称(模糊匹配)
  29574. in: query
  29575. name: agreementname
  29576. type: string
  29577. produces:
  29578. - application/json
  29579. responses:
  29580. "200":
  29581. description: OK
  29582. schema:
  29583. items:
  29584. $ref: '#/definitions/models.QhjCustomerSignLog'
  29585. type: array
  29586. "500":
  29587. description: Internal Server Error
  29588. schema:
  29589. $ref: '#/definitions/app.Response'
  29590. security:
  29591. - ApiKeyAuth: []
  29592. summary: 查询客户协议签约流水
  29593. tags:
  29594. - 大连千海金(协议和签约信息)
  29595. /QhjSys/QueryUserNodeCfgAndStatus:
  29596. get:
  29597. parameters:
  29598. - description: 客户ID
  29599. in: query
  29600. name: userid
  29601. type: integer
  29602. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29603. in: query
  29604. name: configid
  29605. type: integer
  29606. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29607. in: query
  29608. name: nodetype
  29609. type: string
  29610. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29611. in: query
  29612. name: goodsid
  29613. type: integer
  29614. - description: 协议ID
  29615. in: query
  29616. name: agreementid
  29617. type: integer
  29618. - description: 协议类型 - 1:注册 2:登录 3:交易
  29619. in: query
  29620. name: agreementtype
  29621. type: integer
  29622. - description: 协议版本号
  29623. in: query
  29624. name: agreementversion
  29625. type: integer
  29626. - description: 协议编号(模糊匹配)
  29627. in: query
  29628. name: agreementno
  29629. type: string
  29630. - description: 协议名称(模糊匹配)
  29631. in: query
  29632. name: agreementname
  29633. type: string
  29634. produces:
  29635. - application/json
  29636. responses:
  29637. "200":
  29638. description: OK
  29639. schema:
  29640. items:
  29641. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29642. type: array
  29643. "500":
  29644. description: Internal Server Error
  29645. schema:
  29646. $ref: '#/definitions/app.Response'
  29647. security:
  29648. - ApiKeyAuth: []
  29649. summary: 查询用户协议节点配置和状态
  29650. tags:
  29651. - 大连千海金(协议和签约信息)
  29652. /Quote/QueryHistoryDatas:
  29653. get:
  29654. parameters:
  29655. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29656. 日线 12:周线 13:月线 14:年线'
  29657. in: query
  29658. name: cycleType
  29659. required: true
  29660. type: integer
  29661. - description: 商品代码
  29662. in: query
  29663. name: goodsCode
  29664. required: true
  29665. type: string
  29666. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29667. in: query
  29668. name: startTime
  29669. type: string
  29670. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29671. in: query
  29672. name: endTime
  29673. type: string
  29674. - description: 条数
  29675. in: query
  29676. name: count
  29677. type: integer
  29678. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29679. in: query
  29680. name: isAsc
  29681. type: boolean
  29682. produces:
  29683. - application/json
  29684. responses:
  29685. "200":
  29686. description: OK
  29687. schema:
  29688. $ref: '#/definitions/quote.HistoryData'
  29689. "500":
  29690. description: Internal Server Error
  29691. schema:
  29692. $ref: '#/definitions/app.Response'
  29693. security:
  29694. - ApiKeyAuth: []
  29695. summary: 查询行情历史数据
  29696. tags:
  29697. - 行情服务
  29698. /Quote/QueryHistoryTikDatas:
  29699. get:
  29700. parameters:
  29701. - description: 商品代码
  29702. in: query
  29703. name: goodsCode
  29704. required: true
  29705. type: string
  29706. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29707. in: query
  29708. name: startTime
  29709. type: string
  29710. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29711. in: query
  29712. name: endTime
  29713. type: string
  29714. - description: 条数
  29715. in: query
  29716. name: count
  29717. type: integer
  29718. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29719. in: query
  29720. name: isAsc
  29721. type: boolean
  29722. produces:
  29723. - application/json
  29724. responses:
  29725. "200":
  29726. description: OK
  29727. schema:
  29728. $ref: '#/definitions/quote.HistoryTikData'
  29729. "500":
  29730. description: Internal Server Error
  29731. schema:
  29732. $ref: '#/definitions/app.Response'
  29733. security:
  29734. - ApiKeyAuth: []
  29735. summary: 查询行情Tik数据
  29736. tags:
  29737. - 行情服务
  29738. /Quote/QueryQuoteDay:
  29739. get:
  29740. parameters:
  29741. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29742. in: query
  29743. name: goodsCodes
  29744. type: string
  29745. produces:
  29746. - application/json
  29747. responses:
  29748. "200":
  29749. description: OK
  29750. schema:
  29751. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29752. "500":
  29753. description: Internal Server Error
  29754. schema:
  29755. $ref: '#/definitions/app.Response'
  29756. security:
  29757. - ApiKeyAuth: []
  29758. summary: 获取商品盘面信息
  29759. tags:
  29760. - 行情服务
  29761. /Quote/QueryTSData:
  29762. get:
  29763. parameters:
  29764. - description: 商品代码
  29765. in: query
  29766. name: goodsCode
  29767. required: true
  29768. type: string
  29769. produces:
  29770. - application/json
  29771. responses:
  29772. "200":
  29773. description: OK
  29774. schema:
  29775. $ref: '#/definitions/quote.QueryTSDataRsp'
  29776. "500":
  29777. description: Internal Server Error
  29778. schema:
  29779. $ref: '#/definitions/app.Response'
  29780. security:
  29781. - ApiKeyAuth: []
  29782. summary: 分时图数据查询
  29783. tags:
  29784. - 行情服务
  29785. /SZDZ/QueryConvertConfig:
  29786. get:
  29787. parameters:
  29788. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29789. 6:交易转花生米(不设置)
  29790. in: query
  29791. name: convertType
  29792. type: integer
  29793. - description: 外部商品代码[JD\PD]
  29794. in: query
  29795. name: outerGoodsCode
  29796. type: string
  29797. - description: 内部商品ID列表[交易],格式:1,2,3
  29798. in: query
  29799. name: innerGoodsIDs
  29800. type: string
  29801. produces:
  29802. - application/json
  29803. responses:
  29804. "200":
  29805. description: OK
  29806. schema:
  29807. $ref: '#/definitions/models.Szdz3convertconfig'
  29808. "500":
  29809. description: Internal Server Error
  29810. schema:
  29811. $ref: '#/definitions/app.Response'
  29812. security:
  29813. - ApiKeyAuth: []
  29814. summary: 查询交易系统转换设置
  29815. tags:
  29816. - 定制【尚志大宗】
  29817. /SZDZ/QueryConvertLog:
  29818. get:
  29819. parameters:
  29820. - description: 资金账户 - 格式:1,2,3
  29821. in: query
  29822. name: accountID
  29823. required: true
  29824. type: string
  29825. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29826. in: query
  29827. name: startDate
  29828. type: string
  29829. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29830. in: query
  29831. name: endDate
  29832. type: string
  29833. produces:
  29834. - application/json
  29835. responses:
  29836. "200":
  29837. description: OK
  29838. schema:
  29839. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. security:
  29845. - ApiKeyAuth: []
  29846. summary: 交易系统转换流水查询
  29847. tags:
  29848. - 定制【尚志大宗】
  29849. /SZDZ/QueryGoodsPickup:
  29850. get:
  29851. parameters:
  29852. - description: 资金账户 - 格式:1,2,3
  29853. in: query
  29854. name: accountID
  29855. required: true
  29856. type: string
  29857. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29858. in: query
  29859. name: takeOrderStatus
  29860. type: integer
  29861. produces:
  29862. - application/json
  29863. responses:
  29864. "200":
  29865. description: OK
  29866. schema:
  29867. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29868. "500":
  29869. description: Internal Server Error
  29870. schema:
  29871. $ref: '#/definitions/app.Response'
  29872. security:
  29873. - ApiKeyAuth: []
  29874. summary: 商品提货单查询
  29875. tags:
  29876. - 定制【尚志大宗】
  29877. /SZDZ/QueryRecieptOrder:
  29878. get:
  29879. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29880. parameters:
  29881. - description: 页码
  29882. in: query
  29883. name: page
  29884. type: integer
  29885. - description: 每页条数
  29886. in: query
  29887. name: pagesize
  29888. type: integer
  29889. - description: 商品ID
  29890. in: query
  29891. name: goodsID
  29892. required: true
  29893. type: integer
  29894. - description: 所属账户名称
  29895. in: query
  29896. name: accountName
  29897. type: string
  29898. - description: 市场ID
  29899. in: query
  29900. name: marketID
  29901. type: integer
  29902. - description: 方向 - 0:买 1:卖
  29903. in: query
  29904. name: buyorsell
  29905. required: true
  29906. type: integer
  29907. produces:
  29908. - application/json
  29909. responses:
  29910. "200":
  29911. description: OK
  29912. schema:
  29913. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29914. "500":
  29915. description: Internal Server Error
  29916. schema:
  29917. $ref: '#/definitions/app.Response'
  29918. security:
  29919. - ApiKeyAuth: []
  29920. summary: 点选挂牌委托单据查询(摘牌大厅)
  29921. tags:
  29922. - 定制【尚志大宗】
  29923. /SZDZ/QuerySZDZTradePosition:
  29924. get:
  29925. parameters:
  29926. - description: 资金账户
  29927. in: query
  29928. name: accountID
  29929. required: true
  29930. type: integer
  29931. produces:
  29932. - application/json
  29933. responses:
  29934. "200":
  29935. description: OK
  29936. schema:
  29937. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29938. "500":
  29939. description: Internal Server Error
  29940. schema:
  29941. $ref: '#/definitions/app.Response'
  29942. security:
  29943. - ApiKeyAuth: []
  29944. summary: 持仓汇总查询(尚志大宗)
  29945. tags:
  29946. - 定制【尚志大宗】
  29947. /SZDZ/SearchWhite:
  29948. get:
  29949. parameters:
  29950. - description: 用户ID
  29951. in: query
  29952. name: userID
  29953. required: true
  29954. type: integer
  29955. produces:
  29956. - application/json
  29957. responses:
  29958. "200":
  29959. description: OK
  29960. schema:
  29961. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29962. "500":
  29963. description: Internal Server Error
  29964. schema:
  29965. $ref: '#/definitions/app.Response'
  29966. security:
  29967. - ApiKeyAuth: []
  29968. summary: 搜索白名单
  29969. tags:
  29970. - 定制【尚志大宗】
  29971. /Search/SearchGoodses:
  29972. get:
  29973. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29974. parameters:
  29975. - description: 检索内容
  29976. in: query
  29977. name: content
  29978. required: true
  29979. type: string
  29980. - description: 交易模式,格式:1,2,3
  29981. in: query
  29982. name: tradeModes
  29983. type: string
  29984. produces:
  29985. - application/json
  29986. responses:
  29987. "200":
  29988. description: OK
  29989. schema:
  29990. $ref: '#/definitions/models.SearchGoods'
  29991. "500":
  29992. description: Internal Server Error
  29993. schema:
  29994. $ref: '#/definitions/app.Response'
  29995. summary: 检索商品信息
  29996. tags:
  29997. - 检索服务
  29998. /TaAccount/GetTaAccounts:
  29999. get:
  30000. parameters:
  30001. - description: 登录账户
  30002. in: query
  30003. name: loginID
  30004. required: true
  30005. type: integer
  30006. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30007. in: query
  30008. name: taAccountType
  30009. type: integer
  30010. produces:
  30011. - application/json
  30012. responses:
  30013. "200":
  30014. description: OK
  30015. schema:
  30016. $ref: '#/definitions/models.Taaccount'
  30017. "500":
  30018. description: Internal Server Error
  30019. schema:
  30020. $ref: '#/definitions/app.Response'
  30021. security:
  30022. - ApiKeyAuth: []
  30023. summary: 获取资金账户信息
  30024. tags:
  30025. - 资金账户
  30026. /TaAccount/QueryAmountLog:
  30027. get:
  30028. parameters:
  30029. - description: 页码
  30030. in: query
  30031. name: page
  30032. type: integer
  30033. - description: 每页条数
  30034. in: query
  30035. name: pagesize
  30036. type: integer
  30037. - description: 资金账户 - 格式:1,2,3
  30038. in: query
  30039. name: accountID
  30040. required: true
  30041. type: string
  30042. - description: 资金操作类型 - 格式:1,2,3
  30043. in: query
  30044. name: OperateType
  30045. type: string
  30046. produces:
  30047. - application/json
  30048. responses:
  30049. "200":
  30050. description: OK
  30051. schema:
  30052. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30053. "500":
  30054. description: Internal Server Error
  30055. schema:
  30056. $ref: '#/definitions/app.Response'
  30057. security:
  30058. - ApiKeyAuth: []
  30059. summary: 资金流水查询(当前)
  30060. tags:
  30061. - 资金账户
  30062. /TaAccount/QueryHisAmountLog:
  30063. get:
  30064. parameters:
  30065. - description: 页码
  30066. in: query
  30067. name: page
  30068. type: integer
  30069. - description: 每页条数
  30070. in: query
  30071. name: pagesize
  30072. type: integer
  30073. - description: 资金账户 - 格式:1,2,3
  30074. in: query
  30075. name: accountID
  30076. required: true
  30077. type: string
  30078. - description: 资金操作类型 - 格式:1,2,3
  30079. in: query
  30080. name: OperateType
  30081. type: string
  30082. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30083. in: query
  30084. name: startDate
  30085. type: string
  30086. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30087. in: query
  30088. name: endDate
  30089. type: string
  30090. produces:
  30091. - application/json
  30092. responses:
  30093. "200":
  30094. description: OK
  30095. schema:
  30096. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30097. "500":
  30098. description: Internal Server Error
  30099. schema:
  30100. $ref: '#/definitions/app.Response'
  30101. security:
  30102. - ApiKeyAuth: []
  30103. summary: 资金流水查询(历史)
  30104. tags:
  30105. - 资金账户
  30106. /TaAccount/QueryRelatedTaAccount:
  30107. get:
  30108. parameters:
  30109. - description: 关联UserID
  30110. in: query
  30111. name: relateduserid
  30112. required: true
  30113. type: integer
  30114. produces:
  30115. - application/json
  30116. responses:
  30117. "200":
  30118. description: OK
  30119. schema:
  30120. items:
  30121. $ref: '#/definitions/models.RelatedTaAccount'
  30122. type: array
  30123. "500":
  30124. description: Internal Server Error
  30125. schema:
  30126. $ref: '#/definitions/app.Response'
  30127. security:
  30128. - ApiKeyAuth: []
  30129. summary: 查询关联资金账户信息
  30130. tags:
  30131. - 资金账户
  30132. /Tjmd/QueryQuoteGoodsList:
  30133. get:
  30134. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30135. parameters:
  30136. - description: 用户类型
  30137. in: query
  30138. name: usertype
  30139. required: true
  30140. type: integer
  30141. - description: 市场id, 格式 1,2,3
  30142. in: query
  30143. name: marketids
  30144. type: string
  30145. - description: 商品组id
  30146. in: query
  30147. name: goodsgroupid
  30148. type: integer
  30149. - description: 商品id
  30150. in: query
  30151. name: goodsid
  30152. type: integer
  30153. produces:
  30154. - application/json
  30155. responses:
  30156. "200":
  30157. description: OK
  30158. schema:
  30159. items:
  30160. $ref: '#/definitions/models.TjmdQuoteGoods'
  30161. type: array
  30162. "500":
  30163. description: Internal Server Error
  30164. schema:
  30165. $ref: '#/definitions/app.Response'
  30166. security:
  30167. - ApiKeyAuth: []
  30168. summary: 查询掉期报价列表
  30169. tags:
  30170. - 天津麦顿
  30171. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30172. get:
  30173. parameters:
  30174. - description: 成交单号
  30175. in: query
  30176. name: tradeid
  30177. required: true
  30178. type: string
  30179. produces:
  30180. - application/json
  30181. responses:
  30182. "200":
  30183. description: OK
  30184. schema:
  30185. items:
  30186. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30187. type: array
  30188. "500":
  30189. description: Internal Server Error
  30190. schema:
  30191. $ref: '#/definitions/app.Response'
  30192. security:
  30193. - ApiKeyAuth: []
  30194. summary: 掉期商品订单详情(交易确认书)
  30195. tags:
  30196. - 天津麦顿
  30197. /Tjmd/QueryTjmdMarketSection:
  30198. get:
  30199. produces:
  30200. - application/json
  30201. responses:
  30202. "200":
  30203. description: OK
  30204. schema:
  30205. items:
  30206. $ref: '#/definitions/models.TjmdMarketSection'
  30207. type: array
  30208. "500":
  30209. description: Internal Server Error
  30210. schema:
  30211. $ref: '#/definitions/app.Response'
  30212. security:
  30213. - ApiKeyAuth: []
  30214. summary: 查询市场板块
  30215. tags:
  30216. - 天津麦顿
  30217. /Tjmd/QueryTjmdTodayAccountMargin:
  30218. get:
  30219. parameters:
  30220. - description: 市场id
  30221. in: query
  30222. name: marketid
  30223. type: string
  30224. - description: 商品id
  30225. in: query
  30226. name: goodsid
  30227. type: string
  30228. - description: 资金账号
  30229. in: query
  30230. name: accountid
  30231. type: string
  30232. produces:
  30233. - application/json
  30234. responses:
  30235. "200":
  30236. description: OK
  30237. schema:
  30238. items:
  30239. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30240. type: array
  30241. "500":
  30242. description: Internal Server Error
  30243. schema:
  30244. $ref: '#/definitions/app.Response'
  30245. security:
  30246. - ApiKeyAuth: []
  30247. summary: 查询今日账户保证金配置
  30248. tags:
  30249. - 天津麦顿
  30250. /Tjmd/QueryTjmdTradeOrderDetail:
  30251. get:
  30252. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30253. parameters:
  30254. - description: 页码
  30255. in: query
  30256. name: page
  30257. type: integer
  30258. - description: 每页条数
  30259. in: query
  30260. name: pagesize
  30261. type: integer
  30262. - description: 用户id
  30263. in: query
  30264. name: userid
  30265. required: true
  30266. type: integer
  30267. - description: 用户类型
  30268. in: query
  30269. name: usertype
  30270. required: true
  30271. type: integer
  30272. - description: 市场id, 格式 1,2,3
  30273. in: query
  30274. name: marketids
  30275. type: string
  30276. - description: 商品id
  30277. in: query
  30278. name: goodsid
  30279. required: true
  30280. type: integer
  30281. - description: 买卖方向 0-买 1-卖
  30282. in: query
  30283. name: buyorsell
  30284. required: true
  30285. type: integer
  30286. produces:
  30287. - application/json
  30288. responses:
  30289. "200":
  30290. description: OK
  30291. schema:
  30292. items:
  30293. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30294. type: array
  30295. "500":
  30296. description: Internal Server Error
  30297. schema:
  30298. $ref: '#/definitions/app.Response'
  30299. security:
  30300. - ApiKeyAuth: []
  30301. summary: 查询掉期买卖大厅
  30302. tags:
  30303. - 天津麦顿
  30304. /Tjmd/QueryTjmdTransferApply:
  30305. get:
  30306. parameters:
  30307. - description: 类型 1-我的申请 2-对方申请
  30308. in: query
  30309. name: applytype
  30310. required: true
  30311. type: integer
  30312. - description: 市场id, 格式 1,2,3
  30313. in: query
  30314. name: marketids
  30315. type: string
  30316. - description: 资金账号, 格式 25000000001,25000000003
  30317. in: query
  30318. name: accountids
  30319. type: string
  30320. - description: 开始交易日(yyyymmdd)
  30321. in: query
  30322. name: begindate
  30323. type: string
  30324. - description: 结束交易日(yyyymmdd)
  30325. in: query
  30326. name: enddate
  30327. type: string
  30328. produces:
  30329. - application/json
  30330. responses:
  30331. "200":
  30332. description: OK
  30333. schema:
  30334. items:
  30335. $ref: '#/definitions/models.TjmdTransferApply'
  30336. type: array
  30337. "500":
  30338. description: Internal Server Error
  30339. schema:
  30340. $ref: '#/definitions/app.Response'
  30341. security:
  30342. - ApiKeyAuth: []
  30343. summary: 查询掉期协议单
  30344. tags:
  30345. - 天津麦顿
  30346. /Trade/QueryRecieptOrder:
  30347. get:
  30348. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30349. parameters:
  30350. - description: 页码
  30351. in: query
  30352. name: page
  30353. type: integer
  30354. - description: 每页条数
  30355. in: query
  30356. name: pagesize
  30357. type: integer
  30358. - description: 商品ID
  30359. in: query
  30360. name: goodsID
  30361. required: true
  30362. type: integer
  30363. - description: 所属账户名称
  30364. in: query
  30365. name: accountName
  30366. type: string
  30367. - description: 市场ID
  30368. in: query
  30369. name: marketID
  30370. type: integer
  30371. - description: 方向 - 0:买 1:卖
  30372. in: query
  30373. name: buyorsell
  30374. required: true
  30375. type: integer
  30376. produces:
  30377. - application/json
  30378. responses:
  30379. "200":
  30380. description: OK
  30381. schema:
  30382. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30383. "500":
  30384. description: Internal Server Error
  30385. schema:
  30386. $ref: '#/definitions/app.Response'
  30387. security:
  30388. - ApiKeyAuth: []
  30389. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30390. tags:
  30391. - 通用交易
  30392. /User/AddMessageBoard:
  30393. post:
  30394. parameters:
  30395. - description: 用户ID
  30396. in: query
  30397. name: userID
  30398. required: true
  30399. type: integer
  30400. - description: 留言信息
  30401. in: query
  30402. name: message
  30403. required: true
  30404. type: string
  30405. - description: 联系电话
  30406. in: query
  30407. name: contactNum
  30408. required: true
  30409. type: string
  30410. produces:
  30411. - application/json
  30412. responses:
  30413. "200":
  30414. description: OK
  30415. schema:
  30416. $ref: '#/definitions/app.Response'
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 添加用户留言板信息
  30424. tags:
  30425. - 用户信息
  30426. /User/AddUserFavoriteGoods:
  30427. post:
  30428. parameters:
  30429. - description: 用户ID
  30430. in: query
  30431. name: userID
  30432. required: true
  30433. type: integer
  30434. - description: 商品ID
  30435. in: query
  30436. name: goodsID
  30437. required: true
  30438. type: integer
  30439. produces:
  30440. - application/json
  30441. responses:
  30442. "200":
  30443. description: OK
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. "500":
  30447. description: Internal Server Error
  30448. schema:
  30449. $ref: '#/definitions/app.Response'
  30450. security:
  30451. - ApiKeyAuth: []
  30452. summary: 添加用户商品收藏信息
  30453. tags:
  30454. - 用户信息
  30455. /User/GetLoginID:
  30456. get:
  30457. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30458. parameters:
  30459. - description: 登录代码
  30460. in: query
  30461. name: username
  30462. required: true
  30463. type: string
  30464. produces:
  30465. - application/json
  30466. responses:
  30467. "200":
  30468. description: OK
  30469. schema:
  30470. $ref: '#/definitions/app.Response'
  30471. "500":
  30472. description: Internal Server Error
  30473. schema:
  30474. $ref: '#/definitions/app.Response'
  30475. summary: 获取登录ID
  30476. tags:
  30477. - 用户信息
  30478. /User/GetUserAccount:
  30479. get:
  30480. parameters:
  30481. - description: 用户ID
  30482. in: query
  30483. name: userID
  30484. required: true
  30485. type: integer
  30486. produces:
  30487. - application/json
  30488. responses:
  30489. "200":
  30490. description: OK
  30491. schema:
  30492. $ref: '#/definitions/models.Useraccount'
  30493. "500":
  30494. description: Internal Server Error
  30495. schema:
  30496. $ref: '#/definitions/app.Response'
  30497. security:
  30498. - ApiKeyAuth: []
  30499. summary: 获取用户账号信息
  30500. tags:
  30501. - 用户信息
  30502. /User/GetUserAuthStatus:
  30503. get:
  30504. parameters:
  30505. - description: 用户ID
  30506. in: query
  30507. name: userID
  30508. required: true
  30509. type: integer
  30510. produces:
  30511. - application/json
  30512. responses:
  30513. "200":
  30514. description: OK
  30515. schema:
  30516. $ref: '#/definitions/app.Response'
  30517. "500":
  30518. description: Internal Server Error
  30519. schema:
  30520. $ref: '#/definitions/app.Response'
  30521. security:
  30522. - ApiKeyAuth: []
  30523. summary: 获取用户实名认证状态
  30524. tags:
  30525. - 用户信息
  30526. /User/LoginQuery:
  30527. get:
  30528. parameters:
  30529. - description: 登录账号
  30530. in: query
  30531. name: loginID
  30532. required: true
  30533. type: integer
  30534. produces:
  30535. - application/json
  30536. responses:
  30537. "200":
  30538. description: OK
  30539. schema:
  30540. $ref: '#/definitions/user.LoginQueryRsp'
  30541. "500":
  30542. description: Internal Server Error
  30543. schema:
  30544. $ref: '#/definitions/app.Response'
  30545. security:
  30546. - ApiKeyAuth: []
  30547. summary: 账户登录后信息查询
  30548. tags:
  30549. - 用户信息
  30550. /User/QueryMessageBoard:
  30551. get:
  30552. parameters:
  30553. - description: 用户ID
  30554. in: query
  30555. name: userID
  30556. required: true
  30557. type: integer
  30558. produces:
  30559. - application/json
  30560. responses:
  30561. "200":
  30562. description: OK
  30563. schema:
  30564. $ref: '#/definitions/models.Messageboard'
  30565. "500":
  30566. description: Internal Server Error
  30567. schema:
  30568. $ref: '#/definitions/app.Response'
  30569. security:
  30570. - ApiKeyAuth: []
  30571. summary: 获取用户留言板信息
  30572. tags:
  30573. - 用户信息
  30574. /User/QueryUserFavoriteGoodses:
  30575. get:
  30576. parameters:
  30577. - description: 用户ID
  30578. in: query
  30579. name: userID
  30580. required: true
  30581. type: integer
  30582. produces:
  30583. - application/json
  30584. responses:
  30585. "200":
  30586. description: OK
  30587. schema:
  30588. $ref: '#/definitions/models.Userfavoritegoods'
  30589. "500":
  30590. description: Internal Server Error
  30591. schema:
  30592. $ref: '#/definitions/app.Response'
  30593. security:
  30594. - ApiKeyAuth: []
  30595. summary: 获取用户商品收藏信息
  30596. tags:
  30597. - 用户信息
  30598. /User/QueryUserInfo:
  30599. get:
  30600. parameters:
  30601. - description: 用户ID
  30602. in: query
  30603. name: userID
  30604. required: true
  30605. type: integer
  30606. - description: 是否解密
  30607. in: query
  30608. name: isDecrypt
  30609. type: boolean
  30610. produces:
  30611. - application/json
  30612. responses:
  30613. "200":
  30614. description: OK
  30615. schema:
  30616. $ref: '#/definitions/models.Userinfo'
  30617. "500":
  30618. description: Internal Server Error
  30619. schema:
  30620. $ref: '#/definitions/app.Response'
  30621. security:
  30622. - ApiKeyAuth: []
  30623. summary: 获取用户信息
  30624. tags:
  30625. - 用户信息
  30626. /User/QueryUserReferNum:
  30627. get:
  30628. parameters:
  30629. - description: 用户ID
  30630. in: query
  30631. name: userID
  30632. required: true
  30633. type: integer
  30634. produces:
  30635. - application/json
  30636. responses:
  30637. "200":
  30638. description: OK
  30639. schema:
  30640. $ref: '#/definitions/app.Response'
  30641. "500":
  30642. description: Internal Server Error
  30643. schema:
  30644. $ref: '#/definitions/app.Response'
  30645. summary: 获取用户邀请码
  30646. tags:
  30647. - 用户信息
  30648. /User/RemoveUserFavoriteGoods:
  30649. post:
  30650. parameters:
  30651. - description: 用户ID
  30652. in: query
  30653. name: userID
  30654. required: true
  30655. type: integer
  30656. - description: 商品ID
  30657. in: query
  30658. name: goodsID
  30659. required: true
  30660. type: integer
  30661. produces:
  30662. - application/json
  30663. responses:
  30664. "200":
  30665. description: OK
  30666. schema:
  30667. $ref: '#/definitions/app.Response'
  30668. "500":
  30669. description: Internal Server Error
  30670. schema:
  30671. $ref: '#/definitions/app.Response'
  30672. security:
  30673. - ApiKeyAuth: []
  30674. summary: 移除用户商品收藏信息
  30675. tags:
  30676. - 用户信息
  30677. /User/UpdateUserAccountStatus:
  30678. post:
  30679. parameters:
  30680. - description: 用户ID
  30681. in: query
  30682. name: userID
  30683. required: true
  30684. type: integer
  30685. - description: 账户状态 - 4:正常 6:注销(停用)
  30686. in: query
  30687. name: accountStatus
  30688. required: true
  30689. type: integer
  30690. produces:
  30691. - application/json
  30692. responses:
  30693. "200":
  30694. description: OK
  30695. schema:
  30696. $ref: '#/definitions/app.Response'
  30697. "500":
  30698. description: Internal Server Error
  30699. schema:
  30700. $ref: '#/definitions/app.Response'
  30701. security:
  30702. - ApiKeyAuth: []
  30703. summary: 更新用户状态
  30704. tags:
  30705. - 用户信息
  30706. /WRTrade/GetAllDeliveryGoods:
  30707. get:
  30708. produces:
  30709. - application/json
  30710. responses:
  30711. "200":
  30712. description: OK
  30713. schema:
  30714. $ref: '#/definitions/app.Response'
  30715. "500":
  30716. description: Internal Server Error
  30717. schema:
  30718. $ref: '#/definitions/app.Response'
  30719. security:
  30720. - ApiKeyAuth: []
  30721. summary: 获取带仓单分类的种类信息
  30722. tags:
  30723. - 仓单贸易
  30724. - 仓单贸易
  30725. /WrTrade2/InsertXhcpSellBackApply:
  30726. post:
  30727. parameters:
  30728. - description: 回收申请
  30729. in: body
  30730. name: jsonBody
  30731. required: true
  30732. schema:
  30733. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30734. produces:
  30735. - application/json
  30736. responses:
  30737. "200":
  30738. description: OK
  30739. schema:
  30740. $ref: '#/definitions/app.Response'
  30741. "500":
  30742. description: Internal Server Error
  30743. schema:
  30744. $ref: '#/definitions/app.Response'
  30745. security:
  30746. - ApiKeyAuth: []
  30747. summary: 新增回收申请(新会陈皮)
  30748. tags:
  30749. - 仓单贸易v2
  30750. /WrTrade2/QueryDeliveryGoodsSection:
  30751. get:
  30752. produces:
  30753. - application/json
  30754. responses:
  30755. "200":
  30756. description: OK
  30757. schema:
  30758. items:
  30759. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30760. type: array
  30761. "500":
  30762. description: Internal Server Error
  30763. schema:
  30764. $ref: '#/definitions/app.Response'
  30765. security:
  30766. - ApiKeyAuth: []
  30767. summary: 查询板块(分类)
  30768. tags:
  30769. - 仓单贸易v2
  30770. /WrTrade2/QueryFaProductDetail:
  30771. get:
  30772. description: 页面 买卖大厅 -> 选择融资方案
  30773. parameters:
  30774. - description: 仓单要素id
  30775. in: query
  30776. name: wrfactortypeid
  30777. required: true
  30778. type: integer
  30779. produces:
  30780. - application/json
  30781. responses:
  30782. "200":
  30783. description: OK
  30784. schema:
  30785. items:
  30786. $ref: '#/definitions/models.WrFAProductDetail'
  30787. type: array
  30788. "500":
  30789. description: Internal Server Error
  30790. schema:
  30791. $ref: '#/definitions/app.Response'
  30792. security:
  30793. - ApiKeyAuth: []
  30794. summary: 查询融资产品列表
  30795. tags:
  30796. - 仓单贸易v2
  30797. /WrTrade2/QueryFilterItem:
  30798. get:
  30799. parameters:
  30800. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30801. in: query
  30802. name: itype
  30803. required: true
  30804. type: string
  30805. produces:
  30806. - application/json
  30807. responses:
  30808. "200":
  30809. description: OK
  30810. schema:
  30811. items:
  30812. $ref: '#/definitions/models.WrFilterItem'
  30813. type: array
  30814. "500":
  30815. description: Internal Server Error
  30816. schema:
  30817. $ref: '#/definitions/app.Response'
  30818. security:
  30819. - ApiKeyAuth: []
  30820. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30821. tags:
  30822. - 仓单贸易v2
  30823. /WrTrade2/QueryFtDeliveryGoods:
  30824. get:
  30825. produces:
  30826. - application/json
  30827. responses:
  30828. "200":
  30829. description: OK
  30830. schema:
  30831. items:
  30832. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30833. type: array
  30834. "500":
  30835. description: Internal Server Error
  30836. schema:
  30837. $ref: '#/definitions/app.Response'
  30838. security:
  30839. - ApiKeyAuth: []
  30840. summary: 查询品种品类筛选框列表
  30841. tags:
  30842. - 仓单贸易v2
  30843. /WrTrade2/QueryHoldLB:
  30844. get:
  30845. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30846. parameters:
  30847. - description: 资金账号
  30848. in: query
  30849. name: accountid
  30850. required: true
  30851. type: integer
  30852. - description: 仓库id
  30853. in: query
  30854. name: warehouseid
  30855. type: integer
  30856. - description: 品种id
  30857. in: query
  30858. name: deliverygoodsid
  30859. type: integer
  30860. - description: 品类id
  30861. in: query
  30862. name: wrstandardid
  30863. type: integer
  30864. - description: 仓单要素id
  30865. in: query
  30866. name: wrfactortypeid
  30867. type: integer
  30868. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30869. in: query
  30870. name: dgitemname
  30871. type: string
  30872. produces:
  30873. - application/json
  30874. responses:
  30875. "200":
  30876. description: OK
  30877. schema:
  30878. items:
  30879. $ref: '#/definitions/models.WrHoldLB'
  30880. type: array
  30881. "500":
  30882. description: Internal Server Error
  30883. schema:
  30884. $ref: '#/definitions/app.Response'
  30885. security:
  30886. - ApiKeyAuth: []
  30887. summary: 查询仓单持有记录
  30888. tags:
  30889. - 仓单贸易v2
  30890. /WrTrade2/QueryOrderQuote:
  30891. get:
  30892. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30893. 唯一确定1条记录
  30894. parameters:
  30895. - description: 页码
  30896. in: query
  30897. name: page
  30898. type: integer
  30899. - description: 每页条数
  30900. in: query
  30901. name: pagesize
  30902. type: integer
  30903. - description: 仓单贸易市场id
  30904. in: query
  30905. name: marketid
  30906. type: integer
  30907. - description: 价格方式 - 1:固定价 2-浮动价
  30908. in: query
  30909. name: wrpricetype
  30910. required: true
  30911. type: integer
  30912. - description: 0:仓单预售 1:仓单贸易
  30913. in: query
  30914. name: haswr
  30915. type: integer
  30916. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30917. in: query
  30918. name: dgitemname
  30919. type: string
  30920. - description: 仓库id(筛选条件)
  30921. in: query
  30922. name: warehouseid
  30923. type: integer
  30924. - description: 品种id
  30925. in: query
  30926. name: deliverygoodsid
  30927. type: integer
  30928. - description: 品类id
  30929. in: query
  30930. name: wrstandardid
  30931. type: integer
  30932. - description: 品牌id(dgfactoryitemid)
  30933. in: query
  30934. name: brandid
  30935. type: integer
  30936. - description: 年份id(dgfactoryitemid)
  30937. in: query
  30938. name: yearsid
  30939. type: integer
  30940. - description: 仓单要素id
  30941. in: query
  30942. name: wrfactortypeid
  30943. type: integer
  30944. - description: 交收月(yyyy-mm) 仓单预售填写
  30945. in: query
  30946. name: deliverymonth
  30947. type: string
  30948. produces:
  30949. - application/json
  30950. responses:
  30951. "200":
  30952. description: OK
  30953. schema:
  30954. items:
  30955. $ref: '#/definitions/models.WrOrderQuote'
  30956. type: array
  30957. "500":
  30958. description: Internal Server Error
  30959. schema:
  30960. $ref: '#/definitions/app.Response'
  30961. security:
  30962. - ApiKeyAuth: []
  30963. summary: 查询大厅行情列表
  30964. tags:
  30965. - 仓单贸易v2
  30966. /WrTrade2/QueryOrderQuoteDetail:
  30967. get:
  30968. parameters:
  30969. - description: 页码
  30970. in: query
  30971. name: page
  30972. type: integer
  30973. - description: 每页条数
  30974. in: query
  30975. name: pagesize
  30976. type: integer
  30977. - description: 仓单贸易市场id
  30978. in: query
  30979. name: marketid
  30980. type: integer
  30981. - description: 价格方式 - 1:固定价 2-浮动价
  30982. in: query
  30983. name: wrpricetype
  30984. required: true
  30985. type: integer
  30986. - description: 0:仓单预售 1:仓单贸易
  30987. in: query
  30988. name: haswr
  30989. type: integer
  30990. - description: 仓单要素id
  30991. in: query
  30992. name: wrfactortypeid
  30993. required: true
  30994. type: integer
  30995. - description: 期货商品id(浮动价方式时填)
  30996. in: query
  30997. name: goodsid
  30998. type: integer
  30999. - description: 买卖方向 0-买 1-卖
  31000. in: query
  31001. name: buyorsell
  31002. required: true
  31003. type: integer
  31004. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31005. in: query
  31006. name: deliverymonth
  31007. type: string
  31008. produces:
  31009. - application/json
  31010. responses:
  31011. "200":
  31012. description: OK
  31013. schema:
  31014. items:
  31015. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31016. type: array
  31017. "500":
  31018. description: Internal Server Error
  31019. schema:
  31020. $ref: '#/definitions/app.Response'
  31021. security:
  31022. - ApiKeyAuth: []
  31023. summary: 查询买卖大厅
  31024. tags:
  31025. - 仓单贸易v2
  31026. /WrTrade2/QueryOrderQuoteMyq:
  31027. get:
  31028. parameters:
  31029. - description: 页码
  31030. in: query
  31031. name: page
  31032. type: integer
  31033. - description: 每页条数
  31034. in: query
  31035. name: pagesize
  31036. type: integer
  31037. - description: 用户id
  31038. in: query
  31039. name: userid
  31040. required: true
  31041. type: integer
  31042. - description: 仓单贸易市场id
  31043. in: query
  31044. name: marketid
  31045. type: integer
  31046. - description: 0:仓单预售 1:仓单贸易
  31047. in: query
  31048. name: haswr
  31049. type: integer
  31050. - description: 买卖方向 0-买 1-卖
  31051. in: query
  31052. name: buyorsell
  31053. required: true
  31054. type: integer
  31055. - description: 品种id
  31056. in: query
  31057. name: deliverygoodsid
  31058. type: integer
  31059. - description: 品类id
  31060. in: query
  31061. name: wrstandardid
  31062. type: integer
  31063. - description: 交收月(yyyy-mm) 仓单预售填写
  31064. in: query
  31065. name: deliverymonth
  31066. type: string
  31067. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31068. in: query
  31069. name: dgitemname
  31070. type: string
  31071. produces:
  31072. - application/json
  31073. responses:
  31074. "200":
  31075. description: OK
  31076. schema:
  31077. items:
  31078. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31079. type: array
  31080. "500":
  31081. description: Internal Server Error
  31082. schema:
  31083. $ref: '#/definitions/app.Response'
  31084. security:
  31085. - ApiKeyAuth: []
  31086. summary: 查询贸易圈挂牌大厅
  31087. tags:
  31088. - 仓单贸易v2
  31089. /WrTrade2/QueryPerformancePlan:
  31090. get:
  31091. parameters:
  31092. - description: 用户id
  31093. in: query
  31094. name: userid
  31095. required: true
  31096. type: integer
  31097. - description: 买卖方向 0-买 1-卖
  31098. in: query
  31099. name: buyorsell
  31100. required: true
  31101. type: integer
  31102. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31103. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31104. in: query
  31105. name: status
  31106. type: string
  31107. - description: 开始交易日(yyyymmdd)
  31108. in: query
  31109. name: begindate
  31110. type: string
  31111. - description: 结束交易日(yyyymmdd)
  31112. in: query
  31113. name: enddate
  31114. type: string
  31115. produces:
  31116. - application/json
  31117. responses:
  31118. "200":
  31119. description: OK
  31120. schema:
  31121. items:
  31122. $ref: '#/definitions/models.WrPerformancePlan'
  31123. type: array
  31124. "500":
  31125. description: Internal Server Error
  31126. schema:
  31127. $ref: '#/definitions/app.Response'
  31128. security:
  31129. - ApiKeyAuth: []
  31130. summary: 查询履约信息
  31131. tags:
  31132. - 仓单贸易v2
  31133. /WrTrade2/QueryPermancePlanTmp:
  31134. get:
  31135. description: |-
  31136. 返回指定用户的模板和公共模板(用户id为空)
  31137. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31138. parameters:
  31139. - description: 用户id
  31140. in: query
  31141. name: userid
  31142. type: integer
  31143. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31144. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31145. in: query
  31146. name: tmptype
  31147. type: string
  31148. - description: 是否包含公共模板(用户id为空的) 1-包含
  31149. in: query
  31150. name: includepub
  31151. type: integer
  31152. - description: 市场id(天津麦顿指定此参数,其它不用)
  31153. in: query
  31154. name: marketid
  31155. type: integer
  31156. produces:
  31157. - application/json
  31158. responses:
  31159. "200":
  31160. description: OK
  31161. schema:
  31162. items:
  31163. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31164. type: array
  31165. "500":
  31166. description: Internal Server Error
  31167. schema:
  31168. $ref: '#/definitions/app.Response'
  31169. security:
  31170. - ApiKeyAuth: []
  31171. summary: 查询履约模板
  31172. tags:
  31173. - 仓单贸易v2
  31174. /WrTrade2/QuerySiteColumnDetail:
  31175. get:
  31176. parameters:
  31177. - description: 页码
  31178. in: query
  31179. name: page
  31180. type: integer
  31181. - description: 每页条数
  31182. in: query
  31183. name: pagesize
  31184. type: integer
  31185. - description: 所属栏目id
  31186. in: query
  31187. name: columnid
  31188. type: integer
  31189. produces:
  31190. - application/json
  31191. responses:
  31192. "200":
  31193. description: OK
  31194. schema:
  31195. items:
  31196. $ref: '#/definitions/models.WrSiteColumnDetail'
  31197. type: array
  31198. "500":
  31199. description: Internal Server Error
  31200. schema:
  31201. $ref: '#/definitions/app.Response'
  31202. security:
  31203. - ApiKeyAuth: []
  31204. summary: 查询资讯
  31205. tags:
  31206. - 仓单贸易v2
  31207. /WrTrade2/QuerySpotGroupTradeSum:
  31208. get:
  31209. produces:
  31210. - application/json
  31211. responses:
  31212. "200":
  31213. description: OK
  31214. schema:
  31215. items:
  31216. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31217. type: array
  31218. "500":
  31219. description: Internal Server Error
  31220. schema:
  31221. $ref: '#/definitions/app.Response'
  31222. security:
  31223. - ApiKeyAuth: []
  31224. summary: 查询指数
  31225. tags:
  31226. - 仓单贸易v2
  31227. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31228. get:
  31229. description: 查询的结果将会按日期 从小到大 排序
  31230. parameters:
  31231. - description: 现货商品id
  31232. in: query
  31233. name: deliverygoodsid
  31234. required: true
  31235. type: integer
  31236. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31237. in: query
  31238. name: lastnum
  31239. type: integer
  31240. produces:
  31241. - application/json
  31242. responses:
  31243. "200":
  31244. description: OK
  31245. schema:
  31246. items:
  31247. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31248. type: array
  31249. "500":
  31250. description: Internal Server Error
  31251. schema:
  31252. $ref: '#/definitions/app.Response'
  31253. security:
  31254. - ApiKeyAuth: []
  31255. summary: 查询指数详细(价格走势图)
  31256. tags:
  31257. - 仓单贸易v2
  31258. /WrTrade2/QueryWrAverageTradePrice:
  31259. get:
  31260. parameters:
  31261. - description: 页码
  31262. in: query
  31263. name: page
  31264. type: integer
  31265. - description: 每页条数
  31266. in: query
  31267. name: pagesize
  31268. type: integer
  31269. - description: 0:仓单预售 1:仓单贸易
  31270. in: query
  31271. name: haswr
  31272. required: true
  31273. type: integer
  31274. - description: 仓单要素id
  31275. in: query
  31276. name: wrfactortypeid
  31277. required: true
  31278. type: integer
  31279. produces:
  31280. - application/json
  31281. responses:
  31282. "200":
  31283. description: OK
  31284. schema:
  31285. items:
  31286. $ref: '#/definitions/models.WrAverageTradePrice'
  31287. type: array
  31288. "500":
  31289. description: Internal Server Error
  31290. schema:
  31291. $ref: '#/definitions/app.Response'
  31292. security:
  31293. - ApiKeyAuth: []
  31294. summary: 查询成交价(历史走势)
  31295. tags:
  31296. - 仓单贸易v2
  31297. /WrTrade2/QueryWrBrandAndYears:
  31298. get:
  31299. produces:
  31300. - application/json
  31301. responses:
  31302. "200":
  31303. description: OK
  31304. schema:
  31305. items:
  31306. $ref: '#/definitions/models.WrBrandAndYears'
  31307. type: array
  31308. "500":
  31309. description: Internal Server Error
  31310. schema:
  31311. $ref: '#/definitions/app.Response'
  31312. security:
  31313. - ApiKeyAuth: []
  31314. summary: 查询品牌和年份
  31315. tags:
  31316. - 仓单贸易v2
  31317. /WrTrade2/QueryWrBsGoodsInfo:
  31318. get:
  31319. description: 合约交易/买卖大厅/详情
  31320. parameters:
  31321. - description: 商品id
  31322. in: query
  31323. name: goodsid
  31324. required: true
  31325. type: integer
  31326. produces:
  31327. - application/json
  31328. responses:
  31329. "200":
  31330. description: OK
  31331. schema:
  31332. items:
  31333. $ref: '#/definitions/models.WrBsGoodsInfo'
  31334. type: array
  31335. "500":
  31336. description: Internal Server Error
  31337. schema:
  31338. $ref: '#/definitions/app.Response'
  31339. security:
  31340. - ApiKeyAuth: []
  31341. summary: 查询合约交易买卖大厅详情
  31342. tags:
  31343. - 仓单贸易v2
  31344. /WrTrade2/QueryWrBuybackDetail:
  31345. get:
  31346. parameters:
  31347. - description: 融资合同id
  31348. in: query
  31349. name: scfcontractid
  31350. type: integer
  31351. produces:
  31352. - application/json
  31353. responses:
  31354. "200":
  31355. description: OK
  31356. schema:
  31357. items:
  31358. $ref: '#/definitions/models.WrBuybackDetail'
  31359. type: array
  31360. "500":
  31361. description: Internal Server Error
  31362. schema:
  31363. $ref: '#/definitions/app.Response'
  31364. security:
  31365. - ApiKeyAuth: []
  31366. summary: 查询仓单回购明细
  31367. tags:
  31368. - 仓单贸易v2
  31369. /WrTrade2/QueryWrClientAdSpaceConfig:
  31370. get:
  31371. produces:
  31372. - application/json
  31373. responses:
  31374. "200":
  31375. description: OK
  31376. schema:
  31377. items:
  31378. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31379. type: array
  31380. "500":
  31381. description: Internal Server Error
  31382. schema:
  31383. $ref: '#/definitions/app.Response'
  31384. security:
  31385. - ApiKeyAuth: []
  31386. summary: 查询固定广告配置
  31387. tags:
  31388. - 仓单贸易v2
  31389. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31390. get:
  31391. parameters:
  31392. - description: 资金账号
  31393. in: query
  31394. name: accountid
  31395. required: true
  31396. type: integer
  31397. - description: 商品id
  31398. in: query
  31399. name: goodsid
  31400. required: true
  31401. type: integer
  31402. produces:
  31403. - application/json
  31404. responses:
  31405. "200":
  31406. description: OK
  31407. schema:
  31408. items:
  31409. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31410. type: array
  31411. "500":
  31412. description: Internal Server Error
  31413. schema:
  31414. $ref: '#/definitions/app.Response'
  31415. security:
  31416. - ApiKeyAuth: []
  31417. summary: 查询合约交收可点选仓单
  31418. tags:
  31419. - 仓单贸易v2
  31420. /WrTrade2/QueryWrDeliveryDetail:
  31421. get:
  31422. parameters:
  31423. - description: 用户id
  31424. in: query
  31425. name: userid
  31426. required: true
  31427. type: integer
  31428. - description: 资金账号id
  31429. in: query
  31430. name: accountid
  31431. type: integer
  31432. - description: 开始交易日(yyyymmdd)
  31433. in: query
  31434. name: begindate
  31435. type: string
  31436. - description: 结束交易日(yyyymmdd)
  31437. in: query
  31438. name: enddate
  31439. type: string
  31440. produces:
  31441. - application/json
  31442. responses:
  31443. "200":
  31444. description: OK
  31445. schema:
  31446. items:
  31447. $ref: '#/definitions/models.WrDeliveryDetail'
  31448. type: array
  31449. "500":
  31450. description: Internal Server Error
  31451. schema:
  31452. $ref: '#/definitions/app.Response'
  31453. security:
  31454. - ApiKeyAuth: []
  31455. summary: 查询交收
  31456. tags:
  31457. - 仓单贸易v2
  31458. /WrTrade2/QueryWrDraftUserInfo:
  31459. get:
  31460. parameters:
  31461. - description: 用户ID
  31462. in: query
  31463. name: userid
  31464. required: true
  31465. type: integer
  31466. - description: 用户状态 1:正常 2:注销
  31467. in: query
  31468. name: userstatus
  31469. type: integer
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. items:
  31477. $ref: '#/definitions/models.WrDraftUserInfo'
  31478. type: array
  31479. "500":
  31480. description: Internal Server Error
  31481. schema:
  31482. $ref: '#/definitions/app.Response'
  31483. security:
  31484. - ApiKeyAuth: []
  31485. summary: 查询实名认证信息
  31486. tags:
  31487. - 仓单贸易v2
  31488. /WrTrade2/QueryWrFactorTypeInfo:
  31489. get:
  31490. parameters:
  31491. - description: 仓单要素id
  31492. in: query
  31493. name: wrfactortypeid
  31494. required: true
  31495. type: integer
  31496. produces:
  31497. - application/json
  31498. responses:
  31499. "200":
  31500. description: OK
  31501. schema:
  31502. items:
  31503. $ref: '#/definitions/models.WrFactorTypeInfo'
  31504. type: array
  31505. "500":
  31506. description: Internal Server Error
  31507. schema:
  31508. $ref: '#/definitions/app.Response'
  31509. security:
  31510. - ApiKeyAuth: []
  31511. summary: 查询仓单要素详细信息
  31512. tags:
  31513. - 仓单贸易v2
  31514. /WrTrade2/QueryWrFactorTypeInfoEx:
  31515. get:
  31516. parameters:
  31517. - description: 仓单要素id
  31518. in: query
  31519. name: wrfactortypeid
  31520. required: true
  31521. type: integer
  31522. produces:
  31523. - application/json
  31524. responses:
  31525. "200":
  31526. description: OK
  31527. schema:
  31528. items:
  31529. $ref: '#/definitions/models.WrTypeItem'
  31530. type: array
  31531. "500":
  31532. description: Internal Server Error
  31533. schema:
  31534. $ref: '#/definitions/app.Response'
  31535. security:
  31536. - ApiKeyAuth: []
  31537. summary: 查询仓单要素详细信息列表项
  31538. tags:
  31539. - 仓单贸易v2
  31540. /WrTrade2/QueryWrFinanceBuyApply:
  31541. get:
  31542. description: 页面 融资信息+ / 申请单
  31543. parameters:
  31544. - description: 用户id
  31545. in: query
  31546. name: userid
  31547. required: true
  31548. type: integer
  31549. produces:
  31550. - application/json
  31551. responses:
  31552. "200":
  31553. description: OK
  31554. schema:
  31555. items:
  31556. $ref: '#/definitions/models.WrFinanceBuyApply'
  31557. type: array
  31558. "500":
  31559. description: Internal Server Error
  31560. schema:
  31561. $ref: '#/definitions/app.Response'
  31562. security:
  31563. - ApiKeyAuth: []
  31564. summary: 查询融资购买申请
  31565. tags:
  31566. - 仓单贸易v2
  31567. /WrTrade2/QueryWrFriendApply:
  31568. get:
  31569. parameters:
  31570. - description: 用户id
  31571. in: query
  31572. name: userid
  31573. required: true
  31574. type: integer
  31575. produces:
  31576. - application/json
  31577. responses:
  31578. "200":
  31579. description: OK
  31580. schema:
  31581. items:
  31582. $ref: '#/definitions/models.WrFriendApply'
  31583. type: array
  31584. "500":
  31585. description: Internal Server Error
  31586. schema:
  31587. $ref: '#/definitions/app.Response'
  31588. security:
  31589. - ApiKeyAuth: []
  31590. summary: 查询好友申请记录
  31591. tags:
  31592. - 仓单贸易v2
  31593. /WrTrade2/QueryWrGoodsInfo:
  31594. get:
  31595. parameters:
  31596. - description: 仓单贸易市场id
  31597. in: query
  31598. name: marketid
  31599. type: integer
  31600. - description: 0:仓单预售 1:仓单贸易
  31601. in: query
  31602. name: haswr
  31603. required: true
  31604. type: integer
  31605. - description: 仓单要素id
  31606. in: query
  31607. name: wrfactortypeid
  31608. required: true
  31609. type: integer
  31610. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31611. in: query
  31612. name: tmplateid
  31613. type: integer
  31614. produces:
  31615. - application/json
  31616. responses:
  31617. "200":
  31618. description: OK
  31619. schema:
  31620. items:
  31621. $ref: '#/definitions/models.WrGoodsInfo'
  31622. type: array
  31623. "500":
  31624. description: Internal Server Error
  31625. schema:
  31626. $ref: '#/definitions/app.Response'
  31627. security:
  31628. - ApiKeyAuth: []
  31629. summary: 查询仓单商品信息
  31630. tags:
  31631. - 仓单贸易v2
  31632. /WrTrade2/QueryWrMarketTradeConfig:
  31633. get:
  31634. parameters:
  31635. - description: 市场id
  31636. in: query
  31637. name: marketid
  31638. type: integer
  31639. produces:
  31640. - application/json
  31641. responses:
  31642. "200":
  31643. description: OK
  31644. schema:
  31645. items:
  31646. $ref: '#/definitions/models.WrMarketTradeConfig'
  31647. type: array
  31648. "500":
  31649. description: Internal Server Error
  31650. schema:
  31651. $ref: '#/definitions/app.Response'
  31652. security:
  31653. - ApiKeyAuth: []
  31654. summary: 查询市场交易参数配置
  31655. tags:
  31656. - 仓单贸易v2
  31657. /WrTrade2/QueryWrOrderDetail:
  31658. get:
  31659. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31660. parameters:
  31661. - description: 页码
  31662. in: query
  31663. name: page
  31664. type: integer
  31665. - description: 每页条数
  31666. in: query
  31667. name: pagesize
  31668. type: integer
  31669. - description: 用户id
  31670. in: query
  31671. name: userid
  31672. required: true
  31673. type: integer
  31674. - description: 仓单贸易市场id
  31675. in: query
  31676. name: marketid
  31677. type: integer
  31678. - description: 0:仓单预售 1:仓单贸易
  31679. in: query
  31680. name: haswr
  31681. required: true
  31682. type: integer
  31683. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31684. in: query
  31685. name: bcancel
  31686. type: integer
  31687. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31688. in: query
  31689. name: wrtradetype
  31690. type: integer
  31691. - description: 开始交易日(yyyymmdd)
  31692. in: query
  31693. name: begindate
  31694. type: string
  31695. - description: 结束交易日(yyyymmdd)
  31696. in: query
  31697. name: enddate
  31698. type: string
  31699. produces:
  31700. - application/json
  31701. responses:
  31702. "200":
  31703. description: OK
  31704. schema:
  31705. items:
  31706. $ref: '#/definitions/models.WrOrderDetail'
  31707. type: array
  31708. "500":
  31709. description: Internal Server Error
  31710. schema:
  31711. $ref: '#/definitions/app.Response'
  31712. security:
  31713. - ApiKeyAuth: []
  31714. summary: 查询仓单委托单
  31715. tags:
  31716. - 仓单贸易v2
  31717. /WrTrade2/QueryWrOutInApply:
  31718. get:
  31719. parameters:
  31720. - description: 页码
  31721. in: query
  31722. name: page
  31723. type: integer
  31724. - description: 每页条数
  31725. in: query
  31726. name: pagesize
  31727. type: integer
  31728. - description: 用户id
  31729. in: query
  31730. name: userid
  31731. required: true
  31732. type: integer
  31733. - description: 开始交易日(yyyymmdd)
  31734. in: query
  31735. name: begindate
  31736. type: string
  31737. - description: 结束交易日(yyyymmdd)
  31738. in: query
  31739. name: enddate
  31740. type: string
  31741. produces:
  31742. - application/json
  31743. responses:
  31744. "200":
  31745. description: OK
  31746. schema:
  31747. items:
  31748. $ref: '#/definitions/models.WrOutInApply'
  31749. type: array
  31750. "500":
  31751. description: Internal Server Error
  31752. schema:
  31753. $ref: '#/definitions/app.Response'
  31754. security:
  31755. - ApiKeyAuth: []
  31756. summary: 查询提货申请
  31757. tags:
  31758. - 仓单贸易v2
  31759. /WrTrade2/QueryWrPerformancePlanStep:
  31760. get:
  31761. parameters:
  31762. - description: 履约计划id(performanceplanid)
  31763. in: query
  31764. name: planid
  31765. required: true
  31766. type: integer
  31767. - description: 当前步骤id
  31768. in: query
  31769. name: curstepid
  31770. type: integer
  31771. produces:
  31772. - application/json
  31773. responses:
  31774. "200":
  31775. description: OK
  31776. schema:
  31777. items:
  31778. $ref: '#/definitions/models.WrPerformancePlanStep'
  31779. type: array
  31780. "500":
  31781. description: Internal Server Error
  31782. schema:
  31783. $ref: '#/definitions/app.Response'
  31784. security:
  31785. - ApiKeyAuth: []
  31786. summary: 查询履约信息详情
  31787. tags:
  31788. - 仓单贸易v2
  31789. /WrTrade2/QueryWrPerformanceStepType:
  31790. get:
  31791. produces:
  31792. - application/json
  31793. responses:
  31794. "200":
  31795. description: OK
  31796. schema:
  31797. items:
  31798. $ref: '#/definitions/models.WrPerformanceStepType'
  31799. type: array
  31800. "500":
  31801. description: Internal Server Error
  31802. schema:
  31803. $ref: '#/definitions/app.Response'
  31804. security:
  31805. - ApiKeyAuth: []
  31806. summary: 查询履约步骤枚举
  31807. tags:
  31808. - 仓单贸易v2
  31809. /WrTrade2/QueryWrPosition:
  31810. get:
  31811. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31812. parameters:
  31813. - description: 用户id
  31814. in: query
  31815. name: userid
  31816. required: true
  31817. type: integer
  31818. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31819. in: query
  31820. name: querytype
  31821. required: true
  31822. type: integer
  31823. - description: 0:仓单预售 1:仓单贸易
  31824. in: query
  31825. name: haswr
  31826. required: true
  31827. type: integer
  31828. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31829. in: query
  31830. name: dgitemname
  31831. type: string
  31832. - description: 仓库id(筛选条件)
  31833. in: query
  31834. name: warehouseid
  31835. type: integer
  31836. - description: 品种id
  31837. in: query
  31838. name: deliverygoodsid
  31839. type: integer
  31840. - description: 品类id
  31841. in: query
  31842. name: wrstandardid
  31843. type: integer
  31844. produces:
  31845. - application/json
  31846. responses:
  31847. "200":
  31848. description: OK
  31849. schema:
  31850. items:
  31851. $ref: '#/definitions/models.WrPosition'
  31852. type: array
  31853. "500":
  31854. description: Internal Server Error
  31855. schema:
  31856. $ref: '#/definitions/app.Response'
  31857. security:
  31858. - ApiKeyAuth: []
  31859. summary: 查询现货(预售)仓单持仓
  31860. tags:
  31861. - 仓单贸易v2
  31862. /WrTrade2/QueryWrPreSaleInfo:
  31863. get:
  31864. parameters:
  31865. - description: 市场id
  31866. in: query
  31867. name: marketid
  31868. type: integer
  31869. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31870. in: query
  31871. name: presalestatus
  31872. type: string
  31873. - description: 摇号标识 - 0:未摇号 1:已摇号
  31874. in: query
  31875. name: lotteryflag
  31876. type: integer
  31877. - description: 最近多少条记录(按创建时间倒序)
  31878. in: query
  31879. name: lastnum
  31880. type: integer
  31881. produces:
  31882. - application/json
  31883. responses:
  31884. "200":
  31885. description: OK
  31886. schema:
  31887. items:
  31888. $ref: '#/definitions/models.WrPreSaleInfo'
  31889. type: array
  31890. "500":
  31891. description: Internal Server Error
  31892. schema:
  31893. $ref: '#/definitions/app.Response'
  31894. security:
  31895. - ApiKeyAuth: []
  31896. summary: 查询新品发布
  31897. tags:
  31898. - 仓单贸易v2
  31899. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31900. get:
  31901. parameters:
  31902. - description: 市场id
  31903. in: query
  31904. name: marketid
  31905. required: true
  31906. type: integer
  31907. - description: 现货商品id
  31908. in: query
  31909. name: wrstandardid
  31910. required: true
  31911. type: integer
  31912. - description: 开始交易日(yyyymmdd)
  31913. in: query
  31914. name: begindate
  31915. type: string
  31916. - description: 结束交易日(yyyymmdd)
  31917. in: query
  31918. name: enddate
  31919. type: string
  31920. - description: 最近多少条记录(按交易日倒序)
  31921. in: query
  31922. name: lastnum
  31923. type: integer
  31924. - description: 是否今日
  31925. in: query
  31926. name: istoday
  31927. type: boolean
  31928. produces:
  31929. - application/json
  31930. responses:
  31931. "200":
  31932. description: OK
  31933. schema:
  31934. items:
  31935. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31936. type: array
  31937. "500":
  31938. description: Internal Server Error
  31939. schema:
  31940. $ref: '#/definitions/app.Response'
  31941. security:
  31942. - ApiKeyAuth: []
  31943. summary: 查询价格走势
  31944. tags:
  31945. - 仓单贸易v2
  31946. /WrTrade2/QueryWrScfContract:
  31947. get:
  31948. parameters:
  31949. - description: 用户id
  31950. in: query
  31951. name: userid
  31952. required: true
  31953. type: integer
  31954. - description: 融资合同id
  31955. in: query
  31956. name: scfcontractid
  31957. type: integer
  31958. produces:
  31959. - application/json
  31960. responses:
  31961. "200":
  31962. description: OK
  31963. schema:
  31964. items:
  31965. $ref: '#/definitions/models.WrScfContract'
  31966. type: array
  31967. "500":
  31968. description: Internal Server Error
  31969. schema:
  31970. $ref: '#/definitions/app.Response'
  31971. security:
  31972. - ApiKeyAuth: []
  31973. summary: 查询仓单贸易融资合同
  31974. tags:
  31975. - 仓单贸易v2
  31976. /WrTrade2/QueryWrScfContractInterest:
  31977. get:
  31978. parameters:
  31979. - description: 融资合同id
  31980. in: query
  31981. name: scfcontractid
  31982. type: integer
  31983. produces:
  31984. - application/json
  31985. responses:
  31986. "200":
  31987. description: OK
  31988. schema:
  31989. items:
  31990. $ref: '#/definitions/models.WrScfContractInterest'
  31991. type: array
  31992. "500":
  31993. description: Internal Server Error
  31994. schema:
  31995. $ref: '#/definitions/app.Response'
  31996. security:
  31997. - ApiKeyAuth: []
  31998. summary: 查询融资合同费用明细
  31999. tags:
  32000. - 仓单贸易v2
  32001. /WrTrade2/QueryWrSearchUser:
  32002. get:
  32003. parameters:
  32004. - description: 用户名称(模糊匹配)
  32005. in: query
  32006. name: username
  32007. required: true
  32008. type: string
  32009. produces:
  32010. - application/json
  32011. responses:
  32012. "200":
  32013. description: OK
  32014. schema:
  32015. items:
  32016. $ref: '#/definitions/models.WrSearchUser'
  32017. type: array
  32018. "500":
  32019. description: Internal Server Error
  32020. schema:
  32021. $ref: '#/definitions/app.Response'
  32022. security:
  32023. - ApiKeyAuth: []
  32024. summary: 查询用户
  32025. tags:
  32026. - 仓单贸易v2
  32027. /WrTrade2/QueryWrSpecialMatchOrder:
  32028. get:
  32029. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32030. parameters:
  32031. - description: 页码
  32032. in: query
  32033. name: page
  32034. type: integer
  32035. - description: 每页条数
  32036. in: query
  32037. name: pagesize
  32038. type: integer
  32039. - description: 用户id
  32040. in: query
  32041. name: userid
  32042. required: true
  32043. type: integer
  32044. - description: 仓单贸易市场id
  32045. in: query
  32046. name: marketid
  32047. type: integer
  32048. - description: 0:仓单预售 1:仓单贸易
  32049. in: query
  32050. name: haswr
  32051. required: true
  32052. type: integer
  32053. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32054. in: query
  32055. name: isspecified
  32056. type: integer
  32057. produces:
  32058. - application/json
  32059. responses:
  32060. "200":
  32061. description: OK
  32062. schema:
  32063. items:
  32064. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32065. type: array
  32066. "500":
  32067. description: Internal Server Error
  32068. schema:
  32069. $ref: '#/definitions/app.Response'
  32070. security:
  32071. - ApiKeyAuth: []
  32072. summary: 查询指定成交
  32073. tags:
  32074. - 仓单贸易v2
  32075. /WrTrade2/QueryWrStandardFactoryItem:
  32076. get:
  32077. parameters:
  32078. - description: 品类id
  32079. in: query
  32080. name: wrstandardid
  32081. required: true
  32082. type: integer
  32083. produces:
  32084. - application/json
  32085. responses:
  32086. "200":
  32087. description: OK
  32088. schema:
  32089. items:
  32090. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32091. type: array
  32092. "500":
  32093. description: Internal Server Error
  32094. schema:
  32095. $ref: '#/definitions/app.Response'
  32096. security:
  32097. - ApiKeyAuth: []
  32098. summary: 查询品类要素定义项
  32099. tags:
  32100. - 仓单贸易v2
  32101. /WrTrade2/QueryWrTradeBargainApply:
  32102. get:
  32103. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32104. 议价->对方议价 填写matchuserid=登录用户id
  32105. parameters:
  32106. - description: 议价人id(摘牌方)
  32107. in: query
  32108. name: userid
  32109. type: integer
  32110. - description: 挂牌方id(查对方议价时,填写此项)
  32111. in: query
  32112. name: matchuserid
  32113. type: integer
  32114. - description: 关联委托单id
  32115. in: query
  32116. name: wrtradeorderid
  32117. type: integer
  32118. - description: 0:仓单预售 1:仓单贸易
  32119. in: query
  32120. name: haswr
  32121. required: true
  32122. type: integer
  32123. - description: 开始交易日(yyyymmdd)
  32124. in: query
  32125. name: begindate
  32126. type: string
  32127. - description: 结束交易日(yyyymmdd)
  32128. in: query
  32129. name: enddate
  32130. type: string
  32131. produces:
  32132. - application/json
  32133. responses:
  32134. "200":
  32135. description: OK
  32136. schema:
  32137. items:
  32138. $ref: '#/definitions/models.WRTradeBargainApply'
  32139. type: array
  32140. "500":
  32141. description: Internal Server Error
  32142. schema:
  32143. $ref: '#/definitions/app.Response'
  32144. security:
  32145. - ApiKeyAuth: []
  32146. summary: 查询议价单
  32147. tags:
  32148. - 仓单贸易v2
  32149. /WrTrade2/QueryWrTradeDetail:
  32150. get:
  32151. parameters:
  32152. - description: 页码
  32153. in: query
  32154. name: page
  32155. type: integer
  32156. - description: 每页条数
  32157. in: query
  32158. name: pagesize
  32159. type: integer
  32160. - description: 用户id
  32161. in: query
  32162. name: userid
  32163. required: true
  32164. type: integer
  32165. - description: 仓单贸易市场id
  32166. in: query
  32167. name: marketid
  32168. type: integer
  32169. - description: 0:仓单预售 1:仓单贸易
  32170. in: query
  32171. name: haswr
  32172. required: true
  32173. type: integer
  32174. - description: 开始交易日(yyyymmdd)
  32175. in: query
  32176. name: begindate
  32177. type: string
  32178. - description: 结束交易日(yyyymmdd)
  32179. in: query
  32180. name: enddate
  32181. type: string
  32182. produces:
  32183. - application/json
  32184. responses:
  32185. "200":
  32186. description: OK
  32187. schema:
  32188. items:
  32189. $ref: '#/definitions/models.WrTradeDetail'
  32190. type: array
  32191. "500":
  32192. description: Internal Server Error
  32193. schema:
  32194. $ref: '#/definitions/app.Response'
  32195. security:
  32196. - ApiKeyAuth: []
  32197. summary: 查询仓单成交明细
  32198. tags:
  32199. - 仓单贸易v2
  32200. /WrTrade2/QueryWrTradeOrderDetail:
  32201. get:
  32202. parameters:
  32203. - description: 页码
  32204. in: query
  32205. name: page
  32206. type: integer
  32207. - description: 每页条数
  32208. in: query
  32209. name: pagesize
  32210. type: integer
  32211. - description: 商品id
  32212. in: query
  32213. name: goodsid
  32214. required: true
  32215. type: integer
  32216. - description: 买卖方向 0-买 1-卖
  32217. in: query
  32218. name: buyorsell
  32219. required: true
  32220. type: integer
  32221. produces:
  32222. - application/json
  32223. responses:
  32224. "200":
  32225. description: OK
  32226. schema:
  32227. items:
  32228. $ref: '#/definitions/models.WrTradeOrderDetail'
  32229. type: array
  32230. "500":
  32231. description: Internal Server Error
  32232. schema:
  32233. $ref: '#/definitions/app.Response'
  32234. security:
  32235. - ApiKeyAuth: []
  32236. summary: 查询合约交易买卖大厅
  32237. tags:
  32238. - 仓单贸易v2
  32239. /WrTrade2/QueryWrTradeQuote:
  32240. get:
  32241. parameters:
  32242. - description: 现货商品id
  32243. in: query
  32244. name: wrstandardid
  32245. required: true
  32246. type: integer
  32247. - description: 开始日期(yyyymmdd)
  32248. in: query
  32249. name: begindate
  32250. required: true
  32251. type: string
  32252. - description: 结束日期(yyyymmdd)
  32253. in: query
  32254. name: enddate
  32255. required: true
  32256. type: string
  32257. - description: 市场id
  32258. in: query
  32259. name: marketid
  32260. type: integer
  32261. produces:
  32262. - application/json
  32263. responses:
  32264. "200":
  32265. description: OK
  32266. schema:
  32267. items:
  32268. $ref: '#/definitions/models.Wrtradetradequote'
  32269. type: array
  32270. "500":
  32271. description: Internal Server Error
  32272. schema:
  32273. $ref: '#/definitions/app.Response'
  32274. security:
  32275. - ApiKeyAuth: []
  32276. summary: 查询仓单贸易成交行情
  32277. tags:
  32278. - 仓单贸易v2
  32279. /WrTrade2/QueryWrUserFriend:
  32280. get:
  32281. parameters:
  32282. - description: 用户id
  32283. in: query
  32284. name: userid
  32285. required: true
  32286. type: integer
  32287. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32288. in: query
  32289. name: newuserid
  32290. type: integer
  32291. produces:
  32292. - application/json
  32293. responses:
  32294. "200":
  32295. description: OK
  32296. schema:
  32297. items:
  32298. $ref: '#/definitions/models.WrUserFriend'
  32299. type: array
  32300. "500":
  32301. description: Internal Server Error
  32302. schema:
  32303. $ref: '#/definitions/app.Response'
  32304. security:
  32305. - ApiKeyAuth: []
  32306. summary: 查询我的朋友
  32307. tags:
  32308. - 仓单贸易v2
  32309. /WrTrade2/QueryWrUserReceiptInfo:
  32310. get:
  32311. parameters:
  32312. - description: 用户id
  32313. in: query
  32314. name: userid
  32315. type: integer
  32316. - description: 发票类型 - 1:个人 2:企业
  32317. in: query
  32318. name: receipttype
  32319. type: integer
  32320. produces:
  32321. - application/json
  32322. responses:
  32323. "200":
  32324. description: OK
  32325. schema:
  32326. items:
  32327. $ref: '#/definitions/models.WrUserReceiptInfo'
  32328. type: array
  32329. "500":
  32330. description: Internal Server Error
  32331. schema:
  32332. $ref: '#/definitions/app.Response'
  32333. security:
  32334. - ApiKeyAuth: []
  32335. summary: 查询发票信息
  32336. tags:
  32337. - 仓单贸易v2
  32338. /WrTrade2/QueryXhcpSellBackApply:
  32339. get:
  32340. parameters:
  32341. - description: 用户ID
  32342. in: query
  32343. name: userid
  32344. required: true
  32345. type: integer
  32346. produces:
  32347. - application/json
  32348. responses:
  32349. "200":
  32350. description: OK
  32351. schema:
  32352. items:
  32353. $ref: '#/definitions/models.Xhcpsellbackapply'
  32354. type: array
  32355. "500":
  32356. description: Internal Server Error
  32357. schema:
  32358. $ref: '#/definitions/app.Response'
  32359. security:
  32360. - ApiKeyAuth: []
  32361. summary: 查询我的回收申请(新会陈皮)
  32362. tags:
  32363. - 仓单贸易v2
  32364. /ZJ/GetBankTip:
  32365. get:
  32366. produces:
  32367. - application/json
  32368. responses:
  32369. "200":
  32370. description: OK
  32371. schema:
  32372. type: string
  32373. "500":
  32374. description: Internal Server Error
  32375. schema:
  32376. $ref: '#/definitions/app.Response'
  32377. summary: 获取中江网银端出入金提示信息
  32378. tags:
  32379. - 中江
  32380. /ZJ/GetCusBankChannels:
  32381. get:
  32382. produces:
  32383. - application/json
  32384. responses:
  32385. "200":
  32386. description: OK
  32387. schema:
  32388. items:
  32389. type: string
  32390. type: array
  32391. "500":
  32392. description: Internal Server Error
  32393. schema:
  32394. $ref: '#/definitions/app.Response'
  32395. summary: 获取中江出入金渠道显示列表
  32396. tags:
  32397. - 中江
  32398. securityDefinitions:
  32399. ApiKeyAuth:
  32400. in: header
  32401. name: Authorization
  32402. type: apiKey
  32403. Group:
  32404. in: header
  32405. name: Group
  32406. type: apiKey
  32407. LoginID:
  32408. in: header
  32409. name: LoginID
  32410. type: apiKey
  32411. swagger: "2.0"