swagger.yaml 899 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remainqty:
  9682. description: 剩余重量
  9683. type: number
  9684. remark:
  9685. description: 备注
  9686. type: string
  9687. sellusername:
  9688. description: 账户名称(机构名称)
  9689. type: string
  9690. settingmaterial:
  9691. description: 镶嵌材料 - 类型:4
  9692. type: string
  9693. size1:
  9694. description: 尺寸1 - 类型:2,4,5
  9695. type: string
  9696. size2:
  9697. description: 尺寸2 - 类型:2,4,5
  9698. type: string
  9699. size3:
  9700. description: 尺寸3 - 类型:2,4,5
  9701. type: string
  9702. stonedesc:
  9703. description: 配石描述 - 类型:4
  9704. type: string
  9705. userid:
  9706. description: 用户ID
  9707. type: integer
  9708. warehouseid:
  9709. description: 仓库ID
  9710. type: integer
  9711. warehousenamedisplay:
  9712. type: string
  9713. weight:
  9714. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9715. type: number
  9716. weightavg:
  9717. description: 平均单颗重量 - 类型:1,3
  9718. type: number
  9719. wrpath:
  9720. description: 仓单扫描件(相对地址)
  9721. type: string
  9722. wrstandardid:
  9723. description: 现货商品ID
  9724. type: integer
  9725. wrtradeorderid:
  9726. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9727. type: string
  9728. zscategory:
  9729. description: 钻石分类 - 枚举”ZSCategory“
  9730. type: integer
  9731. zscategorydisplay:
  9732. type: string
  9733. zscerttype:
  9734. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9735. type: integer
  9736. zscerttypedisplay:
  9737. type: string
  9738. zsclaritytype1:
  9739. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9740. type: integer
  9741. zsclaritytype1display:
  9742. type: string
  9743. zsclaritytype2:
  9744. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9745. type: integer
  9746. zsclaritytype2display:
  9747. type: string
  9748. zscolortype1:
  9749. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9750. type: integer
  9751. zscolortype1display:
  9752. type: string
  9753. zscolortype2:
  9754. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9755. type: integer
  9756. zscolortype2display:
  9757. type: string
  9758. zscrystaltype:
  9759. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9760. type: string
  9761. zscrystaltypedisplay:
  9762. type: string
  9763. zscurrencytype:
  9764. description: 货币类型 - 枚举“ZSCurrencyType”
  9765. type: integer
  9766. zscurrencytypedisplay:
  9767. type: string
  9768. zscurrencytypedisplayunit:
  9769. type: string
  9770. zscuttype1:
  9771. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9772. type: integer
  9773. zscuttype1display:
  9774. type: string
  9775. zscuttype2:
  9776. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9777. type: integer
  9778. zscuttype2display:
  9779. type: string
  9780. zsczcolor1type:
  9781. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9782. type: integer
  9783. zsczcolor1typedisplay:
  9784. type: string
  9785. zsczcolor2type:
  9786. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9787. type: integer
  9788. zsczcolor2typedisplay:
  9789. type: string
  9790. zsczcolor3type:
  9791. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9792. type: integer
  9793. zsczcolor3typedisplay:
  9794. type: string
  9795. zsfluorescencetype1:
  9796. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9797. type: integer
  9798. zsfluorescencetype1display:
  9799. type: string
  9800. zsfluorescencetype2:
  9801. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9802. type: integer
  9803. zsfluorescencetype2display:
  9804. type: string
  9805. zspolishtype1:
  9806. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9807. type: integer
  9808. zspolishtype1display:
  9809. type: string
  9810. zspolishtype2:
  9811. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9812. type: integer
  9813. zspolishtype2display:
  9814. type: string
  9815. zsshapetype:
  9816. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9817. type: string
  9818. zsshapetypedisplay:
  9819. type: string
  9820. zsstyletype:
  9821. description: 款式 - 类型:4
  9822. type: integer
  9823. zsstyletypedisplay:
  9824. type: string
  9825. zssymmetrytype1:
  9826. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9827. type: integer
  9828. zssymmetrytype1display:
  9829. type: string
  9830. zssymmetrytype2:
  9831. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9832. type: integer
  9833. zssymmetrytype2display:
  9834. type: string
  9835. required:
  9836. - goodsno
  9837. type: object
  9838. models.GZWarehouseinfo:
  9839. properties:
  9840. address:
  9841. description: 详细地址
  9842. type: string
  9843. areauserid:
  9844. description: 所属机构
  9845. type: integer
  9846. autoid:
  9847. description: 自增ID
  9848. type: integer
  9849. cityid:
  9850. description: 市
  9851. type: integer
  9852. contactname:
  9853. description: 联系人
  9854. type: string
  9855. contactnum:
  9856. description: 联系电话
  9857. type: string
  9858. countryid:
  9859. description: 国家
  9860. type: integer
  9861. createtime:
  9862. description: 创建时间
  9863. type: string
  9864. districtid:
  9865. description: 区
  9866. type: integer
  9867. hasvideo:
  9868. description: 是否有视频 - 0:无 1:有
  9869. type: integer
  9870. provinceid:
  9871. description: 省
  9872. type: integer
  9873. remark:
  9874. description: 审核备注
  9875. type: string
  9876. videourl:
  9877. description: 视频地址
  9878. type: string
  9879. warehousecode:
  9880. description: 仓库代码
  9881. type: string
  9882. warehousename:
  9883. description: 仓库名称
  9884. type: string
  9885. warehousestatus:
  9886. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9887. type: integer
  9888. warehousetype:
  9889. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9890. type: integer
  9891. type: object
  9892. models.Goods:
  9893. properties:
  9894. agreeunit:
  9895. description: 合约单位
  9896. type: number
  9897. areauserid:
  9898. description: 所属机构
  9899. type: integer
  9900. auditaccountid:
  9901. description: 审核操作员账号
  9902. type: integer
  9903. audittime:
  9904. description: 审核时间
  9905. type: string
  9906. cancelaccountid:
  9907. description: 注销操作员账号
  9908. type: integer
  9909. canceltime:
  9910. description: 注销时间
  9911. type: string
  9912. closepricemode:
  9913. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9914. type: integer
  9915. closepriceparam:
  9916. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9917. type: number
  9918. createtime:
  9919. description: 创建时间
  9920. type: string
  9921. creatorid:
  9922. description: 创建人
  9923. type: integer
  9924. currencyid:
  9925. description: 报价货币ID
  9926. type: integer
  9927. cutmode:
  9928. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9929. type: integer
  9930. decimalplace:
  9931. description: 报价小数位
  9932. type: integer
  9933. delistingdate:
  9934. description: 商品退市时间(状态:退市) -- 已作废
  9935. type: string
  9936. delistingmode:
  9937. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9938. type: integer
  9939. deliveryflag:
  9940. description: 交割标志 - 0:不可交割 1:可交割
  9941. type: integer
  9942. forceclosemode:
  9943. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9944. type: integer
  9945. forceclosevalue:
  9946. description: 定期强平参数 [收益权]
  9947. type: integer
  9948. goodscode:
  9949. description: 商品代码(内部)
  9950. type: string
  9951. goodscurrencyid:
  9952. description: 合约货币ID
  9953. type: integer
  9954. goodsgroupid:
  9955. description: 所属商品组ID
  9956. type: integer
  9957. goodsid:
  9958. description: 商品ID(自增ID SEQ_GOODS)
  9959. type: integer
  9960. goodsname:
  9961. description: 商品名称
  9962. type: string
  9963. goodsquotetype:
  9964. description: '合约报价类型: 1-直接报价 2-间接报价'
  9965. type: integer
  9966. goodsstatus:
  9967. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9968. type: integer
  9969. goodstradetype:
  9970. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9971. type: integer
  9972. goodunitid:
  9973. description: 报价单位ID
  9974. type: integer
  9975. hasquoter:
  9976. description: 是否有报价商 - 0:无报价商 1:有报价商
  9977. type: integer
  9978. hqprotecttime:
  9979. description: 行情保护时间(秒)
  9980. type: integer
  9981. innerdealmode:
  9982. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9983. type: integer
  9984. isbuylimited:
  9985. description: 是否限制建仓量 - 0:不限制 1:限制
  9986. type: integer
  9987. isvisible:
  9988. description: 游客是否可见 - 0:不可见 1:可见
  9989. type: integer
  9990. lasttradedate:
  9991. description: 最后交易日期(状态:待退市)
  9992. type: string
  9993. listingdate:
  9994. description: 交易开始日期
  9995. type: string
  9996. marketid:
  9997. description: 所属市场ID
  9998. type: integer
  9999. modifierid:
  10000. description: 修改人
  10001. type: integer
  10002. modifystatus:
  10003. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10004. type: integer
  10005. modifytime:
  10006. description: 修改时间
  10007. type: string
  10008. outerdealmode:
  10009. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10010. type: integer
  10011. outgoodscode:
  10012. description: 商品代码(外部)
  10013. type: string
  10014. pictureurl:
  10015. description: 商品图片
  10016. type: string
  10017. qtydecimalplace:
  10018. description: 成交量小数位
  10019. type: integer
  10020. quotegear:
  10021. description: 行情档位(1-10)
  10022. type: integer
  10023. quoteminunit:
  10024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10025. type: integer
  10026. quoteshowtype:
  10027. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10028. type: integer
  10029. quoteshowtypeinterval:
  10030. description: 行情报价间隔时间(秒)(成交价时为0)
  10031. type: integer
  10032. remark:
  10033. description: 备注
  10034. type: string
  10035. required:
  10036. - goodscode
  10037. - goodsid
  10038. - goodsname
  10039. - marketid
  10040. type: object
  10041. models.GoodsIDAndName:
  10042. properties:
  10043. goodscode:
  10044. description: 商品代码(内部)
  10045. type: string
  10046. goodsid:
  10047. description: 商品ID(自增ID SEQ_GOODS)
  10048. type: integer
  10049. goodsname:
  10050. description: 商品名称
  10051. type: string
  10052. marketid:
  10053. description: 所属市场ID
  10054. type: integer
  10055. required:
  10056. - goodscode
  10057. - goodsid
  10058. - goodsname
  10059. - marketid
  10060. type: object
  10061. models.Goodsgroup:
  10062. properties:
  10063. agreeunit:
  10064. description: 合约单位
  10065. type: number
  10066. canshort:
  10067. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10068. type: integer
  10069. closepricemode:
  10070. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10071. type: integer
  10072. closepriceparam:
  10073. description: 强平最新价浮动比例 - 方式为2时使用
  10074. type: number
  10075. createtime:
  10076. description: 创建时间
  10077. type: string
  10078. creatorid:
  10079. description: 创建人
  10080. type: integer
  10081. currencyid:
  10082. description: 报价货币ID
  10083. type: integer
  10084. decimalplace:
  10085. description: 报价小数位
  10086. type: integer
  10087. exercisetype:
  10088. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10089. type: integer
  10090. exexchangeid:
  10091. description: 外部交易所ID[通道交易]
  10092. type: integer
  10093. goodsgroupid:
  10094. description: 商品组ID(自增ID)
  10095. type: integer
  10096. goodsgroupname:
  10097. description: 商品组名称
  10098. type: string
  10099. goodsgroupstatus:
  10100. description: 商品组状态 - 1:正常 2:注销
  10101. type: integer
  10102. goodunitid:
  10103. description: 报价单位ID
  10104. type: integer
  10105. innerdealmode:
  10106. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10107. type: integer
  10108. isbuylimited:
  10109. description: 是否限制建仓量 - 0:不限制 1:限制
  10110. type: integer
  10111. marketid:
  10112. description: 所属市场ID
  10113. type: integer
  10114. modifierid:
  10115. description: 修改人
  10116. type: integer
  10117. modifytime:
  10118. description: 修改时间
  10119. type: string
  10120. outerdealmode:
  10121. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10122. type: integer
  10123. outergroupcode:
  10124. description: 外部商品组代码[通道交易]
  10125. type: string
  10126. premiumdecimalplace:
  10127. description: 权利金小数位[场外期权]
  10128. type: integer
  10129. premiumspreadalgorithm:
  10130. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10131. type: integer
  10132. premiumspreadvalue:
  10133. description: 权利金点差值[场外期权]
  10134. type: number
  10135. qtydecimalplace:
  10136. description: 成交量小数位
  10137. type: integer
  10138. quotegear:
  10139. description: 行情档位(1-10)
  10140. type: integer
  10141. quoteminunit:
  10142. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10143. type: integer
  10144. quoterid:
  10145. description: 报价商ID[场外期权]
  10146. type: integer
  10147. quotesourcegroupid:
  10148. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10149. type: integer
  10150. syncgoodsqty:
  10151. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10152. type: integer
  10153. required:
  10154. - goodsgroupid
  10155. - goodsgroupname
  10156. - goodsgroupstatus
  10157. - marketid
  10158. type: object
  10159. models.Goodssortbypreposition:
  10160. properties:
  10161. goodscode:
  10162. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10163. type: string
  10164. goodsgroupcode:
  10165. description: 品种代码
  10166. type: string
  10167. prepositionqty:
  10168. description: 昨持仓量
  10169. type: integer
  10170. sortindex:
  10171. description: 排序
  10172. type: integer
  10173. tradedate:
  10174. description: 交易日
  10175. type: string
  10176. updatetime:
  10177. description: 更新时间
  10178. type: string
  10179. required:
  10180. - goodscode
  10181. - tradedate
  10182. type: object
  10183. models.Hedgeinnerholderdetail:
  10184. properties:
  10185. accountid:
  10186. description: 账号ID
  10187. type: integer
  10188. buyorsell:
  10189. description: 方向 - 0:买 1:卖
  10190. type: integer
  10191. freezeqty:
  10192. description: 冻结数量 - 按单平使用
  10193. type: integer
  10194. goodsid:
  10195. description: 商品ID
  10196. type: integer
  10197. holderamount:
  10198. description: 持仓金额 [商品币种]
  10199. type: number
  10200. holderdays:
  10201. description: 剩余冻结天数
  10202. type: integer
  10203. holderprice:
  10204. description: 持仓价格
  10205. type: number
  10206. holderqty:
  10207. description: 持仓数量
  10208. type: integer
  10209. marketid:
  10210. description: 市场ID
  10211. type: integer
  10212. openprice:
  10213. description: 建仓价格
  10214. type: number
  10215. openqty:
  10216. description: 建仓数量
  10217. type: integer
  10218. parentaccountid:
  10219. description: 所属母账户
  10220. type: integer
  10221. releaseamount:
  10222. description: 释放持仓金额[商品币种]
  10223. type: number
  10224. tradeamount:
  10225. description: 成交金额[账户]
  10226. type: number
  10227. tradedate:
  10228. description: 交易日(yyyyMMdd)
  10229. type: string
  10230. tradeid:
  10231. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10232. type: string
  10233. tradetime:
  10234. description: 交易时间
  10235. type: string
  10236. required:
  10237. - buyorsell
  10238. - tradeid
  10239. type: object
  10240. models.Hedgemarketopenlog:
  10241. properties:
  10242. accountid:
  10243. description: 资金账号[外部母账户]
  10244. type: integer
  10245. fcname:
  10246. description: 期货公司名称
  10247. type: string
  10248. handlestatus:
  10249. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10250. type: integer
  10251. marketid:
  10252. description: 市场ID
  10253. type: integer
  10254. status:
  10255. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10256. type: integer
  10257. tradedate:
  10258. description: 交易日(yyyyMMdd)
  10259. type: string
  10260. updatetime:
  10261. description: 更新时间
  10262. type: string
  10263. required:
  10264. - accountid
  10265. type: object
  10266. models.InternalEnableTradeDetail:
  10267. properties:
  10268. agreeunit:
  10269. description: 合约乘数
  10270. type: number
  10271. areauserid:
  10272. description: 企业ID
  10273. type: integer
  10274. convertratio:
  10275. description: 品种系数
  10276. type: number
  10277. deliverygoodscode:
  10278. description: 现货品种代码
  10279. type: string
  10280. deliverygoodsid:
  10281. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10282. type: integer
  10283. deliverygoodsname:
  10284. description: 现货品种名称
  10285. type: string
  10286. futurehedgeqty:
  10287. description: '[已关联数量]期货持仓套期量'
  10288. type: number
  10289. goodsid:
  10290. description: 期货合约ID
  10291. type: integer
  10292. hedgeditemid:
  10293. description: 被套期项目ID
  10294. type: string
  10295. hedgeditemnum:
  10296. description: 项目编号
  10297. type: string
  10298. tradeuserid:
  10299. description: 交易用户ID
  10300. type: integer
  10301. unexehedgeqty:
  10302. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10303. type: number
  10304. unexespotqty:
  10305. description: 未执行现货量
  10306. type: number
  10307. wrstandardcode:
  10308. description: 现货品类代码
  10309. type: string
  10310. wrstandardid:
  10311. description: 现货品类ID(SEQ_WRSTANDARD)
  10312. type: integer
  10313. wrstandardname:
  10314. description: 现货品类名称
  10315. type: string
  10316. required:
  10317. - areauserid
  10318. - goodsid
  10319. - tradeuserid
  10320. type: object
  10321. models.InternalUncorrelatedTradeDetail:
  10322. properties:
  10323. accountid:
  10324. description: 账号ID
  10325. type: integer
  10326. accountname:
  10327. description: 套期主体
  10328. type: string
  10329. agreeunit:
  10330. description: 合约乘数
  10331. type: number
  10332. areauserid:
  10333. description: 所属机构
  10334. type: integer
  10335. bizsubjectid:
  10336. description: 归属业务部门ID - SubjectID
  10337. type: integer
  10338. buyorsell:
  10339. description: 方向 - 0:买 1:卖
  10340. type: integer
  10341. channelbuildtype:
  10342. description: 委托单据类型 0:无 1:建仓 2:平仓
  10343. type: integer
  10344. convertratio:
  10345. description: 品种系数
  10346. type: number
  10347. createtime:
  10348. description: 创建时间
  10349. type: string
  10350. creatorid:
  10351. description: 创建人ID
  10352. type: integer
  10353. creatorsrc:
  10354. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10355. type: integer
  10356. enableqty:
  10357. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10358. type: number
  10359. enumdicname:
  10360. description: 单位
  10361. type: string
  10362. goodscode:
  10363. description: 合约代码
  10364. type: string
  10365. goodsgroupid:
  10366. description: 对冲品种ID[期货合约商品组ID]
  10367. type: integer
  10368. goodsid:
  10369. description: 商品ID
  10370. type: integer
  10371. goodsname:
  10372. description: 合约名称
  10373. type: string
  10374. hedgeditemid:
  10375. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10376. type: integer
  10377. hedgeflag:
  10378. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10379. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10380. type: integer
  10381. linkdetailid:
  10382. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10383. type: string
  10384. linkstatus:
  10385. description: 关联状态 - 1:成功 2:失败 3:解绑
  10386. type: integer
  10387. middlegoodsid:
  10388. description: 套保品种ID
  10389. type: integer
  10390. middlegoodsqty:
  10391. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10392. type: number
  10393. relatedlot:
  10394. description: '[数量]关联手数'
  10395. type: number
  10396. relatedmode:
  10397. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10398. type: integer
  10399. relatedqty:
  10400. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10401. type: number
  10402. retcode:
  10403. description: 返回码
  10404. type: integer
  10405. saleuserid:
  10406. description: 业务员ID
  10407. type: integer
  10408. tradedate:
  10409. description: 关联交易日(yyyyMMdd)
  10410. type: string
  10411. tradeid:
  10412. description: 成交单号
  10413. type: string
  10414. tradelot:
  10415. description: 成交手数
  10416. type: integer
  10417. tradeprice:
  10418. description: 成交价
  10419. type: number
  10420. tradetime:
  10421. description: 成交时间
  10422. type: string
  10423. tradetradedate:
  10424. description: 成交交易日(yyyyMMdd)
  10425. type: string
  10426. tradeuserid:
  10427. description: 交易用户ID
  10428. type: integer
  10429. type: object
  10430. models.Loginaccount:
  10431. properties:
  10432. accountname:
  10433. description: 账户名称
  10434. type: string
  10435. canoutin:
  10436. description: 是否可出入金 - 0:不可 1:可
  10437. type: integer
  10438. clientroleid:
  10439. description: 终端角色ID
  10440. type: integer
  10441. haslogined:
  10442. description: 是否已登录 - 0:未登录 1:已登录
  10443. type: integer
  10444. hasupdatedpwd:
  10445. description: 是否已更改密码 - 0:未修改 1:已修改
  10446. type: integer
  10447. lastloginip:
  10448. description: 最新登录地址
  10449. type: string
  10450. lastloginmode:
  10451. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10452. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10453. type: integer
  10454. lastloginremark:
  10455. description: 最新登录描述
  10456. type: string
  10457. lastlogintime:
  10458. description: 最新登录时间
  10459. type: string
  10460. logincode:
  10461. description: 登录代码
  10462. type: string
  10463. loginfailnum:
  10464. description: 连续登录失败次数(登录成功时清零)
  10465. type: integer
  10466. loginid:
  10467. description: 登陆账号
  10468. type: integer
  10469. loginport:
  10470. description: 最新登录端口
  10471. type: integer
  10472. loginstatus:
  10473. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10474. type: integer
  10475. loginusertype:
  10476. description: 登录账号类型 - 1:投资者 2:机构交易员
  10477. type: integer
  10478. mobile:
  10479. description: 手机号码(加密存储)
  10480. type: string
  10481. modifierid:
  10482. description: 修改人
  10483. type: integer
  10484. modifysrc:
  10485. description: 审核来源 - 1:管理端 2:终端
  10486. type: integer
  10487. modifytime:
  10488. description: 修改时间
  10489. type: string
  10490. pwdwrongcount:
  10491. description: 密码错误次数
  10492. type: integer
  10493. relateduserid:
  10494. description: 关联用户ID(机构)
  10495. type: integer
  10496. taaccountrighttype:
  10497. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10498. type: integer
  10499. unfreezetime:
  10500. description: 账户解冻时间
  10501. type: string
  10502. userid:
  10503. description: 用户ID
  10504. type: integer
  10505. required:
  10506. - loginid
  10507. type: object
  10508. models.MainAccountInfo:
  10509. properties:
  10510. accountid:
  10511. description: 账号id
  10512. type: integer
  10513. accountname:
  10514. description: 账号名称(taaccount表中的名称)
  10515. type: string
  10516. appid:
  10517. description: AppID
  10518. type: string
  10519. authcode:
  10520. description: 授权码
  10521. type: string
  10522. brokerid:
  10523. description: 经纪商id
  10524. type: string
  10525. fcid:
  10526. description: 期货公司id
  10527. type: integer
  10528. fcname:
  10529. description: 期货公司代码
  10530. type: string
  10531. hedgeaccountcode:
  10532. description: 外部账号代码(主账号登录代码)
  10533. type: string
  10534. hedgeaccountpwd:
  10535. description: 密码
  10536. type: string
  10537. ismain:
  10538. description: 是否主账号
  10539. type: integer
  10540. relateduserid:
  10541. description: 关联用户id
  10542. type: integer
  10543. userid:
  10544. description: 关联用户id
  10545. type: integer
  10546. type: object
  10547. models.Market:
  10548. properties:
  10549. auctionwrtype:
  10550. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10551. type: integer
  10552. canacceptquote:
  10553. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10554. type: integer
  10555. cangoodsexercise:
  10556. description: '[期权]是否可现货行权- 0:否 1:是'
  10557. type: integer
  10558. cangoodsexercisetype:
  10559. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10560. type: integer
  10561. canmanualquotestrike:
  10562. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10563. type: integer
  10564. canmutistage:
  10565. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10566. type: integer
  10567. canpreexercise:
  10568. description: '[期权]是否可预申报- 0:否 1:是'
  10569. type: integer
  10570. clearinterval:
  10571. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10572. type: integer
  10573. contracttmp:
  10574. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10575. type: string
  10576. exchareaid:
  10577. description: 所属交易所,可以没有
  10578. type: integer
  10579. goodstype:
  10580. description: 商品类型 - 1:交易商品 2:仓单商品
  10581. type: integer
  10582. hasrebate:
  10583. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10584. type: integer
  10585. hastradecredit:
  10586. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10587. type: integer
  10588. haswr:
  10589. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10590. type: integer
  10591. isdeductmargin:
  10592. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10593. type: integer
  10594. isrecordsource:
  10595. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10596. type: integer
  10597. isreleasemargin:
  10598. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10599. type: integer
  10600. marginformula:
  10601. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marginformula2:
  10604. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marketid:
  10607. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10608. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10609. type: integer
  10610. marketname:
  10611. description: 市场名称
  10612. type: string
  10613. marketserviceid:
  10614. description: 市场服务ID
  10615. type: integer
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. markettype:
  10620. description: 市场类型- 1:非交易服务 2:交易服务
  10621. type: integer
  10622. matchermode:
  10623. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10624. type: integer
  10625. openmethod:
  10626. description: 开盘模式 - 0 自动 1手动
  10627. type: integer
  10628. otcuserid:
  10629. description: 场外期权做市商[场外期权]
  10630. type: integer
  10631. outersynctime:
  10632. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10633. type: string
  10634. pendingflag:
  10635. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10636. type: integer
  10637. pendingtime:
  10638. description: 待开市时间[通道交易-对冲](HH:mm)
  10639. type: string
  10640. performancetempid:
  10641. description: 履约计划模板ID - 作废
  10642. type: integer
  10643. premiumquotemode:
  10644. description: 权利金报价方式 - 1:自动 2:手动
  10645. type: integer
  10646. rebateratio:
  10647. description: 返利比率[竞价式]
  10648. type: number
  10649. reckonorder:
  10650. description: 结算顺序
  10651. type: integer
  10652. reckonpricealgorithm:
  10653. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10654. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10655. type: integer
  10656. reckonpriceparam:
  10657. description: 结算价参数
  10658. type: integer
  10659. reckontime:
  10660. description: 结算时间[通道交易-对冲](HH:mm)
  10661. type: string
  10662. roleprioritytype:
  10663. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10664. type: integer
  10665. selllistingauditflag:
  10666. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10667. type: integer
  10668. trademarkettype:
  10669. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10670. type: integer
  10671. trademode:
  10672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10673. 21:竞拍-大宗式 22:受托竞价
  10674. type: integer
  10675. tradeproperty:
  10676. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10677. 8:场外期权
  10678. type: integer
  10679. tradetype:
  10680. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10681. type: integer
  10682. required:
  10683. - marketid
  10684. - marketstatus
  10685. - openmethod
  10686. - reckonpricealgorithm
  10687. - trademode
  10688. - tradeproperty
  10689. type: object
  10690. models.Marketcalendar:
  10691. properties:
  10692. holidaydate:
  10693. description: 节假日期(yyyy-MM-dd)
  10694. type: string
  10695. marketid:
  10696. description: 市场ID
  10697. type: integer
  10698. type: object
  10699. models.Marketrun:
  10700. properties:
  10701. afternexttradedate:
  10702. description: 下下交易日
  10703. type: string
  10704. clearquoteflag:
  10705. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10706. type: integer
  10707. lastreckondate:
  10708. description: 最新交易日(结算成功)
  10709. type: string
  10710. machinedate:
  10711. description: 机器时间
  10712. type: string
  10713. manualflag:
  10714. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10715. type: integer
  10716. marketid:
  10717. description: 市场ID
  10718. type: integer
  10719. nexttradedate:
  10720. description: 下一交易日
  10721. type: string
  10722. pretradedate:
  10723. description: 上一交易日
  10724. type: string
  10725. reckonflag:
  10726. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10727. type: integer
  10728. runstatus:
  10729. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10730. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10731. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10732. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10733. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10734. 62.今日免清算
  10735. type: integer
  10736. sectionid:
  10737. description: 时间段号[多时段时用]
  10738. type: integer
  10739. tradedate:
  10740. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10741. type: string
  10742. tradedate2:
  10743. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10744. type: string
  10745. updatetime:
  10746. description: 更新时间
  10747. type: string
  10748. required:
  10749. - marketid
  10750. - nexttradedate
  10751. - reckonflag
  10752. - runstatus
  10753. - tradedate
  10754. - tradedate2
  10755. type: object
  10756. models.Messageboard:
  10757. properties:
  10758. contactnum:
  10759. description: 联系电话
  10760. type: string
  10761. createtime:
  10762. description: 创建时间
  10763. type: string
  10764. message:
  10765. description: 留言信息
  10766. type: string
  10767. messageboardid:
  10768. description: 留言簿ID(SEQ_MessageBoard)
  10769. type: integer
  10770. userid:
  10771. description: 用户ID
  10772. type: integer
  10773. required:
  10774. - messageboardid
  10775. type: object
  10776. models.MyBargainApply:
  10777. properties:
  10778. accountid:
  10779. description: 摘牌资金账号
  10780. type: integer
  10781. applyprice:
  10782. description: 申请价格
  10783. type: string
  10784. applyremark:
  10785. description: 申请备注
  10786. type: string
  10787. applystatus:
  10788. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10789. type: integer
  10790. applytime:
  10791. description: 申请时间
  10792. type: string
  10793. buyorsell:
  10794. description: 买卖 - 0:买 1:卖
  10795. type: integer
  10796. confirmprice:
  10797. description: 可接受价格(拒绝时填写)-作废
  10798. type: number
  10799. confirmqty:
  10800. description: 可接受数量(拒绝时填写)-作废
  10801. type: integer
  10802. confirmremark:
  10803. description: 确认备注
  10804. type: string
  10805. confirmtime:
  10806. description: 确认时间
  10807. type: string
  10808. confirmuserid:
  10809. description: 确认人
  10810. type: integer
  10811. handlestatus:
  10812. description: 处理状态
  10813. type: integer
  10814. ladingbillid:
  10815. description: 摘牌方提单ID [卖]
  10816. type: integer
  10817. marketid:
  10818. description: 市场ID
  10819. type: integer
  10820. matchaccountid:
  10821. description: 挂牌方资金账号
  10822. type: integer
  10823. matchuserid:
  10824. description: 挂牌方用户ID
  10825. type: integer
  10826. price:
  10827. description: 价格
  10828. type: number
  10829. priceper:
  10830. description: 克拉单价 - 类型:1,2,3,5
  10831. type: string
  10832. qty:
  10833. description: 申请数量
  10834. type: number
  10835. refprice:
  10836. description: 参考价格
  10837. type: string
  10838. retcode:
  10839. description: 委托返回代码
  10840. type: integer
  10841. sellusername:
  10842. description: 卖方
  10843. type: string
  10844. sizedisplay:
  10845. description: 尺寸
  10846. type: string
  10847. subnum:
  10848. description: 摘牌方提单子单号 [卖]
  10849. type: integer
  10850. tradedate:
  10851. description: 交易日(yyyyMMdd)
  10852. type: string
  10853. userid:
  10854. description: 摘牌人用户ID
  10855. type: integer
  10856. warehousenamedisplay:
  10857. type: string
  10858. wrbargainid:
  10859. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10860. type: string
  10861. wrtradeorderid:
  10862. description: 关联委托单ID
  10863. type: integer
  10864. zscerttypedisplay:
  10865. type: string
  10866. zsclaritytype1display:
  10867. type: string
  10868. zsclaritytype2display:
  10869. type: string
  10870. zscolortype1display:
  10871. type: string
  10872. zscolortype2display:
  10873. type: string
  10874. zscrystaltypedisplay:
  10875. type: string
  10876. zscurrencytypedisplay:
  10877. type: string
  10878. zscurrencytypedisplayunit:
  10879. type: string
  10880. zscuttype1display:
  10881. type: string
  10882. zscuttype2display:
  10883. type: string
  10884. zsczcolor1typedisplay:
  10885. type: string
  10886. zsczcolor2typedisplay:
  10887. type: string
  10888. zsczcolor3typedisplay:
  10889. type: string
  10890. zsfluorescencetype1display:
  10891. type: string
  10892. zsfluorescencetype2display:
  10893. type: string
  10894. zspolishtype1display:
  10895. type: string
  10896. zspolishtype2display:
  10897. type: string
  10898. zsshapetypedisplay:
  10899. type: string
  10900. zsstyletypedisplay:
  10901. type: string
  10902. zssymmetrytype1display:
  10903. type: string
  10904. zssymmetrytype2display:
  10905. type: string
  10906. required:
  10907. - userid
  10908. type: object
  10909. models.MyBuyOrder:
  10910. properties:
  10911. accountid:
  10912. description: 资金账户ID
  10913. type: integer
  10914. marketid:
  10915. description: 市场ID
  10916. type: integer
  10917. ordertime:
  10918. description: 委托时间
  10919. type: string
  10920. origin:
  10921. description: 原产地
  10922. type: string
  10923. remark:
  10924. description: 备注
  10925. type: string
  10926. userid:
  10927. description: 用户ID
  10928. type: integer
  10929. validtime:
  10930. description: 有效期限
  10931. type: string
  10932. warehouseids:
  10933. description: 仓库ID - 多个, 逗号分隔
  10934. type: string
  10935. warehouseinfosdisplay:
  10936. type: string
  10937. wrtradeorderid:
  10938. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10939. type: string
  10940. wrtradeorderstatus:
  10941. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  10942. type: integer
  10943. zscategory:
  10944. description: 钻石分类 - 枚举”ZSCategory“
  10945. type: integer
  10946. zscategorydisplay:
  10947. type: string
  10948. zsclaritytype:
  10949. description: 净度 - 两个, 逗号分隔
  10950. type: string
  10951. zsclaritytypedisplay:
  10952. type: string
  10953. zscolortype:
  10954. description: 颜色 - 两个, 逗号分隔
  10955. type: string
  10956. zscolortypedisplay:
  10957. type: string
  10958. zscrystaltype:
  10959. description: 晶型 - 多个,逗号分隔
  10960. type: string
  10961. zscrystaltypedisplay:
  10962. type: string
  10963. zscurrencytype:
  10964. description: 货币类型 - 多个, 逗号分隔
  10965. type: string
  10966. zscurrencytypedisplay:
  10967. type: string
  10968. zscuttype:
  10969. description: 切工 - 两个, 逗号分隔
  10970. type: string
  10971. zscuttypedisplay:
  10972. type: string
  10973. zsczcolor1type:
  10974. description: 彩钻颜色1, 逗号分隔
  10975. type: string
  10976. zsczcolor1typedisplay:
  10977. type: string
  10978. zsczcolor2type:
  10979. description: 彩钻颜色2, 逗号分隔
  10980. type: string
  10981. zsczcolor2typedisplay:
  10982. type: string
  10983. zsczcolor3type:
  10984. description: 彩钻颜色3, 逗号分隔
  10985. type: string
  10986. zsczcolor3typedisplay:
  10987. type: string
  10988. zsfluorescencetype:
  10989. description: 荧光 - 多个, 逗号分隔
  10990. type: string
  10991. zsfluorescencetypedisplay:
  10992. type: string
  10993. zspolishtype:
  10994. description: 抛光度 - 两个, 逗号分隔
  10995. type: string
  10996. zspolishtypedisplay:
  10997. type: string
  10998. zsshapetype:
  10999. description: 形状 - 多个, 逗号分隔
  11000. type: string
  11001. zsshapetypedisplay:
  11002. type: string
  11003. zssize:
  11004. description: 尺寸 - 两个小数, 逗号分隔
  11005. type: string
  11006. zsstyletype:
  11007. description: 款式 - 多个, 逗号分隔
  11008. type: string
  11009. zsstyletypedisplay:
  11010. type: string
  11011. zssymmetrytype:
  11012. description: 对称度 - 两个, 逗号分隔
  11013. type: string
  11014. zssymmetrytypedisplay:
  11015. type: string
  11016. zstabledisplay:
  11017. description: 求购信息
  11018. type: string
  11019. required:
  11020. - userid
  11021. type: object
  11022. models.MyDeListing:
  11023. properties:
  11024. buyaccountid:
  11025. description: 买方账号ID
  11026. type: integer
  11027. buychargevalue:
  11028. description: 买方手续费
  11029. type: number
  11030. buyorsell:
  11031. description: 方向 - 0:买 1:卖
  11032. type: integer
  11033. buyuserid:
  11034. description: 买方用户ID
  11035. type: integer
  11036. deliverygoodsid:
  11037. description: 现货品种ID
  11038. type: integer
  11039. exchangerate:
  11040. description: 汇率
  11041. type: number
  11042. goodsno:
  11043. description: 商品编号
  11044. type: string
  11045. marketid:
  11046. description: 市场ID
  11047. type: integer
  11048. matchusername:
  11049. description: 对手方
  11050. type: string
  11051. oritradeamount:
  11052. description: 成交金额[商品币种]
  11053. type: number
  11054. performanceplanid:
  11055. description: 履约计划ID/合同ID
  11056. type: integer
  11057. price:
  11058. description: 价格
  11059. type: number
  11060. qty:
  11061. description: 成交重量
  11062. type: number
  11063. sellaccountid:
  11064. description: 卖方账号ID
  11065. type: integer
  11066. sellchargevalue:
  11067. description: 卖方手续费
  11068. type: number
  11069. selluserid:
  11070. description: 卖方用户ID
  11071. type: integer
  11072. sizedisplay:
  11073. description: 尺寸
  11074. type: string
  11075. tradeamount:
  11076. description: 成交金额
  11077. type: number
  11078. tradedate:
  11079. description: 交易日(yyyyMMdd)
  11080. type: string
  11081. tradeprice:
  11082. description: 成交价格
  11083. type: number
  11084. tradetime:
  11085. description: 成交时间
  11086. type: string
  11087. userid:
  11088. description: 用户ID
  11089. type: integer
  11090. warehousenamedisplay:
  11091. type: string
  11092. wrfactortypeid:
  11093. description: 仓单要素类型ID
  11094. type: integer
  11095. wrstandardid:
  11096. description: 现货商品ID
  11097. type: integer
  11098. wrtradedetailid:
  11099. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11100. type: string
  11101. zscategory:
  11102. description: 钻石分类 - 枚举”ZSCategory“
  11103. type: integer
  11104. zscategorydisplay:
  11105. type: string
  11106. zscerttypedisplay:
  11107. type: string
  11108. zsclaritytype1display:
  11109. type: string
  11110. zsclaritytype2display:
  11111. type: string
  11112. zscolortype1display:
  11113. type: string
  11114. zscolortype2display:
  11115. type: string
  11116. zscrystaltypedisplay:
  11117. type: string
  11118. zscurrencytype:
  11119. description: 货币类型 - 枚举“ZSCurrencyType”
  11120. type: integer
  11121. zscurrencytypedisplay:
  11122. type: string
  11123. zscurrencytypedisplayunit:
  11124. type: string
  11125. zscuttype1display:
  11126. type: string
  11127. zscuttype2display:
  11128. type: string
  11129. zsczcolor1typedisplay:
  11130. type: string
  11131. zsczcolor2typedisplay:
  11132. type: string
  11133. zsczcolor3typedisplay:
  11134. type: string
  11135. zsfluorescencetype1display:
  11136. type: string
  11137. zsfluorescencetype2display:
  11138. type: string
  11139. zspolishtype1display:
  11140. type: string
  11141. zspolishtype2display:
  11142. type: string
  11143. zsshapetypedisplay:
  11144. type: string
  11145. zsstyletypedisplay:
  11146. type: string
  11147. zssymmetrytype1display:
  11148. type: string
  11149. zssymmetrytype2display:
  11150. type: string
  11151. required:
  11152. - userid
  11153. type: object
  11154. models.MyDelistingApply:
  11155. properties:
  11156. applyprice:
  11157. description: 申请价格
  11158. type: number
  11159. applyqty:
  11160. description: 申请数量
  11161. type: number
  11162. applyremark:
  11163. description: 申请备注
  11164. type: string
  11165. applystatus:
  11166. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11167. type: integer
  11168. applytime:
  11169. description: 申请时间
  11170. type: string
  11171. auditremark:
  11172. description: 确认备注
  11173. type: string
  11174. audittime:
  11175. description: 确认时间
  11176. type: string
  11177. buyuserid:
  11178. description: 买方用户ID
  11179. type: integer
  11180. buyusername:
  11181. type: string
  11182. buywrtradeorderid:
  11183. description: 买委托单ID
  11184. type: string
  11185. goodsno:
  11186. description: -- view_GZ_WRStandard_Ex_Query --
  11187. type: string
  11188. ladingbillid:
  11189. description: 卖方提单ID
  11190. type: string
  11191. marketid:
  11192. description: 市场ID
  11193. type: integer
  11194. price:
  11195. description: 价格
  11196. type: number
  11197. sellaccountid:
  11198. description: 卖方账户ID
  11199. type: integer
  11200. selldelistingapplyid:
  11201. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11202. type: string
  11203. selltradeorderid:
  11204. description: 卖方委托ID(买方确认成交后更新)
  11205. type: string
  11206. selluserid:
  11207. description: 卖方用户ID
  11208. type: integer
  11209. subnum:
  11210. description: 卖方提单子单号
  11211. type: integer
  11212. warehouseinfosdisplay:
  11213. type: string
  11214. weight:
  11215. description: 克拉重量
  11216. type: number
  11217. wrfactortypeid:
  11218. description: 仓单要素类型ID
  11219. type: string
  11220. wrstandardid:
  11221. description: 现货商品ID
  11222. type: integer
  11223. zsallproperties:
  11224. description: -- VIEW_GZ_BUYORDERDETAIL_QUERY
  11225. type: string
  11226. zscategorydisplay:
  11227. type: string
  11228. zsclaritytypedisplay:
  11229. type: string
  11230. zscolortypedisplay:
  11231. type: string
  11232. zscrystaltypedisplay:
  11233. type: string
  11234. zscurrencytypedisplay:
  11235. type: string
  11236. zscuttypedisplay:
  11237. type: string
  11238. zsczcolor1typedisplay:
  11239. type: string
  11240. zsczcolor2typedisplay:
  11241. type: string
  11242. zsczcolor3typedisplay:
  11243. type: string
  11244. zsfluorescencetypedisplay:
  11245. type: string
  11246. zspolishtypedisplay:
  11247. type: string
  11248. zsshapetypedisplay:
  11249. type: string
  11250. zssizedisplay:
  11251. type: string
  11252. zsstyletypedisplay:
  11253. type: string
  11254. zssymmetrytypedisplay:
  11255. type: string
  11256. zstabledisplay:
  11257. type: string
  11258. required:
  11259. - selluserid
  11260. type: object
  11261. models.MyFavorite:
  11262. properties:
  11263. buyorsell:
  11264. description: 买卖 - 0:买 1:卖
  11265. type: integer
  11266. favoritestatus:
  11267. description: 收藏状态 - 1:正常 2:失效
  11268. type: integer
  11269. goodsno:
  11270. description: 商品编号
  11271. type: string
  11272. marketid:
  11273. description: 市场ID
  11274. type: integer
  11275. price:
  11276. description: 价格
  11277. type: number
  11278. priceper:
  11279. description: 克拉单价
  11280. type: string
  11281. sizedisplay:
  11282. description: 尺寸
  11283. type: string
  11284. userid:
  11285. description: 用户ID
  11286. type: integer
  11287. warehousenamedisplay:
  11288. type: string
  11289. weight:
  11290. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11291. type: number
  11292. weightavg:
  11293. description: 平均单颗重量 - 类型:1,3
  11294. type: number
  11295. wrfactortypeid:
  11296. description: 仓单要素类型ID/商品ID(77)
  11297. type: string
  11298. wrstandardid:
  11299. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11300. type: integer
  11301. wrtradeorderid:
  11302. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11303. type: string
  11304. zscategorydisplay:
  11305. type: string
  11306. zscerttypedisplay:
  11307. type: string
  11308. zsclaritytype1display:
  11309. type: string
  11310. zsclaritytype2display:
  11311. type: string
  11312. zscolortype1display:
  11313. type: string
  11314. zscolortype2display:
  11315. type: string
  11316. zscrystaltypedisplay:
  11317. type: string
  11318. zscurrencytypedisplay:
  11319. type: string
  11320. zscurrencytypedisplayunit:
  11321. type: string
  11322. zscuttype1display:
  11323. type: string
  11324. zscuttype2display:
  11325. type: string
  11326. zsczcolor1typedisplay:
  11327. type: string
  11328. zsczcolor2typedisplay:
  11329. type: string
  11330. zsczcolor3typedisplay:
  11331. type: string
  11332. zsfluorescencetype1display:
  11333. type: string
  11334. zsfluorescencetype2display:
  11335. type: string
  11336. zspolishtype1display:
  11337. type: string
  11338. zspolishtype2display:
  11339. type: string
  11340. zsshapetypedisplay:
  11341. type: string
  11342. zsstyletypedisplay:
  11343. type: string
  11344. zssymmetrytype1display:
  11345. type: string
  11346. zssymmetrytype2display:
  11347. type: string
  11348. required:
  11349. - userid
  11350. type: object
  11351. models.MyPerformanc:
  11352. properties:
  11353. accountname:
  11354. description: useraccount
  11355. type: string
  11356. amount:
  11357. description: 履约金额
  11358. type: number
  11359. buyerfreezeamount:
  11360. description: 买方履约前冻结资金
  11361. type: number
  11362. buyerfreezeamountremain:
  11363. description: 买方履约前冻结资金剩余
  11364. type: number
  11365. buyerinfo:
  11366. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11367. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11368. type: string
  11369. buyorsell:
  11370. description: 方向 - 0:买 1:卖
  11371. type: integer
  11372. buypaidamount:
  11373. description: 买方已冻/已扣金额
  11374. type: number
  11375. curstepid:
  11376. description: 当前步骤ID
  11377. type: string
  11378. overshortamount:
  11379. description: 溢短金额
  11380. type: number
  11381. paymenttype:
  11382. description: 买方支付方式 - 1:冻结 2:扣款
  11383. type: integer
  11384. performanceplanid:
  11385. description: PerformancePlan
  11386. type: string
  11387. performancestatus:
  11388. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11389. 9:超时待处理 10:超时关闭
  11390. type: integer
  11391. price:
  11392. description: 价格
  11393. type: number
  11394. priceper:
  11395. description: 克拉单价
  11396. type: string
  11397. relatedorderid:
  11398. description: 关联单号(履约类型的关联单号)
  11399. type: string
  11400. remaindays:
  11401. description: 剩余天数
  11402. type: integer
  11403. sellerfreezeamount:
  11404. description: 卖方履约前冻结资金
  11405. type: number
  11406. sellerfreezeamountremain:
  11407. description: 卖方履约前冻结资金剩余
  11408. type: number
  11409. sellerinfo:
  11410. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11411. "xxxxxxxx"}'
  11412. type: string
  11413. sellreceivedamount:
  11414. description: 卖方已收金额
  11415. type: number
  11416. sizedisplay:
  11417. description: 尺寸
  11418. type: string
  11419. steptypeid:
  11420. description: PerformanceStep
  11421. type: integer
  11422. warehousenamedisplay:
  11423. type: string
  11424. zscategorydisplay:
  11425. type: string
  11426. zscerttypedisplay:
  11427. type: string
  11428. zsclaritytype1display:
  11429. type: string
  11430. zsclaritytype2display:
  11431. type: string
  11432. zscolortype1display:
  11433. type: string
  11434. zscolortype2display:
  11435. type: string
  11436. zscrystaltypedisplay:
  11437. type: string
  11438. zscurrencytypedisplay:
  11439. type: string
  11440. zscurrencytypedisplayunit:
  11441. type: string
  11442. zscuttype1display:
  11443. type: string
  11444. zscuttype2display:
  11445. type: string
  11446. zsczcolor1typedisplay:
  11447. type: string
  11448. zsczcolor2typedisplay:
  11449. type: string
  11450. zsczcolor3typedisplay:
  11451. type: string
  11452. zsfluorescencetype1display:
  11453. type: string
  11454. zsfluorescencetype2display:
  11455. type: string
  11456. zspolishtype1display:
  11457. type: string
  11458. zspolishtype2display:
  11459. type: string
  11460. zsshapetypedisplay:
  11461. type: string
  11462. zsstyletypedisplay:
  11463. type: string
  11464. zssymmetrytype1display:
  11465. type: string
  11466. zssymmetrytype2display:
  11467. type: string
  11468. type: object
  11469. models.MySellOrder:
  11470. properties:
  11471. accountid:
  11472. description: 资金账号
  11473. type: integer
  11474. applyid:
  11475. description: 申请单ID
  11476. type: integer
  11477. attachment1:
  11478. description: 附件1
  11479. type: string
  11480. attachment2:
  11481. description: 附件2
  11482. type: string
  11483. buyorsell:
  11484. description: 买卖 - 0:买 1:卖
  11485. type: integer
  11486. canbargain:
  11487. description: 是否可议价 - 0:不可 1:可
  11488. type: integer
  11489. cancelqty:
  11490. description: 撤销数量
  11491. type: integer
  11492. canceltime:
  11493. description: 撤销时间
  11494. type: string
  11495. cerno:
  11496. type: string
  11497. chargealgorithm:
  11498. description: 手续费收取方式 1:比率 2:固定
  11499. type: integer
  11500. chargealgorithmvalue:
  11501. description: 手续费设置值(交易所部分)
  11502. type: number
  11503. chargealgorithmvalue2:
  11504. description: 手续费设置值(会员部分)
  11505. type: number
  11506. clientordertime:
  11507. description: 客户端委托时间
  11508. type: string
  11509. cpcertno:
  11510. type: string
  11511. exchangerate:
  11512. description: 汇率[67]
  11513. type: number
  11514. firstratio:
  11515. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11516. type: number
  11517. fixedprice:
  11518. description: '[克拉单价]固定价格 - [挂牌]'
  11519. type: number
  11520. freezecharge:
  11521. description: 冻结手续费
  11522. type: number
  11523. freezefirstamount:
  11524. description: 冻结首付金额 - [摘牌]
  11525. type: number
  11526. freezemargin:
  11527. description: 冻结保证金
  11528. type: number
  11529. goodsno:
  11530. description: 商品编号
  11531. type: string
  11532. imagepath:
  11533. type: string
  11534. isspecified:
  11535. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11536. type: integer
  11537. kppath:
  11538. type: string
  11539. kpweight:
  11540. type: string
  11541. marginalgorithm:
  11542. description: 保证金方式 - 1:比率 2:固定
  11543. type: integer
  11544. marginvalue:
  11545. description: 保证金设置值
  11546. type: number
  11547. marketid:
  11548. description: 市场ID
  11549. type: integer
  11550. marketprice:
  11551. type: string
  11552. orderamount:
  11553. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11554. type: number
  11555. ordertime:
  11556. description: 委托时间
  11557. type: string
  11558. performancetemplateid:
  11559. description: 履约计划模板ID
  11560. type: integer
  11561. price:
  11562. description: 价格
  11563. type: number
  11564. pricefactor:
  11565. description: 价格系数(浮动价时填写) - [挂牌]
  11566. type: number
  11567. pricemove:
  11568. description: 升贴水(浮动价时填写) - [挂牌]
  11569. type: number
  11570. priceper:
  11571. type: string
  11572. relatedwrtradeorderid:
  11573. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11574. type: integer
  11575. remark:
  11576. type: string
  11577. retcode:
  11578. description: 错误代码
  11579. type: integer
  11580. selledqty:
  11581. description: 成交重量
  11582. type: number
  11583. settingmaterial:
  11584. type: string
  11585. size1:
  11586. type: string
  11587. size2:
  11588. type: string
  11589. size3:
  11590. type: string
  11591. stonedesc:
  11592. type: string
  11593. totalqty:
  11594. description: 总重量
  11595. type: number
  11596. tradedate:
  11597. description: 交易日(yyyyMMdd)
  11598. type: string
  11599. tradeprice:
  11600. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11601. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11602. type: number
  11603. unfreezecharge:
  11604. description: 解冻手续费
  11605. type: number
  11606. unfreezefirstamount:
  11607. description: 解冻首付金额 - [摘牌]
  11608. type: number
  11609. unfreezemargin:
  11610. description: 解冻保证金
  11611. type: number
  11612. userid:
  11613. description: 用户ID
  11614. type: integer
  11615. uuid:
  11616. description: 发起端唯一id
  11617. type: string
  11618. validtime:
  11619. description: 有效期限
  11620. type: string
  11621. validtype:
  11622. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11623. type: integer
  11624. warehousenamedisplay:
  11625. type: string
  11626. wrbargainid:
  11627. description: 议价申请单ID
  11628. type: integer
  11629. wrfactortypeid:
  11630. description: 仓单要素类型ID/商品ID(77)
  11631. type: integer
  11632. wrpath:
  11633. type: string
  11634. wrpricetype:
  11635. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11636. type: integer
  11637. wrstandardid:
  11638. description: 现货商品ID
  11639. type: integer
  11640. wrtradeorderid:
  11641. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11642. type: string
  11643. wrtradeorderstatus:
  11644. 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:撤单解冻贷款失败
  11645. type: integer
  11646. wrtradetype:
  11647. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11648. type: integer
  11649. wrtransferuserid:
  11650. description: 仓单受让用户 - [摘牌]
  11651. type: integer
  11652. zscategory:
  11653. description: 钻石分类 - 枚举”ZSCategory“
  11654. type: integer
  11655. zscategorydisplay:
  11656. description: 钻石分类 - 描述
  11657. type: string
  11658. zscerttypedisplay:
  11659. type: string
  11660. zsclaritytype1display:
  11661. type: string
  11662. zsclaritytype2display:
  11663. type: string
  11664. zscolortype1display:
  11665. type: string
  11666. zscolortype2display:
  11667. type: string
  11668. zscrystaltype:
  11669. type: string
  11670. zscrystaltypedisplay:
  11671. type: string
  11672. zscurrencytype:
  11673. description: 货币类型 - 枚举“ZSCurrencyType”
  11674. type: integer
  11675. zscurrencytypedisplay:
  11676. type: string
  11677. zscurrencytypedisplayunit:
  11678. type: string
  11679. zscuttype1display:
  11680. type: string
  11681. zscuttype2display:
  11682. type: string
  11683. zsczcolor1typedisplay:
  11684. type: string
  11685. zsczcolor2typedisplay:
  11686. type: string
  11687. zsczcolor3typedisplay:
  11688. type: string
  11689. zsfluorescencetype1display:
  11690. type: string
  11691. zsfluorescencetype2display:
  11692. type: string
  11693. zspolishtype1display:
  11694. type: string
  11695. zspolishtype2display:
  11696. type: string
  11697. zsshapetypedisplay:
  11698. type: string
  11699. zsstyletypedisplay:
  11700. type: string
  11701. zssymmetrytype1display:
  11702. type: string
  11703. zssymmetrytype2display:
  11704. type: string
  11705. required:
  11706. - userid
  11707. type: object
  11708. models.MyWRPosition:
  11709. properties:
  11710. cerno:
  11711. description: 证书编号 - 类型:2,4,5
  11712. type: string
  11713. cpcertno:
  11714. description: 金伯利证书编号 - 类型:3
  11715. type: string
  11716. ffreezeqty:
  11717. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11718. type: number
  11719. ftotalqty:
  11720. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11721. type: number
  11722. goodsno:
  11723. description: 商品编号
  11724. type: string
  11725. imagepath:
  11726. description: 商品照片(相对地址)
  11727. type: string
  11728. isvalid:
  11729. description: 是否有效 - 0:无效 1:有效
  11730. type: integer
  11731. kppath:
  11732. description: 金伯利证书图片(相对地址) - 类型:3
  11733. type: string
  11734. kpweight:
  11735. description: 金伯利证书重量 - 类型:3
  11736. type: string
  11737. ladingbillid:
  11738. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11739. type: string
  11740. marketflag:
  11741. description: 是否上架,0-全部 1-是 2-否
  11742. type: integer
  11743. marketprice:
  11744. description: 市场价
  11745. type: string
  11746. origin:
  11747. description: 原产地 - 类型:3
  11748. type: string
  11749. price:
  11750. description: 总价(价格) - 类型:1,2,3,4,5
  11751. type: number
  11752. priceper:
  11753. description: 克拉单价 - 类型:1,2,3,5
  11754. type: string
  11755. remark:
  11756. description: 备注
  11757. type: string
  11758. sellmobile:
  11759. description: 手机号码(加密存储)
  11760. type: string
  11761. sellusername:
  11762. description: 账户名称(机构名称)
  11763. type: string
  11764. settingmaterial:
  11765. description: 镶嵌材料 - 类型:4
  11766. type: string
  11767. size1:
  11768. description: 尺寸1 - 类型:2,4,5
  11769. type: string
  11770. size2:
  11771. description: 尺寸2 - 类型:2,4,5
  11772. type: string
  11773. size3:
  11774. description: 尺寸3 - 类型:2,4,5
  11775. type: string
  11776. stonedesc:
  11777. description: 配石描述 - 类型:4
  11778. type: string
  11779. subnum:
  11780. description: 提单子单号
  11781. type: integer
  11782. userid:
  11783. description: 用户ID
  11784. type: integer
  11785. warehouseid:
  11786. description: 仓库ID
  11787. type: integer
  11788. warehousenamedisplay:
  11789. type: string
  11790. weight:
  11791. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11792. type: number
  11793. weightavg:
  11794. description: 平均单颗重量 - 类型:1,3
  11795. type: number
  11796. wrpath:
  11797. description: 仓单扫描件(相对地址)
  11798. type: string
  11799. wrstandardid:
  11800. description: 现货商品ID
  11801. type: integer
  11802. wrtradeorderid:
  11803. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11804. type: string
  11805. wruserid:
  11806. description: 登录用户ID
  11807. type: integer
  11808. zscategory:
  11809. description: 钻石分类 - 枚举”ZSCategory“
  11810. type: integer
  11811. zscategorydisplay:
  11812. type: string
  11813. zscerttype:
  11814. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11815. type: integer
  11816. zscerttypedisplay:
  11817. type: string
  11818. zsclaritytype1:
  11819. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11820. type: integer
  11821. zsclaritytype1display:
  11822. type: string
  11823. zsclaritytype2:
  11824. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11825. type: integer
  11826. zsclaritytype2display:
  11827. type: string
  11828. zscolortype1:
  11829. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11830. type: integer
  11831. zscolortype1display:
  11832. type: string
  11833. zscolortype2:
  11834. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11835. type: integer
  11836. zscolortype2display:
  11837. type: string
  11838. zscrystaltype:
  11839. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11840. type: string
  11841. zscrystaltypedisplay:
  11842. type: string
  11843. zscurrencytype:
  11844. description: 货币类型 - 枚举“ZSCurrencyType”
  11845. type: integer
  11846. zscurrencytypedisplay:
  11847. type: string
  11848. zscurrencytypedisplayunit:
  11849. type: string
  11850. zscuttype1:
  11851. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11852. type: integer
  11853. zscuttype1display:
  11854. type: string
  11855. zscuttype2:
  11856. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11857. type: integer
  11858. zscuttype2display:
  11859. type: string
  11860. zsczcolor1type:
  11861. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11862. type: integer
  11863. zsczcolor1typedisplay:
  11864. type: string
  11865. zsczcolor2type:
  11866. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11867. type: integer
  11868. zsczcolor2typedisplay:
  11869. type: string
  11870. zsczcolor3type:
  11871. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11872. type: integer
  11873. zsczcolor3typedisplay:
  11874. type: string
  11875. zsfluorescencetype1:
  11876. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11877. type: integer
  11878. zsfluorescencetype1display:
  11879. type: string
  11880. zsfluorescencetype2:
  11881. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11882. type: integer
  11883. zsfluorescencetype2display:
  11884. type: string
  11885. zspolishtype1:
  11886. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11887. type: integer
  11888. zspolishtype1display:
  11889. type: string
  11890. zspolishtype2:
  11891. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11892. type: integer
  11893. zspolishtype2display:
  11894. type: string
  11895. zsshapetype:
  11896. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11897. type: string
  11898. zsshapetypedisplay:
  11899. type: string
  11900. zsstyletype:
  11901. description: 款式 - 类型:4
  11902. type: integer
  11903. zsstyletypedisplay:
  11904. type: string
  11905. zssymmetrytype1:
  11906. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11907. type: integer
  11908. zssymmetrytype1display:
  11909. type: string
  11910. zssymmetrytype2:
  11911. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11912. type: integer
  11913. zssymmetrytype2display:
  11914. type: string
  11915. required:
  11916. - wruserid
  11917. type: object
  11918. models.NewFuncmenulist:
  11919. properties:
  11920. authtype:
  11921. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11922. type: integer
  11923. buttonname:
  11924. description: 按钮名称
  11925. type: string
  11926. buttontype:
  11927. description: 按钮类型 - 存按钮样式
  11928. type: string
  11929. component:
  11930. description: 组件名或组件地址
  11931. type: string
  11932. hidden:
  11933. description: 是否隐藏 - 0:显示 1:隐藏
  11934. type: integer
  11935. iconame:
  11936. description: 菜单图标
  11937. type: string
  11938. menutype:
  11939. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11940. type: integer
  11941. parentcode:
  11942. description: 上级资源代码
  11943. type: string
  11944. remark:
  11945. description: Remark
  11946. type: string
  11947. resourcecode:
  11948. description: 资源代码
  11949. type: string
  11950. resourcelevel:
  11951. description: 级别1-一级 2-二级 3-三级4-四级
  11952. type: integer
  11953. resourcename:
  11954. description: 资源名(Title)
  11955. type: string
  11956. sort:
  11957. description: 排序
  11958. type: integer
  11959. url:
  11960. description: Url
  11961. type: string
  11962. urltype:
  11963. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11964. type: integer
  11965. required:
  11966. - resourcecode
  11967. type: object
  11968. models.OperationPrimaryMenu:
  11969. properties:
  11970. Children:
  11971. description: 二级功能菜单
  11972. items:
  11973. $ref: '#/definitions/models.OperationSecondaryMenu'
  11974. type: array
  11975. Key:
  11976. description: 菜单KEY
  11977. type: string
  11978. Label:
  11979. description: 菜单标题
  11980. type: string
  11981. type: object
  11982. models.OperationSecondaryMenu:
  11983. properties:
  11984. Key:
  11985. description: 菜单KEY
  11986. type: string
  11987. Label:
  11988. description: 菜单标题
  11989. type: string
  11990. TabList:
  11991. description: 三级功能菜单
  11992. items:
  11993. $ref: '#/definitions/models.OperationTabMenu'
  11994. type: array
  11995. type: object
  11996. models.OperationTabMenu:
  11997. properties:
  11998. Key:
  11999. description: 菜单KEY
  12000. type: string
  12001. Label:
  12002. description: 菜单标题
  12003. type: string
  12004. type: object
  12005. models.Patradelinkdetail:
  12006. properties:
  12007. accountname:
  12008. description: 套期主体
  12009. type: string
  12010. agreeunit:
  12011. description: 合约乘数
  12012. type: number
  12013. amount:
  12014. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12015. type: number
  12016. areauserid:
  12017. description: 所属机构
  12018. type: integer
  12019. bizsubjectid:
  12020. description: 归属业务部门ID - SubjectID
  12021. type: integer
  12022. buyorsell:
  12023. description: 方向 - 0:买 1:卖
  12024. type: integer
  12025. convertratio:
  12026. description: 品种系数
  12027. type: number
  12028. convertratiochange:
  12029. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12030. type: number
  12031. createtime:
  12032. description: '[日期时间]创建时间'
  12033. type: string
  12034. creatorid:
  12035. description: 创建人ID
  12036. type: integer
  12037. creatorsrc:
  12038. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12039. type: integer
  12040. goodscode:
  12041. description: 商品代码(内部)
  12042. type: string
  12043. goodsgroupid:
  12044. description: 对冲品种ID[期货合约商品组ID]
  12045. type: integer
  12046. goodsid:
  12047. description: 商品ID
  12048. type: integer
  12049. hedgeditemid:
  12050. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12051. type: integer
  12052. hedgeflag:
  12053. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12054. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12055. type: integer
  12056. linkdetailid:
  12057. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12058. type: string
  12059. linkstatus:
  12060. description: 关联状态 - 1:成功 2:失败 3:解绑
  12061. type: integer
  12062. middlegoodsid:
  12063. description: 套保品种ID
  12064. type: integer
  12065. name:
  12066. description: 账户名/子账户
  12067. type: string
  12068. optioncode:
  12069. description: '[期货合约]期权代码 [期权]'
  12070. type: string
  12071. ordertype:
  12072. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12073. type: integer
  12074. relatedlot:
  12075. description: '[数量]关联手数'
  12076. type: number
  12077. relatedmode:
  12078. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12079. type: integer
  12080. relatedqty:
  12081. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12082. type: number
  12083. retcode:
  12084. description: 返回码
  12085. type: integer
  12086. saleuserid:
  12087. description: 业务员ID
  12088. type: integer
  12089. tradedate:
  12090. description: 关联交易日(yyyyMMdd)
  12091. type: string
  12092. tradeid:
  12093. description: '[成交单号]内部成交单ID'
  12094. type: string
  12095. tradelot:
  12096. description: 成交手数
  12097. type: integer
  12098. tradeprice:
  12099. description: '[价格]成交价格'
  12100. type: number
  12101. tradetradedate:
  12102. description: 成交交易日(yyyyMMdd)
  12103. type: string
  12104. type: object
  12105. models.QhjAccountOutInApply:
  12106. properties:
  12107. accountcode:
  12108. description: 资金账号
  12109. type: string
  12110. accountname:
  12111. description: 用户名称(名称)
  12112. type: string
  12113. accountpwd:
  12114. description: 资金密码
  12115. type: string
  12116. accountticket:
  12117. description: 最新账户服务流水号
  12118. type: string
  12119. amount:
  12120. description: 金额
  12121. type: number
  12122. applyremark:
  12123. description: 申请备注
  12124. type: string
  12125. applystatus:
  12126. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12127. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12128. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12129. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12130. type: integer
  12131. auditid:
  12132. description: 审核人
  12133. type: integer
  12134. audittime:
  12135. description: 审核时间
  12136. type: string
  12137. bank_apply_ticket:
  12138. description: 银行申请流水
  12139. type: string
  12140. bankaccountname:
  12141. description: 银行账户名
  12142. type: string
  12143. bankaccountno:
  12144. description: 银行卡号
  12145. type: string
  12146. bankid:
  12147. description: 银行编号
  12148. type: string
  12149. bankticket:
  12150. description: 银行流水
  12151. type: string
  12152. branchbankid:
  12153. description: 银行支行号
  12154. type: string
  12155. branchbankname:
  12156. description: 银行支行名称
  12157. type: string
  12158. capamountout:
  12159. description: 出金(劣后本金) - 外部子账户
  12160. type: number
  12161. certificatephotourl:
  12162. description: 凭证地址
  12163. type: string
  12164. charge:
  12165. description: 手续费
  12166. type: number
  12167. checkerrorflag:
  12168. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12169. type: integer
  12170. currency:
  12171. description: 币种
  12172. type: string
  12173. cusbankid:
  12174. description: 托管银行编号
  12175. type: string
  12176. exchticket:
  12177. description: 银行服务流水号
  12178. type: string
  12179. executetype:
  12180. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12181. 7:外部子账户:入金 8:外部子账户:出金'
  12182. type: integer
  12183. extendinfo:
  12184. description: 扩展信息
  12185. type: string
  12186. extoperateid:
  12187. description: 交易服务流水号
  12188. type: integer
  12189. infamount:
  12190. description: 劣后金额(自有)
  12191. type: number
  12192. logincode:
  12193. description: 登录账号(账号)
  12194. type: string
  12195. netaddr:
  12196. description: 调转网址
  12197. type: string
  12198. priamount:
  12199. description: 优先金额(授信)
  12200. type: number
  12201. reauditid:
  12202. description: 复审人
  12203. type: integer
  12204. reauditremark:
  12205. description: 复审备注
  12206. type: string
  12207. reaudittime:
  12208. description: 复审时间
  12209. type: string
  12210. relatedorderid:
  12211. description: 三方关联ID
  12212. type: string
  12213. remark:
  12214. description: 备注
  12215. type: string
  12216. remark2:
  12217. description: 备注(失败原因)
  12218. type: string
  12219. soucreamount:
  12220. description: 原始出入金金额
  12221. type: number
  12222. soucrecurrencyid:
  12223. description: 原始出入金币种
  12224. type: integer
  12225. tradedate:
  12226. description: 交易日(yyyyMMdd)
  12227. type: string
  12228. updatetime:
  12229. description: 更新时间(申请时间)
  12230. type: string
  12231. userid:
  12232. description: 用户id
  12233. type: integer
  12234. userinfotype:
  12235. description: 账户类型 1-个人 2-企业
  12236. type: integer
  12237. type: object
  12238. models.QhjAgreementChangeLog:
  12239. properties:
  12240. agreementcontent:
  12241. description: 协议内容
  12242. type: string
  12243. agreementfrequency:
  12244. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12245. type: integer
  12246. agreementid:
  12247. description: 协议ID
  12248. type: integer
  12249. agreementname:
  12250. description: 协议名称
  12251. type: string
  12252. agreementno:
  12253. description: 协议编号
  12254. type: string
  12255. agreementtype:
  12256. description: 协议类型 - 1:注册 2:登录 3:交易
  12257. type: integer
  12258. agreementversion:
  12259. description: 协议版本号
  12260. type: integer
  12261. logid:
  12262. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12263. type: integer
  12264. reviserid:
  12265. description: 修改人
  12266. type: integer
  12267. revisersrc:
  12268. description: 修改来源 - 1:管理端 2:终端
  12269. type: integer
  12270. updatetime:
  12271. description: 更新时间
  12272. type: string
  12273. type: object
  12274. models.QhjAgreementConfig:
  12275. properties:
  12276. agreementcontent:
  12277. description: 协议内容
  12278. type: string
  12279. agreementfrequency:
  12280. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12281. type: integer
  12282. agreementid:
  12283. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12284. type: integer
  12285. agreementname:
  12286. description: 协议名称
  12287. type: string
  12288. agreementno:
  12289. description: 协议编号
  12290. type: string
  12291. agreementtype:
  12292. description: 协议类型 - 1:注册 2:登录 3:交易
  12293. type: integer
  12294. agreementversion:
  12295. description: 协议版本号(从1开始每次修改加1)
  12296. type: integer
  12297. createtime:
  12298. description: 创建时间
  12299. type: string
  12300. creatorid:
  12301. description: 创建人
  12302. type: integer
  12303. creatorsrc:
  12304. description: 创建来源 - 1:管理端 2:终端
  12305. type: integer
  12306. isvalid:
  12307. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12308. type: integer
  12309. reviserid:
  12310. description: 修改人
  12311. type: integer
  12312. revisersrc:
  12313. description: 修改来源 - 1:管理端 2:终端
  12314. type: integer
  12315. updatetime:
  12316. description: 更新时间
  12317. type: string
  12318. type: object
  12319. models.QhjAreaFinanceConfig:
  12320. properties:
  12321. additionalratio:
  12322. description: 追加款比例
  12323. type: number
  12324. advanceratio:
  12325. description: 预付款比例
  12326. type: number
  12327. alarmratio:
  12328. description: 告警比例
  12329. type: number
  12330. consumptiondirectreward:
  12331. description: 消费直推奖励值
  12332. type: number
  12333. consumptionenabled:
  12334. description: 是否启用消费奖励 - 0:不启用 1:启用
  12335. type: integer
  12336. consumptionindirectreward:
  12337. description: 消费间推奖励值
  12338. type: number
  12339. consumptionmodel:
  12340. description: 消费奖励方式 - 1:比率 2:固定
  12341. type: integer
  12342. customerservicenum:
  12343. description: 客服电话
  12344. type: string
  12345. dayinterestrate:
  12346. description: 日利率
  12347. type: number
  12348. disableconsumptiontips:
  12349. description: 关闭消费奖励提示
  12350. type: string
  12351. modifierid:
  12352. description: 修改人ID
  12353. type: integer
  12354. modifysrc:
  12355. description: 审核来源 - 1:管理端 2:终端
  12356. type: integer
  12357. modifytime:
  12358. description: 修改时间
  12359. type: string
  12360. promotionvalue:
  12361. description: 推广奖励值(固定)
  12362. type: number
  12363. scoreconfigvalue1:
  12364. description: 提货积分配置1
  12365. type: integer
  12366. scoreconfigvalue2:
  12367. description: 提货积分配置2
  12368. type: integer
  12369. userid:
  12370. description: 机构用户ID其他做市关系,都设置为 1
  12371. type: integer
  12372. username:
  12373. description: 用户名称
  12374. type: string
  12375. type: object
  12376. models.QhjBankAccountSign:
  12377. properties:
  12378. accountcode:
  12379. description: 资金账号
  12380. type: string
  12381. accountname:
  12382. description: 资金账号对应的账号名(UserName)
  12383. type: string
  12384. accountname2:
  12385. description: 资金账号对应的账号名(UserName) - 密文
  12386. type: string
  12387. accounttype:
  12388. description: 账户类型(UserType)
  12389. type: integer
  12390. applicationtime:
  12391. description: 最后一次更新的时间
  12392. type: string
  12393. applyexchticket:
  12394. description: 申请流水
  12395. type: string
  12396. auditid:
  12397. description: 审核人
  12398. type: integer
  12399. audittime:
  12400. description: 审核时间
  12401. type: string
  12402. bankaccountname:
  12403. description: 签约银行卡账号名
  12404. type: string
  12405. bankaccountname2:
  12406. description: 签约银行卡账号名 - 密文
  12407. type: string
  12408. bankaccountno:
  12409. description: 银行卡号
  12410. type: string
  12411. bankaccountno2:
  12412. description: 银行卡号 - 密文
  12413. type: string
  12414. bankaccounttype:
  12415. description: 银行账户类型 - 1-对私; 2-对公
  12416. type: integer
  12417. bankcardtype:
  12418. description: 银行卡类型
  12419. type: integer
  12420. bankchildaccount:
  12421. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12422. type: string
  12423. bankcity:
  12424. description: 开户行城市
  12425. type: string
  12426. bankid:
  12427. description: 签约银行ID
  12428. type: string
  12429. bankname:
  12430. description: 签约银行名称
  12431. type: string
  12432. bankprovince:
  12433. description: 开户行省份
  12434. type: string
  12435. branchbankid:
  12436. description: 签约银行支行号
  12437. type: string
  12438. branchbankname:
  12439. description: 签约银行支行名称
  12440. type: string
  12441. cardno:
  12442. description: 证件号码
  12443. type: string
  12444. cardno2:
  12445. description: 证件号码 - 密文
  12446. type: string
  12447. cardtype:
  12448. description: 证件类型
  12449. type: string
  12450. currency:
  12451. description: 币种
  12452. type: string
  12453. cusbankid:
  12454. description: 托管银行编号
  12455. type: string
  12456. direct:
  12457. description: 方向(可以判断那方先发起的签约)
  12458. type: integer
  12459. exchticket:
  12460. description: 最后一次签约成功的流水号
  12461. type: string
  12462. extendinfo:
  12463. description: 扩展信息(JSON字符串)
  12464. type: string
  12465. mobilephone:
  12466. description: 手机号
  12467. type: string
  12468. mobilephone2:
  12469. description: 手机号 - 密文
  12470. type: string
  12471. netaddr:
  12472. description: 调转网址
  12473. type: string
  12474. relateduserid:
  12475. description: 关联使用者userid
  12476. type: integer
  12477. signstatus:
  12478. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12479. 10:审核拒绝 11:换签待审核
  12480. type: integer
  12481. updatetime:
  12482. description: 更新时间(签解约更新时间)
  12483. type: string
  12484. type: object
  12485. models.QhjBankInfo:
  12486. properties:
  12487. bankid:
  12488. description: 银行ID
  12489. type: string
  12490. bankname:
  12491. description: 银行名称
  12492. type: string
  12493. clearbankno:
  12494. description: 清算系统银行编号
  12495. type: string
  12496. orderindex:
  12497. description: 排序顺序
  12498. type: integer
  12499. status:
  12500. description: 状态 - 0:正常 1:注销
  12501. type: integer
  12502. type: object
  12503. models.QhjBrokerApply:
  12504. properties:
  12505. applicantid:
  12506. description: 申请人
  12507. type: integer
  12508. applysrc:
  12509. description: 申请来源 - 1:管理端 2:终端
  12510. type: integer
  12511. applystatus:
  12512. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12513. type: integer
  12514. applytime:
  12515. description: 申请时间
  12516. type: string
  12517. auditorid:
  12518. description: 审核人
  12519. type: integer
  12520. auditremark:
  12521. description: 审核备注
  12522. type: string
  12523. auditsrc:
  12524. description: 审核来源 - 1:管理端 2:终端
  12525. type: integer
  12526. audittime:
  12527. description: 审核时间
  12528. type: string
  12529. audittradedate:
  12530. description: 审核交易日(yyyyMMdd)
  12531. type: string
  12532. brokerapplyid:
  12533. description: 申请ID(SEQ_BROKERAPPLY)
  12534. type: integer
  12535. cardbackphotourl:
  12536. description: 证件背面图片地址
  12537. type: string
  12538. cardfrontphotourl:
  12539. description: 证件正面图片地址
  12540. type: string
  12541. cardnum:
  12542. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12543. type: string
  12544. customername:
  12545. description: 姓名
  12546. type: string
  12547. logincode:
  12548. description: 登录代码
  12549. type: string
  12550. mobile:
  12551. description: 手机号码
  12552. type: string
  12553. parentuserid:
  12554. description: 所属机构id
  12555. type: integer
  12556. parentusername:
  12557. description: 所属机构名称
  12558. type: string
  12559. refereeuserid:
  12560. description: 推荐人id(经纪人)
  12561. type: integer
  12562. refernum:
  12563. description: 推荐码
  12564. type: string
  12565. remark:
  12566. description: 备注
  12567. type: string
  12568. subarealevelpath:
  12569. description: 层级路径
  12570. type: string
  12571. tradedate:
  12572. description: 交易日(yyyyMMdd)
  12573. type: string
  12574. userid:
  12575. description: 申请人用户ID
  12576. type: integer
  12577. userinfotype:
  12578. description: 用户类型 1-个人 2-企业
  12579. type: integer
  12580. username:
  12581. description: 用户名称
  12582. type: string
  12583. type: object
  12584. models.QhjBrokerApplyEx:
  12585. properties:
  12586. applylist:
  12587. description: 经纪人申请记录(只返回最新一条)
  12588. items:
  12589. $ref: '#/definitions/models.QhjBrokerApply'
  12590. type: array
  12591. canrecommend:
  12592. description: 是否经纪人 0-不是 1-是
  12593. type: integer
  12594. refernum:
  12595. description: 推荐码
  12596. type: string
  12597. userid:
  12598. description: 用户id
  12599. type: integer
  12600. userinfotype:
  12601. description: 用户类型 1-个人 2-企业
  12602. type: integer
  12603. type: object
  12604. models.QhjBrokerRewardLog:
  12605. properties:
  12606. accountid:
  12607. description: 资金账号ID
  12608. type: integer
  12609. createtime:
  12610. description: 创建时间(时间)
  12611. type: string
  12612. handlestatus:
  12613. description: 处理状态
  12614. type: integer
  12615. logid:
  12616. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12617. type: string
  12618. marketid:
  12619. description: 市场ID
  12620. type: integer
  12621. mmaccountid:
  12622. description: 做市商资金账号ID
  12623. type: string
  12624. mmuserid:
  12625. description: 做市商用户ID
  12626. type: string
  12627. rewardamount:
  12628. description: 奖励金额
  12629. type: number
  12630. rewardmodel:
  12631. description: 消费奖励方式 - 1:比率 2:固定
  12632. type: integer
  12633. rewardtype:
  12634. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12635. type: integer
  12636. rewardvalue:
  12637. description: 配置奖励值
  12638. type: number
  12639. srcamount:
  12640. description: 成交金额 [消费奖励] (金额)
  12641. type: number
  12642. srcgoodsid:
  12643. description: 来源商品ID [消费奖励]
  12644. type: string
  12645. srctime:
  12646. description: 来源时间 (成交时间) [消费奖励]
  12647. type: string
  12648. srctradeid:
  12649. description: 来源成交单ID [消费奖励] - 排除提货成交
  12650. type: string
  12651. srcuserid:
  12652. description: 来源用户ID(推广账户)
  12653. type: string
  12654. srcusername:
  12655. description: 推广账户名称
  12656. type: string
  12657. tradedate:
  12658. description: 交易日(yyyyMMdd)
  12659. type: string
  12660. userid:
  12661. description: 经纪人用户ID
  12662. type: integer
  12663. type: object
  12664. models.QhjContract:
  12665. properties:
  12666. contractconfirmtime:
  12667. description: 合同确认时间(时间)
  12668. type: string
  12669. currisklevel:
  12670. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12671. type: integer
  12672. decimalplace:
  12673. description: 商品报价小数位
  12674. type: integer
  12675. enumdicname:
  12676. description: 单位名称
  12677. type: string
  12678. goodscode:
  12679. description: 商品代码
  12680. type: string
  12681. goodsid:
  12682. description: 商品ID [5:融资单]
  12683. type: integer
  12684. goodsname:
  12685. description: 商品名称
  12686. type: string
  12687. goodunitid:
  12688. description: 商品单位id
  12689. type: integer
  12690. initmargin:
  12691. description: 初始保证金(首付款)
  12692. type: number
  12693. lenderamount:
  12694. description: 贷款金额(总额|订单总额)
  12695. type: number
  12696. marginratio:
  12697. description: 保证金比率(首付比例)
  12698. type: number
  12699. payamount:
  12700. description: 已付(已付货款)
  12701. type: number
  12702. reckonrecovermargin:
  12703. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12704. type: number
  12705. recoveredmargin:
  12706. description: 已追缴保证金
  12707. type: number
  12708. remainamount:
  12709. description: 合同剩余金额(融资额)
  12710. type: number
  12711. scfcontractid:
  12712. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12713. type: string
  12714. scfcontractstatus:
  12715. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12716. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12717. type: integer
  12718. scfcontracttype:
  12719. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12720. type: integer
  12721. totalinterest:
  12722. description: 已计总利息(利息)
  12723. type: number
  12724. tradeprice:
  12725. description: 成交价格(成本价格)
  12726. type: number
  12727. userid:
  12728. description: 用户ID
  12729. type: integer
  12730. username:
  12731. description: 用户名称
  12732. type: string
  12733. wrqty:
  12734. description: 仓单数量(数量)
  12735. type: number
  12736. type: object
  12737. models.QhjContractLog:
  12738. properties:
  12739. amount:
  12740. description: 支付金额
  12741. type: number
  12742. amounttype:
  12743. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12744. type: integer
  12745. logid:
  12746. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12747. type: string
  12748. remainamount:
  12749. description: 剩余货款
  12750. type: number
  12751. scfcontractid:
  12752. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12753. type: integer
  12754. updatetime:
  12755. description: 更新时间
  12756. type: string
  12757. type: object
  12758. models.QhjCusBankSignBankEx:
  12759. properties:
  12760. banklst:
  12761. description: 银行列表
  12762. items:
  12763. $ref: '#/definitions/models.QhjBankInfo'
  12764. type: array
  12765. canallot:
  12766. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12767. type: integer
  12768. canallotquery:
  12769. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12770. type: integer
  12771. canbindcard:
  12772. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12773. type: integer
  12774. caninamount:
  12775. description: 是否可入金 - 0:不可 1:可以
  12776. type: integer
  12777. caninamount2:
  12778. description: 是否可入金(网银端) - 0:不可 1:可以
  12779. type: integer
  12780. canmodifybankcard:
  12781. description: 是否可修改银行卡号 - 0:不可 1:可以
  12782. type: integer
  12783. canmodifyphone:
  12784. description: 是否可修改手机号 - 0:不可 1:可以
  12785. type: integer
  12786. canmodifysigninfo:
  12787. description: 是否可修改签约信息 - 0:不可 1:可以
  12788. type: integer
  12789. canoutamount:
  12790. description: 是否可出金 - 0:不可 1:可以
  12791. type: integer
  12792. canoutamount2:
  12793. description: 是否可出金(网银端) - 0:不可 1:可以
  12794. type: integer
  12795. canrelease:
  12796. description: 是否可解约 - 0:不可 1:可以
  12797. type: integer
  12798. canrelease2:
  12799. description: 是否可解约(网银端) - 0:不可 1:可以
  12800. type: integer
  12801. cansign:
  12802. description: 是否可签约 - 0:不可 1:可以
  12803. type: integer
  12804. cansign2:
  12805. description: 是否可签约(网银端) - 0:不可 1:可以
  12806. type: integer
  12807. currency:
  12808. description: 币种
  12809. type: string
  12810. cusbankid:
  12811. description: 托管银行编号(对应清算中心TRAN_NO)
  12812. type: string
  12813. cusbankname:
  12814. description: 银行业务名称
  12815. type: string
  12816. cusbankshortname:
  12817. description: 银行业务简称
  12818. type: string
  12819. exchbankid:
  12820. description: 交易所开户银行ID
  12821. type: string
  12822. exchpaybankaccname:
  12823. description: 交易所支出结算账户户名
  12824. type: string
  12825. exchpaybankaccno:
  12826. description: 交易所支出结算账户
  12827. type: string
  12828. isneedcheck:
  12829. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12830. type: integer
  12831. isneedclear:
  12832. description: 是否需要清算 - 0:不需要 1:需要
  12833. type: integer
  12834. lastcheckstatus:
  12835. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12836. type: integer
  12837. lastchecktime:
  12838. description: 最后对账时间
  12839. type: string
  12840. lastclearstatus:
  12841. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12842. type: integer
  12843. lastcleartime:
  12844. description: 最后清算时间
  12845. type: string
  12846. lastsignintime:
  12847. description: 最后签到时间
  12848. type: string
  12849. lastsignouttime:
  12850. description: 最后签退时间
  12851. type: string
  12852. riskinfo:
  12853. description: 签约风险提示书
  12854. type: string
  12855. signstatus:
  12856. description: 当前签到/签退状态 - 1:签到 2:签退
  12857. type: integer
  12858. tradedate:
  12859. description: 交易日(yyyyMMdd)
  12860. type: string
  12861. updatetime:
  12862. description: 当前签到/签退更新时间
  12863. type: string
  12864. type: object
  12865. models.QhjCustomer:
  12866. properties:
  12867. address:
  12868. description: 通讯地址
  12869. type: string
  12870. attachment1:
  12871. description: 附件1
  12872. type: string
  12873. attachment2:
  12874. description: 附件2
  12875. type: string
  12876. audittime:
  12877. description: 审核时间
  12878. type: string
  12879. cardbackphotourl:
  12880. description: 证件反面图片地址
  12881. type: string
  12882. cardfrontphotourl:
  12883. description: 证件正面图片地址
  12884. type: string
  12885. cardnum:
  12886. description: 证件号码
  12887. type: string
  12888. cardtype:
  12889. description: 证件类型
  12890. type: integer
  12891. cardtypename:
  12892. description: 证件类型名称
  12893. type: string
  12894. cityid:
  12895. description: 市
  12896. type: integer
  12897. cityname:
  12898. description: 城市名称
  12899. type: string
  12900. contactname:
  12901. description: 联系人
  12902. type: string
  12903. countryid:
  12904. description: 国家
  12905. type: integer
  12906. countryname:
  12907. description: 国家名称
  12908. type: string
  12909. createtime:
  12910. description: 创建时间
  12911. type: string
  12912. customername:
  12913. description: 客户名称
  12914. type: string
  12915. districtid:
  12916. description: 区域
  12917. type: integer
  12918. districtname:
  12919. description: 地区名称
  12920. type: string
  12921. email:
  12922. description: 邮件
  12923. type: string
  12924. legalpersonname:
  12925. description: 法人姓名(企业)
  12926. type: string
  12927. logincode:
  12928. description: 登录账号(代码)
  12929. type: string
  12930. memberuserid:
  12931. description: 所属机构ID(所属会员)
  12932. type: integer
  12933. memberusername:
  12934. description: 所属会员名称
  12935. type: string
  12936. mobile:
  12937. description: 手机号码
  12938. type: string
  12939. modifytime:
  12940. description: 修改时间
  12941. type: string
  12942. nickname:
  12943. description: 昵称
  12944. type: string
  12945. parentuserid:
  12946. description: 上级机构(所属机构)
  12947. type: integer
  12948. parentusername:
  12949. description: 所属机构名称
  12950. type: string
  12951. provinceid:
  12952. description: 省
  12953. type: integer
  12954. provincename:
  12955. description: 省名称
  12956. type: string
  12957. proxystatementurl:
  12958. description: 授权委托书
  12959. type: string
  12960. remark:
  12961. description: 备注
  12962. type: string
  12963. status:
  12964. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12965. type: integer
  12966. statusdesc:
  12967. description: 账户状态中文描述
  12968. type: string
  12969. taxpayernum:
  12970. description: 纳税人识别号
  12971. type: string
  12972. telphone:
  12973. description: 联系电话
  12974. type: string
  12975. userid:
  12976. description: 用户ID
  12977. type: integer
  12978. userinfotype:
  12979. description: 客户类型 1-个人 2-企业
  12980. type: integer
  12981. username:
  12982. description: 用户名称
  12983. type: string
  12984. type: object
  12985. models.QhjCustomerSignLog:
  12986. properties:
  12987. agreementcontent:
  12988. description: 协议内容
  12989. type: string
  12990. agreementid:
  12991. description: 协议ID
  12992. type: integer
  12993. agreementname:
  12994. description: 协议名称
  12995. type: string
  12996. agreementno:
  12997. description: 协议编号
  12998. type: string
  12999. agreementtype:
  13000. description: 协议类型 - 1:注册 2:登录 3:交易
  13001. type: integer
  13002. agreementversion:
  13003. description: 协议版本号
  13004. type: integer
  13005. createtime:
  13006. description: 创建时间
  13007. type: string
  13008. goodscode:
  13009. description: 商品代码
  13010. type: string
  13011. goodsid:
  13012. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13013. type: integer
  13014. goodsname:
  13015. description: 商品名称
  13016. type: string
  13017. logid:
  13018. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13019. type: integer
  13020. nodetype:
  13021. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13022. type: integer
  13023. signadressurl:
  13024. description: 签约文件地址
  13025. type: string
  13026. signtimestamp:
  13027. description: 签约状态时间戳
  13028. type: string
  13029. userid:
  13030. description: 客户ID
  13031. type: integer
  13032. username:
  13033. description: 客户名称
  13034. type: string
  13035. type: object
  13036. models.QhjCustomerSignStatus:
  13037. properties:
  13038. createtime:
  13039. description: 创建时间
  13040. type: string
  13041. goodscode:
  13042. description: 商品代码
  13043. type: string
  13044. goodsid:
  13045. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13046. type: integer
  13047. goodsname:
  13048. description: 商品名称
  13049. type: string
  13050. nodetype:
  13051. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13052. type: integer
  13053. signtimestamp:
  13054. description: 签约状态时间戳
  13055. type: string
  13056. tradedate:
  13057. description: 创建交易日(yyyyMMdd)
  13058. type: string
  13059. updatetime:
  13060. description: 更新时间
  13061. type: string
  13062. userid:
  13063. description: 客户ID
  13064. type: integer
  13065. username:
  13066. description: 客户名称
  13067. type: string
  13068. type: object
  13069. models.QhjMgrAccountOutInApply:
  13070. properties:
  13071. accountcode:
  13072. description: 资金账号
  13073. type: string
  13074. accountname:
  13075. description: 用户名称(名称)
  13076. type: string
  13077. accountpwd:
  13078. description: 资金密码
  13079. type: string
  13080. accountticket:
  13081. description: 最新账户服务流水号
  13082. type: string
  13083. amount:
  13084. description: 金额
  13085. type: number
  13086. applyremark:
  13087. description: 申请备注
  13088. type: string
  13089. applystatus:
  13090. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13091. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13092. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13093. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13094. type: integer
  13095. auditid:
  13096. description: 审核人
  13097. type: integer
  13098. audittime:
  13099. description: 审核时间
  13100. type: string
  13101. bank_apply_ticket:
  13102. description: 银行申请流水
  13103. type: string
  13104. bankaccountname:
  13105. description: 银行账户名
  13106. type: string
  13107. bankaccountno:
  13108. description: 银行卡号
  13109. type: string
  13110. bankid:
  13111. description: 银行编号
  13112. type: string
  13113. bankname:
  13114. description: 银行名称
  13115. type: string
  13116. bankticket:
  13117. description: 银行流水
  13118. type: string
  13119. branchbankid:
  13120. description: 银行支行号
  13121. type: string
  13122. branchbankname:
  13123. description: 银行支行名称
  13124. type: string
  13125. capamountout:
  13126. description: 出金(劣后本金) - 外部子账户
  13127. type: number
  13128. certificatephotourl:
  13129. description: 凭证地址
  13130. type: string
  13131. charge:
  13132. description: 手续费
  13133. type: number
  13134. checkerrorflag:
  13135. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13136. type: integer
  13137. currency:
  13138. description: 币种
  13139. type: string
  13140. cusbankid:
  13141. description: 托管银行编号
  13142. type: string
  13143. exchticket:
  13144. description: 银行服务流水号
  13145. type: string
  13146. executetype:
  13147. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13148. 7:外部子账户:入金 8:外部子账户:出金'
  13149. type: integer
  13150. extendinfo:
  13151. description: 扩展信息
  13152. type: string
  13153. extoperateid:
  13154. description: 交易服务流水号
  13155. type: integer
  13156. infamount:
  13157. description: 劣后金额(自有)
  13158. type: number
  13159. logincode:
  13160. description: 登录账号(账号)
  13161. type: string
  13162. netaddr:
  13163. description: 调转网址
  13164. type: string
  13165. priamount:
  13166. description: 优先金额(授信)
  13167. type: number
  13168. reauditid:
  13169. description: 复审人
  13170. type: integer
  13171. reauditremark:
  13172. description: 复审备注
  13173. type: string
  13174. reaudittime:
  13175. description: 复审时间
  13176. type: string
  13177. relatedorderid:
  13178. description: 三方关联ID
  13179. type: string
  13180. remark:
  13181. description: 备注
  13182. type: string
  13183. remark2:
  13184. description: 备注(失败原因)
  13185. type: string
  13186. soucreamount:
  13187. description: 原始出入金金额
  13188. type: number
  13189. soucrecurrencyid:
  13190. description: 原始出入金币种
  13191. type: integer
  13192. tradedate:
  13193. description: 交易日(yyyyMMdd)
  13194. type: string
  13195. updatetime:
  13196. description: 更新时间(申请时间)
  13197. type: string
  13198. userid:
  13199. description: 用户id
  13200. type: integer
  13201. userinfotype:
  13202. description: 账户类型 1-个人 2-企业
  13203. type: integer
  13204. type: object
  13205. models.QhjMgrBrokerApply:
  13206. properties:
  13207. applicantid:
  13208. description: 申请人
  13209. type: integer
  13210. applysrc:
  13211. description: 申请来源 - 1:管理端 2:终端
  13212. type: integer
  13213. applystatus:
  13214. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13215. type: integer
  13216. applytime:
  13217. description: 申请时间
  13218. type: string
  13219. auditorid:
  13220. description: 审核人
  13221. type: integer
  13222. auditremark:
  13223. description: 审核备注
  13224. type: string
  13225. auditsrc:
  13226. description: 审核来源 - 1:管理端 2:终端
  13227. type: integer
  13228. audittime:
  13229. description: 审核时间
  13230. type: string
  13231. audittradedate:
  13232. description: 审核交易日(yyyyMMdd)
  13233. type: string
  13234. brokerapplyid:
  13235. description: 申请ID(SEQ_BROKERAPPLY)
  13236. type: integer
  13237. cardbackphotourl:
  13238. description: 证件背面图片地址
  13239. type: string
  13240. cardfrontphotourl:
  13241. description: 证件正面图片地址
  13242. type: string
  13243. cardnum:
  13244. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13245. type: string
  13246. customername:
  13247. description: 姓名
  13248. type: string
  13249. filterstatus:
  13250. description: 筛选条件
  13251. type: string
  13252. logincode:
  13253. description: 登录代码
  13254. type: string
  13255. mobile:
  13256. description: 手机号码
  13257. type: string
  13258. parentuserid:
  13259. description: 所属机构id
  13260. type: integer
  13261. parentusername:
  13262. description: 所属机构名称
  13263. type: string
  13264. refereeuserid:
  13265. description: 推荐人id(经纪人)
  13266. type: integer
  13267. refernum:
  13268. description: 推荐码
  13269. type: string
  13270. remark:
  13271. description: 备注
  13272. type: string
  13273. subarealevelpath:
  13274. description: 层级路径
  13275. type: string
  13276. tradedate:
  13277. description: 交易日(yyyyMMdd)
  13278. type: string
  13279. userid:
  13280. description: 申请人用户ID
  13281. type: integer
  13282. userinfotype:
  13283. description: 用户类型 1-个人 2-企业
  13284. type: integer
  13285. username:
  13286. description: 用户名称
  13287. type: string
  13288. type: object
  13289. models.QhjMgrBrokerRewardReport:
  13290. properties:
  13291. createtime:
  13292. description: 创建时间(注册时间)
  13293. type: string
  13294. cycletime:
  13295. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13296. type: string
  13297. cycletype:
  13298. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13299. type: integer
  13300. directtotalnum:
  13301. description: 直推总人数【期末】
  13302. type: integer
  13303. indirecttotalnum:
  13304. description: 间推总人数【期末】
  13305. type: integer
  13306. mobile:
  13307. description: 电话号码
  13308. type: string
  13309. refereeuserid:
  13310. description: 推荐人id(经纪人id)
  13311. type: integer
  13312. refereeusername:
  13313. description: 推荐人名称(经纪人) 上级经纪人名称
  13314. type: string
  13315. refernum:
  13316. description: 推荐码
  13317. type: string
  13318. subarealevelpath:
  13319. description: 用户层级路径
  13320. type: string
  13321. todayrewardamount:
  13322. description: 奖励总金额【汇总】
  13323. type: number
  13324. updatetime:
  13325. description: 更新时间
  13326. type: string
  13327. userid:
  13328. description: 经纪人用户ID
  13329. type: integer
  13330. userinfotype:
  13331. description: 用户类型 1-个人 2-企业
  13332. type: integer
  13333. username:
  13334. description: 用户名称
  13335. type: string
  13336. type: object
  13337. models.QhjMgrContract:
  13338. properties:
  13339. contractconfirmtime:
  13340. description: 合同确认时间(时间)
  13341. type: string
  13342. currisklevel:
  13343. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13344. type: integer
  13345. decimalplace:
  13346. description: 商品报价小数位
  13347. type: integer
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. goodscode:
  13352. description: 商品代码
  13353. type: string
  13354. goodsid:
  13355. description: 商品ID [5:融资单]
  13356. type: integer
  13357. goodsname:
  13358. description: 商品名称
  13359. type: string
  13360. goodunitid:
  13361. description: 商品单位id
  13362. type: integer
  13363. initmargin:
  13364. description: 初始保证金(首付款)
  13365. type: number
  13366. lenderamount:
  13367. description: 贷款金额(总额|订单总额)
  13368. type: number
  13369. logincode:
  13370. description: 账号(登录代码)
  13371. type: string
  13372. marginratio:
  13373. description: 保证金比率(首付比例)
  13374. type: number
  13375. mobile:
  13376. description: 电话号码(用户资料里的电话)
  13377. type: string
  13378. payamount:
  13379. description: 已付(已付货款)
  13380. type: number
  13381. reckonrecovermargin:
  13382. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13383. type: number
  13384. recoveredmargin:
  13385. description: 已追缴保证金
  13386. type: number
  13387. remainamount:
  13388. description: 合同剩余金额(融资额)
  13389. type: number
  13390. scfcontractid:
  13391. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13392. type: string
  13393. scfcontractstatus:
  13394. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13395. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13396. type: integer
  13397. scfcontracttype:
  13398. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13399. type: integer
  13400. totalinterest:
  13401. description: 已计总利息(利息)
  13402. type: number
  13403. tradedate:
  13404. description: 交易日
  13405. type: string
  13406. tradeprice:
  13407. description: 成交价格(成本价格)
  13408. type: number
  13409. userid:
  13410. description: 用户ID
  13411. type: integer
  13412. userinfotype:
  13413. description: 用户类型 1-个人 2-企业
  13414. type: integer
  13415. username:
  13416. description: 用户名称
  13417. type: string
  13418. wrqty:
  13419. description: 仓单数量(数量)
  13420. type: number
  13421. type: object
  13422. models.QhjMgrCustomer:
  13423. properties:
  13424. address:
  13425. description: 通讯地址
  13426. type: string
  13427. attachment1:
  13428. description: 附件1
  13429. type: string
  13430. audittime:
  13431. description: 审核时间
  13432. type: string
  13433. birthday:
  13434. description: 生日
  13435. type: string
  13436. brokerid:
  13437. description: 所属客户经理id
  13438. type: integer
  13439. brokername:
  13440. description: 所属客户经理名称
  13441. type: string
  13442. cardbackphotourl:
  13443. description: 证件反面图片地址
  13444. type: string
  13445. cardfrontphotourl:
  13446. description: 证件正面图片地址
  13447. type: string
  13448. cardnum:
  13449. description: 证件号码
  13450. type: string
  13451. cardtype:
  13452. description: 证件类型
  13453. type: integer
  13454. cardtypename:
  13455. description: 证件类型名称
  13456. type: string
  13457. cityid:
  13458. description: 市
  13459. type: integer
  13460. cityname:
  13461. description: 城市名称
  13462. type: string
  13463. contactname:
  13464. description: 联系人
  13465. type: string
  13466. countryid:
  13467. description: 国家
  13468. type: integer
  13469. countryname:
  13470. description: 国家名称
  13471. type: string
  13472. createtime:
  13473. description: 创建时间
  13474. type: string
  13475. customername:
  13476. description: 客户名称
  13477. type: string
  13478. districtid:
  13479. description: 区域
  13480. type: integer
  13481. districtname:
  13482. description: 地区名称
  13483. type: string
  13484. email:
  13485. description: 邮件
  13486. type: string
  13487. legalpersonname:
  13488. description: 法人姓名(企业)
  13489. type: string
  13490. logincode:
  13491. description: 登录账号(代码)
  13492. type: string
  13493. memberuserid:
  13494. description: 所属机构ID(所属会员)
  13495. type: integer
  13496. memberusername:
  13497. description: 所属会员名称
  13498. type: string
  13499. mobile:
  13500. description: 手机号码
  13501. type: string
  13502. modifytime:
  13503. description: 修改时间
  13504. type: string
  13505. nickname:
  13506. description: 昵称
  13507. type: string
  13508. parentuserid:
  13509. description: 上级机构(所属机构)
  13510. type: integer
  13511. parentusername:
  13512. description: 所属机构名称
  13513. type: string
  13514. provinceid:
  13515. description: 省
  13516. type: integer
  13517. provincename:
  13518. description: 省名称
  13519. type: string
  13520. proxystatementurl:
  13521. description: 授权委托书
  13522. type: string
  13523. querytype:
  13524. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13525. type: integer
  13526. remark:
  13527. description: 备注
  13528. type: string
  13529. sex:
  13530. description: 性别 0-女 1-男
  13531. type: integer
  13532. status:
  13533. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13534. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13535. type: integer
  13536. statusdesc:
  13537. description: 账户状态中文描述
  13538. type: string
  13539. taxpayernum:
  13540. description: 纳税人识别号
  13541. type: string
  13542. telphone:
  13543. description: 联系电话
  13544. type: string
  13545. userid:
  13546. description: 用户ID
  13547. type: integer
  13548. userinfotype:
  13549. description: 客户类型 1-个人 2-企业
  13550. type: integer
  13551. username:
  13552. description: 用户名称
  13553. type: string
  13554. type: object
  13555. models.QhjMgrPickGoods:
  13556. properties:
  13557. enumdicname:
  13558. description: 单位名称(提货商品)
  13559. type: string
  13560. goodsid:
  13561. description: 商品id
  13562. type: integer
  13563. imageaddress:
  13564. description: 图片
  13565. type: string
  13566. modifierid:
  13567. description: 修改人
  13568. type: integer
  13569. modifiername:
  13570. description: 修改人名称
  13571. type: string
  13572. modifysrc:
  13573. description: 修改来源 - 1:管理端 2:终端
  13574. type: integer
  13575. pickupgoodsagreeunit:
  13576. description: 合约乘数
  13577. type: number
  13578. pickupgoodsdesc:
  13579. description: 描述
  13580. type: string
  13581. pickupgoodsid:
  13582. description: 提货商品ID
  13583. type: string
  13584. pickupgoodsname:
  13585. description: 提货商品名称
  13586. type: string
  13587. pickupgoodsstatus:
  13588. description: 状态 - 1:正常 2:停用 3:注销
  13589. type: integer
  13590. pickupgoodsunitid:
  13591. description: 单位ID
  13592. type: integer
  13593. pickupratio:
  13594. description: 提货系数
  13595. type: number
  13596. preparedays:
  13597. description: 备货期(天)
  13598. type: integer
  13599. remark:
  13600. description: 备注
  13601. type: string
  13602. updatetime:
  13603. description: 更新时间
  13604. type: string
  13605. type: object
  13606. models.QhjMgrPositionRsp:
  13607. properties:
  13608. accountid:
  13609. description: 账号Id
  13610. type: integer
  13611. accountname:
  13612. description: 用户名称
  13613. type: string
  13614. agreeunit:
  13615. description: 合约乘数
  13616. type: number
  13617. averageprice:
  13618. description: 均价
  13619. type: number
  13620. avialqty:
  13621. description: 可用数量
  13622. type: number
  13623. decimalplace:
  13624. description: 报价小数位
  13625. type: integer
  13626. enumdicname:
  13627. description: 单位名称(商品)
  13628. type: string
  13629. frozenqty:
  13630. description: 冻结数量
  13631. type: number
  13632. goodscode:
  13633. description: 商品代码(内部)
  13634. type: string
  13635. goodsid:
  13636. description: 商品Id
  13637. type: integer
  13638. goodsname:
  13639. description: 商品名称
  13640. type: string
  13641. goodunitid:
  13642. description: 报价单位ID
  13643. type: integer
  13644. holderamount:
  13645. description: 金额
  13646. type: number
  13647. holderqty:
  13648. description: 持有数量
  13649. type: number
  13650. holdertype:
  13651. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13652. type: integer
  13653. logincode:
  13654. description: 登录代码(账户)
  13655. type: string
  13656. marketid:
  13657. description: 市场id
  13658. type: integer
  13659. qtydecimalplace:
  13660. description: 成交量小数位
  13661. type: integer
  13662. trademode:
  13663. description: 交易模式
  13664. type: integer
  13665. userid:
  13666. description: 用户id
  13667. type: integer
  13668. userinfotype:
  13669. description: 账户类型 1-个人 2-企业
  13670. type: integer
  13671. type: object
  13672. models.QhjMgrSubArea:
  13673. properties:
  13674. accountname:
  13675. description: 账户名称(机构名称)
  13676. type: string
  13677. memberuserid:
  13678. description: 所属会员ID
  13679. type: integer
  13680. parenttopuser:
  13681. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13682. type: string
  13683. parentuserid:
  13684. description: 所属机构ID
  13685. type: integer
  13686. rootuserid:
  13687. description: 根用户ID
  13688. type: string
  13689. subaccountlevel:
  13690. description: 子账户层数
  13691. type: integer
  13692. subarealevelpath:
  13693. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13694. type: string
  13695. userid:
  13696. description: 用户ID
  13697. type: integer
  13698. usertype:
  13699. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13700. type: integer
  13701. type: object
  13702. models.QhjMgrTradeDetailRsp:
  13703. properties:
  13704. accountid:
  13705. description: 资金账号
  13706. type: integer
  13707. accountname:
  13708. description: 用户名称
  13709. type: string
  13710. agreeunit:
  13711. description: 合约乘数
  13712. type: number
  13713. buyorsell:
  13714. description: 成交类型(方向) 0:买 1:卖
  13715. type: integer
  13716. decimalplace:
  13717. description: 报价小数位
  13718. type: integer
  13719. enumdicname:
  13720. description: 单位名称(商品)
  13721. type: string
  13722. goodscode:
  13723. description: 商品代码(内部)
  13724. type: string
  13725. goodsid:
  13726. description: 商品id
  13727. type: integer
  13728. goodsname:
  13729. description: 商品名称
  13730. type: string
  13731. goodunitid:
  13732. description: 报价单位ID
  13733. type: integer
  13734. logincode:
  13735. description: 登录代码(账户)
  13736. type: string
  13737. marketid:
  13738. description: 市场id
  13739. type: integer
  13740. orderid:
  13741. description: 关联委托单号
  13742. type: string
  13743. qtydecimalplace:
  13744. description: 成交量小数位
  13745. type: integer
  13746. tradeamount:
  13747. description: 金额
  13748. type: number
  13749. tradedate:
  13750. description: 交易日
  13751. type: string
  13752. tradeid:
  13753. description: 成交单号
  13754. type: string
  13755. trademode:
  13756. description: 交易模式
  13757. type: integer
  13758. tradeprice:
  13759. description: 价格
  13760. type: number
  13761. tradeqty:
  13762. description: 数量
  13763. type: number
  13764. tradetime:
  13765. description: 成交时间
  13766. type: string
  13767. userid:
  13768. description: 用户id
  13769. type: integer
  13770. userinfotype:
  13771. description: 账户类型 1-个人 2-企业
  13772. type: integer
  13773. type: object
  13774. models.QhjMgrTradeOrderDetailRsp:
  13775. properties:
  13776. accountid:
  13777. description: 资金账号
  13778. type: integer
  13779. accountname:
  13780. description: 用户名称
  13781. type: string
  13782. agreeunit:
  13783. description: 合约乘数
  13784. type: number
  13785. amount:
  13786. description: 金额
  13787. type: number
  13788. decimalplace:
  13789. description: 报价小数位
  13790. type: integer
  13791. enumdicname:
  13792. description: 单位名称(商品)
  13793. type: string
  13794. goodscode:
  13795. description: 商品代码(内部)
  13796. type: string
  13797. goodsid:
  13798. description: 商品id
  13799. type: integer
  13800. goodsname:
  13801. description: 商品名称
  13802. type: string
  13803. goodunitid:
  13804. description: 报价单位ID
  13805. type: integer
  13806. logincode:
  13807. description: 登录代码(账户)
  13808. type: string
  13809. marketid:
  13810. description: 市场id
  13811. type: integer
  13812. orderid:
  13813. description: 关联委托单号
  13814. type: string
  13815. orderprice:
  13816. description: 价格
  13817. type: number
  13818. orderqty:
  13819. description: 数量
  13820. type: number
  13821. orderstatus:
  13822. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13823. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13824. 16:成交失败违约(荷兰式竞拍专用)
  13825. type: integer
  13826. ordertime:
  13827. description: 委托时间
  13828. type: string
  13829. qtydecimalplace:
  13830. description: 成交量小数位
  13831. type: integer
  13832. tradedate:
  13833. description: 交易日
  13834. type: string
  13835. trademode:
  13836. description: 交易模式
  13837. type: integer
  13838. userid:
  13839. description: 用户id
  13840. type: integer
  13841. userinfotype:
  13842. description: 账户类型 1-个人 2-企业
  13843. type: integer
  13844. type: object
  13845. models.QhjMgrTradePayOrder:
  13846. properties:
  13847. accountname:
  13848. description: 用户名称
  13849. type: string
  13850. advanceratio:
  13851. description: 首付比率
  13852. type: number
  13853. agreeunit:
  13854. description: 合约乘数
  13855. type: number
  13856. buyaccountid:
  13857. description: 买方账号ID[报价币种]
  13858. type: integer
  13859. buyorderid:
  13860. description: 买方委托单号(关联单号)
  13861. type: string
  13862. createtime:
  13863. description: 创建时间
  13864. type: string
  13865. decimalplace:
  13866. description: 报价小数位
  13867. type: integer
  13868. enumdicname:
  13869. description: 单位名称(商品)
  13870. type: string
  13871. goodscode:
  13872. description: 商品代码(内部)
  13873. type: string
  13874. goodsid:
  13875. description: 商品ID
  13876. type: integer
  13877. goodsname:
  13878. description: 商品名称
  13879. type: string
  13880. goodunitid:
  13881. description: 报价单位ID
  13882. type: integer
  13883. logincode:
  13884. description: 登录代码(账户)
  13885. type: string
  13886. marketid:
  13887. description: 市场id
  13888. type: integer
  13889. offamount:
  13890. description: 优惠金额
  13891. type: number
  13892. operatetype:
  13893. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13894. type: integer
  13895. payamount:
  13896. description: 支付金额(金额)
  13897. type: number
  13898. payflag:
  13899. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13900. type: integer
  13901. paylimitedtime:
  13902. description: 支付期限
  13903. type: string
  13904. paytime:
  13905. description: 付款时间
  13906. type: string
  13907. qtydecimalplace:
  13908. description: 成交量小数位
  13909. type: integer
  13910. sellaccountid:
  13911. description: 卖方账号ID[报价币种]
  13912. type: integer
  13913. sellorderid:
  13914. description: 卖方委托单号
  13915. type: string
  13916. tradeamount:
  13917. description: 成交金额(优惠后金额)
  13918. type: number
  13919. tradecharge:
  13920. description: 成交手续费(买方)
  13921. type: number
  13922. tradedate:
  13923. description: 交易日(yyyyMMdd)
  13924. type: string
  13925. tradeid:
  13926. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13927. type: string
  13928. trademode:
  13929. description: 交易模式
  13930. type: integer
  13931. tradeprice:
  13932. description: 成交价格(价格)
  13933. type: number
  13934. tradeqty:
  13935. description: 成交数量(数量)
  13936. type: number
  13937. tradetime:
  13938. description: 成交时间
  13939. type: string
  13940. userid:
  13941. description: 用户id
  13942. type: integer
  13943. userinfotype:
  13944. description: 账户类型 1-个人 2-企业
  13945. type: integer
  13946. type: object
  13947. models.QhjMyTeamEx:
  13948. properties:
  13949. accountname:
  13950. description: 用户名称
  13951. type: string
  13952. accountstatus:
  13953. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13954. type: integer
  13955. createtime:
  13956. description: 创建时间
  13957. type: string
  13958. mobile:
  13959. description: 手机号码
  13960. type: string
  13961. refereeuserid:
  13962. description: 推荐人id
  13963. type: integer
  13964. refernum:
  13965. description: 推荐码
  13966. type: string
  13967. subList:
  13968. items:
  13969. $ref: '#/definitions/models.QhjMyTeamEx'
  13970. type: array
  13971. userid:
  13972. description: 用户id
  13973. type: integer
  13974. userinfotype:
  13975. description: 用户类型 1-个人 2-企业
  13976. type: integer
  13977. type: object
  13978. models.QhjNodeAgreementConfig:
  13979. properties:
  13980. agreementcontent:
  13981. description: 协议内容
  13982. type: string
  13983. agreementid:
  13984. description: 协议ID
  13985. type: integer
  13986. agreementname:
  13987. description: 协议名称
  13988. type: string
  13989. agreementno:
  13990. description: 协议编号
  13991. type: string
  13992. agreementtype:
  13993. description: 协议类型 - 1:注册 2:登录 3:交易
  13994. type: integer
  13995. agreementversion:
  13996. description: 协议版本号
  13997. type: integer
  13998. configid:
  13999. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14000. type: integer
  14001. createtime:
  14002. description: 创建时间
  14003. type: string
  14004. goodsid:
  14005. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14006. type: integer
  14007. nodetype:
  14008. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14009. type: integer
  14010. type: object
  14011. models.QhjParentAreaList:
  14012. properties:
  14013. accountname:
  14014. description: 账户名称(机构名称)
  14015. type: string
  14016. userid:
  14017. description: 用户ID
  14018. type: integer
  14019. usertype:
  14020. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14021. type: integer
  14022. type: object
  14023. models.QhjPayOrder:
  14024. properties:
  14025. advanceratio:
  14026. description: 首付比率
  14027. type: number
  14028. buyaccountid:
  14029. description: 买方账号ID[报价币种]
  14030. type: integer
  14031. buyorderid:
  14032. description: 买方委托单号
  14033. type: string
  14034. createtime:
  14035. description: 创建时间
  14036. type: string
  14037. decimalplace:
  14038. description: 商品报价小数位
  14039. type: integer
  14040. enumdicname:
  14041. description: 单位名称
  14042. type: string
  14043. goodscode:
  14044. description: 商品代码
  14045. type: string
  14046. goodsid:
  14047. description: 商品ID
  14048. type: integer
  14049. goodsname:
  14050. description: 商品名称
  14051. type: string
  14052. goodunitid:
  14053. description: 商品单位id
  14054. type: integer
  14055. marketid:
  14056. description: 市场ID
  14057. type: integer
  14058. offamount:
  14059. description: 优惠金额
  14060. type: number
  14061. operatetype:
  14062. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14063. type: integer
  14064. payamount:
  14065. description: 支付金额
  14066. type: number
  14067. payflag:
  14068. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14069. type: integer
  14070. paylimitedtime:
  14071. description: 支付期限
  14072. type: string
  14073. paytime:
  14074. description: 付款时间
  14075. type: string
  14076. qtydecimalplace:
  14077. description: 成交量小数位
  14078. type: integer
  14079. sellaccountid:
  14080. description: 卖方账号ID[报价币种]
  14081. type: integer
  14082. sellorderid:
  14083. description: 卖方委托单号
  14084. type: string
  14085. tradeamount:
  14086. description: 成交金额(优惠后金额)
  14087. type: number
  14088. tradecharge:
  14089. description: 成交手续费(买方)
  14090. type: number
  14091. tradedate:
  14092. description: 交易日(yyyyMMdd)
  14093. type: string
  14094. tradeid:
  14095. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14096. type: string
  14097. tradeprice:
  14098. description: 成交价格
  14099. type: number
  14100. tradeqty:
  14101. description: 成交数量
  14102. type: number
  14103. type: object
  14104. models.QhjPickArea:
  14105. properties:
  14106. address:
  14107. description: 详细地址
  14108. type: string
  14109. cityid:
  14110. description: 市
  14111. type: integer
  14112. cityname:
  14113. description: 城市名称
  14114. type: string
  14115. countryid:
  14116. description: 国家
  14117. type: integer
  14118. countryname:
  14119. description: 国家名称
  14120. type: string
  14121. districtid:
  14122. description: 地区
  14123. type: integer
  14124. districtname:
  14125. description: 地区名称
  14126. type: string
  14127. fromuserid:
  14128. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14129. type: integer
  14130. fromusername:
  14131. description: 所属机构名称
  14132. type: string
  14133. provinceid:
  14134. description: 省
  14135. type: integer
  14136. provincename:
  14137. description: 省名称
  14138. type: string
  14139. suborgtype:
  14140. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14141. type: integer
  14142. userid:
  14143. description: 机构用户ID 其他做市关系,都设置为 1
  14144. type: integer
  14145. username:
  14146. description: 机构用户名称(门店门称)
  14147. type: string
  14148. type: object
  14149. models.QhjPickGoods:
  14150. properties:
  14151. enumdicname:
  14152. description: 单位名称(提货商品)
  14153. type: string
  14154. goodsid:
  14155. description: 商品id
  14156. type: integer
  14157. imageaddress:
  14158. description: 图片
  14159. type: string
  14160. modifierid:
  14161. description: 修改人
  14162. type: integer
  14163. modifiername:
  14164. description: 修改人名称
  14165. type: string
  14166. modifysrc:
  14167. description: 修改来源 - 1:管理端 2:终端
  14168. type: integer
  14169. pickupgoodsagreeunit:
  14170. description: 合约乘数
  14171. type: number
  14172. pickupgoodsdesc:
  14173. description: 描述
  14174. type: string
  14175. pickupgoodsid:
  14176. description: 提货商品ID
  14177. type: string
  14178. pickupgoodsname:
  14179. description: 提货商品名称
  14180. type: string
  14181. pickupgoodsstatus:
  14182. description: 状态 - 1:正常 2:停用 3:注销
  14183. type: integer
  14184. pickupgoodsunitid:
  14185. description: 单位ID
  14186. type: integer
  14187. pickupratio:
  14188. description: 提货系数
  14189. type: number
  14190. preparedays:
  14191. description: 备货期(天)
  14192. type: integer
  14193. remark:
  14194. description: 备注
  14195. type: string
  14196. updatetime:
  14197. description: 更新时间
  14198. type: string
  14199. type: object
  14200. models.QhjRSTriggerLog:
  14201. properties:
  14202. accountid:
  14203. description: 用户资金账户
  14204. type: integer
  14205. accountname:
  14206. description: 账号名称(ACCOUNTID对应的名称)
  14207. type: string
  14208. currencyid:
  14209. description: 币种id
  14210. type: integer
  14211. currencyname:
  14212. description: 币种名称
  14213. type: string
  14214. decimalplace:
  14215. description: 商品报价小数位
  14216. type: integer
  14217. enumdicname:
  14218. description: 单位名称
  14219. type: string
  14220. goodscode:
  14221. description: 定投商品代码
  14222. type: string
  14223. goodsid:
  14224. description: 定投商品ID
  14225. type: integer
  14226. goodsname:
  14227. description: 定投商品名称
  14228. type: string
  14229. goodunitid:
  14230. description: 定投商品单位id
  14231. type: integer
  14232. logid:
  14233. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14234. type: string
  14235. logincode:
  14236. description: 账号(登录代码)
  14237. type: string
  14238. qtydecimalplace:
  14239. description: 成交量小数位
  14240. type: integer
  14241. regularlycycle:
  14242. description: 定投频率 - 1:每周 2:每月
  14243. type: integer
  14244. regularlycyclevalue:
  14245. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14246. type: string
  14247. regularlymode:
  14248. description: 定投方式 - 1:按数量 2:按金额
  14249. type: integer
  14250. regularlymodevalue:
  14251. description: 定投方式值 - 数量或金额
  14252. type: number
  14253. regularlystrategyid:
  14254. description: 定投策略ID
  14255. type: integer
  14256. retcode:
  14257. description: 错误码
  14258. type: string
  14259. tradeid:
  14260. description: 成交单ID
  14261. type: string
  14262. triggeramount:
  14263. description: 触发金额
  14264. type: number
  14265. triggerqty:
  14266. description: 触发数量
  14267. type: number
  14268. triggerstatus:
  14269. description: 触发状态 - 1:成功 2:失败
  14270. type: integer
  14271. triggertime:
  14272. description: 触发时间
  14273. type: string
  14274. triggertradedate:
  14275. description: 触发交易日
  14276. type: string
  14277. userid:
  14278. description: 所属用户ID
  14279. type: integer
  14280. userinfotype:
  14281. description: 用户类型 1-个人 2-企业
  14282. type: integer
  14283. username:
  14284. description: 用户名称(userid对应的名称)
  14285. type: string
  14286. type: object
  14287. models.QhjRStrategy:
  14288. properties:
  14289. accountid:
  14290. description: 用户资金账户
  14291. type: integer
  14292. accountname:
  14293. description: 账号名称(ACCOUNTID对应的名称)
  14294. type: string
  14295. currencyid:
  14296. description: 币种id
  14297. type: integer
  14298. currencyname:
  14299. description: 币种名称
  14300. type: string
  14301. decimalplace:
  14302. description: 商品报价小数位
  14303. type: integer
  14304. enumdicname:
  14305. description: 单位名称
  14306. type: string
  14307. goodscode:
  14308. description: 定投商品代码
  14309. type: string
  14310. goodsid:
  14311. description: 定投商品ID
  14312. type: integer
  14313. goodsname:
  14314. description: 定投商品名称
  14315. type: string
  14316. goodunitid:
  14317. description: 定投商品单位id
  14318. type: integer
  14319. lasteffecttradedate:
  14320. description: 最新生效交易日
  14321. type: string
  14322. laststoptradedate:
  14323. description: 最新暂停交易日
  14324. type: string
  14325. lasttriggertradedate:
  14326. description: 最新触发交易日
  14327. type: string
  14328. logincode:
  14329. description: 账号(登录代码)
  14330. type: string
  14331. nexttriggeramount:
  14332. description: 下次触发金额
  14333. type: number
  14334. nexttriggerdate:
  14335. description: 下次触发日期
  14336. type: string
  14337. nexttriggerqty:
  14338. description: 下次触发数量 [按小数位放大值]
  14339. type: number
  14340. qtydecimalplace:
  14341. description: 成交量小数位
  14342. type: integer
  14343. regularlycycle:
  14344. description: 定投频率 - 1:每周 2:每月
  14345. type: integer
  14346. regularlycyclevalue:
  14347. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14348. type: string
  14349. regularlymode:
  14350. description: 定投方式 - 1:按数量 2:按金额
  14351. type: integer
  14352. regularlymodevalue:
  14353. description: 定投方式值 - 数量或金额
  14354. type: number
  14355. regularlystrategyid:
  14356. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14357. type: integer
  14358. regularlystrategystatus:
  14359. description: 策略状态 - 1:正常 2:暂停 3:终止
  14360. type: integer
  14361. remark:
  14362. description: 备注
  14363. type: string
  14364. triggersuccesstimes:
  14365. description: 累计定投成功次数
  14366. type: string
  14367. triggertotalamount:
  14368. description: 累计定投金额(成功)
  14369. type: number
  14370. triggertotalqty:
  14371. description: 累计定投数量(成功) [按小数位放大值]
  14372. type: number
  14373. triggertotaltimes:
  14374. description: 累计定投总次数
  14375. type: string
  14376. updatesrc:
  14377. description: 更新来源 - 1:管理端 2:终端
  14378. type: integer
  14379. updatetime:
  14380. description: 更新时间
  14381. type: string
  14382. updatorid:
  14383. description: 更新人
  14384. type: string
  14385. userid:
  14386. description: 所属用户ID
  14387. type: integer
  14388. userinfotype:
  14389. description: 用户类型 1-个人 2-企业
  14390. type: integer
  14391. username:
  14392. description: 用户名称(userid对应的名称)
  14393. type: string
  14394. type: object
  14395. models.QhjReckonPriceLog:
  14396. properties:
  14397. decimalplace:
  14398. description: 商品报价小数位
  14399. type: integer
  14400. goodscode:
  14401. description: 商品代码
  14402. type: string
  14403. goodsid:
  14404. description: 商品ID
  14405. type: integer
  14406. goodsname:
  14407. description: 商品名称
  14408. type: string
  14409. lastreckonprice:
  14410. description: 上日结算价
  14411. type: number
  14412. nextdnlimitprice:
  14413. description: 下个交易日跌停价
  14414. type: number
  14415. nexttrade:
  14416. description: 下个交易日
  14417. type: string
  14418. nextuplimitprice:
  14419. description: 下个交易日涨停价
  14420. type: number
  14421. reckonprice:
  14422. description: 今日结算价(定投价)
  14423. type: number
  14424. reckontime:
  14425. description: 结算时间
  14426. type: string
  14427. totalholderqty:
  14428. description: 总持仓数
  14429. type: integer
  14430. totalstock:
  14431. description: 总库存
  14432. type: integer
  14433. tradedate:
  14434. description: 交易日
  14435. type: string
  14436. updowncount:
  14437. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14438. type: integer
  14439. updownflag:
  14440. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14441. type: integer
  14442. updownrate:
  14443. description: 今日涨跌幅
  14444. type: number
  14445. updownrate_2d:
  14446. description: 连续两日涨跌幅
  14447. type: number
  14448. updownrate_3d:
  14449. description: 连续三日涨跌幅
  14450. type: number
  14451. type: object
  14452. models.QhjScoreLog:
  14453. properties:
  14454. accountid:
  14455. description: 账户ID
  14456. type: integer
  14457. createtime:
  14458. description: 创建时间(时间)
  14459. type: string
  14460. goodsid:
  14461. description: 商品ID
  14462. type: integer
  14463. hasuploaded:
  14464. description: 是否已同步(千海金) 0:未同步 1;已同步
  14465. type: integer
  14466. logid:
  14467. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14468. type: string
  14469. marketid:
  14470. description: 市场ID
  14471. type: integer
  14472. relatedamount:
  14473. description: 关联金额
  14474. type: number
  14475. relatedorderid:
  14476. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14477. type: string
  14478. scoreconfigvalue1:
  14479. description: 积分配置1
  14480. type: integer
  14481. scoreconfigvalue2:
  14482. description: 积分配置1
  14483. type: integer
  14484. scoretype:
  14485. description: 积分类型 - 1:提货积分
  14486. type: integer
  14487. scorevalue:
  14488. description: 积分
  14489. type: number
  14490. tradedate:
  14491. description: 交易日(yyyyMMdd)
  14492. type: string
  14493. uploadedtime:
  14494. description: 同步时间
  14495. type: string
  14496. userid:
  14497. description: 用户ID
  14498. type: integer
  14499. type: object
  14500. models.QhjSiteColumnDetail:
  14501. properties:
  14502. author:
  14503. description: 作者
  14504. type: string
  14505. brief:
  14506. description: 简介
  14507. type: string
  14508. columnid:
  14509. description: 所属栏目
  14510. type: integer
  14511. context:
  14512. description: 内容
  14513. type: string
  14514. coverimage:
  14515. description: 封面图片
  14516. type: string
  14517. creaedate:
  14518. description: 创建时间
  14519. type: string
  14520. creatorid:
  14521. description: 创建人
  14522. type: integer
  14523. hits:
  14524. description: 点击数
  14525. type: integer
  14526. id:
  14527. description: ID(SEQ_SITE_COLUMNDETAIL)
  14528. type: integer
  14529. isshow:
  14530. description: 是否展示 - 0:不展示 1:展示
  14531. type: integer
  14532. istop:
  14533. description: 是否置顶 - 0:不置 1:置顶
  14534. type: integer
  14535. modifierid:
  14536. description: 操作人
  14537. type: integer
  14538. publishdate:
  14539. description: 发布日期
  14540. type: string
  14541. status:
  14542. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14543. type: integer
  14544. title:
  14545. description: 标题
  14546. type: string
  14547. updatedate:
  14548. description: 修改时间
  14549. type: string
  14550. userid:
  14551. description: 用户ID(默认为0, 核心为为机构用户ID)
  14552. type: integer
  14553. username:
  14554. description: 用户名称
  14555. type: string
  14556. type: object
  14557. models.QhjTeamOrder:
  14558. properties:
  14559. accountid:
  14560. description: 账户ID[报价币种]
  14561. type: integer
  14562. accountname:
  14563. description: 账户名称
  14564. type: string
  14565. agreeunit:
  14566. description: 合约乘数
  14567. type: number
  14568. buyorsell:
  14569. description: 方向 - 0:买 1:卖
  14570. type: integer
  14571. decimalplace:
  14572. description: 报价小数位
  14573. type: integer
  14574. enumdicname:
  14575. description: 单位名称
  14576. type: string
  14577. goodscode:
  14578. description: 商品代码(内部)
  14579. type: string
  14580. goodsid:
  14581. description: 商品ID
  14582. type: integer
  14583. goodsname:
  14584. description: 商品名称
  14585. type: string
  14586. goodunitid:
  14587. description: 报价单位ID
  14588. type: integer
  14589. marketid:
  14590. description: 市场ID
  14591. type: integer
  14592. marketname:
  14593. description: 市场名称
  14594. type: string
  14595. qtydecimalplace:
  14596. description: 成交量小数位
  14597. type: integer
  14598. refereeuserid:
  14599. description: 推荐人ID
  14600. type: integer
  14601. tradeamount:
  14602. description: 成交金额[账户币种,用于所有权]
  14603. type: number
  14604. tradedate:
  14605. description: 交易日(yyyyMMdd)
  14606. type: string
  14607. trademode:
  14608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14609. 21:竞拍-大宗式 22:受托竞价
  14610. type: integer
  14611. tradeprice:
  14612. description: 成交价格
  14613. type: number
  14614. tradeqty:
  14615. description: 成交数量
  14616. type: number
  14617. tradetime:
  14618. description: 成交时间
  14619. type: string
  14620. userid:
  14621. description: 用户ID
  14622. type: integer
  14623. type: object
  14624. models.QhjTradeGoodsPickup:
  14625. properties:
  14626. accountid:
  14627. description: 账户ID
  14628. type: integer
  14629. address:
  14630. description: 提货人详细地址
  14631. type: string
  14632. amount:
  14633. description: 提货金额
  14634. type: number
  14635. artradedate:
  14636. description: 自动收货交易日(yyyyMMdd)
  14637. type: string
  14638. auditer:
  14639. description: 审核人
  14640. type: integer
  14641. auditsrc:
  14642. description: 更新来源 - 1:管理端 2:终端
  14643. type: integer
  14644. audittime:
  14645. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14646. type: string
  14647. audittradedate:
  14648. description: 审核交易日(yyyyMMdd)
  14649. type: string
  14650. cardnum:
  14651. description: 提货人证件号码
  14652. type: string
  14653. cardtypeid:
  14654. description: 提货人证件类型
  14655. type: integer
  14656. checkremark:
  14657. description: 审核备注
  14658. type: string
  14659. cityid:
  14660. description: 市
  14661. type: integer
  14662. cityname:
  14663. description: 城市名称
  14664. type: string
  14665. confirmtime:
  14666. description: 取货时间 或 收货时间
  14667. type: string
  14668. countryid:
  14669. description: 国家
  14670. type: integer
  14671. countryname:
  14672. description: 国家名称
  14673. type: string
  14674. decimalplace:
  14675. description: 商品报价小数位
  14676. type: integer
  14677. districtid:
  14678. description: 地区
  14679. type: integer
  14680. districtname:
  14681. description: 地区名称
  14682. type: string
  14683. enumdicname:
  14684. description: 单位名称(提货商品)
  14685. type: string
  14686. expresscompany:
  14687. description: 物流公司
  14688. type: string
  14689. expressnum:
  14690. description: 物流单号
  14691. type: string
  14692. goodsagreeunit:
  14693. description: 交易商品乘数
  14694. type: number
  14695. goodscode:
  14696. description: 商品代码
  14697. type: string
  14698. goodsid:
  14699. description: 商品ID
  14700. type: integer
  14701. goodsname:
  14702. description: 商品名称
  14703. type: string
  14704. goodsqty:
  14705. description: 交易商品手数(69模式按成交量小数位放大取整)
  14706. type: number
  14707. handlestatus:
  14708. description: 处理状态
  14709. type: integer
  14710. logincode:
  14711. description: 账号(登录代码, 有可能为空)
  14712. type: string
  14713. marketid:
  14714. description: 市场ID
  14715. type: integer
  14716. phonenum:
  14717. description: 提货人联系方式
  14718. type: string
  14719. pickupgoodsagreeunit:
  14720. description: 提货商品合约乘数
  14721. type: number
  14722. pickupgoodsid:
  14723. description: 提货商品ID
  14724. type: string
  14725. pickupgoodsname:
  14726. description: 提货商品名称
  14727. type: string
  14728. pickupgoodsqty:
  14729. description: 提货商品手数(数量)
  14730. type: number
  14731. pickupgoodsunitid:
  14732. description: 单位ID(提货商品)
  14733. type: integer
  14734. pickupratio:
  14735. description: 提货系数
  14736. type: number
  14737. preparedays:
  14738. description: 备货期(天)-提货单明细表
  14739. type: integer
  14740. provinceid:
  14741. description: 省
  14742. type: integer
  14743. provincename:
  14744. description: 省名称
  14745. type: string
  14746. qty:
  14747. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14748. type: number
  14749. qtydecimalplace:
  14750. description: 商品数量小数位
  14751. type: integer
  14752. recivername:
  14753. description: 提货人姓名
  14754. type: string
  14755. reqtime:
  14756. description: 提货申请时间
  14757. type: string
  14758. storeuserid:
  14759. description: 门店用户ID (千海金)
  14760. type: integer
  14761. storeusername:
  14762. description: 门店用户名称
  14763. type: string
  14764. takemode:
  14765. description: 提货方式 - 2:自提 3:配送(邮寄)
  14766. type: integer
  14767. takeorderid:
  14768. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14769. type: string
  14770. takeorderstatus:
  14771. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14772. 7:已拒绝 8:已撤销
  14773. type: integer
  14774. takeremark:
  14775. description: 提货备注
  14776. type: string
  14777. tradedate:
  14778. description: 交易日(yyyyMMdd)
  14779. type: string
  14780. updatetime:
  14781. description: 更新时间
  14782. type: string
  14783. userid:
  14784. description: 用户ID
  14785. type: integer
  14786. userinfotype:
  14787. description: 客户类型 1-个人 2-企业
  14788. type: integer
  14789. username:
  14790. description: 用户名称
  14791. type: string
  14792. type: object
  14793. models.QhjUserNodeCfgAndStatus:
  14794. properties:
  14795. agreementcontent:
  14796. description: 协议内容
  14797. type: string
  14798. agreementid:
  14799. description: 协议ID
  14800. type: integer
  14801. agreementname:
  14802. description: 协议名称
  14803. type: string
  14804. agreementno:
  14805. description: 协议编号
  14806. type: string
  14807. agreementtype:
  14808. description: 协议类型 - 1:注册 2:登录 3:交易
  14809. type: integer
  14810. agreementversion:
  14811. description: 协议版本号
  14812. type: integer
  14813. configid:
  14814. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14815. type: integer
  14816. createtime:
  14817. description: 创建时间
  14818. type: string
  14819. goodsid:
  14820. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14821. type: integer
  14822. nodetype:
  14823. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14824. type: integer
  14825. signtimestamp:
  14826. description: 签约状态时间戳(最近一次)
  14827. type: string
  14828. tradedate:
  14829. description: 签约交易日(yyyyMMdd)
  14830. type: string
  14831. userid:
  14832. description: 客户ID
  14833. type: integer
  14834. type: object
  14835. models.Qhjgoodsex:
  14836. properties:
  14837. canfinance:
  14838. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14839. type: integer
  14840. canregularlybuy:
  14841. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14842. type: integer
  14843. defaulttradeuserid:
  14844. description: 默认交易用户ID
  14845. type: integer
  14846. deliverygoodsid:
  14847. description: 现货品种ID
  14848. type: integer
  14849. goodsid:
  14850. description: 商品ID(自增ID SEQ_GOODS)
  14851. type: integer
  14852. minamount:
  14853. description: 最小购买金额
  14854. type: number
  14855. regularlybuyminamount:
  14856. description: 定投最小金额
  14857. type: number
  14858. regularlybuyminqty:
  14859. description: 定投最小数量
  14860. type: number
  14861. spotgoodsbrandid:
  14862. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14863. type: integer
  14864. visibilityforenterprise:
  14865. description: 企业客户是否可见 - 0:不可见 1:可见
  14866. type: integer
  14867. visibilityforpersonal:
  14868. description: 个人客户是否可见 - 0:不可见 1:可见
  14869. type: integer
  14870. wrstandardid:
  14871. description: 现货商品ID
  14872. type: integer
  14873. type: object
  14874. models.QueryErrorInfosRsp:
  14875. properties:
  14876. description:
  14877. description: 异常描述
  14878. type: string
  14879. errorcode:
  14880. description: 异常代码
  14881. type: string
  14882. errorid:
  14883. description: 异常ID
  14884. type: integer
  14885. modulecode:
  14886. description: 所属模块
  14887. type: string
  14888. operatecode:
  14889. description: 所属操作
  14890. type: string
  14891. rownumber:
  14892. description: 行号
  14893. type: string
  14894. required:
  14895. - errorid
  14896. type: object
  14897. models.QueryHedgeOrderDetailRsp:
  14898. properties:
  14899. accountid:
  14900. description: 账户ID
  14901. type: integer
  14902. buyorsell:
  14903. description: 买卖 - 0:买 1:卖
  14904. type: integer
  14905. cancellogincode:
  14906. description: 撤单人
  14907. type: string
  14908. channelbuildtype:
  14909. description: 开平标志 - 0:无 1:建仓 2:平仓
  14910. type: integer
  14911. channelinnerorderstatus:
  14912. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14913. 9:全部成交
  14914. type: integer
  14915. channeloperatetype:
  14916. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14917. type: integer
  14918. closetype:
  14919. description: 平仓方式 - 0:无 1:平今 2:平昨
  14920. type: integer
  14921. curexchangerate:
  14922. description: 当前汇率
  14923. type: number
  14924. decimalplace:
  14925. description: 商品报价小数位
  14926. type: integer
  14927. exchangefullname:
  14928. description: 外部交易所全称
  14929. type: string
  14930. goodscode:
  14931. description: 商品代码(内部)
  14932. type: string
  14933. goodsid:
  14934. description: 商品ID
  14935. type: integer
  14936. goodsname:
  14937. description: 商品名称
  14938. type: string
  14939. marketid:
  14940. description: 市场ID
  14941. type: integer
  14942. openfreezemargin:
  14943. description: 冻结保证金(冻结交易金额)
  14944. type: number
  14945. orderid:
  14946. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14947. type: string
  14948. orderlogincode:
  14949. description: 委托人
  14950. type: string
  14951. orderprice:
  14952. description: 委托价格(账户)
  14953. type: number
  14954. orderqty:
  14955. description: 委托数量
  14956. type: integer
  14957. ordertime:
  14958. description: 委托时间
  14959. type: string
  14960. pricemode:
  14961. description: '取价方式 - 1:市价 2: 限价'
  14962. type: integer
  14963. tradedate:
  14964. description: 交易日(yyyyMMdd)
  14965. type: string
  14966. tradeqty:
  14967. description: 成交数量
  14968. type: integer
  14969. type: object
  14970. models.QueryHedgeTradeDetailRsp:
  14971. properties:
  14972. accountid:
  14973. description: 账号ID
  14974. type: integer
  14975. buyorsell:
  14976. description: 方向 - 0:买 1:卖
  14977. type: integer
  14978. channelbuildtype:
  14979. description: 委托单据类型 0:无 1:建仓 2:平仓
  14980. type: integer
  14981. closecharge:
  14982. description: 平仓手续费(账户)
  14983. type: number
  14984. closecharge2:
  14985. description: 平仓手续费(商品)
  14986. type: number
  14987. closepl:
  14988. description: 平仓盈亏(账户)
  14989. type: number
  14990. closepl2:
  14991. description: 平仓盈亏(商品)
  14992. type: number
  14993. closepl3:
  14994. description: 平仓盈亏(账户)(逐笔)
  14995. type: number
  14996. closepl4:
  14997. description: 平仓盈亏(商品)(逐笔)
  14998. type: number
  14999. closetype:
  15000. description: 平仓方式 - 0:无 1:平今 2:平昨
  15001. type: integer
  15002. curexchangerate:
  15003. description: 当前汇率
  15004. type: number
  15005. decimalplace:
  15006. description: 商品报价小数位
  15007. type: integer
  15008. exchangefullname:
  15009. description: 外部交易所全称
  15010. type: string
  15011. goodscode:
  15012. description: 商品代码(内部)
  15013. type: string
  15014. goodsid:
  15015. description: 商品ID
  15016. type: integer
  15017. goodsname:
  15018. description: 商品名称
  15019. type: string
  15020. marketid:
  15021. description: 市场ID
  15022. type: integer
  15023. opencharge:
  15024. description: 建仓手续费(账户)
  15025. type: number
  15026. opencharge2:
  15027. description: 建仓手续费(商品)
  15028. type: number
  15029. orderid:
  15030. description: 委托单号
  15031. type: string
  15032. orderlogincode:
  15033. description: 委托人
  15034. type: string
  15035. tradeamount:
  15036. description: 成交金额(账户)
  15037. type: number
  15038. tradedate:
  15039. description: 交易日(yyyyMMdd)
  15040. type: string
  15041. tradeid:
  15042. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15043. type: string
  15044. tradeprice:
  15045. description: 成交价格
  15046. type: number
  15047. tradeqty:
  15048. description: 成交数量
  15049. type: integer
  15050. tradetime:
  15051. description: 成交时间
  15052. type: string
  15053. tradetype:
  15054. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15055. type: integer
  15056. type: object
  15057. models.QuotePrimaryMenu:
  15058. properties:
  15059. Index:
  15060. description: 序号
  15061. type: integer
  15062. Key:
  15063. description: 键名
  15064. type: string
  15065. Name:
  15066. description: 菜单名称
  15067. type: string
  15068. SubMenus:
  15069. description: 子菜单
  15070. items:
  15071. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15072. type: array
  15073. SubTitleType:
  15074. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15075. type: integer
  15076. TradeModes:
  15077. description: 包含市场交易类型
  15078. type: string
  15079. type: object
  15080. models.QuoteSecondaryMenu:
  15081. properties:
  15082. ExExchangeCode:
  15083. description: 外部交易所代码
  15084. type: string
  15085. ExExchangeID:
  15086. description: 外部交易所ID
  15087. type: integer
  15088. GoodsGroupIDs:
  15089. description: 商品组ID列表
  15090. items:
  15091. type: integer
  15092. type: array
  15093. Index:
  15094. description: 序号
  15095. type: integer
  15096. MarketID:
  15097. description: 市场ID
  15098. type: integer
  15099. MenuTitle:
  15100. description: 菜单标题(市场名称或外部交易所名称)
  15101. type: string
  15102. TradeMode:
  15103. description: 交易模式
  15104. type: integer
  15105. type: object
  15106. models.RelatedTaAccount:
  15107. properties:
  15108. accountid:
  15109. description: 资金账户ID
  15110. type: integer
  15111. type: object
  15112. models.RoleMenu:
  15113. properties:
  15114. hasright:
  15115. description: 是否有权限 0-没有权限 1-有权限
  15116. type: integer
  15117. iconame:
  15118. description: 菜单图标
  15119. type: string
  15120. menutype:
  15121. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15122. type: integer
  15123. parentcode:
  15124. description: 上级资源代码
  15125. type: string
  15126. remark:
  15127. description: 菜单备注
  15128. type: string
  15129. resourcecode:
  15130. description: 菜单代码
  15131. type: string
  15132. resourcelevel:
  15133. description: 级别
  15134. type: integer
  15135. resourcename:
  15136. description: 菜单名称
  15137. type: string
  15138. roleid:
  15139. description: 角色id
  15140. type: integer
  15141. sort:
  15142. description: 排序
  15143. type: integer
  15144. subMenu:
  15145. description: 子级菜单(结构同上层一样, swag解析不出来)
  15146. items:
  15147. $ref: '#/definitions/models.RoleMenu'
  15148. type: array
  15149. url:
  15150. description: URL
  15151. type: string
  15152. userid:
  15153. description: 用户id
  15154. type: integer
  15155. type: object
  15156. models.SearchGoods:
  15157. properties:
  15158. goodscode:
  15159. description: 商品代码(内部)
  15160. type: string
  15161. goodsid:
  15162. description: 商品ID(自增ID SEQ_GOODS)
  15163. type: integer
  15164. goodsname:
  15165. description: 商品名称
  15166. type: string
  15167. marketid:
  15168. description: 所属市场ID
  15169. type: integer
  15170. marketname:
  15171. description: 市场名称
  15172. type: string
  15173. trademode:
  15174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15175. 21:竞拍-大宗式 22:受托竞价
  15176. type: integer
  15177. required:
  15178. - goodscode
  15179. - goodsid
  15180. - goodsname
  15181. - marketid
  15182. - trademode
  15183. type: object
  15184. models.SellOrder:
  15185. properties:
  15186. accountid:
  15187. description: 资金账号
  15188. type: integer
  15189. applyid:
  15190. description: 申请单ID
  15191. type: integer
  15192. attachment1:
  15193. description: 附件1
  15194. type: string
  15195. attachment2:
  15196. description: 附件2
  15197. type: string
  15198. buyorsell:
  15199. description: 买卖 - 0:买 1:卖
  15200. type: integer
  15201. canbargain:
  15202. description: 是否可议价 - 0:不可 1:可
  15203. type: integer
  15204. cancelqty:
  15205. description: 撤销数量
  15206. type: integer
  15207. canceltime:
  15208. description: 撤销时间
  15209. type: string
  15210. cerno:
  15211. type: string
  15212. chargealgorithm:
  15213. description: 手续费收取方式 1:比率 2:固定
  15214. type: integer
  15215. chargealgorithmvalue:
  15216. description: 手续费设置值(交易所部分)
  15217. type: number
  15218. chargealgorithmvalue2:
  15219. description: 手续费设置值(会员部分)
  15220. type: number
  15221. clientordertime:
  15222. description: 客户端委托时间
  15223. type: string
  15224. cpcertno:
  15225. type: string
  15226. exchangerate:
  15227. description: 汇率[67]
  15228. type: number
  15229. firstratio:
  15230. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15231. type: number
  15232. fixedprice:
  15233. description: '[克拉单价]固定价格 - [挂牌]'
  15234. type: number
  15235. freezecharge:
  15236. description: 冻结手续费
  15237. type: number
  15238. freezefirstamount:
  15239. description: 冻结首付金额 - [摘牌]
  15240. type: number
  15241. freezemargin:
  15242. description: 冻结保证金
  15243. type: number
  15244. goodsno:
  15245. description: 商品编号
  15246. type: string
  15247. imagepath:
  15248. type: string
  15249. isQueryDiamond:
  15250. description: 是否钻石查询
  15251. type: boolean
  15252. isspecified:
  15253. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15254. type: integer
  15255. kppath:
  15256. type: string
  15257. kpweight:
  15258. type: string
  15259. marginalgorithm:
  15260. description: 保证金方式 - 1:比率 2:固定
  15261. type: integer
  15262. marginvalue:
  15263. description: 保证金设置值
  15264. type: number
  15265. marketid:
  15266. description: 市场ID
  15267. type: integer
  15268. marketprice:
  15269. type: string
  15270. orderamount:
  15271. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15272. type: number
  15273. ordertime:
  15274. description: 委托时间
  15275. type: string
  15276. performancetemplateid:
  15277. description: 履约计划模板ID
  15278. type: integer
  15279. price:
  15280. description: 价格
  15281. type: number
  15282. pricefactor:
  15283. description: 价格系数(浮动价时填写) - [挂牌]
  15284. type: number
  15285. pricemove:
  15286. description: 升贴水(浮动价时填写) - [挂牌]
  15287. type: number
  15288. priceper:
  15289. type: string
  15290. relatedwrtradeorderid:
  15291. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15292. type: integer
  15293. remainqty:
  15294. description: 剩余重量
  15295. type: number
  15296. remark:
  15297. type: string
  15298. retcode:
  15299. description: 错误代码
  15300. type: integer
  15301. sellusername:
  15302. description: 卖方(查询字段-模糊查询)
  15303. type: string
  15304. settingmaterial:
  15305. type: string
  15306. size1:
  15307. type: string
  15308. size2:
  15309. type: string
  15310. size3:
  15311. type: string
  15312. sizedisplay:
  15313. description: 尺寸
  15314. type: string
  15315. stonedesc:
  15316. type: string
  15317. totalqty:
  15318. description: 总重量
  15319. type: number
  15320. tradedate:
  15321. description: 交易日(yyyyMMdd)
  15322. type: string
  15323. tradeprice:
  15324. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15325. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15326. type: number
  15327. unfreezecharge:
  15328. description: 解冻手续费
  15329. type: number
  15330. unfreezefirstamount:
  15331. description: 解冻首付金额 - [摘牌]
  15332. type: number
  15333. unfreezemargin:
  15334. description: 解冻保证金
  15335. type: number
  15336. userid:
  15337. description: 用户ID
  15338. type: integer
  15339. uuid:
  15340. description: 发起端唯一id
  15341. type: string
  15342. validtime:
  15343. description: 有效期限
  15344. type: string
  15345. validtype:
  15346. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15347. type: integer
  15348. warehousenamedisplay:
  15349. type: string
  15350. wrbargainid:
  15351. description: 议价申请单ID
  15352. type: integer
  15353. wrfactortypeid:
  15354. description: 仓单要素类型ID/商品ID(77)
  15355. type: integer
  15356. wrpath:
  15357. type: string
  15358. wrpricetype:
  15359. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15360. type: integer
  15361. wrstandardid:
  15362. description: 现货商品ID
  15363. type: integer
  15364. wrtradeorderid:
  15365. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15366. type: string
  15367. wrtradeorderstatus:
  15368. 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:撤单解冻贷款失败
  15369. type: integer
  15370. wrtradetype:
  15371. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15372. type: integer
  15373. wrtransferuserid:
  15374. description: 仓单受让用户 - [摘牌]
  15375. type: integer
  15376. zscategory:
  15377. description: 钻石分类 - 枚举”ZSCategory“
  15378. type: integer
  15379. zscategorydisplay:
  15380. description: 钻石分类 - 描述
  15381. type: string
  15382. zscerttypedisplay:
  15383. type: string
  15384. zsclaritytype1display:
  15385. type: string
  15386. zsclaritytype2display:
  15387. type: string
  15388. zscolortype1display:
  15389. type: string
  15390. zscolortype2display:
  15391. type: string
  15392. zscrystaltype:
  15393. type: string
  15394. zscrystaltypedisplay:
  15395. type: string
  15396. zscurrencytype:
  15397. description: 货币类型 - 枚举“ZSCurrencyType”
  15398. type: integer
  15399. zscurrencytypedisplay:
  15400. type: string
  15401. zscurrencytypedisplayunit:
  15402. type: string
  15403. zscuttype1display:
  15404. type: string
  15405. zscuttype2display:
  15406. type: string
  15407. zsczcolor1typedisplay:
  15408. type: string
  15409. zsczcolor2typedisplay:
  15410. type: string
  15411. zsczcolor3typedisplay:
  15412. type: string
  15413. zsfluorescencetype1display:
  15414. type: string
  15415. zsfluorescencetype2display:
  15416. type: string
  15417. zspolishtype1display:
  15418. type: string
  15419. zspolishtype2display:
  15420. type: string
  15421. zsshapetypedisplay:
  15422. type: string
  15423. zsstyletypedisplay:
  15424. type: string
  15425. zssymmetrytype1display:
  15426. type: string
  15427. zssymmetrytype2display:
  15428. type: string
  15429. type: object
  15430. models.SellOrderQueryReq:
  15431. properties:
  15432. origin:
  15433. description: 原产地
  15434. type: string
  15435. page:
  15436. description: 页码
  15437. type: integer
  15438. pagesize:
  15439. description: 每页大小
  15440. type: integer
  15441. total:
  15442. description: 总条数
  15443. type: integer
  15444. warehouseid:
  15445. description: 仓库ID
  15446. type: integer
  15447. weight1:
  15448. description: 总重量(克拉重量)-从
  15449. type: number
  15450. weight2:
  15451. description: 总重量(克拉重量)-至
  15452. type: number
  15453. weightavg1:
  15454. description: 平均单颗重量-从
  15455. type: number
  15456. weightavg2:
  15457. description: 平均单颗重量-至
  15458. type: number
  15459. zscategory:
  15460. description: 钻石分类 - 枚举”ZSCategory“
  15461. type: integer
  15462. zscerttype:
  15463. description: 证书类型
  15464. items:
  15465. type: string
  15466. type: array
  15467. zsclaritytype:
  15468. description: 净度
  15469. items:
  15470. type: integer
  15471. type: array
  15472. zscolortype:
  15473. description: 颜色
  15474. items:
  15475. type: integer
  15476. type: array
  15477. zscurrencytype:
  15478. description: 货币类型 - 枚举“ZSCurrencyType”
  15479. items:
  15480. type: string
  15481. type: array
  15482. zscuttype:
  15483. description: 切工
  15484. items:
  15485. type: integer
  15486. type: array
  15487. zsczcolor1type:
  15488. description: 彩钻颜色1
  15489. items:
  15490. type: string
  15491. type: array
  15492. zsfluorescencetype:
  15493. description: 荧光
  15494. items:
  15495. type: integer
  15496. type: array
  15497. zspolishtype:
  15498. description: 抛光度
  15499. items:
  15500. type: integer
  15501. type: array
  15502. zsshapetype:
  15503. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15504. items:
  15505. type: string
  15506. type: array
  15507. zsstyletype:
  15508. description: 款式
  15509. items:
  15510. type: string
  15511. type: array
  15512. zssymmetrytype:
  15513. description: 对称度
  15514. items:
  15515. type: integer
  15516. type: array
  15517. required:
  15518. - zscategory
  15519. type: object
  15520. models.Systemparam:
  15521. properties:
  15522. loginid:
  15523. description: 更新用户账号,登录账号
  15524. type: string
  15525. modifyflag:
  15526. description: 修改标志0 不允许修改 1 允许修改
  15527. type: integer
  15528. paramcode:
  15529. description: 参数代码
  15530. type: string
  15531. paramname:
  15532. description: 参数名
  15533. type: string
  15534. paramtype:
  15535. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15536. type: integer
  15537. paramvalue:
  15538. description: 参数值
  15539. type: string
  15540. paramvalue2:
  15541. description: 参数值(CLOB)
  15542. type: string
  15543. regexpress:
  15544. description: 正则表达式
  15545. type: string
  15546. remark:
  15547. description: 备注
  15548. type: string
  15549. serverip:
  15550. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15551. type: string
  15552. showflag:
  15553. description: 是否显示0 不显示 1 显示
  15554. type: integer
  15555. updatetime:
  15556. description: 更新时间
  15557. type: string
  15558. userid:
  15559. description: 更新用户ID
  15560. type: integer
  15561. required:
  15562. - paramcode
  15563. type: object
  15564. models.Szdz3convertconfig:
  15565. properties:
  15566. canin:
  15567. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15568. type: integer
  15569. canout:
  15570. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15571. type: integer
  15572. converttype:
  15573. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15574. 6:交易转花生米(不设置)
  15575. type: integer
  15576. createtime:
  15577. description: 创建时间
  15578. type: string
  15579. creatorid:
  15580. description: 创建人
  15581. type: integer
  15582. daymaxvalue:
  15583. description: 当日最大转入限制
  15584. type: number
  15585. freezedays:
  15586. description: 冻结天数 [5:花生米转交易]
  15587. type: integer
  15588. innergoodsid:
  15589. description: 内部商品ID[交易]
  15590. type: integer
  15591. inratio:
  15592. description: 目标值
  15593. type: integer
  15594. modifierid:
  15595. description: 修改人
  15596. type: integer
  15597. modifytime:
  15598. description: 修改时间
  15599. type: string
  15600. outergoodscode:
  15601. description: 外部商品代码[JD\PD]
  15602. type: string
  15603. outratio:
  15604. description: 源值
  15605. type: integer
  15606. pddecimalplace:
  15607. description: PD小数位
  15608. type: integer
  15609. timemaxvalue:
  15610. description: 单次最大转入限制
  15611. type: number
  15612. timeminvalue:
  15613. description: 单次最小转入限制
  15614. type: number
  15615. required:
  15616. - converttype
  15617. - innergoodsid
  15618. - outergoodscode
  15619. type: object
  15620. models.Szdz3searchwhitelist:
  15621. properties:
  15622. createtime:
  15623. description: 创建时间
  15624. type: string
  15625. creatorid:
  15626. description: 创建人
  15627. type: integer
  15628. modifierid:
  15629. description: 修改人
  15630. type: integer
  15631. modifytime:
  15632. description: 修改时间
  15633. type: string
  15634. userid:
  15635. description: 用户ID
  15636. type: integer
  15637. required:
  15638. - userid
  15639. type: object
  15640. models.TBGoods:
  15641. properties:
  15642. agreeunit:
  15643. description: 合约乘数
  15644. type: number
  15645. enumdicname:
  15646. description: 单位名称
  15647. type: string
  15648. goodscode:
  15649. description: 商品代码(内部)
  15650. type: string
  15651. goodsid:
  15652. description: 商品ID(自增ID SEQ_GOODS)
  15653. type: integer
  15654. goodsname:
  15655. description: 商品名称
  15656. type: string
  15657. type: object
  15658. models.TBGoodsGroup:
  15659. properties:
  15660. GDLST:
  15661. description: 商品列表
  15662. items:
  15663. $ref: '#/definitions/models.TBGoods'
  15664. type: array
  15665. convertratio:
  15666. description: 折算系数
  15667. type: number
  15668. enumdicname:
  15669. description: 单位名称
  15670. type: string
  15671. exexchangecode:
  15672. description: 交易所代码
  15673. type: string
  15674. exexchangename:
  15675. description: 交易所名称
  15676. type: string
  15677. goodsgroupid:
  15678. description: 商品组ID(自增ID)
  15679. type: integer
  15680. goodsgroupname:
  15681. description: 商品组名称
  15682. type: string
  15683. goodunitid:
  15684. description: 报价单位ID
  15685. type: integer
  15686. type: object
  15687. models.TBMiddleGoods:
  15688. properties:
  15689. GPLST:
  15690. description: 期货品种列表
  15691. items:
  15692. $ref: '#/definitions/models.TBGoodsGroup'
  15693. type: array
  15694. WDLST:
  15695. description: 商品信息列表(现货品类)
  15696. items:
  15697. $ref: '#/definitions/models.TBWrstandard'
  15698. type: array
  15699. areauserid:
  15700. description: 机构用户ID
  15701. type: integer
  15702. enumdicname:
  15703. description: 单位名称
  15704. type: string
  15705. goodsunitid:
  15706. description: 套保品种单位id
  15707. type: integer
  15708. middlegoodscode:
  15709. description: 套保品种代码
  15710. type: string
  15711. middlegoodsid:
  15712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15713. type: integer
  15714. middlegoodsname:
  15715. description: 套保品种名称
  15716. type: string
  15717. needarbitrageratio:
  15718. description: 套利比率
  15719. type: number
  15720. needhedgeratio:
  15721. description: 套保比率
  15722. type: number
  15723. type: object
  15724. models.TBWrstandard:
  15725. properties:
  15726. convertratio:
  15727. description: 折算系数
  15728. type: number
  15729. deliverygoodsname:
  15730. description: 品种名称
  15731. type: string
  15732. enumdicname:
  15733. description: 单位名称
  15734. type: string
  15735. vatrate:
  15736. description: 增值税率
  15737. type: number
  15738. wrstandardcode:
  15739. description: 现货商品代码
  15740. type: string
  15741. wrstandardid:
  15742. description: 现货商品ID(SEQ_WRSTANDARD)
  15743. type: integer
  15744. wrstandardname:
  15745. description: 现货商品名称
  15746. type: string
  15747. type: object
  15748. models.Taaccount:
  15749. properties:
  15750. accountflag:
  15751. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15752. type: integer
  15753. accountid:
  15754. description: 资金账户ID
  15755. type: integer
  15756. accountname:
  15757. description: 账户名称
  15758. type: string
  15759. balance:
  15760. description: 期初余额
  15761. type: number
  15762. capitalbalance:
  15763. description: 本金余额[外部子账户实际出入金余额]
  15764. type: number
  15765. changeflag:
  15766. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15767. type: integer
  15768. changetime:
  15769. description: 账户状态变更时间
  15770. type: string
  15771. closepl:
  15772. description: 今日平仓盈亏
  15773. type: number
  15774. creditdecrease:
  15775. description: 今日授信减少
  15776. type: number
  15777. creditincrease:
  15778. description: 今日授信增加
  15779. type: number
  15780. curamount:
  15781. description: 总市值(从持仓中统计)
  15782. type: number
  15783. currencyid:
  15784. description: 货币ID
  15785. type: integer
  15786. currentbalance:
  15787. description: 期末余额
  15788. type: number
  15789. freezecharge:
  15790. description: 手续费冻结
  15791. type: number
  15792. freezemargin:
  15793. description: 冻结保证金
  15794. type: number
  15795. fromaccountid:
  15796. description: 所属上级账户
  15797. type: integer
  15798. inamount:
  15799. description: 今日入金金额(包括三方入金)
  15800. type: number
  15801. ismain:
  15802. description: 是否母账号 0:不是母账户 1:是母账户
  15803. type: integer
  15804. ismarketaccount:
  15805. description: 是否机构接单账号 0:不是 1:是
  15806. type: integer
  15807. isreckonaccount:
  15808. description: 是否机构分润账号 0:不是 1:是
  15809. type: integer
  15810. mortgagecredit:
  15811. description: 授信金额
  15812. type: number
  15813. orifreezecharge:
  15814. description: 期初手续费冻结
  15815. type: number
  15816. orifreezemargin:
  15817. description: 期初冻结保证金
  15818. type: number
  15819. orimortgagecredit:
  15820. description: 期初授信金额
  15821. type: number
  15822. oriothercredit:
  15823. description: 期初其它授信金额
  15824. type: number
  15825. oriotherfreezemargin:
  15826. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15827. type: number
  15828. orioutamountfreeze:
  15829. description: 期初出金冻结
  15830. type: number
  15831. oriusedmargin:
  15832. description: 期初占用保证金
  15833. type: number
  15834. othercredit:
  15835. description: 其它授信金额
  15836. type: number
  15837. othercreditdecrease:
  15838. description: 今日其它授信减少
  15839. type: number
  15840. othercreditincrease:
  15841. description: 今日其它授信增加
  15842. type: number
  15843. otherfreezemargin:
  15844. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15845. type: number
  15846. otherincome:
  15847. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15848. type: number
  15849. otherpay:
  15850. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15851. type: number
  15852. outamount:
  15853. description: 今日出金金额(包括三方出金)
  15854. type: number
  15855. outamountfreeze:
  15856. description: 出金冻结
  15857. type: number
  15858. outthreshold:
  15859. description: 出金阈值
  15860. type: number
  15861. parentaccountid:
  15862. description: 所属根账号
  15863. type: integer
  15864. paycharge:
  15865. description: 今日手续费支出
  15866. type: number
  15867. relatedaccountstatus:
  15868. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15869. type: integer
  15870. relateduserid:
  15871. description: 关联用户
  15872. type: integer
  15873. remainamount:
  15874. description: 融资额(从融资合同中统计)
  15875. type: number
  15876. serivcegroup:
  15877. description: 服务分组
  15878. type: integer
  15879. signstatus:
  15880. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15881. type: integer
  15882. sublevelpath:
  15883. description: 账号层级路径(逗号分隔,首尾加逗号)
  15884. type: string
  15885. taaccounttype:
  15886. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15887. type: integer
  15888. thirdinamount:
  15889. description: 今日三方入金
  15890. type: number
  15891. thirdoutamount:
  15892. description: 今日三方出金
  15893. type: number
  15894. tradestatus:
  15895. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15896. type: integer
  15897. tradestatuschangetime:
  15898. description: 激活时间
  15899. type: string
  15900. transferamount:
  15901. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15902. type: number
  15903. usedmargin:
  15904. description: 占用保证金
  15905. type: number
  15906. userid:
  15907. description: 用户ID
  15908. type: integer
  15909. required:
  15910. - accountid
  15911. - userid
  15912. type: object
  15913. models.Tablecolumnconfig:
  15914. properties:
  15915. aligntype:
  15916. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15917. type: integer
  15918. autoid:
  15919. description: AutoID
  15920. type: integer
  15921. columnfield:
  15922. description: 列字段
  15923. type: string
  15924. columntitle:
  15925. description: 列Title
  15926. type: string
  15927. columnwidth:
  15928. description: 列宽
  15929. type: string
  15930. fixed:
  15931. description: 固定类型 - 空 | left | right
  15932. type: string
  15933. formatterstring:
  15934. description: 格式化字符
  15935. type: string
  15936. formattertype:
  15937. description: 格式化类型
  15938. type: string
  15939. groupname:
  15940. description: 表头分组名称
  15941. type: string
  15942. ismerge:
  15943. description: 是否合并显示 - 0:不合并 1:合并
  15944. type: integer
  15945. isshow:
  15946. description: 是否显示 - 0:不显示 1:显示
  15947. type: integer
  15948. needsummary:
  15949. description: 是否需要汇总 - 0:不需要 1:需要
  15950. type: integer
  15951. orderindex:
  15952. description: 顺序
  15953. type: integer
  15954. remark:
  15955. description: 备注
  15956. type: string
  15957. summarytype:
  15958. description: 汇总类型 - 1:加总 2:最后一个
  15959. type: integer
  15960. tablekey:
  15961. description: 列表Key
  15962. type: string
  15963. required:
  15964. - autoid
  15965. type: object
  15966. models.TjmdHolderDetailTradeInfo:
  15967. properties:
  15968. agreeunit:
  15969. description: 合约乘数
  15970. type: number
  15971. buyaccountid:
  15972. description: 买方账户
  15973. type: string
  15974. buyusername:
  15975. description: 买方
  15976. type: string
  15977. delistingdate:
  15978. description: 最后结算日
  15979. type: string
  15980. expiredate:
  15981. description: 到期结算价定价日
  15982. type: string
  15983. exprieprice:
  15984. description: 到期清算价格
  15985. type: string
  15986. goodscode:
  15987. description: 商品代码
  15988. type: string
  15989. goodsid:
  15990. description: 商品ID
  15991. type: integer
  15992. goodsname:
  15993. description: 商品名称(交易标的)
  15994. type: string
  15995. lasttradedate:
  15996. description: 最后交易日
  15997. type: string
  15998. listingdate:
  15999. description: 开始交易日
  16000. type: string
  16001. openprice:
  16002. description: 成交价
  16003. type: number
  16004. openqty:
  16005. description: 交易数量
  16006. type: integer
  16007. sellaccountid:
  16008. description: 卖方账户
  16009. type: string
  16010. sellusername:
  16011. description: 卖方
  16012. type: string
  16013. tradeamount:
  16014. description: 初始名义价值
  16015. type: number
  16016. tradedate:
  16017. description: 成交日期
  16018. type: string
  16019. tradeid:
  16020. description: 成交编号
  16021. type: string
  16022. type: object
  16023. models.TjmdMarketSection:
  16024. properties:
  16025. marketsectionid:
  16026. description: 市场版块ID(SEQ_MARKETSECTION)
  16027. type: integer
  16028. marketsectionname:
  16029. description: 市场版块名称
  16030. type: string
  16031. mlist:
  16032. description: 市场列表(板块下面有多少个市场)
  16033. items:
  16034. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16035. type: array
  16036. orderindex:
  16037. description: 排序
  16038. type: integer
  16039. pictureurl:
  16040. description: 图片url, 规格(90*90)
  16041. type: string
  16042. remark:
  16043. description: 备注
  16044. type: string
  16045. type: object
  16046. models.TjmdMarketSectionConfig:
  16047. properties:
  16048. auctionwrtype:
  16049. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16050. type: integer
  16051. canacceptquote:
  16052. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16053. type: integer
  16054. cangoodsexercise:
  16055. description: '[期权]是否可现货行权- 0:否 1:是'
  16056. type: integer
  16057. cangoodsexercisetype:
  16058. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16059. type: integer
  16060. canmanualquotestrike:
  16061. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16062. type: integer
  16063. canmutistage:
  16064. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16065. type: integer
  16066. canpreexercise:
  16067. description: '[期权]是否可预申报- 0:否 1:是'
  16068. type: integer
  16069. clearinterval:
  16070. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16071. type: integer
  16072. contracttmp:
  16073. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16074. type: string
  16075. exchareaid:
  16076. description: 所属交易所,可以没有
  16077. type: integer
  16078. financemarketid:
  16079. description: 融资回购市场ID [仓单贸易]
  16080. type: integer
  16081. goodstype:
  16082. description: 商品类型 - 1:交易商品 2:仓单商品
  16083. type: integer
  16084. hasrebate:
  16085. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16086. type: integer
  16087. hastradecredit:
  16088. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16089. type: integer
  16090. haswr:
  16091. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16092. type: integer
  16093. isdeductmargin:
  16094. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16095. type: integer
  16096. isrecordsource:
  16097. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16098. type: integer
  16099. isreleasemargin:
  16100. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16101. type: integer
  16102. isupdatereckonprice:
  16103. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16104. type: integer
  16105. listingmode:
  16106. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16107. type: integer
  16108. marginformula:
  16109. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16110. type: integer
  16111. marginformula2:
  16112. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16113. type: integer
  16114. marketid:
  16115. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16116. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16117. type: integer
  16118. marketname:
  16119. description: 市场名称
  16120. type: string
  16121. marketsectionid:
  16122. description: 市场版块ID(SEQ_MARKETSECTION)
  16123. type: integer
  16124. marketserviceid:
  16125. description: 市场服务ID
  16126. type: integer
  16127. marketstatus:
  16128. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16129. type: integer
  16130. markettype:
  16131. description: 市场类型- 1:非交易服务 2:交易服务
  16132. type: integer
  16133. matchermode:
  16134. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16135. type: integer
  16136. nowrquotaflag:
  16137. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16138. type: integer
  16139. openmethod:
  16140. description: 开盘模式 - 0 自动 1手动
  16141. type: integer
  16142. orderindex:
  16143. description: 排序
  16144. type: integer
  16145. otcuserid:
  16146. description: 场外期权做市商[场外期权]
  16147. type: integer
  16148. outersynctime:
  16149. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16150. type: string
  16151. paylaterflag:
  16152. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16153. type: integer
  16154. pendingflag:
  16155. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16156. type: integer
  16157. pendingtime:
  16158. description: 待开市时间[通道交易-对冲](HH:mm)
  16159. type: string
  16160. performancetempid:
  16161. description: 履约计划模板ID - 作废
  16162. type: integer
  16163. premiumquotemode:
  16164. description: 权利金报价方式 - 1:自动 2:手动
  16165. type: integer
  16166. rebateratio:
  16167. description: 返利比率[竞价式]
  16168. type: number
  16169. reckonorder:
  16170. description: 结算顺序
  16171. type: integer
  16172. reckonpricealgorithm:
  16173. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16174. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16175. type: integer
  16176. reckonpriceparam:
  16177. description: 结算价参数
  16178. type: integer
  16179. reckontime:
  16180. description: 结算时间[通道交易-对冲](HH:mm)
  16181. type: string
  16182. roleprioritytype:
  16183. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16184. type: integer
  16185. selllistingauditflag:
  16186. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16187. type: integer
  16188. trademarkettype:
  16189. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16190. type: integer
  16191. trademode:
  16192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16193. 21:竞拍-大宗式 22:受托竞价
  16194. type: integer
  16195. tradeproperty:
  16196. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16197. 8:场外期权
  16198. type: integer
  16199. tradetype:
  16200. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16201. type: integer
  16202. updatereckonpriceinterval:
  16203. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16204. type: integer
  16205. type: object
  16206. models.TjmdQuoteGoods:
  16207. properties:
  16208. buyqty:
  16209. description: 买量(暂不做, 无值, 保留字段)
  16210. type: number
  16211. decimalplace:
  16212. description: 报价小数位
  16213. type: integer
  16214. goodscode:
  16215. description: 合约代码
  16216. type: string
  16217. goodsgroupid:
  16218. description: 商品组ID(自增ID)
  16219. type: integer
  16220. goodsgroupname:
  16221. description: 商品组名称
  16222. type: string
  16223. goodsid:
  16224. description: 合约id
  16225. type: integer
  16226. goodsname:
  16227. description: 合约名称
  16228. type: string
  16229. refgoodscode:
  16230. description: 标的合约代码
  16231. type: string
  16232. refgoodsid:
  16233. description: 标的合约id
  16234. type: integer
  16235. refgoodsname:
  16236. description: 标的合约名称
  16237. type: string
  16238. sellqty:
  16239. description: 卖量(暂不做, 无值, 保留字段)
  16240. type: number
  16241. type: object
  16242. models.TjmdTodayAccountMargin:
  16243. properties:
  16244. accountid:
  16245. description: 账号ID
  16246. type: integer
  16247. goodsid:
  16248. description: 商品ID
  16249. type: integer
  16250. infoc:
  16251. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16252. description: 配置参数
  16253. marketid:
  16254. description: 市场ID
  16255. type: integer
  16256. type: object
  16257. models.TjmdTradeOrderDetail:
  16258. properties:
  16259. buyorsell:
  16260. description: 买卖方向 0-买 1-卖
  16261. type: integer
  16262. goodsid:
  16263. description: 商品id
  16264. type: integer
  16265. marketmaxsub:
  16266. description: 市价最大偏移范围 [浮动价 - 点差]
  16267. type: number
  16268. orderid:
  16269. description: 委托单号
  16270. type: string
  16271. orderprice:
  16272. description: 期初均价
  16273. type: number
  16274. orderqty:
  16275. description: 委托数量
  16276. type: integer
  16277. pricemode:
  16278. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16279. type: integer
  16280. userid:
  16281. description: 用户id
  16282. type: integer
  16283. username:
  16284. description: 用户名称(已脱敏)
  16285. type: string
  16286. type: object
  16287. models.TjmdTransferApply:
  16288. properties:
  16289. applyid:
  16290. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16291. type: integer
  16292. applystatus:
  16293. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16294. type: integer
  16295. applytime:
  16296. description: 申请时间(时间)
  16297. type: string
  16298. auditremark:
  16299. description: 审核备注(拒绝原因?)
  16300. type: string
  16301. begindate:
  16302. description: 开始交易日(yyyymmdd)
  16303. type: string
  16304. buyorsell:
  16305. description: 买卖 - 0:买 1:卖
  16306. type: integer
  16307. enddate:
  16308. description: 结束交易日(yyyymmdd)
  16309. type: string
  16310. goodscode:
  16311. description: 商品代码
  16312. type: string
  16313. goodsid:
  16314. description: 商品ID
  16315. type: integer
  16316. goodsname:
  16317. description: 商品名称
  16318. type: string
  16319. marketid:
  16320. description: 市场ID
  16321. type: integer
  16322. qty:
  16323. description: 期初均价
  16324. type: number
  16325. tradeid:
  16326. description: 成交单号(关联持仓)
  16327. type: string
  16328. transferamount:
  16329. description: 转让总金额(金额)
  16330. type: number
  16331. transferprice:
  16332. description: 转让价格(协议价格)
  16333. type: number
  16334. type: object
  16335. models.TradeHolderDetail:
  16336. properties:
  16337. accountid:
  16338. description: 账号ID
  16339. type: integer
  16340. agreeunit:
  16341. description: 合约乘数
  16342. type: number
  16343. buyorsell:
  16344. description: 方向 - 0:买 1:卖
  16345. type: integer
  16346. currencyid:
  16347. description: 商品币种id
  16348. type: integer
  16349. currencyname:
  16350. description: 币种名称
  16351. type: string
  16352. decimalplace:
  16353. description: 商品价格小数位
  16354. type: integer
  16355. enumdicname:
  16356. description: 商品单位名称
  16357. type: string
  16358. expirecycle:
  16359. description: 行权周期(天) - 1:滚动行权时填写
  16360. type: integer
  16361. expiredate:
  16362. description: 行权日(yyyyMMdd) - 到期日
  16363. type: string
  16364. expiretype:
  16365. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16366. type: integer
  16367. freezeqty:
  16368. description: 期初均价
  16369. type: number
  16370. goodscode:
  16371. description: 商品代码
  16372. type: string
  16373. goodsid:
  16374. description: 商品ID
  16375. type: integer
  16376. goodsname:
  16377. description: 商品名称
  16378. type: string
  16379. goodunitid:
  16380. description: 商品单位id
  16381. type: integer
  16382. holderamount:
  16383. description: 持仓金额
  16384. type: number
  16385. holdercredit:
  16386. description: 持仓授信金额
  16387. type: number
  16388. holderdays:
  16389. description: 剩余冻结天数
  16390. type: integer
  16391. holderprice:
  16392. description: 持仓价格
  16393. type: number
  16394. holderqty:
  16395. description: 期初均价
  16396. type: number
  16397. isconfirmexercise:
  16398. description: 是否确认行权- 0:否 1:是
  16399. type: integer
  16400. ispreexercise:
  16401. description: 是否预申报- 0:否 1:是 2:不可行权
  16402. type: integer
  16403. marketid:
  16404. description: 市场id
  16405. type: integer
  16406. marketname:
  16407. description: 市场名称
  16408. type: string
  16409. openprice:
  16410. description: 建仓价格
  16411. type: number
  16412. openqty:
  16413. description: 期初均价
  16414. type: number
  16415. optiontype:
  16416. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16417. type: integer
  16418. preexerciseprice:
  16419. description: 预申报价格
  16420. type: number
  16421. premium:
  16422. description: 权利金
  16423. type: number
  16424. qtydecimalplace:
  16425. description: 商品成交量小数位
  16426. type: integer
  16427. refgoodscode:
  16428. description: 标的合约代码
  16429. type: string
  16430. refgoodsid:
  16431. description: 标的合约id
  16432. type: integer
  16433. releaseamount:
  16434. description: 释放持仓金额
  16435. type: number
  16436. releaseholdercredit:
  16437. description: 释放持仓授信金额
  16438. type: number
  16439. taname:
  16440. description: 资金账号名称
  16441. type: string
  16442. tradeamount:
  16443. description: 成交金额
  16444. type: number
  16445. tradedate:
  16446. description: 交易日(yyyyMMdd)
  16447. type: string
  16448. tradeid:
  16449. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16450. type: string
  16451. trademode:
  16452. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16453. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16454. type: integer
  16455. tradeproperty:
  16456. description: 交易属性
  16457. type: integer
  16458. tradetime:
  16459. description: 交易时间
  16460. type: string
  16461. userid:
  16462. description: 用户id
  16463. type: integer
  16464. username:
  16465. description: 用户名称
  16466. type: string
  16467. type: object
  16468. models.Unlinkermcphedgeplan:
  16469. properties:
  16470. accountid:
  16471. description: 期货账户ID - 作废
  16472. type: integer
  16473. accountname:
  16474. description: 交易用户
  16475. type: string
  16476. applyid:
  16477. description: 申请人
  16478. type: integer
  16479. applysrc:
  16480. description: 申请来源 - 1:管理端 2:终端
  16481. type: integer
  16482. applytime:
  16483. description: 申请时间
  16484. type: string
  16485. areauserid:
  16486. description: '[企业ID]机构ID'
  16487. type: integer
  16488. auditid:
  16489. description: 审核人
  16490. type: integer
  16491. auditremark:
  16492. description: 审核备注
  16493. type: string
  16494. auditsrc:
  16495. description: 审核来源 - 1:管理端 2:终端
  16496. type: integer
  16497. audittime:
  16498. description: 审核时间
  16499. type: string
  16500. audittradedate:
  16501. description: 审核交易日(yyyyMMdd)
  16502. type: string
  16503. biztype:
  16504. description: 业务类型 - 1:套保
  16505. type: integer
  16506. contracttype:
  16507. description: 计划类型 - 1:采购 -1:销售
  16508. type: integer
  16509. convertfactor:
  16510. description: 标仓系数 - 作废
  16511. type: number
  16512. createtime:
  16513. description: 创建时间
  16514. type: string
  16515. currencyid:
  16516. description: 结算币种ID - 作废
  16517. type: integer
  16518. deliverygoodsid:
  16519. description: 现货品种ID
  16520. type: integer
  16521. enumdicname:
  16522. description: 结算币种
  16523. type: string
  16524. hedgeplanid:
  16525. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16526. type: string
  16527. hedgeplanno:
  16528. description: '[计划编号]套保计划编号,模糊查询'
  16529. type: string
  16530. hedgeplanstatus:
  16531. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16532. type: integer
  16533. isrelated:
  16534. description: 是否已关联计划项目 - 0:否 1:是
  16535. type: integer
  16536. planqty:
  16537. description: '[计划量]计划数量'
  16538. type: number
  16539. plantime:
  16540. description: 计划时间
  16541. type: string
  16542. producttype:
  16543. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16544. type: integer
  16545. remark:
  16546. description: 备注
  16547. type: string
  16548. spotgoodsdesc:
  16549. description: 商品型号
  16550. type: string
  16551. tradedate:
  16552. description: 交易日(yyyyMMdd)
  16553. type: string
  16554. tradeuserid:
  16555. description: 交易用户ID
  16556. type: integer
  16557. updatetime:
  16558. description: 更新时间
  16559. type: string
  16560. wrstandardid:
  16561. description: 现货商品ID
  16562. type: integer
  16563. wrstandardname:
  16564. description: 现货商品,模糊查询
  16565. type: string
  16566. required:
  16567. - areauserid
  16568. type: object
  16569. models.UserCollectConfig:
  16570. properties:
  16571. accountstatus:
  16572. description: 账户状态 - 1:正常 2:停用 3:注销
  16573. type: integer
  16574. collectaccountname:
  16575. description: 收款人账户名称
  16576. type: string
  16577. collectaccountno:
  16578. description: 收款人账户
  16579. type: string
  16580. collectbankname:
  16581. description: 收款人开户行
  16582. type: string
  16583. collectbranchbankname:
  16584. description: 收款人开户支行
  16585. type: string
  16586. collectconfigid:
  16587. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16588. type: string
  16589. remark:
  16590. description: 备注
  16591. type: string
  16592. userid:
  16593. description: 收款人用户ID
  16594. type: integer
  16595. type: object
  16596. models.UserReceiveInfo:
  16597. properties:
  16598. address:
  16599. description: 提货人详细地址
  16600. type: string
  16601. autoid:
  16602. description: AutoID
  16603. type: integer
  16604. cardnum:
  16605. description: 证件号码(加密存储)
  16606. type: string
  16607. cardtypeid:
  16608. description: 证件类型
  16609. type: integer
  16610. cityid:
  16611. description: 市
  16612. type: integer
  16613. cityname:
  16614. description: 城市名称
  16615. type: string
  16616. countryid:
  16617. description: 国家
  16618. type: integer
  16619. countryname:
  16620. description: 国家名称
  16621. type: string
  16622. districtid:
  16623. description: 地区
  16624. type: integer
  16625. districtname:
  16626. description: 地区名称
  16627. type: string
  16628. hasencrypt:
  16629. description: 数据是否已加密 - 0:未加密 1:已加密
  16630. type: integer
  16631. isdefault:
  16632. description: 是否默认地址 - 0:否 1:是
  16633. type: integer
  16634. phonenum:
  16635. description: 提货人联系方式(加密存储)
  16636. type: string
  16637. provinceid:
  16638. description: 省
  16639. type: integer
  16640. provincename:
  16641. description: 省名称
  16642. type: string
  16643. receivername:
  16644. description: 提货人姓名
  16645. type: string
  16646. takeremark:
  16647. description: 提货备注
  16648. type: string
  16649. userid:
  16650. description: 用户ID
  16651. type: integer
  16652. type: object
  16653. models.Useraccount:
  16654. properties:
  16655. accountname:
  16656. description: 账户名称(机构名称)
  16657. type: string
  16658. accountstatus:
  16659. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16660. type: integer
  16661. applysrc:
  16662. description: 申请来源 - 1:管理端 2:终端
  16663. type: integer
  16664. auditremark:
  16665. description: 审核备注
  16666. type: string
  16667. auditsrc:
  16668. description: 审核来源 - 1:管理端 2:终端
  16669. type: integer
  16670. audittime:
  16671. description: 审核时间
  16672. type: string
  16673. audituserid:
  16674. description: 审核人
  16675. type: integer
  16676. broker:
  16677. description: 所属经纪人ID
  16678. type: integer
  16679. canceltime:
  16680. description: 销户时间
  16681. type: string
  16682. canceluserid:
  16683. description: 销户人
  16684. type: integer
  16685. canrecommend:
  16686. description: 是否可推荐 - 0:不可 1;可
  16687. type: integer
  16688. createtime:
  16689. description: 创建时间
  16690. type: string
  16691. creatorid:
  16692. description: 创建人
  16693. type: integer
  16694. hasauth:
  16695. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16696. type: integer
  16697. isanonymous:
  16698. description: 是否匿名下单 - 0:否 1:是
  16699. type: integer
  16700. maxinvestornum:
  16701. description: 最大用户数(经纪会员下投资者个数)
  16702. type: integer
  16703. memberuserid:
  16704. description: 所属会员ID
  16705. type: integer
  16706. modifierid:
  16707. description: 修改人
  16708. type: integer
  16709. modifyremark:
  16710. description: 变更备注
  16711. type: string
  16712. modifystatus:
  16713. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16714. type: integer
  16715. modifytime:
  16716. description: 修改时间
  16717. type: string
  16718. parenttopuser:
  16719. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16720. type: string
  16721. parentuserid:
  16722. description: 所属机构ID
  16723. type: integer
  16724. reckonaccountid:
  16725. description: 默认结算资金账号ID(机构分润使用) 作废
  16726. type: integer
  16727. refercount:
  16728. description: 推荐总人数
  16729. type: integer
  16730. refereeuserid:
  16731. description: 推荐人ID
  16732. type: integer
  16733. refernum:
  16734. description: 推荐码
  16735. type: string
  16736. rootuserid:
  16737. description: 根用户ID
  16738. type: integer
  16739. subaccountlevel:
  16740. description: 子账户层数
  16741. type: integer
  16742. subarealevelpath:
  16743. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16744. type: string
  16745. userid:
  16746. description: 用户ID
  16747. type: integer
  16748. usertype:
  16749. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16750. type: integer
  16751. required:
  16752. - userid
  16753. type: object
  16754. models.Userfavoritegoods:
  16755. properties:
  16756. goodsid:
  16757. description: 商品ID
  16758. type: integer
  16759. required:
  16760. - goodsid
  16761. type: object
  16762. models.Userinfo:
  16763. properties:
  16764. address:
  16765. description: 地址
  16766. type: string
  16767. attachment1:
  16768. description: 附件1
  16769. type: string
  16770. attachment2:
  16771. description: 附件2
  16772. type: string
  16773. bankaccount:
  16774. description: 银行帐号 (加密存储)
  16775. type: string
  16776. bankaccountname:
  16777. description: 收款人名称
  16778. type: string
  16779. bankcardfrontphotourl:
  16780. description: 银行卡正面照地址
  16781. type: string
  16782. bankid:
  16783. description: 银行编码
  16784. type: string
  16785. bankname:
  16786. description: 银行名称
  16787. type: string
  16788. biznature:
  16789. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16790. type: integer
  16791. bizscope:
  16792. description: 企业经营范围(企业)
  16793. type: string
  16794. cardbackphotourl:
  16795. description: 证件背面图片地址
  16796. type: string
  16797. cardfrontphotourl:
  16798. description: 证件正面图片地址
  16799. type: string
  16800. cardnum:
  16801. description: 证件号码(加密存储)
  16802. type: string
  16803. cardtypeid:
  16804. description: 证件类型ID
  16805. type: integer
  16806. cityid:
  16807. description: 市
  16808. type: integer
  16809. company:
  16810. description: 公司(个人)
  16811. type: string
  16812. contactname:
  16813. description: 联系人
  16814. type: string
  16815. countryid:
  16816. description: 国家
  16817. type: integer
  16818. createtime:
  16819. description: 创建时间
  16820. type: string
  16821. creatorid:
  16822. description: 创建人
  16823. type: integer
  16824. customername:
  16825. description: 客户名称(企业名称)
  16826. type: string
  16827. districtid:
  16828. description: 地区
  16829. type: integer
  16830. email:
  16831. description: 邮件(加密存储)
  16832. type: string
  16833. fax:
  16834. description: 传真(加密存储)
  16835. type: string
  16836. halfbodyphotourl:
  16837. description: 半身照地址
  16838. type: string
  16839. hasencrypt:
  16840. description: 数据是否已加密 - 0:未加密 1:已加密
  16841. type: integer
  16842. headurl:
  16843. description: 头像地址
  16844. type: string
  16845. legalcardbackphotourl:
  16846. description: 法人身份证背面照地址
  16847. type: string
  16848. legalcardfrontphotourl:
  16849. description: 法人身份证正面照地址
  16850. type: string
  16851. legalpersonname:
  16852. description: 法人姓名(企业)
  16853. type: string
  16854. mobile:
  16855. description: 手机号码(加密存储)
  16856. type: string
  16857. mobile2:
  16858. description: 手机号码[明文-尚志]
  16859. type: string
  16860. modifierid:
  16861. description: 修改人
  16862. type: integer
  16863. modifiertime:
  16864. description: 修改时间
  16865. type: string
  16866. needinvoice:
  16867. description: 是否需要发票 - 0:不需要 1:需要
  16868. type: integer
  16869. nickname:
  16870. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16871. type: string
  16872. openmode:
  16873. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16874. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16875. type: integer
  16876. otherurl:
  16877. description: 其它图片地址[使用分号分隔]
  16878. type: string
  16879. postalcode:
  16880. description: 邮政编码
  16881. type: string
  16882. provinceid:
  16883. description: 省
  16884. type: integer
  16885. qq:
  16886. description: QQ(加密存储
  16887. type: string
  16888. remark:
  16889. description: 备注
  16890. type: string
  16891. sex:
  16892. description: '用户性别 0: 女 1: 男'
  16893. type: integer
  16894. signpdfurl:
  16895. description: 签约pdf文件
  16896. type: string
  16897. telphone:
  16898. description: 联系电话(加密存储)
  16899. type: string
  16900. userid:
  16901. description: 用户ID
  16902. type: integer
  16903. userinfotype:
  16904. description: 用户信息类型 - 1:个人 2:企业
  16905. type: integer
  16906. userstatus:
  16907. description: 用户状态 - 1:正常 2:注销
  16908. type: integer
  16909. usertype:
  16910. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16911. type: integer
  16912. wechat:
  16913. description: 微信(加密存储)
  16914. type: string
  16915. wskhinfo:
  16916. description: 开户申请信息(JSON)
  16917. type: string
  16918. required:
  16919. - userid
  16920. type: object
  16921. models.WRSConverTDetail:
  16922. properties:
  16923. convertratio:
  16924. description: 套保系数
  16925. type: number
  16926. deliverygoodscode:
  16927. description: 现货商品代码
  16928. type: string
  16929. deliverygoodsid:
  16930. description: 现货品种ID
  16931. type: integer
  16932. deliverygoodsname:
  16933. description: 现货商品名称
  16934. type: string
  16935. enumdicname:
  16936. description: 单位名称
  16937. type: string
  16938. goodsunitid:
  16939. description: 套保品种单位id
  16940. type: integer
  16941. middlegoodscode:
  16942. description: 套保品种代码
  16943. type: string
  16944. middlegoodsid:
  16945. description: 套保品种ID
  16946. type: integer
  16947. middlegoodsname:
  16948. description: 套保品种名称
  16949. type: string
  16950. modifytime:
  16951. description: 修改时间
  16952. type: string
  16953. wrstandardid:
  16954. description: 品类ID
  16955. type: integer
  16956. type: object
  16957. models.WRStandardInfo:
  16958. properties:
  16959. areauserid:
  16960. description: 所属机构
  16961. type: integer
  16962. convertfactor:
  16963. description: 标仓系数
  16964. type: number
  16965. createtime:
  16966. description: 创建时间
  16967. type: string
  16968. creatorid:
  16969. description: 创建人
  16970. type: integer
  16971. deliverygoodsid:
  16972. description: 品种ID
  16973. type: integer
  16974. deliverygoodsname:
  16975. description: 交割商品名称
  16976. type: string
  16977. factoryitemjson:
  16978. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16979. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16980. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16981. 逗号分隔'
  16982. type: string
  16983. isvalid:
  16984. description: 是否有效 - 0:无效 1:有效
  16985. type: integer
  16986. minivalue:
  16987. description: 最小变动值
  16988. type: integer
  16989. minivaluedp:
  16990. description: 最小变动值小数位
  16991. type: integer
  16992. realminivalue:
  16993. description: 实际最小变动值
  16994. type: integer
  16995. realminivaluedp:
  16996. description: 实际最小变动值小数位
  16997. type: integer
  16998. remark:
  16999. description: 备注
  17000. type: string
  17001. unitid:
  17002. description: 单位ID
  17003. type: integer
  17004. unitname:
  17005. description: 单位
  17006. type: string
  17007. updatetime:
  17008. description: 更新时间
  17009. type: string
  17010. updatorid:
  17011. description: 更新人
  17012. type: integer
  17013. wrsstatus:
  17014. description: 状态 - 作废 - 0:未激活 1:正常
  17015. type: integer
  17016. wrstandardcode:
  17017. description: 现货品类代码
  17018. type: string
  17019. wrstandardid:
  17020. description: 现货品类ID(SEQ_WRSTANDARD)
  17021. type: integer
  17022. wrstandardname:
  17023. description: 现货品类名称
  17024. type: string
  17025. required:
  17026. - wrstandardid
  17027. type: object
  17028. models.WRTradeBargainApply:
  17029. properties:
  17030. accountid:
  17031. description: 摘牌资金账号
  17032. type: integer
  17033. applyprice:
  17034. description: 申请价格(议价价格)
  17035. type: string
  17036. applyqty:
  17037. description: 摘牌数量(议价数量)
  17038. type: number
  17039. applyremark:
  17040. description: 申请备注
  17041. type: string
  17042. applystatus:
  17043. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17044. type: integer
  17045. applytime:
  17046. description: 申请时间(议价时间)
  17047. type: string
  17048. begindate:
  17049. description: 开始交易日(yyyymmdd)
  17050. type: string
  17051. buyorsell:
  17052. description: 买卖(挂牌类型) - 0:买 1:卖
  17053. type: integer
  17054. confirmremark:
  17055. description: 确认备注
  17056. type: string
  17057. confirmtime:
  17058. description: 确认时间
  17059. type: string
  17060. confirmuserid:
  17061. description: 确认人
  17062. type: integer
  17063. deliverygoodscode:
  17064. description: 品种代码
  17065. type: string
  17066. deliverygoodsid:
  17067. description: 品种ID
  17068. type: integer
  17069. deliverygoodsname:
  17070. description: 品种名称
  17071. type: string
  17072. deliverymonth:
  17073. description: 交收月
  17074. type: string
  17075. enddate:
  17076. description: 结束交易日(yyyymmdd)
  17077. type: string
  17078. enumdicname:
  17079. description: 单位名称
  17080. type: string
  17081. fixedprice:
  17082. description: 期初均价
  17083. type: number
  17084. handlestatus:
  17085. description: 处理状态
  17086. type: integer
  17087. marginvalue:
  17088. description: 期初均价
  17089. type: number
  17090. marketid:
  17091. description: 市场ID
  17092. type: integer
  17093. matchaccountid:
  17094. description: 挂牌方资金账号
  17095. type: integer
  17096. matchuserid:
  17097. description: 挂牌方用户id
  17098. type: integer
  17099. matchusername:
  17100. description: 挂牌方用户名称(已脱敏)
  17101. type: string
  17102. minivalue:
  17103. description: 现货商品最小变动值
  17104. type: integer
  17105. optioncompare:
  17106. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17107. type: string
  17108. orderqty:
  17109. description: 挂牌数量
  17110. type: integer
  17111. refprice:
  17112. description: 参考价格
  17113. type: string
  17114. retcode:
  17115. description: 委托返回代码
  17116. type: integer
  17117. templatename:
  17118. description: 履约方式(履约模板名称)
  17119. type: string
  17120. tradedate:
  17121. description: 交易日(yyyyMMdd)
  17122. type: string
  17123. userid:
  17124. description: 摘牌人用户ID(议价人ID)
  17125. type: integer
  17126. username:
  17127. description: 议价人名字(已脱敏)
  17128. type: string
  17129. validtime:
  17130. description: 有效期限
  17131. type: string
  17132. warehouseid:
  17133. description: 仓库ID
  17134. type: integer
  17135. warehousename:
  17136. description: 仓库名称
  17137. type: string
  17138. wrbargainid:
  17139. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17140. type: string
  17141. wrfactortypeid:
  17142. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17143. type: string
  17144. wrfactortypename:
  17145. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17146. type: string
  17147. wrstandardcode:
  17148. description: 现货商品代码
  17149. type: string
  17150. wrstandardid:
  17151. description: 现货商品ID
  17152. type: integer
  17153. wrstandardname:
  17154. description: 商品名称
  17155. type: string
  17156. wrtradeorderid:
  17157. description: 关联委托单ID
  17158. type: string
  17159. wrtypename:
  17160. description: 商品
  17161. type: string
  17162. type: object
  17163. models.Warehouseinfo:
  17164. properties:
  17165. address:
  17166. description: 详细地址
  17167. type: string
  17168. areauserid:
  17169. description: 所属机构
  17170. type: integer
  17171. autoid:
  17172. description: 自增ID
  17173. type: integer
  17174. cityid:
  17175. description: 市
  17176. type: integer
  17177. contactname:
  17178. description: 联系人
  17179. type: string
  17180. contactnum:
  17181. description: 联系电话
  17182. type: string
  17183. countryid:
  17184. description: 国家
  17185. type: integer
  17186. createtime:
  17187. description: 创建时间
  17188. type: string
  17189. districtid:
  17190. description: 区
  17191. type: integer
  17192. hasvideo:
  17193. description: 是否有视频 - 0:无 1:有
  17194. type: integer
  17195. provinceid:
  17196. description: 省
  17197. type: integer
  17198. remark:
  17199. description: 审核备注
  17200. type: string
  17201. videourl:
  17202. description: 视频地址
  17203. type: string
  17204. warehousecode:
  17205. description: 仓库代码
  17206. type: string
  17207. warehousename:
  17208. description: 仓库名称
  17209. type: string
  17210. warehousestatus:
  17211. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17212. type: integer
  17213. warehousetype:
  17214. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17215. type: integer
  17216. required:
  17217. - autoid
  17218. - warehousecode
  17219. type: object
  17220. models.WrAverageTradePrice:
  17221. properties:
  17222. averageprice:
  17223. description: 期初均价
  17224. type: number
  17225. tradedate:
  17226. description: 交易日yyyymm
  17227. type: string
  17228. type: object
  17229. models.WrBrandAndYears:
  17230. properties:
  17231. brandlst:
  17232. description: 品牌列表
  17233. items:
  17234. $ref: '#/definitions/models.DgFactoryItem'
  17235. type: array
  17236. yearslst:
  17237. description: 年份列表
  17238. items:
  17239. $ref: '#/definitions/models.DgFactoryItem'
  17240. type: array
  17241. type: object
  17242. models.WrBsGoodsInfo:
  17243. properties:
  17244. buyorsell:
  17245. description: 买卖方向 0-买 1-卖
  17246. type: integer
  17247. goodsid:
  17248. description: 交易合约ID
  17249. type: integer
  17250. lstitem:
  17251. description: 商品信息项
  17252. items:
  17253. $ref: '#/definitions/models.WrTypeItem'
  17254. type: array
  17255. lststep:
  17256. description: 履约规则
  17257. items:
  17258. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17259. type: array
  17260. type: object
  17261. models.WrBuybackDetail:
  17262. properties:
  17263. buybackamount:
  17264. description: 回购金额
  17265. type: number
  17266. buybackqty:
  17267. description: 回购数量
  17268. type: number
  17269. buybackreleasemargin:
  17270. description: 回购释放保证金
  17271. type: number
  17272. buybacktime:
  17273. description: 回购时间
  17274. type: string
  17275. errordesc:
  17276. description: 错误描述
  17277. type: string
  17278. handlestatus:
  17279. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17280. type: integer
  17281. relatedwrid:
  17282. description: 关联仓单ID
  17283. type: integer
  17284. scfcontractid:
  17285. description: SCF合同ID
  17286. type: string
  17287. scfwrbuybackid:
  17288. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17289. type: integer
  17290. tradedate:
  17291. description: 交易日(yyyyMMdd)
  17292. type: string
  17293. type: object
  17294. models.WrClientAdSpaceConfig:
  17295. properties:
  17296. adspaceid:
  17297. description: 广告位ID
  17298. type: integer
  17299. adspacename:
  17300. description: 广告位名称
  17301. type: string
  17302. adspacetype:
  17303. description: 广告位类型 - 1:固定广告位
  17304. type: integer
  17305. areauserid:
  17306. description: 所属机构ID
  17307. type: integer
  17308. createdate:
  17309. description: 创建时间
  17310. type: string
  17311. imagepath:
  17312. description: 图片
  17313. type: string
  17314. modifierid:
  17315. description: 操作人
  17316. type: integer
  17317. recsize:
  17318. description: 推荐尺寸
  17319. type: string
  17320. title:
  17321. description: 标题
  17322. type: string
  17323. updatedate:
  17324. description: 更新时间
  17325. type: string
  17326. urlcontent:
  17327. description: 链接(地址\商品ID\功能菜单Key\appid)
  17328. type: string
  17329. urltype:
  17330. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17331. type: integer
  17332. type: object
  17333. models.WrDeliveryAvalidHoldLB:
  17334. properties:
  17335. accountid:
  17336. description: 资金账号
  17337. type: integer
  17338. avalidqty:
  17339. description: 数量(可点选数量)
  17340. type: number
  17341. deliverygoodsid:
  17342. description: 品种id
  17343. type: integer
  17344. enumdicname:
  17345. description: 单位名称
  17346. type: string
  17347. goodsid:
  17348. description: x合约商品id
  17349. type: integer
  17350. ladingbillid:
  17351. description: 提单id
  17352. type: string
  17353. pgoodscode:
  17354. description: p商品代码(点价合约)
  17355. type: string
  17356. pgoodsid:
  17357. description: p商品id(点价合约)
  17358. type: integer
  17359. pgoodsname:
  17360. description: p商品名称(点价合约)
  17361. type: string
  17362. pricemove:
  17363. description: 升贴水
  17364. type: number
  17365. subnum:
  17366. description: 提单子id
  17367. type: integer
  17368. userid:
  17369. description: 用户id
  17370. type: integer
  17371. username:
  17372. description: 仓单持有人
  17373. type: string
  17374. warehousecode:
  17375. description: 仓库代码
  17376. type: string
  17377. warehouseid:
  17378. description: 仓库id
  17379. type: integer
  17380. warehousename:
  17381. description: 仓库名称
  17382. type: string
  17383. wrfactortypeid:
  17384. description: 仓单要素id
  17385. type: string
  17386. wrstandardcode:
  17387. description: 品代码
  17388. type: string
  17389. wrstandardid:
  17390. description: 品类d
  17391. type: integer
  17392. wrstandardname:
  17393. description: 品类名称
  17394. type: string
  17395. wrtypename:
  17396. description: 商品
  17397. type: string
  17398. xgoodscode:
  17399. description: x合约代码
  17400. type: string
  17401. xgoodsname:
  17402. description: x合约名称
  17403. type: string
  17404. type: object
  17405. models.WrDeliveryDetail:
  17406. properties:
  17407. accountid:
  17408. description: 账号ID
  17409. type: integer
  17410. averageprice:
  17411. description: 期初均价
  17412. type: number
  17413. begindate:
  17414. description: 开始交易日(yyyymmdd)
  17415. type: string
  17416. buyorsell:
  17417. description: 方向 - 0:买 1:卖
  17418. type: integer
  17419. deliveryamount:
  17420. description: 货款金额(X总货款+P总货款)
  17421. type: number
  17422. deliveryid:
  17423. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17424. type: string
  17425. deliveryorderid:
  17426. description: 申报单号
  17427. type: string
  17428. deliverypricemove:
  17429. description: 升贴水(升贴水总额)
  17430. type: number
  17431. deliveryqty:
  17432. description: 交收数量(点选数量)
  17433. type: number
  17434. deliverystatus:
  17435. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17436. type: integer
  17437. deliverytime:
  17438. description: 交割时间
  17439. type: string
  17440. deliverytotalamount:
  17441. description: 交收金额
  17442. type: number
  17443. enddate:
  17444. description: 结束交易日(yyyymmdd)
  17445. type: string
  17446. enumdicname:
  17447. description: 单位名称
  17448. type: string
  17449. matchaccountid:
  17450. description: 对手账号ID
  17451. type: integer
  17452. matchusername:
  17453. description: 对手方名称(仓单持有人)
  17454. type: string
  17455. p1goodsremainamount:
  17456. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17457. type: number
  17458. pdeliverycloseqty:
  17459. description: p合约平仓数量
  17460. type: number
  17461. pdeliveryprice:
  17462. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17463. type: number
  17464. pgoodscode:
  17465. description: 商品代码
  17466. type: string
  17467. pgoodsid:
  17468. description: p点选合约id
  17469. type: integer
  17470. pgoodsname:
  17471. description: 商品名称
  17472. type: string
  17473. ppricemode:
  17474. description: 点价价格方式 - 1:商品价 2:固定值
  17475. type: integer
  17476. tradedate:
  17477. description: 交易日(yyyymmdd)
  17478. type: string
  17479. userid:
  17480. description: 用户id
  17481. type: integer
  17482. username:
  17483. description: 用户名称
  17484. type: string
  17485. warehousename:
  17486. description: 仓库名称
  17487. type: string
  17488. wrfactortypeid:
  17489. description: 仓单要素类型ID
  17490. type: string
  17491. wrtypename:
  17492. description: 商品
  17493. type: string
  17494. xdeliverycloseqty:
  17495. description: 合约数量
  17496. type: number
  17497. xgoodsamount:
  17498. description: 期初均价
  17499. type: number
  17500. xgoodscode:
  17501. description: 商品代码
  17502. type: string
  17503. xgoodsid:
  17504. description: x交易合约ID
  17505. type: integer
  17506. xgoodsname:
  17507. description: 商品名称
  17508. type: string
  17509. type: object
  17510. models.WrDeliveryGoodsSection:
  17511. properties:
  17512. dglst:
  17513. description: 板块商品列表
  17514. items:
  17515. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17516. type: array
  17517. imagepath:
  17518. description: 图片地址
  17519. type: string
  17520. orderindex:
  17521. description: 排序
  17522. type: integer
  17523. sectionid:
  17524. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17525. = 1的版块1 - 云融指数
  17526. type: integer
  17527. sectionname:
  17528. description: 版块名称
  17529. type: string
  17530. sectiontype:
  17531. description: 版块类型 - 1:指数版块 2:普通版块
  17532. type: integer
  17533. type: object
  17534. models.WrDeliveryGoodsSectionConfig:
  17535. properties:
  17536. deliverygoodscode:
  17537. description: 现货商品代码
  17538. type: string
  17539. deliverygoodsid:
  17540. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17541. type: integer
  17542. deliverygoodsname:
  17543. description: 现货商品名称
  17544. type: string
  17545. orderindex:
  17546. description: 排序
  17547. type: integer
  17548. type: object
  17549. models.WrDraftUserInfo:
  17550. properties:
  17551. address:
  17552. description: 地址
  17553. type: string
  17554. attachment1:
  17555. description: 附件1
  17556. type: string
  17557. attachment2:
  17558. description: 附件2
  17559. type: string
  17560. attachment3:
  17561. description: 附件3
  17562. type: string
  17563. attachment4:
  17564. description: 附件4
  17565. type: string
  17566. attachment5:
  17567. description: 附件5
  17568. type: string
  17569. bankaccount:
  17570. description: 银行帐号 (加密存储)
  17571. type: string
  17572. bankaccountname:
  17573. description: 收款人名称
  17574. type: string
  17575. bankcardfrontphotourl:
  17576. description: 银行卡正面照地址
  17577. type: string
  17578. bankid:
  17579. description: 银行编码
  17580. type: string
  17581. bankname:
  17582. description: 银行名称
  17583. type: string
  17584. birthday:
  17585. description: 生日(个人:年月日)
  17586. type: string
  17587. biznature:
  17588. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17589. type: integer
  17590. bizscope:
  17591. description: 企业经营范围(企业)
  17592. type: string
  17593. biztype:
  17594. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17595. type: integer
  17596. cardbackphotourl:
  17597. description: 证件背面图片地址
  17598. type: string
  17599. cardfrontphotourl:
  17600. description: 证件正面图片地址
  17601. type: string
  17602. cardnum:
  17603. description: 证件号码(加密存储)
  17604. type: string
  17605. cardtypeid:
  17606. description: 证件类型ID
  17607. type: integer
  17608. cityid:
  17609. description: 市
  17610. type: integer
  17611. company:
  17612. description: 公司(个人)
  17613. type: string
  17614. contactcardbackphotourl:
  17615. description: 联系人证件背面图片地址
  17616. type: string
  17617. contactcardfrontphotourl:
  17618. description: 联系人证件正面图片地址
  17619. type: string
  17620. contactname:
  17621. description: 联系人
  17622. type: string
  17623. countryid:
  17624. description: 国家
  17625. type: integer
  17626. createtime:
  17627. description: 创建时间
  17628. type: string
  17629. creatorid:
  17630. description: 创建人
  17631. type: integer
  17632. creditquota:
  17633. description: 授信额度(金瑞)
  17634. type: number
  17635. customername:
  17636. description: 客户名称(企业名称)
  17637. type: string
  17638. districtid:
  17639. description: 地区
  17640. type: integer
  17641. email:
  17642. description: 邮件(加密存储)
  17643. type: string
  17644. fax:
  17645. description: 传真(加密存储)
  17646. type: string
  17647. halfbodyphotourl:
  17648. description: 半身照地址
  17649. type: string
  17650. hasencrypt:
  17651. description: 数据是否已加密 - 0:未加密 1:已加密
  17652. type: integer
  17653. headurl:
  17654. description: 头像地址
  17655. type: string
  17656. legalcardbackphotourl:
  17657. description: 法人身份证背面照地址
  17658. type: string
  17659. legalcardfrontphotourl:
  17660. description: 法人身份证正面照地址
  17661. type: string
  17662. legalpersonname:
  17663. description: 法人姓名(企业)
  17664. type: string
  17665. mobile:
  17666. description: 手机号码(加密存储)
  17667. type: string
  17668. mobile2:
  17669. description: 手机号码[明文-尚志]
  17670. type: string
  17671. modifierid:
  17672. description: 修改人
  17673. type: integer
  17674. modifiertime:
  17675. description: 修改时间
  17676. type: string
  17677. needinvoice:
  17678. description: 是否需要发票 - 0:不需要 1:需要
  17679. type: integer
  17680. nickname:
  17681. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17682. type: string
  17683. openmode:
  17684. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17685. 6:苹果手机端注册 7:PC交易端注册"
  17686. type: integer
  17687. otherurl:
  17688. description: 其它图片地址[使用分号分隔]
  17689. type: string
  17690. postalcode:
  17691. description: 邮政编码
  17692. type: string
  17693. provinceid:
  17694. description: 省
  17695. type: integer
  17696. proxystatementurl:
  17697. description: 授权委托书
  17698. type: string
  17699. qq:
  17700. description: QQ(加密存储
  17701. type: string
  17702. remark:
  17703. description: 备注
  17704. type: string
  17705. sex:
  17706. description: '用户性别 0: 女 1: 男'
  17707. type: integer
  17708. signpdfurl:
  17709. description: 签约pdf文件
  17710. type: string
  17711. taxpayernum:
  17712. description: 纳税人识别号
  17713. type: string
  17714. telphone:
  17715. description: 联系电话(加密存储)
  17716. type: string
  17717. userid:
  17718. description: 用户ID
  17719. type: integer
  17720. userinfotype:
  17721. description: 用户信息类型 - 1:个人 2:企业
  17722. type: integer
  17723. userstatus:
  17724. description: 用户状态 - 1:正常 2:注销
  17725. type: integer
  17726. usertype:
  17727. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17728. type: integer
  17729. wechat:
  17730. description: 微信(加密存储)
  17731. type: string
  17732. wskhinfo:
  17733. description: 开户申请信息(JSON)
  17734. type: string
  17735. type: object
  17736. models.WrFAProductDetail:
  17737. properties:
  17738. accountid:
  17739. description: 资金账号
  17740. type: integer
  17741. areauserid:
  17742. description: 金融机构ID
  17743. type: integer
  17744. financingdays:
  17745. description: 天数(天)
  17746. type: integer
  17747. interestminlen:
  17748. description: 最小起息天数
  17749. type: integer
  17750. interestrate:
  17751. description: 利率
  17752. type: number
  17753. interestratemode:
  17754. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17755. type: integer
  17756. interestsettlemode:
  17757. description: 结息方式 - 1:按日结息 3:按月结息
  17758. type: integer
  17759. interestsettlevalue:
  17760. description: 结息方式值
  17761. type: integer
  17762. isautoloan:
  17763. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17764. type: integer
  17765. loantag:
  17766. description: '放款标识: "放款快" 或者为空'
  17767. type: string
  17768. marginratio:
  17769. description: 保证金比率质押率 - [仓单质押]
  17770. type: number
  17771. productdetailid:
  17772. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17773. type: integer
  17774. productid:
  17775. description: 金融产品ID
  17776. type: integer
  17777. productname:
  17778. description: 产品名称
  17779. type: string
  17780. updatetime:
  17781. description: 更新时间
  17782. type: string
  17783. username:
  17784. description: 融出方
  17785. type: string
  17786. type: object
  17787. models.WrFactorTypeInfo:
  17788. properties:
  17789. deliverygoodscode:
  17790. description: 品种代码
  17791. type: string
  17792. deliverygoodsname:
  17793. description: 品种名称
  17794. type: string
  17795. dgfactoryitemid:
  17796. description: 选择项id
  17797. type: integer
  17798. dgfactoryitemtypeid:
  17799. description: 要素选择项ID (1-仓库 2-品牌)
  17800. type: integer
  17801. dgfactoryitemvalue:
  17802. description: 要素项值
  17803. type: string
  17804. itemtypename:
  17805. description: 要素项名称
  17806. type: string
  17807. optioncompare:
  17808. description: 选择比较串
  17809. type: string
  17810. warehouseid:
  17811. description: 仓库id
  17812. type: integer
  17813. wrfactortypeid:
  17814. description: 仓单要素ID
  17815. type: string
  17816. wrfactortypename:
  17817. description: 要素名称
  17818. type: string
  17819. wrfactortypename2:
  17820. description: 要素名称(不含仓库)
  17821. type: string
  17822. wrstandardcode:
  17823. description: 品类代码
  17824. type: string
  17825. wrstandardid:
  17826. description: 品类id
  17827. type: integer
  17828. wrstandardname:
  17829. description: 品类名称
  17830. type: string
  17831. type: object
  17832. models.WrFilterItem:
  17833. properties:
  17834. itemcode:
  17835. description: 代码
  17836. type: string
  17837. itemid:
  17838. description: 项id
  17839. type: integer
  17840. itemname:
  17841. description: 名称
  17842. type: string
  17843. itemtype:
  17844. description: 类型 1-品种 2-品类(商品) 3-仓库
  17845. type: integer
  17846. type: object
  17847. models.WrFinanceBuyApply:
  17848. properties:
  17849. applydate:
  17850. description: 申请时间
  17851. type: string
  17852. applystatus:
  17853. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17854. type: integer
  17855. applyuserid:
  17856. description: 申请人
  17857. type: integer
  17858. auditdate:
  17859. description: 审核时间
  17860. type: string
  17861. auditremark:
  17862. description: 审核备注
  17863. type: string
  17864. audituserid:
  17865. description: 审核人
  17866. type: integer
  17867. buyaccountid:
  17868. description: 买方资金账号
  17869. type: integer
  17870. buyorsell:
  17871. description: 买卖 - 0:买 1:卖
  17872. type: integer
  17873. buyuserid:
  17874. description: 买方用户ID
  17875. type: integer
  17876. buyusername:
  17877. description: 买方名称
  17878. type: string
  17879. buywrtradeorderid:
  17880. description: 融资方买委托单ID
  17881. type: string
  17882. deliverygoodscode:
  17883. description: 品种代码
  17884. type: string
  17885. deliverygoodsid:
  17886. description: 品种ID
  17887. type: integer
  17888. deliverygoodsname:
  17889. description: 品种名称
  17890. type: string
  17891. deliverymonth:
  17892. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17893. type: string
  17894. enumdicname:
  17895. description: 单位名称
  17896. type: string
  17897. financeaccountid:
  17898. description: 融资方资金帐户ID
  17899. type: integer
  17900. financeapplyid:
  17901. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17902. type: string
  17903. financeareauserid:
  17904. description: 融资方用户ID
  17905. type: string
  17906. financename:
  17907. description: 融出方名称
  17908. type: string
  17909. financetype:
  17910. description: 融资类型 1-融资回购
  17911. type: integer
  17912. financingdays:
  17913. description: 天数(天)
  17914. type: integer
  17915. freezebuymargin:
  17916. description: 冻结融资保证金(买方)
  17917. type: number
  17918. handleremark:
  17919. description: 处理备注
  17920. type: string
  17921. handlestatus:
  17922. description: 处理状态
  17923. type: integer
  17924. interestminlen:
  17925. description: 最小起息天数
  17926. type: integer
  17927. interestrate:
  17928. description: 利率
  17929. type: number
  17930. interestratemode:
  17931. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17932. type: integer
  17933. interestsettlemode:
  17934. description: 结息方式 - 1:按日结息 3:按月结息
  17935. type: integer
  17936. interestsettlevalue:
  17937. description: 结息方式值
  17938. type: integer
  17939. isautoloan:
  17940. description: 是否自动放款 - 0:手动 1:自动
  17941. type: integer
  17942. marginratio:
  17943. description: 保证金比率质押率 - [仓单质押]
  17944. type: number
  17945. marketid:
  17946. description: 市场ID
  17947. type: integer
  17948. minivalue:
  17949. description: 现货商品最小变动值
  17950. type: integer
  17951. optioncompare:
  17952. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17953. type: string
  17954. orderqty:
  17955. description: 委托数量(商品数量)
  17956. type: number
  17957. productdetailid:
  17958. description: 产品组合ID
  17959. type: integer
  17960. productid:
  17961. description: 金融产品ID
  17962. type: integer
  17963. productname:
  17964. description: 产品名称
  17965. type: string
  17966. remark:
  17967. description: 备注
  17968. type: string
  17969. scfcontractid:
  17970. description: 仓单回购合同ID
  17971. type: string
  17972. sellaccountid:
  17973. description: 卖方资金账号
  17974. type: integer
  17975. selluserid:
  17976. description: 卖方用户ID
  17977. type: integer
  17978. sellwrtradeorderid:
  17979. description: 卖方委托单ID
  17980. type: string
  17981. tradeamount:
  17982. description: 成交金额(借款金额)
  17983. type: number
  17984. tradedate:
  17985. description: 交易日(yyyyMMdd)
  17986. type: string
  17987. tradeprice:
  17988. description: 成交价格
  17989. type: number
  17990. warehouseid:
  17991. description: 仓库ID
  17992. type: integer
  17993. warehousename:
  17994. description: 仓库名称
  17995. type: string
  17996. wrfactortypeid:
  17997. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17998. type: string
  17999. wrfactortypename:
  18000. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18001. type: string
  18002. wrpricetype:
  18003. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18004. type: integer
  18005. wrstandardcode:
  18006. description: 现货商品代码
  18007. type: string
  18008. wrstandardid:
  18009. description: 现货商品ID
  18010. type: integer
  18011. wrstandardname:
  18012. description: 商品名称
  18013. type: string
  18014. wrtypename:
  18015. description: 商品
  18016. type: string
  18017. type: object
  18018. models.WrFriendApply:
  18019. properties:
  18020. applicantid:
  18021. description: 申请人
  18022. type: integer
  18023. applyname:
  18024. description: 申请人名称
  18025. type: string
  18026. applysrc:
  18027. description: 申请来源 - 1:管理端 2:终端
  18028. type: integer
  18029. applystatus:
  18030. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18031. type: integer
  18032. applytime:
  18033. description: 申请时间
  18034. type: string
  18035. auditname:
  18036. description: 审核人名称
  18037. type: string
  18038. auditorid:
  18039. description: 审核人
  18040. type: integer
  18041. auditremark:
  18042. description: 审核备注
  18043. type: string
  18044. auditsrc:
  18045. description: 审核来源 - 1:管理端 2:终端
  18046. type: integer
  18047. audittime:
  18048. description: 审核时间
  18049. type: string
  18050. friendapplyid:
  18051. description: 申请ID(SEQ_FRIENDAPPLY)
  18052. type: string
  18053. friendname:
  18054. description: 好友名字(已脱敏)
  18055. type: string
  18056. frienduserid:
  18057. description: 好友用户ID
  18058. type: string
  18059. remark:
  18060. description: 备注
  18061. type: string
  18062. userid:
  18063. description: 申请人用户ID
  18064. type: integer
  18065. type: object
  18066. models.WrFtDeliveryGoods:
  18067. properties:
  18068. deliverygoodscode:
  18069. description: 品种代码
  18070. type: string
  18071. deliverygoodsid:
  18072. description: 品种ID
  18073. type: integer
  18074. deliverygoodsname:
  18075. description: 品种名称
  18076. type: string
  18077. wdlst:
  18078. description: 商品列表
  18079. items:
  18080. $ref: '#/definitions/models.WrFtWrstandard'
  18081. type: array
  18082. type: object
  18083. models.WrFtWrstandard:
  18084. properties:
  18085. enumdicname:
  18086. description: 单位名称
  18087. type: string
  18088. minivalue:
  18089. description: 最小变动值
  18090. type: integer
  18091. wrstandardcode:
  18092. description: 现货商品代码
  18093. type: string
  18094. wrstandardid:
  18095. description: 现货商品ID
  18096. type: integer
  18097. wrstandardname:
  18098. description: 商品名称
  18099. type: string
  18100. type: object
  18101. models.WrGoodsInfo:
  18102. properties:
  18103. haswr:
  18104. description: 0:仓单预售 1:仓单贸易
  18105. type: integer
  18106. lstitem:
  18107. description: 商品信息项
  18108. items:
  18109. $ref: '#/definitions/models.WrTypeItem'
  18110. type: array
  18111. lststep:
  18112. description: 履约规则
  18113. items:
  18114. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18115. type: array
  18116. marketid:
  18117. description: 市场id
  18118. type: integer
  18119. type: object
  18120. models.WrGoodsPerformanceStep:
  18121. properties:
  18122. autoid:
  18123. description: AutoID
  18124. type: integer
  18125. isauto:
  18126. description: 是否自动 - 0:不自动 1:自动
  18127. type: integer
  18128. remark:
  18129. description: 备注
  18130. type: string
  18131. stepdate:
  18132. description: 天数信息(T+N)
  18133. type: string
  18134. stepdays:
  18135. description: 距离上一步天数
  18136. type: integer
  18137. stepindex:
  18138. description: 步骤序号
  18139. type: integer
  18140. stepinfo:
  18141. description: 步骤信息(步骤名称+步骤值)
  18142. type: string
  18143. steptypeid:
  18144. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18145. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18146. type: integer
  18147. steptypename:
  18148. description: 步骤名称
  18149. type: string
  18150. stepvalue:
  18151. description: 期初均价
  18152. type: number
  18153. templateid:
  18154. description: 履约计划模板ID
  18155. type: integer
  18156. type: object
  18157. models.WrHoldLB:
  18158. properties:
  18159. accountid:
  18160. description: 持有人帐户ID
  18161. type: integer
  18162. bannerpicurl:
  18163. description: Banner图
  18164. type: string
  18165. createtime:
  18166. description: 创建时间(过户时间)
  18167. type: string
  18168. deliverygoodscode:
  18169. description: 品种代码
  18170. type: string
  18171. deliverygoodsid:
  18172. description: 品种ID
  18173. type: integer
  18174. deliverygoodsname:
  18175. description: 品种名称
  18176. type: string
  18177. enableqty:
  18178. description: 可用数量
  18179. type: number
  18180. enumdicname:
  18181. description: 单位名称
  18182. type: string
  18183. freezerqty:
  18184. description: 冻结数量
  18185. type: number
  18186. ladingbillid:
  18187. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18188. type: string
  18189. minivalue:
  18190. description: 现货商品最小变动值
  18191. type: integer
  18192. optioncompare:
  18193. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18194. type: string
  18195. parentsubnum:
  18196. description: 拆分父子单号
  18197. type: integer
  18198. pledgeqty:
  18199. description: 质押数量
  18200. type: number
  18201. qty:
  18202. description: 数量
  18203. type: number
  18204. subnum:
  18205. description: 提单子单号
  18206. type: integer
  18207. thumurls:
  18208. description: 缩略图
  18209. type: string
  18210. tradedate:
  18211. description: 交易日(yyyyMMdd)
  18212. type: string
  18213. userid:
  18214. description: 持有人ID
  18215. type: integer
  18216. warehouseid:
  18217. description: 仓库ID
  18218. type: integer
  18219. warehousename:
  18220. description: 仓库名称
  18221. type: string
  18222. wrfactortypeid:
  18223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18224. type: string
  18225. wrfactortypename:
  18226. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18227. type: string
  18228. wrholdeno:
  18229. description: 仓单编号
  18230. type: string
  18231. wrid:
  18232. description: 仓单变更ID
  18233. type: string
  18234. wrstandardcode:
  18235. description: 现货商品代码
  18236. type: string
  18237. wrstandardid:
  18238. description: 现货商品ID
  18239. type: integer
  18240. wrstandardname:
  18241. description: 商品名称
  18242. type: string
  18243. wrtypename:
  18244. description: 商品
  18245. type: string
  18246. type: object
  18247. models.WrMarketTradeConfig:
  18248. properties:
  18249. basisdownratio:
  18250. description: 浮动价基差下限比例(仓单贸易)
  18251. type: number
  18252. basisupratio:
  18253. description: 浮动价基差上限比例(仓单贸易)
  18254. type: number
  18255. buychargealgorithm:
  18256. description: 买方手续费收取方式 1:比率 2:固定
  18257. type: integer
  18258. buychargealgorithm2:
  18259. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18260. type: integer
  18261. buychargealgorithmvalue:
  18262. description: 买方手续费设置值(交易所部分)
  18263. type: number
  18264. buychargealgorithmvalue2:
  18265. description: 买方手续费设置值(会员部分)
  18266. type: number
  18267. buychargealgorithmvalue3:
  18268. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18269. type: number
  18270. buychargealgorithmvalue4:
  18271. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18272. type: number
  18273. buyfirstmarginalgorithm:
  18274. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18275. type: integer
  18276. buyfirstmarginvalue:
  18277. description: 买方出价保证金设置值 - [竞拍]
  18278. type: number
  18279. buymarginalgorithm:
  18280. description: 买方保证金方式 - 1:比率 2:固定
  18281. type: integer
  18282. buymarginvalue:
  18283. description: 买方保证金设置值
  18284. type: number
  18285. buyreleaseratio:
  18286. description: 买方释放比率[2:分步履约]
  18287. type: number
  18288. executemode:
  18289. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18290. type: integer
  18291. executeside:
  18292. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18293. type: integer
  18294. failedchargealgorithm:
  18295. description: 流拍手续费收取方式 1:比率 2:固定
  18296. type: integer
  18297. failedchargevalue:
  18298. description: 流拍手续费设置值
  18299. type: number
  18300. failedchargevalue2:
  18301. description: 流拍卖方手续费设置值
  18302. type: number
  18303. holddays:
  18304. description: 合同期限[2:分步履约]
  18305. type: integer
  18306. listingmode:
  18307. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18308. type: integer
  18309. marketid:
  18310. description: 市场ID-仓单贸易、竞拍、预售
  18311. type: integer
  18312. minqty:
  18313. description: 最小执行量[2:分步履约]
  18314. type: number
  18315. modifierid:
  18316. description: 修改人
  18317. type: integer
  18318. nowrquotaflag:
  18319. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18320. type: integer
  18321. performancetempid:
  18322. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18323. 立即执行(-1)
  18324. type: integer
  18325. performancetempid2:
  18326. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18327. 立即执行
  18328. type: integer
  18329. performancetempid2s:
  18330. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18331. - 履约方式: 立即执行
  18332. type: string
  18333. performancetempids:
  18334. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18335. - 履约方式: 立即执行(-1)
  18336. type: string
  18337. performanceway:
  18338. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18339. type: integer
  18340. sellchargealgorithm:
  18341. description: 卖方手续费收取方式 1:比率 2:固定
  18342. type: integer
  18343. sellchargealgorithm2:
  18344. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18345. type: integer
  18346. sellchargealgorithmvalue:
  18347. description: 卖方手续费设置值(交易所部分)
  18348. type: number
  18349. sellchargealgorithmvalue2:
  18350. description: 卖方手续费设置值(会员部分)
  18351. type: number
  18352. sellchargealgorithmvalue3:
  18353. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18354. type: number
  18355. sellchargealgorithmvalue4:
  18356. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18357. type: number
  18358. sellmarginalgorithm:
  18359. description: 卖方保证金方式 - 1:比率 2:固定
  18360. type: integer
  18361. sellmarginvalue:
  18362. description: 卖方保证金设置值
  18363. type: number
  18364. sellmarginvalue2:
  18365. description: 卖方保证金设置值(无仓单)
  18366. type: number
  18367. sellreleaseratio:
  18368. description: 卖方释放比率[2:分步履约]
  18369. type: number
  18370. updatetime:
  18371. description: 更新时间
  18372. type: string
  18373. type: object
  18374. models.WrOrderDetail:
  18375. properties:
  18376. accountid:
  18377. description: 交易账号(资金账号)
  18378. type: integer
  18379. allfriendsflag:
  18380. description: 是否全好友可见 - 0:否 1:是
  18381. type: integer
  18382. amount:
  18383. description: 期初均价
  18384. type: number
  18385. bannerpicurl:
  18386. description: Banner图
  18387. type: string
  18388. begindate:
  18389. description: 开始交易日(yyyymmdd)
  18390. type: string
  18391. buyorsell:
  18392. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18393. type: integer
  18394. canbargain:
  18395. description: 是否可议价 - 0:不可 1:可
  18396. type: integer
  18397. cancelqty:
  18398. description: 撤销数量
  18399. type: number
  18400. canpart:
  18401. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18402. type: integer
  18403. delistminqty:
  18404. description: 起摘数量
  18405. type: integer
  18406. deliverygoodscode:
  18407. description: 品种代码
  18408. type: string
  18409. deliverygoodsid:
  18410. description: 品种ID
  18411. type: integer
  18412. deliverygoodsname:
  18413. description: 品种名称
  18414. type: string
  18415. deliverymonth:
  18416. description: 交收月
  18417. type: string
  18418. enddate:
  18419. description: 结束交易日(yyyymmdd)
  18420. type: string
  18421. enumdicname:
  18422. description: 单位名称
  18423. type: string
  18424. fixedprice:
  18425. description: 固定价格 - [挂牌]
  18426. type: number
  18427. freezecharge:
  18428. description: 期初均价
  18429. type: number
  18430. freezemargin:
  18431. description: 期初均价
  18432. type: number
  18433. futupricemove:
  18434. description: 期货升贴水
  18435. type: number
  18436. futushow:
  18437. description: 期货合约/升贴水
  18438. type: string
  18439. goodscode:
  18440. description: 期货合约
  18441. type: string
  18442. goodsid:
  18443. description: 期货商品id
  18444. type: integer
  18445. goodsname:
  18446. description: 商品名称
  18447. type: string
  18448. haswr:
  18449. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18450. type: integer
  18451. isspecified:
  18452. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18453. type: integer
  18454. ladingbillid:
  18455. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18456. type: string
  18457. marginvalue:
  18458. description: 期初均价
  18459. type: number
  18460. marketid:
  18461. description: 市场ID
  18462. type: integer
  18463. matchusername:
  18464. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18465. type: string
  18466. minivalue:
  18467. description: 现货商品最小变动值
  18468. type: integer
  18469. optioncompare:
  18470. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18471. type: string
  18472. orderqty:
  18473. description: 委托数量
  18474. type: number
  18475. ordertime:
  18476. description: 委托时间(挂牌时间)
  18477. type: string
  18478. performancetemplateid:
  18479. description: 履约模板id
  18480. type: integer
  18481. pricemove:
  18482. description: 升贴水(浮动价时填写) - [挂牌]
  18483. type: number
  18484. taname:
  18485. description: 交易用户名称(资金账号名称)
  18486. type: string
  18487. thumurls:
  18488. description: 缩略图
  18489. type: string
  18490. tradedate:
  18491. description: 交易日(yyyyMMdd)
  18492. type: string
  18493. tradeprice:
  18494. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18495. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18496. type: number
  18497. tradeqty:
  18498. description: 成交数量
  18499. type: number
  18500. userid:
  18501. description: 用户ID
  18502. type: integer
  18503. validtime:
  18504. description: 挂牌有效期
  18505. type: string
  18506. validtype:
  18507. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18508. type: integer
  18509. warehouseid:
  18510. description: 仓库ID
  18511. type: integer
  18512. warehousename:
  18513. description: 仓库名称
  18514. type: string
  18515. wrfactortypeid:
  18516. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18517. type: string
  18518. wrfactortypename:
  18519. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18520. type: string
  18521. wrpricetype:
  18522. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18523. type: integer
  18524. wrstandardcode:
  18525. description: 现货商品代码
  18526. type: string
  18527. wrstandardid:
  18528. description: 现货商品ID
  18529. type: integer
  18530. wrstandardname:
  18531. description: 商品名称
  18532. type: string
  18533. wrtradeorderid:
  18534. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18535. type: string
  18536. wrtradeorderstatus:
  18537. 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:撤单解冻贷款失败
  18538. type: integer
  18539. wrtradetype:
  18540. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18541. type: integer
  18542. wrtypename:
  18543. description: 商品
  18544. type: string
  18545. type: object
  18546. models.WrOrderQuote:
  18547. properties:
  18548. bannerpicurl:
  18549. description: Banner图
  18550. type: string
  18551. buyprice:
  18552. description: 买价
  18553. type: number
  18554. buypricemove:
  18555. description: 买升贴水(基差)
  18556. type: number
  18557. buyqty:
  18558. description: 买量
  18559. type: number
  18560. deliverygoodscode:
  18561. description: 品种代码
  18562. type: string
  18563. deliverygoodsid:
  18564. description: 品种id
  18565. type: integer
  18566. deliverygoodsname:
  18567. description: 品种名称
  18568. type: string
  18569. deliverymonth:
  18570. description: 交收月
  18571. type: string
  18572. enumdicname:
  18573. description: 单位名称
  18574. type: string
  18575. goodscode:
  18576. description: 商品合约(浮动价列表才有)
  18577. type: string
  18578. goodsid:
  18579. description: 商品id(浮动价列表才有)
  18580. type: integer
  18581. minivalue:
  18582. description: 现货商品最小变动值
  18583. type: integer
  18584. pictureurls:
  18585. description: 详情图片(逗号分隔)
  18586. type: string
  18587. sellprice:
  18588. description: 卖价
  18589. type: number
  18590. sellpricemove:
  18591. description: 卖升贴水(基差)
  18592. type: number
  18593. sellqty:
  18594. description: 卖量
  18595. type: number
  18596. thumurls:
  18597. description: 缩略图片(1:1)(逗号分隔)
  18598. type: string
  18599. warehousecode:
  18600. description: 仓库代码
  18601. type: string
  18602. warehouseid:
  18603. description: 仓库id
  18604. type: integer
  18605. warehousename:
  18606. description: 仓库名称
  18607. type: string
  18608. wrfactortypeid:
  18609. description: 仓单要素id
  18610. type: string
  18611. wrfactortypename:
  18612. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18613. type: string
  18614. wrgoodsname:
  18615. description: 商品(商品名称+仓库要素名称 拼接)
  18616. type: string
  18617. wrstandardcode:
  18618. description: 商品代码
  18619. type: string
  18620. wrstandardid:
  18621. description: 商品id
  18622. type: integer
  18623. wrstandardname:
  18624. description: 商品名称
  18625. type: string
  18626. type: object
  18627. models.WrOrderQuoteDetail:
  18628. properties:
  18629. buyorsell:
  18630. description: 买卖 - 0:买 1:卖
  18631. type: integer
  18632. delistminqty:
  18633. description: 期初均价
  18634. type: number
  18635. deliverymonth:
  18636. description: 交收月
  18637. type: string
  18638. enumdicname:
  18639. description: 单位名称
  18640. type: string
  18641. fixedprice:
  18642. description: 买(卖)价
  18643. type: number
  18644. marketid:
  18645. description: 市场id
  18646. type: integer
  18647. minivalue:
  18648. description: 现货商品最小变动值
  18649. type: integer
  18650. orderqty:
  18651. description: 买(卖)量(=委托量-成交量)
  18652. type: number
  18653. ordertime:
  18654. description: 委托时间
  18655. type: string
  18656. pricemove:
  18657. description: 买(卖)升贴水- 基差
  18658. type: number
  18659. userid:
  18660. description: 购买方(销售方)用户ID
  18661. type: integer
  18662. username:
  18663. description: 购买方(销售方)
  18664. type: string
  18665. wrtradeorderid:
  18666. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18667. type: string
  18668. type: object
  18669. models.WrOutInApply:
  18670. properties:
  18671. applyid:
  18672. description: 申请单id
  18673. type: string
  18674. applystatus:
  18675. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18676. 8:已撤销
  18677. type: integer
  18678. applytime:
  18679. description: 申请时间
  18680. type: string
  18681. applytype:
  18682. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18683. type: integer
  18684. bannerpicurl:
  18685. description: Banner图
  18686. type: string
  18687. begindate:
  18688. description: 开始交易日(yyyymmdd)
  18689. type: string
  18690. deliverygoodscode:
  18691. description: 品种代码
  18692. type: string
  18693. deliverygoodsid:
  18694. description: 品种ID
  18695. type: integer
  18696. deliverygoodsname:
  18697. description: 品种名称
  18698. type: string
  18699. enddate:
  18700. description: 结束交易日(yyyymmdd)
  18701. type: string
  18702. enumdicname:
  18703. description: 单位名称
  18704. type: string
  18705. expresscompany:
  18706. description: 物流公司
  18707. type: string
  18708. expressnum:
  18709. description: 物流单号
  18710. type: string
  18711. minivalue:
  18712. description: 现货商品最小变动值
  18713. type: integer
  18714. optioncompare:
  18715. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18716. type: string
  18717. qty:
  18718. description: 数量
  18719. type: integer
  18720. userid:
  18721. description: 用户id
  18722. type: integer
  18723. warehouseid:
  18724. description: 仓库ID
  18725. type: integer
  18726. warehousename:
  18727. description: 仓库名称
  18728. type: string
  18729. wrfactortypeid:
  18730. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18731. type: string
  18732. wrfactortypename:
  18733. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18734. type: string
  18735. wrstandardcode:
  18736. description: 现货商品代码
  18737. type: string
  18738. wrstandardid:
  18739. description: 现货商品ID
  18740. type: integer
  18741. wrstandardname:
  18742. description: 商品名称
  18743. type: string
  18744. wrtypename:
  18745. description: 商品
  18746. type: string
  18747. type: object
  18748. models.WrPerformancePlan:
  18749. properties:
  18750. activatemonth:
  18751. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18752. type: string
  18753. amount:
  18754. description: 履约金额(总金额)
  18755. type: number
  18756. begindate:
  18757. description: 开始交易日(yyyymmdd)
  18758. type: string
  18759. buyaccountid:
  18760. description: 买方账号
  18761. type: integer
  18762. buyerfreezeamount:
  18763. description: 履约冻结(买履约)
  18764. type: number
  18765. buyerfreezeamountremain:
  18766. description: 履约冻结剩余(买履约)
  18767. type: number
  18768. buyorsell:
  18769. description: 买卖方向 0-买 1-卖
  18770. type: integer
  18771. buypaidamount:
  18772. description: 买方已冻/已扣金额 (已付金额)
  18773. type: number
  18774. buyusername:
  18775. description: 买方名字
  18776. type: string
  18777. contractid:
  18778. description: 合同ID
  18779. type: integer
  18780. createtime:
  18781. description: 创建时间
  18782. type: string
  18783. creatorid:
  18784. description: 创建人
  18785. type: integer
  18786. curstepdeadline:
  18787. description: 当前步骤到期时间
  18788. type: string
  18789. curstepid:
  18790. description: 当前步骤ID
  18791. type: string
  18792. curstepname:
  18793. description: 当前步骤名称
  18794. type: string
  18795. deliverygoodscode:
  18796. description: 品种代码
  18797. type: string
  18798. deliverygoodsid:
  18799. description: 品种ID
  18800. type: integer
  18801. deliverygoodsname:
  18802. description: 品种名称
  18803. type: string
  18804. enddate:
  18805. description: 结束交易日(yyyymmdd)
  18806. type: string
  18807. enumdicname:
  18808. description: 单位名称
  18809. type: string
  18810. expressfee:
  18811. description: 运费
  18812. type: number
  18813. expressfeeconfirmed:
  18814. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18815. type: integer
  18816. hasovershort:
  18817. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18818. type: integer
  18819. haswr:
  18820. description: 类型 0-仓单预售 1-仓单贸易
  18821. type: integer
  18822. marketid:
  18823. description: 市场ID
  18824. type: integer
  18825. middleaccountid:
  18826. description: 中间商资金账号ID
  18827. type: integer
  18828. middleuserid:
  18829. description: 中间商用户ID
  18830. type: integer
  18831. minivalue:
  18832. description: 现货商品最小变动值
  18833. type: integer
  18834. optioncompare:
  18835. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18836. type: string
  18837. overshortamount:
  18838. description: 溢短金额
  18839. type: number
  18840. overshortqty:
  18841. description: 溢短数量
  18842. type: number
  18843. paymenttype:
  18844. description: 付款方式 - 1:冻结 2:扣款
  18845. type: integer
  18846. performanceplanid:
  18847. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18848. type: string
  18849. performancestatus:
  18850. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18851. 9:超时待处理 10:超时关闭
  18852. type: integer
  18853. performancetype:
  18854. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18855. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18856. type: integer
  18857. qty:
  18858. description: 履约数量
  18859. type: number
  18860. relatedorderid:
  18861. description: 关联单号(履约类型的关联单号)
  18862. type: string
  18863. remark:
  18864. description: 备注
  18865. type: string
  18866. sellaccountid:
  18867. description: 卖方账号
  18868. type: integer
  18869. sellerfreezeamount:
  18870. description: 履约冻结(卖履约)
  18871. type: number
  18872. sellerfreezeamountremain:
  18873. description: 履约冻结剩余(卖履约)
  18874. type: number
  18875. sellreceivedamount:
  18876. description: 卖方已收金额
  18877. type: number
  18878. sellusername:
  18879. description: 卖方名字
  18880. type: string
  18881. shipremark:
  18882. description: 发货备注[物流单号]
  18883. type: string
  18884. starttime:
  18885. description: 开始时间
  18886. type: string
  18887. steptypeid:
  18888. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18889. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18890. type: integer
  18891. typename:
  18892. description: 履约类型 名称
  18893. type: string
  18894. unpaidamount:
  18895. description: 期初均价
  18896. type: number
  18897. userid:
  18898. description: 用户id
  18899. type: integer
  18900. warehouseid:
  18901. description: 仓库ID
  18902. type: integer
  18903. warehousename:
  18904. description: 仓库名称
  18905. type: string
  18906. wrfactortypeid:
  18907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18908. type: string
  18909. wrfactortypename:
  18910. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18911. type: string
  18912. wrstandardcode:
  18913. description: 现货商品代码
  18914. type: string
  18915. wrstandardid:
  18916. description: 现货商品ID
  18917. type: integer
  18918. wrstandardname:
  18919. description: 商品名称
  18920. type: string
  18921. wrtransferuserid:
  18922. description: 仓单受让用户
  18923. type: integer
  18924. wrtypename:
  18925. description: 商品
  18926. type: string
  18927. required:
  18928. - userid
  18929. type: object
  18930. models.WrPerformancePlanStep:
  18931. properties:
  18932. delaydays:
  18933. description: 延期申请天数
  18934. type: integer
  18935. deliverygoodscode:
  18936. description: 品种代码
  18937. type: string
  18938. deliverygoodsid:
  18939. description: 品种ID
  18940. type: integer
  18941. deliverygoodsname:
  18942. description: 品种名称
  18943. type: string
  18944. endtime:
  18945. description: 结束日期
  18946. type: string
  18947. enumdicname:
  18948. description: 单位名称
  18949. type: string
  18950. executeside:
  18951. description: 步骤执行方 - 1:买方 2:卖方
  18952. type: integer
  18953. handlestatus:
  18954. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18955. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18956. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18957. type: integer
  18958. isauto:
  18959. description: 是否自动 - 0:不自动 1:自动
  18960. type: integer
  18961. islastreceivestep:
  18962. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18963. type: integer
  18964. minivalue:
  18965. description: 现货商品最小变动值
  18966. type: integer
  18967. optioncompare:
  18968. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18969. type: string
  18970. overdays:
  18971. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18972. type: integer
  18973. performancestepid:
  18974. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18975. type: string
  18976. planid:
  18977. description: 所属履约计划ID
  18978. type: string
  18979. realamount:
  18980. description: 实际完成金额
  18981. type: number
  18982. relatedorderid:
  18983. description: 关联单号
  18984. type: string
  18985. remaindays:
  18986. description: 剩余天数
  18987. type: integer
  18988. remark:
  18989. description: 错误备注
  18990. type: string
  18991. starttime:
  18992. description: 开始日期
  18993. type: string
  18994. stepamount:
  18995. description: 步骤金额
  18996. type: number
  18997. stepdays:
  18998. description: 距离上一步天数(分钟)
  18999. type: integer
  19000. stepindex:
  19001. description: 步骤序号
  19002. type: integer
  19003. steplanchtype:
  19004. description: 步骤启动类型 - 1:系统自动 2:手动
  19005. type: integer
  19006. stepremark:
  19007. description: 步骤备注
  19008. type: string
  19009. stepstatus:
  19010. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19011. type: integer
  19012. steptypeid:
  19013. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19014. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19015. type: integer
  19016. steptypename:
  19017. description: 步骤名称
  19018. type: string
  19019. stepvalue:
  19020. description: 步骤值
  19021. type: number
  19022. warehouseid:
  19023. description: 仓库ID
  19024. type: integer
  19025. warehousename:
  19026. description: 仓库名称
  19027. type: string
  19028. wrfactortypeid:
  19029. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19030. type: string
  19031. wrfactortypename:
  19032. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19033. type: string
  19034. wrstandardcode:
  19035. description: 现货商品代码
  19036. type: string
  19037. wrstandardid:
  19038. description: 现货商品ID
  19039. type: integer
  19040. wrstandardname:
  19041. description: 商品名称
  19042. type: string
  19043. wrtypename:
  19044. description: 商品
  19045. type: string
  19046. type: object
  19047. models.WrPerformanceStepType:
  19048. properties:
  19049. canauto:
  19050. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19051. type: integer
  19052. steptypeid:
  19053. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19054. type: integer
  19055. steptypename:
  19056. description: 步骤类型名称
  19057. type: string
  19058. type: object
  19059. models.WrPerformanceTemplateEx:
  19060. properties:
  19061. autoid:
  19062. description: AutoID 模板id
  19063. type: integer
  19064. createtime:
  19065. description: 创建时间
  19066. type: string
  19067. creatorid:
  19068. description: 创建人
  19069. type: integer
  19070. lstStep:
  19071. description: 步骤信息列表
  19072. items:
  19073. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19074. type: array
  19075. paymenttype:
  19076. description: 支付方式 - 1:冻结 2:扣款
  19077. type: integer
  19078. takemode:
  19079. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19080. type: integer
  19081. templatename:
  19082. description: 模板名称
  19083. type: string
  19084. templatetype:
  19085. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19086. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19087. type: integer
  19088. userid:
  19089. description: 所属用户
  19090. type: integer
  19091. type: object
  19092. models.WrPosition:
  19093. properties:
  19094. accountid:
  19095. description: 帐户ID
  19096. type: integer
  19097. buyexcuteqty:
  19098. description: 采购履约中数量
  19099. type: number
  19100. creditcurqty:
  19101. description: 授信当前数量(预售仓单:预售当前量)
  19102. type: number
  19103. creditenableqty:
  19104. description: '授信可用数量(预售仓单: 可用数量)'
  19105. type: number
  19106. creditfreezeqty:
  19107. description: '授信冻结数量(预售仓单: 当前数量)'
  19108. type: number
  19109. credittotalqty:
  19110. description: 授信总数量(预售仓单:预售总量)
  19111. type: number
  19112. credittradeqty:
  19113. description: 授信成交数量(预售仓单:成交总量)
  19114. type: number
  19115. deliverygoodscode:
  19116. description: 品种代码
  19117. type: string
  19118. deliverygoodsid:
  19119. description: 品种ID
  19120. type: integer
  19121. deliverygoodsname:
  19122. description: 品种名称
  19123. type: string
  19124. enalbeqty:
  19125. description: 可用数量
  19126. type: number
  19127. enumdicname:
  19128. description: 单位名称
  19129. type: string
  19130. freezeqty:
  19131. description: 总冻结数量
  19132. type: number
  19133. haswr:
  19134. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19135. type: integer
  19136. minivalue:
  19137. description: 现货商品最小变动值
  19138. type: integer
  19139. modifytime:
  19140. description: 修改时间(过户时间)
  19141. type: string
  19142. optioncompare:
  19143. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19144. type: string
  19145. pledgeqty:
  19146. description: 质押数量
  19147. type: number
  19148. querytype:
  19149. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19150. type: integer
  19151. sellexcuteqty:
  19152. description: 销售履约中数量
  19153. type: number
  19154. totalqty:
  19155. description: 总数量(库存数量)
  19156. type: number
  19157. warehouseid:
  19158. description: 仓库ID
  19159. type: integer
  19160. warehousename:
  19161. description: 仓库名称
  19162. type: string
  19163. wrfactortypeid:
  19164. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19165. type: string
  19166. wrfactortypename:
  19167. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19168. type: string
  19169. wrpositionid:
  19170. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19171. type: string
  19172. wrpositionno:
  19173. description: 仓单编号
  19174. type: string
  19175. wrstandardcode:
  19176. description: 现货商品代码
  19177. type: string
  19178. wrstandardid:
  19179. description: 现货商品ID
  19180. type: integer
  19181. wrstandardname:
  19182. description: 商品名称
  19183. type: string
  19184. wrtypename:
  19185. description: 商品
  19186. type: string
  19187. wruserid:
  19188. description: 持有人ID
  19189. type: integer
  19190. type: object
  19191. models.WrPreSaleInfo:
  19192. properties:
  19193. bannerpicurl:
  19194. description: Banner图
  19195. type: string
  19196. baseqty:
  19197. description: 中签基数
  19198. type: number
  19199. createtime:
  19200. description: 创建时间
  19201. type: string
  19202. deliverygoodsid:
  19203. description: 现货品种ID
  19204. type: integer
  19205. enddate:
  19206. description: 预售结束日期
  19207. type: string
  19208. enumdicname:
  19209. description: 单位名称
  19210. type: string
  19211. lotteryflag:
  19212. description: 摇号标识 - 0:未摇号 1:已摇号
  19213. type: integer
  19214. lotteryqty:
  19215. description: 摇号总量
  19216. type: number
  19217. luckyqty:
  19218. description: 已中签量
  19219. type: number
  19220. marketid:
  19221. description: 市场ID
  19222. type: integer
  19223. maxbuyqty:
  19224. description: 单人最大申购量
  19225. type: number
  19226. maxluckyqty:
  19227. description: 单人最大中签量
  19228. type: number
  19229. pictureurls:
  19230. description: 详情图片(逗号分隔)
  19231. type: string
  19232. placeqty:
  19233. description: 已配售量
  19234. type: number
  19235. presaleapplyid:
  19236. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19237. example: "0"
  19238. type: string
  19239. presaleqty:
  19240. description: 预售总量
  19241. type: number
  19242. presalestatus:
  19243. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19244. type: integer
  19245. sellaccountid:
  19246. description: 发行方资金账户ID
  19247. type: integer
  19248. selluserid:
  19249. description: 发行方用户ID
  19250. type: integer
  19251. sellwrtradeorderid:
  19252. description: 发行方卖委托单ID
  19253. type: string
  19254. startdate:
  19255. description: 预售开始日期
  19256. type: string
  19257. takestartdate:
  19258. description: 提货开始日期
  19259. type: string
  19260. thumurls:
  19261. description: 缩略图片(1:1)(逗号分隔)
  19262. type: string
  19263. tradedate:
  19264. description: 交易日
  19265. type: string
  19266. unitid:
  19267. description: 单位ID
  19268. type: integer
  19269. unitprice:
  19270. description: 商品单价
  19271. type: number
  19272. username:
  19273. description: 发行方用户名称
  19274. type: string
  19275. warehousecode:
  19276. description: 仓库代码(仓库简称)
  19277. type: string
  19278. warehouseid:
  19279. description: 仓库ID
  19280. type: integer
  19281. warehousename:
  19282. description: 仓库名称
  19283. type: string
  19284. wrfactortypeid:
  19285. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19286. example: "0"
  19287. type: string
  19288. wrstandardid:
  19289. description: 现货商品ID
  19290. type: integer
  19291. wrstandardname:
  19292. description: 现货商品名称
  19293. type: string
  19294. type: object
  19295. models.WrQuoteOrderMyq:
  19296. properties:
  19297. buyorsell:
  19298. description: 买卖 - 0:买 1:卖
  19299. type: integer
  19300. canbargain:
  19301. description: 是否可议价 - 0:不可 1:可
  19302. type: integer
  19303. canpart:
  19304. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19305. type: integer
  19306. delistminqty:
  19307. description: 期初均价
  19308. type: number
  19309. deliverygoodscode:
  19310. description: 品种代码
  19311. type: string
  19312. deliverygoodsid:
  19313. description: 品种ID
  19314. type: integer
  19315. deliverygoodsname:
  19316. description: 品种名称
  19317. type: string
  19318. deliverymonth:
  19319. description: 交收月
  19320. type: string
  19321. enumdicname:
  19322. description: 单位名称
  19323. type: string
  19324. fixedprice:
  19325. description: 买(卖)价
  19326. type: number
  19327. goodscode:
  19328. description: 商品合约代码
  19329. type: string
  19330. marginflag:
  19331. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19332. type: integer
  19333. marginvalue:
  19334. description: 保证金设置值
  19335. type: number
  19336. minivalue:
  19337. description: 现货商品最小变动值
  19338. type: integer
  19339. orderqty:
  19340. description: 买(卖)量(=委托量-成交量)
  19341. type: number
  19342. ordertime:
  19343. description: 委托时间
  19344. type: string
  19345. performancetemplateid:
  19346. description: 履约模板id
  19347. type: integer
  19348. pricemove:
  19349. description: 买(卖)升贴水- 基差
  19350. type: number
  19351. templatename:
  19352. description: 履约模板名称
  19353. type: string
  19354. userid:
  19355. description: 购买方(销售方)用户ID
  19356. type: integer
  19357. username:
  19358. description: 购买方(销售方)
  19359. type: string
  19360. validtime:
  19361. description: 有效期限
  19362. type: string
  19363. validtype:
  19364. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19365. type: integer
  19366. warehousename:
  19367. description: 仓库名称
  19368. type: string
  19369. wrfactortypeid:
  19370. description: 仓单要素id
  19371. type: string
  19372. wrstandardcode:
  19373. description: 现货商品代码
  19374. type: string
  19375. wrstandardid:
  19376. description: 现货商品ID
  19377. type: integer
  19378. wrstandardname:
  19379. description: 商品名称
  19380. type: string
  19381. wrtradeorderid:
  19382. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19383. type: string
  19384. wrtypename:
  19385. description: 商品
  19386. type: string
  19387. type: object
  19388. models.WrReckonSpotGoodsTradeSum:
  19389. properties:
  19390. begindate:
  19391. description: 开始日期(结果含开始日期) yyyymmdd
  19392. type: string
  19393. enddate:
  19394. description: 结束日期(结果含结束日期) yyyymmdd
  19395. type: string
  19396. istoday:
  19397. description: 是否当日
  19398. type: boolean
  19399. marketid:
  19400. description: 市场ID
  19401. type: integer
  19402. price:
  19403. description: 价格 = 日成交金额 / 日成交数量
  19404. type: string
  19405. reckondate:
  19406. description: 日期 格式 yyyymmdd
  19407. type: string
  19408. tradeamount:
  19409. description: 期初均价
  19410. type: number
  19411. tradeqty:
  19412. description: 期初均价
  19413. type: number
  19414. wrstandardid:
  19415. description: 现货商品ID
  19416. type: integer
  19417. type: object
  19418. models.WrScfContract:
  19419. properties:
  19420. borroweruserid:
  19421. description: 借款用户ID
  19422. type: integer
  19423. buybackwrpositionqty:
  19424. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19425. type: number
  19426. closeinterest:
  19427. description: 已结利息 -> 已结费用
  19428. type: number
  19429. currisklevel:
  19430. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19431. type: integer
  19432. deadline:
  19433. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19434. type: string
  19435. deliverygoodscode:
  19436. description: 品种代码
  19437. type: string
  19438. deliverygoodsid:
  19439. description: 品种ID
  19440. type: integer
  19441. deliverygoodsname:
  19442. description: 品种名称
  19443. type: string
  19444. enumdicname:
  19445. description: 单位名称
  19446. type: string
  19447. financingdays:
  19448. description: 天数(天)
  19449. type: integer
  19450. initmargin:
  19451. description: 保证金 - [仓单回购]
  19452. type: number
  19453. interestamount:
  19454. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19455. type: number
  19456. interestdebt:
  19457. description: 利息欠款(记录负数) -> 费用欠款
  19458. type: number
  19459. interestminlen:
  19460. description: 最小起息天数
  19461. type: integer
  19462. interestrate:
  19463. description: 利率
  19464. type: number
  19465. interestratemode:
  19466. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19467. type: integer
  19468. interestsettlemode:
  19469. description: 结息方式 - 1:按日结息 3:按月结息
  19470. type: integer
  19471. interestsettlevalue:
  19472. description: 结息方式值
  19473. type: integer
  19474. isautoloan:
  19475. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19476. type: integer
  19477. lastcloseinterestday:
  19478. description: 最近结息日(yyyyMMdd)
  19479. type: string
  19480. lenderamount:
  19481. description: 贷款金额 -> 借款金额
  19482. type: number
  19483. lenderuserid:
  19484. description: 贷款方用户ID -> 融出方用户ID
  19485. type: integer
  19486. lenderusername:
  19487. description: 融出方
  19488. type: string
  19489. marginratio:
  19490. description: 保证金比率质押率 - [仓单质押]
  19491. type: number
  19492. marketid:
  19493. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19494. type: integer
  19495. minivalue:
  19496. description: 现货商品最小变动值
  19497. type: integer
  19498. optioncompare:
  19499. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19500. type: string
  19501. pricemove:
  19502. description: 估值升贴水值
  19503. type: number
  19504. productdetailid:
  19505. description: 产品组合ID
  19506. type: integer
  19507. productid:
  19508. description: 金融产品ID
  19509. type: integer
  19510. productname:
  19511. description: 产品名称
  19512. type: string
  19513. remainamount:
  19514. description: 合同剩余金额 -> 剩余金额
  19515. type: number
  19516. remainwrpositionqty:
  19517. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19518. type: number
  19519. remark:
  19520. description: 备注
  19521. type: string
  19522. scfcontractid:
  19523. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19524. type: string
  19525. scfcontractstatus:
  19526. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19527. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19528. type: integer
  19529. scfcontracttype:
  19530. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19531. type: integer
  19532. startinterestday:
  19533. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19534. type: string
  19535. totalinterest:
  19536. description: 已计利息 -> 已计费用
  19537. type: number
  19538. unpaidinterest:
  19539. description: 期初均价
  19540. type: number
  19541. updatetime:
  19542. description: 更新时间
  19543. type: string
  19544. warehouseid:
  19545. description: 仓库ID
  19546. type: integer
  19547. warehousename:
  19548. description: 仓库名称
  19549. type: string
  19550. wrfactortypeid:
  19551. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19552. type: string
  19553. wrfactortypename:
  19554. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19555. type: string
  19556. wrqty:
  19557. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19558. type: number
  19559. wrstandardcode:
  19560. description: 现货商品代码
  19561. type: string
  19562. wrstandardid:
  19563. description: 现货商品ID
  19564. type: integer
  19565. wrstandardname:
  19566. description: 商品名称
  19567. type: string
  19568. wrtypename:
  19569. description: 商品
  19570. type: string
  19571. type: object
  19572. models.WrScfContractInterest:
  19573. properties:
  19574. closeinterest:
  19575. description: 已结利息
  19576. type: number
  19577. closeintereststatus:
  19578. description: 结息状态 - 1:未结 2:已结
  19579. type: integer
  19580. closetime:
  19581. description: 结息时间
  19582. type: string
  19583. closetradedate:
  19584. description: 结息交易日
  19585. type: string
  19586. creatorid:
  19587. description: 操作人ID
  19588. type: integer
  19589. dayrate:
  19590. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19591. type: number
  19592. interest:
  19593. description: 利息
  19594. type: number
  19595. interestamount:
  19596. description: 计息金额
  19597. type: number
  19598. interestday:
  19599. description: 计息日(yyyyMMdd)
  19600. type: string
  19601. scfcontractid:
  19602. description: SCF合同ID
  19603. type: string
  19604. scfcontractinterestid:
  19605. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19606. type: integer
  19607. updatetime:
  19608. description: 更新时间
  19609. type: string
  19610. type: object
  19611. models.WrSearchUser:
  19612. properties:
  19613. userid:
  19614. description: 用户ID
  19615. type: integer
  19616. username:
  19617. description: 用户名称(已脱敏)
  19618. type: string
  19619. username2:
  19620. description: 用户名称(未脱敏)
  19621. type: string
  19622. usertype:
  19623. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19624. type: integer
  19625. required:
  19626. - username
  19627. type: object
  19628. models.WrSiteColumnDetail:
  19629. properties:
  19630. brief:
  19631. description: 简介
  19632. type: string
  19633. context:
  19634. description: 内容
  19635. type: string
  19636. coverimage:
  19637. description: 封面图片
  19638. type: string
  19639. creaedate:
  19640. description: 创建时间
  19641. type: string
  19642. id:
  19643. description: ID(SEQ_SITE_COLUMNDETAIL)
  19644. type: integer
  19645. istop:
  19646. description: 是否置顶 - 0:不置 1:置顶
  19647. type: integer
  19648. publishdate:
  19649. description: 发布日期
  19650. type: string
  19651. title:
  19652. description: 标题
  19653. type: string
  19654. updatedate:
  19655. description: 修改时间
  19656. type: string
  19657. type: object
  19658. models.WrSpecialMatchOrder:
  19659. properties:
  19660. amount:
  19661. description: 金额 = 数量 * 价格
  19662. type: number
  19663. buyorsell:
  19664. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19665. type: integer
  19666. cancelqty:
  19667. description: 撤销数量
  19668. type: number
  19669. deliverygoodscode:
  19670. description: 品种代码
  19671. type: string
  19672. deliverygoodsid:
  19673. description: 品种ID
  19674. type: integer
  19675. deliverygoodsname:
  19676. description: 品种名称
  19677. type: string
  19678. enumdicname:
  19679. description: 单位名称
  19680. type: string
  19681. fixedprice:
  19682. description: 固定价格(价格)
  19683. type: number
  19684. haswr:
  19685. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19686. type: integer
  19687. isspecified:
  19688. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19689. type: integer
  19690. marketid:
  19691. description: 市场ID
  19692. type: integer
  19693. matchuserid:
  19694. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19695. type: integer
  19696. matchusername:
  19697. description: 指定方
  19698. type: string
  19699. minivalue:
  19700. description: 现货商品最小变动值
  19701. type: integer
  19702. optioncompare:
  19703. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19704. type: string
  19705. orderqty:
  19706. description: 委托数量
  19707. type: number
  19708. ordertime:
  19709. description: 委托时间
  19710. type: string
  19711. pricemove:
  19712. description: 升贴水(浮动价时填写) - [挂牌]
  19713. type: number
  19714. tradedate:
  19715. description: 交易日(yyyyMMdd)
  19716. type: string
  19717. tradeprice:
  19718. description: 成交价格
  19719. type: number
  19720. tradeqty:
  19721. description: 成交数量
  19722. type: number
  19723. userid:
  19724. description: 用户ID
  19725. type: integer
  19726. username:
  19727. description: 发起方
  19728. type: string
  19729. warehouseid:
  19730. description: 仓库ID
  19731. type: integer
  19732. warehousename:
  19733. description: 仓库名称
  19734. type: string
  19735. wrfactortypeid:
  19736. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19737. type: string
  19738. wrfactortypename:
  19739. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19740. type: string
  19741. wrpricetype:
  19742. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19743. type: integer
  19744. wrstandardcode:
  19745. description: 现货商品代码
  19746. type: string
  19747. wrstandardid:
  19748. description: 现货商品ID
  19749. type: integer
  19750. wrstandardname:
  19751. description: 商品名称
  19752. type: string
  19753. wrtradeorderid:
  19754. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19755. type: string
  19756. wrtradeorderstatus:
  19757. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19758. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19759. type: integer
  19760. wrtradetype:
  19761. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19762. type: integer
  19763. wrtypename:
  19764. description: 商品
  19765. type: string
  19766. type: object
  19767. models.WrSpotGroupTradeSum:
  19768. properties:
  19769. deliverygoodscode:
  19770. description: 现货品种代码
  19771. type: string
  19772. deliverygoodsid:
  19773. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19774. type: integer
  19775. deliverygoodsname:
  19776. description: 现货品种名称
  19777. type: string
  19778. lastavgprice:
  19779. description: 上上个交易日价格(前2天价格)
  19780. type: string
  19781. lastreckondate:
  19782. description: 上上个交易日(前2天交易日)
  19783. type: string
  19784. reckondate:
  19785. description: 上个交易日(前1天交易日)
  19786. type: string
  19787. todayavgprice:
  19788. description: 上个交易日价格(前1天价格)
  19789. type: string
  19790. updown:
  19791. description: 涨跌
  19792. type: string
  19793. updownratio:
  19794. description: 涨幅(已格式化, 直接显示即可)
  19795. type: string
  19796. type: object
  19797. models.WrSpotGroupTradeSumDetail:
  19798. properties:
  19799. deliverygoodsid:
  19800. description: 现货商品id
  19801. type: integer
  19802. price:
  19803. description: 价格
  19804. type: number
  19805. reckondate:
  19806. description: 日期(yyymmdd, 如:20211031)
  19807. type: string
  19808. type: object
  19809. models.WrSpotGroupTradeSumEx:
  19810. properties:
  19811. lst:
  19812. description: 指数列表
  19813. items:
  19814. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19815. type: array
  19816. prereckondate:
  19817. description: 上上个交易日(yyymmdd)
  19818. type: string
  19819. reckondate:
  19820. description: 上个交易日(yyyymmdd)
  19821. type: string
  19822. type: object
  19823. models.WrStandardFactoryItem:
  19824. properties:
  19825. dgfactoryitemid:
  19826. description: 选择项id
  19827. type: integer
  19828. dgfactoryitemvalue:
  19829. description: 要素项值
  19830. type: string
  19831. warehouseid:
  19832. description: 仓库id
  19833. type: integer
  19834. type: object
  19835. models.WrStandardFactoryItemEx:
  19836. properties:
  19837. dgfactoryitemtypeid:
  19838. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19839. type: integer
  19840. itemlst:
  19841. description: 要素项列表
  19842. items:
  19843. $ref: '#/definitions/models.WrStandardFactoryItem'
  19844. type: array
  19845. itemtypename:
  19846. description: 要素项类型名称
  19847. type: string
  19848. wrstandardid:
  19849. description: 品类
  19850. type: integer
  19851. type: object
  19852. models.WrTradeDetail:
  19853. properties:
  19854. accountid:
  19855. description: 资金账号
  19856. type: integer
  19857. bannerpicurl:
  19858. description: Banner图
  19859. type: string
  19860. begindate:
  19861. description: 开始交易日(yyyymmdd)
  19862. type: string
  19863. buyorsell:
  19864. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19865. type: integer
  19866. chargevalue:
  19867. description: 手续费
  19868. type: number
  19869. deliverygoodscode:
  19870. description: 品种代码
  19871. type: string
  19872. deliverygoodsid:
  19873. description: 品种ID
  19874. type: integer
  19875. deliverygoodsname:
  19876. description: 品种名称
  19877. type: string
  19878. deliverymonth:
  19879. description: 交收月
  19880. type: string
  19881. enddate:
  19882. description: 结束交易日(yyyymmdd)
  19883. type: string
  19884. enumdicname:
  19885. description: 单位名称
  19886. type: string
  19887. haswr:
  19888. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19889. type: integer
  19890. marketid:
  19891. description: 市场ID
  19892. type: integer
  19893. matchaccountid:
  19894. description: 对手账号
  19895. type: integer
  19896. matchusername:
  19897. description: 对手方
  19898. type: string
  19899. minivalue:
  19900. description: 现货商品最小变动值
  19901. type: integer
  19902. optioncompare:
  19903. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19904. type: string
  19905. thumurls:
  19906. description: 缩略图
  19907. type: string
  19908. tradedate:
  19909. description: 交易日(yyyyMMdd)
  19910. type: string
  19911. tradeprice:
  19912. description: 成交价格
  19913. type: number
  19914. tradeqty:
  19915. description: 成交数量
  19916. type: number
  19917. tradetime:
  19918. description: 成交时间
  19919. type: string
  19920. userid:
  19921. description: 用户ID
  19922. type: integer
  19923. warehouseid:
  19924. description: 仓库ID
  19925. type: integer
  19926. warehousename:
  19927. description: 仓库名称
  19928. type: string
  19929. wrfactortypeid:
  19930. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19931. type: string
  19932. wrfactortypename:
  19933. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19934. type: string
  19935. wrstandardcode:
  19936. description: 现货商品代码
  19937. type: string
  19938. wrstandardid:
  19939. description: 现货商品ID
  19940. type: integer
  19941. wrstandardname:
  19942. description: 商品名称
  19943. type: string
  19944. wrtradedetailid:
  19945. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19946. type: string
  19947. wrtradetype:
  19948. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19949. type: integer
  19950. wrtypename:
  19951. description: 商品
  19952. type: string
  19953. type: object
  19954. models.WrTradeOrderDetail:
  19955. properties:
  19956. buyorsell:
  19957. description: 买卖方向 0-买 1-卖
  19958. type: integer
  19959. goodsid:
  19960. description: 商品id
  19961. type: integer
  19962. orderid:
  19963. description: 委托单号
  19964. type: string
  19965. orderprice:
  19966. description: 期初均价
  19967. type: number
  19968. orderqty:
  19969. description: 委托数量
  19970. type: integer
  19971. userid:
  19972. description: 用户id
  19973. type: integer
  19974. username:
  19975. description: 用户名称(已脱敏)
  19976. type: string
  19977. type: object
  19978. models.WrTypeItem:
  19979. properties:
  19980. name:
  19981. description: 名称
  19982. type: string
  19983. value:
  19984. description: 值
  19985. type: string
  19986. type: object
  19987. models.WrUserFriend:
  19988. properties:
  19989. friendname:
  19990. description: 朋友名称(已脱敏)
  19991. type: string
  19992. frienduserid:
  19993. description: 朋友id
  19994. type: integer
  19995. isfriend:
  19996. description: 是否好友 0-不是 1-是
  19997. type: integer
  19998. userid:
  19999. description: 用户id
  20000. type: integer
  20001. type: object
  20002. models.WrUserReceiptInfo:
  20003. properties:
  20004. address:
  20005. description: 地址[发票类型:企业]
  20006. type: string
  20007. autoid:
  20008. description: AutoID
  20009. type: integer
  20010. contactinfo:
  20011. description: 联系方式
  20012. type: string
  20013. idnum:
  20014. description: 身份证号码[发票类型:个人]
  20015. type: string
  20016. isdefault:
  20017. description: 是否默认地址 - 0:否 1:是
  20018. type: integer
  20019. receiptaccount:
  20020. description: 发票帐号[发票类型:企业]
  20021. type: string
  20022. receiptbank:
  20023. description: 发票开户行[发票类型:企业]
  20024. type: string
  20025. receipttype:
  20026. description: 发票类型 - 1:个人 2:企业
  20027. type: integer
  20028. taxpayerid:
  20029. description: 纳税人识别号
  20030. type: string
  20031. userid:
  20032. description: 用户ID
  20033. type: integer
  20034. username:
  20035. description: 户名(个人姓名或企业名称)
  20036. type: string
  20037. type: object
  20038. models.Wrtradetradequote:
  20039. properties:
  20040. begindate:
  20041. description: 开始日期(结果含开始日期) yyyymmdd
  20042. type: string
  20043. buyaccountid:
  20044. description: 买方账号ID
  20045. type: integer
  20046. buyuserid:
  20047. description: 买方用户ID
  20048. type: integer
  20049. deliverygoodsid:
  20050. description: 现货品种ID
  20051. type: integer
  20052. enddate:
  20053. description: 结束日期(结果含结束日期) yyyymmdd
  20054. type: string
  20055. marketid:
  20056. description: 市场ID
  20057. type: integer
  20058. sellaccountid:
  20059. description: 卖方账号ID
  20060. type: integer
  20061. selluserid:
  20062. description: 卖方用户ID
  20063. type: integer
  20064. tradeamount:
  20065. description: 成交金额
  20066. type: number
  20067. tradedate:
  20068. description: 交易日(yyyyMMdd)
  20069. type: string
  20070. tradeprice:
  20071. description: 成交价格
  20072. type: number
  20073. tradeqty:
  20074. description: 成交数量
  20075. type: integer
  20076. tradetime:
  20077. description: 成交时间
  20078. type: string
  20079. wrfactortypeid:
  20080. description: 仓单要素类型ID
  20081. type: integer
  20082. wrstandardid:
  20083. description: 现货商品ID
  20084. type: integer
  20085. wrtradedetailid:
  20086. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20087. type: string
  20088. type: object
  20089. models.XHBRAND:
  20090. properties:
  20091. brandid:
  20092. description: 品牌id
  20093. type: integer
  20094. brandname:
  20095. description: 品牌名称
  20096. type: string
  20097. isvalid:
  20098. description: 是否有效 0-无效 1-有效
  20099. type: integer
  20100. type: object
  20101. models.XHDeliveryGoods:
  20102. properties:
  20103. areauserid:
  20104. description: 所属机构
  20105. type: integer
  20106. bdlst:
  20107. description: 品牌列表
  20108. items:
  20109. $ref: '#/definitions/models.XHBRAND'
  20110. type: array
  20111. deliverygoodscode:
  20112. description: 现货品种代码
  20113. type: string
  20114. deliverygoodsid:
  20115. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20116. type: integer
  20117. deliverygoodsname:
  20118. description: 现货品种名称
  20119. type: string
  20120. dgstatus:
  20121. description: 品种状态 - 作废 - 0:未激活 1:正常
  20122. type: integer
  20123. filterSubEmpty:
  20124. description: 过滤下级为空的
  20125. type: integer
  20126. isvalid:
  20127. description: 是否有效 - 0:无效 1:有效
  20128. type: integer
  20129. remark:
  20130. description: 备注
  20131. type: string
  20132. unitid:
  20133. description: 单位id(目前看,数据库中是空值)
  20134. type: integer
  20135. wdlst:
  20136. description: 品类(现货商品)列表
  20137. items:
  20138. $ref: '#/definitions/models.XHWrstandard'
  20139. type: array
  20140. type: object
  20141. models.XHMiddleGoods:
  20142. properties:
  20143. GPLST:
  20144. description: 期货品种列表
  20145. items:
  20146. $ref: '#/definitions/models.TBGoodsGroup'
  20147. type: array
  20148. convertratio:
  20149. description: 拆算系数
  20150. type: number
  20151. costratio:
  20152. description: 成本权重
  20153. type: number
  20154. deliverygoodsid:
  20155. description: 现货商品id
  20156. type: integer
  20157. enumdicname:
  20158. description: 单位名称
  20159. type: string
  20160. middlegoodscode:
  20161. description: 套保品种代码
  20162. type: string
  20163. middlegoodsid:
  20164. description: 套保品种id
  20165. type: integer
  20166. middlegoodsname:
  20167. description: 套保品种名称
  20168. type: string
  20169. unitid:
  20170. description: 单位id
  20171. type: integer
  20172. type: object
  20173. models.XHWrstandard:
  20174. properties:
  20175. bannerpicurl:
  20176. description: banner图
  20177. type: string
  20178. deliverygoodsid:
  20179. description: 品种ID
  20180. type: integer
  20181. enumdicname:
  20182. description: 单位名称
  20183. type: string
  20184. mglst:
  20185. description: 套保品列表
  20186. items:
  20187. $ref: '#/definitions/models.XHMiddleGoods'
  20188. type: array
  20189. pictureurls:
  20190. description: 详情图片(逗号分隔)
  20191. type: string
  20192. thumurls:
  20193. description: 缩略图片(1:1)(逗号分隔)
  20194. type: string
  20195. unitid:
  20196. description: 单位id
  20197. type: integer
  20198. vatrate:
  20199. description: 增值税率
  20200. type: number
  20201. wrstandardcode:
  20202. description: 现货商品代码
  20203. type: string
  20204. wrstandardid:
  20205. description: 现货商品ID(SEQ_WRSTANDARD)
  20206. type: integer
  20207. wrstandardname:
  20208. description: 现货商品名称
  20209. type: string
  20210. type: object
  20211. models.XhcpSellBackApplyEx:
  20212. properties:
  20213. applyremark:
  20214. description: 申请备注
  20215. type: string
  20216. expirytype:
  20217. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20218. type: integer
  20219. goodsspec:
  20220. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20221. type: integer
  20222. holeflag:
  20223. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20224. type: integer
  20225. isunopened:
  20226. description: 是否原封 - 1:否 2:是
  20227. type: integer
  20228. mpflag:
  20229. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20230. type: integer
  20231. openflag:
  20232. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20233. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20234. type: integer
  20235. phonenum:
  20236. description: 联系电话
  20237. type: string
  20238. userid:
  20239. description: 所属用户ID
  20240. type: integer
  20241. zpflag:
  20242. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20243. type: integer
  20244. required:
  20245. - userid
  20246. type: object
  20247. models.Xhcpsellbackapply:
  20248. properties:
  20249. applyid:
  20250. description: 申请人
  20251. type: integer
  20252. applyremark:
  20253. description: 申请备注
  20254. type: string
  20255. applysrc:
  20256. description: 申请来源 - 1:管理端 2:终端
  20257. type: integer
  20258. applystatus:
  20259. description: 申请状态 - 1:待确认 2:已处理
  20260. type: integer
  20261. applytime:
  20262. description: 申请时间
  20263. type: string
  20264. auditremark:
  20265. description: 审核备注
  20266. type: string
  20267. auditsrc:
  20268. description: 审核来源 - 1:管理端 2:终端
  20269. type: integer
  20270. expirytype:
  20271. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20272. type: integer
  20273. goodsspec:
  20274. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20275. type: integer
  20276. holeflag:
  20277. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20278. type: integer
  20279. isunopened:
  20280. description: 是否原封 - 1:否 2:是
  20281. type: integer
  20282. mpflag:
  20283. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20284. type: integer
  20285. openflag:
  20286. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20287. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20288. type: integer
  20289. phonenum:
  20290. description: 联系电话
  20291. type: string
  20292. sellbackapplyid:
  20293. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20294. type: string
  20295. userid:
  20296. description: 所属用户ID
  20297. type: integer
  20298. zpflag:
  20299. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20300. type: integer
  20301. required:
  20302. - userid
  20303. type: object
  20304. order.QueryHisTradeDetailRsp:
  20305. properties:
  20306. accountid:
  20307. description: 账户ID[报价币种]
  20308. type: integer
  20309. advanceratio:
  20310. description: 首付比率
  20311. type: number
  20312. buildtype:
  20313. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20314. type: integer
  20315. buyorsell:
  20316. description: 方向 - 0:买 1:卖
  20317. type: integer
  20318. charge:
  20319. description: 手续费
  20320. type: number
  20321. closecharge:
  20322. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20323. type: number
  20324. closeexchagechargevalue:
  20325. description: 平仓交易所手续费设置值
  20326. type: number
  20327. closefeealgorithm:
  20328. description: 平仓手续费收取方式 1:比率 2:固定
  20329. type: integer
  20330. closememberchargevalue:
  20331. description: 平仓会员手续费设置值
  20332. type: number
  20333. closepl:
  20334. description: 平仓盈亏
  20335. type: number
  20336. closepl2:
  20337. description: 平仓盈亏[逐笔]
  20338. type: number
  20339. closeqty:
  20340. description: 平仓数量(先建后平操作 需要记录)
  20341. type: number
  20342. creditamount:
  20343. description: 授信金额
  20344. type: number
  20345. decimalplace:
  20346. description: 商品报价小数位
  20347. type: integer
  20348. enumdicname:
  20349. description: 单位名称
  20350. type: string
  20351. gcaccountid:
  20352. description: 账户ID[合约币种]
  20353. type: integer
  20354. goodscode:
  20355. description: 商品代码
  20356. type: string
  20357. goodsid:
  20358. description: 商品ID
  20359. type: integer
  20360. goodsname:
  20361. description: 商品名称
  20362. type: string
  20363. goodunitid:
  20364. description: 商品单位id
  20365. type: integer
  20366. histradedate:
  20367. description: 历史交易日
  20368. type: string
  20369. intclosepl:
  20370. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20371. type: integer
  20372. isconfirmexercise:
  20373. description: 是否确认行权- 0:否 1:是
  20374. type: integer
  20375. ismain:
  20376. description: 是否主单 - 0:不是 1:是
  20377. type: integer
  20378. ispreexercise:
  20379. description: 是否预申报- 0:否 1:是
  20380. type: integer
  20381. isreckoned:
  20382. description: 是否结算 - 0:未结算 1:已结算
  20383. type: integer
  20384. isvaliddata:
  20385. description: 是否有效 - 0:无效 1:有效
  20386. type: integer
  20387. listingselecttype:
  20388. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20389. type: integer
  20390. marketid:
  20391. description: 市场ID
  20392. type: integer
  20393. marketname:
  20394. description: 市场名称
  20395. type: string
  20396. matchaccountid:
  20397. description: 对手账号id
  20398. type: integer
  20399. memberuserid:
  20400. description: 会员id 个人投资者 需要填写
  20401. type: integer
  20402. opencharge:
  20403. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20404. type: number
  20405. openexchagechargevalue:
  20406. description: 建仓交易所手续费设置值
  20407. type: number
  20408. openfeealgorithm:
  20409. description: 建仓手续费收取方式 1:比率 2:固定
  20410. type: integer
  20411. openmemberchargevalue:
  20412. description: 建仓会员手续费设置值
  20413. type: number
  20414. openqty:
  20415. description: 开仓数量(先建后平操作 需要记录)
  20416. type: number
  20417. optiontype:
  20418. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20419. type: integer
  20420. orderid:
  20421. description: 委托单号
  20422. type: string
  20423. payamount:
  20424. description: 支付金额(付款金额)
  20425. type: number
  20426. performanceplanid:
  20427. description: 履约计划ID[期权]
  20428. type: integer
  20429. performancestatus:
  20430. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20431. type: integer
  20432. preexerciseprice:
  20433. description: 预申报价格
  20434. type: number
  20435. premium:
  20436. description: 权利金 - [持仓单的权利金]
  20437. type: number
  20438. qtydecimalplace:
  20439. description: 商品报价小数位
  20440. type: integer
  20441. recvamount:
  20442. description: 到账金额 = 成交金额 - 手续费
  20443. type: number
  20444. relatedouttradeid:
  20445. description: 关联外部成交单ID
  20446. type: integer
  20447. status:
  20448. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20449. type: integer
  20450. totalamount:
  20451. description: 订单总额 = 成交金额 + 手续费
  20452. type: number
  20453. tradeamount:
  20454. description: 成交金额[账户币种,用于所有权]
  20455. type: number
  20456. tradedate:
  20457. description: 交易日(yyyyMMdd)
  20458. type: string
  20459. tradeid:
  20460. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20461. type: string
  20462. trademode:
  20463. description: 交易模式
  20464. type: integer
  20465. tradeprice:
  20466. description: 成交价格
  20467. type: number
  20468. tradeproperty:
  20469. description: 交易属性
  20470. type: integer
  20471. tradeqty:
  20472. description: 成交数量
  20473. type: number
  20474. tradetime:
  20475. description: 成交时间
  20476. type: string
  20477. tradetype:
  20478. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20479. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20480. type: integer
  20481. required:
  20482. - accountid
  20483. - buyorsell
  20484. - goodsid
  20485. - histradedate
  20486. - marketid
  20487. - memberuserid
  20488. - orderid
  20489. - tradeamount
  20490. - tradedate
  20491. - tradeid
  20492. - tradeprice
  20493. - tradeqty
  20494. - tradetime
  20495. type: object
  20496. order.QueryHisTradeOrderDetailRsp:
  20497. properties:
  20498. accountid:
  20499. description: 账户ID[报价币种]
  20500. type: integer
  20501. buildtype:
  20502. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20503. type: integer
  20504. buyorsell:
  20505. description: 买卖 - 0:买 1:卖
  20506. type: integer
  20507. cancelorderid:
  20508. description: 撤单单号(撤单时填写)
  20509. type: string
  20510. cancelqty:
  20511. description: 撤单数量
  20512. type: number
  20513. clientordertime:
  20514. description: 客户端委托时间
  20515. type: string
  20516. clientticket:
  20517. description: 客户端流水号
  20518. type: string
  20519. clienttype:
  20520. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20521. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20522. type: integer
  20523. closeexchagechargevalue:
  20524. description: 平仓交易所手续费设置值
  20525. type: number
  20526. closefeealgorithm:
  20527. description: 平仓手续费收取方式 1:比率 2:固定
  20528. type: integer
  20529. closefreezecharge:
  20530. description: 平仓冻结手续费(先建后平操作,需要记录)
  20531. type: number
  20532. closememberchargevalue:
  20533. description: 平仓会员手续费设置值
  20534. type: number
  20535. closeqty:
  20536. description: 平仓数量(先建后平操作 需要记录)
  20537. type: number
  20538. closetradeqty:
  20539. description: 平仓成交数量(先建后平操作,需要记录)
  20540. type: number
  20541. closeunfreezecharge:
  20542. description: 平仓解冻手续费(先建后平操作,需要记录)
  20543. type: number
  20544. decimalplace:
  20545. description: 商品报价小数位
  20546. type: integer
  20547. delistingtype:
  20548. description: 摘牌类型 - 1:价格最优 2:点选成交
  20549. type: integer
  20550. enumdicname:
  20551. description: 单位名称
  20552. type: string
  20553. freezecharge:
  20554. description: 冻结手续费
  20555. type: number
  20556. freezemargin:
  20557. description: 冻结保证金(冻结交易金额)
  20558. type: number
  20559. gcaccountid:
  20560. description: 账户ID[合约币种]
  20561. type: integer
  20562. goodscode:
  20563. description: 商品代码
  20564. type: string
  20565. goodsid:
  20566. description: 商品ID
  20567. type: integer
  20568. goodsname:
  20569. description: 商品名称
  20570. type: string
  20571. goodunitid:
  20572. description: 商品单位id
  20573. type: integer
  20574. histradedate:
  20575. description: 历史交易日
  20576. type: string
  20577. isconfirmexercise:
  20578. description: 是否确认行权- 0:否 1:是
  20579. type: integer
  20580. ispreexercise:
  20581. description: 是否预申报- 0:否 1:是
  20582. type: integer
  20583. isvaliddata:
  20584. description: 是否有效 - 0:无效 1:有效
  20585. type: integer
  20586. listingselecttype:
  20587. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20588. type: integer
  20589. marginalgorithm:
  20590. description: 保证金收取方式 1:比率 2:固定
  20591. type: integer
  20592. marginvalue:
  20593. description: 即市保证金设置值
  20594. type: number
  20595. marketid:
  20596. description: 市场ID
  20597. type: integer
  20598. marketmaxsub:
  20599. description: 市价最大偏移范围
  20600. type: number
  20601. marketname:
  20602. description: 市场名称
  20603. type: string
  20604. memberuserid:
  20605. description: 所属会员UserID
  20606. type: integer
  20607. openexchagechargevalue:
  20608. description: 建仓交易所手续费设置值
  20609. type: number
  20610. openfeealgorithm:
  20611. description: 建仓手续费收取方式 1:比率 2:固定
  20612. type: integer
  20613. openfreezecharge:
  20614. description: 开仓冻结手续费(先建后平操作,需要记录)
  20615. type: number
  20616. openmemberchargevalue:
  20617. description: 建仓会员手续费设置值
  20618. type: number
  20619. openqty:
  20620. description: 开仓数量(先建后平操作,需要记录)
  20621. type: number
  20622. opentradeqty:
  20623. description: 开仓成交数量(先建后平操作,需要记录)
  20624. type: number
  20625. openunfreezecharge:
  20626. description: 开仓解冻手续费(先建后平操作,需要记录)
  20627. type: number
  20628. operatetype:
  20629. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20630. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20631. 15:管理端协议转让
  20632. type: integer
  20633. operatorid:
  20634. description: 登录账号(LoginID)
  20635. type: integer
  20636. optiontype:
  20637. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20638. type: integer
  20639. orderid:
  20640. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20641. type: string
  20642. orderprice:
  20643. description: 委托价格
  20644. type: number
  20645. orderqty:
  20646. description: 委托数量
  20647. type: number
  20648. ordersrc:
  20649. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20650. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20651. type: integer
  20652. orderstatus:
  20653. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20654. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20655. 16:成交失败违约(荷兰式竞拍专用)
  20656. type: integer
  20657. ordertime:
  20658. description: 委托时间
  20659. type: string
  20660. preexerciseprice:
  20661. description: 预申报价格
  20662. type: number
  20663. premium:
  20664. description: 权利金
  20665. type: number
  20666. preorderid:
  20667. description: 关联预埋单号(止盈止损单时填写)
  20668. type: string
  20669. pricemode:
  20670. description: '取价方式 - 1:市价 2: 限价'
  20671. type: integer
  20672. qtydecimalplace:
  20673. description: 成交量小数位
  20674. type: integer
  20675. quoteid:
  20676. description: 报价单ID
  20677. type: integer
  20678. relatedid:
  20679. description: 关联单号(交割单)
  20680. type: string
  20681. retcode:
  20682. description: 错误代码
  20683. type: integer
  20684. sessionid:
  20685. description: 会话ID
  20686. type: integer
  20687. tradedate:
  20688. description: 交易日(yyyyMMdd)
  20689. type: string
  20690. trademode:
  20691. description: 交易模式
  20692. type: integer
  20693. tradeproperty:
  20694. description: 交易属性
  20695. type: integer
  20696. tradeqty:
  20697. description: 成交数量
  20698. type: number
  20699. unfreezecharge:
  20700. description: 解冻手续费
  20701. type: number
  20702. unfreezemargin:
  20703. description: 解冻保证金
  20704. type: number
  20705. updatetime:
  20706. description: 更新时间
  20707. type: string
  20708. uuid:
  20709. description: 发起端唯一id
  20710. type: string
  20711. validtime:
  20712. description: 有效期限
  20713. type: string
  20714. validtype:
  20715. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20716. type: integer
  20717. volumetype:
  20718. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20719. type: integer
  20720. required:
  20721. - accountid
  20722. - buildtype
  20723. - buyorsell
  20724. - goodsid
  20725. - histradedate
  20726. - marketid
  20727. - memberuserid
  20728. - operatetype
  20729. - orderid
  20730. - orderqty
  20731. - ordertime
  20732. - pricemode
  20733. - tradedate
  20734. - validtype
  20735. type: object
  20736. order.QueryTradeDetailRsp:
  20737. properties:
  20738. accountid:
  20739. description: 账户ID[报价币种]
  20740. type: integer
  20741. advanceratio:
  20742. description: 首付比率
  20743. type: number
  20744. buildtype:
  20745. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20746. type: integer
  20747. buyorsell:
  20748. description: 方向 - 0:买 1:卖
  20749. type: integer
  20750. charge:
  20751. description: 手续费
  20752. type: number
  20753. closecharge:
  20754. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20755. type: number
  20756. closeexchagechargevalue:
  20757. description: 平仓交易所手续费设置值
  20758. type: number
  20759. closefeealgorithm:
  20760. description: 平仓手续费收取方式 1:比率 2:固定
  20761. type: integer
  20762. closememberchargevalue:
  20763. description: 平仓会员手续费设置值
  20764. type: number
  20765. closepl:
  20766. description: 平仓盈亏
  20767. type: number
  20768. closepl2:
  20769. description: 平仓盈亏[逐笔]
  20770. type: number
  20771. closeqty:
  20772. description: 平仓数量(先建后平操作 需要记录)
  20773. type: number
  20774. creditamount:
  20775. description: 授信金额
  20776. type: number
  20777. decimalplace:
  20778. description: 商品报价小数位
  20779. type: integer
  20780. enumdicname:
  20781. description: 单位名称
  20782. type: string
  20783. gcaccountid:
  20784. description: 账户ID[合约币种]
  20785. type: integer
  20786. goodscode:
  20787. description: 商品代码
  20788. type: string
  20789. goodsid:
  20790. description: 商品ID
  20791. type: integer
  20792. goodsname:
  20793. description: 商品名称
  20794. type: string
  20795. goodunitid:
  20796. description: 商品单位id
  20797. type: integer
  20798. intclosepl:
  20799. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20800. type: integer
  20801. isconfirmexercise:
  20802. description: 是否确认行权- 0:否 1:是
  20803. type: integer
  20804. ismain:
  20805. description: 是否主单 - 0:不是 1:是
  20806. type: integer
  20807. ispreexercise:
  20808. description: 是否预申报- 0:否 1:是
  20809. type: integer
  20810. isreckoned:
  20811. description: 是否结算 - 0:未结算 1:已结算
  20812. type: integer
  20813. listingselecttype:
  20814. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20815. type: integer
  20816. marketid:
  20817. description: 市场ID
  20818. type: integer
  20819. marketname:
  20820. description: 市场名称
  20821. type: string
  20822. matchaccountid:
  20823. description: 对手账号id
  20824. type: integer
  20825. memberuserid:
  20826. description: 会员id 个人投资者 需要填写
  20827. type: integer
  20828. opencharge:
  20829. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20830. type: number
  20831. openexchagechargevalue:
  20832. description: 建仓交易所手续费设置值
  20833. type: number
  20834. openfeealgorithm:
  20835. description: 建仓手续费收取方式 1:比率 2:固定
  20836. type: integer
  20837. openmemberchargevalue:
  20838. description: 建仓会员手续费设置值
  20839. type: number
  20840. openqty:
  20841. description: 开仓数量(先建后平操作 需要记录)
  20842. type: number
  20843. optiontype:
  20844. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20845. type: integer
  20846. orderid:
  20847. description: 委托单号
  20848. type: string
  20849. payamount:
  20850. description: 支付金额(付款金额)
  20851. type: number
  20852. performanceplanid:
  20853. description: 履约计划ID[期权]
  20854. type: integer
  20855. performancestatus:
  20856. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20857. type: integer
  20858. preexerciseprice:
  20859. description: 预申报价格
  20860. type: number
  20861. premium:
  20862. description: 权利金 - [持仓单的权利金]
  20863. type: number
  20864. qtydecimalplace:
  20865. description: 商品报价小数位
  20866. type: integer
  20867. recvamount:
  20868. description: 到账金额 = 成交金额 - 手续费
  20869. type: number
  20870. relatedouttradeid:
  20871. description: 关联外部成交单ID
  20872. type: integer
  20873. status:
  20874. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20875. type: integer
  20876. totalamount:
  20877. description: 订单总额 = 成交金额 + 手续费
  20878. type: number
  20879. tradeamount:
  20880. description: 成交金额[账户币种,用于所有权]
  20881. type: number
  20882. tradedate:
  20883. description: 交易日(yyyyMMdd)
  20884. type: string
  20885. tradeid:
  20886. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20887. type: string
  20888. trademode:
  20889. description: 交易模式
  20890. type: integer
  20891. tradeprice:
  20892. description: 成交价格
  20893. type: number
  20894. tradeproperty:
  20895. description: 交易属性
  20896. type: integer
  20897. tradeqty:
  20898. description: 成交数量
  20899. type: number
  20900. tradetime:
  20901. description: 成交时间
  20902. type: string
  20903. tradetype:
  20904. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20905. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20906. type: integer
  20907. required:
  20908. - accountid
  20909. - buyorsell
  20910. - goodsid
  20911. - marketid
  20912. - memberuserid
  20913. - orderid
  20914. - tradeamount
  20915. - tradedate
  20916. - tradeid
  20917. - tradeprice
  20918. - tradeqty
  20919. - tradetime
  20920. type: object
  20921. order.QueryTradeOrderDetailRsp:
  20922. properties:
  20923. accountid:
  20924. description: 账户ID[报价币种]
  20925. type: integer
  20926. buildtype:
  20927. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20928. type: integer
  20929. buyorsell:
  20930. description: 买卖 - 0:买 1:卖
  20931. type: integer
  20932. cancelorderid:
  20933. description: 撤单单号(撤单时填写)
  20934. type: string
  20935. cancelqty:
  20936. description: 撤单数量
  20937. type: number
  20938. clienttype:
  20939. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20940. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20941. type: integer
  20942. closefreezecharge:
  20943. description: 平仓冻结手续费(先建后平操作,需要记录)
  20944. type: number
  20945. closeqty:
  20946. description: 平仓数量(先建后平操作 需要记录)
  20947. type: number
  20948. closetradeqty:
  20949. description: 平仓成交数量(先建后平操作,需要记录)
  20950. type: number
  20951. closeunfreezecharge:
  20952. description: 平仓解冻手续费(先建后平操作,需要记录)
  20953. type: number
  20954. decimalplace:
  20955. description: 商品报价小数位
  20956. type: integer
  20957. delistingtype:
  20958. description: 摘牌类型 - 1:价格最优 2:点选成交
  20959. type: integer
  20960. enableqty:
  20961. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20962. type: number
  20963. enumdicname:
  20964. description: 单位名称
  20965. type: string
  20966. freezecharge:
  20967. description: 冻结手续费
  20968. type: number
  20969. freezemargin:
  20970. description: 冻结保证金(冻结交易金额)
  20971. type: number
  20972. goodscode:
  20973. description: 商品代码
  20974. type: string
  20975. goodsid:
  20976. description: 商品ID
  20977. type: integer
  20978. goodsname:
  20979. description: 商品名称
  20980. type: string
  20981. goodunitid:
  20982. description: 商品单位id
  20983. type: integer
  20984. listingselecttype:
  20985. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20986. type: integer
  20987. marketid:
  20988. description: 市场ID
  20989. type: integer
  20990. marketname:
  20991. description: 市场名称
  20992. type: string
  20993. openfreezecharge:
  20994. description: 开仓冻结手续费(先建后平操作,需要记录)
  20995. type: number
  20996. openqty:
  20997. description: 开仓数量(先建后平操作,需要记录)
  20998. type: number
  20999. opentradeqty:
  21000. description: 开仓成交数量(先建后平操作,需要记录)
  21001. type: number
  21002. openunfreezecharge:
  21003. description: 开仓解冻手续费(先建后平操作,需要记录)
  21004. type: number
  21005. operatetype:
  21006. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21007. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21008. 15:管理端协议转让
  21009. type: integer
  21010. operatorid:
  21011. description: 登录账号(LoginID)
  21012. type: integer
  21013. orderid:
  21014. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21015. type: string
  21016. orderprice:
  21017. description: 委托价格
  21018. type: number
  21019. orderqty:
  21020. description: 委托数量
  21021. type: number
  21022. ordersrc:
  21023. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21024. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21025. type: integer
  21026. orderstatus:
  21027. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21028. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21029. 16:成交失败违约(荷兰式竞拍专用)
  21030. type: integer
  21031. ordertime:
  21032. description: 委托时间
  21033. type: string
  21034. preorderid:
  21035. description: 关联预埋单号(止盈止损单时填写)
  21036. type: string
  21037. pricemode:
  21038. description: '取价方式 - 1:市价 2: 限价'
  21039. type: integer
  21040. qtydecimalplace:
  21041. description: 商品报价小数位
  21042. type: integer
  21043. relatedid:
  21044. description: 关联单号(交割单)
  21045. type: string
  21046. tradedate:
  21047. description: 交易日(yyyyMMdd)
  21048. type: string
  21049. trademode:
  21050. description: 交易模式
  21051. type: integer
  21052. tradeqty:
  21053. description: 成交数量
  21054. type: number
  21055. unfreezecharge:
  21056. description: 解冻手续费
  21057. type: number
  21058. unfreezemargin:
  21059. description: 解冻保证金
  21060. type: number
  21061. validtime:
  21062. description: 有效期限
  21063. type: string
  21064. validtype:
  21065. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21066. type: integer
  21067. volumetype:
  21068. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21069. type: integer
  21070. required:
  21071. - accountid
  21072. - buildtype
  21073. - buyorsell
  21074. - goodsid
  21075. - marketid
  21076. - operatetype
  21077. - orderqty
  21078. - ordertime
  21079. - pricemode
  21080. - tradedate
  21081. - validtype
  21082. type: object
  21083. order.QueryTradePositionRsp:
  21084. properties:
  21085. accountid:
  21086. description: 资金账户
  21087. type: integer
  21088. agreeunit:
  21089. description: 合约单位
  21090. type: number
  21091. averageprice:
  21092. description: 持仓均价
  21093. type: number
  21094. buyorsell:
  21095. description: 方向 - 0:买 1:卖
  21096. type: integer
  21097. closetotalqty:
  21098. description: 平仓总数量
  21099. type: number
  21100. curholderamount:
  21101. description: 当前持仓总金额[商品币种]
  21102. type: number
  21103. curpositionqty:
  21104. description: 当前持仓总数量
  21105. type: number
  21106. currencyid:
  21107. description: 报价货币ID
  21108. type: integer
  21109. curtdposition:
  21110. description: 期末今日头寸
  21111. type: number
  21112. decimalplace:
  21113. description: 报价小数位
  21114. type: integer
  21115. enableqty:
  21116. description: 可用量
  21117. type: number
  21118. fretdposition:
  21119. description: 冻结今日头寸
  21120. type: number
  21121. frozenqty:
  21122. description: 持仓冻结数量
  21123. type: number
  21124. goodscode:
  21125. description: 商品代码
  21126. type: string
  21127. goodsid:
  21128. description: 商品Id
  21129. type: integer
  21130. goodsname:
  21131. description: 商品名称
  21132. type: string
  21133. goodunit:
  21134. description: 报价单位
  21135. type: string
  21136. goodunitid:
  21137. description: 报价单位ID
  21138. type: integer
  21139. holderamount:
  21140. description: 期初持仓总金额[商品币种]
  21141. type: number
  21142. lastprice:
  21143. description: 最新价
  21144. type: number
  21145. marketamount:
  21146. description: 市值
  21147. type: number
  21148. marketid:
  21149. description: 所属市场ID
  21150. type: integer
  21151. openreqqty:
  21152. description: 开仓申请数量(用于比较最大持仓数量)
  21153. type: number
  21154. opentotalqty:
  21155. description: 开仓总数量
  21156. type: number
  21157. otherfrozenqty:
  21158. description: 持仓其他冻结数量(交割冻结)
  21159. type: number
  21160. positionpl:
  21161. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21162. * 合约单位
  21163. type: number
  21164. positionplrate:
  21165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21166. type: number
  21167. positionqty:
  21168. description: 期初持仓数量
  21169. type: number
  21170. qtydecimalplace:
  21171. description: 成交量小数位
  21172. type: integer
  21173. refgoodscode:
  21174. description: 参考商品代码
  21175. type: string
  21176. refgoodsid:
  21177. description: 参考商品ID
  21178. type: integer
  21179. tnqty:
  21180. description: T+N冻结总量
  21181. type: number
  21182. tnusedqty:
  21183. description: T+N使用量(可以使用T+N的冻结数量)
  21184. type: number
  21185. trademode:
  21186. description: 交易模式
  21187. type: integer
  21188. tradeproperty:
  21189. description: 交易属性
  21190. type: integer
  21191. usedmargin:
  21192. description: 占用保证金[商品币种]
  21193. type: number
  21194. required:
  21195. - goodsid
  21196. type: object
  21197. pb.GoodsMarginCfgStruct:
  21198. properties:
  21199. CustomerTypeID:
  21200. description: 投资者客户类型
  21201. type: integer
  21202. GoodsID:
  21203. description: 商品ID
  21204. type: integer
  21205. IsDefault:
  21206. description: 是否默认标志位
  21207. type: integer
  21208. LockMarginValue:
  21209. description: 锁仓保证金
  21210. type: number
  21211. MarginAlgorithm:
  21212. description: 保证金计算方式
  21213. type: integer
  21214. MarketMarginValue:
  21215. description: 即市保证金值
  21216. type: number
  21217. RealMarginAlgorithm:
  21218. description: 实付保证金计算方式
  21219. type: integer
  21220. RealMarginValue:
  21221. description: 实付比例
  21222. type: number
  21223. ReckonMarginValue:
  21224. description: 结算保证金值
  21225. type: number
  21226. type: object
  21227. quote.HistoryData:
  21228. properties:
  21229. c:
  21230. description: 收盘价
  21231. type: number
  21232. f:
  21233. description: 是否补充数据
  21234. type: boolean
  21235. h:
  21236. description: 最高价
  21237. type: number
  21238. hv:
  21239. description: 持仓量
  21240. type: integer
  21241. l:
  21242. description: 最低价
  21243. type: number
  21244. o:
  21245. description: 开盘价
  21246. type: number
  21247. s:
  21248. description: 结算价,日线周期(包括)以上才有
  21249. type: number
  21250. ts:
  21251. description: 时间
  21252. type: string
  21253. tt:
  21254. description: 总金额
  21255. type: number
  21256. tv:
  21257. description: 总量(成交量)
  21258. type: integer
  21259. type: object
  21260. quote.HistoryTikData:
  21261. properties:
  21262. AV:
  21263. description: 卖量
  21264. type: integer
  21265. Ask:
  21266. description: 卖价
  21267. type: number
  21268. BV:
  21269. description: 买量
  21270. type: integer
  21271. Bid:
  21272. description: 买价
  21273. type: number
  21274. HI:
  21275. description: 单笔持仓
  21276. type: integer
  21277. HV:
  21278. description: 持仓量
  21279. type: integer
  21280. PE:
  21281. description: 现价
  21282. type: number
  21283. TDR:
  21284. description: 交易方向,0:买 1:卖
  21285. type: integer
  21286. TK:
  21287. description: 交易类型
  21288. type: integer
  21289. TS:
  21290. description: 行情时间文本
  21291. type: string
  21292. TT:
  21293. description: 现金额
  21294. type: number
  21295. Vol:
  21296. description: 现量
  21297. type: integer
  21298. type: object
  21299. quote.QueryQuoteDayRsp:
  21300. properties:
  21301. ask:
  21302. description: 卖1
  21303. type: number
  21304. ask2:
  21305. description: 卖2
  21306. type: number
  21307. ask3:
  21308. description: 卖3
  21309. type: number
  21310. ask4:
  21311. description: 卖4
  21312. type: number
  21313. ask5:
  21314. description: 卖5
  21315. type: number
  21316. ask6:
  21317. description: 卖6
  21318. type: number
  21319. ask7:
  21320. description: 卖7
  21321. type: number
  21322. ask8:
  21323. description: 卖8
  21324. type: number
  21325. ask9:
  21326. description: 卖9
  21327. type: number
  21328. ask10:
  21329. description: 卖10
  21330. type: number
  21331. askorderid:
  21332. description: 卖单号1
  21333. type: integer
  21334. askorderid2:
  21335. description: 卖单号2
  21336. type: integer
  21337. askorderid3:
  21338. description: 卖单号3
  21339. type: integer
  21340. askorderid4:
  21341. description: 卖单号4
  21342. type: integer
  21343. askorderid5:
  21344. description: 卖单号5
  21345. type: integer
  21346. askordervolume:
  21347. description: 卖单量1
  21348. type: integer
  21349. askordervolume2:
  21350. description: 卖单量2
  21351. type: integer
  21352. askordervolume3:
  21353. description: 卖单量3
  21354. type: integer
  21355. askordervolume4:
  21356. description: 卖单量4
  21357. type: integer
  21358. askordervolume5:
  21359. description: 卖单量5
  21360. type: integer
  21361. askordervolume6:
  21362. description: 卖单量6
  21363. type: integer
  21364. askordervolume7:
  21365. description: 卖单量7
  21366. type: integer
  21367. askordervolume8:
  21368. description: 卖单量8
  21369. type: integer
  21370. askordervolume9:
  21371. description: 卖单量9
  21372. type: integer
  21373. askordervolume10:
  21374. description: 卖单量10
  21375. type: integer
  21376. askqueueinfo:
  21377. description: 大利市卖港股用
  21378. type: string
  21379. askvolume:
  21380. description: 卖量1
  21381. type: integer
  21382. askvolume2:
  21383. description: 卖量2
  21384. type: integer
  21385. askvolume3:
  21386. description: 卖量3
  21387. type: integer
  21388. askvolume4:
  21389. description: 卖量4
  21390. type: integer
  21391. askvolume5:
  21392. description: 卖量5
  21393. type: integer
  21394. askvolume6:
  21395. description: 卖量6
  21396. type: integer
  21397. askvolume7:
  21398. description: 卖量7
  21399. type: integer
  21400. askvolume8:
  21401. description: 卖量8
  21402. type: integer
  21403. askvolume9:
  21404. description: 卖量9
  21405. type: integer
  21406. askvolume10:
  21407. description: 卖量10
  21408. type: integer
  21409. averageprice:
  21410. description: 均价
  21411. type: number
  21412. bid:
  21413. description: 买1
  21414. type: number
  21415. bid2:
  21416. description: 买2
  21417. type: number
  21418. bid3:
  21419. description: 买3
  21420. type: number
  21421. bid4:
  21422. description: 买4
  21423. type: number
  21424. bid5:
  21425. description: 买5
  21426. type: number
  21427. bid6:
  21428. description: 买6
  21429. type: number
  21430. bid7:
  21431. description: 买7
  21432. type: number
  21433. bid8:
  21434. description: 买8
  21435. type: number
  21436. bid9:
  21437. description: 买9
  21438. type: number
  21439. bid10:
  21440. description: 买10
  21441. type: number
  21442. bidorderid:
  21443. description: 买单号1
  21444. type: integer
  21445. bidorderid2:
  21446. description: 买单号2
  21447. type: integer
  21448. bidorderid3:
  21449. description: 买单号3
  21450. type: integer
  21451. bidorderid4:
  21452. description: 买单号4
  21453. type: integer
  21454. bidorderid5:
  21455. description: 买单号5
  21456. type: integer
  21457. bidordervolume:
  21458. description: 买单量1
  21459. type: integer
  21460. bidordervolume2:
  21461. description: 买单量2
  21462. type: integer
  21463. bidordervolume3:
  21464. description: 买单量3
  21465. type: integer
  21466. bidordervolume4:
  21467. description: 买单量4
  21468. type: integer
  21469. bidordervolume5:
  21470. description: 买单量5
  21471. type: integer
  21472. bidordervolume6:
  21473. description: 买单量6
  21474. type: integer
  21475. bidordervolume7:
  21476. description: 买单量7
  21477. type: integer
  21478. bidordervolume8:
  21479. description: 买单量8
  21480. type: integer
  21481. bidordervolume9:
  21482. description: 买单量9
  21483. type: integer
  21484. bidordervolume10:
  21485. description: 买单量10
  21486. type: integer
  21487. bidqueueinfo:
  21488. description: 大利市买港股用
  21489. type: string
  21490. bidvolume:
  21491. description: 买量1
  21492. type: integer
  21493. bidvolume2:
  21494. description: 买量2
  21495. type: integer
  21496. bidvolume3:
  21497. description: 买量3
  21498. type: integer
  21499. bidvolume4:
  21500. description: 买量4
  21501. type: integer
  21502. bidvolume5:
  21503. description: 买量5
  21504. type: integer
  21505. bidvolume6:
  21506. description: 买量6
  21507. type: integer
  21508. bidvolume7:
  21509. description: 买量7
  21510. type: integer
  21511. bidvolume8:
  21512. description: 买量8
  21513. type: integer
  21514. bidvolume9:
  21515. description: 买量9
  21516. type: integer
  21517. bidvolume10:
  21518. description: 买量10
  21519. type: integer
  21520. calloptionpremiums:
  21521. description: 认购期权1
  21522. type: integer
  21523. calloptionpremiums2:
  21524. description: 认购期权2
  21525. type: integer
  21526. calloptionpremiums3:
  21527. description: 认购期权3
  21528. type: integer
  21529. calloptionpremiums4:
  21530. description: 认购期权4
  21531. type: integer
  21532. calloptionpremiums5:
  21533. description: 认购期权5
  21534. type: integer
  21535. cleartime:
  21536. description: 清盘时间
  21537. type: integer
  21538. exchangecode:
  21539. description: 交易所代码
  21540. type: integer
  21541. exchangedate:
  21542. description: 交易日
  21543. type: integer
  21544. goodscode:
  21545. description: 商品代码
  21546. type: string
  21547. grepmarketprice:
  21548. description: 暗盘价 港股专用
  21549. type: number
  21550. highest:
  21551. description: 最高价
  21552. type: number
  21553. holdincrement:
  21554. description: 单笔持仓
  21555. type: integer
  21556. holdvolume:
  21557. description: 持仓
  21558. type: integer
  21559. iep:
  21560. description: 平衡价 港股专用
  21561. type: number
  21562. iev:
  21563. description: 平衡量 港股专用
  21564. type: number
  21565. inventory:
  21566. description: 库存
  21567. type: integer
  21568. iscleared:
  21569. description: 是否清盘标志
  21570. type: integer
  21571. issettled:
  21572. description: 是否结算标志
  21573. type: integer
  21574. last:
  21575. description: 最新价
  21576. type: number
  21577. lastlot:
  21578. description: 最新成交手数
  21579. type: integer
  21580. lasttime:
  21581. description: 行情时间(只有现价变化行情时间才变化)
  21582. type: string
  21583. lastturnover:
  21584. description: 最新成交金额
  21585. type: number
  21586. lastvolume:
  21587. description: 最新成交量
  21588. type: integer
  21589. limitdown:
  21590. description: 跌停价
  21591. type: number
  21592. limitup:
  21593. description: 涨停价
  21594. type: number
  21595. lowest:
  21596. description: 最低价
  21597. type: number
  21598. nontotalholdervolume:
  21599. description: 非交易持仓量
  21600. type: integer
  21601. nontotallot:
  21602. description: 非交易总手数
  21603. type: integer
  21604. nontotalturnover:
  21605. description: 非交易总金额
  21606. type: integer
  21607. nontotalvolume:
  21608. description: 非交易总量
  21609. type: integer
  21610. opened:
  21611. description: 开盘价
  21612. type: number
  21613. opentime:
  21614. description: 开盘时间
  21615. type: string
  21616. orderid:
  21617. description: 序号
  21618. type: integer
  21619. preclose:
  21620. description: 昨收
  21621. type: number
  21622. preholdvolume:
  21623. description: 昨持仓
  21624. type: integer
  21625. presettle:
  21626. description: 昨结价
  21627. type: number
  21628. publictradetype:
  21629. description: 公共交易标志类型 港股专用
  21630. type: string
  21631. putoptionpremiums:
  21632. description: 认沽期权1
  21633. type: integer
  21634. putoptionpremiums2:
  21635. description: 认沽期权2
  21636. type: integer
  21637. putoptionpremiums3:
  21638. description: 认沽期权3
  21639. type: integer
  21640. putoptionpremiums4:
  21641. description: 认沽期权4
  21642. type: integer
  21643. putoptionpremiums5:
  21644. description: 认沽期权5
  21645. type: integer
  21646. settle:
  21647. description: 结算价
  21648. type: number
  21649. strikeprice:
  21650. description: 发行价
  21651. type: number
  21652. totalaskvolume:
  21653. description: 内盘
  21654. type: integer
  21655. totalbidvolume:
  21656. description: 外盘
  21657. type: integer
  21658. totallot:
  21659. description: 总手数
  21660. type: integer
  21661. totalturnover:
  21662. description: 总金额
  21663. type: number
  21664. totalvolume:
  21665. description: 总量
  21666. type: integer
  21667. utclasttime:
  21668. description: utc的行情时间
  21669. type: string
  21670. type: object
  21671. quote.QueryTSDataRsp:
  21672. properties:
  21673. Count:
  21674. description: 交易日应有数据个数
  21675. type: integer
  21676. decimalPlace:
  21677. description: 小数位
  21678. type: integer
  21679. endTime:
  21680. description: 结束时间
  21681. type: string
  21682. goodsCode:
  21683. description: 商品代码
  21684. type: string
  21685. historyDatas:
  21686. description: 历史数据
  21687. items:
  21688. $ref: '#/definitions/quote.HistoryData'
  21689. type: array
  21690. outGoodsCode:
  21691. description: 外部商品代码
  21692. type: string
  21693. preSettle:
  21694. description: 昨结价
  21695. type: number
  21696. runSteps:
  21697. description: 交易日开休市计划
  21698. items:
  21699. $ref: '#/definitions/quote.TSDataRunStep'
  21700. type: array
  21701. startTime:
  21702. description: 开始时间
  21703. type: string
  21704. tradeDate:
  21705. description: 交易日
  21706. type: string
  21707. type: object
  21708. quote.TSDataRunStep:
  21709. properties:
  21710. end:
  21711. description: 真实结束时间
  21712. type: string
  21713. endflag:
  21714. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21715. type: integer
  21716. endtime:
  21717. description: 结束时间(HH:mm)
  21718. type: string
  21719. endweekday:
  21720. description: 结束周几
  21721. type: integer
  21722. groupid:
  21723. description: 分组ID
  21724. type: integer
  21725. runstep:
  21726. description: 运行阶段 - 2:连续交易
  21727. type: integer
  21728. sectionid:
  21729. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21730. 结束时间=结算时间 结束周几=结算周几
  21731. type: integer
  21732. start:
  21733. description: 真实开始时间
  21734. type: string
  21735. startflag:
  21736. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21737. type: integer
  21738. starttime:
  21739. description: 起始时间(HH:mm)
  21740. type: string
  21741. startweekday:
  21742. description: 起始周几
  21743. type: integer
  21744. tradeweekday:
  21745. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21746. type: integer
  21747. type: object
  21748. szdz.QueryConvertLogRsp:
  21749. properties:
  21750. accountid:
  21751. description: 资金账户ID
  21752. type: integer
  21753. clientticket:
  21754. description: 客户端流水号
  21755. type: string
  21756. converttype:
  21757. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21758. type: integer
  21759. createtime:
  21760. description: 记账时间
  21761. type: string
  21762. daymaxvalue:
  21763. description: 配置当日最大转入限制
  21764. type: number
  21765. daymaxvalue2:
  21766. description: 配置当日最大转入限制(转入)
  21767. type: number
  21768. goodscode:
  21769. description: 商品代码
  21770. type: string
  21771. goodsname:
  21772. description: 商品名称
  21773. type: string
  21774. handlestatus:
  21775. description: 处理状态
  21776. type: integer
  21777. innergoodsid:
  21778. description: 内部商品ID
  21779. type: integer
  21780. inratio:
  21781. description: 配置转入比值
  21782. type: integer
  21783. invalue:
  21784. description: 目标值
  21785. type: number
  21786. logid:
  21787. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21788. type: integer
  21789. mobile:
  21790. description: 手机号码(加密存储)
  21791. type: string
  21792. outergoodscode:
  21793. description: 外部商品代码[JD\PD]
  21794. type: string
  21795. outratio:
  21796. description: 配置转出比值
  21797. type: integer
  21798. outvalue:
  21799. description: 源值
  21800. type: number
  21801. pddecimalplace:
  21802. description: PD小数位
  21803. type: integer
  21804. qty:
  21805. description: 数量
  21806. type: string
  21807. remark:
  21808. description: 备注
  21809. type: string
  21810. sessionid:
  21811. description: 会话ID
  21812. type: integer
  21813. timemaxvalue:
  21814. description: 配置单次最大转入限制
  21815. type: number
  21816. timemaxvalue2:
  21817. description: 配置单次最大转入限制(转入)
  21818. type: number
  21819. timeminvalue:
  21820. description: 配置单次最小数量限制
  21821. type: number
  21822. timeminvalue2:
  21823. description: 配置单次最小数量限制(转入)
  21824. type: number
  21825. tradedate:
  21826. description: 交易日(yyyyMMdd)
  21827. type: string
  21828. userid:
  21829. description: 用户ID
  21830. type: integer
  21831. required:
  21832. - logid
  21833. type: object
  21834. szdz.QueryGoodsPickupRsp:
  21835. properties:
  21836. accountid:
  21837. description: 账户ID
  21838. type: integer
  21839. address:
  21840. description: 提货人详细地址
  21841. type: string
  21842. auditer:
  21843. description: 审核人
  21844. type: integer
  21845. audittime:
  21846. description: 审核时间
  21847. type: string
  21848. cardnum:
  21849. description: 提货人证件号码
  21850. type: string
  21851. cardtypeid:
  21852. description: 提货人证件类型
  21853. type: integer
  21854. checkremark:
  21855. description: 审核备注
  21856. type: string
  21857. goodscode:
  21858. description: 商品代码
  21859. type: string
  21860. goodsid:
  21861. description: 商品ID
  21862. type: integer
  21863. goodsname:
  21864. description: 商品名称
  21865. type: string
  21866. handlestatus:
  21867. description: 处理状态
  21868. type: integer
  21869. marketid:
  21870. description: 市场ID
  21871. type: integer
  21872. phonenum:
  21873. description: 提货人联系方式
  21874. type: string
  21875. qty:
  21876. description: 提货数量
  21877. type: number
  21878. recivername:
  21879. description: 提货人姓名
  21880. type: string
  21881. reqtime:
  21882. description: 更新时间
  21883. type: string
  21884. takemode:
  21885. description: 提货方式 - 2:自提 3:配送
  21886. type: integer
  21887. takeorderid:
  21888. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21889. type: string
  21890. takeorderstatus:
  21891. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21892. type: integer
  21893. takeremark:
  21894. description: 提货备注
  21895. type: string
  21896. tradedate:
  21897. description: 交易日(yyyyMMdd)
  21898. type: string
  21899. userid:
  21900. description: 用户ID
  21901. type: integer
  21902. required:
  21903. - takeorderid
  21904. type: object
  21905. szdz.QueryRecieptOrderRsp:
  21906. properties:
  21907. accountName:
  21908. description: 所属账号名称(已脱敏)
  21909. type: string
  21910. accountid:
  21911. description: 资金账号
  21912. type: integer
  21913. buyorsell:
  21914. description: 方向 - 0:买 1:卖
  21915. type: integer
  21916. enableqty:
  21917. description: 可摘数量
  21918. type: integer
  21919. goodscode:
  21920. description: 商品代码
  21921. type: string
  21922. goodsid:
  21923. description: 商品ID
  21924. type: integer
  21925. goodsname:
  21926. description: 商品名称
  21927. type: string
  21928. orderid:
  21929. description: 委托单号
  21930. type: string
  21931. orderprice:
  21932. description: 委托价格
  21933. type: number
  21934. ordertime:
  21935. description: 委托时间
  21936. type: string
  21937. tradedate:
  21938. description: 交易日(yyyyMMdd)
  21939. type: string
  21940. required:
  21941. - ordertime
  21942. type: object
  21943. szdz.QuerySZDZTradePositionRsp:
  21944. properties:
  21945. accountid:
  21946. description: 账号Id
  21947. type: integer
  21948. agreeunit:
  21949. description: 合约单位
  21950. type: number
  21951. averageprice:
  21952. description: 持仓均价
  21953. type: number
  21954. buyorsell:
  21955. description: 方向 - 0:买 1:卖
  21956. type: integer
  21957. closetotalqty:
  21958. description: 平仓总数量
  21959. type: integer
  21960. curholderamount:
  21961. description: 当前持仓总金额
  21962. type: number
  21963. curpositionqty:
  21964. description: 当前持仓总数量
  21965. type: integer
  21966. currencyid:
  21967. description: 报价货币ID
  21968. type: integer
  21969. curtdposition:
  21970. description: 期末今日头寸
  21971. type: integer
  21972. decimalplace:
  21973. description: 报价小数位
  21974. type: integer
  21975. enableqty:
  21976. description: 可用量
  21977. type: integer
  21978. fretdposition:
  21979. description: 冻结今日头寸
  21980. type: integer
  21981. frozenqty:
  21982. description: 持仓冻结数量
  21983. type: integer
  21984. goodscode:
  21985. description: 商品代码(内部)
  21986. type: string
  21987. goodsid:
  21988. description: 商品Id
  21989. type: integer
  21990. goodsname:
  21991. description: 商品名称
  21992. type: string
  21993. goodunit:
  21994. description: 报价单位
  21995. type: string
  21996. goodunitid:
  21997. description: 报价单位ID
  21998. type: integer
  21999. holderamount:
  22000. description: 期初持仓总金额
  22001. type: number
  22002. marketid:
  22003. description: 市场ID
  22004. type: integer
  22005. openreqqty:
  22006. description: 开仓申请数量
  22007. type: integer
  22008. opentotalqty:
  22009. description: 开仓总数量
  22010. type: integer
  22011. otherfrozenqty:
  22012. description: 持仓其他冻结数量(交割冻结)
  22013. type: integer
  22014. positionqty:
  22015. description: 期初持仓数量
  22016. type: integer
  22017. szdz3freezqty:
  22018. description: 尚志大宗转换冻结总数量
  22019. type: integer
  22020. tnqty:
  22021. description: T+N冻结总量
  22022. type: integer
  22023. tnusedqty:
  22024. description: T+N使用量
  22025. type: integer
  22026. trademode:
  22027. description: 交易模式
  22028. type: integer
  22029. usedmargin:
  22030. description: 占用保证金
  22031. type: number
  22032. type: object
  22033. taaccount.QueryAmountLogRsp:
  22034. properties:
  22035. OPERATETYPENAME:
  22036. description: 资金操作类型名称
  22037. type: string
  22038. accountid:
  22039. description: 资金账户ID
  22040. type: integer
  22041. agoodscode:
  22042. description: 竞拍商品代码
  22043. type: string
  22044. agoodsname:
  22045. description: 竞拍商品名称
  22046. type: string
  22047. amount:
  22048. description: 资金金额
  22049. type: number
  22050. amountadjusttype:
  22051. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22052. type: integer
  22053. autoid:
  22054. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22055. type: integer
  22056. balance:
  22057. description: 期初余额
  22058. type: number
  22059. businesscode:
  22060. description: 业务编号
  22061. type: integer
  22062. createtime:
  22063. description: 发生时间
  22064. type: string
  22065. currencyid:
  22066. description: 币种ID
  22067. type: integer
  22068. currentbalance:
  22069. description: 期末余额(变动后金额)
  22070. type: number
  22071. dgoodscode:
  22072. description: 交割商品代码
  22073. type: string
  22074. dgoodsname:
  22075. description: 交割商品名称
  22076. type: string
  22077. goodscode:
  22078. description: 商品代码
  22079. type: string
  22080. goodsid:
  22081. description: 商品ID
  22082. type: integer
  22083. goodsname:
  22084. description: 商品名称
  22085. type: string
  22086. marketid:
  22087. description: 市场ID
  22088. type: integer
  22089. marketname:
  22090. description: 市场名称
  22091. type: string
  22092. moneyticket:
  22093. description: 资金流水号:银行端流水号
  22094. type: integer
  22095. operatetype:
  22096. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22097. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22098. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22099. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22100. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22101. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22102. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22103. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22104. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22105. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22106. type: integer
  22107. relationorderid:
  22108. description: 关联单号
  22109. type: string
  22110. remark:
  22111. description: 备注
  22112. type: string
  22113. trademode:
  22114. description: 交易模式
  22115. type: integer
  22116. required:
  22117. - accountid
  22118. - amount
  22119. - amountadjusttype
  22120. - autoid
  22121. - balance
  22122. - createtime
  22123. - currentbalance
  22124. - operatetype
  22125. type: object
  22126. taaccount.QueryHisAmountLogRsp:
  22127. properties:
  22128. OPERATETYPENAME:
  22129. description: 资金操作类型名称
  22130. type: string
  22131. accountid:
  22132. description: 资金账户ID
  22133. type: integer
  22134. agoodscode:
  22135. description: 竞拍商品代码
  22136. type: string
  22137. agoodsname:
  22138. description: 竞拍商品名称
  22139. type: string
  22140. amount:
  22141. description: 资金金额
  22142. type: number
  22143. amountadjusttype:
  22144. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22145. type: integer
  22146. autoid:
  22147. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22148. type: integer
  22149. balance:
  22150. description: 期初余额
  22151. type: number
  22152. businesscode:
  22153. description: 业务编号
  22154. type: integer
  22155. createtime:
  22156. description: 发生时间
  22157. type: string
  22158. currencyid:
  22159. description: 币种ID
  22160. type: integer
  22161. currentbalance:
  22162. description: 期末余额(变动后金额)
  22163. type: number
  22164. dgoodscode:
  22165. description: 交割商品代码
  22166. type: string
  22167. dgoodsname:
  22168. description: 交割商品名称
  22169. type: string
  22170. goodscode:
  22171. description: 商品代码
  22172. type: string
  22173. goodsid:
  22174. description: 商品ID
  22175. type: integer
  22176. goodsname:
  22177. description: 商品名称
  22178. type: string
  22179. histradedate:
  22180. description: 历史交易日
  22181. type: string
  22182. isvaliddata:
  22183. description: 是否有效 - 0:无效 1:有效
  22184. type: integer
  22185. marketid:
  22186. description: 市场ID
  22187. type: integer
  22188. marketname:
  22189. description: 市场名称
  22190. type: string
  22191. moneyticket:
  22192. description: 资金流水号:银行端流水号
  22193. type: integer
  22194. operatetype:
  22195. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22196. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22197. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22198. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22199. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22200. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22201. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22202. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22203. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22204. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22205. type: integer
  22206. relationorderid:
  22207. description: 关联单号
  22208. type: string
  22209. remark:
  22210. description: 备注
  22211. type: string
  22212. trademode:
  22213. description: 交易模式
  22214. type: integer
  22215. required:
  22216. - accountid
  22217. - amount
  22218. - amountadjusttype
  22219. - autoid
  22220. - balance
  22221. - createtime
  22222. - currentbalance
  22223. - histradedate
  22224. - operatetype
  22225. type: object
  22226. trade.QueryRecieptOrderRsp:
  22227. properties:
  22228. accountName:
  22229. description: 所属账号名称(已脱敏)
  22230. type: string
  22231. accountid:
  22232. description: 资金账号
  22233. type: integer
  22234. buyorsell:
  22235. description: 方向 - 0:买 1:卖
  22236. type: integer
  22237. enableqty:
  22238. description: 可摘数量
  22239. type: integer
  22240. goodscode:
  22241. description: 商品代码
  22242. type: string
  22243. goodsid:
  22244. description: 商品ID
  22245. type: integer
  22246. goodsname:
  22247. description: 商品名称
  22248. type: string
  22249. orderid:
  22250. description: 委托单号
  22251. type: string
  22252. orderprice:
  22253. description: 委托价格
  22254. type: number
  22255. ordertime:
  22256. description: 委托时间
  22257. type: string
  22258. tradedate:
  22259. description: 交易日(yyyyMMdd)
  22260. type: string
  22261. required:
  22262. - ordertime
  22263. type: object
  22264. user.LoginQueryRsp:
  22265. properties:
  22266. areaRoles:
  22267. description: 所属角色信息
  22268. items:
  22269. $ref: '#/definitions/models.Arearole'
  22270. type: array
  22271. externalExchanges:
  22272. description: 外部交易所
  22273. items:
  22274. $ref: '#/definitions/models.Externalexchange'
  22275. type: array
  22276. goodsgroups:
  22277. description: 商品组
  22278. items:
  22279. $ref: '#/definitions/models.Goodsgroup'
  22280. type: array
  22281. loginAccount:
  22282. $ref: '#/definitions/models.Loginaccount'
  22283. description: 登录账号
  22284. markets:
  22285. description: 市场
  22286. items:
  22287. $ref: '#/definitions/models.Market'
  22288. type: array
  22289. systemParams:
  22290. description: 系统参数
  22291. items:
  22292. $ref: '#/definitions/models.Systemparam'
  22293. type: array
  22294. userAccount:
  22295. $ref: '#/definitions/models.Useraccount'
  22296. description: 用户账号
  22297. userInfo:
  22298. $ref: '#/definitions/models.Userinfo'
  22299. description: 用户信息
  22300. username:
  22301. description: 用户姓名
  22302. type: string
  22303. type: object
  22304. info:
  22305. contact: {}
  22306. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22307. termsOfService: http://www.muchinfo.cn
  22308. title: MTP2.0 查询服务 API
  22309. version: "1.0"
  22310. paths:
  22311. /CPTrade/QueryCPTradeMyBidInfos:
  22312. get:
  22313. parameters:
  22314. - description: 资金账户
  22315. in: query
  22316. name: accountid
  22317. required: true
  22318. type: integer
  22319. - description: 预售市场ID
  22320. in: query
  22321. name: marketid
  22322. type: integer
  22323. - description: 预售商品ID
  22324. in: query
  22325. name: goodsid
  22326. type: integer
  22327. produces:
  22328. - application/json
  22329. responses:
  22330. "200":
  22331. description: OK
  22332. schema:
  22333. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询产能预售我的出价信息
  22341. tags:
  22342. - 产能预售
  22343. /CPTrade/QueryCPTradeOrderDetail:
  22344. get:
  22345. parameters:
  22346. - description: 预售商品ID
  22347. in: query
  22348. name: goodsid
  22349. type: integer
  22350. - description: 预售市场ID
  22351. in: query
  22352. name: marketid
  22353. type: integer
  22354. - description: 预售商品ID列表 - 格式:1,2,3
  22355. in: query
  22356. name: goodsids
  22357. type: string
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询产能预售委托单信息
  22372. tags:
  22373. - 产能预售
  22374. /CPTrade/QueryMyCPTradeGoods:
  22375. get:
  22376. parameters:
  22377. - description: 资金账户
  22378. in: query
  22379. name: accountid
  22380. required: true
  22381. type: integer
  22382. produces:
  22383. - application/json
  22384. responses:
  22385. "200":
  22386. description: OK
  22387. schema:
  22388. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 查询我的预售信息
  22396. tags:
  22397. - 产能预售
  22398. /CPTrade/QueryPositionCancel:
  22399. get:
  22400. parameters:
  22401. - description: 账户ID
  22402. in: query
  22403. name: userid
  22404. required: true
  22405. type: integer
  22406. - description: 注销ID
  22407. in: query
  22408. name: cancelid
  22409. type: integer
  22410. - description: 资金账户ID
  22411. in: query
  22412. name: accountid
  22413. type: integer
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22421. "500":
  22422. description: Internal Server Error
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. security:
  22426. - ApiKeyAuth: []
  22427. summary: 查询远期订单注销申请信息
  22428. tags:
  22429. - 产能预售
  22430. /CPTrade/QueryPreasleApply:
  22431. get:
  22432. parameters:
  22433. - description: 账户ID
  22434. in: query
  22435. name: userid
  22436. required: true
  22437. type: integer
  22438. - description: 申请ID
  22439. in: query
  22440. name: applyid
  22441. type: integer
  22442. - description: 资金账户ID
  22443. in: query
  22444. name: accountid
  22445. type: integer
  22446. produces:
  22447. - application/json
  22448. responses:
  22449. "200":
  22450. description: OK
  22451. schema:
  22452. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22453. "500":
  22454. description: Internal Server Error
  22455. schema:
  22456. $ref: '#/definitions/app.Response'
  22457. security:
  22458. - ApiKeyAuth: []
  22459. summary: 查询产能预售申请信息
  22460. tags:
  22461. - 产能预售
  22462. /CPTrade/QueryPresaleGoodsEx:
  22463. get:
  22464. parameters:
  22465. - description: 预售商品ID
  22466. in: query
  22467. name: goodsid
  22468. type: integer
  22469. - description: 预售市场ID
  22470. in: query
  22471. name: marketid
  22472. type: integer
  22473. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22474. in: query
  22475. name: presalemode
  22476. type: integer
  22477. - description: 预售商品ID列表 - 格式:1,2,3
  22478. in: query
  22479. name: goodsids
  22480. type: string
  22481. - description: 预售商品代码
  22482. in: query
  22483. name: goodscode
  22484. type: string
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22492. "500":
  22493. description: Internal Server Error
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. security:
  22497. - ApiKeyAuth: []
  22498. summary: 查询产能预售商品扩展信息
  22499. tags:
  22500. - 产能预售
  22501. /CPTrade/QueryUserGoodsData:
  22502. get:
  22503. parameters:
  22504. - description: 资金账户ID
  22505. in: query
  22506. name: accountid
  22507. required: true
  22508. type: integer
  22509. produces:
  22510. - application/json
  22511. responses:
  22512. "200":
  22513. description: OK
  22514. schema:
  22515. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22516. "500":
  22517. description: Internal Server Error
  22518. schema:
  22519. $ref: '#/definitions/app.Response'
  22520. security:
  22521. - ApiKeyAuth: []
  22522. summary: 查询远期订单信息
  22523. tags:
  22524. - 产能预售
  22525. /Common/DeleteNewFuncmenu:
  22526. delete:
  22527. consumes:
  22528. - application/json
  22529. parameters:
  22530. - description: 菜单表数据,只需要resourcecode字段即可
  22531. in: body
  22532. name: data
  22533. required: true
  22534. schema:
  22535. $ref: '#/definitions/models.NewFuncmenulist'
  22536. produces:
  22537. - application/json
  22538. responses:
  22539. "200":
  22540. description: OK
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. "500":
  22544. description: Internal Server Error
  22545. schema:
  22546. $ref: '#/definitions/app.Response'
  22547. security:
  22548. - ApiKeyAuth: []
  22549. summary: 删除菜单表数据
  22550. tags:
  22551. - 通用服务
  22552. /Common/FindNewFuncmenu:
  22553. get:
  22554. parameters:
  22555. - description: 资源代码
  22556. in: query
  22557. name: resourcecode
  22558. type: string
  22559. - description: 上级资源代码
  22560. in: query
  22561. name: parentcode
  22562. type: string
  22563. - description: 资源名(Title), 模糊查询
  22564. in: query
  22565. name: resourcename
  22566. type: string
  22567. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22568. in: query
  22569. name: menutype
  22570. type: string
  22571. produces:
  22572. - application/json
  22573. responses:
  22574. "200":
  22575. description: OK
  22576. schema:
  22577. items:
  22578. $ref: '#/definitions/models.NewFuncmenulist'
  22579. type: array
  22580. "500":
  22581. description: Internal Server Error
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. security:
  22585. - ApiKeyAuth: []
  22586. summary: 获取菜单表数据
  22587. tags:
  22588. - 通用服务
  22589. /Common/GetAllEnums:
  22590. get:
  22591. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22592. parameters:
  22593. - description: 起始自增ID
  22594. in: query
  22595. name: autoid
  22596. type: integer
  22597. produces:
  22598. - application/json
  22599. responses:
  22600. "200":
  22601. description: OK
  22602. schema:
  22603. $ref: '#/definitions/models.Enumdicitem'
  22604. "500":
  22605. description: Internal Server Error
  22606. schema:
  22607. $ref: '#/definitions/app.Response'
  22608. summary: 获取所有枚举信息
  22609. tags:
  22610. - 通用服务
  22611. /Common/GetClientMenus:
  22612. get:
  22613. parameters:
  22614. - description: 登录账号
  22615. in: query
  22616. name: loginID
  22617. required: true
  22618. type: integer
  22619. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22620. in: query
  22621. name: clientType
  22622. type: integer
  22623. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22624. in: query
  22625. name: name
  22626. type: string
  22627. produces:
  22628. - application/json
  22629. responses:
  22630. "200":
  22631. description: OK
  22632. schema:
  22633. items:
  22634. $ref: '#/definitions/common.ClientMenu'
  22635. type: array
  22636. "500":
  22637. description: Internal Server Error
  22638. schema:
  22639. $ref: '#/definitions/app.Response'
  22640. security:
  22641. - ApiKeyAuth: []
  22642. summary: 获取交易端菜单
  22643. tags:
  22644. - 通用服务
  22645. /Common/GetClientNewFuncmenu:
  22646. get:
  22647. parameters:
  22648. - description: 登录账号
  22649. in: query
  22650. name: loginid
  22651. required: true
  22652. type: integer
  22653. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22654. in: query
  22655. name: menutype
  22656. required: true
  22657. type: integer
  22658. produces:
  22659. - application/json
  22660. responses:
  22661. "200":
  22662. description: OK
  22663. schema:
  22664. items:
  22665. $ref: '#/definitions/models.NewFuncmenulist'
  22666. type: array
  22667. "500":
  22668. description: Internal Server Error
  22669. schema:
  22670. $ref: '#/definitions/app.Response'
  22671. security:
  22672. - ApiKeyAuth: []
  22673. summary: 获取终端菜单
  22674. tags:
  22675. - 通用服务
  22676. /Common/GetDivisions:
  22677. get:
  22678. produces:
  22679. - application/json
  22680. responses:
  22681. "200":
  22682. description: OK
  22683. schema:
  22684. $ref: '#/definitions/models.Division'
  22685. "500":
  22686. description: Internal Server Error
  22687. schema:
  22688. $ref: '#/definitions/app.Response'
  22689. summary: 查询区域信息
  22690. tags:
  22691. - 通用服务
  22692. /Common/GetPCWebMenus:
  22693. get:
  22694. parameters:
  22695. - description: 登录账号
  22696. in: query
  22697. name: loginID
  22698. required: true
  22699. type: integer
  22700. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22701. in: query
  22702. name: name
  22703. type: string
  22704. produces:
  22705. - application/json
  22706. responses:
  22707. "200":
  22708. description: OK
  22709. schema:
  22710. items:
  22711. $ref: '#/definitions/common.PCWebMenu'
  22712. type: array
  22713. "500":
  22714. description: Internal Server Error
  22715. schema:
  22716. $ref: '#/definitions/app.Response'
  22717. security:
  22718. - ApiKeyAuth: []
  22719. summary: 获取PCWeb交易端菜单
  22720. tags:
  22721. - 通用服务
  22722. /Common/GetServerTime:
  22723. get:
  22724. produces:
  22725. - application/json
  22726. responses:
  22727. "200":
  22728. description: OK
  22729. schema:
  22730. $ref: '#/definitions/app.Response'
  22731. "500":
  22732. description: Internal Server Error
  22733. schema:
  22734. $ref: '#/definitions/app.Response'
  22735. summary: 获取服务器时间
  22736. tags:
  22737. - 通用服务
  22738. /Common/InsertNewFuncmenu:
  22739. post:
  22740. consumes:
  22741. - application/json
  22742. parameters:
  22743. - description: 菜单表数据
  22744. in: body
  22745. name: data
  22746. required: true
  22747. schema:
  22748. $ref: '#/definitions/models.NewFuncmenulist'
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. "500":
  22757. description: Internal Server Error
  22758. schema:
  22759. $ref: '#/definitions/app.Response'
  22760. security:
  22761. - ApiKeyAuth: []
  22762. summary: 插入菜单表数据
  22763. tags:
  22764. - 通用服务
  22765. /Common/NoticeReaded:
  22766. post:
  22767. parameters:
  22768. - description: 登录账号
  22769. in: query
  22770. name: loginID
  22771. required: true
  22772. type: integer
  22773. - description: 通知公告ID
  22774. in: query
  22775. name: noticeID
  22776. required: true
  22777. type: integer
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. $ref: '#/definitions/app.Response'
  22785. "500":
  22786. description: Internal Server Error
  22787. schema:
  22788. $ref: '#/definitions/app.Response'
  22789. security:
  22790. - ApiKeyAuth: []
  22791. summary: 通知公告设置已读请求
  22792. tags:
  22793. - 通用服务
  22794. /Common/QueryErrorInfos:
  22795. get:
  22796. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22797. parameters:
  22798. - description: 起始行号前索引
  22799. in: query
  22800. name: rowNumber
  22801. type: string
  22802. produces:
  22803. - application/json
  22804. responses:
  22805. "200":
  22806. description: OK
  22807. schema:
  22808. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22809. "500":
  22810. description: Internal Server Error
  22811. schema:
  22812. $ref: '#/definitions/app.Response'
  22813. summary: 获取数据库错误信息
  22814. tags:
  22815. - 通用服务
  22816. /Common/QueryImageConfigs:
  22817. get:
  22818. parameters:
  22819. - description: 用户id
  22820. in: query
  22821. name: userId
  22822. type: integer
  22823. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22824. in: query
  22825. name: imageType
  22826. type: integer
  22827. produces:
  22828. - application/json
  22829. responses:
  22830. "200":
  22831. description: OK
  22832. schema:
  22833. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22834. "500":
  22835. description: Internal Server Error
  22836. schema:
  22837. $ref: '#/definitions/app.Response'
  22838. summary: 查询轮播图配置信息
  22839. tags:
  22840. - 通用服务
  22841. /Common/QueryNotice:
  22842. get:
  22843. parameters:
  22844. - description: 页码
  22845. in: query
  22846. name: page
  22847. type: integer
  22848. - description: 每页条数
  22849. in: query
  22850. name: pagesize
  22851. type: integer
  22852. - description: 登录账号
  22853. in: query
  22854. name: loginID
  22855. required: true
  22856. type: integer
  22857. - description: 消息类型 - 1:公告通知 2:系统消息
  22858. in: query
  22859. name: msgType
  22860. type: integer
  22861. - description: 是否只获取未读信息
  22862. in: query
  22863. name: onlyUnRead
  22864. type: boolean
  22865. - description: 自增ID,传入后会返回这个ID后面的记录
  22866. in: query
  22867. name: lastID
  22868. type: integer
  22869. produces:
  22870. - application/json
  22871. responses:
  22872. "200":
  22873. description: OK
  22874. schema:
  22875. $ref: '#/definitions/common.QueryNoticeRsp'
  22876. "500":
  22877. description: Internal Server Error
  22878. schema:
  22879. $ref: '#/definitions/app.Response'
  22880. security:
  22881. - ApiKeyAuth: []
  22882. summary: 通知公告系统消息查询
  22883. tags:
  22884. - 通用服务
  22885. /Common/QueryProvincesAndCities:
  22886. get:
  22887. parameters:
  22888. - description: 省ID
  22889. in: query
  22890. name: provinceID
  22891. type: integer
  22892. produces:
  22893. - application/json
  22894. responses:
  22895. "200":
  22896. description: OK
  22897. schema:
  22898. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22899. "500":
  22900. description: Internal Server Error
  22901. schema:
  22902. $ref: '#/definitions/app.Response'
  22903. summary: 查询省市信息(不包括区)
  22904. tags:
  22905. - 通用服务
  22906. /Common/QueryRates:
  22907. get:
  22908. parameters:
  22909. - description: 页码
  22910. in: query
  22911. name: page
  22912. type: integer
  22913. - description: 每页条数
  22914. in: query
  22915. name: pagesize
  22916. type: integer
  22917. - description: 源币种ID
  22918. in: query
  22919. name: oricurrencyid
  22920. type: integer
  22921. - description: 目标币种ID
  22922. in: query
  22923. name: descurrencyid
  22924. type: integer
  22925. produces:
  22926. - application/json
  22927. responses:
  22928. "200":
  22929. description: OK
  22930. schema:
  22931. items:
  22932. $ref: '#/definitions/models.Exchangerateconfig'
  22933. type: array
  22934. "500":
  22935. description: Internal Server Error
  22936. schema:
  22937. $ref: '#/definitions/app.Response'
  22938. security:
  22939. - ApiKeyAuth: []
  22940. - LoginID: []
  22941. - Group: []
  22942. summary: 查询汇率信息
  22943. tags:
  22944. - 通用服务
  22945. /Common/QueryTableDefine:
  22946. get:
  22947. parameters:
  22948. - description: 表key
  22949. in: query
  22950. name: tableKey
  22951. type: string
  22952. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22953. in: query
  22954. name: tableType
  22955. type: integer
  22956. produces:
  22957. - application/json
  22958. responses:
  22959. "200":
  22960. description: OK
  22961. schema:
  22962. $ref: '#/definitions/common.QueryTableDefineRsp'
  22963. "500":
  22964. description: Internal Server Error
  22965. schema:
  22966. $ref: '#/definitions/app.Response'
  22967. summary: 查询交易端列表头信息
  22968. tags:
  22969. - 通用服务
  22970. /Common/QueryTraderMenu:
  22971. get:
  22972. parameters:
  22973. - description: 登录账号
  22974. in: query
  22975. name: loginid
  22976. required: true
  22977. type: integer
  22978. produces:
  22979. - application/json
  22980. responses:
  22981. "200":
  22982. description: OK
  22983. schema:
  22984. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22985. "500":
  22986. description: Internal Server Error
  22987. schema:
  22988. $ref: '#/definitions/app.Response'
  22989. summary: 查询交易端菜单
  22990. tags:
  22991. - 通用服务
  22992. /Common/UpdateNewFuncmenu:
  22993. put:
  22994. consumes:
  22995. - application/json
  22996. parameters:
  22997. - description: 菜单表数据
  22998. in: body
  22999. name: data
  23000. required: true
  23001. schema:
  23002. $ref: '#/definitions/models.NewFuncmenulist'
  23003. produces:
  23004. - application/json
  23005. responses:
  23006. "200":
  23007. description: OK
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. "500":
  23011. description: Internal Server Error
  23012. schema:
  23013. $ref: '#/definitions/app.Response'
  23014. security:
  23015. - ApiKeyAuth: []
  23016. summary: 更新菜单表数据
  23017. tags:
  23018. - 通用服务
  23019. /Delivery/QueryDeliveryRelation:
  23020. get:
  23021. parameters:
  23022. - description: 商品ID
  23023. in: query
  23024. name: goodsid
  23025. type: integer
  23026. - description: 品种ID
  23027. in: query
  23028. name: deliverygoodsid
  23029. type: integer
  23030. - description: 市场ID
  23031. in: query
  23032. name: marketid
  23033. type: integer
  23034. produces:
  23035. - application/json
  23036. responses:
  23037. "200":
  23038. description: OK
  23039. schema:
  23040. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询商品交割关系表
  23048. tags:
  23049. - 交割服务
  23050. /Ermcp/GetErmcpGoods:
  23051. get:
  23052. parameters:
  23053. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23054. in: query
  23055. name: userid
  23056. type: integer
  23057. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23058. in: query
  23059. name: lastUpdateTime
  23060. type: string
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. $ref: '#/definitions/models.ErmcpGoods'
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 查询企业风管期货商品信息
  23075. tags:
  23076. - 企业风险管理(app)
  23077. /Ermcp/GetErmcpGoodsSortByPosition:
  23078. get:
  23079. parameters:
  23080. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23081. in: query
  23082. name: sortIndex
  23083. type: string
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. $ref: '#/definitions/models.Goodssortbypreposition'
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 查询企业风管期货主力、次主力商品信息
  23098. tags:
  23099. - 企业风险管理(app)
  23100. /Ermcp/GetErmcpOutAccountStatus:
  23101. get:
  23102. parameters:
  23103. - description: 登录账号
  23104. in: query
  23105. name: loginID
  23106. required: true
  23107. type: integer
  23108. produces:
  23109. - application/json
  23110. responses:
  23111. "200":
  23112. description: OK
  23113. schema:
  23114. $ref: '#/definitions/models.Hedgemarketopenlog'
  23115. "500":
  23116. description: Internal Server Error
  23117. schema:
  23118. $ref: '#/definitions/app.Response'
  23119. security:
  23120. - ApiKeyAuth: []
  23121. summary: 获取目标登录账号当前对冲账号在线状态
  23122. tags:
  23123. - 企业风险管理(app)
  23124. /Ermcp/GetErmcpRoleFuncMenuLists:
  23125. get:
  23126. parameters:
  23127. - description: 登录账号
  23128. in: query
  23129. name: loginID
  23130. required: true
  23131. type: integer
  23132. produces:
  23133. - application/json
  23134. responses:
  23135. "200":
  23136. description: OK
  23137. schema:
  23138. $ref: '#/definitions/models.Funcmenulist'
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 获取企业风管终端权限
  23146. tags:
  23147. - 企业风险管理(app)
  23148. /Ermcp/QueryAccMgrBizGroupSet:
  23149. get:
  23150. parameters:
  23151. - description: 用户ID
  23152. in: query
  23153. name: userid
  23154. required: true
  23155. type: integer
  23156. - description: 现货商品id
  23157. in: query
  23158. name: deliverygoodsid
  23159. type: integer
  23160. produces:
  23161. - application/json
  23162. responses:
  23163. "200":
  23164. description: OK
  23165. schema:
  23166. items:
  23167. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23168. type: array
  23169. "500":
  23170. description: Internal Server Error
  23171. schema:
  23172. $ref: '#/definitions/app.Response'
  23173. security:
  23174. - ApiKeyAuth: []
  23175. summary: 查询业务类型分组(账户管理/账户设置)
  23176. tags:
  23177. - 企业风险管理(app)
  23178. /Ermcp/QueryAccMgrLoginUser:
  23179. get:
  23180. parameters:
  23181. - description: 用户ID
  23182. in: query
  23183. name: userid
  23184. required: true
  23185. type: integer
  23186. - description: 用户类型 2-机构 7-企业成员
  23187. in: query
  23188. name: usertype
  23189. type: integer
  23190. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23191. in: query
  23192. name: querytype
  23193. required: true
  23194. type: integer
  23195. produces:
  23196. - application/json
  23197. responses:
  23198. "200":
  23199. description: OK
  23200. schema:
  23201. items:
  23202. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23203. type: array
  23204. "500":
  23205. description: Internal Server Error
  23206. schema:
  23207. $ref: '#/definitions/app.Response'
  23208. security:
  23209. - ApiKeyAuth: []
  23210. summary: 查询账户管理登录账号(账户管理/登录账号)
  23211. tags:
  23212. - 企业风险管理(app)
  23213. /Ermcp/QueryAccMgrMainAccountInfo:
  23214. get:
  23215. parameters:
  23216. - description: 用户ID
  23217. in: query
  23218. name: userid
  23219. type: integer
  23220. - description: 主账号id
  23221. in: query
  23222. name: accountid
  23223. type: integer
  23224. produces:
  23225. - application/json
  23226. responses:
  23227. "200":
  23228. description: OK
  23229. schema:
  23230. items:
  23231. $ref: '#/definitions/models.MainAccountInfo'
  23232. type: array
  23233. "500":
  23234. description: Internal Server Error
  23235. schema:
  23236. $ref: '#/definitions/app.Response'
  23237. security:
  23238. - ApiKeyAuth: []
  23239. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23240. tags:
  23241. - 企业风险管理(app)
  23242. /Ermcp/QueryAccMgrRole:
  23243. get:
  23244. parameters:
  23245. - description: 用户ID
  23246. in: query
  23247. name: userid
  23248. required: true
  23249. type: integer
  23250. produces:
  23251. - application/json
  23252. responses:
  23253. "200":
  23254. description: OK
  23255. schema:
  23256. items:
  23257. $ref: '#/definitions/models.ErmcpRole'
  23258. type: array
  23259. "500":
  23260. description: Internal Server Error
  23261. schema:
  23262. $ref: '#/definitions/app.Response'
  23263. security:
  23264. - ApiKeyAuth: []
  23265. summary: 查询账户管理角色设置(账户管理/角色设置)
  23266. tags:
  23267. - 企业风险管理(app)
  23268. /Ermcp/QueryAccMgrRoleMenu:
  23269. get:
  23270. parameters:
  23271. - description: 用户ID
  23272. in: query
  23273. name: userid
  23274. required: true
  23275. type: integer
  23276. - description: 角色id(可多个,逗号隔开)
  23277. in: query
  23278. name: roleid
  23279. type: string
  23280. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23281. in: query
  23282. name: menutype
  23283. type: integer
  23284. produces:
  23285. - application/json
  23286. responses:
  23287. "200":
  23288. description: OK
  23289. schema:
  23290. items:
  23291. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23292. type: array
  23293. "500":
  23294. description: Internal Server Error
  23295. schema:
  23296. $ref: '#/definitions/app.Response'
  23297. security:
  23298. - ApiKeyAuth: []
  23299. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23300. tags:
  23301. - 企业风险管理(app)
  23302. /Ermcp/QueryAccMgrTaAccountInfo:
  23303. get:
  23304. parameters:
  23305. - description: 用户ID
  23306. in: query
  23307. name: userid
  23308. required: true
  23309. type: integer
  23310. - description: 账号id
  23311. in: query
  23312. name: accountid
  23313. type: integer
  23314. produces:
  23315. - application/json
  23316. responses:
  23317. "200":
  23318. description: OK
  23319. schema:
  23320. items:
  23321. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23322. type: array
  23323. "500":
  23324. description: Internal Server Error
  23325. schema:
  23326. $ref: '#/definitions/app.Response'
  23327. security:
  23328. - ApiKeyAuth: []
  23329. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23330. tags:
  23331. - 企业风险管理(app)
  23332. /Ermcp/QueryAccMgrTaaccount:
  23333. get:
  23334. parameters:
  23335. - description: 用户ID
  23336. in: query
  23337. name: userid
  23338. required: true
  23339. type: integer
  23340. produces:
  23341. - application/json
  23342. responses:
  23343. "200":
  23344. description: OK
  23345. schema:
  23346. items:
  23347. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23348. type: array
  23349. "500":
  23350. description: Internal Server Error
  23351. schema:
  23352. $ref: '#/definitions/app.Response'
  23353. security:
  23354. - ApiKeyAuth: []
  23355. summary: 查询账户管理期货账号(账户管理/期货账号)
  23356. tags:
  23357. - 企业风险管理(app)
  23358. /Ermcp/QueryAvaildGoodsGroup:
  23359. get:
  23360. parameters:
  23361. - description: 所属机构ID
  23362. in: query
  23363. name: userid
  23364. required: true
  23365. type: integer
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. items:
  23373. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23374. type: array
  23375. "500":
  23376. description: Internal Server Error
  23377. schema:
  23378. $ref: '#/definitions/app.Response'
  23379. security:
  23380. - ApiKeyAuth: []
  23381. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23382. tags:
  23383. - 企业风险管理(app)
  23384. /Ermcp/QueryBusinessDj:
  23385. get:
  23386. parameters:
  23387. - description: 用户ID
  23388. in: query
  23389. name: UserId
  23390. required: true
  23391. type: integer
  23392. - description: 用户类型 2-机构 7-企业成员
  23393. in: query
  23394. name: usertype
  23395. type: integer
  23396. - description: 现货合同ID, 不填则查所有
  23397. in: query
  23398. name: relatedid
  23399. type: string
  23400. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23401. in: query
  23402. name: applystatus
  23403. type: string
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. items:
  23411. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23412. type: array
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23420. tags:
  23421. - 企业风险管理(app)
  23422. /Ermcp/QueryBusinessFp:
  23423. get:
  23424. parameters:
  23425. - description: 用户ID
  23426. in: query
  23427. name: UserId
  23428. required: true
  23429. type: integer
  23430. - description: 用户类型 2-机构 7-企业成员
  23431. in: query
  23432. name: usertype
  23433. type: integer
  23434. - description: 现货合同ID, 不填则查所有
  23435. in: query
  23436. name: relatedid
  23437. type: string
  23438. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23439. in: query
  23440. name: applystatus
  23441. type: string
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. items:
  23449. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23450. type: array
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. security:
  23456. - ApiKeyAuth: []
  23457. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23458. tags:
  23459. - 企业风险管理(app)
  23460. /Ermcp/QueryBusinessJs:
  23461. get:
  23462. parameters:
  23463. - description: 用户ID
  23464. in: query
  23465. name: UserId
  23466. required: true
  23467. type: integer
  23468. - description: 用户类型 2-机构 7-企业成员
  23469. in: query
  23470. name: usertype
  23471. type: integer
  23472. - description: 现货合同ID, 不填则查所有
  23473. in: query
  23474. name: relatedid
  23475. type: string
  23476. - description: 操作申请id
  23477. in: query
  23478. name: operateapplyid
  23479. type: string
  23480. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23481. in: query
  23482. name: applystatus
  23483. type: string
  23484. produces:
  23485. - application/json
  23486. responses:
  23487. "200":
  23488. description: OK
  23489. schema:
  23490. items:
  23491. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23492. type: array
  23493. "500":
  23494. description: Internal Server Error
  23495. schema:
  23496. $ref: '#/definitions/app.Response'
  23497. security:
  23498. - ApiKeyAuth: []
  23499. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23500. tags:
  23501. - 企业风险管理(app)
  23502. /Ermcp/QueryBusinessJsEx:
  23503. get:
  23504. parameters:
  23505. - description: 用户ID
  23506. in: query
  23507. name: UserId
  23508. required: true
  23509. type: integer
  23510. - description: 用户类型 2-机构 7-企业成员
  23511. in: query
  23512. name: usertype
  23513. type: integer
  23514. - description: 现货合同ID, 不填则查所有
  23515. in: query
  23516. name: relatedid
  23517. type: string
  23518. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23519. in: query
  23520. name: applystatus
  23521. type: string
  23522. produces:
  23523. - application/json
  23524. responses:
  23525. "200":
  23526. description: OK
  23527. schema:
  23528. items:
  23529. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23530. type: array
  23531. "500":
  23532. description: Internal Server Error
  23533. schema:
  23534. $ref: '#/definitions/app.Response'
  23535. security:
  23536. - ApiKeyAuth: []
  23537. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23538. tags:
  23539. - 企业风险管理(app)
  23540. /Ermcp/QueryBusinessKx:
  23541. get:
  23542. parameters:
  23543. - description: 用户ID
  23544. in: query
  23545. name: UserId
  23546. required: true
  23547. type: integer
  23548. - description: 用户类型 2-机构 7-企业成员
  23549. in: query
  23550. name: usertype
  23551. type: integer
  23552. - description: 现货合同ID, 不填则查所有
  23553. in: query
  23554. name: relatedid
  23555. type: string
  23556. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23557. in: query
  23558. name: applystatus
  23559. type: string
  23560. produces:
  23561. - application/json
  23562. responses:
  23563. "200":
  23564. description: OK
  23565. schema:
  23566. items:
  23567. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23568. type: array
  23569. "500":
  23570. description: Internal Server Error
  23571. schema:
  23572. $ref: '#/definitions/app.Response'
  23573. security:
  23574. - ApiKeyAuth: []
  23575. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23576. tags:
  23577. - 企业风险管理(app)
  23578. /Ermcp/QueryChangeLog:
  23579. get:
  23580. parameters:
  23581. - description: 合同ID
  23582. in: query
  23583. name: RelatedId
  23584. required: true
  23585. type: string
  23586. produces:
  23587. - application/json
  23588. responses:
  23589. "200":
  23590. description: OK
  23591. schema:
  23592. items:
  23593. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23594. type: array
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 查询变更记录
  23602. tags:
  23603. - 企业风险管理(app)
  23604. /Ermcp/QueryErmcpHisOrderDetails:
  23605. get:
  23606. parameters:
  23607. - description: 资金账户ID
  23608. in: query
  23609. name: accountID
  23610. required: true
  23611. type: integer
  23612. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23613. in: query
  23614. name: startDate
  23615. type: string
  23616. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23617. in: query
  23618. name: endDate
  23619. type: string
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 获取企业风管期货历史委托单信息
  23634. tags:
  23635. - 企业风险管理(app)
  23636. /Ermcp/QueryErmcpHisTradeDetails:
  23637. get:
  23638. parameters:
  23639. - description: 资金账户ID
  23640. in: query
  23641. name: accountID
  23642. required: true
  23643. type: integer
  23644. - description: 商品ID
  23645. in: query
  23646. name: goodsID
  23647. type: integer
  23648. - description: 买卖方向,0:买 1:卖
  23649. in: query
  23650. name: buyOrSell
  23651. type: integer
  23652. - description: 关联委托单号
  23653. in: query
  23654. name: orderID
  23655. type: integer
  23656. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23657. in: query
  23658. name: startDate
  23659. type: string
  23660. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23661. in: query
  23662. name: endDate
  23663. type: string
  23664. produces:
  23665. - application/json
  23666. responses:
  23667. "200":
  23668. description: OK
  23669. schema:
  23670. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23671. "500":
  23672. description: Internal Server Error
  23673. schema:
  23674. $ref: '#/definitions/app.Response'
  23675. security:
  23676. - ApiKeyAuth: []
  23677. summary: 获取企业风管期货历史成交单信息
  23678. tags:
  23679. - 企业风险管理(app)
  23680. /Ermcp/QueryErmcpInnerHolderDetails:
  23681. get:
  23682. parameters:
  23683. - description: 资金账户ID
  23684. in: query
  23685. name: accountID
  23686. required: true
  23687. type: integer
  23688. - description: 商品ID
  23689. in: query
  23690. name: goodsID
  23691. type: integer
  23692. - description: 买卖方向,0:买 1:卖
  23693. in: query
  23694. name: buyOrSell
  23695. type: integer
  23696. produces:
  23697. - application/json
  23698. responses:
  23699. "200":
  23700. description: OK
  23701. schema:
  23702. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23703. "500":
  23704. description: Internal Server Error
  23705. schema:
  23706. $ref: '#/definitions/app.Response'
  23707. security:
  23708. - ApiKeyAuth: []
  23709. summary: 获取企业风管期货内部持仓单信息
  23710. tags:
  23711. - 企业风险管理(app)
  23712. /Ermcp/QueryErmcpOrderDetails:
  23713. get:
  23714. parameters:
  23715. - description: 资金账户ID
  23716. in: query
  23717. name: accountID
  23718. required: true
  23719. type: integer
  23720. produces:
  23721. - application/json
  23722. responses:
  23723. "200":
  23724. description: OK
  23725. schema:
  23726. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23727. "500":
  23728. description: Internal Server Error
  23729. schema:
  23730. $ref: '#/definitions/app.Response'
  23731. security:
  23732. - ApiKeyAuth: []
  23733. summary: 获取企业风管期货委托单信息
  23734. tags:
  23735. - 企业风险管理(app)
  23736. /Ermcp/QueryErmcpTradeDetails:
  23737. get:
  23738. parameters:
  23739. - description: 资金账户ID
  23740. in: query
  23741. name: accountID
  23742. required: true
  23743. type: integer
  23744. - description: 商品ID
  23745. in: query
  23746. name: goodsID
  23747. type: integer
  23748. - description: 买卖方向,0:买 1:卖
  23749. in: query
  23750. name: buyOrSell
  23751. type: integer
  23752. - description: 关联委托单号
  23753. in: query
  23754. name: orderID
  23755. type: integer
  23756. produces:
  23757. - application/json
  23758. responses:
  23759. "200":
  23760. description: OK
  23761. schema:
  23762. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23763. "500":
  23764. description: Internal Server Error
  23765. schema:
  23766. $ref: '#/definitions/app.Response'
  23767. security:
  23768. - ApiKeyAuth: []
  23769. summary: 获取企业风管期货成交单信息
  23770. tags:
  23771. - 企业风险管理(app)
  23772. /Ermcp/QueryErmcpTradePosition:
  23773. get:
  23774. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23775. parameters:
  23776. - description: 资金账户ID
  23777. in: query
  23778. name: accountID
  23779. required: true
  23780. type: integer
  23781. - description: 所属市场ID
  23782. in: query
  23783. name: marketID
  23784. type: integer
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23792. "500":
  23793. description: Internal Server Error
  23794. schema:
  23795. $ref: '#/definitions/app.Response'
  23796. security:
  23797. - ApiKeyAuth: []
  23798. summary: 获取企业风管期货持仓头寸信息
  23799. tags:
  23800. - 企业风险管理(app)
  23801. /Ermcp/QueryExposureDetail:
  23802. get:
  23803. parameters:
  23804. - description: 所属机构ID
  23805. in: query
  23806. name: areaUserId
  23807. required: true
  23808. type: integer
  23809. - description: 套保商品
  23810. in: query
  23811. name: middleGoodsId
  23812. required: true
  23813. type: integer
  23814. produces:
  23815. - application/json
  23816. responses:
  23817. "200":
  23818. description: OK
  23819. schema:
  23820. items:
  23821. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23822. type: array
  23823. "500":
  23824. description: Internal Server Error
  23825. schema:
  23826. $ref: '#/definitions/app.Response'
  23827. security:
  23828. - ApiKeyAuth: []
  23829. summary: 查询敞口现货明细
  23830. tags:
  23831. - 企业风险管理(app)
  23832. /Ermcp/QueryExposureGoods:
  23833. get:
  23834. parameters:
  23835. - description: 套保商品id
  23836. in: query
  23837. name: middlegoodsid
  23838. required: true
  23839. type: integer
  23840. produces:
  23841. - application/json
  23842. responses:
  23843. "200":
  23844. description: OK
  23845. schema:
  23846. items:
  23847. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23848. type: array
  23849. "500":
  23850. description: Internal Server Error
  23851. schema:
  23852. $ref: '#/definitions/app.Response'
  23853. security:
  23854. - ApiKeyAuth: []
  23855. summary: 查询敞口主力合约
  23856. tags:
  23857. - 企业风险管理(app)
  23858. /Ermcp/QueryExposureHedgePosition:
  23859. get:
  23860. parameters:
  23861. - description: 用户id
  23862. in: query
  23863. name: userid
  23864. required: true
  23865. type: integer
  23866. produces:
  23867. - application/json
  23868. responses:
  23869. "200":
  23870. description: OK
  23871. schema:
  23872. items:
  23873. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23874. type: array
  23875. "500":
  23876. description: Internal Server Error
  23877. schema:
  23878. $ref: '#/definitions/app.Response'
  23879. security:
  23880. - ApiKeyAuth: []
  23881. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23882. tags:
  23883. - 企业风险管理(app)
  23884. /Ermcp/QueryExposureHedgePositionDetail:
  23885. get:
  23886. parameters:
  23887. - description: 所属机构ID
  23888. in: query
  23889. name: userid
  23890. required: true
  23891. type: integer
  23892. - description: 商品id
  23893. in: query
  23894. name: goodsId
  23895. required: true
  23896. type: integer
  23897. produces:
  23898. - application/json
  23899. responses:
  23900. "200":
  23901. description: OK
  23902. schema:
  23903. items:
  23904. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23905. type: array
  23906. "500":
  23907. description: Internal Server Error
  23908. schema:
  23909. $ref: '#/definitions/app.Response'
  23910. security:
  23911. - ApiKeyAuth: []
  23912. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23913. tags:
  23914. - 企业风险管理(app)
  23915. /Ermcp/QueryExposureSpot:
  23916. get:
  23917. parameters:
  23918. - description: 所属机构ID
  23919. in: query
  23920. name: areaUserId
  23921. required: true
  23922. type: integer
  23923. produces:
  23924. - application/json
  23925. responses:
  23926. "200":
  23927. description: OK
  23928. schema:
  23929. items:
  23930. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23931. type: array
  23932. "500":
  23933. description: Internal Server Error
  23934. schema:
  23935. $ref: '#/definitions/app.Response'
  23936. security:
  23937. - ApiKeyAuth: []
  23938. summary: 查询敞口现货头寸(敞口/现货头寸)
  23939. tags:
  23940. - 企业风险管理(app)
  23941. /Ermcp/QueryExposureSpotDetail:
  23942. get:
  23943. parameters:
  23944. - description: 所属机构ID
  23945. in: query
  23946. name: areaUserId
  23947. required: true
  23948. type: integer
  23949. - description: 现货品种ID
  23950. in: query
  23951. name: wrstandardId
  23952. required: true
  23953. type: integer
  23954. produces:
  23955. - application/json
  23956. responses:
  23957. "200":
  23958. description: OK
  23959. schema:
  23960. items:
  23961. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23962. type: array
  23963. "500":
  23964. description: Internal Server Error
  23965. schema:
  23966. $ref: '#/definitions/app.Response'
  23967. security:
  23968. - ApiKeyAuth: []
  23969. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23970. tags:
  23971. - 企业风险管理(app)
  23972. /Ermcp/QueryFuturesCompany:
  23973. get:
  23974. produces:
  23975. - application/json
  23976. responses:
  23977. "200":
  23978. description: OK
  23979. schema:
  23980. items:
  23981. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23982. type: array
  23983. "500":
  23984. description: Internal Server Error
  23985. schema:
  23986. $ref: '#/definitions/app.Response'
  23987. security:
  23988. - ApiKeyAuth: []
  23989. summary: 查询期货公司
  23990. tags:
  23991. - 企业风险管理(app)
  23992. /Ermcp/QueryGGConvertConfig:
  23993. get:
  23994. parameters:
  23995. - description: 品种id(不填则查所有)
  23996. in: query
  23997. name: goodsgroupid
  23998. type: integer
  23999. produces:
  24000. - application/json
  24001. responses:
  24002. "200":
  24003. description: OK
  24004. schema:
  24005. items:
  24006. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24007. type: array
  24008. "500":
  24009. description: Internal Server Error
  24010. schema:
  24011. $ref: '#/definitions/app.Response'
  24012. security:
  24013. - ApiKeyAuth: []
  24014. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24015. tags:
  24016. - 企业风险管理(app)
  24017. /Ermcp/QueryGoodsBrand:
  24018. get:
  24019. parameters:
  24020. - description: 用户ID
  24021. in: query
  24022. name: userid
  24023. required: true
  24024. type: integer
  24025. - description: 现货商品ID
  24026. in: query
  24027. name: wrstandardid
  24028. type: integer
  24029. produces:
  24030. - application/json
  24031. responses:
  24032. "200":
  24033. description: OK
  24034. schema:
  24035. items:
  24036. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24037. type: array
  24038. "500":
  24039. description: Internal Server Error
  24040. schema:
  24041. $ref: '#/definitions/app.Response'
  24042. security:
  24043. - ApiKeyAuth: []
  24044. summary: 查询商品品牌
  24045. tags:
  24046. - 企业风险管理(app)
  24047. /Ermcp/QueryGoodsModel:
  24048. get:
  24049. parameters:
  24050. - description: 用户ID
  24051. in: query
  24052. name: userid
  24053. required: true
  24054. type: integer
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/models.ErmcpGoodsModel'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询商品型号
  24071. tags:
  24072. - 企业风险管理(app)
  24073. /Ermcp/QueryHisExposure:
  24074. get:
  24075. parameters:
  24076. - description: 用户id
  24077. in: query
  24078. name: userid
  24079. required: true
  24080. type: integer
  24081. - description: 每个品种记录数
  24082. in: query
  24083. name: lastNum
  24084. required: true
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. items:
  24093. $ref: '#/definitions/ermcp.HisExposureRsp'
  24094. type: array
  24095. "500":
  24096. description: Internal Server Error
  24097. schema:
  24098. $ref: '#/definitions/app.Response'
  24099. security:
  24100. - ApiKeyAuth: []
  24101. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24102. tags:
  24103. - 企业风险管理(app)
  24104. /Ermcp/QueryMiddleGoods:
  24105. get:
  24106. parameters:
  24107. - description: 所属机构ID
  24108. in: query
  24109. name: userid
  24110. required: true
  24111. type: integer
  24112. - description: 状态 0-停用 1-正常
  24113. in: query
  24114. name: status
  24115. required: true
  24116. type: integer
  24117. produces:
  24118. - application/json
  24119. responses:
  24120. "200":
  24121. description: OK
  24122. schema:
  24123. items:
  24124. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24125. type: array
  24126. "500":
  24127. description: Internal Server Error
  24128. schema:
  24129. $ref: '#/definitions/app.Response'
  24130. security:
  24131. - ApiKeyAuth: []
  24132. summary: 查询套保品种(菜单:套保品种)
  24133. tags:
  24134. - 企业风险管理(app)
  24135. /Ermcp/QueryMiddleGoodsChangeLog:
  24136. get:
  24137. parameters:
  24138. - description: 所属机构ID
  24139. in: query
  24140. name: userid
  24141. required: true
  24142. type: integer
  24143. - description: 套保品种id
  24144. in: query
  24145. name: middlegoodsid
  24146. required: true
  24147. type: integer
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. items:
  24155. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24156. type: array
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24164. tags:
  24165. - 企业风险管理(app)
  24166. /Ermcp/QueryMiddleGoodsDetail:
  24167. get:
  24168. parameters:
  24169. - description: 所属机构ID
  24170. in: query
  24171. name: userid
  24172. required: true
  24173. type: integer
  24174. - description: 套保品种id
  24175. in: query
  24176. name: middlegoodsid
  24177. type: integer
  24178. produces:
  24179. - application/json
  24180. responses:
  24181. "200":
  24182. description: OK
  24183. schema:
  24184. items:
  24185. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24186. type: array
  24187. "500":
  24188. description: Internal Server Error
  24189. schema:
  24190. $ref: '#/definitions/app.Response'
  24191. security:
  24192. - ApiKeyAuth: []
  24193. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24194. tags:
  24195. - 企业风险管理(app)
  24196. /Ermcp/QueryPendingAuditInfo:
  24197. get:
  24198. parameters:
  24199. - description: 用户ID
  24200. in: query
  24201. name: UserId
  24202. required: true
  24203. type: integer
  24204. produces:
  24205. - application/json
  24206. responses:
  24207. "200":
  24208. description: OK
  24209. schema:
  24210. items:
  24211. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24212. type: array
  24213. "500":
  24214. description: Internal Server Error
  24215. schema:
  24216. $ref: '#/definitions/app.Response'
  24217. security:
  24218. - ApiKeyAuth: []
  24219. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24220. tags:
  24221. - 企业风险管理(app)
  24222. /Ermcp/QueryRealtimeExposure:
  24223. get:
  24224. parameters:
  24225. - description: 所属机构ID
  24226. in: query
  24227. name: userid
  24228. required: true
  24229. type: integer
  24230. produces:
  24231. - application/json
  24232. responses:
  24233. "200":
  24234. description: OK
  24235. schema:
  24236. items:
  24237. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24238. type: array
  24239. "500":
  24240. description: Internal Server Error
  24241. schema:
  24242. $ref: '#/definitions/app.Response'
  24243. security:
  24244. - ApiKeyAuth: []
  24245. summary: 查询实时敞口
  24246. tags:
  24247. - 企业风险管理(app)
  24248. /Ermcp/QueryRealtimeExposurePosition:
  24249. get:
  24250. parameters:
  24251. - description: 用户id
  24252. in: query
  24253. name: userid
  24254. required: true
  24255. type: integer
  24256. - description: 套保商品ID
  24257. in: query
  24258. name: middleGoodsId
  24259. required: true
  24260. type: integer
  24261. produces:
  24262. - application/json
  24263. responses:
  24264. "200":
  24265. description: OK
  24266. schema:
  24267. items:
  24268. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24269. type: array
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24277. tags:
  24278. - 企业风险管理(app)
  24279. /Ermcp/QueryRoleMenu:
  24280. get:
  24281. parameters:
  24282. - description: 登录ID
  24283. in: query
  24284. name: loginid
  24285. required: true
  24286. type: integer
  24287. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24288. in: query
  24289. name: menutype
  24290. type: integer
  24291. produces:
  24292. - application/json
  24293. responses:
  24294. "200":
  24295. description: OK
  24296. schema:
  24297. items:
  24298. $ref: '#/definitions/models.RoleMenu'
  24299. type: array
  24300. "500":
  24301. description: Internal Server Error
  24302. schema:
  24303. $ref: '#/definitions/app.Response'
  24304. security:
  24305. - ApiKeyAuth: []
  24306. summary: 查询角色菜单和权限
  24307. tags:
  24308. - 企业风险管理(app)
  24309. /Ermcp/QueryTradeConfigTMP:
  24310. get:
  24311. parameters:
  24312. - description: 所属机构id
  24313. in: query
  24314. name: areauserid
  24315. type: integer
  24316. produces:
  24317. - application/json
  24318. responses:
  24319. "200":
  24320. description: OK
  24321. schema:
  24322. items:
  24323. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24324. type: array
  24325. "500":
  24326. description: Internal Server Error
  24327. schema:
  24328. $ref: '#/definitions/app.Response'
  24329. security:
  24330. - ApiKeyAuth: []
  24331. summary: 查询交易模板配置
  24332. tags:
  24333. - 企业风险管理(app)
  24334. /Ermcp/QueryUserInfo:
  24335. get:
  24336. parameters:
  24337. - description: 所属机构用户ID
  24338. in: query
  24339. name: MemberUserID
  24340. required: true
  24341. type: integer
  24342. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24343. in: query
  24344. name: queryType
  24345. required: true
  24346. type: integer
  24347. produces:
  24348. - application/json
  24349. responses:
  24350. "200":
  24351. description: OK
  24352. schema:
  24353. items:
  24354. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24355. type: array
  24356. "500":
  24357. description: Internal Server Error
  24358. schema:
  24359. $ref: '#/definitions/app.Response'
  24360. security:
  24361. - ApiKeyAuth: []
  24362. summary: 查询客户资料
  24363. tags:
  24364. - 企业风险管理(app)
  24365. /Ermcp/QueryWarehouseInfo:
  24366. get:
  24367. parameters:
  24368. - description: 用户ID
  24369. in: query
  24370. name: userid
  24371. required: true
  24372. type: integer
  24373. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24374. in: query
  24375. name: status
  24376. type: string
  24377. produces:
  24378. - application/json
  24379. responses:
  24380. "200":
  24381. description: OK
  24382. schema:
  24383. items:
  24384. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24385. type: array
  24386. "500":
  24387. description: Internal Server Error
  24388. schema:
  24389. $ref: '#/definitions/app.Response'
  24390. security:
  24391. - ApiKeyAuth: []
  24392. summary: 查询仓库信息
  24393. tags:
  24394. - 企业风险管理(app)
  24395. /Ermcp3/QryAreaExpourseContractDetail:
  24396. get:
  24397. parameters:
  24398. - description: 用户ID
  24399. in: query
  24400. name: userid
  24401. required: true
  24402. type: integer
  24403. - description: 套保商品id
  24404. in: query
  24405. name: middlegoodsid
  24406. required: true
  24407. type: integer
  24408. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24409. in: query
  24410. name: cycletype
  24411. required: true
  24412. type: integer
  24413. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24414. 全(0)【原值】
  24415. in: query
  24416. name: cycletime
  24417. required: true
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24435. tags:
  24436. - 企业风险管理v3(app)
  24437. /Ermcp3/QryAreaExpourseFutuDetail:
  24438. get:
  24439. parameters:
  24440. - description: 用户ID
  24441. in: query
  24442. name: userid
  24443. required: true
  24444. type: integer
  24445. - description: 套保商品id
  24446. in: query
  24447. name: middlegoodsid
  24448. required: true
  24449. type: integer
  24450. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24451. in: query
  24452. name: cycletype
  24453. required: true
  24454. type: integer
  24455. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24456. 全(0)【原值】
  24457. in: query
  24458. name: cycletime
  24459. required: true
  24460. type: string
  24461. produces:
  24462. - application/json
  24463. responses:
  24464. "200":
  24465. description: OK
  24466. schema:
  24467. items:
  24468. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24469. type: array
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 查询敞口期货明细(敞口报表/期货明细)
  24477. tags:
  24478. - 企业风险管理v3(app)
  24479. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24480. get:
  24481. parameters:
  24482. - description: 用户ID
  24483. in: query
  24484. name: userid
  24485. required: true
  24486. type: integer
  24487. - description: 套保商品id
  24488. in: query
  24489. name: middlegoodsid
  24490. required: true
  24491. type: integer
  24492. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24493. in: query
  24494. name: cycletype
  24495. required: true
  24496. type: integer
  24497. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24498. 全(0)【原值】
  24499. in: query
  24500. name: cycletime
  24501. required: true
  24502. type: string
  24503. produces:
  24504. - application/json
  24505. responses:
  24506. "200":
  24507. description: OK
  24508. schema:
  24509. items:
  24510. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24511. type: array
  24512. "500":
  24513. description: Internal Server Error
  24514. schema:
  24515. $ref: '#/definitions/app.Response'
  24516. security:
  24517. - ApiKeyAuth: []
  24518. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24519. tags:
  24520. - 企业风险管理v3(app)
  24521. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24522. get:
  24523. parameters:
  24524. - description: 用户ID
  24525. in: query
  24526. name: userid
  24527. required: true
  24528. type: integer
  24529. - description: 套保商品id
  24530. in: query
  24531. name: middlegoodsid
  24532. required: true
  24533. type: integer
  24534. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24535. in: query
  24536. name: cycletype
  24537. required: true
  24538. type: integer
  24539. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24540. 全(0)【原值】
  24541. in: query
  24542. name: cycletime
  24543. required: true
  24544. type: string
  24545. produces:
  24546. - application/json
  24547. responses:
  24548. "200":
  24549. description: OK
  24550. schema:
  24551. items:
  24552. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24553. type: array
  24554. "500":
  24555. description: Internal Server Error
  24556. schema:
  24557. $ref: '#/definitions/app.Response'
  24558. security:
  24559. - ApiKeyAuth: []
  24560. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24561. tags:
  24562. - 企业风险管理v3(app)
  24563. /Ermcp3/QryAreaExpourseReport:
  24564. get:
  24565. parameters:
  24566. - description: 用户ID
  24567. in: query
  24568. name: userid
  24569. required: true
  24570. type: integer
  24571. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24572. in: query
  24573. name: querytype
  24574. required: true
  24575. type: integer
  24576. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24577. in: query
  24578. name: cycletype
  24579. required: true
  24580. type: integer
  24581. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24582. 全(0)【原值】
  24583. in: query
  24584. name: cycletime
  24585. required: true
  24586. type: string
  24587. produces:
  24588. - application/json
  24589. responses:
  24590. "200":
  24591. description: OK
  24592. schema:
  24593. items:
  24594. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24595. type: array
  24596. "500":
  24597. description: Internal Server Error
  24598. schema:
  24599. $ref: '#/definitions/app.Response'
  24600. security:
  24601. - ApiKeyAuth: []
  24602. summary: 查询敞口报表
  24603. tags:
  24604. - 企业风险管理v3(app)
  24605. /Ermcp3/QryAreaSpotplReport:
  24606. get:
  24607. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24608. parameters:
  24609. - description: 用户ID
  24610. in: query
  24611. name: userid
  24612. required: true
  24613. type: integer
  24614. - description: 查询类型 1-报表 2-报表明细
  24615. in: query
  24616. name: querytype
  24617. required: true
  24618. type: integer
  24619. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24620. in: query
  24621. name: cycletype
  24622. required: true
  24623. type: integer
  24624. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24625. 全(0)【原值】
  24626. in: query
  24627. name: cycletime
  24628. required: true
  24629. type: string
  24630. - description: 现货品种id(明细必填)
  24631. in: query
  24632. name: deliverygoodsid
  24633. type: integer
  24634. - description: 币种id(明细必填)
  24635. in: query
  24636. name: currencyid
  24637. type: integer
  24638. - description: 日/周/月报表汇总维度 1:品种+品类
  24639. in: query
  24640. name: sumflag
  24641. type: integer
  24642. produces:
  24643. - application/json
  24644. responses:
  24645. "200":
  24646. description: OK
  24647. schema:
  24648. items:
  24649. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24650. type: array
  24651. "500":
  24652. description: Internal Server Error
  24653. schema:
  24654. $ref: '#/definitions/app.Response'
  24655. security:
  24656. - ApiKeyAuth: []
  24657. summary: 查询现货报表
  24658. tags:
  24659. - 企业风险管理v3(app)
  24660. /Ermcp3/QryAreaStockReport:
  24661. get:
  24662. parameters:
  24663. - description: 用户ID
  24664. in: query
  24665. name: userid
  24666. required: true
  24667. type: integer
  24668. - description: 查询类型 1-报表 2-报表明细
  24669. in: query
  24670. name: querytype
  24671. required: true
  24672. type: integer
  24673. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24674. in: query
  24675. name: cycletype
  24676. required: true
  24677. type: integer
  24678. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24679. 全(0)【原值】
  24680. in: query
  24681. name: cycletime
  24682. required: true
  24683. type: string
  24684. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24685. in: query
  24686. name: sumfields
  24687. type: string
  24688. - description: 品种ID
  24689. in: query
  24690. name: deliverygoodsid
  24691. type: integer
  24692. - description: 品类ID
  24693. in: query
  24694. name: wrstandardid
  24695. type: integer
  24696. - description: 品牌ID
  24697. in: query
  24698. name: spotgoodsbrandid
  24699. type: integer
  24700. - description: 仓库ID
  24701. in: query
  24702. name: warehouseinfoid
  24703. type: integer
  24704. produces:
  24705. - application/json
  24706. responses:
  24707. "200":
  24708. description: OK
  24709. schema:
  24710. items:
  24711. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24712. type: array
  24713. "500":
  24714. description: Internal Server Error
  24715. schema:
  24716. $ref: '#/definitions/app.Response'
  24717. security:
  24718. - ApiKeyAuth: []
  24719. summary: 查询库存报表
  24720. tags:
  24721. - 企业风险管理v3(app)
  24722. /Ermcp3/QryAreaSumPL:
  24723. get:
  24724. parameters:
  24725. - description: 用户ID
  24726. in: query
  24727. name: userid
  24728. required: true
  24729. type: integer
  24730. - description: 查询类型 1-报表 2-报表明细
  24731. in: query
  24732. name: querytype
  24733. required: true
  24734. type: integer
  24735. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24736. in: query
  24737. name: cycletype
  24738. required: true
  24739. type: integer
  24740. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24741. 全(0)【原值】
  24742. in: query
  24743. name: cycletime
  24744. required: true
  24745. type: string
  24746. - description: 币种id(明细必填)
  24747. in: query
  24748. name: currencyid
  24749. type: integer
  24750. - description: 套保品种ID, 查询类型为2时起效
  24751. in: query
  24752. name: middlegoodsid
  24753. type: integer
  24754. produces:
  24755. - application/json
  24756. responses:
  24757. "200":
  24758. description: OK
  24759. schema:
  24760. items:
  24761. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24762. type: array
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 查询汇总损益表
  24770. tags:
  24771. - 企业风险管理v3(app)
  24772. /Ermcp3/QryFinanceReport:
  24773. get:
  24774. parameters:
  24775. - description: 用户ID
  24776. in: query
  24777. name: userid
  24778. required: true
  24779. type: integer
  24780. - description: 查询类型 1-报表 2-报表明细
  24781. in: query
  24782. name: querytype
  24783. required: true
  24784. type: integer
  24785. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24786. in: query
  24787. name: cycletype
  24788. required: true
  24789. type: integer
  24790. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24791. 全(0)【原值】
  24792. in: query
  24793. name: cycletime
  24794. required: true
  24795. type: string
  24796. - description: 币种id(报表明细必填)
  24797. in: query
  24798. name: currencyid
  24799. type: integer
  24800. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24801. in: query
  24802. name: sumfields
  24803. type: string
  24804. produces:
  24805. - application/json
  24806. responses:
  24807. "200":
  24808. description: OK
  24809. schema:
  24810. items:
  24811. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24812. type: array
  24813. "500":
  24814. description: Internal Server Error
  24815. schema:
  24816. $ref: '#/definitions/app.Response'
  24817. security:
  24818. - ApiKeyAuth: []
  24819. summary: 查询财务报表
  24820. tags:
  24821. - 企业风险管理v3(app)
  24822. /Ermcp3/QrySCMiddleGoodsReport:
  24823. get:
  24824. parameters:
  24825. - description: 用户ID
  24826. in: query
  24827. name: userid
  24828. required: true
  24829. type: integer
  24830. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24831. in: query
  24832. name: cycletype
  24833. required: true
  24834. type: integer
  24835. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24836. 全(0)【原值】
  24837. in: query
  24838. name: cycletime
  24839. required: true
  24840. type: string
  24841. - description: 合同id
  24842. in: query
  24843. name: spotcontractid
  24844. type: integer
  24845. - description: 套保品种id
  24846. in: query
  24847. name: middlegoodsid
  24848. type: integer
  24849. - description: 现货品种id
  24850. in: query
  24851. name: deliverygoodsid
  24852. type: integer
  24853. - description: 现货商品id
  24854. in: query
  24855. name: wrstandardid
  24856. type: integer
  24857. - description: 合同编号(模糊匹配)
  24858. in: query
  24859. name: contractno
  24860. type: string
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询定价报表
  24877. tags:
  24878. - 企业风险管理v3(app)
  24879. /Ermcp3/QryTaFutureDataReport:
  24880. get:
  24881. parameters:
  24882. - description: 用户ID
  24883. in: query
  24884. name: userid
  24885. required: true
  24886. type: integer
  24887. - description: 查询类型 1-报表 2-报表明细
  24888. in: query
  24889. name: querytype
  24890. required: true
  24891. type: integer
  24892. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24893. in: query
  24894. name: cycletype
  24895. required: true
  24896. type: integer
  24897. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24898. 全(0)【原值】
  24899. in: query
  24900. name: cycletime
  24901. required: true
  24902. type: string
  24903. - description: 币种id(查明细必填)
  24904. in: query
  24905. name: currencyid
  24906. type: integer
  24907. - description: 品种id(查明细必填)
  24908. in: query
  24909. name: goodsgroupid
  24910. type: integer
  24911. - description: 商品id(查明细必填)
  24912. in: query
  24913. name: goodsid
  24914. type: integer
  24915. - description: 买卖方向(查明细必填)
  24916. in: query
  24917. name: buyorsell
  24918. type: integer
  24919. produces:
  24920. - application/json
  24921. responses:
  24922. "200":
  24923. description: OK
  24924. schema:
  24925. items:
  24926. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24927. type: array
  24928. "500":
  24929. description: Internal Server Error
  24930. schema:
  24931. $ref: '#/definitions/app.Response'
  24932. security:
  24933. - ApiKeyAuth: []
  24934. summary: 查询期货报表
  24935. tags:
  24936. - 企业风险管理v3(app)
  24937. /Ermcp3/QueryAreaStock:
  24938. get:
  24939. parameters:
  24940. - description: 用户ID
  24941. in: query
  24942. name: userid
  24943. required: true
  24944. type: integer
  24945. produces:
  24946. - application/json
  24947. responses:
  24948. "200":
  24949. description: OK
  24950. schema:
  24951. items:
  24952. $ref: '#/definitions/models.Ermcp3AreaStock'
  24953. type: array
  24954. "500":
  24955. description: Internal Server Error
  24956. schema:
  24957. $ref: '#/definitions/app.Response'
  24958. security:
  24959. - ApiKeyAuth: []
  24960. summary: 查询机构库存(库存管理/当前库存)
  24961. tags:
  24962. - 企业风险管理v3(app)
  24963. /Ermcp3/QueryAreaStockApply:
  24964. get:
  24965. parameters:
  24966. - description: 用户ID
  24967. in: query
  24968. name: userid
  24969. required: true
  24970. type: integer
  24971. - description: 用户类型 2-机构 7-企业成员
  24972. in: query
  24973. name: usertype
  24974. type: integer
  24975. - description: 现货商品ID
  24976. in: query
  24977. name: deliverygoodsid
  24978. type: integer
  24979. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24980. in: query
  24981. name: inouttype
  24982. type: string
  24983. - description: 合同ID
  24984. in: query
  24985. name: spotcontractid
  24986. type: integer
  24987. - description: 品类ID
  24988. in: query
  24989. name: wrstandardid
  24990. type: integer
  24991. - description: 品牌ID
  24992. in: query
  24993. name: spotgoodsbrandid
  24994. type: integer
  24995. - description: 仓库ID
  24996. in: query
  24997. name: warehouseinfoid
  24998. type: integer
  24999. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25000. in: query
  25001. name: applystatus
  25002. type: string
  25003. produces:
  25004. - application/json
  25005. responses:
  25006. "200":
  25007. description: OK
  25008. schema:
  25009. items:
  25010. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25011. type: array
  25012. "500":
  25013. description: Internal Server Error
  25014. schema:
  25015. $ref: '#/definitions/app.Response'
  25016. security:
  25017. - ApiKeyAuth: []
  25018. summary: 查询库存申请(出入库记录|库存审核)
  25019. tags:
  25020. - 企业风险管理v3(app)
  25021. /Ermcp3/QueryAreaStockApplySum:
  25022. get:
  25023. parameters:
  25024. - description: 合同ID
  25025. in: query
  25026. name: spotcontractid
  25027. required: true
  25028. type: integer
  25029. produces:
  25030. - application/json
  25031. responses:
  25032. "200":
  25033. description: OK
  25034. schema:
  25035. items:
  25036. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25037. type: array
  25038. "500":
  25039. description: Internal Server Error
  25040. schema:
  25041. $ref: '#/definitions/app.Response'
  25042. security:
  25043. - ApiKeyAuth: []
  25044. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25045. tags:
  25046. - 企业风险管理v3(app)
  25047. /Ermcp3/QueryDGFactoryItem:
  25048. get:
  25049. parameters:
  25050. - description: 用户id
  25051. in: query
  25052. name: userid
  25053. type: integer
  25054. - description: 用户类型 2-机构 7-企业成员
  25055. in: query
  25056. name: usertype
  25057. type: integer
  25058. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25059. in: query
  25060. name: dgfactoryitemid
  25061. type: integer
  25062. - description: 现货品种ID
  25063. in: query
  25064. name: deliverygoodsid
  25065. type: integer
  25066. - description: 要素项类型
  25067. in: query
  25068. name: dgfactoryitemtypeid
  25069. type: integer
  25070. - description: 顺序
  25071. in: query
  25072. name: orderindex
  25073. type: integer
  25074. produces:
  25075. - application/json
  25076. responses:
  25077. "200":
  25078. description: OK
  25079. schema:
  25080. items:
  25081. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25082. type: array
  25083. "500":
  25084. description: Internal Server Error
  25085. schema:
  25086. $ref: '#/definitions/app.Response'
  25087. security:
  25088. - ApiKeyAuth: []
  25089. summary: 查询品种要素定义项
  25090. tags:
  25091. - 企业风险管理v3(app)
  25092. /Ermcp3/QueryDeliveryGoods:
  25093. get:
  25094. parameters:
  25095. - description: 用户id
  25096. in: query
  25097. name: userid
  25098. required: true
  25099. type: integer
  25100. - description: 用户类型 2-机构 7-企业成员
  25101. in: query
  25102. name: usertype
  25103. type: integer
  25104. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25105. in: query
  25106. name: excludecfg
  25107. type: integer
  25108. produces:
  25109. - application/json
  25110. responses:
  25111. "200":
  25112. description: OK
  25113. schema:
  25114. items:
  25115. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25116. type: array
  25117. "500":
  25118. description: Internal Server Error
  25119. schema:
  25120. $ref: '#/definitions/app.Response'
  25121. security:
  25122. - ApiKeyAuth: []
  25123. summary: 查询现货商品
  25124. tags:
  25125. - 企业风险管理v3(app)
  25126. /Ermcp3/QueryDeliveryGoodsDetail:
  25127. get:
  25128. parameters:
  25129. - description: 用户id
  25130. in: query
  25131. name: userid
  25132. required: true
  25133. type: integer
  25134. - description: 用户类型 2-机构 7-企业成员
  25135. in: query
  25136. name: usertype
  25137. type: integer
  25138. - description: 现货商品id
  25139. in: query
  25140. name: deliverygoodsid
  25141. type: integer
  25142. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25143. in: query
  25144. name: filtersubempty
  25145. type: integer
  25146. produces:
  25147. - application/json
  25148. responses:
  25149. "200":
  25150. description: OK
  25151. schema:
  25152. items:
  25153. $ref: '#/definitions/models.XHDeliveryGoods'
  25154. type: array
  25155. "500":
  25156. description: Internal Server Error
  25157. schema:
  25158. $ref: '#/definitions/app.Response'
  25159. security:
  25160. - ApiKeyAuth: []
  25161. summary: 查询现货商品详情
  25162. tags:
  25163. - 企业风险管理v3(app)
  25164. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25165. get:
  25166. parameters:
  25167. - description: 合同id
  25168. in: query
  25169. name: spotcontractid
  25170. required: true
  25171. type: string
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. items:
  25179. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25180. type: array
  25181. "500":
  25182. description: Internal Server Error
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. security:
  25186. - ApiKeyAuth: []
  25187. summary: 查询现货合同期现配置信息
  25188. tags:
  25189. - 企业风险管理v3(app)
  25190. /Ermcp3/QueryExposureDetail:
  25191. get:
  25192. parameters:
  25193. - description: 用户id
  25194. in: query
  25195. name: userid
  25196. required: true
  25197. type: integer
  25198. - description: 用户类型 2-机构 7-企业成员
  25199. in: query
  25200. name: usertype
  25201. type: integer
  25202. - description: 套保商品
  25203. in: query
  25204. name: middlegoodsid
  25205. required: true
  25206. type: integer
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. items:
  25214. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25215. type: array
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 查询敞口现货明细
  25223. tags:
  25224. - 企业风险管理v3(app)
  25225. /Ermcp3/QueryExposureSpot:
  25226. get:
  25227. parameters:
  25228. - description: 用户id
  25229. in: query
  25230. name: userid
  25231. required: true
  25232. type: integer
  25233. - description: 用户类型 2-机构 7-企业成员
  25234. in: query
  25235. name: usertype
  25236. type: integer
  25237. produces:
  25238. - application/json
  25239. responses:
  25240. "200":
  25241. description: OK
  25242. schema:
  25243. items:
  25244. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25245. type: array
  25246. "500":
  25247. description: Internal Server Error
  25248. schema:
  25249. $ref: '#/definitions/app.Response'
  25250. security:
  25251. - ApiKeyAuth: []
  25252. summary: 查询敞口现货头寸(敞口/现货头寸)
  25253. tags:
  25254. - 企业风险管理v3(app)
  25255. /Ermcp3/QueryExposureSpotDetail:
  25256. get:
  25257. parameters:
  25258. - description: 用户id
  25259. in: query
  25260. name: userid
  25261. required: true
  25262. type: integer
  25263. - description: 用户类型 2-机构 7-企业成员
  25264. in: query
  25265. name: usertype
  25266. type: integer
  25267. - description: 现货商品ID
  25268. in: query
  25269. name: wrstandardid
  25270. required: true
  25271. type: integer
  25272. produces:
  25273. - application/json
  25274. responses:
  25275. "200":
  25276. description: OK
  25277. schema:
  25278. items:
  25279. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25280. type: array
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25288. tags:
  25289. - 企业风险管理v3(app)
  25290. /Ermcp3/QueryGoodsGroup:
  25291. get:
  25292. parameters:
  25293. - description: 用户id
  25294. in: query
  25295. name: userid
  25296. required: true
  25297. type: integer
  25298. - description: 用户类型 2-机构 7-企业成员
  25299. in: query
  25300. name: usertype
  25301. type: integer
  25302. - description: 排除套保品中已关联的商品组 1-排除
  25303. in: query
  25304. name: excludecfg
  25305. type: integer
  25306. produces:
  25307. - application/json
  25308. responses:
  25309. "200":
  25310. description: OK
  25311. schema:
  25312. items:
  25313. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25314. type: array
  25315. "500":
  25316. description: Internal Server Error
  25317. schema:
  25318. $ref: '#/definitions/app.Response'
  25319. security:
  25320. - ApiKeyAuth: []
  25321. summary: 查询期货商品组
  25322. tags:
  25323. - 企业风险管理v3(app)
  25324. /Ermcp3/QueryGoodsWrstandard:
  25325. get:
  25326. parameters:
  25327. - description: 用户id
  25328. in: query
  25329. name: userid
  25330. required: true
  25331. type: integer
  25332. - description: 用户类型 2-机构 7-企业成员
  25333. in: query
  25334. name: usertype
  25335. type: integer
  25336. - description: 现货商品id
  25337. in: query
  25338. name: deliverygoodsid
  25339. type: integer
  25340. produces:
  25341. - application/json
  25342. responses:
  25343. "200":
  25344. description: OK
  25345. schema:
  25346. items:
  25347. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25348. type: array
  25349. "500":
  25350. description: Internal Server Error
  25351. schema:
  25352. $ref: '#/definitions/app.Response'
  25353. security:
  25354. - ApiKeyAuth: []
  25355. summary: 查询商品品类
  25356. tags:
  25357. - 企业风险管理v3(app)
  25358. /Ermcp3/QueryGoodsbrand:
  25359. get:
  25360. parameters:
  25361. - description: 用户id
  25362. in: query
  25363. name: userid
  25364. required: true
  25365. type: integer
  25366. - description: 用户类型 2-机构 7-企业成员
  25367. in: query
  25368. name: usertype
  25369. type: integer
  25370. produces:
  25371. - application/json
  25372. responses:
  25373. "200":
  25374. description: OK
  25375. schema:
  25376. items:
  25377. $ref: '#/definitions/models.Ermcp3Brand'
  25378. type: array
  25379. "500":
  25380. description: Internal Server Error
  25381. schema:
  25382. $ref: '#/definitions/app.Response'
  25383. security:
  25384. - ApiKeyAuth: []
  25385. summary: 查询商品品牌
  25386. tags:
  25387. - 企业风险管理v3(app)
  25388. /Ermcp3/QueryHPMiddleGoods:
  25389. get:
  25390. parameters:
  25391. - description: 用户ID(填登录用户的userid)
  25392. in: query
  25393. name: userid
  25394. required: true
  25395. type: integer
  25396. - description: 买卖方向 0-买 1-卖
  25397. in: query
  25398. name: buyorsell
  25399. required: true
  25400. type: integer
  25401. - description: 商品组id
  25402. in: query
  25403. name: goodsgroupid
  25404. required: true
  25405. type: integer
  25406. - description: 套保计划编号(模糊匹配)
  25407. in: query
  25408. name: hedgeplanno
  25409. type: string
  25410. - description: 现货商品名称(模糊匹配)
  25411. in: query
  25412. name: wrstandardname
  25413. type: string
  25414. produces:
  25415. - application/json
  25416. responses:
  25417. "200":
  25418. description: OK
  25419. schema:
  25420. items:
  25421. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25422. type: array
  25423. "500":
  25424. description: Internal Server Error
  25425. schema:
  25426. $ref: '#/definitions/app.Response'
  25427. security:
  25428. - ApiKeyAuth: []
  25429. summary: 查询可关联套保计划
  25430. tags:
  25431. - 企业风险管理v3(app)
  25432. /Ermcp3/QueryHedgePlan:
  25433. get:
  25434. parameters:
  25435. - description: 用户ID
  25436. in: query
  25437. name: userid
  25438. required: true
  25439. type: integer
  25440. - description: 用户类型 2-机构 7-企业成员
  25441. in: query
  25442. name: usertype
  25443. type: integer
  25444. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25445. in: query
  25446. name: hedgeplanstatus
  25447. required: true
  25448. type: string
  25449. produces:
  25450. - application/json
  25451. responses:
  25452. "200":
  25453. description: OK
  25454. schema:
  25455. items:
  25456. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25457. type: array
  25458. "500":
  25459. description: Internal Server Error
  25460. schema:
  25461. $ref: '#/definitions/app.Response'
  25462. security:
  25463. - ApiKeyAuth: []
  25464. summary: 查询套保计划
  25465. tags:
  25466. - 企业风险管理v3(app)
  25467. /Ermcp3/QueryInnerTradeLink:
  25468. get:
  25469. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25470. parameters:
  25471. - description: 外部成交单号
  25472. in: query
  25473. name: outtradeid
  25474. required: true
  25475. type: integer
  25476. produces:
  25477. - application/json
  25478. responses:
  25479. "200":
  25480. description: OK
  25481. schema:
  25482. items:
  25483. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25484. type: array
  25485. "500":
  25486. description: Internal Server Error
  25487. schema:
  25488. $ref: '#/definitions/app.Response'
  25489. security:
  25490. - ApiKeyAuth: []
  25491. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25492. tags:
  25493. - 企业风险管理v3(app)
  25494. /Ermcp3/QueryMiddleGoodsDetail:
  25495. get:
  25496. parameters:
  25497. - description: 用户id
  25498. in: query
  25499. name: userid
  25500. required: true
  25501. type: integer
  25502. - description: 用户类型 2-机构 7-企业成员
  25503. in: query
  25504. name: usertype
  25505. type: integer
  25506. - description: 套保品种id
  25507. in: query
  25508. name: middlegoodsid
  25509. type: integer
  25510. produces:
  25511. - application/json
  25512. responses:
  25513. "200":
  25514. description: OK
  25515. schema:
  25516. items:
  25517. $ref: '#/definitions/models.TBMiddleGoods'
  25518. type: array
  25519. "500":
  25520. description: Internal Server Error
  25521. schema:
  25522. $ref: '#/definitions/app.Response'
  25523. security:
  25524. - ApiKeyAuth: []
  25525. summary: 查询套保品种详情(套保品种/商品详情)
  25526. tags:
  25527. - 企业风险管理v3(app)
  25528. /Ermcp3/QueryOutTradeLink:
  25529. get:
  25530. description: 页面 app 现货->期现关联->外部成交单关联
  25531. parameters:
  25532. - description: 用户ID(填登录用户的userid)
  25533. in: query
  25534. name: userid
  25535. required: true
  25536. type: integer
  25537. - description: 外部订单号(模糊匹配)
  25538. in: query
  25539. name: outtradeid
  25540. type: string
  25541. - description: 合约名称/代码(模糊匹配)
  25542. in: query
  25543. name: goodsname
  25544. type: string
  25545. - description: 关联状态 0-未关联 1-已关联
  25546. in: query
  25547. name: hasinnerorder
  25548. type: integer
  25549. produces:
  25550. - application/json
  25551. responses:
  25552. "200":
  25553. description: OK
  25554. schema:
  25555. items:
  25556. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25557. type: array
  25558. "500":
  25559. description: Internal Server Error
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. security:
  25563. - ApiKeyAuth: []
  25564. summary: 查询外部成交单关联
  25565. tags:
  25566. - 企业风险管理v3(app)
  25567. /Ermcp3/QueryPaAreaAuditCfg:
  25568. get:
  25569. parameters:
  25570. - description: 用户id
  25571. in: query
  25572. name: userid
  25573. required: true
  25574. type: integer
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询审核设置
  25591. tags:
  25592. - 企业风险管理v3(app)
  25593. /Ermcp3/QueryPaAreaSubject:
  25594. get:
  25595. parameters:
  25596. - description: 用户id
  25597. in: query
  25598. name: userid
  25599. required: true
  25600. type: integer
  25601. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25602. in: query
  25603. name: subjectid
  25604. type: integer
  25605. - description: 主体类型 - 1:交易主体 2:业务部门
  25606. in: query
  25607. name: subjecttype
  25608. type: integer
  25609. - description: '主体状态 - 1:正常 2: 停用'
  25610. in: query
  25611. name: subjectstatus
  25612. type: integer
  25613. produces:
  25614. - application/json
  25615. responses:
  25616. "200":
  25617. description: OK
  25618. schema:
  25619. items:
  25620. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25621. type: array
  25622. "500":
  25623. description: Internal Server Error
  25624. schema:
  25625. $ref: '#/definitions/app.Response'
  25626. security:
  25627. - ApiKeyAuth: []
  25628. summary: 查询交易主体
  25629. tags:
  25630. - 企业风险管理v3(app)
  25631. /Ermcp3/QueryPaTradeLink:
  25632. get:
  25633. description: 页面 app 现货->期现关联->期现单据关联
  25634. parameters:
  25635. - description: 用户ID
  25636. in: query
  25637. name: userid
  25638. required: true
  25639. type: integer
  25640. produces:
  25641. - application/json
  25642. responses:
  25643. "200":
  25644. description: OK
  25645. schema:
  25646. items:
  25647. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25648. type: array
  25649. "500":
  25650. description: Internal Server Error
  25651. schema:
  25652. $ref: '#/definitions/app.Response'
  25653. security:
  25654. - ApiKeyAuth: []
  25655. summary: 查询期现单据关联
  25656. tags:
  25657. - 企业风险管理v3(app)
  25658. /Ermcp3/QueryPaTradeLinkDetail:
  25659. get:
  25660. description: 页面 app 现货->期现关联->关联记录
  25661. parameters:
  25662. - description: 用户ID(填登录用户的userid)
  25663. in: query
  25664. name: userid
  25665. required: true
  25666. type: integer
  25667. - description: 关联状态 1:成功 2:失败 3:解绑
  25668. in: query
  25669. name: linkstatus
  25670. type: integer
  25671. - description: 期货订单号(模糊匹配)
  25672. in: query
  25673. name: tradeid
  25674. type: string
  25675. - description: 现货编号(模糊匹配)
  25676. in: query
  25677. name: contractno
  25678. type: string
  25679. - description: 期货账户(模糊匹配)
  25680. in: query
  25681. name: taname
  25682. type: string
  25683. produces:
  25684. - application/json
  25685. responses:
  25686. "200":
  25687. description: OK
  25688. schema:
  25689. items:
  25690. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25691. type: array
  25692. "500":
  25693. description: Internal Server Error
  25694. schema:
  25695. $ref: '#/definitions/app.Response'
  25696. security:
  25697. - ApiKeyAuth: []
  25698. summary: 查询期现关联记录
  25699. tags:
  25700. - 企业风险管理v3(app)
  25701. /Ermcp3/QueryParamChangeApp:
  25702. get:
  25703. description: |-
  25704. 原型页面:
  25705. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25706. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25707. parameters:
  25708. - description: 用户ID
  25709. in: query
  25710. name: userid
  25711. required: true
  25712. type: integer
  25713. - description: 现货品种id
  25714. in: query
  25715. name: deliverygoodsid
  25716. type: integer
  25717. - description: 现货商品id
  25718. in: query
  25719. name: wrstandardid
  25720. type: integer
  25721. - description: 套保商品id
  25722. in: query
  25723. name: middlegoodsid
  25724. type: integer
  25725. - description: 操作类型 1:新增 2:修改
  25726. in: query
  25727. name: operatetype
  25728. type: integer
  25729. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25730. in: query
  25731. name: paramchangetype
  25732. type: integer
  25733. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25734. in: query
  25735. name: ftstatus
  25736. type: string
  25737. produces:
  25738. - application/json
  25739. responses:
  25740. "200":
  25741. description: OK
  25742. schema:
  25743. items:
  25744. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25745. type: array
  25746. "500":
  25747. description: Internal Server Error
  25748. schema:
  25749. $ref: '#/definitions/app.Response'
  25750. security:
  25751. - ApiKeyAuth: []
  25752. summary: 查询现货商品参数变更申请(流水)
  25753. tags:
  25754. - 企业风险管理v3(app)
  25755. /Ermcp3/QueryRootUserAccount:
  25756. get:
  25757. parameters:
  25758. - description: 用户ID
  25759. in: query
  25760. name: userid
  25761. required: true
  25762. type: integer
  25763. produces:
  25764. - application/json
  25765. responses:
  25766. "200":
  25767. description: OK
  25768. schema:
  25769. items:
  25770. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25771. type: array
  25772. "500":
  25773. description: Internal Server Error
  25774. schema:
  25775. $ref: '#/definitions/app.Response'
  25776. security:
  25777. - ApiKeyAuth: []
  25778. summary: 查询顶级用户信息
  25779. tags:
  25780. - 企业风险管理v3(app)
  25781. /Ermcp3/QuerySCMiddleGoods:
  25782. get:
  25783. description: |-
  25784. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25785. 现货编号 即 合同编号
  25786. parameters:
  25787. - description: 用户ID(填登录用户的userid)
  25788. in: query
  25789. name: userid
  25790. required: true
  25791. type: integer
  25792. - description: 买卖方向 0-买 1-卖
  25793. in: query
  25794. name: buyorsell
  25795. required: true
  25796. type: integer
  25797. - description: 商品组id
  25798. in: query
  25799. name: goodsgroupid
  25800. required: true
  25801. type: integer
  25802. - description: 业务类型 1:套保 2:套利
  25803. in: query
  25804. name: biztype
  25805. type: integer
  25806. - description: 现货编号(模糊匹配)
  25807. in: query
  25808. name: contractno
  25809. type: string
  25810. - description: 对手方(模糊匹配)
  25811. in: query
  25812. name: customername
  25813. type: string
  25814. - description: 现货商品名称(模糊匹配)
  25815. in: query
  25816. name: wrstandardname
  25817. type: string
  25818. produces:
  25819. - application/json
  25820. responses:
  25821. "200":
  25822. description: OK
  25823. schema:
  25824. items:
  25825. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25826. type: array
  25827. "500":
  25828. description: Internal Server Error
  25829. schema:
  25830. $ref: '#/definitions/app.Response'
  25831. security:
  25832. - ApiKeyAuth: []
  25833. summary: 查询现货订单
  25834. tags:
  25835. - 企业风险管理v3(app)
  25836. /Ermcp3/QuerySpotContract:
  25837. get:
  25838. parameters:
  25839. - description: 用户id(当指定contractid, userid可不填)
  25840. in: query
  25841. name: userid
  25842. required: true
  25843. type: integer
  25844. - description: 用户类型 2-机构 7-企业成员
  25845. in: query
  25846. name: usertype
  25847. type: integer
  25848. - description: 合同类型 1-采购, -1-销售
  25849. in: query
  25850. name: contracttype
  25851. type: integer
  25852. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25853. in: query
  25854. name: querytype
  25855. type: string
  25856. - description: 合同ID(SpotContractId)
  25857. in: query
  25858. name: contractid
  25859. type: string
  25860. - description: 合同编号(模糊匹配)
  25861. in: query
  25862. name: contractno
  25863. type: string
  25864. - description: 商品名称(模糊匹配)
  25865. in: query
  25866. name: wrstandardname
  25867. type: string
  25868. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25869. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25870. in: query
  25871. name: status
  25872. type: string
  25873. - description: 是否只查今日的合同 1-查今日合同
  25874. in: query
  25875. name: istoday
  25876. type: integer
  25877. produces:
  25878. - application/json
  25879. responses:
  25880. "200":
  25881. description: OK
  25882. schema:
  25883. items:
  25884. $ref: '#/definitions/models.Ermcp3Contract'
  25885. type: array
  25886. "500":
  25887. description: Internal Server Error
  25888. schema:
  25889. $ref: '#/definitions/app.Response'
  25890. security:
  25891. - ApiKeyAuth: []
  25892. summary: 查询现货合同
  25893. tags:
  25894. - 企业风险管理v3(app)
  25895. /Ermcp3/QuerySpotContractBS:
  25896. get:
  25897. parameters:
  25898. - description: 用户id
  25899. in: query
  25900. name: userid
  25901. required: true
  25902. type: integer
  25903. - description: 用户类型 2-机构 7-企业成员
  25904. in: query
  25905. name: usertype
  25906. type: integer
  25907. - description: 合同类型 1-采购, -1-销售
  25908. in: query
  25909. name: contracttype
  25910. required: true
  25911. type: integer
  25912. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25913. in: query
  25914. name: querytype
  25915. type: integer
  25916. - description: 合同ID(SpotContractId)
  25917. in: query
  25918. name: contractid
  25919. type: string
  25920. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25921. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25922. in: query
  25923. name: status
  25924. type: string
  25925. - description: 是否只查今日的合同 1-查今日合同
  25926. in: query
  25927. name: istoday
  25928. type: integer
  25929. produces:
  25930. - application/json
  25931. responses:
  25932. "200":
  25933. description: OK
  25934. schema:
  25935. items:
  25936. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25937. type: array
  25938. "500":
  25939. description: Internal Server Error
  25940. schema:
  25941. $ref: '#/definitions/app.Response'
  25942. security:
  25943. - ApiKeyAuth: []
  25944. summary: 查询合同(采购/销售)
  25945. tags:
  25946. - 企业风险管理v3(app)
  25947. /Ermcp3/QuerySpotGoodsPrice:
  25948. get:
  25949. parameters:
  25950. - description: 用户ID
  25951. in: query
  25952. name: userid
  25953. required: true
  25954. type: integer
  25955. produces:
  25956. - application/json
  25957. responses:
  25958. "200":
  25959. description: OK
  25960. schema:
  25961. items:
  25962. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25963. type: array
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 查询现货市价(现货市价)
  25971. tags:
  25972. - 企业风险管理v3(app)
  25973. /Ermcp3/QuerySpotGoodsPriceLog:
  25974. get:
  25975. parameters:
  25976. - description: 用户ID
  25977. in: query
  25978. name: userid
  25979. required: true
  25980. type: integer
  25981. - description: 现货商品ID
  25982. in: query
  25983. name: deliverygoodsid
  25984. required: true
  25985. type: integer
  25986. - description: 品牌ID
  25987. in: query
  25988. name: brandid
  25989. type: integer
  25990. - description: 品类ID
  25991. in: query
  25992. name: wrstandardid
  25993. type: integer
  25994. produces:
  25995. - application/json
  25996. responses:
  25997. "200":
  25998. description: OK
  25999. schema:
  26000. items:
  26001. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26002. type: array
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 查询现货市价详情(现货市价/详情)
  26010. tags:
  26011. - 企业风险管理v3(app)
  26012. /Ermcp3/QuerySubTaaccount:
  26013. get:
  26014. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26015. parameters:
  26016. - description: 母账号id
  26017. in: query
  26018. name: parentaccountid
  26019. type: integer
  26020. - description: 母账号代码
  26021. in: query
  26022. name: parentaccountcode
  26023. type: string
  26024. produces:
  26025. - application/json
  26026. responses:
  26027. "200":
  26028. description: OK
  26029. schema:
  26030. items:
  26031. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26032. type: array
  26033. "500":
  26034. description: Internal Server Error
  26035. schema:
  26036. $ref: '#/definitions/app.Response'
  26037. security:
  26038. - ApiKeyAuth: []
  26039. summary: 查询期货子账户
  26040. tags:
  26041. - 企业风险管理v3(app)
  26042. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26043. get:
  26044. parameters:
  26045. - description: 套期项目ID
  26046. in: query
  26047. name: hedgeditemid
  26048. required: true
  26049. type: integer
  26050. produces:
  26051. - application/json
  26052. responses:
  26053. "200":
  26054. description: OK
  26055. schema:
  26056. items:
  26057. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26058. type: array
  26059. "500":
  26060. description: Internal Server Error
  26061. schema:
  26062. $ref: '#/definitions/app.Response'
  26063. security:
  26064. - ApiKeyAuth: []
  26065. summary: 现货成交明细查询
  26066. tags:
  26067. - 企业风险管理v8
  26068. /Ermcp8/QueryERMCP2HedgedItemspot:
  26069. get:
  26070. parameters:
  26071. - description: 套期项目ID
  26072. in: query
  26073. name: hedgeditemid
  26074. required: true
  26075. type: integer
  26076. produces:
  26077. - application/json
  26078. responses:
  26079. "200":
  26080. description: OK
  26081. schema:
  26082. items:
  26083. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26084. type: array
  26085. "500":
  26086. description: Internal Server Error
  26087. schema:
  26088. $ref: '#/definitions/app.Response'
  26089. security:
  26090. - ApiKeyAuth: []
  26091. summary: 套期计划明细查询
  26092. tags:
  26093. - 企业风险管理v8
  26094. /Ermcp8/QueryERMCPJRLinkPos:
  26095. get:
  26096. parameters:
  26097. - description: 套期项目ID
  26098. in: query
  26099. name: hedgeditemid
  26100. required: true
  26101. type: integer
  26102. produces:
  26103. - application/json
  26104. responses:
  26105. "200":
  26106. description: OK
  26107. schema:
  26108. items:
  26109. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26110. type: array
  26111. "500":
  26112. description: Internal Server Error
  26113. schema:
  26114. $ref: '#/definitions/app.Response'
  26115. security:
  26116. - ApiKeyAuth: []
  26117. summary: 期货持仓明细查询
  26118. tags:
  26119. - 企业风险管理v8
  26120. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26121. get:
  26122. parameters:
  26123. - description: 套期项目ID
  26124. in: query
  26125. name: hedgeditemid
  26126. required: true
  26127. type: integer
  26128. produces:
  26129. - application/json
  26130. responses:
  26131. "200":
  26132. description: OK
  26133. schema:
  26134. items:
  26135. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26136. type: array
  26137. "500":
  26138. description: Internal Server Error
  26139. schema:
  26140. $ref: '#/definitions/app.Response'
  26141. security:
  26142. - ApiKeyAuth: []
  26143. summary: 期货成交单明细查询
  26144. tags:
  26145. - 企业风险管理v8
  26146. /Ermcp8/QueryErmcp2AreaExposure:
  26147. get:
  26148. parameters:
  26149. - description: 用户ID
  26150. in: query
  26151. name: userid
  26152. required: true
  26153. type: string
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. items:
  26161. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26162. type: array
  26163. "500":
  26164. description: Internal Server Error
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. security:
  26168. - ApiKeyAuth: []
  26169. summary: 企业敞口查询
  26170. tags:
  26171. - 企业风险管理v8
  26172. /Ermcp8/QueryErmcp2HedgedItem:
  26173. get:
  26174. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26175. parameters:
  26176. - description: 用户ID
  26177. in: query
  26178. name: userid
  26179. required: true
  26180. type: string
  26181. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26182. in: query
  26183. name: hedgedtype
  26184. type: integer
  26185. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26186. in: query
  26187. name: hedgeditemstatus
  26188. type: integer
  26189. produces:
  26190. - application/json
  26191. responses:
  26192. "200":
  26193. description: OK
  26194. schema:
  26195. items:
  26196. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26197. type: array
  26198. "500":
  26199. description: Internal Server Error
  26200. schema:
  26201. $ref: '#/definitions/app.Response'
  26202. security:
  26203. - ApiKeyAuth: []
  26204. summary: 查询被套期项目信息
  26205. tags:
  26206. - 企业风险管理v8
  26207. /Ermcp8/QueryErmcp2HedgedItemLink:
  26208. get:
  26209. parameters:
  26210. - description: 现货合同ID
  26211. in: query
  26212. name: spotcontractid
  26213. required: true
  26214. type: integer
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. items:
  26222. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26223. type: array
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 现货合同关联被套期项目查询
  26231. tags:
  26232. - 企业风险管理v8
  26233. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26234. get:
  26235. parameters:
  26236. - description: 用户ID
  26237. in: query
  26238. name: userid
  26239. required: true
  26240. type: integer
  26241. - description: 套保品种ID
  26242. in: query
  26243. name: middlegoodsid
  26244. required: true
  26245. type: integer
  26246. produces:
  26247. - application/json
  26248. responses:
  26249. "200":
  26250. description: OK
  26251. schema:
  26252. items:
  26253. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26254. type: array
  26255. "500":
  26256. description: Internal Server Error
  26257. schema:
  26258. $ref: '#/definitions/app.Response'
  26259. security:
  26260. - ApiKeyAuth: []
  26261. summary: 敞口明细 - 计划变动明细
  26262. tags:
  26263. - 企业风险管理v8
  26264. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26265. get:
  26266. parameters:
  26267. - description: 用户ID
  26268. in: query
  26269. name: userid
  26270. required: true
  26271. type: integer
  26272. - description: 套保品种ID
  26273. in: query
  26274. name: middlegoodsid
  26275. required: true
  26276. type: integer
  26277. produces:
  26278. - application/json
  26279. responses:
  26280. "200":
  26281. description: OK
  26282. schema:
  26283. items:
  26284. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26285. type: array
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 敞口明细 - 现货变动明细查询
  26293. tags:
  26294. - 企业风险管理v8
  26295. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26296. get:
  26297. parameters:
  26298. - description: 用户ID
  26299. in: query
  26300. name: userid
  26301. required: true
  26302. type: integer
  26303. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26304. in: query
  26305. name: spottype
  26306. required: true
  26307. type: integer
  26308. - description: 现货商品ID
  26309. in: query
  26310. name: wrstandardid
  26311. type: integer
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. items:
  26319. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26320. type: array
  26321. "500":
  26322. description: Internal Server Error
  26323. schema:
  26324. $ref: '#/definitions/app.Response'
  26325. security:
  26326. - ApiKeyAuth: []
  26327. summary: 可关联项目查询
  26328. tags:
  26329. - 企业风险管理v8
  26330. /Ermcp8/QueryErmcp8HedgeditemReport:
  26331. get:
  26332. parameters:
  26333. - description: 用户ID
  26334. in: query
  26335. name: userid
  26336. required: true
  26337. type: integer
  26338. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26339. in: query
  26340. name: cycletype
  26341. type: integer
  26342. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26343. 全(0)【原值】
  26344. in: query
  26345. name: cycletime
  26346. required: true
  26347. type: string
  26348. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26349. in: query
  26350. name: hedgedtype
  26351. type: integer
  26352. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26353. in: query
  26354. name: hedgeditemstatus
  26355. type: integer
  26356. - description: 项目编号,模糊查询
  26357. in: query
  26358. name: hedgeditemnum
  26359. type: string
  26360. - description: 现货商品ID
  26361. in: query
  26362. name: wrstandardid
  26363. type: integer
  26364. produces:
  26365. - application/json
  26366. responses:
  26367. "200":
  26368. description: OK
  26369. schema:
  26370. items:
  26371. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26372. type: array
  26373. "500":
  26374. description: Internal Server Error
  26375. schema:
  26376. $ref: '#/definitions/app.Response'
  26377. security:
  26378. - ApiKeyAuth: []
  26379. summary: 套期项目报表查询
  26380. tags:
  26381. - 企业风险管理v8
  26382. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26383. get:
  26384. parameters:
  26385. - description: 用户ID
  26386. in: query
  26387. name: userid
  26388. required: true
  26389. type: string
  26390. produces:
  26391. - application/json
  26392. responses:
  26393. "200":
  26394. description: OK
  26395. schema:
  26396. items:
  26397. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26398. type: array
  26399. "500":
  26400. description: Internal Server Error
  26401. schema:
  26402. $ref: '#/definitions/app.Response'
  26403. security:
  26404. - ApiKeyAuth: []
  26405. summary: 查询执行中项目查询信息
  26406. tags:
  26407. - 企业风险管理v8
  26408. /Ermcp8/QueryInternalEnableTradeDetail:
  26409. get:
  26410. parameters:
  26411. - description: 企业ID
  26412. in: query
  26413. name: areauserid
  26414. required: true
  26415. type: integer
  26416. - description: 期货合约ID
  26417. in: query
  26418. name: goodsid
  26419. required: true
  26420. type: integer
  26421. - description: 交易用户ID
  26422. in: query
  26423. name: tradeuserid
  26424. required: true
  26425. type: integer
  26426. produces:
  26427. - application/json
  26428. responses:
  26429. "200":
  26430. description: OK
  26431. schema:
  26432. items:
  26433. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26434. type: array
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. security:
  26440. - ApiKeyAuth: []
  26441. summary: 内部成交单可关联项目查询
  26442. tags:
  26443. - 企业风险管理v8
  26444. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26445. get:
  26446. parameters:
  26447. - description: 用户编号
  26448. in: query
  26449. name: userid
  26450. required: true
  26451. type: integer
  26452. - description: 起始日期(格式yyyymmdd)
  26453. in: query
  26454. name: begindate
  26455. type: string
  26456. - description: 终止日期(格式yyyymmdd)
  26457. in: query
  26458. name: enddate
  26459. type: string
  26460. - description: 合约代码
  26461. in: query
  26462. name: goodscode
  26463. type: string
  26464. - description: 合约名称
  26465. in: query
  26466. name: goodsname
  26467. type: string
  26468. - description: 成交单号
  26469. in: query
  26470. name: tradeid
  26471. type: integer
  26472. - description: 方向 - 0:买 1:卖
  26473. in: query
  26474. name: buyorsell
  26475. type: integer
  26476. - description: 套期主体
  26477. in: query
  26478. name: accountname
  26479. type: string
  26480. produces:
  26481. - application/json
  26482. responses:
  26483. "200":
  26484. description: OK
  26485. schema:
  26486. items:
  26487. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26488. type: array
  26489. "500":
  26490. description: Internal Server Error
  26491. schema:
  26492. $ref: '#/definitions/app.Response'
  26493. security:
  26494. - ApiKeyAuth: []
  26495. summary: 内部未关联成交单查询
  26496. tags:
  26497. - 企业风险管理v8
  26498. /Ermcp8/QueryMarketCalendar:
  26499. get:
  26500. parameters:
  26501. - description: 市场ID
  26502. in: query
  26503. name: marketid
  26504. type: integer
  26505. produces:
  26506. - application/json
  26507. responses:
  26508. "200":
  26509. description: OK
  26510. schema:
  26511. items:
  26512. $ref: '#/definitions/models.Marketcalendar'
  26513. type: array
  26514. "500":
  26515. description: Internal Server Error
  26516. schema:
  26517. $ref: '#/definitions/app.Response'
  26518. security:
  26519. - ApiKeyAuth: []
  26520. summary: 市场节假日查询
  26521. tags:
  26522. - 企业风险管理v8
  26523. /Ermcp8/QueryPatradeLinkDetail:
  26524. get:
  26525. parameters:
  26526. - description: 用户ID
  26527. in: query
  26528. name: userid
  26529. required: true
  26530. type: integer
  26531. - description: 套保品种ID
  26532. in: query
  26533. name: middlegoodsid
  26534. required: true
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. items:
  26543. $ref: '#/definitions/models.Patradelinkdetail'
  26544. type: array
  26545. "500":
  26546. description: Internal Server Error
  26547. schema:
  26548. $ref: '#/definitions/app.Response'
  26549. security:
  26550. - ApiKeyAuth: []
  26551. summary: 敞口明细 - 期货变动明细
  26552. tags:
  26553. - 企业风险管理v8
  26554. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26555. get:
  26556. parameters:
  26557. - description: 企业ID
  26558. in: query
  26559. name: areauserid
  26560. required: true
  26561. type: integer
  26562. - description: 计划类型 - 1:采购 -1:销售
  26563. in: query
  26564. name: contracttype
  26565. type: integer
  26566. - description: 计划编号,模糊查询
  26567. in: query
  26568. name: hedgeplanno
  26569. type: string
  26570. - description: 现货商品,模糊查询
  26571. in: query
  26572. name: wrstandardname
  26573. type: string
  26574. produces:
  26575. - application/json
  26576. responses:
  26577. "200":
  26578. description: OK
  26579. schema:
  26580. items:
  26581. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26582. type: array
  26583. "500":
  26584. description: Internal Server Error
  26585. schema:
  26586. $ref: '#/definitions/app.Response'
  26587. security:
  26588. - ApiKeyAuth: []
  26589. summary: 未关联购销计划
  26590. tags:
  26591. - 企业风险管理v8
  26592. /Ermcp8/QueryUnLinkSpotContract:
  26593. get:
  26594. parameters:
  26595. - description: 用户ID
  26596. in: query
  26597. name: userid
  26598. required: true
  26599. type: integer
  26600. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26601. in: query
  26602. name: pricetype
  26603. type: integer
  26604. - description: 合同编号, 模拟查询
  26605. in: query
  26606. name: contractno
  26607. type: string
  26608. - description: 对手方, 模拟查询
  26609. in: query
  26610. name: customername
  26611. type: string
  26612. - description: 项合同类型 - 1:采购 -1:销售
  26613. in: query
  26614. name: contracttype
  26615. type: integer
  26616. produces:
  26617. - application/json
  26618. responses:
  26619. "200":
  26620. description: OK
  26621. schema:
  26622. items:
  26623. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26624. type: array
  26625. "500":
  26626. description: Internal Server Error
  26627. schema:
  26628. $ref: '#/definitions/app.Response'
  26629. security:
  26630. - ApiKeyAuth: []
  26631. summary: 未关联合同查询
  26632. tags:
  26633. - 企业风险管理v8
  26634. /Erms2/QueryArbitrageStrategy:
  26635. get:
  26636. parameters:
  26637. - description: 账户ID
  26638. in: query
  26639. name: userid
  26640. required: true
  26641. type: integer
  26642. - description: 商品组ID(品种ID)
  26643. in: query
  26644. name: goodsgroupid
  26645. type: string
  26646. produces:
  26647. - application/json
  26648. responses:
  26649. "200":
  26650. description: OK
  26651. schema:
  26652. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26653. "500":
  26654. description: Internal Server Error
  26655. schema:
  26656. $ref: '#/definitions/app.Response'
  26657. security:
  26658. - ApiKeyAuth: []
  26659. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26660. tags:
  26661. - 风险管理
  26662. /Erms2/QueryInnerTradeDetail:
  26663. get:
  26664. parameters:
  26665. - description: 资金账户
  26666. in: query
  26667. name: accountid
  26668. required: true
  26669. type: integer
  26670. produces:
  26671. - application/json
  26672. responses:
  26673. "200":
  26674. description: OK
  26675. schema:
  26676. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26677. "500":
  26678. description: Internal Server Error
  26679. schema:
  26680. $ref: '#/definitions/app.Response'
  26681. security:
  26682. - ApiKeyAuth: []
  26683. summary: 查询内部成交单信息
  26684. tags:
  26685. - 风险管理
  26686. /Erms2/QuerySpotContract:
  26687. get:
  26688. parameters:
  26689. - description: 策略申请ID
  26690. in: query
  26691. name: asapplyid
  26692. required: true
  26693. type: integer
  26694. - description: 现货合同ID
  26695. in: query
  26696. name: spotcontractid
  26697. type: integer
  26698. produces:
  26699. - application/json
  26700. responses:
  26701. "200":
  26702. description: OK
  26703. schema:
  26704. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26705. "500":
  26706. description: Internal Server Error
  26707. schema:
  26708. $ref: '#/definitions/app.Response'
  26709. security:
  26710. - ApiKeyAuth: []
  26711. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26712. tags:
  26713. - 风险管理
  26714. /Erms3/AddErms2ASApply:
  26715. post:
  26716. parameters:
  26717. - description: 申请参数
  26718. in: body
  26719. name: jsonBody
  26720. required: true
  26721. schema:
  26722. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26723. produces:
  26724. - application/json
  26725. responses:
  26726. "200":
  26727. description: OK
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. "500":
  26731. description: Internal Server Error
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. security:
  26735. - ApiKeyAuth: []
  26736. summary: 新增期现套利业务申请
  26737. tags:
  26738. - 风险管理v3
  26739. /Erms3/AddErms2SpotTradeApply:
  26740. post:
  26741. parameters:
  26742. - description: 申请参数
  26743. in: body
  26744. name: jsonBody
  26745. required: true
  26746. schema:
  26747. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. $ref: '#/definitions/app.Response'
  26755. "500":
  26756. description: Internal Server Error
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. security:
  26760. - ApiKeyAuth: []
  26761. summary: 新增现货贸易业务申请
  26762. tags:
  26763. - 风险管理v3
  26764. /Erms3/AddSpotContractApply:
  26765. post:
  26766. parameters:
  26767. - description: 申请参数
  26768. in: body
  26769. name: jsonBody
  26770. required: true
  26771. schema:
  26772. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26773. produces:
  26774. - application/json
  26775. responses:
  26776. "200":
  26777. description: OK
  26778. schema:
  26779. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26780. "500":
  26781. description: Internal Server Error
  26782. schema:
  26783. $ref: '#/definitions/app.Response'
  26784. security:
  26785. - ApiKeyAuth: []
  26786. summary: 新增现货合同申请
  26787. tags:
  26788. - 风险管理v3
  26789. /Erms3/AddUserInfoApply:
  26790. post:
  26791. parameters:
  26792. - description: 用户信息
  26793. in: body
  26794. name: jsonBody
  26795. required: true
  26796. schema:
  26797. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26798. produces:
  26799. - application/json
  26800. responses:
  26801. "200":
  26802. description: OK
  26803. schema:
  26804. $ref: '#/definitions/app.Response'
  26805. "500":
  26806. description: Internal Server Error
  26807. schema:
  26808. $ref: '#/definitions/app.Response'
  26809. security:
  26810. - ApiKeyAuth: []
  26811. summary: 新增客户申请
  26812. tags:
  26813. - 风险管理v3
  26814. /Erms3/DeleteUserInfoApply:
  26815. get:
  26816. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26817. parameters:
  26818. - description: 用户ID
  26819. in: query
  26820. name: userID
  26821. required: true
  26822. type: integer
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. $ref: '#/definitions/app.Response'
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 删除客户申请
  26837. tags:
  26838. - 风险管理v3
  26839. /Erms3/ModifyUserInfoApply:
  26840. post:
  26841. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26842. int, "userstate": 2 }'
  26843. parameters:
  26844. - description: 用户信息
  26845. in: body
  26846. name: jsonBody
  26847. required: true
  26848. schema:
  26849. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26850. produces:
  26851. - application/json
  26852. responses:
  26853. "200":
  26854. description: OK
  26855. schema:
  26856. $ref: '#/definitions/app.Response'
  26857. "500":
  26858. description: Internal Server Error
  26859. schema:
  26860. $ref: '#/definitions/app.Response'
  26861. security:
  26862. - ApiKeyAuth: []
  26863. summary: 修改客户申请
  26864. tags:
  26865. - 风险管理v3
  26866. /Erms3/QueryBusinessInfo:
  26867. get:
  26868. parameters:
  26869. - description: 资金账号ID列表,用逗号分隔
  26870. in: query
  26871. name: accountids
  26872. required: true
  26873. type: string
  26874. - description: 状态,0为未结束 1为已结束
  26875. in: query
  26876. name: status
  26877. required: true
  26878. type: integer
  26879. produces:
  26880. - application/json
  26881. responses:
  26882. "200":
  26883. description: OK
  26884. schema:
  26885. items:
  26886. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26887. type: array
  26888. "500":
  26889. description: Internal Server Error
  26890. schema:
  26891. $ref: '#/definitions/app.Response'
  26892. security:
  26893. - ApiKeyAuth: []
  26894. summary: 查询业务表单数据
  26895. tags:
  26896. - 风险管理v3
  26897. /Erms3/QueryPendingAuditContract:
  26898. get:
  26899. parameters:
  26900. - description: 资金账号ID列表,逗号隔开
  26901. in: query
  26902. name: accountids
  26903. required: true
  26904. type: string
  26905. - description: 合同类型 1-采购 -1-销售
  26906. in: query
  26907. name: contracttype
  26908. required: true
  26909. type: integer
  26910. - description: 合同模式 1-普通 2-回购
  26911. in: query
  26912. name: contractmode
  26913. required: true
  26914. type: integer
  26915. produces:
  26916. - application/json
  26917. responses:
  26918. "200":
  26919. description: OK
  26920. schema:
  26921. items:
  26922. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26923. type: array
  26924. "500":
  26925. description: Internal Server Error
  26926. schema:
  26927. $ref: '#/definitions/app.Response'
  26928. security:
  26929. - ApiKeyAuth: []
  26930. summary: 查询待审核合同
  26931. tags:
  26932. - 风险管理v3
  26933. /Erms3/QueryPendingBusiness:
  26934. get:
  26935. parameters:
  26936. - description: 资金账号ID列表,逗号隔开
  26937. in: query
  26938. name: accountids
  26939. required: true
  26940. type: string
  26941. produces:
  26942. - application/json
  26943. responses:
  26944. "200":
  26945. description: OK
  26946. schema:
  26947. items:
  26948. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26949. type: array
  26950. "500":
  26951. description: Internal Server Error
  26952. schema:
  26953. $ref: '#/definitions/app.Response'
  26954. security:
  26955. - ApiKeyAuth: []
  26956. summary: 查询待审核基差贸易业务
  26957. tags:
  26958. - 风险管理v3
  26959. /Erms3/QuerySpotContractAppleForm:
  26960. get:
  26961. parameters:
  26962. - description: 登录账号
  26963. in: query
  26964. name: loginID
  26965. required: true
  26966. type: integer
  26967. produces:
  26968. - application/json
  26969. responses:
  26970. "200":
  26971. description: OK
  26972. schema:
  26973. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26974. "500":
  26975. description: Internal Server Error
  26976. schema:
  26977. $ref: '#/definitions/app.Response'
  26978. security:
  26979. - ApiKeyAuth: []
  26980. summary: 查询合同申请表单数据
  26981. tags:
  26982. - 风险管理v3
  26983. /Erms3/QuerySpotContractDetail:
  26984. get:
  26985. parameters:
  26986. - description: 资金账号ID列表,用逗号分隔
  26987. in: query
  26988. name: accountids
  26989. required: true
  26990. type: string
  26991. - description: 合同类型,1为采购合同 -1为销售合同
  26992. in: query
  26993. name: contracttype
  26994. required: true
  26995. type: integer
  26996. - description: 合同模式,1为普通合同 2为回购销售合同
  26997. in: query
  26998. name: contractmode
  26999. required: true
  27000. type: integer
  27001. - description: 状态,0为履约中 1为已完成
  27002. in: query
  27003. name: status
  27004. required: true
  27005. type: integer
  27006. produces:
  27007. - application/json
  27008. responses:
  27009. "200":
  27010. description: OK
  27011. schema:
  27012. items:
  27013. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27014. type: array
  27015. "500":
  27016. description: Internal Server Error
  27017. schema:
  27018. $ref: '#/definitions/app.Response'
  27019. security:
  27020. - ApiKeyAuth: []
  27021. summary: 查询合同详细信息
  27022. tags:
  27023. - 风险管理v3
  27024. /Erms3/QueryUserInfoApplies:
  27025. get:
  27026. parameters:
  27027. - description: 页码
  27028. in: query
  27029. name: page
  27030. type: integer
  27031. - description: 每页条数
  27032. in: query
  27033. name: pagesize
  27034. type: integer
  27035. - description: 客户名称,支持模糊查询
  27036. in: query
  27037. name: userName
  27038. type: string
  27039. produces:
  27040. - application/json
  27041. responses:
  27042. "200":
  27043. description: OK
  27044. schema:
  27045. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27046. "500":
  27047. description: Internal Server Error
  27048. schema:
  27049. $ref: '#/definitions/app.Response'
  27050. security:
  27051. - ApiKeyAuth: []
  27052. summary: 客户申请信息查询
  27053. tags:
  27054. - 风险管理v3
  27055. /Erms3/QueryUserInfos:
  27056. get:
  27057. parameters:
  27058. - description: 页码
  27059. in: query
  27060. name: page
  27061. type: integer
  27062. - description: 每页条数
  27063. in: query
  27064. name: pagesize
  27065. type: integer
  27066. - description: 客户名称,支持模糊查询
  27067. in: query
  27068. name: userName
  27069. type: string
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 客户信息查询
  27084. tags:
  27085. - 风险管理v3
  27086. /Guangzuan/GetGoods:
  27087. get:
  27088. parameters:
  27089. - description: 商品编号
  27090. in: query
  27091. name: goodsno
  27092. required: true
  27093. type: string
  27094. produces:
  27095. - application/json
  27096. responses:
  27097. "200":
  27098. description: OK
  27099. schema:
  27100. $ref: '#/definitions/models.GZGoods'
  27101. "500":
  27102. description: Internal Server Error
  27103. schema:
  27104. $ref: '#/definitions/app.Response'
  27105. security:
  27106. - ApiKeyAuth: []
  27107. - LoginID: []
  27108. - Group: []
  27109. summary: 获取钻石详情
  27110. tags:
  27111. - 广钻
  27112. /Guangzuan/QueryBuyOrder:
  27113. get:
  27114. parameters:
  27115. - description: 页码
  27116. in: query
  27117. name: page
  27118. type: integer
  27119. - description: 每页条数
  27120. in: query
  27121. name: pagesize
  27122. type: integer
  27123. - description: 商品(查询字段-模糊查询)
  27124. in: query
  27125. name: zsallproperties
  27126. type: string
  27127. - description: 钻石分类, 格式:1,2,3
  27128. in: query
  27129. name: zscategorys
  27130. type: string
  27131. - description: 委托单号
  27132. in: query
  27133. name: wrtradeorderid
  27134. type: integer
  27135. - description: 买方(查询字段-模糊查询)
  27136. in: query
  27137. name: buyusername
  27138. type: string
  27139. produces:
  27140. - application/json
  27141. responses:
  27142. "200":
  27143. description: OK
  27144. schema:
  27145. items:
  27146. $ref: '#/definitions/models.BuyOrder'
  27147. type: array
  27148. "500":
  27149. description: Internal Server Error
  27150. schema:
  27151. $ref: '#/definitions/app.Response'
  27152. security:
  27153. - ApiKeyAuth: []
  27154. - LoginID: []
  27155. - Group: []
  27156. summary: 查询求购大厅委托单
  27157. tags:
  27158. - 广钻
  27159. /Guangzuan/QueryDiamond:
  27160. post:
  27161. parameters:
  27162. - description: 钻石搜索入参
  27163. in: body
  27164. name: data
  27165. required: true
  27166. schema:
  27167. $ref: '#/definitions/models.SellOrderQueryReq'
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. items:
  27175. $ref: '#/definitions/models.SellOrder'
  27176. type: array
  27177. "500":
  27178. description: Internal Server Error
  27179. schema:
  27180. $ref: '#/definitions/app.Response'
  27181. security:
  27182. - ApiKeyAuth: []
  27183. - LoginID: []
  27184. - Group: []
  27185. summary: 钻石搜索
  27186. tags:
  27187. - 广钻
  27188. /Guangzuan/QueryMyBargainApply:
  27189. get:
  27190. parameters:
  27191. - description: 用户ID
  27192. in: query
  27193. name: userid
  27194. required: true
  27195. type: integer
  27196. - description: 页码
  27197. in: query
  27198. name: page
  27199. type: integer
  27200. - description: 每页条数
  27201. in: query
  27202. name: pagesize
  27203. type: integer
  27204. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27205. in: query
  27206. name: applystatus
  27207. type: integer
  27208. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27209. in: query
  27210. name: type
  27211. type: integer
  27212. produces:
  27213. - application/json
  27214. responses:
  27215. "200":
  27216. description: OK
  27217. schema:
  27218. items:
  27219. $ref: '#/definitions/models.MyBargainApply'
  27220. type: array
  27221. "500":
  27222. description: Internal Server Error
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. security:
  27226. - ApiKeyAuth: []
  27227. - LoginID: []
  27228. - Group: []
  27229. summary: 查询我的询价-求购
  27230. tags:
  27231. - 广钻
  27232. /Guangzuan/QueryMyBuyOrder:
  27233. get:
  27234. parameters:
  27235. - description: 用户ID
  27236. in: query
  27237. name: userid
  27238. required: true
  27239. type: integer
  27240. - description: 页码
  27241. in: query
  27242. name: page
  27243. type: integer
  27244. - description: 每页条数
  27245. in: query
  27246. name: pagesize
  27247. type: integer
  27248. - description: 商品(查询字段-模糊查询)
  27249. in: query
  27250. name: zsallproperties
  27251. type: string
  27252. - description: 钻石分类, 格式:1,2,3
  27253. in: query
  27254. name: zscategorys
  27255. type: string
  27256. - description: 委托单号
  27257. in: query
  27258. name: wrtradeorderid
  27259. type: integer
  27260. - description: 是否历史查询
  27261. in: query
  27262. name: ishis
  27263. type: boolean
  27264. - description: 开始交易日(yyyymmdd)
  27265. in: query
  27266. name: begindate
  27267. type: string
  27268. - description: 结束交易日(yyyymmdd)
  27269. in: query
  27270. name: enddate
  27271. type: string
  27272. produces:
  27273. - application/json
  27274. responses:
  27275. "200":
  27276. description: OK
  27277. schema:
  27278. items:
  27279. $ref: '#/definitions/models.MyBuyOrder'
  27280. type: array
  27281. "500":
  27282. description: Internal Server Error
  27283. schema:
  27284. $ref: '#/definitions/app.Response'
  27285. security:
  27286. - ApiKeyAuth: []
  27287. - LoginID: []
  27288. - Group: []
  27289. summary: 查询我的求购
  27290. tags:
  27291. - 广钻
  27292. /Guangzuan/QueryMyDeListing:
  27293. get:
  27294. parameters:
  27295. - description: 用户ID
  27296. in: query
  27297. name: userid
  27298. required: true
  27299. type: integer
  27300. - description: 页码
  27301. in: query
  27302. name: page
  27303. type: integer
  27304. - description: 每页条数
  27305. in: query
  27306. name: pagesize
  27307. type: integer
  27308. - description: 商品(查询字段-模糊查询)
  27309. in: query
  27310. name: zsallproperties
  27311. type: string
  27312. - description: 钻石分类, 格式:1,2,3
  27313. in: query
  27314. name: zscategorys
  27315. type: string
  27316. - description: 成交单号
  27317. in: query
  27318. name: wrtradedetailid
  27319. type: integer
  27320. - description: 方向,0-购买 1-出售
  27321. in: query
  27322. name: buyorsell
  27323. type: integer
  27324. - description: 对手方(模糊匹配)
  27325. in: query
  27326. name: matchusername
  27327. type: string
  27328. - description: 开始交易日(yyyymmdd)
  27329. in: query
  27330. name: begindate
  27331. type: string
  27332. - description: 结束交易日(yyyymmdd)
  27333. in: query
  27334. name: enddate
  27335. type: string
  27336. produces:
  27337. - application/json
  27338. responses:
  27339. "200":
  27340. description: OK
  27341. schema:
  27342. items:
  27343. $ref: '#/definitions/models.MyDeListing'
  27344. type: array
  27345. "500":
  27346. description: Internal Server Error
  27347. schema:
  27348. $ref: '#/definitions/app.Response'
  27349. security:
  27350. - ApiKeyAuth: []
  27351. - LoginID: []
  27352. - Group: []
  27353. summary: 查询我的摘牌
  27354. tags:
  27355. - 广钻
  27356. /Guangzuan/QueryMyDelistingApply:
  27357. get:
  27358. parameters:
  27359. - description: 用户ID
  27360. in: query
  27361. name: userid
  27362. required: true
  27363. type: integer
  27364. - description: 页码
  27365. in: query
  27366. name: page
  27367. type: integer
  27368. - description: 每页条数
  27369. in: query
  27370. name: pagesize
  27371. type: integer
  27372. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  27373. in: query
  27374. name: applystatus
  27375. type: integer
  27376. - description: 查询类型 - 0:我的询价 1:我订单的询价
  27377. in: query
  27378. name: type
  27379. type: integer
  27380. produces:
  27381. - application/json
  27382. responses:
  27383. "200":
  27384. description: OK
  27385. schema:
  27386. items:
  27387. $ref: '#/definitions/models.MyDelistingApply'
  27388. type: array
  27389. "500":
  27390. description: Internal Server Error
  27391. schema:
  27392. $ref: '#/definitions/app.Response'
  27393. security:
  27394. - ApiKeyAuth: []
  27395. - LoginID: []
  27396. - Group: []
  27397. summary: 查询我的询价-出售
  27398. tags:
  27399. - 广钻
  27400. /Guangzuan/QueryMyFavorite:
  27401. get:
  27402. parameters:
  27403. - description: 用户ID
  27404. in: query
  27405. name: userid
  27406. required: true
  27407. type: integer
  27408. - description: 页码
  27409. in: query
  27410. name: page
  27411. type: integer
  27412. - description: 每页条数
  27413. in: query
  27414. name: pagesize
  27415. type: integer
  27416. - description: 钻石分类, 格式:1,2,3
  27417. in: query
  27418. name: zscategorys
  27419. type: string
  27420. produces:
  27421. - application/json
  27422. responses:
  27423. "200":
  27424. description: OK
  27425. schema:
  27426. items:
  27427. $ref: '#/definitions/models.MyFavorite'
  27428. type: array
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. - LoginID: []
  27436. - Group: []
  27437. summary: 查询我的收藏
  27438. tags:
  27439. - 广钻
  27440. /Guangzuan/QueryMyPerformanc:
  27441. get:
  27442. parameters:
  27443. - description: 用户ID
  27444. in: query
  27445. name: userid
  27446. required: true
  27447. type: integer
  27448. - description: 页码
  27449. in: query
  27450. name: page
  27451. type: integer
  27452. - description: 每页条数
  27453. in: query
  27454. name: pagesize
  27455. type: integer
  27456. - description: 商品(查询字段-模糊查询)
  27457. in: query
  27458. name: zsallproperties
  27459. type: string
  27460. - description: 方向,0-买 1-卖
  27461. in: query
  27462. name: buyorsell
  27463. type: integer
  27464. - description: 是否历史查询
  27465. in: query
  27466. name: ishis
  27467. type: boolean
  27468. - description: 开始交易日(yyyymmdd)
  27469. in: query
  27470. name: begindate
  27471. type: string
  27472. - description: 结束交易日(yyyymmdd)
  27473. in: query
  27474. name: enddate
  27475. type: string
  27476. produces:
  27477. - application/json
  27478. responses:
  27479. "200":
  27480. description: OK
  27481. schema:
  27482. items:
  27483. $ref: '#/definitions/models.MyPerformanc'
  27484. type: array
  27485. "500":
  27486. description: Internal Server Error
  27487. schema:
  27488. $ref: '#/definitions/app.Response'
  27489. security:
  27490. - ApiKeyAuth: []
  27491. - LoginID: []
  27492. - Group: []
  27493. summary: 查询我的履约
  27494. tags:
  27495. - 广钻
  27496. /Guangzuan/QueryMySellOrder:
  27497. get:
  27498. parameters:
  27499. - description: 用户ID
  27500. in: query
  27501. name: userid
  27502. required: true
  27503. type: integer
  27504. - description: 页码
  27505. in: query
  27506. name: page
  27507. type: integer
  27508. - description: 每页条数
  27509. in: query
  27510. name: pagesize
  27511. type: integer
  27512. - description: 商品(查询字段-模糊查询)
  27513. in: query
  27514. name: zsallproperties
  27515. type: string
  27516. - description: 钻石分类, 格式:1,2,3
  27517. in: query
  27518. name: zscategorys
  27519. type: string
  27520. - description: 委托单号
  27521. in: query
  27522. name: wrtradeorderid
  27523. type: integer
  27524. - description: 是否历史查询
  27525. in: query
  27526. name: ishis
  27527. type: boolean
  27528. - description: 开始交易日(yyyymmdd)
  27529. in: query
  27530. name: begindate
  27531. type: string
  27532. - description: 结束交易日(yyyymmdd)
  27533. in: query
  27534. name: enddate
  27535. type: string
  27536. produces:
  27537. - application/json
  27538. responses:
  27539. "200":
  27540. description: OK
  27541. schema:
  27542. items:
  27543. $ref: '#/definitions/models.MySellOrder'
  27544. type: array
  27545. "500":
  27546. description: Internal Server Error
  27547. schema:
  27548. $ref: '#/definitions/app.Response'
  27549. security:
  27550. - ApiKeyAuth: []
  27551. - LoginID: []
  27552. - Group: []
  27553. summary: 查询我的出售
  27554. tags:
  27555. - 广钻
  27556. /Guangzuan/QueryMyWRPosition:
  27557. get:
  27558. parameters:
  27559. - description: 页码
  27560. in: query
  27561. name: page
  27562. type: integer
  27563. - description: 每页条数
  27564. in: query
  27565. name: pagesize
  27566. type: integer
  27567. - description: 登录用户ID
  27568. in: query
  27569. name: wruserid
  27570. required: true
  27571. type: integer
  27572. - description: 商品(查询字段-模糊查询)
  27573. in: query
  27574. name: zsallproperties
  27575. type: string
  27576. - description: 钻石分类, 格式:1,2,3
  27577. in: query
  27578. name: zscategorys
  27579. type: string
  27580. - description: 仓库ID
  27581. in: query
  27582. name: warehouseid
  27583. type: integer
  27584. - description: 是否上架,0-全部 1-是 2-否
  27585. in: query
  27586. name: marketflag
  27587. type: integer
  27588. produces:
  27589. - application/json
  27590. responses:
  27591. "200":
  27592. description: OK
  27593. schema:
  27594. items:
  27595. $ref: '#/definitions/models.MyWRPosition'
  27596. type: array
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. - LoginID: []
  27604. - Group: []
  27605. summary: 查询我的库存
  27606. tags:
  27607. - 广钻
  27608. /Guangzuan/QuerySellOrder:
  27609. get:
  27610. parameters:
  27611. - description: 页码
  27612. in: query
  27613. name: page
  27614. type: integer
  27615. - description: 每页条数
  27616. in: query
  27617. name: pagesize
  27618. type: integer
  27619. - description: 商品(查询字段-模糊查询)
  27620. in: query
  27621. name: zsallproperties
  27622. type: string
  27623. - description: 钻石分类, 格式:1,2,3
  27624. in: query
  27625. name: zscategorys
  27626. type: string
  27627. - description: 委托单号
  27628. in: query
  27629. name: wrtradeorderid
  27630. type: integer
  27631. - description: 卖方(查询字段-模糊查询)
  27632. in: query
  27633. name: buyusername
  27634. type: string
  27635. produces:
  27636. - application/json
  27637. responses:
  27638. "200":
  27639. description: OK
  27640. schema:
  27641. items:
  27642. $ref: '#/definitions/models.SellOrder'
  27643. type: array
  27644. "500":
  27645. description: Internal Server Error
  27646. schema:
  27647. $ref: '#/definitions/app.Response'
  27648. security:
  27649. - ApiKeyAuth: []
  27650. - LoginID: []
  27651. - Group: []
  27652. summary: 查询出售大厅委托单
  27653. tags:
  27654. - 广钻
  27655. /Guangzuan/QueryWarehouseInfo:
  27656. get:
  27657. parameters:
  27658. - description: 页码
  27659. in: query
  27660. name: page
  27661. type: integer
  27662. - description: 每页条数
  27663. in: query
  27664. name: pagesize
  27665. type: integer
  27666. - description: 用户ID
  27667. in: query
  27668. name: userid
  27669. required: true
  27670. type: integer
  27671. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27672. in: query
  27673. name: status
  27674. type: string
  27675. - description: 是返回交易所仓库
  27676. in: query
  27677. name: isincludeexchange
  27678. type: boolean
  27679. produces:
  27680. - application/json
  27681. responses:
  27682. "200":
  27683. description: OK
  27684. schema:
  27685. items:
  27686. $ref: '#/definitions/models.GZWarehouseinfo'
  27687. type: array
  27688. "500":
  27689. description: Internal Server Error
  27690. schema:
  27691. $ref: '#/definitions/app.Response'
  27692. security:
  27693. - ApiKeyAuth: []
  27694. - LoginID: []
  27695. - Group: []
  27696. summary: 查询仓库信息
  27697. tags:
  27698. - 广钻
  27699. /Market/GetAllExExchanges:
  27700. get:
  27701. produces:
  27702. - application/json
  27703. responses:
  27704. "200":
  27705. description: OK
  27706. schema:
  27707. $ref: '#/definitions/models.Goods'
  27708. "500":
  27709. description: Internal Server Error
  27710. schema:
  27711. $ref: '#/definitions/app.Response'
  27712. security:
  27713. - ApiKeyAuth: []
  27714. summary: 获取所有外部交易所信息
  27715. tags:
  27716. - 通用市场
  27717. /Market/QueryGoodsesByLoginID:
  27718. get:
  27719. parameters:
  27720. - description: 登录账号
  27721. in: query
  27722. name: loginID
  27723. required: true
  27724. type: integer
  27725. - description: 市场ID列表,格式:1,2,3
  27726. in: query
  27727. name: marketIDs
  27728. type: string
  27729. produces:
  27730. - application/json
  27731. responses:
  27732. "200":
  27733. description: OK
  27734. schema:
  27735. $ref: '#/definitions/models.Goods'
  27736. "500":
  27737. description: Internal Server Error
  27738. schema:
  27739. $ref: '#/definitions/app.Response'
  27740. security:
  27741. - ApiKeyAuth: []
  27742. summary: 获取登录账号有权限的商品信息
  27743. tags:
  27744. - 通用市场
  27745. /Market/QueryMarketRun:
  27746. get:
  27747. parameters:
  27748. - description: 市场ID,不传返回所有
  27749. in: query
  27750. name: marketID
  27751. type: integer
  27752. produces:
  27753. - application/json
  27754. responses:
  27755. "200":
  27756. description: OK
  27757. schema:
  27758. $ref: '#/definitions/models.Marketrun'
  27759. "500":
  27760. description: Internal Server Error
  27761. schema:
  27762. $ref: '#/definitions/app.Response'
  27763. security:
  27764. - ApiKeyAuth: []
  27765. summary: 查询市场运行信息
  27766. tags:
  27767. - 通用市场
  27768. /Market/QueryMarketsByLoginID:
  27769. get:
  27770. parameters:
  27771. - description: 登录账号
  27772. in: query
  27773. name: loginID
  27774. required: true
  27775. type: integer
  27776. produces:
  27777. - application/json
  27778. responses:
  27779. "200":
  27780. description: OK
  27781. schema:
  27782. $ref: '#/definitions/models.Market'
  27783. "500":
  27784. description: Internal Server Error
  27785. schema:
  27786. $ref: '#/definitions/app.Response'
  27787. security:
  27788. - ApiKeyAuth: []
  27789. summary: 获取登录账号有权限的市场信息
  27790. tags:
  27791. - 通用市场
  27792. /Order/QueryHisTradeDetail:
  27793. get:
  27794. parameters:
  27795. - description: 资金账户 - 格式:1,2,3
  27796. in: query
  27797. name: accountID
  27798. required: true
  27799. type: string
  27800. - description: 成交单号
  27801. in: query
  27802. name: tradeID
  27803. type: integer
  27804. - description: 委托单号
  27805. in: query
  27806. name: orderID
  27807. type: integer
  27808. - description: 商品ID
  27809. in: query
  27810. name: goodsID
  27811. type: integer
  27812. - description: 交易模式 - 格式:1,2,3
  27813. in: query
  27814. name: tradeMode
  27815. type: string
  27816. - description: 委托单据类型
  27817. in: query
  27818. name: buildType
  27819. type: integer
  27820. - description: 成交类别 - 格式:1,2,3
  27821. in: query
  27822. name: tradeType
  27823. type: string
  27824. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27825. in: query
  27826. name: startDate
  27827. type: string
  27828. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27829. in: query
  27830. name: endDate
  27831. type: string
  27832. produces:
  27833. - application/json
  27834. responses:
  27835. "200":
  27836. description: OK
  27837. schema:
  27838. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27839. "500":
  27840. description: Internal Server Error
  27841. schema:
  27842. $ref: '#/definitions/app.Response'
  27843. security:
  27844. - ApiKeyAuth: []
  27845. summary: 历史成交单查询(合约市场)
  27846. tags:
  27847. - 通用单据
  27848. /Order/QueryHisTradeOrderDetail:
  27849. get:
  27850. parameters:
  27851. - description: 资金账户 - 格式:1,2,3
  27852. in: query
  27853. name: accountID
  27854. required: true
  27855. type: string
  27856. - description: 交易模式 - 格式:1,2,3
  27857. in: query
  27858. name: tradeMode
  27859. type: string
  27860. - description: 委托状态 - 格式:1,2,3
  27861. in: query
  27862. name: orderStatus
  27863. type: string
  27864. - description: 委托单号
  27865. in: query
  27866. name: orderID
  27867. type: integer
  27868. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27869. in: query
  27870. name: startDate
  27871. type: string
  27872. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27873. in: query
  27874. name: endDate
  27875. type: string
  27876. produces:
  27877. - application/json
  27878. responses:
  27879. "200":
  27880. description: OK
  27881. schema:
  27882. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27883. "500":
  27884. description: Internal Server Error
  27885. schema:
  27886. $ref: '#/definitions/app.Response'
  27887. security:
  27888. - ApiKeyAuth: []
  27889. summary: 历史委托单查询请求(合约市场)
  27890. tags:
  27891. - 通用单据
  27892. /Order/QueryTradeDetail:
  27893. get:
  27894. parameters:
  27895. - description: 资金账户 - 格式:1,2,3
  27896. in: query
  27897. name: accountID
  27898. required: true
  27899. type: string
  27900. - description: 成交单号
  27901. in: query
  27902. name: tradeID
  27903. type: integer
  27904. - description: 委托单号
  27905. in: query
  27906. name: orderID
  27907. type: integer
  27908. - description: 交易模式 - 格式:1,2,3
  27909. in: query
  27910. name: tradeMode
  27911. type: string
  27912. - description: 委托单据类型
  27913. in: query
  27914. name: buildType
  27915. type: integer
  27916. - description: 成交类别 - 格式:1,2,3
  27917. in: query
  27918. name: tradeType
  27919. type: string
  27920. - description: 商品ID
  27921. in: query
  27922. name: goodsID
  27923. type: integer
  27924. produces:
  27925. - application/json
  27926. responses:
  27927. "200":
  27928. description: OK
  27929. schema:
  27930. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27931. "500":
  27932. description: Internal Server Error
  27933. schema:
  27934. $ref: '#/definitions/app.Response'
  27935. security:
  27936. - ApiKeyAuth: []
  27937. summary: 成交单查询(合约市场)
  27938. tags:
  27939. - 通用单据
  27940. /Order/QueryTradeHolderDetail:
  27941. get:
  27942. parameters:
  27943. - description: 用户id
  27944. in: query
  27945. name: userid
  27946. type: integer
  27947. - description: 资金账号, 格式 1,2,3
  27948. in: query
  27949. name: accids
  27950. type: string
  27951. - description: 交易模式, 格式 1,2,3
  27952. in: query
  27953. name: trademodes
  27954. type: string
  27955. - description: 市场id, 格式 1,2,3
  27956. in: query
  27957. name: marketids
  27958. type: string
  27959. - description: 商品id
  27960. in: query
  27961. name: goodsid
  27962. type: integer
  27963. - description: 买卖方向 0-买 1-卖
  27964. in: query
  27965. name: buyorsell
  27966. type: integer
  27967. produces:
  27968. - application/json
  27969. responses:
  27970. "200":
  27971. description: OK
  27972. schema:
  27973. items:
  27974. $ref: '#/definitions/models.TradeHolderDetail'
  27975. type: array
  27976. "500":
  27977. description: Internal Server Error
  27978. schema:
  27979. $ref: '#/definitions/app.Response'
  27980. security:
  27981. - ApiKeyAuth: []
  27982. summary: 查询持仓明细
  27983. tags:
  27984. - 通用单据
  27985. /Order/QueryTradeOrderDetail:
  27986. get:
  27987. parameters:
  27988. - description: 资金账户 - 格式:1,2,3
  27989. in: query
  27990. name: accountID
  27991. required: true
  27992. type: string
  27993. - description: 交易模式 - 格式:1,2,3
  27994. in: query
  27995. name: tradeMode
  27996. type: string
  27997. - description: 委托状态 - 格式:1,2,3
  27998. in: query
  27999. name: orderStatus
  28000. type: string
  28001. - description: 委托单号
  28002. in: query
  28003. name: orderID
  28004. type: integer
  28005. produces:
  28006. - application/json
  28007. responses:
  28008. "200":
  28009. description: OK
  28010. schema:
  28011. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28012. "500":
  28013. description: Internal Server Error
  28014. schema:
  28015. $ref: '#/definitions/app.Response'
  28016. security:
  28017. - ApiKeyAuth: []
  28018. summary: 委托单查询请求(合约市场)
  28019. tags:
  28020. - 通用单据
  28021. /Order/QueryTradePosition:
  28022. get:
  28023. parameters:
  28024. - description: 资金账户 - 格式:1,2,3
  28025. in: query
  28026. name: accountID
  28027. required: true
  28028. type: string
  28029. - description: 交易模式 - 格式:1,2,3
  28030. in: query
  28031. name: tradeMode
  28032. type: string
  28033. produces:
  28034. - application/json
  28035. responses:
  28036. "200":
  28037. description: OK
  28038. schema:
  28039. $ref: '#/definitions/order.QueryTradePositionRsp'
  28040. "500":
  28041. description: Internal Server Error
  28042. schema:
  28043. $ref: '#/definitions/app.Response'
  28044. security:
  28045. - ApiKeyAuth: []
  28046. summary: 持仓汇总查询(合约市场)
  28047. tags:
  28048. - 通用单据
  28049. /Qhj/QueryAccountInOutApply:
  28050. get:
  28051. parameters:
  28052. - description: 用户ID
  28053. in: query
  28054. name: userid
  28055. required: true
  28056. type: integer
  28057. - description: 申请起始日期(格式yyyymmdd)
  28058. in: query
  28059. name: begindate
  28060. type: string
  28061. - description: 申请截止日期(格式yyyymmdd)
  28062. in: query
  28063. name: enddate
  28064. type: string
  28065. - description: 模糊搜索名称
  28066. in: query
  28067. name: likename
  28068. type: string
  28069. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28070. in: query
  28071. name: applystatus
  28072. type: integer
  28073. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28074. in: query
  28075. name: querytype
  28076. type: integer
  28077. produces:
  28078. - application/json
  28079. responses:
  28080. "200":
  28081. description: OK
  28082. schema:
  28083. items:
  28084. $ref: '#/definitions/models.QhjAccountOutInApply'
  28085. type: array
  28086. "500":
  28087. description: Internal Server Error
  28088. schema:
  28089. $ref: '#/definitions/app.Response'
  28090. security:
  28091. - ApiKeyAuth: []
  28092. summary: 查询充值提现
  28093. tags:
  28094. - 大连千海金
  28095. /Qhj/QueryAreaFinanceConfig:
  28096. get:
  28097. parameters:
  28098. - description: 机构用户ID 其他做市关系,都设置为 1
  28099. in: query
  28100. name: userid
  28101. type: integer
  28102. produces:
  28103. - application/json
  28104. responses:
  28105. "200":
  28106. description: OK
  28107. schema:
  28108. items:
  28109. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28110. type: array
  28111. "500":
  28112. description: Internal Server Error
  28113. schema:
  28114. $ref: '#/definitions/app.Response'
  28115. security:
  28116. - ApiKeyAuth: []
  28117. summary: 查询企业配置表
  28118. tags:
  28119. - 大连千海金
  28120. /Qhj/QueryBankAccountSign:
  28121. get:
  28122. parameters:
  28123. - description: 用户ID
  28124. in: query
  28125. name: userid
  28126. required: true
  28127. type: integer
  28128. produces:
  28129. - application/json
  28130. responses:
  28131. "200":
  28132. description: OK
  28133. schema:
  28134. items:
  28135. $ref: '#/definitions/models.QhjBankAccountSign'
  28136. type: array
  28137. "500":
  28138. description: Internal Server Error
  28139. schema:
  28140. $ref: '#/definitions/app.Response'
  28141. security:
  28142. - ApiKeyAuth: []
  28143. summary: 查询签约银行信息(提现账户管理)
  28144. tags:
  28145. - 大连千海金
  28146. /Qhj/QueryBankInfo:
  28147. get:
  28148. produces:
  28149. - application/json
  28150. responses:
  28151. "200":
  28152. description: OK
  28153. schema:
  28154. items:
  28155. $ref: '#/definitions/models.QhjBankInfo'
  28156. type: array
  28157. "500":
  28158. description: Internal Server Error
  28159. schema:
  28160. $ref: '#/definitions/app.Response'
  28161. security:
  28162. - ApiKeyAuth: []
  28163. summary: 查询开户行
  28164. tags:
  28165. - 大连千海金
  28166. /Qhj/QueryBrokerApply:
  28167. get:
  28168. parameters:
  28169. - description: 所属机构ID
  28170. in: query
  28171. name: userid
  28172. type: integer
  28173. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28174. in: query
  28175. name: filterstatus
  28176. type: string
  28177. produces:
  28178. - application/json
  28179. responses:
  28180. "200":
  28181. description: OK
  28182. schema:
  28183. items:
  28184. $ref: '#/definitions/models.QhjBrokerApply'
  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/QueryBrokerApplyEx:
  28196. get:
  28197. parameters:
  28198. - description: 所属机构ID
  28199. in: query
  28200. name: userid
  28201. type: integer
  28202. produces:
  28203. - application/json
  28204. responses:
  28205. "200":
  28206. description: OK
  28207. schema:
  28208. items:
  28209. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28210. type: array
  28211. "500":
  28212. description: Internal Server Error
  28213. schema:
  28214. $ref: '#/definitions/app.Response'
  28215. security:
  28216. - ApiKeyAuth: []
  28217. summary: 查询经纪人信息和申请记录
  28218. tags:
  28219. - 大连千海金
  28220. /Qhj/QueryBrokerRewardLog:
  28221. get:
  28222. parameters:
  28223. - description: 用户ID
  28224. in: query
  28225. name: userid
  28226. required: true
  28227. type: integer
  28228. - description: 开始交易日(yyyymmdd)
  28229. in: query
  28230. name: begindate
  28231. type: string
  28232. - description: 结束交易日(yyyymmdd)
  28233. in: query
  28234. name: enddate
  28235. type: string
  28236. produces:
  28237. - application/json
  28238. responses:
  28239. "200":
  28240. description: OK
  28241. schema:
  28242. items:
  28243. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28244. type: array
  28245. "500":
  28246. description: Internal Server Error
  28247. schema:
  28248. $ref: '#/definitions/app.Response'
  28249. security:
  28250. - ApiKeyAuth: []
  28251. summary: 查询奖励流水(我的奖励)
  28252. tags:
  28253. - 大连千海金
  28254. /Qhj/QueryContract:
  28255. get:
  28256. parameters:
  28257. - description: 用户ID
  28258. in: query
  28259. name: userid
  28260. type: integer
  28261. - description: scf合同id
  28262. in: query
  28263. name: scfcontractid
  28264. type: integer
  28265. produces:
  28266. - application/json
  28267. responses:
  28268. "200":
  28269. description: OK
  28270. schema:
  28271. items:
  28272. $ref: '#/definitions/models.QhjContract'
  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/QueryContractLog:
  28284. get:
  28285. parameters:
  28286. - description: scf合同id
  28287. in: query
  28288. name: scfcontractid
  28289. required: true
  28290. type: integer
  28291. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28292. in: query
  28293. name: amounttype
  28294. type: string
  28295. produces:
  28296. - application/json
  28297. responses:
  28298. "200":
  28299. description: OK
  28300. schema:
  28301. items:
  28302. $ref: '#/definitions/models.QhjContractLog'
  28303. type: array
  28304. "500":
  28305. description: Internal Server Error
  28306. schema:
  28307. $ref: '#/definitions/app.Response'
  28308. security:
  28309. - ApiKeyAuth: []
  28310. summary: 查询融资明细流水(融资明细详情页中的流水)
  28311. tags:
  28312. - 大连千海金
  28313. /Qhj/QueryCusBankSignBank:
  28314. get:
  28315. produces:
  28316. - application/json
  28317. responses:
  28318. "200":
  28319. description: OK
  28320. schema:
  28321. items:
  28322. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28323. type: array
  28324. "500":
  28325. description: Internal Server Error
  28326. schema:
  28327. $ref: '#/definitions/app.Response'
  28328. security:
  28329. - ApiKeyAuth: []
  28330. summary: 查询托管银行
  28331. tags:
  28332. - 大连千海金
  28333. /Qhj/QueryCustomerInfo:
  28334. get:
  28335. parameters:
  28336. - description: 用户ID
  28337. in: query
  28338. name: userid
  28339. required: true
  28340. type: integer
  28341. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28342. in: query
  28343. name: querytype
  28344. required: true
  28345. type: integer
  28346. - description: 客户类型 1-个人 2-企业
  28347. in: query
  28348. name: userinfotype
  28349. type: integer
  28350. - description: 客户名称(模糊匹配)
  28351. in: query
  28352. name: customername
  28353. type: string
  28354. - description: 昵称(模糊匹配)
  28355. in: query
  28356. name: nickname
  28357. type: string
  28358. - description: 是否包含子级 1-包含
  28359. in: query
  28360. name: includesub
  28361. type: integer
  28362. produces:
  28363. - application/json
  28364. responses:
  28365. "200":
  28366. description: OK
  28367. schema:
  28368. items:
  28369. $ref: '#/definitions/models.QhjCustomer'
  28370. type: array
  28371. "500":
  28372. description: Internal Server Error
  28373. schema:
  28374. $ref: '#/definitions/app.Response'
  28375. security:
  28376. - ApiKeyAuth: []
  28377. summary: 查询客户资料
  28378. tags:
  28379. - 大连千海金
  28380. /Qhj/QueryGoodsEx:
  28381. get:
  28382. parameters:
  28383. - description: 商品id
  28384. in: query
  28385. name: goodsid
  28386. type: integer
  28387. produces:
  28388. - application/json
  28389. responses:
  28390. "200":
  28391. description: OK
  28392. schema:
  28393. items:
  28394. $ref: '#/definitions/models.Qhjgoodsex'
  28395. type: array
  28396. "500":
  28397. description: Internal Server Error
  28398. schema:
  28399. $ref: '#/definitions/app.Response'
  28400. security:
  28401. - ApiKeyAuth: []
  28402. summary: 交易商品扩展表
  28403. tags:
  28404. - 大连千海金
  28405. /Qhj/QueryMyTeam:
  28406. get:
  28407. parameters:
  28408. - description: 用户ID
  28409. in: query
  28410. name: userid
  28411. required: true
  28412. type: integer
  28413. produces:
  28414. - application/json
  28415. responses:
  28416. "200":
  28417. description: OK
  28418. schema:
  28419. items:
  28420. $ref: '#/definitions/models.QhjMyTeamEx'
  28421. type: array
  28422. "500":
  28423. description: Internal Server Error
  28424. schema:
  28425. $ref: '#/definitions/app.Response'
  28426. security:
  28427. - ApiKeyAuth: []
  28428. summary: 查询我的团队
  28429. tags:
  28430. - 大连千海金
  28431. /Qhj/QueryMyTeamOrder:
  28432. get:
  28433. parameters:
  28434. - description: 页码
  28435. in: query
  28436. name: page
  28437. type: integer
  28438. - description: 每页条数
  28439. in: query
  28440. name: pagesize
  28441. type: integer
  28442. - description: 用户ID
  28443. in: query
  28444. name: userid
  28445. required: true
  28446. type: integer
  28447. - description: 交易模式
  28448. in: query
  28449. name: trademode
  28450. type: integer
  28451. - description: 名称(模糊搜索账户)
  28452. in: query
  28453. name: filtername
  28454. type: string
  28455. produces:
  28456. - application/json
  28457. responses:
  28458. "200":
  28459. description: OK
  28460. schema:
  28461. items:
  28462. $ref: '#/definitions/models.QhjTeamOrder'
  28463. type: array
  28464. "500":
  28465. description: Internal Server Error
  28466. schema:
  28467. $ref: '#/definitions/app.Response'
  28468. security:
  28469. - ApiKeyAuth: []
  28470. summary: 查询团队订单(我的团队/团队订单)
  28471. tags:
  28472. - 大连千海金
  28473. /Qhj/QueryParentAreaList:
  28474. get:
  28475. parameters:
  28476. - description: 用户ID
  28477. in: query
  28478. name: userid
  28479. required: true
  28480. type: integer
  28481. produces:
  28482. - application/json
  28483. responses:
  28484. "200":
  28485. description: OK
  28486. schema:
  28487. items:
  28488. $ref: '#/definitions/models.QhjParentAreaList'
  28489. type: array
  28490. "500":
  28491. description: Internal Server Error
  28492. schema:
  28493. $ref: '#/definitions/app.Response'
  28494. security:
  28495. - ApiKeyAuth: []
  28496. summary: 查询所属机构列表
  28497. tags:
  28498. - 大连千海金
  28499. /Qhj/QueryPayOrder:
  28500. get:
  28501. parameters:
  28502. - description: 资金账号id
  28503. in: query
  28504. name: accountid
  28505. required: true
  28506. type: integer
  28507. - description: 成交单号
  28508. in: query
  28509. name: tradeid
  28510. type: integer
  28511. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28512. in: query
  28513. name: payflag
  28514. type: string
  28515. produces:
  28516. - application/json
  28517. responses:
  28518. "200":
  28519. description: OK
  28520. schema:
  28521. items:
  28522. $ref: '#/definitions/models.QhjPayOrder'
  28523. type: array
  28524. "500":
  28525. description: Internal Server Error
  28526. schema:
  28527. $ref: '#/definitions/app.Response'
  28528. security:
  28529. - ApiKeyAuth: []
  28530. summary: 查询待付款单据
  28531. tags:
  28532. - 大连千海金
  28533. /Qhj/QueryPickArea:
  28534. get:
  28535. parameters:
  28536. - description: 用户ID
  28537. in: query
  28538. name: userid
  28539. type: integer
  28540. produces:
  28541. - application/json
  28542. responses:
  28543. "200":
  28544. description: OK
  28545. schema:
  28546. items:
  28547. $ref: '#/definitions/models.QhjPickArea'
  28548. type: array
  28549. "500":
  28550. description: Internal Server Error
  28551. schema:
  28552. $ref: '#/definitions/app.Response'
  28553. security:
  28554. - ApiKeyAuth: []
  28555. summary: 查询提货门店
  28556. tags:
  28557. - 大连千海金
  28558. /Qhj/QueryPickGoods:
  28559. get:
  28560. parameters:
  28561. - description: 交易商品id
  28562. in: query
  28563. name: goodsid
  28564. required: true
  28565. type: integer
  28566. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28567. in: query
  28568. name: status
  28569. type: string
  28570. produces:
  28571. - application/json
  28572. responses:
  28573. "200":
  28574. description: OK
  28575. schema:
  28576. items:
  28577. $ref: '#/definitions/models.QhjPickGoods'
  28578. type: array
  28579. "500":
  28580. description: Internal Server Error
  28581. schema:
  28582. $ref: '#/definitions/app.Response'
  28583. security:
  28584. - ApiKeyAuth: []
  28585. summary: 查询提货商品
  28586. tags:
  28587. - 大连千海金
  28588. /Qhj/QueryRSTriggerLog:
  28589. get:
  28590. parameters:
  28591. - description: 用户ID
  28592. in: query
  28593. name: userid
  28594. type: integer
  28595. - description: 定投策略id
  28596. in: query
  28597. name: regularlystrategyid
  28598. type: integer
  28599. - description: 商品id
  28600. in: query
  28601. name: goodsid
  28602. type: integer
  28603. - description: 开始交易日(yyyymmdd)
  28604. in: query
  28605. name: begindate
  28606. type: string
  28607. - description: 结束交易日(yyyymmdd)
  28608. in: query
  28609. name: enddate
  28610. type: string
  28611. - description: 名称(模糊搜索账户)
  28612. in: query
  28613. name: filtername
  28614. type: string
  28615. produces:
  28616. - application/json
  28617. responses:
  28618. "200":
  28619. description: OK
  28620. schema:
  28621. items:
  28622. $ref: '#/definitions/models.QhjRSTriggerLog'
  28623. type: array
  28624. "500":
  28625. description: Internal Server Error
  28626. schema:
  28627. $ref: '#/definitions/app.Response'
  28628. security:
  28629. - ApiKeyAuth: []
  28630. summary: 查询定投记录(定投管理/详情/定投记录)
  28631. tags:
  28632. - 大连千海金
  28633. /Qhj/QueryRStrategy:
  28634. get:
  28635. parameters:
  28636. - description: 用户ID
  28637. in: query
  28638. name: userid
  28639. type: integer
  28640. - description: 商品id
  28641. in: query
  28642. name: goodsid
  28643. type: integer
  28644. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28645. in: query
  28646. name: status
  28647. type: string
  28648. - description: 名称(模糊搜索账户)
  28649. in: query
  28650. name: filtername
  28651. type: string
  28652. produces:
  28653. - application/json
  28654. responses:
  28655. "200":
  28656. description: OK
  28657. schema:
  28658. items:
  28659. $ref: '#/definitions/models.QhjRStrategy'
  28660. type: array
  28661. "500":
  28662. description: Internal Server Error
  28663. schema:
  28664. $ref: '#/definitions/app.Response'
  28665. security:
  28666. - ApiKeyAuth: []
  28667. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28668. tags:
  28669. - 大连千海金
  28670. /Qhj/QueryReckonPriceLog:
  28671. get:
  28672. parameters:
  28673. - description: 商品ID
  28674. in: query
  28675. name: goodsid
  28676. type: integer
  28677. - description: 交易日 格式(yyyymmdd)
  28678. in: query
  28679. name: tradedate
  28680. type: string
  28681. produces:
  28682. - application/json
  28683. responses:
  28684. "200":
  28685. description: OK
  28686. schema:
  28687. items:
  28688. $ref: '#/definitions/models.QhjReckonPriceLog'
  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/QueryScoreLog:
  28700. get:
  28701. parameters:
  28702. - description: 用户ID
  28703. in: query
  28704. name: userid
  28705. required: true
  28706. type: integer
  28707. - description: 开始交易日(yyyymmdd)
  28708. in: query
  28709. name: begindate
  28710. type: string
  28711. - description: 结束交易日(yyyymmdd)
  28712. in: query
  28713. name: enddate
  28714. type: string
  28715. - description: 最近多少条
  28716. in: query
  28717. name: lastnum
  28718. type: integer
  28719. produces:
  28720. - application/json
  28721. responses:
  28722. "200":
  28723. description: OK
  28724. schema:
  28725. items:
  28726. $ref: '#/definitions/models.QhjScoreLog'
  28727. type: array
  28728. "500":
  28729. description: Internal Server Error
  28730. schema:
  28731. $ref: '#/definitions/app.Response'
  28732. security:
  28733. - ApiKeyAuth: []
  28734. summary: 查询积分流水(我的积分)
  28735. tags:
  28736. - 大连千海金
  28737. /Qhj/QuerySiteColumnDetail:
  28738. get:
  28739. parameters:
  28740. - description: 用户ID
  28741. in: query
  28742. name: userid
  28743. required: true
  28744. type: integer
  28745. produces:
  28746. - application/json
  28747. responses:
  28748. "200":
  28749. description: OK
  28750. schema:
  28751. items:
  28752. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28753. type: array
  28754. "500":
  28755. description: Internal Server Error
  28756. schema:
  28757. $ref: '#/definitions/app.Response'
  28758. security:
  28759. - ApiKeyAuth: []
  28760. summary: 查询资讯
  28761. tags:
  28762. - 大连千海金
  28763. /Qhj/QueryTradeGoodsPickup:
  28764. get:
  28765. parameters:
  28766. - description: 用户ID
  28767. in: query
  28768. name: userid
  28769. required: true
  28770. type: integer
  28771. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28772. 7:已拒绝 8:已撤销
  28773. in: query
  28774. name: takeorderstatus
  28775. type: integer
  28776. produces:
  28777. - application/json
  28778. responses:
  28779. "200":
  28780. description: OK
  28781. schema:
  28782. items:
  28783. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28784. type: array
  28785. "500":
  28786. description: Internal Server Error
  28787. schema:
  28788. $ref: '#/definitions/app.Response'
  28789. security:
  28790. - ApiKeyAuth: []
  28791. summary: 查询提货
  28792. tags:
  28793. - 大连千海金
  28794. /Qhj/QueryUserCollectConfig:
  28795. get:
  28796. parameters:
  28797. - description: 用户ID
  28798. in: query
  28799. name: userid
  28800. required: true
  28801. type: integer
  28802. produces:
  28803. - application/json
  28804. responses:
  28805. "200":
  28806. description: OK
  28807. schema:
  28808. items:
  28809. $ref: '#/definitions/models.UserCollectConfig'
  28810. type: array
  28811. "500":
  28812. description: Internal Server Error
  28813. schema:
  28814. $ref: '#/definitions/app.Response'
  28815. security:
  28816. - ApiKeyAuth: []
  28817. summary: 查询提现账户设置
  28818. tags:
  28819. - 大连千海金
  28820. /Qhj/QueryUserReceiveInfo:
  28821. get:
  28822. parameters:
  28823. - description: 用户ID
  28824. in: query
  28825. name: userid
  28826. required: true
  28827. type: integer
  28828. produces:
  28829. - application/json
  28830. responses:
  28831. "200":
  28832. description: OK
  28833. schema:
  28834. items:
  28835. $ref: '#/definitions/models.UserReceiveInfo'
  28836. type: array
  28837. "500":
  28838. description: Internal Server Error
  28839. schema:
  28840. $ref: '#/definitions/app.Response'
  28841. security:
  28842. - ApiKeyAuth: []
  28843. summary: 查询收货地址信息
  28844. tags:
  28845. - 大连千海金
  28846. /QhjMgr/QueryAccountInOutApply:
  28847. get:
  28848. parameters:
  28849. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28850. in: query
  28851. name: querytype
  28852. required: true
  28853. type: integer
  28854. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28855. in: query
  28856. name: applystatus
  28857. type: integer
  28858. - description: 申请起始日期(格式yyyymmdd)
  28859. in: query
  28860. name: begindate
  28861. type: string
  28862. - description: 申请截止日期(格式yyyymmdd)
  28863. in: query
  28864. name: enddate
  28865. type: string
  28866. - description: 模糊搜索名称
  28867. in: query
  28868. name: likename
  28869. type: string
  28870. produces:
  28871. - application/json
  28872. responses:
  28873. "200":
  28874. description: OK
  28875. schema:
  28876. items:
  28877. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28878. type: array
  28879. "500":
  28880. description: Internal Server Error
  28881. schema:
  28882. $ref: '#/definitions/app.Response'
  28883. security:
  28884. - ApiKeyAuth: []
  28885. summary: 查询充值提现
  28886. tags:
  28887. - 大连千海金(PCWeb)
  28888. /QhjMgr/QueryBrokerApply:
  28889. get:
  28890. parameters:
  28891. - description: 所属机构ID
  28892. in: query
  28893. name: userid
  28894. type: integer
  28895. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28896. in: query
  28897. name: filterstatus
  28898. type: string
  28899. - description: 名称(模糊匹配)
  28900. in: query
  28901. name: filtername
  28902. type: string
  28903. - description: 是否包含子级 1-包含
  28904. in: query
  28905. name: includesub
  28906. type: integer
  28907. produces:
  28908. - application/json
  28909. responses:
  28910. "200":
  28911. description: OK
  28912. schema:
  28913. items:
  28914. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28915. type: array
  28916. "500":
  28917. description: Internal Server Error
  28918. schema:
  28919. $ref: '#/definitions/app.Response'
  28920. security:
  28921. - ApiKeyAuth: []
  28922. summary: 查询经纪人申请
  28923. tags:
  28924. - 大连千海金(PCWeb)
  28925. /QhjMgr/QueryBrokerRewardReport:
  28926. get:
  28927. parameters:
  28928. - description: 所属机构ID
  28929. in: query
  28930. name: userid
  28931. required: true
  28932. type: integer
  28933. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28934. in: query
  28935. name: cycletype
  28936. required: true
  28937. type: integer
  28938. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28939. in: query
  28940. name: cycletime
  28941. required: true
  28942. type: string
  28943. - description: 名称(模糊匹配)
  28944. in: query
  28945. name: filtername
  28946. type: string
  28947. - description: 是否包含子级 1-包含
  28948. in: query
  28949. name: includesub
  28950. type: integer
  28951. produces:
  28952. - application/json
  28953. responses:
  28954. "200":
  28955. description: OK
  28956. schema:
  28957. items:
  28958. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28959. type: array
  28960. "500":
  28961. description: Internal Server Error
  28962. schema:
  28963. $ref: '#/definitions/app.Response'
  28964. security:
  28965. - ApiKeyAuth: []
  28966. summary: 查询经纪人奖励报表(废弃)
  28967. tags:
  28968. - 大连千海金(PCWeb)
  28969. /QhjMgr/QueryContract:
  28970. get:
  28971. parameters:
  28972. - description: 用户ID
  28973. in: query
  28974. name: userid
  28975. type: integer
  28976. - description: 商品id
  28977. in: query
  28978. name: goodsid
  28979. type: integer
  28980. - description: 名称(模糊搜索账户)
  28981. in: query
  28982. name: filtername
  28983. type: string
  28984. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28985. in: query
  28986. name: risklevel
  28987. type: string
  28988. - description: 开始交易日(yyyymmdd)
  28989. in: query
  28990. name: begindate
  28991. type: string
  28992. - description: 结束交易日(yyyymmdd)
  28993. in: query
  28994. name: enddate
  28995. type: string
  28996. produces:
  28997. - application/json
  28998. responses:
  28999. "200":
  29000. description: OK
  29001. schema:
  29002. items:
  29003. $ref: '#/definitions/models.QhjMgrContract'
  29004. type: array
  29005. "500":
  29006. description: Internal Server Error
  29007. schema:
  29008. $ref: '#/definitions/app.Response'
  29009. security:
  29010. - ApiKeyAuth: []
  29011. summary: 查询融资信息(合同)
  29012. tags:
  29013. - 大连千海金(PCWeb)
  29014. /QhjMgr/QueryCustomerInfo:
  29015. get:
  29016. parameters:
  29017. - description: 用户ID
  29018. in: query
  29019. name: userid
  29020. required: true
  29021. type: integer
  29022. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29023. in: query
  29024. name: querytype
  29025. required: true
  29026. type: integer
  29027. - description: 客户类型 1-个人 2-企业
  29028. in: query
  29029. name: userinfotype
  29030. type: integer
  29031. - description: 客户名称(模糊匹配)
  29032. in: query
  29033. name: customername
  29034. type: string
  29035. - description: 昵称(模糊匹配)
  29036. in: query
  29037. name: nickname
  29038. type: string
  29039. - description: 所属客户经理(模糊匹配)
  29040. in: query
  29041. name: brokername
  29042. type: string
  29043. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29044. 如0503 -5月3日)
  29045. in: query
  29046. name: birthday
  29047. type: string
  29048. - description: 是否包含子级 1-包含
  29049. in: query
  29050. name: includesub
  29051. type: integer
  29052. produces:
  29053. - application/json
  29054. responses:
  29055. "200":
  29056. description: OK
  29057. schema:
  29058. items:
  29059. $ref: '#/definitions/models.QhjMgrCustomer'
  29060. type: array
  29061. "500":
  29062. description: Internal Server Error
  29063. schema:
  29064. $ref: '#/definitions/app.Response'
  29065. security:
  29066. - ApiKeyAuth: []
  29067. summary: 查询客户资料
  29068. tags:
  29069. - 大连千海金(PCWeb)
  29070. /QhjMgr/QueryPickGoods:
  29071. get:
  29072. parameters:
  29073. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29074. in: query
  29075. name: status
  29076. type: string
  29077. produces:
  29078. - application/json
  29079. responses:
  29080. "200":
  29081. description: OK
  29082. schema:
  29083. items:
  29084. $ref: '#/definitions/models.QhjMgrPickGoods'
  29085. type: array
  29086. "500":
  29087. description: Internal Server Error
  29088. schema:
  29089. $ref: '#/definitions/app.Response'
  29090. security:
  29091. - ApiKeyAuth: []
  29092. summary: 查询提货商品
  29093. tags:
  29094. - 大连千海金(PCWeb)
  29095. /QhjMgr/QuerySubArea:
  29096. get:
  29097. parameters:
  29098. - description: 用户ID
  29099. in: query
  29100. name: userid
  29101. required: true
  29102. type: integer
  29103. produces:
  29104. - application/json
  29105. responses:
  29106. "200":
  29107. description: OK
  29108. schema:
  29109. items:
  29110. $ref: '#/definitions/models.QhjMgrSubArea'
  29111. type: array
  29112. "500":
  29113. description: Internal Server Error
  29114. schema:
  29115. $ref: '#/definitions/app.Response'
  29116. security:
  29117. - ApiKeyAuth: []
  29118. summary: 查询子机构列表
  29119. tags:
  29120. - 大连千海金(PCWeb)
  29121. /QhjMgr/QueryTradeDetail:
  29122. get:
  29123. parameters:
  29124. - description: 用户ID
  29125. in: query
  29126. name: userid
  29127. required: true
  29128. type: integer
  29129. - description: 用户类型 1-个人 2-企业
  29130. in: query
  29131. name: userinfotype
  29132. type: integer
  29133. - description: 交易模式
  29134. in: query
  29135. name: trademode
  29136. type: integer
  29137. - description: 商品id
  29138. in: query
  29139. name: goodsid
  29140. type: integer
  29141. - description: 名称(模糊搜索账户)
  29142. in: query
  29143. name: filtername
  29144. type: string
  29145. - description: 开始交易日(yyyymmdd)
  29146. in: query
  29147. name: begindate
  29148. type: string
  29149. - description: 结束交易日(yyyymmdd)
  29150. in: query
  29151. name: enddate
  29152. type: string
  29153. - description: 是否包含子级 1-包含
  29154. in: query
  29155. name: includesub
  29156. type: integer
  29157. produces:
  29158. - application/json
  29159. responses:
  29160. "200":
  29161. description: OK
  29162. schema:
  29163. items:
  29164. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29165. type: array
  29166. "500":
  29167. description: Internal Server Error
  29168. schema:
  29169. $ref: '#/definitions/app.Response'
  29170. security:
  29171. - ApiKeyAuth: []
  29172. summary: 查询成交明细
  29173. tags:
  29174. - 大连千海金(PCWeb)
  29175. /QhjMgr/QueryTradeOrderDetail:
  29176. get:
  29177. parameters:
  29178. - description: 用户ID
  29179. in: query
  29180. name: userid
  29181. required: true
  29182. type: integer
  29183. - description: 用户类型 1-个人 2-企业
  29184. in: query
  29185. name: userinfotype
  29186. type: integer
  29187. - description: 交易模式
  29188. in: query
  29189. name: trademode
  29190. type: integer
  29191. - description: 商品id
  29192. in: query
  29193. name: goodsid
  29194. type: integer
  29195. - description: 名称(模糊搜索账户)
  29196. in: query
  29197. name: filtername
  29198. type: string
  29199. - description: 开始交易日(yyyymmdd)
  29200. in: query
  29201. name: begindate
  29202. type: string
  29203. - description: 结束交易日(yyyymmdd)
  29204. in: query
  29205. name: enddate
  29206. type: string
  29207. - description: 是否包含子级 1-包含
  29208. in: query
  29209. name: includesub
  29210. type: integer
  29211. produces:
  29212. - application/json
  29213. responses:
  29214. "200":
  29215. description: OK
  29216. schema:
  29217. items:
  29218. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29219. type: array
  29220. "500":
  29221. description: Internal Server Error
  29222. schema:
  29223. $ref: '#/definitions/app.Response'
  29224. security:
  29225. - ApiKeyAuth: []
  29226. summary: 查询委托明细
  29227. tags:
  29228. - 大连千海金(PCWeb)
  29229. /QhjMgr/QueryTradePayOrder:
  29230. get:
  29231. parameters:
  29232. - description: 用户ID
  29233. in: query
  29234. name: userid
  29235. required: true
  29236. type: integer
  29237. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29238. in: query
  29239. name: payflag
  29240. type: string
  29241. - description: 用户类型 1-个人 2-企业
  29242. in: query
  29243. name: userinfotype
  29244. type: integer
  29245. - description: 交易模式
  29246. in: query
  29247. name: trademode
  29248. type: integer
  29249. - description: 商品id
  29250. in: query
  29251. name: goodsid
  29252. type: integer
  29253. - description: 名称(模糊搜索账户)
  29254. in: query
  29255. name: filtername
  29256. type: string
  29257. - description: 开始交易日(yyyymmdd)
  29258. in: query
  29259. name: begindate
  29260. type: string
  29261. - description: 结束交易日(yyyymmdd)
  29262. in: query
  29263. name: enddate
  29264. type: string
  29265. - description: 是否包含子级 1-包含
  29266. in: query
  29267. name: includesub
  29268. type: integer
  29269. produces:
  29270. - application/json
  29271. responses:
  29272. "200":
  29273. description: OK
  29274. schema:
  29275. items:
  29276. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29277. type: array
  29278. "500":
  29279. description: Internal Server Error
  29280. schema:
  29281. $ref: '#/definitions/app.Response'
  29282. security:
  29283. - ApiKeyAuth: []
  29284. summary: 查询待付款单
  29285. tags:
  29286. - 大连千海金(PCWeb)
  29287. /QhjMgr/QueryTradePosition:
  29288. get:
  29289. parameters:
  29290. - description: 用户ID
  29291. in: query
  29292. name: userid
  29293. required: true
  29294. type: integer
  29295. - description: 用户类型 1-个人 2-企业
  29296. in: query
  29297. name: userinfotype
  29298. type: integer
  29299. - description: 交易模式
  29300. in: query
  29301. name: trademode
  29302. type: integer
  29303. - description: 商品id
  29304. in: query
  29305. name: goodsid
  29306. type: integer
  29307. - description: 名称(模糊搜索账户)
  29308. in: query
  29309. name: filtername
  29310. type: string
  29311. - description: 是否包含子级 1-包含
  29312. in: query
  29313. name: includesub
  29314. type: integer
  29315. produces:
  29316. - application/json
  29317. responses:
  29318. "200":
  29319. description: OK
  29320. schema:
  29321. items:
  29322. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29323. type: array
  29324. "500":
  29325. description: Internal Server Error
  29326. schema:
  29327. $ref: '#/definitions/app.Response'
  29328. security:
  29329. - ApiKeyAuth: []
  29330. summary: 查询持仓汇总
  29331. tags:
  29332. - 大连千海金(PCWeb)
  29333. /QhjSys/QueryAgreementChangeLog:
  29334. get:
  29335. parameters:
  29336. - description: 协议ID
  29337. in: query
  29338. name: agreementid
  29339. type: integer
  29340. - description: 协议版本号
  29341. in: query
  29342. name: agreementversion
  29343. type: integer
  29344. - description: 协议类型 - 1:注册 2:登录 3:交易
  29345. in: query
  29346. name: agreementtype
  29347. type: integer
  29348. - description: 协议编号(模糊匹配)
  29349. in: query
  29350. name: agreementno
  29351. type: string
  29352. - description: 协议名称(模糊匹配)
  29353. in: query
  29354. name: agreementname
  29355. type: string
  29356. produces:
  29357. - application/json
  29358. responses:
  29359. "200":
  29360. description: OK
  29361. schema:
  29362. items:
  29363. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29364. type: array
  29365. "500":
  29366. description: Internal Server Error
  29367. schema:
  29368. $ref: '#/definitions/app.Response'
  29369. security:
  29370. - ApiKeyAuth: []
  29371. summary: 查询协议配置变更流水
  29372. tags:
  29373. - 大连千海金(协议和签约信息)
  29374. /QhjSys/QueryAgreementConfig:
  29375. get:
  29376. parameters:
  29377. - description: 协议ID
  29378. in: query
  29379. name: agreementid
  29380. type: integer
  29381. - description: 协议版本号
  29382. in: query
  29383. name: agreementversion
  29384. type: integer
  29385. - description: 协议类型 - 1:注册 2:登录 3:交易
  29386. in: query
  29387. name: agreementtype
  29388. type: integer
  29389. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29390. in: query
  29391. name: isvalid
  29392. type: integer
  29393. - description: 协议编号(模糊匹配)
  29394. in: query
  29395. name: agreementno
  29396. type: string
  29397. - description: 协议名称(模糊匹配)
  29398. in: query
  29399. name: agreementname
  29400. type: string
  29401. produces:
  29402. - application/json
  29403. responses:
  29404. "200":
  29405. description: OK
  29406. schema:
  29407. items:
  29408. $ref: '#/definitions/models.QhjAgreementConfig'
  29409. type: array
  29410. "500":
  29411. description: Internal Server Error
  29412. schema:
  29413. $ref: '#/definitions/app.Response'
  29414. security:
  29415. - ApiKeyAuth: []
  29416. summary: 查询协议配置
  29417. tags:
  29418. - 大连千海金(协议和签约信息)
  29419. /QhjSys/QueryCustomerSignStatus:
  29420. get:
  29421. parameters:
  29422. - description: 客户ID
  29423. in: query
  29424. name: userid
  29425. type: integer
  29426. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29427. in: query
  29428. name: nodetype
  29429. type: integer
  29430. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29431. in: query
  29432. name: goodsid
  29433. type: integer
  29434. - description: 创建交易日(yyyyMMdd)
  29435. in: query
  29436. name: tradedate
  29437. type: string
  29438. - description: 用户名称(模糊匹配)
  29439. in: query
  29440. name: username
  29441. type: string
  29442. produces:
  29443. - application/json
  29444. responses:
  29445. "200":
  29446. description: OK
  29447. schema:
  29448. items:
  29449. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29450. type: array
  29451. "500":
  29452. description: Internal Server Error
  29453. schema:
  29454. $ref: '#/definitions/app.Response'
  29455. security:
  29456. - ApiKeyAuth: []
  29457. summary: 查询客户协议签约状态
  29458. tags:
  29459. - 大连千海金(协议和签约信息)
  29460. /QhjSys/QueryNodeAgreementConfig:
  29461. get:
  29462. parameters:
  29463. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29464. in: query
  29465. name: configid
  29466. type: integer
  29467. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29468. in: query
  29469. name: nodetype
  29470. type: integer
  29471. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29472. in: query
  29473. name: goodsid
  29474. type: integer
  29475. - description: 协议ID
  29476. in: query
  29477. name: agreementid
  29478. type: integer
  29479. - description: 协议类型 - 1:注册 2:登录 3:交易
  29480. in: query
  29481. name: agreementtype
  29482. type: integer
  29483. - description: 协议版本号
  29484. in: query
  29485. name: agreementversion
  29486. type: integer
  29487. - description: 协议编号(模糊匹配)
  29488. in: query
  29489. name: agreementno
  29490. type: string
  29491. - description: 协议名称(模糊匹配)
  29492. in: query
  29493. name: agreementname
  29494. type: string
  29495. produces:
  29496. - application/json
  29497. responses:
  29498. "200":
  29499. description: OK
  29500. schema:
  29501. items:
  29502. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29503. type: array
  29504. "500":
  29505. description: Internal Server Error
  29506. schema:
  29507. $ref: '#/definitions/app.Response'
  29508. security:
  29509. - ApiKeyAuth: []
  29510. summary: 查询协议节点配置
  29511. tags:
  29512. - 大连千海金(协议和签约信息)
  29513. /QhjSys/QueryQhjCustomerSignLog:
  29514. get:
  29515. parameters:
  29516. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29517. in: query
  29518. name: logid
  29519. type: integer
  29520. - description: 客户ID
  29521. in: query
  29522. name: userid
  29523. type: integer
  29524. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29525. in: query
  29526. name: nodetype
  29527. type: integer
  29528. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29529. in: query
  29530. name: goodsid
  29531. type: integer
  29532. - description: 协议ID
  29533. in: query
  29534. name: agreementid
  29535. type: integer
  29536. - description: 用户名称(模糊匹配)
  29537. in: query
  29538. name: username
  29539. type: string
  29540. - description: 协议编号(模糊匹配)
  29541. in: query
  29542. name: agreementno
  29543. type: string
  29544. - description: 协议名称(模糊匹配)
  29545. in: query
  29546. name: agreementname
  29547. type: string
  29548. produces:
  29549. - application/json
  29550. responses:
  29551. "200":
  29552. description: OK
  29553. schema:
  29554. items:
  29555. $ref: '#/definitions/models.QhjCustomerSignLog'
  29556. type: array
  29557. "500":
  29558. description: Internal Server Error
  29559. schema:
  29560. $ref: '#/definitions/app.Response'
  29561. security:
  29562. - ApiKeyAuth: []
  29563. summary: 查询客户协议签约流水
  29564. tags:
  29565. - 大连千海金(协议和签约信息)
  29566. /QhjSys/QueryUserNodeCfgAndStatus:
  29567. get:
  29568. parameters:
  29569. - description: 客户ID
  29570. in: query
  29571. name: userid
  29572. type: integer
  29573. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29574. in: query
  29575. name: configid
  29576. type: integer
  29577. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29578. in: query
  29579. name: nodetype
  29580. type: string
  29581. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29582. in: query
  29583. name: goodsid
  29584. type: integer
  29585. - description: 协议ID
  29586. in: query
  29587. name: agreementid
  29588. type: integer
  29589. - description: 协议类型 - 1:注册 2:登录 3:交易
  29590. in: query
  29591. name: agreementtype
  29592. type: integer
  29593. - description: 协议版本号
  29594. in: query
  29595. name: agreementversion
  29596. type: integer
  29597. - description: 协议编号(模糊匹配)
  29598. in: query
  29599. name: agreementno
  29600. type: string
  29601. - description: 协议名称(模糊匹配)
  29602. in: query
  29603. name: agreementname
  29604. type: string
  29605. produces:
  29606. - application/json
  29607. responses:
  29608. "200":
  29609. description: OK
  29610. schema:
  29611. items:
  29612. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29613. type: array
  29614. "500":
  29615. description: Internal Server Error
  29616. schema:
  29617. $ref: '#/definitions/app.Response'
  29618. security:
  29619. - ApiKeyAuth: []
  29620. summary: 查询用户协议节点配置和状态
  29621. tags:
  29622. - 大连千海金(协议和签约信息)
  29623. /Quote/QueryHistoryDatas:
  29624. get:
  29625. parameters:
  29626. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29627. 日线 12:周线 13:月线 14:年线'
  29628. in: query
  29629. name: cycleType
  29630. required: true
  29631. type: integer
  29632. - description: 商品代码
  29633. in: query
  29634. name: goodsCode
  29635. required: true
  29636. type: string
  29637. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29638. in: query
  29639. name: startTime
  29640. type: string
  29641. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29642. in: query
  29643. name: endTime
  29644. type: string
  29645. - description: 条数
  29646. in: query
  29647. name: count
  29648. type: integer
  29649. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29650. in: query
  29651. name: isAsc
  29652. type: boolean
  29653. produces:
  29654. - application/json
  29655. responses:
  29656. "200":
  29657. description: OK
  29658. schema:
  29659. $ref: '#/definitions/quote.HistoryData'
  29660. "500":
  29661. description: Internal Server Error
  29662. schema:
  29663. $ref: '#/definitions/app.Response'
  29664. security:
  29665. - ApiKeyAuth: []
  29666. summary: 查询行情历史数据
  29667. tags:
  29668. - 行情服务
  29669. /Quote/QueryHistoryTikDatas:
  29670. get:
  29671. parameters:
  29672. - description: 商品代码
  29673. in: query
  29674. name: goodsCode
  29675. required: true
  29676. type: string
  29677. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29678. in: query
  29679. name: startTime
  29680. type: string
  29681. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29682. in: query
  29683. name: endTime
  29684. type: string
  29685. - description: 条数
  29686. in: query
  29687. name: count
  29688. type: integer
  29689. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29690. in: query
  29691. name: isAsc
  29692. type: boolean
  29693. produces:
  29694. - application/json
  29695. responses:
  29696. "200":
  29697. description: OK
  29698. schema:
  29699. $ref: '#/definitions/quote.HistoryTikData'
  29700. "500":
  29701. description: Internal Server Error
  29702. schema:
  29703. $ref: '#/definitions/app.Response'
  29704. security:
  29705. - ApiKeyAuth: []
  29706. summary: 查询行情Tik数据
  29707. tags:
  29708. - 行情服务
  29709. /Quote/QueryQuoteDay:
  29710. get:
  29711. parameters:
  29712. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29713. in: query
  29714. name: goodsCodes
  29715. type: string
  29716. produces:
  29717. - application/json
  29718. responses:
  29719. "200":
  29720. description: OK
  29721. schema:
  29722. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29723. "500":
  29724. description: Internal Server Error
  29725. schema:
  29726. $ref: '#/definitions/app.Response'
  29727. security:
  29728. - ApiKeyAuth: []
  29729. summary: 获取商品盘面信息
  29730. tags:
  29731. - 行情服务
  29732. /Quote/QueryTSData:
  29733. get:
  29734. parameters:
  29735. - description: 商品代码
  29736. in: query
  29737. name: goodsCode
  29738. required: true
  29739. type: string
  29740. produces:
  29741. - application/json
  29742. responses:
  29743. "200":
  29744. description: OK
  29745. schema:
  29746. $ref: '#/definitions/quote.QueryTSDataRsp'
  29747. "500":
  29748. description: Internal Server Error
  29749. schema:
  29750. $ref: '#/definitions/app.Response'
  29751. security:
  29752. - ApiKeyAuth: []
  29753. summary: 分时图数据查询
  29754. tags:
  29755. - 行情服务
  29756. /SZDZ/QueryConvertConfig:
  29757. get:
  29758. parameters:
  29759. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29760. 6:交易转花生米(不设置)
  29761. in: query
  29762. name: convertType
  29763. type: integer
  29764. - description: 外部商品代码[JD\PD]
  29765. in: query
  29766. name: outerGoodsCode
  29767. type: string
  29768. - description: 内部商品ID列表[交易],格式:1,2,3
  29769. in: query
  29770. name: innerGoodsIDs
  29771. type: string
  29772. produces:
  29773. - application/json
  29774. responses:
  29775. "200":
  29776. description: OK
  29777. schema:
  29778. $ref: '#/definitions/models.Szdz3convertconfig'
  29779. "500":
  29780. description: Internal Server Error
  29781. schema:
  29782. $ref: '#/definitions/app.Response'
  29783. security:
  29784. - ApiKeyAuth: []
  29785. summary: 查询交易系统转换设置
  29786. tags:
  29787. - 定制【尚志大宗】
  29788. /SZDZ/QueryConvertLog:
  29789. get:
  29790. parameters:
  29791. - description: 资金账户 - 格式:1,2,3
  29792. in: query
  29793. name: accountID
  29794. required: true
  29795. type: string
  29796. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29797. in: query
  29798. name: startDate
  29799. type: string
  29800. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29801. in: query
  29802. name: endDate
  29803. type: string
  29804. produces:
  29805. - application/json
  29806. responses:
  29807. "200":
  29808. description: OK
  29809. schema:
  29810. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29811. "500":
  29812. description: Internal Server Error
  29813. schema:
  29814. $ref: '#/definitions/app.Response'
  29815. security:
  29816. - ApiKeyAuth: []
  29817. summary: 交易系统转换流水查询
  29818. tags:
  29819. - 定制【尚志大宗】
  29820. /SZDZ/QueryGoodsPickup:
  29821. get:
  29822. parameters:
  29823. - description: 资金账户 - 格式:1,2,3
  29824. in: query
  29825. name: accountID
  29826. required: true
  29827. type: string
  29828. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29829. in: query
  29830. name: takeOrderStatus
  29831. type: integer
  29832. produces:
  29833. - application/json
  29834. responses:
  29835. "200":
  29836. description: OK
  29837. schema:
  29838. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29839. "500":
  29840. description: Internal Server Error
  29841. schema:
  29842. $ref: '#/definitions/app.Response'
  29843. security:
  29844. - ApiKeyAuth: []
  29845. summary: 商品提货单查询
  29846. tags:
  29847. - 定制【尚志大宗】
  29848. /SZDZ/QueryRecieptOrder:
  29849. get:
  29850. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29851. parameters:
  29852. - description: 页码
  29853. in: query
  29854. name: page
  29855. type: integer
  29856. - description: 每页条数
  29857. in: query
  29858. name: pagesize
  29859. type: integer
  29860. - description: 商品ID
  29861. in: query
  29862. name: goodsID
  29863. required: true
  29864. type: integer
  29865. - description: 所属账户名称
  29866. in: query
  29867. name: accountName
  29868. type: string
  29869. - description: 市场ID
  29870. in: query
  29871. name: marketID
  29872. type: integer
  29873. - description: 方向 - 0:买 1:卖
  29874. in: query
  29875. name: buyorsell
  29876. required: true
  29877. type: integer
  29878. produces:
  29879. - application/json
  29880. responses:
  29881. "200":
  29882. description: OK
  29883. schema:
  29884. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29885. "500":
  29886. description: Internal Server Error
  29887. schema:
  29888. $ref: '#/definitions/app.Response'
  29889. security:
  29890. - ApiKeyAuth: []
  29891. summary: 点选挂牌委托单据查询(摘牌大厅)
  29892. tags:
  29893. - 定制【尚志大宗】
  29894. /SZDZ/QuerySZDZTradePosition:
  29895. get:
  29896. parameters:
  29897. - description: 资金账户
  29898. in: query
  29899. name: accountID
  29900. required: true
  29901. type: integer
  29902. produces:
  29903. - application/json
  29904. responses:
  29905. "200":
  29906. description: OK
  29907. schema:
  29908. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29909. "500":
  29910. description: Internal Server Error
  29911. schema:
  29912. $ref: '#/definitions/app.Response'
  29913. security:
  29914. - ApiKeyAuth: []
  29915. summary: 持仓汇总查询(尚志大宗)
  29916. tags:
  29917. - 定制【尚志大宗】
  29918. /SZDZ/SearchWhite:
  29919. get:
  29920. parameters:
  29921. - description: 用户ID
  29922. in: query
  29923. name: userID
  29924. required: true
  29925. type: integer
  29926. produces:
  29927. - application/json
  29928. responses:
  29929. "200":
  29930. description: OK
  29931. schema:
  29932. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29933. "500":
  29934. description: Internal Server Error
  29935. schema:
  29936. $ref: '#/definitions/app.Response'
  29937. security:
  29938. - ApiKeyAuth: []
  29939. summary: 搜索白名单
  29940. tags:
  29941. - 定制【尚志大宗】
  29942. /Search/SearchGoodses:
  29943. get:
  29944. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29945. parameters:
  29946. - description: 检索内容
  29947. in: query
  29948. name: content
  29949. required: true
  29950. type: string
  29951. - description: 交易模式,格式:1,2,3
  29952. in: query
  29953. name: tradeModes
  29954. type: string
  29955. produces:
  29956. - application/json
  29957. responses:
  29958. "200":
  29959. description: OK
  29960. schema:
  29961. $ref: '#/definitions/models.SearchGoods'
  29962. "500":
  29963. description: Internal Server Error
  29964. schema:
  29965. $ref: '#/definitions/app.Response'
  29966. summary: 检索商品信息
  29967. tags:
  29968. - 检索服务
  29969. /TaAccount/GetTaAccounts:
  29970. get:
  29971. parameters:
  29972. - description: 登录账户
  29973. in: query
  29974. name: loginID
  29975. required: true
  29976. type: integer
  29977. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29978. in: query
  29979. name: taAccountType
  29980. type: integer
  29981. produces:
  29982. - application/json
  29983. responses:
  29984. "200":
  29985. description: OK
  29986. schema:
  29987. $ref: '#/definitions/models.Taaccount'
  29988. "500":
  29989. description: Internal Server Error
  29990. schema:
  29991. $ref: '#/definitions/app.Response'
  29992. security:
  29993. - ApiKeyAuth: []
  29994. summary: 获取资金账户信息
  29995. tags:
  29996. - 资金账户
  29997. /TaAccount/QueryAmountLog:
  29998. get:
  29999. parameters:
  30000. - description: 页码
  30001. in: query
  30002. name: page
  30003. type: integer
  30004. - description: 每页条数
  30005. in: query
  30006. name: pagesize
  30007. type: integer
  30008. - description: 资金账户 - 格式:1,2,3
  30009. in: query
  30010. name: accountID
  30011. required: true
  30012. type: string
  30013. - description: 资金操作类型 - 格式:1,2,3
  30014. in: query
  30015. name: OperateType
  30016. type: string
  30017. produces:
  30018. - application/json
  30019. responses:
  30020. "200":
  30021. description: OK
  30022. schema:
  30023. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30024. "500":
  30025. description: Internal Server Error
  30026. schema:
  30027. $ref: '#/definitions/app.Response'
  30028. security:
  30029. - ApiKeyAuth: []
  30030. summary: 资金流水查询(当前)
  30031. tags:
  30032. - 资金账户
  30033. /TaAccount/QueryHisAmountLog:
  30034. get:
  30035. parameters:
  30036. - description: 页码
  30037. in: query
  30038. name: page
  30039. type: integer
  30040. - description: 每页条数
  30041. in: query
  30042. name: pagesize
  30043. type: integer
  30044. - description: 资金账户 - 格式:1,2,3
  30045. in: query
  30046. name: accountID
  30047. required: true
  30048. type: string
  30049. - description: 资金操作类型 - 格式:1,2,3
  30050. in: query
  30051. name: OperateType
  30052. type: string
  30053. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30054. in: query
  30055. name: startDate
  30056. type: string
  30057. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30058. in: query
  30059. name: endDate
  30060. type: string
  30061. produces:
  30062. - application/json
  30063. responses:
  30064. "200":
  30065. description: OK
  30066. schema:
  30067. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30068. "500":
  30069. description: Internal Server Error
  30070. schema:
  30071. $ref: '#/definitions/app.Response'
  30072. security:
  30073. - ApiKeyAuth: []
  30074. summary: 资金流水查询(历史)
  30075. tags:
  30076. - 资金账户
  30077. /TaAccount/QueryRelatedTaAccount:
  30078. get:
  30079. parameters:
  30080. - description: 关联UserID
  30081. in: query
  30082. name: relateduserid
  30083. required: true
  30084. type: integer
  30085. produces:
  30086. - application/json
  30087. responses:
  30088. "200":
  30089. description: OK
  30090. schema:
  30091. items:
  30092. $ref: '#/definitions/models.RelatedTaAccount'
  30093. type: array
  30094. "500":
  30095. description: Internal Server Error
  30096. schema:
  30097. $ref: '#/definitions/app.Response'
  30098. security:
  30099. - ApiKeyAuth: []
  30100. summary: 查询关联资金账户信息
  30101. tags:
  30102. - 资金账户
  30103. /Tjmd/QueryQuoteGoodsList:
  30104. get:
  30105. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30106. parameters:
  30107. - description: 用户类型
  30108. in: query
  30109. name: usertype
  30110. required: true
  30111. type: integer
  30112. - description: 市场id, 格式 1,2,3
  30113. in: query
  30114. name: marketids
  30115. type: string
  30116. - description: 商品组id
  30117. in: query
  30118. name: goodsgroupid
  30119. type: integer
  30120. - description: 商品id
  30121. in: query
  30122. name: goodsid
  30123. type: integer
  30124. produces:
  30125. - application/json
  30126. responses:
  30127. "200":
  30128. description: OK
  30129. schema:
  30130. items:
  30131. $ref: '#/definitions/models.TjmdQuoteGoods'
  30132. type: array
  30133. "500":
  30134. description: Internal Server Error
  30135. schema:
  30136. $ref: '#/definitions/app.Response'
  30137. security:
  30138. - ApiKeyAuth: []
  30139. summary: 查询掉期报价列表
  30140. tags:
  30141. - 天津麦顿
  30142. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30143. get:
  30144. parameters:
  30145. - description: 成交单号
  30146. in: query
  30147. name: tradeid
  30148. required: true
  30149. type: string
  30150. produces:
  30151. - application/json
  30152. responses:
  30153. "200":
  30154. description: OK
  30155. schema:
  30156. items:
  30157. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30158. type: array
  30159. "500":
  30160. description: Internal Server Error
  30161. schema:
  30162. $ref: '#/definitions/app.Response'
  30163. security:
  30164. - ApiKeyAuth: []
  30165. summary: 掉期商品订单详情(交易确认书)
  30166. tags:
  30167. - 天津麦顿
  30168. /Tjmd/QueryTjmdMarketSection:
  30169. get:
  30170. produces:
  30171. - application/json
  30172. responses:
  30173. "200":
  30174. description: OK
  30175. schema:
  30176. items:
  30177. $ref: '#/definitions/models.TjmdMarketSection'
  30178. type: array
  30179. "500":
  30180. description: Internal Server Error
  30181. schema:
  30182. $ref: '#/definitions/app.Response'
  30183. security:
  30184. - ApiKeyAuth: []
  30185. summary: 查询市场板块
  30186. tags:
  30187. - 天津麦顿
  30188. /Tjmd/QueryTjmdTodayAccountMargin:
  30189. get:
  30190. parameters:
  30191. - description: 市场id
  30192. in: query
  30193. name: marketid
  30194. type: string
  30195. - description: 商品id
  30196. in: query
  30197. name: goodsid
  30198. type: string
  30199. - description: 资金账号
  30200. in: query
  30201. name: accountid
  30202. type: string
  30203. produces:
  30204. - application/json
  30205. responses:
  30206. "200":
  30207. description: OK
  30208. schema:
  30209. items:
  30210. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30211. type: array
  30212. "500":
  30213. description: Internal Server Error
  30214. schema:
  30215. $ref: '#/definitions/app.Response'
  30216. security:
  30217. - ApiKeyAuth: []
  30218. summary: 查询今日账户保证金配置
  30219. tags:
  30220. - 天津麦顿
  30221. /Tjmd/QueryTjmdTradeOrderDetail:
  30222. get:
  30223. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30224. parameters:
  30225. - description: 页码
  30226. in: query
  30227. name: page
  30228. type: integer
  30229. - description: 每页条数
  30230. in: query
  30231. name: pagesize
  30232. type: integer
  30233. - description: 用户id
  30234. in: query
  30235. name: userid
  30236. required: true
  30237. type: integer
  30238. - description: 用户类型
  30239. in: query
  30240. name: usertype
  30241. required: true
  30242. type: integer
  30243. - description: 市场id, 格式 1,2,3
  30244. in: query
  30245. name: marketids
  30246. type: string
  30247. - description: 商品id
  30248. in: query
  30249. name: goodsid
  30250. required: true
  30251. type: integer
  30252. - description: 买卖方向 0-买 1-卖
  30253. in: query
  30254. name: buyorsell
  30255. required: true
  30256. type: integer
  30257. produces:
  30258. - application/json
  30259. responses:
  30260. "200":
  30261. description: OK
  30262. schema:
  30263. items:
  30264. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30265. type: array
  30266. "500":
  30267. description: Internal Server Error
  30268. schema:
  30269. $ref: '#/definitions/app.Response'
  30270. security:
  30271. - ApiKeyAuth: []
  30272. summary: 查询掉期买卖大厅
  30273. tags:
  30274. - 天津麦顿
  30275. /Tjmd/QueryTjmdTransferApply:
  30276. get:
  30277. parameters:
  30278. - description: 类型 1-我的申请 2-对方申请
  30279. in: query
  30280. name: applytype
  30281. required: true
  30282. type: integer
  30283. - description: 市场id, 格式 1,2,3
  30284. in: query
  30285. name: marketids
  30286. type: string
  30287. - description: 资金账号, 格式 25000000001,25000000003
  30288. in: query
  30289. name: accountids
  30290. type: string
  30291. - description: 开始交易日(yyyymmdd)
  30292. in: query
  30293. name: begindate
  30294. type: string
  30295. - description: 结束交易日(yyyymmdd)
  30296. in: query
  30297. name: enddate
  30298. type: string
  30299. produces:
  30300. - application/json
  30301. responses:
  30302. "200":
  30303. description: OK
  30304. schema:
  30305. items:
  30306. $ref: '#/definitions/models.TjmdTransferApply'
  30307. type: array
  30308. "500":
  30309. description: Internal Server Error
  30310. schema:
  30311. $ref: '#/definitions/app.Response'
  30312. security:
  30313. - ApiKeyAuth: []
  30314. summary: 查询掉期协议单
  30315. tags:
  30316. - 天津麦顿
  30317. /Trade/QueryRecieptOrder:
  30318. get:
  30319. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30320. parameters:
  30321. - description: 页码
  30322. in: query
  30323. name: page
  30324. type: integer
  30325. - description: 每页条数
  30326. in: query
  30327. name: pagesize
  30328. type: integer
  30329. - description: 商品ID
  30330. in: query
  30331. name: goodsID
  30332. required: true
  30333. type: integer
  30334. - description: 所属账户名称
  30335. in: query
  30336. name: accountName
  30337. type: string
  30338. - description: 市场ID
  30339. in: query
  30340. name: marketID
  30341. type: integer
  30342. - description: 方向 - 0:买 1:卖
  30343. in: query
  30344. name: buyorsell
  30345. required: true
  30346. type: integer
  30347. produces:
  30348. - application/json
  30349. responses:
  30350. "200":
  30351. description: OK
  30352. schema:
  30353. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30354. "500":
  30355. description: Internal Server Error
  30356. schema:
  30357. $ref: '#/definitions/app.Response'
  30358. security:
  30359. - ApiKeyAuth: []
  30360. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30361. tags:
  30362. - 通用交易
  30363. /User/AddMessageBoard:
  30364. post:
  30365. parameters:
  30366. - description: 用户ID
  30367. in: query
  30368. name: userID
  30369. required: true
  30370. type: integer
  30371. - description: 留言信息
  30372. in: query
  30373. name: message
  30374. required: true
  30375. type: string
  30376. - description: 联系电话
  30377. in: query
  30378. name: contactNum
  30379. required: true
  30380. type: string
  30381. produces:
  30382. - application/json
  30383. responses:
  30384. "200":
  30385. description: OK
  30386. schema:
  30387. $ref: '#/definitions/app.Response'
  30388. "500":
  30389. description: Internal Server Error
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. security:
  30393. - ApiKeyAuth: []
  30394. summary: 添加用户留言板信息
  30395. tags:
  30396. - 用户信息
  30397. /User/AddUserFavoriteGoods:
  30398. post:
  30399. parameters:
  30400. - description: 用户ID
  30401. in: query
  30402. name: userID
  30403. required: true
  30404. type: integer
  30405. - description: 商品ID
  30406. in: query
  30407. name: goodsID
  30408. required: true
  30409. type: integer
  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/GetLoginID:
  30427. get:
  30428. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30429. parameters:
  30430. - description: 登录代码
  30431. in: query
  30432. name: username
  30433. required: true
  30434. type: string
  30435. produces:
  30436. - application/json
  30437. responses:
  30438. "200":
  30439. description: OK
  30440. schema:
  30441. $ref: '#/definitions/app.Response'
  30442. "500":
  30443. description: Internal Server Error
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. summary: 获取登录ID
  30447. tags:
  30448. - 用户信息
  30449. /User/GetUserAccount:
  30450. get:
  30451. parameters:
  30452. - description: 用户ID
  30453. in: query
  30454. name: userID
  30455. required: true
  30456. type: integer
  30457. produces:
  30458. - application/json
  30459. responses:
  30460. "200":
  30461. description: OK
  30462. schema:
  30463. $ref: '#/definitions/models.Useraccount'
  30464. "500":
  30465. description: Internal Server Error
  30466. schema:
  30467. $ref: '#/definitions/app.Response'
  30468. security:
  30469. - ApiKeyAuth: []
  30470. summary: 获取用户账号信息
  30471. tags:
  30472. - 用户信息
  30473. /User/GetUserAuthStatus:
  30474. get:
  30475. parameters:
  30476. - description: 用户ID
  30477. in: query
  30478. name: userID
  30479. required: true
  30480. type: integer
  30481. produces:
  30482. - application/json
  30483. responses:
  30484. "200":
  30485. description: OK
  30486. schema:
  30487. $ref: '#/definitions/app.Response'
  30488. "500":
  30489. description: Internal Server Error
  30490. schema:
  30491. $ref: '#/definitions/app.Response'
  30492. security:
  30493. - ApiKeyAuth: []
  30494. summary: 获取用户实名认证状态
  30495. tags:
  30496. - 用户信息
  30497. /User/LoginQuery:
  30498. get:
  30499. parameters:
  30500. - description: 登录账号
  30501. in: query
  30502. name: loginID
  30503. required: true
  30504. type: integer
  30505. produces:
  30506. - application/json
  30507. responses:
  30508. "200":
  30509. description: OK
  30510. schema:
  30511. $ref: '#/definitions/user.LoginQueryRsp'
  30512. "500":
  30513. description: Internal Server Error
  30514. schema:
  30515. $ref: '#/definitions/app.Response'
  30516. security:
  30517. - ApiKeyAuth: []
  30518. summary: 账户登录后信息查询
  30519. tags:
  30520. - 用户信息
  30521. /User/QueryMessageBoard:
  30522. get:
  30523. parameters:
  30524. - description: 用户ID
  30525. in: query
  30526. name: userID
  30527. required: true
  30528. type: integer
  30529. produces:
  30530. - application/json
  30531. responses:
  30532. "200":
  30533. description: OK
  30534. schema:
  30535. $ref: '#/definitions/models.Messageboard'
  30536. "500":
  30537. description: Internal Server Error
  30538. schema:
  30539. $ref: '#/definitions/app.Response'
  30540. security:
  30541. - ApiKeyAuth: []
  30542. summary: 获取用户留言板信息
  30543. tags:
  30544. - 用户信息
  30545. /User/QueryUserFavoriteGoodses:
  30546. get:
  30547. parameters:
  30548. - description: 用户ID
  30549. in: query
  30550. name: userID
  30551. required: true
  30552. type: integer
  30553. produces:
  30554. - application/json
  30555. responses:
  30556. "200":
  30557. description: OK
  30558. schema:
  30559. $ref: '#/definitions/models.Userfavoritegoods'
  30560. "500":
  30561. description: Internal Server Error
  30562. schema:
  30563. $ref: '#/definitions/app.Response'
  30564. security:
  30565. - ApiKeyAuth: []
  30566. summary: 获取用户商品收藏信息
  30567. tags:
  30568. - 用户信息
  30569. /User/QueryUserInfo:
  30570. get:
  30571. parameters:
  30572. - description: 用户ID
  30573. in: query
  30574. name: userID
  30575. required: true
  30576. type: integer
  30577. - description: 是否解密
  30578. in: query
  30579. name: isDecrypt
  30580. type: boolean
  30581. produces:
  30582. - application/json
  30583. responses:
  30584. "200":
  30585. description: OK
  30586. schema:
  30587. $ref: '#/definitions/models.Userinfo'
  30588. "500":
  30589. description: Internal Server Error
  30590. schema:
  30591. $ref: '#/definitions/app.Response'
  30592. security:
  30593. - ApiKeyAuth: []
  30594. summary: 获取用户信息
  30595. tags:
  30596. - 用户信息
  30597. /User/QueryUserReferNum:
  30598. get:
  30599. parameters:
  30600. - description: 用户ID
  30601. in: query
  30602. name: userID
  30603. required: true
  30604. type: integer
  30605. produces:
  30606. - application/json
  30607. responses:
  30608. "200":
  30609. description: OK
  30610. schema:
  30611. $ref: '#/definitions/app.Response'
  30612. "500":
  30613. description: Internal Server Error
  30614. schema:
  30615. $ref: '#/definitions/app.Response'
  30616. summary: 获取用户邀请码
  30617. tags:
  30618. - 用户信息
  30619. /User/RemoveUserFavoriteGoods:
  30620. post:
  30621. parameters:
  30622. - description: 用户ID
  30623. in: query
  30624. name: userID
  30625. required: true
  30626. type: integer
  30627. - description: 商品ID
  30628. in: query
  30629. name: goodsID
  30630. required: true
  30631. type: integer
  30632. produces:
  30633. - application/json
  30634. responses:
  30635. "200":
  30636. description: OK
  30637. schema:
  30638. $ref: '#/definitions/app.Response'
  30639. "500":
  30640. description: Internal Server Error
  30641. schema:
  30642. $ref: '#/definitions/app.Response'
  30643. security:
  30644. - ApiKeyAuth: []
  30645. summary: 移除用户商品收藏信息
  30646. tags:
  30647. - 用户信息
  30648. /User/UpdateUserAccountStatus:
  30649. post:
  30650. parameters:
  30651. - description: 用户ID
  30652. in: query
  30653. name: userID
  30654. required: true
  30655. type: integer
  30656. - description: 账户状态 - 4:正常 6:注销(停用)
  30657. in: query
  30658. name: accountStatus
  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. /WRTrade/GetAllDeliveryGoods:
  30678. get:
  30679. produces:
  30680. - application/json
  30681. responses:
  30682. "200":
  30683. description: OK
  30684. schema:
  30685. $ref: '#/definitions/app.Response'
  30686. "500":
  30687. description: Internal Server Error
  30688. schema:
  30689. $ref: '#/definitions/app.Response'
  30690. security:
  30691. - ApiKeyAuth: []
  30692. summary: 获取带仓单分类的种类信息
  30693. tags:
  30694. - 仓单贸易
  30695. - 仓单贸易
  30696. /WrTrade2/InsertXhcpSellBackApply:
  30697. post:
  30698. parameters:
  30699. - description: 回收申请
  30700. in: body
  30701. name: jsonBody
  30702. required: true
  30703. schema:
  30704. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30705. produces:
  30706. - application/json
  30707. responses:
  30708. "200":
  30709. description: OK
  30710. schema:
  30711. $ref: '#/definitions/app.Response'
  30712. "500":
  30713. description: Internal Server Error
  30714. schema:
  30715. $ref: '#/definitions/app.Response'
  30716. security:
  30717. - ApiKeyAuth: []
  30718. summary: 新增回收申请(新会陈皮)
  30719. tags:
  30720. - 仓单贸易v2
  30721. /WrTrade2/QueryDeliveryGoodsSection:
  30722. get:
  30723. produces:
  30724. - application/json
  30725. responses:
  30726. "200":
  30727. description: OK
  30728. schema:
  30729. items:
  30730. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30731. type: array
  30732. "500":
  30733. description: Internal Server Error
  30734. schema:
  30735. $ref: '#/definitions/app.Response'
  30736. security:
  30737. - ApiKeyAuth: []
  30738. summary: 查询板块(分类)
  30739. tags:
  30740. - 仓单贸易v2
  30741. /WrTrade2/QueryFaProductDetail:
  30742. get:
  30743. description: 页面 买卖大厅 -> 选择融资方案
  30744. parameters:
  30745. - description: 仓单要素id
  30746. in: query
  30747. name: wrfactortypeid
  30748. required: true
  30749. type: integer
  30750. produces:
  30751. - application/json
  30752. responses:
  30753. "200":
  30754. description: OK
  30755. schema:
  30756. items:
  30757. $ref: '#/definitions/models.WrFAProductDetail'
  30758. type: array
  30759. "500":
  30760. description: Internal Server Error
  30761. schema:
  30762. $ref: '#/definitions/app.Response'
  30763. security:
  30764. - ApiKeyAuth: []
  30765. summary: 查询融资产品列表
  30766. tags:
  30767. - 仓单贸易v2
  30768. /WrTrade2/QueryFilterItem:
  30769. get:
  30770. parameters:
  30771. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30772. in: query
  30773. name: itype
  30774. required: true
  30775. type: string
  30776. produces:
  30777. - application/json
  30778. responses:
  30779. "200":
  30780. description: OK
  30781. schema:
  30782. items:
  30783. $ref: '#/definitions/models.WrFilterItem'
  30784. type: array
  30785. "500":
  30786. description: Internal Server Error
  30787. schema:
  30788. $ref: '#/definitions/app.Response'
  30789. security:
  30790. - ApiKeyAuth: []
  30791. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30792. tags:
  30793. - 仓单贸易v2
  30794. /WrTrade2/QueryFtDeliveryGoods:
  30795. get:
  30796. produces:
  30797. - application/json
  30798. responses:
  30799. "200":
  30800. description: OK
  30801. schema:
  30802. items:
  30803. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30804. type: array
  30805. "500":
  30806. description: Internal Server Error
  30807. schema:
  30808. $ref: '#/definitions/app.Response'
  30809. security:
  30810. - ApiKeyAuth: []
  30811. summary: 查询品种品类筛选框列表
  30812. tags:
  30813. - 仓单贸易v2
  30814. /WrTrade2/QueryHoldLB:
  30815. get:
  30816. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30817. parameters:
  30818. - description: 资金账号
  30819. in: query
  30820. name: accountid
  30821. required: true
  30822. type: integer
  30823. - description: 仓库id
  30824. in: query
  30825. name: warehouseid
  30826. type: integer
  30827. - description: 品种id
  30828. in: query
  30829. name: deliverygoodsid
  30830. type: integer
  30831. - description: 品类id
  30832. in: query
  30833. name: wrstandardid
  30834. type: integer
  30835. - description: 仓单要素id
  30836. in: query
  30837. name: wrfactortypeid
  30838. type: integer
  30839. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30840. in: query
  30841. name: dgitemname
  30842. type: string
  30843. produces:
  30844. - application/json
  30845. responses:
  30846. "200":
  30847. description: OK
  30848. schema:
  30849. items:
  30850. $ref: '#/definitions/models.WrHoldLB'
  30851. type: array
  30852. "500":
  30853. description: Internal Server Error
  30854. schema:
  30855. $ref: '#/definitions/app.Response'
  30856. security:
  30857. - ApiKeyAuth: []
  30858. summary: 查询仓单持有记录
  30859. tags:
  30860. - 仓单贸易v2
  30861. /WrTrade2/QueryOrderQuote:
  30862. get:
  30863. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30864. 唯一确定1条记录
  30865. parameters:
  30866. - description: 页码
  30867. in: query
  30868. name: page
  30869. type: integer
  30870. - description: 每页条数
  30871. in: query
  30872. name: pagesize
  30873. type: integer
  30874. - description: 仓单贸易市场id
  30875. in: query
  30876. name: marketid
  30877. type: integer
  30878. - description: 价格方式 - 1:固定价 2-浮动价
  30879. in: query
  30880. name: wrpricetype
  30881. required: true
  30882. type: integer
  30883. - description: 0:仓单预售 1:仓单贸易
  30884. in: query
  30885. name: haswr
  30886. type: integer
  30887. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30888. in: query
  30889. name: dgitemname
  30890. type: string
  30891. - description: 仓库id(筛选条件)
  30892. in: query
  30893. name: warehouseid
  30894. type: integer
  30895. - description: 品种id
  30896. in: query
  30897. name: deliverygoodsid
  30898. type: integer
  30899. - description: 品类id
  30900. in: query
  30901. name: wrstandardid
  30902. type: integer
  30903. - description: 品牌id(dgfactoryitemid)
  30904. in: query
  30905. name: brandid
  30906. type: integer
  30907. - description: 年份id(dgfactoryitemid)
  30908. in: query
  30909. name: yearsid
  30910. type: integer
  30911. - description: 仓单要素id
  30912. in: query
  30913. name: wrfactortypeid
  30914. type: integer
  30915. - description: 交收月(yyyy-mm) 仓单预售填写
  30916. in: query
  30917. name: deliverymonth
  30918. type: string
  30919. produces:
  30920. - application/json
  30921. responses:
  30922. "200":
  30923. description: OK
  30924. schema:
  30925. items:
  30926. $ref: '#/definitions/models.WrOrderQuote'
  30927. type: array
  30928. "500":
  30929. description: Internal Server Error
  30930. schema:
  30931. $ref: '#/definitions/app.Response'
  30932. security:
  30933. - ApiKeyAuth: []
  30934. summary: 查询大厅行情列表
  30935. tags:
  30936. - 仓单贸易v2
  30937. /WrTrade2/QueryOrderQuoteDetail:
  30938. get:
  30939. parameters:
  30940. - description: 页码
  30941. in: query
  30942. name: page
  30943. type: integer
  30944. - description: 每页条数
  30945. in: query
  30946. name: pagesize
  30947. type: integer
  30948. - description: 仓单贸易市场id
  30949. in: query
  30950. name: marketid
  30951. type: integer
  30952. - description: 价格方式 - 1:固定价 2-浮动价
  30953. in: query
  30954. name: wrpricetype
  30955. required: true
  30956. type: integer
  30957. - description: 0:仓单预售 1:仓单贸易
  30958. in: query
  30959. name: haswr
  30960. type: integer
  30961. - description: 仓单要素id
  30962. in: query
  30963. name: wrfactortypeid
  30964. required: true
  30965. type: integer
  30966. - description: 期货商品id(浮动价方式时填)
  30967. in: query
  30968. name: goodsid
  30969. type: integer
  30970. - description: 买卖方向 0-买 1-卖
  30971. in: query
  30972. name: buyorsell
  30973. required: true
  30974. type: integer
  30975. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30976. in: query
  30977. name: deliverymonth
  30978. type: string
  30979. produces:
  30980. - application/json
  30981. responses:
  30982. "200":
  30983. description: OK
  30984. schema:
  30985. items:
  30986. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30987. type: array
  30988. "500":
  30989. description: Internal Server Error
  30990. schema:
  30991. $ref: '#/definitions/app.Response'
  30992. security:
  30993. - ApiKeyAuth: []
  30994. summary: 查询买卖大厅
  30995. tags:
  30996. - 仓单贸易v2
  30997. /WrTrade2/QueryOrderQuoteMyq:
  30998. get:
  30999. parameters:
  31000. - description: 页码
  31001. in: query
  31002. name: page
  31003. type: integer
  31004. - description: 每页条数
  31005. in: query
  31006. name: pagesize
  31007. type: integer
  31008. - description: 用户id
  31009. in: query
  31010. name: userid
  31011. required: true
  31012. type: integer
  31013. - description: 仓单贸易市场id
  31014. in: query
  31015. name: marketid
  31016. type: integer
  31017. - description: 0:仓单预售 1:仓单贸易
  31018. in: query
  31019. name: haswr
  31020. type: integer
  31021. - description: 买卖方向 0-买 1-卖
  31022. in: query
  31023. name: buyorsell
  31024. required: true
  31025. type: integer
  31026. - description: 品种id
  31027. in: query
  31028. name: deliverygoodsid
  31029. type: integer
  31030. - description: 品类id
  31031. in: query
  31032. name: wrstandardid
  31033. type: integer
  31034. - description: 交收月(yyyy-mm) 仓单预售填写
  31035. in: query
  31036. name: deliverymonth
  31037. type: string
  31038. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31039. in: query
  31040. name: dgitemname
  31041. type: string
  31042. produces:
  31043. - application/json
  31044. responses:
  31045. "200":
  31046. description: OK
  31047. schema:
  31048. items:
  31049. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31050. type: array
  31051. "500":
  31052. description: Internal Server Error
  31053. schema:
  31054. $ref: '#/definitions/app.Response'
  31055. security:
  31056. - ApiKeyAuth: []
  31057. summary: 查询贸易圈挂牌大厅
  31058. tags:
  31059. - 仓单贸易v2
  31060. /WrTrade2/QueryPerformancePlan:
  31061. get:
  31062. parameters:
  31063. - description: 用户id
  31064. in: query
  31065. name: userid
  31066. required: true
  31067. type: integer
  31068. - description: 买卖方向 0-买 1-卖
  31069. in: query
  31070. name: buyorsell
  31071. required: true
  31072. type: integer
  31073. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31074. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31075. in: query
  31076. name: status
  31077. type: string
  31078. - description: 开始交易日(yyyymmdd)
  31079. in: query
  31080. name: begindate
  31081. type: string
  31082. - description: 结束交易日(yyyymmdd)
  31083. in: query
  31084. name: enddate
  31085. type: string
  31086. produces:
  31087. - application/json
  31088. responses:
  31089. "200":
  31090. description: OK
  31091. schema:
  31092. items:
  31093. $ref: '#/definitions/models.WrPerformancePlan'
  31094. type: array
  31095. "500":
  31096. description: Internal Server Error
  31097. schema:
  31098. $ref: '#/definitions/app.Response'
  31099. security:
  31100. - ApiKeyAuth: []
  31101. summary: 查询履约信息
  31102. tags:
  31103. - 仓单贸易v2
  31104. /WrTrade2/QueryPermancePlanTmp:
  31105. get:
  31106. description: |-
  31107. 返回指定用户的模板和公共模板(用户id为空)
  31108. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31109. parameters:
  31110. - description: 用户id
  31111. in: query
  31112. name: userid
  31113. type: integer
  31114. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31115. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31116. in: query
  31117. name: tmptype
  31118. type: string
  31119. - description: 是否包含公共模板(用户id为空的) 1-包含
  31120. in: query
  31121. name: includepub
  31122. type: integer
  31123. - description: 市场id(天津麦顿指定此参数,其它不用)
  31124. in: query
  31125. name: marketid
  31126. type: integer
  31127. produces:
  31128. - application/json
  31129. responses:
  31130. "200":
  31131. description: OK
  31132. schema:
  31133. items:
  31134. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31135. type: array
  31136. "500":
  31137. description: Internal Server Error
  31138. schema:
  31139. $ref: '#/definitions/app.Response'
  31140. security:
  31141. - ApiKeyAuth: []
  31142. summary: 查询履约模板
  31143. tags:
  31144. - 仓单贸易v2
  31145. /WrTrade2/QuerySiteColumnDetail:
  31146. get:
  31147. parameters:
  31148. - description: 页码
  31149. in: query
  31150. name: page
  31151. type: integer
  31152. - description: 每页条数
  31153. in: query
  31154. name: pagesize
  31155. type: integer
  31156. - description: 所属栏目id
  31157. in: query
  31158. name: columnid
  31159. type: integer
  31160. produces:
  31161. - application/json
  31162. responses:
  31163. "200":
  31164. description: OK
  31165. schema:
  31166. items:
  31167. $ref: '#/definitions/models.WrSiteColumnDetail'
  31168. type: array
  31169. "500":
  31170. description: Internal Server Error
  31171. schema:
  31172. $ref: '#/definitions/app.Response'
  31173. security:
  31174. - ApiKeyAuth: []
  31175. summary: 查询资讯
  31176. tags:
  31177. - 仓单贸易v2
  31178. /WrTrade2/QuerySpotGroupTradeSum:
  31179. get:
  31180. produces:
  31181. - application/json
  31182. responses:
  31183. "200":
  31184. description: OK
  31185. schema:
  31186. items:
  31187. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31188. type: array
  31189. "500":
  31190. description: Internal Server Error
  31191. schema:
  31192. $ref: '#/definitions/app.Response'
  31193. security:
  31194. - ApiKeyAuth: []
  31195. summary: 查询指数
  31196. tags:
  31197. - 仓单贸易v2
  31198. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31199. get:
  31200. description: 查询的结果将会按日期 从小到大 排序
  31201. parameters:
  31202. - description: 现货商品id
  31203. in: query
  31204. name: deliverygoodsid
  31205. required: true
  31206. type: integer
  31207. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31208. in: query
  31209. name: lastnum
  31210. type: integer
  31211. produces:
  31212. - application/json
  31213. responses:
  31214. "200":
  31215. description: OK
  31216. schema:
  31217. items:
  31218. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31219. type: array
  31220. "500":
  31221. description: Internal Server Error
  31222. schema:
  31223. $ref: '#/definitions/app.Response'
  31224. security:
  31225. - ApiKeyAuth: []
  31226. summary: 查询指数详细(价格走势图)
  31227. tags:
  31228. - 仓单贸易v2
  31229. /WrTrade2/QueryWrAverageTradePrice:
  31230. get:
  31231. parameters:
  31232. - description: 页码
  31233. in: query
  31234. name: page
  31235. type: integer
  31236. - description: 每页条数
  31237. in: query
  31238. name: pagesize
  31239. type: integer
  31240. - description: 0:仓单预售 1:仓单贸易
  31241. in: query
  31242. name: haswr
  31243. required: true
  31244. type: integer
  31245. - description: 仓单要素id
  31246. in: query
  31247. name: wrfactortypeid
  31248. required: true
  31249. type: integer
  31250. produces:
  31251. - application/json
  31252. responses:
  31253. "200":
  31254. description: OK
  31255. schema:
  31256. items:
  31257. $ref: '#/definitions/models.WrAverageTradePrice'
  31258. type: array
  31259. "500":
  31260. description: Internal Server Error
  31261. schema:
  31262. $ref: '#/definitions/app.Response'
  31263. security:
  31264. - ApiKeyAuth: []
  31265. summary: 查询成交价(历史走势)
  31266. tags:
  31267. - 仓单贸易v2
  31268. /WrTrade2/QueryWrBrandAndYears:
  31269. get:
  31270. produces:
  31271. - application/json
  31272. responses:
  31273. "200":
  31274. description: OK
  31275. schema:
  31276. items:
  31277. $ref: '#/definitions/models.WrBrandAndYears'
  31278. type: array
  31279. "500":
  31280. description: Internal Server Error
  31281. schema:
  31282. $ref: '#/definitions/app.Response'
  31283. security:
  31284. - ApiKeyAuth: []
  31285. summary: 查询品牌和年份
  31286. tags:
  31287. - 仓单贸易v2
  31288. /WrTrade2/QueryWrBsGoodsInfo:
  31289. get:
  31290. description: 合约交易/买卖大厅/详情
  31291. parameters:
  31292. - description: 商品id
  31293. in: query
  31294. name: goodsid
  31295. required: true
  31296. type: integer
  31297. produces:
  31298. - application/json
  31299. responses:
  31300. "200":
  31301. description: OK
  31302. schema:
  31303. items:
  31304. $ref: '#/definitions/models.WrBsGoodsInfo'
  31305. type: array
  31306. "500":
  31307. description: Internal Server Error
  31308. schema:
  31309. $ref: '#/definitions/app.Response'
  31310. security:
  31311. - ApiKeyAuth: []
  31312. summary: 查询合约交易买卖大厅详情
  31313. tags:
  31314. - 仓单贸易v2
  31315. /WrTrade2/QueryWrBuybackDetail:
  31316. get:
  31317. parameters:
  31318. - description: 融资合同id
  31319. in: query
  31320. name: scfcontractid
  31321. type: integer
  31322. produces:
  31323. - application/json
  31324. responses:
  31325. "200":
  31326. description: OK
  31327. schema:
  31328. items:
  31329. $ref: '#/definitions/models.WrBuybackDetail'
  31330. type: array
  31331. "500":
  31332. description: Internal Server Error
  31333. schema:
  31334. $ref: '#/definitions/app.Response'
  31335. security:
  31336. - ApiKeyAuth: []
  31337. summary: 查询仓单回购明细
  31338. tags:
  31339. - 仓单贸易v2
  31340. /WrTrade2/QueryWrClientAdSpaceConfig:
  31341. get:
  31342. produces:
  31343. - application/json
  31344. responses:
  31345. "200":
  31346. description: OK
  31347. schema:
  31348. items:
  31349. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31350. type: array
  31351. "500":
  31352. description: Internal Server Error
  31353. schema:
  31354. $ref: '#/definitions/app.Response'
  31355. security:
  31356. - ApiKeyAuth: []
  31357. summary: 查询固定广告配置
  31358. tags:
  31359. - 仓单贸易v2
  31360. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31361. get:
  31362. parameters:
  31363. - description: 资金账号
  31364. in: query
  31365. name: accountid
  31366. required: true
  31367. type: integer
  31368. - description: 商品id
  31369. in: query
  31370. name: goodsid
  31371. required: true
  31372. type: integer
  31373. produces:
  31374. - application/json
  31375. responses:
  31376. "200":
  31377. description: OK
  31378. schema:
  31379. items:
  31380. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31381. type: array
  31382. "500":
  31383. description: Internal Server Error
  31384. schema:
  31385. $ref: '#/definitions/app.Response'
  31386. security:
  31387. - ApiKeyAuth: []
  31388. summary: 查询合约交收可点选仓单
  31389. tags:
  31390. - 仓单贸易v2
  31391. /WrTrade2/QueryWrDeliveryDetail:
  31392. get:
  31393. parameters:
  31394. - description: 用户id
  31395. in: query
  31396. name: userid
  31397. required: true
  31398. type: integer
  31399. - description: 资金账号id
  31400. in: query
  31401. name: accountid
  31402. type: integer
  31403. - description: 开始交易日(yyyymmdd)
  31404. in: query
  31405. name: begindate
  31406. type: string
  31407. - description: 结束交易日(yyyymmdd)
  31408. in: query
  31409. name: enddate
  31410. type: string
  31411. produces:
  31412. - application/json
  31413. responses:
  31414. "200":
  31415. description: OK
  31416. schema:
  31417. items:
  31418. $ref: '#/definitions/models.WrDeliveryDetail'
  31419. type: array
  31420. "500":
  31421. description: Internal Server Error
  31422. schema:
  31423. $ref: '#/definitions/app.Response'
  31424. security:
  31425. - ApiKeyAuth: []
  31426. summary: 查询交收
  31427. tags:
  31428. - 仓单贸易v2
  31429. /WrTrade2/QueryWrDraftUserInfo:
  31430. get:
  31431. parameters:
  31432. - description: 用户ID
  31433. in: query
  31434. name: userid
  31435. required: true
  31436. type: integer
  31437. - description: 用户状态 1:正常 2:注销
  31438. in: query
  31439. name: userstatus
  31440. type: integer
  31441. produces:
  31442. - application/json
  31443. responses:
  31444. "200":
  31445. description: OK
  31446. schema:
  31447. items:
  31448. $ref: '#/definitions/models.WrDraftUserInfo'
  31449. type: array
  31450. "500":
  31451. description: Internal Server Error
  31452. schema:
  31453. $ref: '#/definitions/app.Response'
  31454. security:
  31455. - ApiKeyAuth: []
  31456. summary: 查询实名认证信息
  31457. tags:
  31458. - 仓单贸易v2
  31459. /WrTrade2/QueryWrFactorTypeInfo:
  31460. get:
  31461. parameters:
  31462. - description: 仓单要素id
  31463. in: query
  31464. name: wrfactortypeid
  31465. required: true
  31466. type: integer
  31467. produces:
  31468. - application/json
  31469. responses:
  31470. "200":
  31471. description: OK
  31472. schema:
  31473. items:
  31474. $ref: '#/definitions/models.WrFactorTypeInfo'
  31475. type: array
  31476. "500":
  31477. description: Internal Server Error
  31478. schema:
  31479. $ref: '#/definitions/app.Response'
  31480. security:
  31481. - ApiKeyAuth: []
  31482. summary: 查询仓单要素详细信息
  31483. tags:
  31484. - 仓单贸易v2
  31485. /WrTrade2/QueryWrFactorTypeInfoEx:
  31486. get:
  31487. parameters:
  31488. - description: 仓单要素id
  31489. in: query
  31490. name: wrfactortypeid
  31491. required: true
  31492. type: integer
  31493. produces:
  31494. - application/json
  31495. responses:
  31496. "200":
  31497. description: OK
  31498. schema:
  31499. items:
  31500. $ref: '#/definitions/models.WrTypeItem'
  31501. type: array
  31502. "500":
  31503. description: Internal Server Error
  31504. schema:
  31505. $ref: '#/definitions/app.Response'
  31506. security:
  31507. - ApiKeyAuth: []
  31508. summary: 查询仓单要素详细信息列表项
  31509. tags:
  31510. - 仓单贸易v2
  31511. /WrTrade2/QueryWrFinanceBuyApply:
  31512. get:
  31513. description: 页面 融资信息+ / 申请单
  31514. parameters:
  31515. - description: 用户id
  31516. in: query
  31517. name: userid
  31518. required: true
  31519. type: integer
  31520. produces:
  31521. - application/json
  31522. responses:
  31523. "200":
  31524. description: OK
  31525. schema:
  31526. items:
  31527. $ref: '#/definitions/models.WrFinanceBuyApply'
  31528. type: array
  31529. "500":
  31530. description: Internal Server Error
  31531. schema:
  31532. $ref: '#/definitions/app.Response'
  31533. security:
  31534. - ApiKeyAuth: []
  31535. summary: 查询融资购买申请
  31536. tags:
  31537. - 仓单贸易v2
  31538. /WrTrade2/QueryWrFriendApply:
  31539. get:
  31540. parameters:
  31541. - description: 用户id
  31542. in: query
  31543. name: userid
  31544. required: true
  31545. type: integer
  31546. produces:
  31547. - application/json
  31548. responses:
  31549. "200":
  31550. description: OK
  31551. schema:
  31552. items:
  31553. $ref: '#/definitions/models.WrFriendApply'
  31554. type: array
  31555. "500":
  31556. description: Internal Server Error
  31557. schema:
  31558. $ref: '#/definitions/app.Response'
  31559. security:
  31560. - ApiKeyAuth: []
  31561. summary: 查询好友申请记录
  31562. tags:
  31563. - 仓单贸易v2
  31564. /WrTrade2/QueryWrGoodsInfo:
  31565. get:
  31566. parameters:
  31567. - description: 仓单贸易市场id
  31568. in: query
  31569. name: marketid
  31570. type: integer
  31571. - description: 0:仓单预售 1:仓单贸易
  31572. in: query
  31573. name: haswr
  31574. required: true
  31575. type: integer
  31576. - description: 仓单要素id
  31577. in: query
  31578. name: wrfactortypeid
  31579. required: true
  31580. type: integer
  31581. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31582. in: query
  31583. name: tmplateid
  31584. type: integer
  31585. produces:
  31586. - application/json
  31587. responses:
  31588. "200":
  31589. description: OK
  31590. schema:
  31591. items:
  31592. $ref: '#/definitions/models.WrGoodsInfo'
  31593. type: array
  31594. "500":
  31595. description: Internal Server Error
  31596. schema:
  31597. $ref: '#/definitions/app.Response'
  31598. security:
  31599. - ApiKeyAuth: []
  31600. summary: 查询仓单商品信息
  31601. tags:
  31602. - 仓单贸易v2
  31603. /WrTrade2/QueryWrMarketTradeConfig:
  31604. get:
  31605. parameters:
  31606. - description: 市场id
  31607. in: query
  31608. name: marketid
  31609. type: integer
  31610. produces:
  31611. - application/json
  31612. responses:
  31613. "200":
  31614. description: OK
  31615. schema:
  31616. items:
  31617. $ref: '#/definitions/models.WrMarketTradeConfig'
  31618. type: array
  31619. "500":
  31620. description: Internal Server Error
  31621. schema:
  31622. $ref: '#/definitions/app.Response'
  31623. security:
  31624. - ApiKeyAuth: []
  31625. summary: 查询市场交易参数配置
  31626. tags:
  31627. - 仓单贸易v2
  31628. /WrTrade2/QueryWrOrderDetail:
  31629. get:
  31630. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31631. parameters:
  31632. - description: 页码
  31633. in: query
  31634. name: page
  31635. type: integer
  31636. - description: 每页条数
  31637. in: query
  31638. name: pagesize
  31639. type: integer
  31640. - description: 用户id
  31641. in: query
  31642. name: userid
  31643. required: true
  31644. type: integer
  31645. - description: 仓单贸易市场id
  31646. in: query
  31647. name: marketid
  31648. type: integer
  31649. - description: 0:仓单预售 1:仓单贸易
  31650. in: query
  31651. name: haswr
  31652. required: true
  31653. type: integer
  31654. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31655. in: query
  31656. name: bcancel
  31657. type: integer
  31658. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31659. in: query
  31660. name: wrtradetype
  31661. type: integer
  31662. - description: 开始交易日(yyyymmdd)
  31663. in: query
  31664. name: begindate
  31665. type: string
  31666. - description: 结束交易日(yyyymmdd)
  31667. in: query
  31668. name: enddate
  31669. type: string
  31670. produces:
  31671. - application/json
  31672. responses:
  31673. "200":
  31674. description: OK
  31675. schema:
  31676. items:
  31677. $ref: '#/definitions/models.WrOrderDetail'
  31678. type: array
  31679. "500":
  31680. description: Internal Server Error
  31681. schema:
  31682. $ref: '#/definitions/app.Response'
  31683. security:
  31684. - ApiKeyAuth: []
  31685. summary: 查询仓单委托单
  31686. tags:
  31687. - 仓单贸易v2
  31688. /WrTrade2/QueryWrOutInApply:
  31689. get:
  31690. parameters:
  31691. - description: 页码
  31692. in: query
  31693. name: page
  31694. type: integer
  31695. - description: 每页条数
  31696. in: query
  31697. name: pagesize
  31698. type: integer
  31699. - description: 用户id
  31700. in: query
  31701. name: userid
  31702. required: true
  31703. type: integer
  31704. - description: 开始交易日(yyyymmdd)
  31705. in: query
  31706. name: begindate
  31707. type: string
  31708. - description: 结束交易日(yyyymmdd)
  31709. in: query
  31710. name: enddate
  31711. type: string
  31712. produces:
  31713. - application/json
  31714. responses:
  31715. "200":
  31716. description: OK
  31717. schema:
  31718. items:
  31719. $ref: '#/definitions/models.WrOutInApply'
  31720. type: array
  31721. "500":
  31722. description: Internal Server Error
  31723. schema:
  31724. $ref: '#/definitions/app.Response'
  31725. security:
  31726. - ApiKeyAuth: []
  31727. summary: 查询提货申请
  31728. tags:
  31729. - 仓单贸易v2
  31730. /WrTrade2/QueryWrPerformancePlanStep:
  31731. get:
  31732. parameters:
  31733. - description: 履约计划id(performanceplanid)
  31734. in: query
  31735. name: planid
  31736. required: true
  31737. type: integer
  31738. - description: 当前步骤id
  31739. in: query
  31740. name: curstepid
  31741. type: integer
  31742. produces:
  31743. - application/json
  31744. responses:
  31745. "200":
  31746. description: OK
  31747. schema:
  31748. items:
  31749. $ref: '#/definitions/models.WrPerformancePlanStep'
  31750. type: array
  31751. "500":
  31752. description: Internal Server Error
  31753. schema:
  31754. $ref: '#/definitions/app.Response'
  31755. security:
  31756. - ApiKeyAuth: []
  31757. summary: 查询履约信息详情
  31758. tags:
  31759. - 仓单贸易v2
  31760. /WrTrade2/QueryWrPerformanceStepType:
  31761. get:
  31762. produces:
  31763. - application/json
  31764. responses:
  31765. "200":
  31766. description: OK
  31767. schema:
  31768. items:
  31769. $ref: '#/definitions/models.WrPerformanceStepType'
  31770. type: array
  31771. "500":
  31772. description: Internal Server Error
  31773. schema:
  31774. $ref: '#/definitions/app.Response'
  31775. security:
  31776. - ApiKeyAuth: []
  31777. summary: 查询履约步骤枚举
  31778. tags:
  31779. - 仓单贸易v2
  31780. /WrTrade2/QueryWrPosition:
  31781. get:
  31782. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31783. parameters:
  31784. - description: 用户id
  31785. in: query
  31786. name: userid
  31787. required: true
  31788. type: integer
  31789. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31790. in: query
  31791. name: querytype
  31792. required: true
  31793. type: integer
  31794. - description: 0:仓单预售 1:仓单贸易
  31795. in: query
  31796. name: haswr
  31797. required: true
  31798. type: integer
  31799. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31800. in: query
  31801. name: dgitemname
  31802. type: string
  31803. - description: 仓库id(筛选条件)
  31804. in: query
  31805. name: warehouseid
  31806. type: integer
  31807. - description: 品种id
  31808. in: query
  31809. name: deliverygoodsid
  31810. type: integer
  31811. - description: 品类id
  31812. in: query
  31813. name: wrstandardid
  31814. type: integer
  31815. produces:
  31816. - application/json
  31817. responses:
  31818. "200":
  31819. description: OK
  31820. schema:
  31821. items:
  31822. $ref: '#/definitions/models.WrPosition'
  31823. type: array
  31824. "500":
  31825. description: Internal Server Error
  31826. schema:
  31827. $ref: '#/definitions/app.Response'
  31828. security:
  31829. - ApiKeyAuth: []
  31830. summary: 查询现货(预售)仓单持仓
  31831. tags:
  31832. - 仓单贸易v2
  31833. /WrTrade2/QueryWrPreSaleInfo:
  31834. get:
  31835. parameters:
  31836. - description: 市场id
  31837. in: query
  31838. name: marketid
  31839. type: integer
  31840. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31841. in: query
  31842. name: presalestatus
  31843. type: string
  31844. - description: 摇号标识 - 0:未摇号 1:已摇号
  31845. in: query
  31846. name: lotteryflag
  31847. type: integer
  31848. - description: 最近多少条记录(按创建时间倒序)
  31849. in: query
  31850. name: lastnum
  31851. type: integer
  31852. produces:
  31853. - application/json
  31854. responses:
  31855. "200":
  31856. description: OK
  31857. schema:
  31858. items:
  31859. $ref: '#/definitions/models.WrPreSaleInfo'
  31860. type: array
  31861. "500":
  31862. description: Internal Server Error
  31863. schema:
  31864. $ref: '#/definitions/app.Response'
  31865. security:
  31866. - ApiKeyAuth: []
  31867. summary: 查询新品发布
  31868. tags:
  31869. - 仓单贸易v2
  31870. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31871. get:
  31872. parameters:
  31873. - description: 市场id
  31874. in: query
  31875. name: marketid
  31876. required: true
  31877. type: integer
  31878. - description: 现货商品id
  31879. in: query
  31880. name: wrstandardid
  31881. required: true
  31882. type: integer
  31883. - description: 开始交易日(yyyymmdd)
  31884. in: query
  31885. name: begindate
  31886. type: string
  31887. - description: 结束交易日(yyyymmdd)
  31888. in: query
  31889. name: enddate
  31890. type: string
  31891. - description: 最近多少条记录(按交易日倒序)
  31892. in: query
  31893. name: lastnum
  31894. type: integer
  31895. - description: 是否今日
  31896. in: query
  31897. name: istoday
  31898. type: boolean
  31899. produces:
  31900. - application/json
  31901. responses:
  31902. "200":
  31903. description: OK
  31904. schema:
  31905. items:
  31906. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31907. type: array
  31908. "500":
  31909. description: Internal Server Error
  31910. schema:
  31911. $ref: '#/definitions/app.Response'
  31912. security:
  31913. - ApiKeyAuth: []
  31914. summary: 查询价格走势
  31915. tags:
  31916. - 仓单贸易v2
  31917. /WrTrade2/QueryWrScfContract:
  31918. get:
  31919. parameters:
  31920. - description: 用户id
  31921. in: query
  31922. name: userid
  31923. required: true
  31924. type: integer
  31925. - description: 融资合同id
  31926. in: query
  31927. name: scfcontractid
  31928. type: integer
  31929. produces:
  31930. - application/json
  31931. responses:
  31932. "200":
  31933. description: OK
  31934. schema:
  31935. items:
  31936. $ref: '#/definitions/models.WrScfContract'
  31937. type: array
  31938. "500":
  31939. description: Internal Server Error
  31940. schema:
  31941. $ref: '#/definitions/app.Response'
  31942. security:
  31943. - ApiKeyAuth: []
  31944. summary: 查询仓单贸易融资合同
  31945. tags:
  31946. - 仓单贸易v2
  31947. /WrTrade2/QueryWrScfContractInterest:
  31948. get:
  31949. parameters:
  31950. - description: 融资合同id
  31951. in: query
  31952. name: scfcontractid
  31953. type: integer
  31954. produces:
  31955. - application/json
  31956. responses:
  31957. "200":
  31958. description: OK
  31959. schema:
  31960. items:
  31961. $ref: '#/definitions/models.WrScfContractInterest'
  31962. type: array
  31963. "500":
  31964. description: Internal Server Error
  31965. schema:
  31966. $ref: '#/definitions/app.Response'
  31967. security:
  31968. - ApiKeyAuth: []
  31969. summary: 查询融资合同费用明细
  31970. tags:
  31971. - 仓单贸易v2
  31972. /WrTrade2/QueryWrSearchUser:
  31973. get:
  31974. parameters:
  31975. - description: 用户名称(模糊匹配)
  31976. in: query
  31977. name: username
  31978. required: true
  31979. type: string
  31980. produces:
  31981. - application/json
  31982. responses:
  31983. "200":
  31984. description: OK
  31985. schema:
  31986. items:
  31987. $ref: '#/definitions/models.WrSearchUser'
  31988. type: array
  31989. "500":
  31990. description: Internal Server Error
  31991. schema:
  31992. $ref: '#/definitions/app.Response'
  31993. security:
  31994. - ApiKeyAuth: []
  31995. summary: 查询用户
  31996. tags:
  31997. - 仓单贸易v2
  31998. /WrTrade2/QueryWrSpecialMatchOrder:
  31999. get:
  32000. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32001. parameters:
  32002. - description: 页码
  32003. in: query
  32004. name: page
  32005. type: integer
  32006. - description: 每页条数
  32007. in: query
  32008. name: pagesize
  32009. type: integer
  32010. - description: 用户id
  32011. in: query
  32012. name: userid
  32013. required: true
  32014. type: integer
  32015. - description: 仓单贸易市场id
  32016. in: query
  32017. name: marketid
  32018. type: integer
  32019. - description: 0:仓单预售 1:仓单贸易
  32020. in: query
  32021. name: haswr
  32022. required: true
  32023. type: integer
  32024. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32025. in: query
  32026. name: isspecified
  32027. type: integer
  32028. produces:
  32029. - application/json
  32030. responses:
  32031. "200":
  32032. description: OK
  32033. schema:
  32034. items:
  32035. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32036. type: array
  32037. "500":
  32038. description: Internal Server Error
  32039. schema:
  32040. $ref: '#/definitions/app.Response'
  32041. security:
  32042. - ApiKeyAuth: []
  32043. summary: 查询指定成交
  32044. tags:
  32045. - 仓单贸易v2
  32046. /WrTrade2/QueryWrStandardFactoryItem:
  32047. get:
  32048. parameters:
  32049. - description: 品类id
  32050. in: query
  32051. name: wrstandardid
  32052. required: true
  32053. type: integer
  32054. produces:
  32055. - application/json
  32056. responses:
  32057. "200":
  32058. description: OK
  32059. schema:
  32060. items:
  32061. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32062. type: array
  32063. "500":
  32064. description: Internal Server Error
  32065. schema:
  32066. $ref: '#/definitions/app.Response'
  32067. security:
  32068. - ApiKeyAuth: []
  32069. summary: 查询品类要素定义项
  32070. tags:
  32071. - 仓单贸易v2
  32072. /WrTrade2/QueryWrTradeBargainApply:
  32073. get:
  32074. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32075. 议价->对方议价 填写matchuserid=登录用户id
  32076. parameters:
  32077. - description: 议价人id(摘牌方)
  32078. in: query
  32079. name: userid
  32080. type: integer
  32081. - description: 挂牌方id(查对方议价时,填写此项)
  32082. in: query
  32083. name: matchuserid
  32084. type: integer
  32085. - description: 关联委托单id
  32086. in: query
  32087. name: wrtradeorderid
  32088. type: integer
  32089. - description: 0:仓单预售 1:仓单贸易
  32090. in: query
  32091. name: haswr
  32092. required: true
  32093. type: integer
  32094. - description: 开始交易日(yyyymmdd)
  32095. in: query
  32096. name: begindate
  32097. type: string
  32098. - description: 结束交易日(yyyymmdd)
  32099. in: query
  32100. name: enddate
  32101. type: string
  32102. produces:
  32103. - application/json
  32104. responses:
  32105. "200":
  32106. description: OK
  32107. schema:
  32108. items:
  32109. $ref: '#/definitions/models.WRTradeBargainApply'
  32110. type: array
  32111. "500":
  32112. description: Internal Server Error
  32113. schema:
  32114. $ref: '#/definitions/app.Response'
  32115. security:
  32116. - ApiKeyAuth: []
  32117. summary: 查询议价单
  32118. tags:
  32119. - 仓单贸易v2
  32120. /WrTrade2/QueryWrTradeDetail:
  32121. get:
  32122. parameters:
  32123. - description: 页码
  32124. in: query
  32125. name: page
  32126. type: integer
  32127. - description: 每页条数
  32128. in: query
  32129. name: pagesize
  32130. type: integer
  32131. - description: 用户id
  32132. in: query
  32133. name: userid
  32134. required: true
  32135. type: integer
  32136. - description: 仓单贸易市场id
  32137. in: query
  32138. name: marketid
  32139. type: integer
  32140. - description: 0:仓单预售 1:仓单贸易
  32141. in: query
  32142. name: haswr
  32143. required: true
  32144. type: integer
  32145. - description: 开始交易日(yyyymmdd)
  32146. in: query
  32147. name: begindate
  32148. type: string
  32149. - description: 结束交易日(yyyymmdd)
  32150. in: query
  32151. name: enddate
  32152. type: string
  32153. produces:
  32154. - application/json
  32155. responses:
  32156. "200":
  32157. description: OK
  32158. schema:
  32159. items:
  32160. $ref: '#/definitions/models.WrTradeDetail'
  32161. type: array
  32162. "500":
  32163. description: Internal Server Error
  32164. schema:
  32165. $ref: '#/definitions/app.Response'
  32166. security:
  32167. - ApiKeyAuth: []
  32168. summary: 查询仓单成交明细
  32169. tags:
  32170. - 仓单贸易v2
  32171. /WrTrade2/QueryWrTradeOrderDetail:
  32172. get:
  32173. parameters:
  32174. - description: 页码
  32175. in: query
  32176. name: page
  32177. type: integer
  32178. - description: 每页条数
  32179. in: query
  32180. name: pagesize
  32181. type: integer
  32182. - description: 商品id
  32183. in: query
  32184. name: goodsid
  32185. required: true
  32186. type: integer
  32187. - description: 买卖方向 0-买 1-卖
  32188. in: query
  32189. name: buyorsell
  32190. required: true
  32191. type: integer
  32192. produces:
  32193. - application/json
  32194. responses:
  32195. "200":
  32196. description: OK
  32197. schema:
  32198. items:
  32199. $ref: '#/definitions/models.WrTradeOrderDetail'
  32200. type: array
  32201. "500":
  32202. description: Internal Server Error
  32203. schema:
  32204. $ref: '#/definitions/app.Response'
  32205. security:
  32206. - ApiKeyAuth: []
  32207. summary: 查询合约交易买卖大厅
  32208. tags:
  32209. - 仓单贸易v2
  32210. /WrTrade2/QueryWrTradeQuote:
  32211. get:
  32212. parameters:
  32213. - description: 现货商品id
  32214. in: query
  32215. name: wrstandardid
  32216. required: true
  32217. type: integer
  32218. - description: 开始日期(yyyymmdd)
  32219. in: query
  32220. name: begindate
  32221. required: true
  32222. type: string
  32223. - description: 结束日期(yyyymmdd)
  32224. in: query
  32225. name: enddate
  32226. required: true
  32227. type: string
  32228. - description: 市场id
  32229. in: query
  32230. name: marketid
  32231. type: integer
  32232. produces:
  32233. - application/json
  32234. responses:
  32235. "200":
  32236. description: OK
  32237. schema:
  32238. items:
  32239. $ref: '#/definitions/models.Wrtradetradequote'
  32240. type: array
  32241. "500":
  32242. description: Internal Server Error
  32243. schema:
  32244. $ref: '#/definitions/app.Response'
  32245. security:
  32246. - ApiKeyAuth: []
  32247. summary: 查询仓单贸易成交行情
  32248. tags:
  32249. - 仓单贸易v2
  32250. /WrTrade2/QueryWrUserFriend:
  32251. get:
  32252. parameters:
  32253. - description: 用户id
  32254. in: query
  32255. name: userid
  32256. required: true
  32257. type: integer
  32258. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32259. in: query
  32260. name: newuserid
  32261. type: integer
  32262. produces:
  32263. - application/json
  32264. responses:
  32265. "200":
  32266. description: OK
  32267. schema:
  32268. items:
  32269. $ref: '#/definitions/models.WrUserFriend'
  32270. type: array
  32271. "500":
  32272. description: Internal Server Error
  32273. schema:
  32274. $ref: '#/definitions/app.Response'
  32275. security:
  32276. - ApiKeyAuth: []
  32277. summary: 查询我的朋友
  32278. tags:
  32279. - 仓单贸易v2
  32280. /WrTrade2/QueryWrUserReceiptInfo:
  32281. get:
  32282. parameters:
  32283. - description: 用户id
  32284. in: query
  32285. name: userid
  32286. type: integer
  32287. - description: 发票类型 - 1:个人 2:企业
  32288. in: query
  32289. name: receipttype
  32290. type: integer
  32291. produces:
  32292. - application/json
  32293. responses:
  32294. "200":
  32295. description: OK
  32296. schema:
  32297. items:
  32298. $ref: '#/definitions/models.WrUserReceiptInfo'
  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/QueryXhcpSellBackApply:
  32310. get:
  32311. parameters:
  32312. - description: 用户ID
  32313. in: query
  32314. name: userid
  32315. required: true
  32316. type: integer
  32317. produces:
  32318. - application/json
  32319. responses:
  32320. "200":
  32321. description: OK
  32322. schema:
  32323. items:
  32324. $ref: '#/definitions/models.Xhcpsellbackapply'
  32325. type: array
  32326. "500":
  32327. description: Internal Server Error
  32328. schema:
  32329. $ref: '#/definitions/app.Response'
  32330. security:
  32331. - ApiKeyAuth: []
  32332. summary: 查询我的回收申请(新会陈皮)
  32333. tags:
  32334. - 仓单贸易v2
  32335. /ZJ/GetBankTip:
  32336. get:
  32337. produces:
  32338. - application/json
  32339. responses:
  32340. "200":
  32341. description: OK
  32342. schema:
  32343. type: string
  32344. "500":
  32345. description: Internal Server Error
  32346. schema:
  32347. $ref: '#/definitions/app.Response'
  32348. summary: 获取中江网银端出入金提示信息
  32349. tags:
  32350. - 中江
  32351. /ZJ/GetCusBankChannels:
  32352. get:
  32353. produces:
  32354. - application/json
  32355. responses:
  32356. "200":
  32357. description: OK
  32358. schema:
  32359. items:
  32360. type: string
  32361. type: array
  32362. "500":
  32363. description: Internal Server Error
  32364. schema:
  32365. $ref: '#/definitions/app.Response'
  32366. summary: 获取中江出入金渠道显示列表
  32367. tags:
  32368. - 中江
  32369. securityDefinitions:
  32370. ApiKeyAuth:
  32371. in: header
  32372. name: Authorization
  32373. type: apiKey
  32374. Group:
  32375. in: header
  32376. name: Group
  32377. type: apiKey
  32378. LoginID:
  32379. in: header
  32380. name: LoginID
  32381. type: apiKey
  32382. swagger: "2.0"